:root {
    --green-950: #032d25;
    --green-900: #063c31;
    --green-800: #0a4b3d;
    --green-700: #12614f;
    --green-100: #e6f0eb;
    --gold: #cfa63d;
    --gold-light: #e0c06a;
    --cream: #fbf6eb;
    --white: #ffffff;
    --ink: #172a25;
    --muted: #61726c;
    --line: #dce5e1;
    --soft: #f3f7f5;
    --danger: #b03b3b;
    --success: #177a50;
    --shadow: 0 24px 65px rgba(4, 53, 43, .15);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

    body.modal-open {
        overflow: hidden;
    }

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.section-soft {
    background: var(--soft);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -.035em;
}

h1 {
    max-width: 810px;
    margin-bottom: 24px;
    color: var(--white);
    font-size: clamp(2.75rem, 6vw, 5.5rem);
}

    h1 strong {
        color: var(--gold-light);
        font-weight: 800;
    }

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 4.5vw, 3.8rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
}

p {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--green-800);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

    .eyebrow::before {
        width: 30px;
        height: 2px;
        background: var(--gold);
        content: "";
    }

.eyebrow-light {
    color: #edf7f3;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

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

.button-gold {
    color: var(--green-950);
    background: var(--gold);
    box-shadow: 0 15px 34px rgba(207, 166, 61, .28);
}

    .button-gold:hover {
        background: var(--gold-light);
    }

.button-green {
    color: var(--white);
    background: var(--green-800);
}

    .button-green:hover {
        background: var(--green-700);
    }

.button-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .06);
}

    .button-outline-light:hover {
        border-color: var(--white);
        background: rgba(255, 255, 255, .13);
    }

.button-full {
    width: 100%;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(4, 53, 43, .09);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    width: 224px;
    height: 68px;
    overflow: hidden;
    border-radius: 8px;
}

    .brand img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.navigation {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: .93rem;
    font-weight: 750;
}

    .navigation a {
        transition: color .2s ease;
    }

        .navigation a:hover {
            color: var(--gold);
        }

    .navigation .nav-button {
        padding: 12px 19px;
        border-radius: 999px;
        color: var(--white);
        background: var(--green-800);
    }

.menu-button {
    display: none;
    padding: 8px;
    border: 0;
    background: none;
}

    .menu-button span {
        display: block;
        width: 27px;
        height: 2px;
        margin: 5px 0;
        background: var(--green-900);
    }

.hero {
    position: relative;
    overflow: hidden;
    min-height: 740px;
    display: grid;
    align-items: center;
    background: radial-gradient(circle at 82% 15%, rgba(207, 166, 61, .24), transparent 28%), linear-gradient(130deg, #022a23 0%, #074437 54%, #0d5a49 100%);
}

    .hero::after {
        position: absolute;
        inset: 0;
        opacity: .16;
        background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
        background-size: 38px 38px;
        content: "";
        mask-image: linear-gradient(to right, black, transparent 78%);
    }

.hero-overlay {
    position: absolute;
    right: -12%;
    bottom: -42%;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: rgba(207, 166, 61, .09);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
    padding: 82px 0;
}

.hero-content > p {
    max-width: 690px;
    color: #d4e5df;
    font-size: 1.13rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 40px;
}

.hero-features {
    max-width: 740px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

    .hero-features div {
        padding-left: 16px;
        border-left: 3px solid var(--gold);
    }

    .hero-features strong,
    .hero-features span {
        display: block;
    }

    .hero-features strong {
        color: var(--white);
        font-size: 1.05rem;
    }

    .hero-features span {
        color: #bcd2cb;
        font-size: .84rem;
    }

.hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .28);
    transform: rotate(1.5deg);
}

    .hero-card img {
        width: 100%;
        aspect-ratio: 1.24;
        object-fit: cover;
    }

.hero-card-info {
    display: grid;
    gap: 4px;
    padding: 22px 24px;
}

    .hero-card-info span {
        color: var(--gold);
        font-size: .78rem;
        font-weight: 900;
        letter-spacing: .11em;
        text-transform: uppercase;
    }

    .hero-card-info strong {
        font-size: 1.12rem;
    }

.quick-bar {
    border-block: 1px solid var(--line);
    background: var(--white);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

    .quick-grid div {
        padding: 22px 15px;
        text-align: center;
        color: var(--green-900);
        border-right: 1px solid var(--line);
        font-size: .9rem;
        font-weight: 820;
    }

        .quick-grid div:last-child {
            border-right: 0;
        }

    .quick-grid span {
        display: inline-grid;
        width: 24px;
        height: 24px;
        place-items: center;
        margin-right: 6px;
        color: var(--white);
        border-radius: 50%;
        background: var(--green-800);
        font-size: .76rem;
    }

.project-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 76px;
    align-items: center;
}

.project-image {
    position: relative;
}

    .project-image > img {
        width: 100%;
        min-height: 570px;
        object-fit: cover;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
    }

