/* =========================================================
   MOMENTO ZERO
   VISUAL SYSTEM
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #171717;
    background: #f5f2ec;

    line-height: 1.5;

    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    font-family: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --black: #111111;
    --soft-black: #191919;

    --cream: #f5f2ec;
    --warm-white: #faf9f6;

    --gray: #6c6963;
    --line: #dcd8d0;

    --container: 1240px;

}


/* =========================================================
   GENERAL
========================================================= */

.section-container {

    width:
        min(
            var(--container),
            calc(100% - 90px)
        );

    margin: 0 auto;

}

.section-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 80px;

    margin-bottom: 75px;

}

.section-eyebrow {

    margin-bottom: 20px;

    font-size: 0.7rem;

    letter-spacing: 0.22em;

    font-weight: 800;

    color: #6c6963;

}

.section-title {

    font-size:
        clamp(
            3.2rem,
            5.7vw,
            6.2rem
        );

    line-height: 0.92;

    letter-spacing: -0.065em;

    font-weight: 700;

}

.section-title span {

    color: #77736c;

}

.section-side-text {

    max-width: 350px;

    margin-bottom: 5px;

    color: var(--gray);

    font-size: 0.98rem;

    line-height: 1.75;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    padding-top: 18px;

    transition:
        padding 0.35s ease;

}

.header-inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
}

.site-header.scrolled {

    padding-top: 10px;

}

/* =========================================================
   HEADER AL HACER SCROLL
========================================================= */

.site-header.scrolled .header-inner {
    background: rgba(17, 17, 17, 0.48);
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(22px) saturate(120%);
    -webkit-backdrop-filter: blur(22px) saturate(120%);
}

.logo-link {

    display: flex;

    align-items: center;

    text-decoration: none;

}

.logo-surface {

    display: flex;

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

    width: 205px;
    height: 52px;

    padding: 5px 12px;

    border-radius: 8px;

    background: #fff;

    overflow: hidden;

}

.site-logo {

    width: 181px;

    max-height: 42px;
    height: auto;

    object-fit: contain;

    transition:
        transform 0.3s ease;

}

.logo-link:hover
.site-logo {

    transform:
        scale(1.025);

}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 38px;
    margin-left: auto;
    margin-right: 150px;
}

.nav-link {

    position: relative;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        13px 14px;

    color: rgba(
        255,
        255,
        255,
        0.82
    );

    text-decoration: none;

    font-size: 0.9rem;

    font-weight: 600;

    border-radius: 12px;

    transition:
        color 0.25s ease,
        background 0.25s ease;

}

.nav-link span {

    font-size: 0.56rem;

    color: rgba(
        255,
        255,
        255,
        0.42
    );

    transition:
        color 0.25s ease;

}

.nav-link::after {

    content: "";

    position: absolute;

    left: 14px;
    right: 14px;

    bottom: 6px;

    height: 1px;

    background: #fff;

    transform:
        scaleX(0);

    transform-origin: right;

    transition:
        transform 0.3s ease;

}

.nav-link:hover {

    color: #fff;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

}

.nav-link:hover span {

    color: #fff;

}

.nav-link:hover::after,
.nav-link.active::after {

    transform:
        scaleX(1);

    transform-origin: left;

}


/* =========================================================
   CTA NAV
========================================================= */

.nav-quote {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-left: 8px;

    padding:
        12px 12px 12px 19px;

    border-radius: 100px;

    background: #fff;

    color: #111;

    text-decoration: none;

    font-size: 0.86rem;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        padding 0.3s ease;

}

.nav-quote b {

    width: 28px;
    height: 28px;

    display: flex;

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

    border-radius: 50%;

    background: #111;

    color: #fff;

    font-size: 0.9rem;

    transition:
        transform 0.3s ease;

}

.nav-quote:hover {

    transform:
        translateY(-2px);

    padding-right: 14px;

}

.nav-quote:hover b {

    transform:
        rotate(45deg);

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.1
        );

    cursor: pointer;

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

    flex-direction: column;

    gap: 6px;

}

.menu-toggle span {

    width: 20px;
    height: 1.5px;

    background: #fff;

    transition:
        transform 0.25s ease;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    height: 100svh;

    min-height: 680px;

    overflow: hidden;

    isolation: isolate;

    background: #202020;

}

.hero-media {

    position: absolute;

    /*
     * Solo un pequeño margen adicional.
     * Evita el efecto de zoom excesivo que
     * hacía perder nitidez a la fotografía.
     */

    inset: -3%;

    z-index: -3;

    will-change: transform;

}

.hero-image {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

    /*
     * Antes había demasiado zoom.
     * Ahora solamente dejamos un pequeño
     * margen para permitir el parallax.
     */

    transform: scale(1.025);

    will-change: transform;

}

.hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
}

.hero-gradient {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        linear-gradient(
            90deg,
            rgba(
                0,
                0,
                0,
                0.76
            ) 0%,

            rgba(
                0,
                0,
                0,
                0.48
            ) 35%,

            rgba(
                0,
                0,
                0,
                0.08
            ) 72%,

            rgba(
                0,
                0,
                0,
                0.18
            ) 100%
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    height: 100%;

    width:
        min(
            var(--container),
            calc(100% - 90px)
        );

    margin: 0 auto;

    display: flex;

    align-items: center;

}

.hero-copy {

    max-width: 850px;

    padding-top: 75px;

    color: #fff;

}

.hero-eyebrow {

    margin-bottom: 24px;

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.27em;

    opacity: 0.78;

}

.hero h1 {

    margin: 0;

    font-size:
        clamp(
            4rem,
            7.7vw,
            8rem
        );

    line-height: 0.87;

    letter-spacing: -0.07em;

    font-weight: 700;

}

.hero h1 em {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    letter-spacing: -0.065em;

}

.hero-text {

    max-width: 540px;

    margin:
        32px 0 32px;

    color:
        rgba(
            255,
            255,
            255,
            0.86
        );

    font-size: 1.05rem;

    line-height: 1.65;

}

.hero-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding:
        7px 8px 7px 21px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.5
        );

    border-radius: 100px;

    color: #fff;

    text-decoration: none;

    font-size: 0.86rem;

    font-weight: 700;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    backdrop-filter:
        blur(10px);

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}

