/* Barlow-Regular */
@font-face {
    font-family: 'Barlow';
    src: url('../../assets/fonts/Barlow-Regular.ttf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
/* Glancyr Font Family */
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-ExtraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-SemiBoldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Glancyr';
    src: url('../../assets/fonts/Glancyr-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

*,*::after,*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
  scroll-behavior: smooth;
}
body {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}
body.no-scroll {
    overflow: hidden;
}
h1,h2,h3,h4,h5,h6 {
    font-family: 'Glancyr', sans-serif;
    font-weight: 600;
}
em {
    font-style: italic;
}

.wrapper {
    margin: auto;
    max-width: 70rem;
    padding: 0 2rem;
}
.row {
    display: flex;
}

header {
    position: relative;
    overflow-x: hidden;
    width: 100%;
}
header:before {
    content: '';
    background: #FF7A00;
    background: linear-gradient(0deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5rem;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 2rem 0;
}
header nav > img {
    height: 10rem;
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 4rem;
    flex: 0 0 70%;
    justify-content: flex-end;
    margin-top: 2rem;
    margin-left: -2rem;
}
header nav ul li a {
    color: #818281;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 200;
    transition: color 0.3s ease;
}
header nav ul li a:hover {
    color: #000000;
}
header nav ul li:nth-last-child(1) a {
    background: #FF7A00;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    border-radius: 1.4rem;
    color: #ffffff;
    padding: 0.6rem 1.6rem;
    transition: opacity 0.3s ease;
}
header nav ul li:nth-last-child(1) a:hover {
    opacity: 0.8;
}

header nav > #toggle-menu {
    color: #818281;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    font-size: 1.4rem;

}

header .wrapper .row {
    margin-top: 4rem;
    align-items: flex-start;
    position: relative;
}
header .wrapper .row > .col:nth-of-type(1) {
    color: #575756;
    flex: 0 0 60%;
}
header .wrapper .row > .col:nth-of-type(1) h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
header .wrapper .row > .col:nth-of-type(1) h1 span {
    display: block;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
header .wrapper .row > .col:nth-of-type(1) p {
    color: #818281;
    font-weight: 200;
    line-height: 1.4;
    max-width: 38rem;
    font-size: 0.9rem;
}
header .wrapper .row > .col:nth-of-type(1) a {
    background: #FF7A00;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    border-radius: 1.4rem;
    color: #ffffff;
    display: table;
    margin: 1.5rem 0;
    padding: 0.6rem 1.6rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
header .wrapper .row > .col:nth-of-type(1) a:hover {
    opacity: 0.8;
}
header .wrapper .row > .col:nth-of-type(2) {
    text-align: right;
    position: relative;
}
header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(1),
header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(3) {
    position: absolute;
}
header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(1) {
    left: 20rem;
    top: -8rem;
    width: 9rem;
    z-index: -1;
}
header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(2) {
    position: relative;
    left: 4rem;
    top: -8rem;
    width: 22rem;
}
header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(3) {
    left: 0;
    bottom: 12rem;
    width: 11rem;
}

#projects {
    background-color: #f0f1f2;
    padding: 5rem 0;
    text-align: center;
}
#projects h2 {
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    font-size: 1.8rem;
}
#projects p {
    color: #575756;
    font-size: 0.9rem;
    font-weight: 200;
    line-height: 1.4;
    margin: 1rem auto 3rem auto;
}
#projects .wrapper .row {
    gap: 3rem;
    justify-content: space-between;
}
#projects .wrapper .row .col {
    text-align: left;
}
#projects .wrapper .row .col img {
    width: 100%;
}
#projects .wrapper .row .col hr {
    display: block;
    width: 100%;
    height: 1rem;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    margin: -0.4rem 0 1rem 0;
}
#projects .wrapper .row .col h3 {
    color: #575756;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}
#projects .wrapper .row .col p {
    color: #818281;
    font-size: 0.9rem;
    font-weight: 200;
    line-height: 1.4;
}
#projects .wrapper .row .col a {
    background-color: #FF7A00;
    color: #ffffff;
    display: table;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.8rem 1.2rem;
    transition: opacity 0.3s ease;
}


#banner {
    background: url('../../assets/img/banner-1.png') no-repeat center;
    background-size: cover;
    padding: 5rem 0;
}
#banner .wrapper {
    display: flex;
    align-items: center;
}
#banner h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 500;
    flex: 0 0 70%;
    line-height: 1.2;
    max-width: 23rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