.project-badge {
    position: absolute;
    right: -28px;
    bottom: 32px;
    max-width: 300px;
    padding: 22px 24px;
    color: var(--white);
    border-radius: var(--radius-md);
    background: var(--green-900);
    box-shadow: var(--shadow);
}

    .project-badge strong,
    .project-badge span {
        display: block;
    }

    .project-badge strong {
        color: var(--gold-light);
        font-size: 1.05rem;
    }

    .project-badge span {
        color: #d2e3dd;
        font-size: .88rem;
    }

.project-copy > p {
    font-size: 1.05rem;
}

.feature-list {
    display: grid;
    gap: 19px;
    margin: 32px 0;
}

    .feature-list article {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 16px;
    }

        .feature-list article > span {
            display: grid;
            width: 46px;
            height: 46px;
            place-items: center;
            color: var(--green-900);
            border-radius: 13px;
            background: #efe3bc;
            font-weight: 900;
        }

    .feature-list h3 {
        margin-bottom: 5px;
    }

    .feature-list p {
        margin: 0;
    }

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

    .section-heading .eyebrow {
        justify-content: center;
    }

    .section-heading p {
        max-width: 680px;
        margin-inline: auto;
    }

.section-heading-row {
    max-width: none;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: end;
    text-align: left;
}

    .section-heading-row .eyebrow {
        justify-content: flex-start;
    }

    .section-heading-row p {
        margin-inline: 0;
    }

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.benefit-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: transform .22s ease, box-shadow .22s ease;
}

    .benefit-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--shadow);
    }

    .benefit-card.featured {
        color: var(--white);
        border-color: var(--green-900);
        background: var(--green-900);
    }

        .benefit-card.featured p {
            color: #c9ddd6;
        }

.benefit-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 24px;
    color: var(--green-900);
    border-radius: 15px;
    background: #efe3bc;
    font-weight: 900;
    font-size: 1.25rem;
}

.finance-section {
    color: var(--white);
    background: radial-gradient(circle at 15% 20%, rgba(207, 166, 61, .15), transparent 27%), var(--green-950);
}

.finance-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 74px;
    align-items: center;
}

.finance-copy h2 {
    color: var(--white);
}

.finance-copy > p {
    max-width: 660px;
    color: #c7d9d3;
    font-size: 1.05rem;
}

.steps {
    display: grid;
    gap: 17px;
    margin: 32px 0;
}

    .steps article {
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 16px;
        align-items: start;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, .045);
    }

        .steps article > span {
            display: grid;
            width: 52px;
            height: 52px;
            place-items: center;
            color: var(--green-950);
            border-radius: 13px;
            background: var(--gold);
            font-weight: 900;
        }

    .steps h3 {
        color: var(--white);
        margin-bottom: 4px;
    }

    .steps p {
        margin: 0;
        color: #c5d8d2;
    }

.finance-image img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 75px rgba(0, 0, 0, .35);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.35fr .82fr .82fr;
    gap: 20px;
    align-items: stretch;
}

.gallery-item {
    min-height: 500px;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: var(--radius-md);
    background: #e9efed;
    box-shadow: 0 16px 44px rgba(4, 53, 43, .1);
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.025);
    }

.advisor-section {
    overflow: hidden;
    color: var(--white);
    background: var(--green-900);
}

.advisor-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
}

.advisor-image {
    height: 100%;
    min-height: 620px;
}

    .advisor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
    }

.advisor-copy {
    padding: 72px;
}

    .advisor-copy h2 {
        color: var(--gold-light);
    }

    .advisor-copy p {
        max-width: 600px;
        color: #d5e5e0;
        font-size: 1.08rem;
    }

.advisor-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

    .advisor-phones a {
        padding: 13px 18px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 999px;
        color: var(--white);
        font-weight: 850;
    }

        .advisor-phones a:hover {
            border-color: var(--gold);
            color: var(--gold-light);
        }

.contact-section {
    color: var(--white);
    background: linear-gradient(120deg, rgba(3, 45, 37, .98), rgba(8, 75, 61, .96)), url("../assets/vista-aerea-lotes.jpg") center / cover;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: 126px;
}

    .contact-copy h2 {
        color: var(--white);
    }

    .contact-copy p {
        color: #c8dcd5;
    }

    .contact-copy ul {
        display: grid;
        gap: 12px;
        padding: 0;
        margin: 30px 0 0;
        list-style: none;
    }

    .contact-copy li {
        position: relative;
        padding-left: 28px;
    }

        .contact-copy li::before {
            position: absolute;
            left: 0;
            color: var(--gold-light);
            content: "✓";
            font-weight: 900;
        }

.lead-form {
    padding: 36px;
    color: var(--ink);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 30px 85px rgba(0, 0, 0, .27);
}