.hero-button b {

    width: 37px;
    height: 37px;

    display: flex;

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

    border-radius: 50%;

    background: #fff;

    color: #111;

    transition:
        transform 0.3s ease;

}

.hero-button:hover {

    background:
        rgba(
            255,
            255,
            255,
            0.16
        );

    transform:
        translateY(-3px);

}

.hero-button:hover b {

    transform:
        translateY(3px);

}

.hero-bottom {

    position: absolute;

    z-index: 3;

    left: 0;
    right: 0;

    bottom: 32px;

    width:
        min(
            var(--container),
            calc(100% - 90px)
        );

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

}

.hero-location {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 0.68rem;

    letter-spacing: 0.14em;

    text-transform: uppercase;

}

.hero-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 0 5px
        rgba(
            255,
            255,
            255,
            0.12
        );

}

.hero-scroll {

    display: flex;

    align-items: center;

    gap: 15px;

}

.hero-scroll span {

    font-size: 0.62rem;

    letter-spacing: 0.2em;

}

.hero-scroll-line {

    width: 60px;

    height: 1px;

    background:
        rgba(
            255,
            255,
            255,
            0.5
        );

    position: relative;

    overflow: hidden;

}

.hero-scroll-line::after {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 30px;
    height: 100%;

    background: #fff;

    animation:
        scrollMove 1.8s
        ease-in-out
        infinite;

}

@keyframes scrollMove {

    0% {
        transform: translateX(-35px);
    }

    50% {
        transform: translateX(55px);
    }

    100% {
        transform: translateX(55px);
    }

}


/* =========================================================
   SLOGAN
========================================================= */

.slogan-section {

    padding: 145px 0;

    background: #111;

    color: #fff;

}

.slogan-inner {

    width:
        min(
            var(--container),
            calc(100% - 90px)
        );

    margin: auto;

    display: grid;

    grid-template-columns:
        80px
        1fr
        100px;

    align-items: start;

}

.slogan-number {

    padding-top: 10px;

    color:
        rgba(
            255,
            255,
            255,
            0.35
        );

    font-size: 0.7rem;

    letter-spacing: 0.2em;

}

.slogan-content > p {

    margin-bottom: 28px;

    font-size: 0.68rem;

    letter-spacing: 0.24em;

    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

}

.slogan-content h2 {

    font-size:
        clamp(
            3.5rem,
            7vw,
            7.5rem
        );

    line-height: 0.9;

    letter-spacing: -0.065em;

}

.slogan-content h2 span {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

}

.slogan-mark {

    justify-self: end;

    padding-top: 8px;

    color:
        rgba(
            255,
            255,
            255,
            0.2
        );

    font-size: 1.1rem;

    letter-spacing: 0.15em;

}


/* =========================================================
   ASÍ SOMOS
========================================================= */

.about-section {

    padding: 155px 0;

    background: var(--cream);

}

.about-image-wrap {

    position: relative;

}

.about-image {

    height: 670px;

    overflow: hidden;

}

.about-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;

}

.about-image-wrap:hover
.about-image img {

    transform:
        scale(1.035);

}

.image-label {

    position: absolute;

    left: 25px;
    bottom: 25px;

    display: flex;

    gap: 12px;

    padding:
        10px 14px;

    border-radius: 100px;

    color: #fff;

    background:
        rgba(
            17,
            17,
            17,
            0.72
        );

    backdrop-filter:
        blur(10px);

    font-size: 0.62rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}

.about-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    gap: 100px;

    align-items: center;

}

.about-content {

    max-width: 560px;

}

.about-lead {

    margin-bottom: 30px;

    font-size: 1.6rem;

    line-height: 1.38;

    letter-spacing: -0.03em;

}

.about-content > p:not(.about-lead) {

    margin-bottom: 20px;

    color: var(--gray);

    font-size: 1rem;

    line-height: 1.8;

}

.about-signature {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 45px;

    font-size: 0.68rem;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    font-weight: 800;

}

.about-signature i {

    width: 24px;

    height: 1px;

    background: #aaa;

}


/* =========================================================
   SERVICIOS
========================================================= */

.services-section {

    padding: 155px 0;

    background: #fff;

}

.services-heading {

    margin-bottom: 80px;

}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 18px;

}

.service-card {

    grid-column: span 2;

    position: relative;

    display: block;

    width: 100%;

    padding: 0;

    overflow: hidden;

    text-align: left;

    cursor: pointer;

    background: #f3f0ea;

    color: #111;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

}

.service-card:nth-child(4) {

    grid-column: 2 / 4;

}

.service-card:nth-child(5) {

    grid-column: 4 / 6;

}

.service-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 25px 55px
        rgba(
            0,
            0,
            0,
            0.13
        );

}

.service-image {

    position: relative;

    height: 330px;

    overflow: hidden;

}

.service-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(
                0,
                0,
                0,
                0.4
            )
        );

}

.service-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s
        cubic-bezier(
            .2,
            .7,
            .2,
            1
        );

}

.service-card:hover
.service-image img {

    transform:
        scale(1.08);

}