#banner a {
    background: #FF7A00;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    border-radius: 3rem;
    color: #ffffff;
    display: flex;
    padding: 1rem 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    gap: 0.8rem;
    height: max-content;
    font-size: 1.4rem;
    align-items: center;
    margin-left: 4rem;
}
#banner a:hover {
    opacity: 0.8;
}
#banner a img {
    width: 1.4rem;
    position: relative;
    top: -0.1rem;
}

#map {
    background: #ECA012;
    background: linear-gradient(0deg, rgba(236, 160, 18, 1) 0%, rgba(255, 255, 255, 1) 50%);
}
#map .wrapper {
    padding: 5rem 0;
    text-align: center;
}
#map h2 {
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    font-size: 1.8rem;
}
#map > p {
    color: #575756;
    font-size: 0.9rem;
    font-weight: 200;
    line-height: 1.4;
    margin: 1rem auto 3rem auto;
}
#map #map-container {
    position: relative;
}
#map #map-container img {
    position: absolute;
    top: 5%;
    right: 9%;
    width: 23vw;
    max-width: 14rem;
}
#map #caption {
    position: absolute;
    bottom: 10%;
    left: 5%;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 6px;
    max-width: 15rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-size: 0.9rem;
}
#map #caption p strong {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}
#map #map-container > a {
    background: #FF7A00;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    border-radius: 1.4rem;
    box-shadow: 0 2px 6px 0px rgb(0 0 0 / 60%);
    color: #ffffff;
    display: table;
    margin: 3.5rem auto 0 auto;
    padding: 0.6rem 1.6rem;
    text-decoration: none;
    transition: opacity, font-weight 0.2s ease;
}
#map #map-container > a:hover {
    color: #000000;
    font-weight: 700;
    opacity: 0.8;
}

#map .tooltip {
    position: absolute;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 1rem;
    pointer-events: none;
    white-space: nowrap;
    display: none;
    z-index: 10;
}
#map .tooltip span {
    display: block;
    font-size: 0.8rem;
    font-weight: 100;
    margin-top: 2px;
    color: #f3a000;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; 
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: #fff;
    margin: 1.5rem auto;
    padding: 20px;
    width: 100%;
    max-width: 45rem;
    max-height: 95vh;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    overflow-y: auto;
}
.modal-content > img {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.modal-content h2 {
    font-size: 2.1rem!important;
    margin-top: 18.5rem;
    margin-left: 10rem;
}
.modal-content > p {
    margin-left: 8rem;
}

.modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 28px;
    cursor: pointer;
    background-color: #f3a000;
    width: 2rem;
    text-align: center;
    height: 2rem;
    color: #ffffff;
    border-radius: 1.4rem;
    line-height: 1;
    transition: box-shadow 0.2s ease;
}
.modal-content .close:hover {
    box-shadow: 0 0 1px 5px rgb(0 0 0 / 41%);
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    margin: 4rem auto;
    justify-content: center;
}

.card {
    flex: 0 0 250px;
    max-width: 280px;
    background: #fff;
    border-radius: 2rem;
    box-shadow: -9px 14px 12px 8px rgb(0 0 0 / 20%);
    padding-bottom: 1rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-photo {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin: auto;
    margin-top: -4rem;
    background: #f1f1f1;
}

.card-header {
    background: #FF7A00;
    background: linear-gradient(-60deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 2rem 2rem 0 0;
    height: 6rem;
}

.card h3 {
    background: #FF7A00;
    background: linear-gradient(-60deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    color: #ffffff;
    margin: 15px 0 0;
    position: relative;
    padding: 0.5rem 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.card h3::after {
    content: '';
    background: rgb(255 184 0);
    position: absolute;
    top: 0;
    left: -1.5rem;
    height: 100%;
    width: 15%;
}

.card .status {
    background-color: #e4e7e9;
    color: #888;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0;
    position: relative;
}
.card .status::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #e4e7e9; /* mismo color que el fondo */
}

.card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 1rem;
  padding: 0.9rem 0.4rem;
}

.card .contact {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

.card .contact span {
    display: flex;
    margin: 0.8rem auto;
    align-items: center;
    gap: 0.6rem;
    width: 11rem;
}
.card .contact span a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}
.card .contact span a:hover {
    opacity: 0.8;
}

#explore {
    background: url('../../assets/img/explore.png'), #303030 no-repeat center;
    background-size: cover;
    padding: 18rem 0;
    text-align: center;
}
#explore h2 {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.8rem;
}
#explore p {
    color: #f0f1f2;
    font-size: 0.9rem;
    font-weight: 200;
    line-height: 1.4;
    margin: 1rem auto 3rem auto;
}
#search {
    position: relative;
    max-width: 40rem;
    margin: auto;
}
#search input {
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
    width: 100%;
}
#search button {
    background-color: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 300;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    transition: opacity 0.3s ease;
}
#search img {
    width: 2rem;
}

