/* 01. RESET / GLOBAL
   =========================================================== */


   * {
    box-sizing: border-box;
}


html {
    font-size: 16px;
    scroll-behavior: smooth;
}


body {
    background: #F7F6F2;
    overflow-x: hidden;
    cursor: url('../images/cursor.svg'), auto;

    display: grid;
    grid-template-rows: repeat(auto-fill, auto);
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;

    padding: 0 5%;
    margin: 0;
    justify-content: center;
}


strong {
    font-weight: 700;
}


a {
    text-decoration: none;
    color: #1C1C1A;
    transition: 0.6s;
}


a:visited,
a:active {
    color: #1C1C1A;
    text-decoration: none;
}


/* ===========================================================
   02. OVERLAY Y CURSOR
   =========================================================== */


#overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: #F7F6F2;

    z-index: 9999;

    transition: transform 0.6s ease;
    transform: translateY(0);
}


#overlay.slide-up {
    transform: translateY(-100%);
}


.circle {
    position: fixed;

    width: 45px;
    height: 45px;

    border-radius: 50%;
    background-color: rgba(239, 232, 218, 0);

    pointer-events: none;
    z-index: 9999;

    transition: all 0.6s ease;
    transform: translate(-1%, -1%);
}


.circle-clickable {
    pointer-events: none;
    transition: all 0.6s ease;
}


/* ===========================================================
   03. NAVEGACIÓN
   =========================================================== */


/* ---------- Burger ---------- */
.burger-icon {
    display: none;

    flex-direction: column;
    justify-content: space-around;

    width: 30px;
    height: 25px;

    cursor: pointer;
}


.burger-icon span {
    display: block;

    width: 100%;
    height: 3px;

    background-color: #252525;
    border-radius: 2px;

    transition: 0.5s;
}


.burger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}


.burger-icon.active span:nth-child(2) {
    opacity: 0;
}


.burger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ---------- Nav principal ---------- */
nav {
    grid-column: 1 / -1;

    width: 100%;
    left: 0;
    right: 0;

    padding: 1rem 5%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    z-index: 1000;

    top: 0;
    background: rgba(247, 246, 242, 0.75);
    border-bottom: 1px solid rgba(28, 28, 26, 0.05);
    backdrop-filter: blur(18px);

}


.logo {
    text-decoration: none;
    color: inherit;
}


.logo span {
    font-family: 'Google Sans Flex';
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}


.botonesnav {
    display: flex;
    align-items: center;
    margin: 0;
}


.nav-links {
    gap: 60px;
}


nav ul {
    display: flex;

    font-family: 'Google Sans', sans-serif;
    font-size: 0.9rem;

    list-style: none;
    color: #1C1C1A;

    justify-content: flex-end;

    padding: 0;
    flex-grow: 1;
}


li {
    padding: 0 0 0 1.8rem;
}


li:hover {
    animation-duration: 0.6s;
    color: #7B7B7B;
    font-weight: 500;
}


li:active {
    color: #1C1C1A;
    text-decoration: none;
}


/* ---------- Idiomas ---------- */
.botonesidiomas {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
}


.botonidioma {
    font-weight: 400;
    padding: 0;
}


.botonidioma:hover {
    color: #7B7B7B;
    font-weight: 600;
}


#idiomaactual {
    font-weight: 900;
}


.separator {
    font-weight: 400;
    padding: 0 10px 4px 10px;
}


/* ===========================================================
   04. ANIMACIONES
   =========================================================== */


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}


@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes entradaIzq {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes entradaDer {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes slideup {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes animate-it {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}


@keyframes move-it {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(10px);
    }
}


@keyframes highlight-me {
    from {
        background-size: 0% 100%;
    }

    to {
        background-size: 100% 100%;
    }
}


@keyframes serviceReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===========================================================
   05. TIPOGRAFÍA Y ELEMENTOS GENERALES
   =========================================================== */


h1 {

    font-family: "Google Sans Flex", sans-serif;
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 650;
    line-height: .92;
    letter-spacing: -0.035em;
}


h2 {
    font-family: 'Google Sans', sans-serif;
    font-size: clamp(3.2rem, 5.5vw, 5.5rem);
    font-weight: 500;
    line-height: 100%;

    margin-block-start: 0%;
    margin-block-end: 0%;
}


h3 {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.67rem;
    line-height: 130%;
    font-weight: 100;

    margin-block-start: 0%;
    margin-block-end: 0%;
}


h4 {
    font-family: 'Google Sans';
    font-size: 1.05rem;
    font-weight: 400;
}


h5 {
    font-family: 'Google Sans';
    font-size: 0.7rem;
    font-weight: 400;
}


p {
    font-family: 'Google Sans';
    font-size: 1rem;
    font-weight: 100;
}


.accenth1 {
    font-family: "DM Serif Display", serif;
    font-style: italic;
    font-weight: 400;
    color: #FF5C4D;
    letter-spacing: -0.02em;
}


.accenth2 {
    font-family: "DM Serif Display", serif;
    font-style: italic;
    font-weight: 400;

    font-size: clamp(4.3rem, 6.1vw, 6.1rem);

    line-height: 0.9;
    letter-spacing: -0.02em;
}


.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    font-family: 'Google Sans', sans-serif;
}


/* ---------- Botones ---------- */
.botonflecha {
    height: 70px;
    width: 70px;
}


button {
    min-height: 50px;

    padding: 0.9rem 1.5rem;
    background-color: #F7F6F2;

    border: 1px solid #252525;
    border-radius: 999px;

    font-family: "Google Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.3s ease,
        color 0.3s ease;
}


button:hover {
    transform: translateY(-3px);
}


#primary {
    background-color: #FF5C4D;
    color: #F7F6F2;

    border: 1px solid #FF5C4D;
}