.service-arrow {

    position: absolute;

    z-index: 2;

    top: 18px;
    right: 18px;

    width: 45px;
    height: 45px;

    display: flex;

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

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.88
        );

    color: #111;

    font-size: 1.05rem;

    transition:
        transform 0.4s ease;

}

.service-card:hover
.service-arrow {

    transform:
        rotate(45deg);

}

.service-card-content {

    padding:
        28px 28px 32px;

}

.service-number {

    display: block;

    margin-bottom: 18px;

    color: #999;

    font-size: 0.64rem;

    font-weight: 800;

    letter-spacing: 0.2em;

}

.service-card h3 {

    margin-bottom: 17px;

    font-size: 1.55rem;

    line-height: 1.02;

    letter-spacing: -0.04em;

}

.service-card p {

    min-height: 51px;

    margin-bottom: 27px;

    color: #73706a;

    font-size: 0.9rem;

    line-height: 1.65;

}

.service-open {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 17px;

    border-top: 1px solid #d8d4cd;

    font-size: 0.7rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    font-weight: 800;

}

.service-open b {

    font-size: 1rem;

    transition:
        transform 0.3s ease;

}

.service-card:hover
.service-open b {

    transform:
        translateX(5px);

}


/* =========================================================
   PRODUCCIÓN
========================================================= */

.production-section {

    padding: 155px 0;

    background: var(--cream);

}

.production-grid {

    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 110px;

    align-items: center;

}

.production-content {

    max-width: 540px;

}

.production-content h2 {

    margin-bottom: 30px;

    font-size:
        clamp(
            3.2rem,
            5vw,
            5.7rem
        );

    line-height: 0.92;

    letter-spacing: -0.06em;

}

.production-content > p:not(.section-eyebrow) {

    margin-bottom: 20px;

    color: var(--gray);

    line-height: 1.8;

}

.dark-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    margin-top: 20px;

    padding:
        8px 8px 8px 20px;

    border-radius: 100px;

    background: #111;
    color: #fff;

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 700;
}

.dark-button > span:first-child {
    width: auto;
    height: auto;

    display: inline-block;

    background: transparent;
    color: #fff;

    border-radius: 0;

    white-space: nowrap;
}

.dark-button > span:last-child {
    flex: 0 0 35px;

    width: 35px;
    height: 35px;

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

    border-radius: 50%;

    background: #fff;
    color: #111;

    transition:
        transform 0.3s ease;
}

.dark-button:hover > span:last-child {
    transform:
        rotate(45deg);
}

.production-images {

    position: relative;

    min-height: 650px;

}

.production-image-main {

    width: 78%;
    height: 570px;

    margin-left: auto;

    overflow: hidden;

}

.production-image-main img,
.production-image-small img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;

}

.production-images:hover
.production-image-main img {

    transform:
        scale(1.025);

}

.production-image-small {

    position: absolute;

    left: 0;
    bottom: 0;

    width: 45%;
    height: 290px;

    overflow: hidden;

    border: 12px solid var(--cream);

}

.production-label {

    position: absolute;

    right: 5px;
    top: 25px;

    writing-mode: vertical-rl;

    font-size: 0.62rem;

    letter-spacing: 0.25em;

    font-weight: 800;

    color: #888;

}


/* =========================================================
   COTIZA
========================================================= */

.quote-section {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: #fff;

}

.quote-image {

    position: absolute;

    inset: 0;

}

.quote-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.quote-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(
                0,
                0,
                0,
                0.76
            ),
            rgba(
                0,
                0,
                0,
                0.30
            )
        );

}

.quote-content {

    position: relative;

    z-index: 2;

    width:
        min(
            var(--container),
            calc(100% - 90px)
        );

    margin: auto;

}

.quote-content .section-eyebrow {

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );

}

.quote-content h2 {

    margin-bottom: 30px;

    font-size:
        clamp(
            4rem,
            7.5vw,
            8rem
        );

    line-height: 0.85;

    letter-spacing: -0.07em;

}

.quote-content h2 em {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

}

.quote-content > p:not(.section-eyebrow) {

    max-width: 500px;

    margin-bottom: 35px;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    line-height: 1.7;

}

.quote-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding:
        8px 8px 8px 22px;

    border-radius: 100px;

    background: #fff;

    color: #111;

    text-decoration: none;

    font-size: 0.85rem;

    font-weight: 800;

}

.quote-button b {

    width: 38px;
    height: 38px;

    display: flex;

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

    border-radius: 50%;

    background: #111;

    color: #fff;

    transition:
        transform 0.3s ease;

}

.quote-button:hover b {

    transform:
        rotate(45deg);

}


/* =========================================================
   CONTACTO
========================================================= */

.contact-section {

    padding: 140px 0;

    background: #fff;

}

.contact-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;

}

.contact-section h2 {

    margin-bottom: 30px;

    font-size:
        clamp(
            3.5rem,
            6vw,
            6.5rem
        );

    line-height: 0.9;

    letter-spacing: -0.065em;

}

.contact-section h2 span {

    color: #77736c;

}

.contact-text {

    max-width: 500px;

    color: var(--gray);

    line-height: 1.8;

}

.contact-details {

    align-self: center;

}

.contact-item {

    position: relative;

    display: block;

    padding:
        27px 55px 27px 0;

    border-bottom:
        1px solid #d9d6d0;

    text-decoration: none;

}

.contact-label {

    display: block;

    margin-bottom: 7px;

    color: #888;

    font-size: 0.65rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

}

.contact-item strong {

    font-size: 1.1rem;

    font-weight: 600;

}