#contact {
    background: url(../../assets/img/mesh.png) no-repeat;
    background-size: contain;
    background-position: 100% 0%;
    padding: 5rem 0;
    text-align: center;
}
#contact .wrapper {
    position: relative;
}
#contact .wrapper > img {
    position: absolute;
    margin: auto;
    top: 3rem;
    left: -3rem;
}
#contact .wrapper .row {
    background-color: #ffffff;
    max-width: 50rem;
    box-shadow: 0 14px 14px 0px #0000008a;
    margin: auto;
    border-radius: 1rem;
    overflow: hidden;
}
#contact .wrapper .row .col {
    flex: 0 0 50%;
    text-align: left;
    padding: 3rem;
}
#contact .wrapper .row .col:nth-of-type(1) {
    background-color: #303030;
    position: relative;
}
#contact .wrapper .row .col:nth-of-type(1) p {
    color: #9b9b9b;
    letter-spacing: 0.3rem;
    margin-bottom: 4rem;
    font-weight: 200;
    line-height: 1.5;
    font-size: 0.9rem;
}
#contact .wrapper .row .col:nth-of-type(1) h2 {
    color: #f3a000;
    font-size: 3rem;
    font-weight: 100;
}
#contact .wrapper .row .col:nth-of-type(1) h2 strong {
    font-weight: 600;
}
#contact .wrapper .row .col:nth-of-type(1) #whatsapp {
    margin-top: 4rem;
}
#contact .wrapper .row .col:nth-of-type(1) #whatsapp ul {
    list-style: none;
}
#contact .wrapper .row .col:nth-of-type(1) #whatsapp ul li {
    color: #9b9b9b;
    font-size: 1.1rem;
    font-weight: 200;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
#contact .wrapper .row .col:nth-of-type(1) #whatsapp ul li img {
    width: 2.5rem;
}
#contact .wrapper .row .col:nth-of-type(1) #whatsapp ul li a {
    color: #ffffff;
    display: block;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}
#contact .wrapper .row .col:nth-of-type(1) #whatsapp ul li a:hover {
    opacity: 0.8;
}
#contact .wrapper .row .col:nth-of-type(1) hr {
    width: 2rem;
    height: 0.2rem;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    border: none;
    position: absolute;
    bottom: 5rem;
    left: 2rem;
}

#contact .wrapper .row .col:nth-of-type(2) h4 {
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    position: relative;
}
#contact .wrapper .row .col:nth-of-type(2) h4:before {
    content: '';
    width: 5rem;
    height: 0.2rem;
    background: linear-gradient(90deg, rgba(255, 122, 0, 1) 0%, rgba(255, 190, 0, 1) 100%);
    border: none;
    position: absolute;
    bottom: -0.6rem;
    left: 0;
}
#contact .wrapper .row .col:nth-of-type(2) form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
    color: #9b9b9b;
}
#contact .wrapper .row .col:nth-of-type(2) form input,
#contact .wrapper .row .col:nth-of-type(2) form textarea {
    border: 0;
    border-bottom: 1px solid #d1d1d1;
    font-size: 1rem;
    padding: 0.8rem 0;
    width: 100%;
    margin-bottom: 1.5rem;
    outline: none;
}
#contact .wrapper .row .col:nth-of-type(2) form textarea {
    resize: vertical;
    min-height: 3rem;
}
#contact .wrapper .row .col:nth-of-type(2) form button {
    background-color: #FF7A00;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: table;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.6rem 1.6rem;
    margin: auto;
    transition: opacity 0.3s ease;
}
#contact .wrapper .row .col:nth-of-type(2) form button:hover {
    opacity: 0.8;
}

footer {
    background-color: #303030;
}
footer .wrapper .row {
    justify-content: space-between;
    align-items: center;
    gap: 9rem;
}
footer .wrapper .row .col:nth-of-type(1) {
    background-color: #ffffff;
        padding: 3rem;
}
footer .wrapper .row .col:nth-of-type(1) img {
    width: 8rem;
}
footer .wrapper .row .col:nth-of-type(1) #spheres {
    text-align: center;
    margin: 1rem 0;
}
footer .wrapper .row .col:nth-of-type(1) #spheres span {
    display: inline-block;
    background-color: #f3a000;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}