.form-title {
    display: grid;
    gap: 4px;
    margin-bottom: 24px;
}

    .form-title span {
        color: var(--gold);
        font-size: .76rem;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .form-title strong {
        font-size: 1.32rem;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lead-form label {
    display: block;
    margin-bottom: 17px;
    font-size: .88rem;
    font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    margin-top: 8px;
    padding: 14px 15px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    outline: none;
    background: #fbfdfc;
}

    .lead-form input:focus,
    .lead-form select:focus,
    .lead-form textarea:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px rgba(207, 166, 61, .15);
    }

.privacy-label {
    display: grid !important;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--muted);
    font-weight: 500 !important;
}

    .privacy-label input {
        width: 18px;
        height: 18px;
        margin-top: 3px;
    }

    .privacy-label a,
    .privacy-label a:visited {
        color: var(--green-800);
        font-weight: 800;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
        cursor: pointer;
    }

        .privacy-label a:hover {
            color: #a87800;
        }

        .privacy-label a:focus-visible {
            outline: 3px solid rgba(207, 166, 61, .35);
            outline-offset: 2px;
            border-radius: 3px;
        }

.form-status {
    min-height: 24px;
    margin: 12px 0 0;
    font-size: .88rem;
}

    .form-status.success {
        color: var(--success);
    }

    .form-status.error {
        color: var(--danger);
    }

.footer {
    padding: 64px 0 22px;
    color: var(--white);
    background: #02251f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 60px;
}

.footer-brand img {
    width: 220px;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}

.footer-brand p {
    max-width: 420px;
    margin-top: 16px;
    color: #aec9c1;
}

.footer h3 {
    color: var(--gold-light);
    font-size: 1rem;
}

.footer a,
.footer span {
    display: block;
    margin: 8px 0;
    color: #d6e5e0;
}

    .footer a:hover {
        color: var(--gold-light);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 46px;
    padding-top: 20px;
    color: #9ebbb2;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .86rem;
}

.floating-whatsapp {
    position: fixed;
    right: 23px;
    bottom: 23px;
    z-index: 900;
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    color: var(--white);
    border-radius: 999px;
    background: #21ad63;
    box-shadow: 0 18px 40px rgba(33, 173, 99, .35);
    font-weight: 900;
}

.whatsapp-symbol {
    font-size: 1.1rem;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 34px;
    background: rgba(0, 22, 18, .91);
}

    .image-modal.open {
        display: grid;
    }

    .image-modal img {
        max-width: min(920px, 92vw);
        max-height: 88vh;
        border-radius: 16px;
        box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
    }

.modal-close {
    position: fixed;
    top: 22px;
    right: 28px;
    width: 48px;
    height: 48px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    font-size: 1.9rem;
}