.contact-item > b {

    position: absolute;

    right: 0;
    bottom: 26px;

    width: 35px;
    height: 35px;

    display: flex;

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

    border-radius: 50%;

    background: #111;

    color: #fff;

    transition:
        transform 0.3s ease;

}

.contact-item:hover > b {

    transform:
        rotate(45deg);

}


/* =========================================================
   MODAL
========================================================= */

.service-modal {

    position: fixed;

    inset: 0;

    z-index: 3000;

    display: none;

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

    padding: 25px;

}

.service-modal.active {

    display: flex;

}

.modal-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(
            0,
            0,
            0,
            0.76
        );

    backdrop-filter:
        blur(8px);

}

.modal-container {

    position: relative;

    z-index: 2;

    width:
        min(
            1120px,
            100%
        );

    max-height: 90vh;

    overflow: auto;

    background: #fff;

    animation:
        modalIn 0.35s ease;

}

@keyframes modalIn {

    from {

        opacity: 0;

        transform:
            translateY(20px)
            scale(0.98);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}

.modal-close {

    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 5;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.9
        );

    cursor: pointer;

}

.modal-close span {

    position: absolute;

    left: 13px;

    width: 19px;
    height: 1.5px;

    background: #111;

}

.modal-close span:first-child {

    transform:
        rotate(45deg);

}

.modal-close span:last-child {

    transform:
        rotate(-45deg);

}

.modal-content {

    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

}

.modal-info {

    padding:
        70px 55px;

}

.modal-eyebrow {

    margin-bottom: 18px;

    font-size: 0.65rem;

    letter-spacing: 0.2em;

    font-weight: 800;

    color: #777;

}

.modal-info h2 {

    margin-bottom: 25px;

    font-size:
        clamp(
            2.8rem,
            4vw,
            4.7rem
        );

    line-height: 0.9;

    letter-spacing: -0.06em;

}

.modal-description {

    margin-bottom: 25px;

    color: #666;

    line-height: 1.75;

}

.modal-list {

    margin:
        0 0 32px;

    padding-left: 17px;

    color: #444;

}

.modal-list li {

    margin-bottom: 8px;

}

.modal-button {

    display: inline-flex;

    align-items: center;

    gap: 17px;

    padding:
        7px 8px 7px 20px;

    border-radius: 100px;

    background: #111;

    color: #fff;

    text-decoration: none;

    font-size: 0.8rem;

    font-weight: 700;

}

.modal-button b {

    width: 32px;
    height: 32px;

    display: flex;

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

    border-radius: 50%;

    background: #fff;

    color: #111;

}

.modal-gallery {

    display: grid;

    grid-template-columns:
        1.25fr 0.875fr;

    grid-template-rows:
        1fr 1fr;

    min-height: 600px;

}

.modal-gallery-image:first-child {

    grid-row:
        1 / 3;

}

.modal-gallery-image {

    overflow: hidden;

}

.modal-gallery-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;

}

.modal-gallery-image:hover img {

    transform:
        scale(1.04);

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding: 60px 0;

    background: #111;

    color: #fff;

}

.footer-inner {

    width:
        min(
            var(--container),
            calc(100% - 90px)
        );

    margin: auto;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

}

.footer-logo {

    width: 175px;

    filter:
        brightness(0)
        invert(1);

    margin-bottom: 20px;

}

.footer-brand p {

    max-width: 260px;

    color:
        rgba(
            255,
            255,
            255,
            0.5
        );

    font-size: 0.8rem;

}

.footer-right {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 8px;

    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size: 0.65rem;

    letter-spacing: 0.08em;

}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}

.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   RESPONSIVE 1100
========================================================= */

@media (max-width: 1100px) {

    .main-nav {

        gap: 2px;

    }

    .nav-link {

        padding:
            12px 9px;

    }

    .nav-quote {

        margin-left: 4px;

    }

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .service-card {

        grid-column: auto;

    }

    .about-grid,
    .production-grid {

        gap: 60px;

    }

}


/* =========================================================
   RESPONSIVE 900
========================================================= */

@media (max-width: 900px) {

    .site-header {

        padding-top: 12px;

    }

    .header-inner {

        width:
            calc(100% - 30px);

        min-height: 68px;

        padding:
            8px 10px 8px 18px;

    }

    .logo-surface {

        width: 250px;
        height: 70px;
        padding: 5px 10px;

    }

    .site-logo {

        width: 155px;

    }

    .menu-toggle {

        display: flex;

    }

    .main-nav {

        position: absolute;

        top: calc(100% + 9px);

        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        padding: 14px;

        border-radius: 17px;

        background:
            rgba(
                18,
                18,
                18,
                0.97
            );

        border:
            1px solid
            rgba(
                255,
                255,
                255,
                0.1
            );

        box-shadow:
            0 25px 60px
            rgba(
                0,
                0,
                0,
                0.2
            );

    }

    .main-nav.active {

        display: flex;

        animation:
            mobileMenuIn 0.3s ease;

    }

    @keyframes mobileMenuIn {

        from {

            opacity: 0;

            transform:
                translateY(-8px);

        }

        to {

            opacity: 1;

            transform:
                translateY(0);

        }

    }

    .nav-link {

        padding:
            14px 16px;

    }

    .nav-quote {

        justify-content: space-between;

        margin:
            7px 0 0;

        padding:
            9px 9px 9px 17px;

    }

    .hero {

        min-height: 650px;

    }

    .hero-content,
    .hero-bottom,
    .quote-content {

        width:
            calc(100% - 45px);

    }

    .hero h1 {

        font-size:
            clamp(
                3.7rem,
                11vw,
                6rem
            );

    }

    .section-top {

        align-items: flex-start;

        flex-direction: column;

        gap: 25px;

    }

    .section-side-text {

        max-width: 500px;

    }

    .about-grid,
    .production-grid,
    .contact-grid {

        grid-template-columns:
            1fr;

    }

    .about-image {

        height: 560px;

    }

    .production-images {

        min-height: 560px;

    }

    .modal-content {

        grid-template-columns:
            1fr;

    }

    .modal-gallery {

        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            260px 180px;

        min-height: auto;

    }

    .modal-gallery-image:first-child {

        grid-column:
            1 / 3;

        grid-row:
            1;

    }

}