footer .wrapper .row .col:nth-of-type(2) h4 {
    color: #f3a000;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
footer .wrapper .row .col:nth-of-type(2) ul {
    list-style: none;
}
footer .wrapper .row .col:nth-of-type(2) ul li {
    margin-bottom: 0.5rem;
}
footer .wrapper .row .col:nth-of-type(2) ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 200;
    transition: color 0.3s ease;
}
footer .wrapper .row .col:nth-of-type(2) ul li a:hover {
    color: #f3a000;
}
footer .wrapper .row .col:nth-of-type(3) h4 {
    color: #f3a000;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
footer .wrapper .row .col:nth-of-type(3) ul {
    list-style: none;
}
footer .wrapper .row .col:nth-of-type(3) ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #ffffff;
    gap: 1.5rem;
}
footer .wrapper .row .col:nth-of-type(3) ul li p {
    font-size: 0.9rem;
    font-weight: 200;
}
footer .wrapper .row .col:nth-of-type(3) ul li a {
    display: table;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 200;
    transition: color 0.3s ease;
}

/* Extra pequeño (móviles) */
@media (max-width: 30rem) {   /* 480px */
    header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(1) {
        display: none;
    }
    header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(2) {
        width: 100%;
        position: relative;
        left: auto;
        top: auto;
    }
    header .wrapper .row > .col:nth-of-type(2) img:nth-of-type(3) {
        display: none;
    }
}

/* Pequeño (móviles grandes) */
@media (max-width: 36rem) {   /* 576px */
    header .wrapper .row {
        flex-wrap: wrap;
    }
    header .wrapper .row > .col:nth-of-type(1) {
        flex: 0 0 100%;
    }
    header .wrapper .row > .col:nth-of-type(2) {
        flex: 0 0 100%;
        text-align: center;
        margin-top: 4rem;
    }

    footer .wrapper .row .col:nth-of-type(1) {
        display: none;
    }
    footer .wrapper .row .col:nth-of-type(3) {
        padding-top: 2rem;
    }

}

@media (max-width: 38rem) { 
    #banner .wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    #banner h3 {
        flex: 0 0 100%;
        text-align: center;
        max-width: none;
    }
    #banner a {
        margin: auto;
    }
}

/* Mediano (tablets) */
@media (max-width: 48rem) {   /* 768px */
    footer .wrapper .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    footer .wrapper .row .col:nth-of-type(2) {
        order: 3;
        margin: auto;
    }
    footer .wrapper .row .col:nth-of-type(2) h4 {
        display: none;
    }
    footer .wrapper .row .col:nth-of-type(2) nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 0;
        width: 100%;
    }

    #projects .wrapper .row {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    #search {
        padding: 0 2rem;
    }
    #search button {
        padding-right: 3rem;
    }

    #contact .wrapper .row {
        flex-wrap: wrap;
    }
    #contact .wrapper .row .col {
        flex: 0 0 100%;
        padding: 2rem;
    }
    
    footer .wrapper .row .col:nth-of-type(3) {
        flex: 50%;
    }
}

/* Grande (laptops pequeñas) */
@media (max-width: 62rem) {   /* 992px */
    header nav > #toggle-menu {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 2;
        color: #fff;
        background: #ffbf07;
        padding: 0.4rem 0.7rem;
        border-radius: 0.5rem;
    }
    header nav {
        justify-content: flex-start;
    }
    header nav ul {
        position: fixed;
        display: flex;
        flex-direction: column;
        left: -100%;
        top: 0;
        background-color: #ffffff;
        z-index: 2;
        margin: auto;
        height: 100%;
        padding: 3rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 2.5rem;
        text-align: center;
        transition: left 0.3s ease;
    }
    header nav ul:before {
        content: '';
        background-color: #ffffff;
        border-right: 1rem solid #ffbc00;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    header nav ul.active:after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -2;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    header nav ul.active {
        left: 0;
    }
    header nav ul.active:after {
        content: '';
        opacity: 1;
    }

    footer .wrapper .row {
        gap: 4rem;
    }
}

/* Extra grande (desktops) */
@media (max-width: 77rem) {   /* 1233px */
    header:before {
        content: '';
        width: 1.5rem;
    }
}

/* XXL (pantallas grandes) */
@media (max-width: 90rem) {   /* 1440px */
}