@media (max-width: 1050px) {
    .navigation {
        gap: 18px;
        font-size: .87rem;
    }

    .hero-grid,
    .project-grid,
    .finance-grid,
    .contact-grid {
        gap: 46px;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-large {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .section {
        padding: 78px 0;
    }

    .menu-button {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 84px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

        .navigation.open {
            display: flex;
        }

        .navigation a {
            padding: 10px 12px;
        }

    .hero {
        min-height: auto;
    }

    .hero-grid,
    .project-grid,
    .finance-grid,
    .advisor-grid,
    .contact-grid,
    .section-heading-row {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 72px 0;
    }

    .hero-content {
        text-align: center;
    }

        .hero-content .eyebrow {
            justify-content: center;
        }

        .hero-content > p {
            margin-inline: auto;
        }

    .hero-actions {
        justify-content: center;
    }

    .hero-card {
        max-width: 680px;
        margin-inline: auto;
        transform: none;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .quick-grid div:nth-child(2) {
            border-right: 0;
        }

        .quick-grid div:nth-child(-n+2) {
            border-bottom: 1px solid var(--line);
        }

    .project-image {
        max-width: 690px;
        margin-inline: auto;
    }

    .project-badge {
        right: 20px;
    }

    .section-heading-row {
        gap: 14px;
    }

        .section-heading-row p {
            max-width: 700px;
        }

    .finance-image {
        max-width: 650px;
        margin-inline: auto;
    }

    .advisor-image {
        min-height: 560px;
    }

    .advisor-copy {
        padding: 58px 20px 70px;
    }

    .contact-copy {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 76px;
    }

    .brand {
        width: 174px;
        height: 56px;
    }

    .navigation {
        top: 76px;
    }

    h1 {
        font-size: clamp(2.45rem, 12vw, 3.8rem);
    }

    .hero-grid {
        padding: 58px 0;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

        .hero-features div {
            text-align: left;
        }

    .quick-grid {
        grid-template-columns: 1fr;
    }

        .quick-grid div {
            border-right: 0;
            border-bottom: 1px solid var(--line);
        }

    .project-image > img {
        min-height: 430px;
    }

    .project-badge {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .benefit-grid,
    .gallery-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-large {
        grid-column: auto;
    }

    .gallery-item {
        min-height: 470px;
    }

    .advisor-image {
        min-height: 480px;
    }

    .lead-form {
        padding: 25px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .floating-whatsapp {
        width: 57px;
        padding: 0;
        justify-content: center;
    }

        .floating-whatsapp > span:last-child {
            display: none;
        }
}
/* ================================================================
   Ajustes V2: logo, redes, ubicación, videos y panel administrativo
   ================================================================ */

.brand.brand-complete {
    width: auto;
    height: auto;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
}

.brand-emblem {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px;
    object-fit: contain !important;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(4, 53, 43, .12);
}

.brand-copy {
    display: grid;
    line-height: 1;
}

    .brand-copy strong {
        color: var(--green-900);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.32rem;
        font-weight: 700;
        letter-spacing: .015em;
    }

        .brand-copy strong span {
            color: var(--green-900);
        }

    .brand-copy strong {
        color: var(--gold);
    }

    .brand-copy small {
        margin-top: 6px;
        color: var(--green-800);
        font-size: .62rem;
        font-weight: 850;
        letter-spacing: .18em;
        text-transform: uppercase;
    }

.header-socials {
    display: inline-flex;
    gap: 7px;
    margin-left: -8px;
}

    .header-socials a {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        padding: 0 !important;
        color: var(--green-900);
        border: 1px solid var(--line);
        border-radius: 50%;
        background: var(--white);
        font-weight: 900;
    }

        .header-socials a:hover {
            color: var(--white);
            border-color: var(--green-800);
            background: var(--green-800);
        }

.location-section {
    background: var(--soft);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 28px;
    align-items: stretch;
}

.map-shell {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(230, 240, 235, .96), rgba(251, 246, 235, .94));
    box-shadow: var(--shadow);
}

.map-pattern {
    position: absolute;
    inset: 0;
    opacity: .58;
    background-image: linear-gradient(28deg, transparent 46%, rgba(10, 75, 61, .12) 47%, rgba(10, 75, 61, .12) 49%, transparent 50%), linear-gradient(-31deg, transparent 45%, rgba(207, 166, 61, .14) 46%, rgba(207, 166, 61, .14) 49%, transparent 50%);
    background-size: 120px 100px, 150px 120px;
}

.map-pin {
    position: absolute;
    top: 24%;
    left: 50%;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    color: var(--white);
    border: 8px solid rgba(255, 255, 255, .72);
    border-radius: 50% 50% 50% 0;
    background: var(--green-800);
    box-shadow: 0 20px 40px rgba(4, 53, 43, .22);
    font-size: 2rem;
    transform: translate(-50%, -50%) rotate(-45deg);
}

    .map-pin::first-letter {
        transform: rotate(45deg);
    }

.map-placeholder {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 50px rgba(4, 53, 43, .13);
    backdrop-filter: blur(12px);
}

    .map-placeholder span {
        display: block;
        color: var(--gold);
        font-size: .78rem;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .map-placeholder strong {
        display: block;
        margin: 6px 0;
        color: var(--green-900);
        font-size: 1.45rem;
    }

    .map-placeholder p {
        max-width: 600px;
    }

.map-shell iframe {
    width: 100%;
    height: 540px;
    border: 0;
}

.location-info {
    padding: 34px;
    color: var(--white);
    border-radius: var(--radius-lg);
    background: var(--green-900);
    box-shadow: var(--shadow);
}

    .location-info h3 {
        color: var(--gold-light);
        font-size: 2rem;
    }

    .location-info > p {
        color: #d1e1dc;
    }

.location-points {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

    .location-points div {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 12px;
        align-items: center;
    }

    .location-points span {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        color: var(--green-950);
        border-radius: 12px;
        background: var(--gold);
        font-weight: 900;
    }

    .location-points p {
        margin: 0;
        color: #d9e6e2;
    }

.video-section {
    color: var(--white);
    background: radial-gradient(circle at 80% 18%, rgba(207, 166, 61, .18), transparent 27%), var(--green-950);
}

    .video-section .section-heading h2 {
        color: var(--white);
    }

    .video-section .section-heading p {
        color: #c9dcd6;
    }

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.video-card {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    padding: 0;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    background: #0a4b3d;
    text-align: left;
    box-shadow: 0 26px 65px rgba(0, 0, 0, .28);
}

    .video-card img {
        width: 100%;
        height: 100%;
        min-height: 410px;
        object-fit: cover;
        transition: transform .35s ease;
    }

    .video-card:hover img {
        transform: scale(1.035);
    }

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 37, 31, .92), rgba(2, 37, 31, .08) 70%);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    padding-left: 5px;
    color: var(--green-950);
    border: 7px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
    transform: translate(-50%, -50%);
}

.video-caption {
    position: absolute;
    right: 26px;
    bottom: 25px;
    left: 26px;
}

    .video-caption small,
    .video-caption strong {
        display: block;
    }

    .video-caption small {
        color: var(--gold-light);
        font-weight: 900;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .video-caption strong {
        margin-top: 5px;
        font-size: 1.25rem;
    }

.video-note {
    margin: 22px 0 0;
    color: #bdd2cb;
    text-align: center;
}

.footer-logo-lockup {
    display: flex;
    align-items: center;
    gap: 13px;
}

    .footer-logo-lockup img {
        width: 70px !important;
        height: 70px !important;
        object-fit: contain !important;
        border-radius: 50% !important;
    }

    .footer-logo-lockup strong,
    .footer-logo-lockup span {
        display: block;
    }

    .footer-logo-lockup strong {
        color: var(--gold-light);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.25rem;
    }

    .footer-logo-lockup span {
        color: #d5e4df;
        font-size: .68rem;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

    .footer-socials a {
        display: inline-flex;
        margin: 0;
        padding: 8px 13px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 999px;
    }

.footer-admin-link {
    display: block;
    margin: 8px 0;
    padding: 0;
    color: #d6e5e0;
    border: 0;
    background: transparent;
    text-align: left;
}

    .footer-admin-link:hover {
        color: var(--gold-light);
    }
/* Panel administrativo */
.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(0, 24, 20, .93);
}

    .admin-modal.open {
        display: grid;
    }

.admin-window {
    position: relative;
    width: min(1180px, 96vw);
    max-height: 92vh;
    overflow: auto;
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 38px 110px rgba(0, 0, 0, .45);
}

.admin-close {
    position: sticky;
    top: 15px;
    z-index: 4;
    float: right;
    width: 44px;
    height: 44px;
    margin: 15px 15px 0 0;
    color: var(--white);
    border: 0;
    border-radius: 50%;
    background: var(--green-900);
    font-size: 1.7rem;
}

.admin-login {
    width: min(520px, 100%);
    margin-inline: auto;
    padding: 64px 38px;
    text-align: center;
}

.admin-login-logo img {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    border-radius: 50%;
}

.admin-kicker {
    color: var(--gold);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.admin-login h2,
.admin-dashboard h2 {
    margin: 7px 0 12px;
    color: var(--green-900);
}

.admin-login form {
    display: grid;
    gap: 14px;
    margin-top: 26px;
    text-align: left;
}

.admin-login label {
    color: var(--green-900);
    font-size: .86rem;
    font-weight: 850;
}

.admin-login input {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.admin-login-status {
    min-height: 22px;
    margin: 0;
    color: var(--danger);
    text-align: center;
}

.demo-credentials {
    display: block;
    margin-top: 18px;
    color: var(--muted);
}

.admin-dashboard {
    padding: 50px 34px 38px;
}

.admin-dashboard-header {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: start;
}

.admin-logout,
.admin-toolbar button {
    padding: 10px 13px;
    color: var(--green-900);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    font-weight: 800;
}

    .admin-logout:hover,
    .admin-toolbar button:hover {
        border-color: var(--gold);
    }

.demo-warning {
    margin: 22px 0;
    padding: 15px 17px;
    color: #6d571c;
    border: 1px solid #ead69b;
    border-radius: 12px;
    background: #fff8df;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

    .admin-stats article {
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 15px;
        background: var(--soft);
    }

    .admin-stats span,
    .admin-stats strong {
        display: block;
    }

    .admin-stats span {
        color: var(--muted);
        font-size: .82rem;
    }

    .admin-stats strong {
        margin-top: 7px;
        color: var(--green-900);
        font-size: 2rem;
    }

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0 15px;
}

    .admin-toolbar input {
        min-width: 270px;
        flex: 1;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 10px;
    }

    .admin-toolbar > div {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .admin-toolbar .danger-link {
        color: var(--danger);
    }

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.admin-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
}

    .admin-table th,
    .admin-table td {
        padding: 13px 14px;
        border-bottom: 1px solid var(--line);
        text-align: left;
        font-size: .84rem;
    }

    .admin-table th {
        color: var(--green-900);
        background: var(--soft);
    }

    .admin-table select {
        padding: 7px 9px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
    }

.admin-empty {
    padding: 34px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1080px) {
    .brand-copy {
        display: none;
    }

    .navigation {
        gap: 14px;
    }

    .header-socials {
        display: none;
    }
}

@media (max-width: 860px) {
    .brand-copy {
        display: grid;
    }

    .location-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .navigation .header-socials {
        display: flex;
        margin: 8px 0 0;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-toolbar {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .brand-copy strong {
        font-size: 1rem;
    }

    .brand-copy small {
        display: none;
    }

    .brand-emblem {
        width: 50px !important;
        height: 50px !important;
        flex-basis: 50px;
    }

    .map-shell {
        min-height: 500px;
    }

    .map-placeholder {
        right: 16px;
        bottom: 16px;
        left: 16px;
        padding: 21px;
    }

    .location-info {
        padding: 25px 20px;
    }

    .video-card,
    .video-card img {
        min-height: 340px;
    }

    .admin-modal {
        padding: 8px;
    }

    .admin-dashboard {
        padding: 40px 14px 22px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-login {
        padding: 58px 22px 36px;
    }

    .admin-dashboard-header {
        flex-direction: column;
    }
}
/* ================================================================
   V3 — Multimedia real, mapa activo y efectos modernos
   ================================================================ */

.media-section {
    overflow: hidden;
    background: radial-gradient(circle at 10% 10%, rgba(207, 166, 61, .12), transparent 25%), var(--white);
}

.modern-gallery {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-auto-rows: 285px;
    gap: 18px;
}

.media-tile {
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --scale: 1;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 0;
    color: var(--white);
    border: 0;
    border-radius: 24px;
    background: var(--green-900);
    box-shadow: 0 20px 54px rgba(4, 53, 43, .14);
    transform: perspective(1000px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) scale(var(--scale));
    transform-style: preserve-3d;
    transition: transform .22s ease, box-shadow .3s ease;
}

    .media-tile:hover {
        --scale: 1.018;
        box-shadow: 0 30px 72px rgba(4, 53, 43, .24);
    }

    .media-tile::after {
        position: absolute;
        inset: -80% -40%;
        z-index: 2;
        background: linear-gradient( 110deg, transparent 38%, rgba(255, 255, 255, .27) 49%, transparent 60% );
        content: "";
        transform: translateX(-70%) rotate(10deg);
        transition: transform .8s ease;
    }

    .media-tile:hover::after {
        transform: translateX(70%) rotate(10deg);
    }

.media-tile-tall {
    grid-row: span 2;
}

.media-tile-wide {
    grid-column: span 2;
}

.media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .75, .2, 1);
}

.media-tile:hover img {
    transform: scale(1.08);
}

.media-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(2, 37, 31, .92), rgba(2, 37, 31, .08) 70%);
}

.media-label {
    position: absolute;
    right: 24px;
    bottom: 23px;
    left: 24px;
    z-index: 3;
    text-align: left;
    transform: translateZ(34px);
}

    .media-label small,
    .media-label strong {
        display: block;
    }

    .media-label small {
        color: var(--gold-light);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .media-label strong {
        max-width: 430px;
        margin-top: 5px;
        font-size: 1.16rem;
    }

.media-open {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--green-950);
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, background .25s ease;
}

.media-tile:hover .media-open {
    color: var(--white);
    background: var(--gold);
    transform: rotate(45deg);
}

.amenities-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

    .amenities-strip div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 17px;
        color: var(--green-900);
        border: 1px solid var(--line);
        border-radius: 15px;
        background: var(--soft);
    }

    .amenities-strip span {
        color: var(--gold);
        font-size: 1.25rem;
    }

.map-live {
    min-height: 580px;
}

    .map-live iframe {
        width: 100%;
        height: 580px;
        border: 0;
        filter: saturate(.92) contrast(1.03);
    }

.map-floating-card {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    padding: 21px 23px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 17px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 18px 48px rgba(4, 53, 43, .18);
    backdrop-filter: blur(15px);
}

    .map-floating-card span,
    .map-floating-card strong {
        display: block;
    }

    .map-floating-card span {
        color: var(--gold);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .map-floating-card strong {
        margin-top: 3px;
        color: var(--green-900);
        font-size: 1.35rem;
    }

    .map-floating-card p {
        margin: 3px 0 0;
        font-size: .82rem;
    }

.location-actions {
    display: grid;
    gap: 10px;
}

.cinema-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: stretch;
}

.cinema-card {
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --scale: 1;
    position: relative;
    min-height: 600px;
    overflow: hidden;
    padding: 0;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 30px;
    background: #031f1a;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .36);
    transform: perspective(1100px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) scale(var(--scale));
    transition: transform .22s ease, box-shadow .3s ease;
}

    .cinema-card:hover {
        --scale: 1.012;
        box-shadow: 0 40px 105px rgba(0, 0, 0, .48);
    }

    .cinema-card img {
        width: 100%;
        height: 100%;
        min-height: 600px;
        object-fit: cover;
        object-position: center;
        transition: transform .8s cubic-bezier(.2, .7, .2, 1);
    }

    .cinema-card:hover img {
        transform: scale(1.055);
    }

.cinema-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 28, 23, .94), rgba(2, 28, 23, .04) 68%);
}

.cinema-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(207, 166, 61, .17);
    filter: blur(30px);
    transform: translate(-50%, -50%);
    transition: width .35s ease, height .35s ease, opacity .35s ease;
}

.cinema-card:hover .cinema-glow {
    width: 330px;
    height: 330px;
    opacity: .8;
}

.play-button-modern {
    width: 86px;
    height: 86px;
    border-width: 8px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cinema-card:hover .play-button-modern {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 22px 60px rgba(207, 166, 61, .42);
}

.video-caption em {
    display: block;
    margin-top: 8px;
    color: #d2e3dd;
    font-size: .82rem;
    font-style: normal;
}

.video-story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
    backdrop-filter: blur(10px);
}

    .video-story h3 {
        color: var(--gold-light);
        font-size: clamp(2rem, 4vw, 3.15rem);
    }

    .video-story > p {
        color: #c8dad4;
    }

.video-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 27px 0;
}

    .video-facts div {
        padding: 15px 10px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 13px;
        background: rgba(0, 0, 0, .1);
    }

    .video-facts strong,
    .video-facts span {
        display: block;
    }

    .video-facts strong {
        color: var(--gold-light);
    }

    .video-facts span {
        color: #bdd2cb;
        font-size: .72rem;
    }
/* Animación de aparición al hacer scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .75, .2, 1);
}

    .reveal.reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
/* Lightbox moderno */
.modern-lightbox {
    opacity: 0;
    display: grid;
    pointer-events: none;
    transition: opacity .28s ease;
}

    .modern-lightbox.open {
        opacity: 1;
        pointer-events: auto;
    }

.lightbox-backdrop,
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(18, 97, 79, .18), transparent 42%), rgba(0, 18, 15, .94);
    backdrop-filter: blur(18px);
}