/* =========================================================
   RESPONSIVE 600
========================================================= */

@media (max-width: 600px) {

    .section-container {

        width:
            calc(100% - 32px);

    }

    .header-inner {

        width:
            calc(100% - 20px);

    }

    .logo-surface {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 54px;
    padding: 3px 8px;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.site-logo {
    width: 280px;
    max-height: 50px;
    height: auto;
}

    .hero {

        min-height: 650px;

    }

    .hero-media {

        inset: -2%;

    }

    .hero-image {

        object-position:
            58% center;

        transform:
            scale(1.02);

    }

    .hero-gradient {

        background:
            linear-gradient(
                90deg,
                rgba(
                    0,
                    0,
                    0,
                    0.76
                ),
                rgba(
                    0,
                    0,
                    0,
                    0.30
                )
            );

    }

    .hero-content {

        width:
            calc(100% - 32px);

    }

    .hero-copy {

        padding-top: 60px;

    }

    .hero h1 {

        font-size:
            clamp(
                3.25rem,
                15vw,
                5rem
            );

    }

    .hero-text {

        max-width: 400px;

        font-size:
            0.94rem;

    }

    .hero-bottom {

        width:
            calc(100% - 32px);

        bottom: 22px;

    }

    .hero-scroll {

        display: none;

    }

    .slogan-section {

        padding:
            105px 0;

    }

    .slogan-inner {

        width:
            calc(100% - 32px);

        display: block;

    }

    .slogan-number {

        margin-bottom: 35px;

    }

    .slogan-mark {

        display: none;

    }

    .slogan-content h2 {

        font-size:
            clamp(
                3rem,
                14vw,
                5rem
            );

    }

    .about-section,
    .services-section,
    .production-section {

        padding:
            105px 0;

    }

    .section-top {

        margin-bottom: 50px;

    }

    .section-title {

        font-size:
            clamp(
                2.8rem,
                13vw,
                4.5rem
            );

    }

    .about-image {

        height: 420px;

    }

    .image-label {

        left: 15px;
        bottom: 15px;

    }

    .about-lead {

        font-size: 1.35rem;

    }

    .about-signature {

        flex-wrap: wrap;

        gap: 9px;

    }

    .services-grid {

        grid-template-columns:
            1fr;

        gap: 15px;

    }

    .service-image {

        height: 285px;

    }

    .service-card-content {

        padding:
            25px;

    }

    .production-images {

        min-height: 440px;

    }

    .production-image-main {

        width: 86%;

        height: 390px;

    }

    .production-image-small {

        width: 52%;

        height: 210px;

        border-width: 8px;

    }

    .production-label {

        display: none;

    }

    .quote-section {

        min-height: 620px;

    }

    .quote-content {

        width:
            calc(100% - 32px);

    }

    .quote-content h2 {

        font-size:
            clamp(
                3.6rem,
                16vw,
                5.5rem
            );

    }

    .contact-section {

        padding:
            105px 0;

    }

    .contact-section h2 {

        font-size:
            clamp(
                3.2rem,
                15vw,
                5rem
            );

    }

    .contact-item strong {

        font-size: 0.94rem;

    }

    .modal-container {

        max-height: 94vh;

    }

    .modal-info {

        padding:
            60px 24px 35px;

    }

    .modal-info h2 {

        font-size: 2.8rem;

    }

    .modal-gallery {

        grid-template-columns:
            1fr;

        grid-template-rows:
            repeat(3, 220px);

    }

    .modal-gallery-image:first-child {

        grid-column: auto;
        grid-row: auto;

    }

    .footer-inner {

        width:
            calc(100% - 32px);

        flex-direction: column;

        align-items: flex-start;

        gap: 40px;

    }

    .footer-right {

        align-items: flex-start;

    }

}

/* =========================================================
   VISOR DE FOTOGRAFÍAS
   Amplía cada fotografía del modal al hacer clic.
========================================================= */

.modal-zoomable {
    cursor: zoom-in;
}

.modal-zoomable img {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(8, 8, 8, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-lightbox-image {
    display: block;
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.image-lightbox.active .image-lightbox-image {
    transform: scale(1);
}

.image-lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 46px;
    height: 46px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.image-lightbox-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #fff;
}

.image-lightbox-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.image-lightbox-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 600px) {

    .image-lightbox {
        padding: 20px;
    }

    .image-lightbox-image {
        max-width: 94vw;
        max-height: 82vh;
    }

    .image-lightbox-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

}


/* =========================================================
   CARRUSEL DE SERVICIOS
   Movimiento continuo y pausa al pasar el cursor
========================================================= */

.services-carousel {
    overflow: hidden;
    position: relative;
}

.services-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    animation: servicesCarouselMove 42s linear infinite;
    will-change: transform;
}

.services-track .service-card {
    flex: 0 0 360px;
    width: 360px;
    grid-column: auto;
}

.services-carousel:hover .services-track {
    animation-play-state: paused;
}

@keyframes servicesCarouselMove {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 900px) {

    .services-track .service-card {
        flex-basis: 320px;
        width: 320px;
    }

}

@media (max-width: 600px) {

    .services-carousel {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-carousel::-webkit-scrollbar {
        display: none;
    }

    .services-track {
        animation: none;
    }

    .services-track .service-card {
        flex-basis: 300px;
        width: 300px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .services-track {
        animation: none;
    }

}

/* =========================================================
   LOGO HEADER — AJUSTE FINAL
========================================================= */

.logo-surface {
    width: 225px !important;
    height: 58px !important;
    padding: 2px 6px !important;
}

.site-logo {
    width: 220px !important;
    max-width: none !important;
    max-height: 54px !important;
    height: auto !important;
}
/* =========================================================
   RELOJ / CALENDARIO FLOTANTE
========================================================= */

.floating-clock {
    position: fixed;
    top: 50%;
    right: 0;

    width: 150px;
    padding: 15px 17px 14px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;

    transform: translateY(-50%);

    background: rgba(17, 17, 17, 0.94);
    color: #fff;

    border: 0;
    border-radius: 10px 0 0 10px;

    box-shadow:
        -8px 12px 30px rgba(0, 0, 0, 0.18);

    z-index: 900;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;

    transition:
        width 0.25s ease,
        padding 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* Crece ligeramente al pasar el mouse */

.floating-clock:hover {
    width: 166px;

    padding-right: 20px;

    transform:
        translateY(-50%)
        scale(1.02);

    background: rgba(17, 17, 17, 0.98);

    box-shadow:
        -12px 16px 35px rgba(0, 0, 0, 0.25);
}


.floating-clock:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}


/* Ubicación */

.floating-clock-day {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    opacity: 0.9;
}

.floating-clock-date {
    font-size: 12px;
}

.floating-clock-time {
    font-family: "Courier New", Courier, monospace;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.07em;
    font-variant-numeric: tabular-nums;
}


/* Texto que aparece como invitación */

.floating-clock-hint {
    margin-top: 4px;

    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.16em;

    opacity: 0;

    transform: translateY(3px);

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


.floating-clock:hover .floating-clock-hint {
    opacity: 0.45;
    transform: translateY(0);
}


/* =========================================================
   VENTANA DEL CALENDARIO
========================================================= */

.event-calendar {
    position: fixed;
    inset: 0;

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

    padding: 30px;

    background: rgba(10, 10, 10, 0.72);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 9998;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.event-calendar.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Contenedor central */

.event-calendar-container {
    position: relative;

    width: min(940px, 94vw);
    max-height: 88vh;

    overflow: hidden;

    background: #f5f2ec;
    color: #171717;

    border-radius: 14px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.35);

    transform: translateY(20px) scale(0.97);

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


.event-calendar.active
.event-calendar-container {
    transform: translateY(0) scale(1);
}


/* Botón cerrar */

.event-calendar-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

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

    background: #111;
    color: #fff;

    border-radius: 50%;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}


.event-calendar-close:hover {
    transform: rotate(90deg);
}


/* =========================================================
   CABECERA
========================================================= */

.calendar-header {

    padding: 38px 46px 32px;

    background: #111;

    color: #fff;

}

.calendar-eyebrow {

    margin-bottom: 9px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    opacity: 0.55;

}

.calendar-current-date {

    font-size: clamp(26px, 3vw, 38px);

    font-weight: 600;

    line-height: 1.1;

}

.calendar-current-time {

    margin-top: 10px;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 21px;

    letter-spacing: 0.08em;

    opacity: 0.65;

}


/* =========================================================
   CONTENIDO
========================================================= */

.calendar-content {

    padding: 34px 46px 40px;

    max-height: calc(88vh - 160px);

    overflow-y: auto;

}


/* =========================================================
   MESES
========================================================= */

.calendar-months {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 9px;

    margin-bottom: 34px;

}

.calendar-month {

    padding: 13px 9px;

    background: transparent;

    color: #555;

    border: 1px solid #dcd8d0;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}

.calendar-month:hover {

    transform: translateY(-2px);

    border-color: #111;

}

.calendar-month.active {

    background: #111;

    color: #fff;

    border-color: #111;

}


/* =========================================================
   TÍTULO DEL MES
========================================================= */

.calendar-month-title {

    display: flex;

    align-items: baseline;

    justify-content: space-between;

    padding-bottom: 15px;

    margin-bottom: 20px;

    border-bottom: 1px solid #dcd8d0;

}

.calendar-month-title h3 {

    font-size: 30px;

    font-weight: 600;

}

.calendar-month-title span {

    font-size: 11px;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #777;

}


/* =========================================================
   LISTA DE FECHAS
========================================================= */

.calendar-events {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

}

.calendar-event {

    display: grid;

    grid-template-columns: 68px 1fr;

    min-height: 74px;

    background: #faf9f6;

    border: 1px solid #e2ded6;

    border-radius: 7px;

    overflow: hidden;

}

.calendar-event-date {

    display: flex;

    align-items: center;

    justify-content: center;

    background: #111;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

}

.calendar-event-info {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 10px 14px;

}

.calendar-event-name {

    font-size: 14px;

    font-weight: 600;

}

.calendar-event-type {

    margin-top: 4px;

    font-size: 10px;

    color: #777;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}


/* Feriados */

.calendar-event.feriado .calendar-event-date {

    background: #111;

}


/* Fechas útiles para eventos */

.calendar-event.evento .calendar-event-date {

    background: #777;

}


/* =========================================================
   RESPONSIVE BÁSICO
========================================================= */

@media (max-width: 700px) {

    .floating-clock {

        width: 126px;

        padding: 12px 13px;

    }

    .floating-clock:hover {

        width: 140px;

    }

    .event-calendar {

        padding: 15px;

    }

    .event-calendar-container {

        width: 100%;

        max-height: 92vh;

    }

    .calendar-header {

        padding: 28px 24px 24px;

    }

    .calendar-current-date {

        font-size: 25px;

    }

    .calendar-current-time {

        font-size: 18px;

    }

    .calendar-content {

        padding: 24px 20px 28px;

    }

    .calendar-months {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 8px;

    }

    .calendar-month {

        padding: 11px 7px;

        font-size: 11px;

    }

    .calendar-events {

        grid-template-columns: 1fr;

    }

    .calendar-month-title h3 {

        font-size: 26px;

    }

    .calendar-month-title span {

        font-size: 9px;

    }

    .calendar-event {

        grid-template-columns: 62px 1fr;

        min-height: 70px;

    }

    .calendar-event-date {

        font-size: 13px;

    }

    .calendar-event-name {

        font-size: 13px;

    }

    .calendar-event-type {

        font-size: 9px;

    }

}


/* =========================================================
   RESPONSIVE BÁSICO
========================================================= */

@media (max-width: 700px) {

    .floating-clock {
        width: 126px;
        padding: 12px 13px;
    }

    .floating-clock:hover {
        width: 140px;
    }

    .event-calendar {
        padding: 15px;
    }

    .event-calendar-container {
        width: 100%;
        max-height: 92vh;
    }

    .calendar-header {
        padding: 28px 24px 24px;
    }

    .calendar-content {
        padding: 24px 20px 28px;
    }

    .calendar-months {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .calendar-events {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   SELECTOR DE IDIOMA
   Debajo del reloj flotante
========================================================= */

.language-switch {
    position: fixed;
    top: calc(50% + 108px);
    right: 0;

    width: 150px;
    min-height: 42px;
    padding: 9px 17px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;

    background: rgba(17, 17, 17, 0.82);
    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 0;
    border-radius: 10px 0 0 10px;

    box-shadow:
        -8px 10px 25px rgba(0, 0, 0, 0.14);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    cursor: pointer;
    z-index: 899;

    transition:
        width 0.25s ease,
        padding 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.language-switch:hover {
    width: 166px;
    padding-right: 20px;

    background: rgba(17, 17, 17, 0.94);

    transform: translateX(0) scale(1.02);

    box-shadow:
        -12px 14px 30px rgba(0, 0, 0, 0.20);
}

.language-switch:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.language-flag {
    font-size: 17px;
    line-height: 1;
}

.language-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}


/* =========================================================
   AJUSTE RESPONSIVE DEL IDIOMA
========================================================= */

@media (max-width: 700px) {

    .language-switch {
        top: calc(50% + 94px);
        width: 126px;
        min-height: 40px;
        padding: 8px 13px;
    }

    .language-switch:hover {
        width: 140px;
    }

    .language-label {
        font-size: 8px;
    }

    .language-flag {
        font-size: 15px;
    }
}
/* =========================================================
   AJUSTE FINAL — MENÚ SUPERIOR
========================================================= */

.main-nav .nav-link {
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.96) !important;
}

.main-nav .nav-link span {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-right: 2px;
    opacity: 0.65;
}

.site-header.scrolled .main-nav .nav-link {
    font-size: 17px !important;
}

.site-header.scrolled .main-nav .nav-link span {
    font-size: 15px !important;
}

.main-nav .nav-quote {
    font-size: 16px !important;
    font-weight: 700 !important;
}
/* =========================================================
   MODAL SERVICIOS — CORRECCIÓN RESPONSIVE FINAL
========================================================= */

/* Evita que los textos puedan desbordar su columna */
.modal-info {
    min-width: 0;
}

.modal-info h2 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
}

/* =========================================================
   TABLET / VENTANAS ANGOSTAS
========================================================= */

@media (max-width: 900px) {

    .modal-container {
        width: min(94vw, 720px);
        max-height: 94vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-content {
        display: block;
    }

    .modal-info {
        width: 100%;
        padding: 65px 45px 45px;
    }

    .modal-info h2 {
        font-size: clamp(2.8rem, 9vw, 4.5rem);
        line-height: 0.95;
        letter-spacing: -0.055em;
        margin-bottom: 30px;
    }

    .modal-description {
        max-width: 620px;
        font-size: 1rem;
        line-height: 1.75;
    }

    .modal-list {
        font-size: 1rem;
        line-height: 1.6;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .service-modal {
        padding: 12px;
    }

    .modal-container {
        width: 100%;
        max-height: 96vh;
        border-radius: 0;
    }

    .modal-info {
        padding: 62px 24px 38px;
    }

    .modal-eyebrow {
        font-size: 0.66rem;
        margin-bottom: 18px;
    }

    .modal-info h2 {
        font-size: clamp(2.65rem, 13vw, 3.8rem);
        line-height: 0.92;
        letter-spacing: -0.055em;
        margin-bottom: 30px;
    }

    .modal-description {
        font-size: 0.98rem;
        line-height: 1.75;
        margin-bottom: 28px;
    }

    .modal-list {
        padding-left: 20px;
        margin-bottom: 34px;
        font-size: 1rem;
    }

    .modal-list li {
        margin-bottom: 10px;
    }

    .modal-button {
        max-width: 100%;
    }

    .modal-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 220px);
    }

    .modal-gallery-image:first-child {
        grid-column: auto;
        grid-row: auto;
    }
}
/* =========================================================
   AVIÓN DE PAPEL FLOTANTE
========================================================= */

.paper-plane {
    position: fixed;

    left: 0;
    top: 0;

    width: 34px;
    height: 34px;

    color: rgba(255, 255, 255, 0.82);

    z-index: 850;

    pointer-events: none;

    opacity: 0;

    visibility: hidden;

    filter:
        drop-shadow(
            0 3px 5px
            rgba(0, 0, 0, 0.18)
        );

    will-change:
        transform,
        opacity;
}

.paper-plane svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* Cuando empieza un vuelo */

.paper-plane.flying {
    visibility: visible;

    animation:
        paperPlaneFlight
        8s
        cubic-bezier(
            0.42,
            0,
            0.58,
            1
        )
        forwards;
}


/* =========================================================
   TRAYECTORIA
========================================================= */

@keyframes paperPlaneFlight {

    0% {
        opacity: 0;

        transform:
            translate(
                -70px,
                75vh
            )
            rotate(12deg);
    }

    8% {
        opacity: 0.8;
    }

    28% {
        transform:
            translate(
                25vw,
                55vh
            )
            rotate(-7deg);
    }

    50% {
        transform:
            translate(
                50vw,
                63vh
            )
            rotate(8deg);
    }

    72% {
        transform:
            translate(
                74vw,
                35vh
            )
            rotate(-12deg);
    }

    92% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;

        transform:
            translate(
                calc(100vw + 80px),
                22vh
            )
            rotate(4deg);
    }
}


/* En celular será ligeramente más pequeño */

@media (max-width: 600px) {

    .paper-plane {
        width: 27px;
        height: 27px;
    }

}


/* Respeta usuarios que desactivan animaciones */

@media (prefers-reduced-motion: reduce) {

    .paper-plane {
        display: none;
    }

}
/* =========================================================
   MODAL SERVICIOS — CORRECCIÓN FINAL
========================================================= */

/* Modal un poco más ancho */
.modal-container {
    width: min(1280px, calc(100vw - 70px));
    max-height: 92vh;
}

/* Más espacio para la información */
.modal-content {
    display: grid;
    grid-template-columns: 40% 60%;
}

/* Evita que el texto invada las fotografías */
.modal-info {
    min-width: 0;
    overflow: hidden;
    padding: 70px 55px;
}

/* Título adaptable al espacio disponible */
.modal-info h2 {
    max-width: 100%;
    margin-bottom: 28px;

    font-size: clamp(2.8rem, 4vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: -0.055em;

    overflow-wrap: normal;
    word-break: normal;
}

/* Descripción */
.modal-description {
    max-width: 470px;
    margin-bottom: 25px;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* Lista */
.modal-list {
    margin: 0 0 32px;
    padding-left: 20px;
    color: #444;
}

.modal-list li {
    margin-bottom: 8px;
    line-height: 1.45;
}

/* Galería */
.modal-gallery {
    min-width: 0;

    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    grid-template-rows: 1fr 1fr;

    min-height: 650px;
}

/* Imagen principal */
.modal-gallery-image:first-child {
    grid-row: 1 / 3;
}

/* Todas las imágenes */
.modal-gallery-image {
    min-width: 0;
    overflow: hidden;
}

.modal-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   MODAL — TABLET
========================================================= */

@media (max-width: 1100px) {

    .modal-container {
        width: min(1050px, calc(100vw - 40px));
    }

    .modal-content {
        grid-template-columns: 43% 57%;
    }

    .modal-info {
        padding: 60px 38px;
    }

    .modal-info h2 {
        font-size: clamp(2.5rem, 5vw, 3.8rem);
    }
}


/* =========================================================
   MODAL — MÓVIL
========================================================= */

@media (max-width: 800px) {

    .modal-container {
        width: calc(100vw - 24px);
        max-height: 94vh;
        overflow-y: auto;
    }

    .modal-content {
        display: block;
    }

    .modal-info {
        padding: 65px 25px 38px;
        overflow: visible;
    }

    .modal-info h2 {
        font-size: clamp(2.6rem, 12vw, 4rem);
        line-height: 0.94;
    }

    .modal-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 330px 220px;
        min-height: auto;
    }

    .modal-gallery-image:first-child {
        grid-column: 1 / 3;
        grid-row: 1;
    }
}


/* =========================================================
   MODAL — MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 520px) {

    .modal-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 240px);
    }

    .modal-gallery-image:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    .modal-info h2 {
        font-size: clamp(2.5rem, 13vw, 3.5rem);
    }
}
/* =========================================================
   MODAL — TÍTULOS LARGOS
========================================================= */

.modal-info h2.long-title {
    font-size: clamp(2.7rem, 3.5vw, 4rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

/* Conducción & entretenimiento necesita un poco más
   de espacio horizontal */
@media (min-width: 1101px) {

    .modal-info h2.long-title {
        font-size: clamp(2.8rem, 3.35vw, 3.9rem);
    }
}
.modal-info {
    position: relative;
    z-index: 2;
}

.modal-info h2 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
/* =========================================================
   MENÚ HEADER — MAYOR LEGIBILIDAD
========================================================= */

/* Texto principal del menú */
.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Números 01, 02, 03, 04 */
.main-nav .nav-link span {
    color: rgba(255, 255, 255, 0.68) !important;
    opacity: 1 !important;
}

/* Opción activa */
.main-nav .nav-link.active {
    color: #ffffff !important;
}

/* Número de la opción activa */
.main-nav .nav-link.active span {
    color: rgba(255, 255, 255, 0.82) !important;
}

/* Hover */
.main-nav .nav-link:hover {
    color: #ffffff !important;
}

.main-nav .nav-link:hover span {
    color: #ffffff !important;
}

/* Cuando hacemos scroll, mantener buena visibilidad */
.site-header.scrolled .main-nav .nav-link {
    color: rgba(255, 255, 255, 0.94) !important;
}

.site-header.scrolled .main-nav .nav-link span {
    color: rgba(255, 255, 255, 0.72) !important;
}