#primary:hover {
    background-color: #D94B3E;
    border-color: #D94B3E;
}


/* ===========================================================
   11. FOOTER
   =========================================================== */


footer {
    grid-column: 1 / -1;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin-top: 80px;
    padding: 30px 0;

    color: #1C1C1A;
}

.socialfooter {
    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: flex-start;

    gap: 24px;

    flex-shrink: 0;
}


.socialfooter a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    padding: 0;
    margin: 0;

    color: #1C1C1A;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.socialfooter a:hover {
    transform: translateY(-2px);
    opacity: 0.65;
}


.socialfooter img,
.socialfooter svg {
    display: block;

    width: 22px;
    height: 22px;
}


.footertext {
    margin-left: auto;

    min-width: 0;
}


.footertext ul {
    display: flex;

    flex-direction: row;

    align-items: center;
    justify-content: flex-end;

    gap: 25px;

    margin: 0;
    padding: 0;

    list-style: none;

    color: #1C1C1A;

    font-family: "Google Sans", sans-serif;
    font-size: 0.72rem;
}


.footertext li,
.footertext li:hover,
.footertext li:active {
    margin: 0;
    padding: 0;

    width: auto;

    color: #1C1C1A !important;

    font-family: "Google Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 400;

    list-style: none;

    animation: none;
}


.footertext a,
.footertext a:visited,
.footertext a:active {
    color: #1C1C1A !important;

    text-decoration: none;

    opacity: 0.7;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}


.footertext a:hover {
    color: #1C1C1A !important;

    opacity: 1;
}


/* ---------- Responsive navigation ---------- */


@media screen and (max-width: 768px) {

nav {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 10px;

    width: 100%;

    padding: 1rem 3%;
}


.logo {
    display: block;

    padding: 10px;
    margin: 0;
}


.burger-icon {
    display: flex;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    width: 30px;
    height: 25px;

    cursor: pointer;

    flex: 0 0 auto;

    z-index: 1500;

    margin-right: 10px;
}


.nav-links {
    display: none;

    flex-direction: column;

    position: fixed;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100vh;

    background-color: #F7F6F2;

    padding-top: 100px;
    padding-left: 50px;

    transition: left 0.6s ease;

    z-index: 1000;

    justify-content: flex-start;

    box-shadow: rgba(38, 38, 38, 0.1) 0px 0px 10px;
}


.nav-links.show {
    display: flex;
    left: 0;
}


.nav-links li {
    margin: 15px 0;
    padding: 0;
}


.botonesnav {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
    justify-content: center;
}


.botonesidiomas {
    display: inline-flex;

    align-items: space-between;
    justify-content: flex-start;
}

}


@media (max-width: 600px) {

footer {
    grid-column: 1 / -1;
}


.footertext ul {
    flex-direction: column;
}

}


@media (max-width: 480px) {

footer {
    margin-top: 50px;
    padding: 30px 0 25px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 30px;

    text-align: center;
}


.socialfooter {
    align-items: center;
    justify-content: center;

    gap: 25px;
}


.socialfooter a {
    padding: 0;
    margin: 0;
}


.footertext {
    width: 100%;
    margin: 0;
}


.footertext ul {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 0;
    padding: 0;

    text-align: center;
}


.footertext li {
    padding: 0;
    margin: 0;

    width: auto;
}

}


@media (max-width: 400px) {

footer {
    gap: 25px;
}


.footertext ul {
    gap: 10px 15px;

    font-size: 0.68rem;
}


.socialfooter {
    gap: 20px;
}

}


/* ===========================================================