.lightbox-figure {
    position: relative;
    z-index: 2;
    max-width: min(1080px, 82vw);
    max-height: 86vh;
    margin: 0;
    transform: scale(.9) translateY(16px);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.modern-lightbox.open .lightbox-figure {
    transform: scale(1) translateY(0);
}

.lightbox-figure img {
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    margin-inline: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .52);
}

.lightbox-figure figcaption {
    margin-top: 14px;
    color: var(--white);
    text-align: center;
    font-weight: 750;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 5;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    font-size: 2.1rem;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}

    .lightbox-nav:hover {
        color: var(--green-950);
        background: var(--gold);
        transform: translateY(-50%) scale(1.06);
    }

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: fixed;
    bottom: 22px;
    z-index: 4;
    color: #ccddd7;
    font-size: .8rem;
}

.modern-lightbox .modal-close {
    z-index: 6;
}
/* Modal de video */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: grid;
    place-items: center;
    padding: 26px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

    .video-modal.open {
        opacity: 1;
        pointer-events: auto;
    }

.video-modal-content {
    position: relative;
    z-index: 2;
    width: min(1020px, 92vw);
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 26px;
    background: #001a16;
    box-shadow: 0 38px 110px rgba(0, 0, 0, .58);
    transform: scale(.9) translateY(20px);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.video-modal.open .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal video {
    display: block;
    width: 100%;
    max-height: 76vh;
    background: #000;
}

.video-modal-info {
    display: grid;
    gap: 2px;
    padding: 17px 20px;
}

    .video-modal-info span {
        color: var(--gold);
        font-size: .7rem;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .video-modal-info strong {
        color: var(--white);
    }

.video-modal-close {
    position: fixed;
    top: 22px;
    right: 27px;
    z-index: 6;
    width: 50px;
    height: 50px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    font-size: 1.9rem;
    backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
    .modern-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .media-tile-tall {
        grid-row: span 1;
    }

    .media-tile-wide {
        grid-column: span 2;
    }

    .cinema-layout {
        grid-template-columns: 1fr;
    }

    .cinema-card,
    .cinema-card img {
        min-height: 560px;
    }
}

@media (max-width: 700px) {
    .modern-gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 420px;
    }

    .media-tile-wide {
        grid-column: auto;
    }

    .amenities-strip {
        grid-template-columns: 1fr 1fr;
    }

    .map-live,
    .map-live iframe {
        min-height: 500px;
        height: 500px;
    }

    .cinema-card,
    .cinema-card img {
        min-height: 520px;
    }

    .video-story {
        padding: 30px 22px;
    }

    .video-facts {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        top: auto;
        bottom: 22px;
        width: 48px;
        height: 48px;
        transform: none;
    }

        .lightbox-nav:hover {
            transform: scale(1.04);
        }

    .lightbox-prev {
        left: calc(50% - 62px);
    }

    .lightbox-next {
        right: calc(50% - 62px);
    }

    .lightbox-counter {
        bottom: 35px;
    }

    .lightbox-figure {
        max-width: 94vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .media-tile,
    .cinema-card,
    .media-tile img,
    .cinema-card img {
        transition: none;
    }
}
/* ================================================================
   V4 — Animación completa por módulos al desplazarse
   ================================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5000;
    height: 4px;
    pointer-events: none;
    background: rgba(255, 255, 255, .08);
}

    .scroll-progress span {
        display: block;
        width: 0%;
        height: 100%;
        border-radius: 0 999px 999px 0;
        background: linear-gradient(90deg, var(--gold), var(--gold-light), #f7e5a8);
        box-shadow: 0 0 18px rgba(207, 166, 61, .65);
        transition: width .08s linear;
    }

.navigation a[data-nav-section] {
    position: relative;
}

    .navigation a[data-nav-section]::after {
        position: absolute;
        right: 12px;
        bottom: 3px;
        left: 12px;
        height: 2px;
        border-radius: 999px;
        background: var(--gold);
        content: "";
        opacity: 0;
        transform: scaleX(0);
        transform-origin: center;
        transition: opacity .25s ease, transform .25s ease;
    }

    .navigation a[data-nav-section].nav-active {
        color: var(--gold);
    }

        .navigation a[data-nav-section].nav-active::after {
            opacity: 1;
            transform: scaleX(1);
        }
/* Estado inicial de cada módulo */
main > section.module-entrance {
    --module-x: 0px;
    --module-y: 70px;
    --module-scale: .985;
    position: relative;
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(var(--module-x), var(--module-y), 0) scale(var(--module-scale));
    transition: opacity .9s ease, filter .9s ease, transform 1s cubic-bezier(.16, .82, .23, 1);
    will-change: opacity, filter, transform;
}

    main > section.module-entrance.module-left {
        --module-x: -64px;
        --module-y: 18px;
    }

    main > section.module-entrance.module-right {
        --module-x: 64px;
        --module-y: 18px;
    }

    main > section.module-entrance.module-zoom {
        --module-x: 0px;
        --module-y: 20px;
        --module-scale: .94;
    }

    main > section.module-entrance.module-rise {
        --module-x: 0px;
        --module-y: 82px;
    }

    main > section.module-entrance.module-visible {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) scale(1);
    }
    /* Destello dorado sutil que atraviesa el módulo al entrar */
    main > section.module-entrance::before {
        position: absolute;
        top: 0;
        left: -30%;
        z-index: 8;
        width: 22%;
        height: 2px;
        opacity: 0;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        content: "";
        pointer-events: none;
    }

    main > section.module-entrance.module-visible::before {
        animation: moduleGoldSweep 1.25s .25s ease both;
    }

@keyframes moduleGoldSweep {
    0% {
        left: -30%;
        opacity: 0;
    }

    20% {
        opacity: .95;
    }

    100% {
        left: 108%;
        opacity: 0;
    }
}
/* Aparición escalonada del contenido interior */
.module-stagger-item {
    opacity: 0;
    transform: translateY(28px) scale(.985);
    transition: opacity .62s ease, transform .72s cubic-bezier(.18, .78, .23, 1);
    transition-delay: var(--stagger-delay, 0ms);
}

.module-visible .module-stagger-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* Pequeña elevación de imágenes y tarjetas al entrar */
.module-visible .project-image,
.module-visible .finance-image,
.module-visible .hero-card,
.module-visible .map-shell,
.module-visible .cinema-card,
.module-visible .advisor-image {
    animation: moduleMediaFloat 1.1s .15s cubic-bezier(.16, .82, .23, 1) both;
}

@keyframes moduleMediaFloat {
    from {
        opacity: .25;
        transform: translateY(35px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Fondo con movimiento muy leve en secciones oscuras */
.finance-section.module-visible,
.video-section.module-visible,
.contact-section.module-visible {
    animation: darkSectionBreath 1.4s ease both;
}

@keyframes darkSectionBreath {
    from {
        background-position: 50% 12%;
    }

    to {
        background-position: 50% 50%;
    }
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 91px;
    z-index: 880;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    opacity: 0;
    background: rgba(3, 45, 37, .88);
    box-shadow: 0 14px 34px rgba(3, 45, 37, .26);
    backdrop-filter: blur(12px);
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

    .back-to-top.visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .back-to-top:hover {
        color: var(--green-950);
        background: var(--gold);
        transform: translateY(-3px);
    }
/* El hero debe mostrarse inmediatamente */
.hero.module-entrance {
    opacity: 1;
    filter: none;
    transform: none;
}

@media (max-width: 860px) {
    main > section.module-entrance,
    main > section.module-entrance.module-left,
    main > section.module-entrance.module-right,
    main > section.module-entrance.module-zoom,
    main > section.module-entrance.module-rise {
        --module-x: 0px;
        --module-y: 46px;
        --module-scale: .985;
    }

    .navigation a[data-nav-section]::after {
        right: auto;
        bottom: 5px;
        left: 12px;
        width: 42px;
    }
}

@media (max-width: 620px) {
    .back-to-top {
        right: 27px;
        bottom: 88px;
        width: 44px;
        height: 44px;
    }

    main > section.module-entrance {
        filter: blur(5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    main > section.module-entrance,
    .module-stagger-item {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }

        main > section.module-entrance::before,
        .module-visible .project-image,
        .module-visible .finance-image,
        .module-visible .hero-card,
        .module-visible .map-shell,
        .module-visible .cinema-card,
        .module-visible .advisor-image {
            animation: none;
        }

    .scroll-progress span {
        transition: none;
    }
}
