/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; height: auto; }

/* ============ VARIABLES ============ */
:root {
    --ink: #1c1a17;
    --ink-soft: #4a4640;
    --ink-mute: #8a847c;
    --line: #e6e1d8;
    --paper: #faf7f2;
    --cream: #f2ede4;
    --accent: #8a6a48;
    --white: #ffffff;

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --container: 1280px;
    --pad: clamp(20px, 4vw, 60px);
}

/* ============ BASE ============ */
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
    width: 100%;
}

.section { padding: clamp(60px, 9vw, 140px) 0; }

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    text-decoration: none;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.logo-main {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 2px;
}

.nav-cta {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: 10px 18px;
    border: 1px solid var(--ink);
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--ink);
    color: var(--paper);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 130px;
    overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
    width: 100%;
    color: var(--white);
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
}

.eyebrow.light { color: rgba(255,255,255,0.75); }

.hero-title {
    font-family: var(--serif);
    font-size: clamp(3rem, 11vw, 9rem);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title em { font-style: italic; font-weight: 300; }

.hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 300;
    max-width: 460px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}
.btn-primary:hover { background: transparent; color: var(--white); }

.btn-ghost {
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-light {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
    margin-top: 36px;
}
.btn-light:hover { background: transparent; color: var(--white); }

.btn-dark {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
    margin-top: 36px;
}
.btn-dark:hover { background: transparent; color: var(--ink); }

/* Hero meta */
.hero-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.15);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.hero-meta > div {
    padding: 20px var(--pad);
    display: flex;
    flex-direction: column;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.15);
    min-width: 0;
}

.hero-meta > div:last-child { border-right: none; }

.hero-meta span {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
}

.hero-meta strong {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============ GRID EDITORIAL ============ */
.grid-editorial {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 60px;
    align-items: start;
}

.editorial-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 110px;
}

.num {
    font-family: var(--serif);
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
}

/* ============ INTRO ============ */
.intro { border-bottom: 1px solid var(--line); }

.display {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4.5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: var(--ink);
    overflow-wrap: break-word;
}

.display.light { color: var(--white); }

.lead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 20px;
    max-width: 680px;
}

.body {
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 680px;
}

/* ============ GALERÍA ============ */
.gallery-section { background: var(--cream); }

.section-head { margin-bottom: 48px; }

.section-head.center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-head .num { margin-bottom: 14px; }
.section-head .display { margin-bottom: 14px; }

.section-sub {
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 580px;
}

.section-head.center .section-sub { margin: 0 auto; }

/* Feature */
.feature { margin-bottom: 32px; overflow: hidden; }

.feature img {
    width: 100%;
    height: clamp(280px, 55vh, 680px);
    object-fit: cover;
    transition: transform 1.2s ease;
}

.feature:hover img { transform: scale(1.02); }

figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0 0;
}

.fig-title {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
}

.fig-desc {
    font-size: 0.85rem;
    color: var(--ink-mute);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

/* Mosaico */
.mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.mosaic figure { overflow: hidden; min-width: 0; }

.mosaic figure:nth-child(1) { grid-column: span 4; }
.mosaic figure:nth-child(2) { grid-column: span 2; }
.mosaic figure:nth-child(3) { grid-column: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic figure:nth-child(5) { grid-column: span 2; }
.mosaic figure:nth-child(6) { grid-column: span 6; }

.mosaic img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 1s ease;
}

.mosaic figure:nth-child(6) img { height: 420px; }

.mosaic figure:hover img { transform: scale(1.04); }

/* ============ SPECS ============ */
.specs-section { border-top: 1px solid var(--line); }

.spec-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px;
}

.spec-highlight > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 24px;
    border-right: 1px solid var(--line);
}

.spec-highlight > div:last-child { border-right: none; padding-right: 0; }

.spec-highlight span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.spec-highlight strong {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
}

.spec-cat {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 32px 0 4px;
}

.spec-table { border-top: 1px solid var(--line); }

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.spec-row span:first-child {
    color: var(--ink-mute);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.spec-row span:last-child {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--ink);
    text-align: right;
}

.note {
    margin-top: 22px;
    font-size: 0.85rem;
    color: var(--ink-mute);
    font-style: italic;
}

/* ============ BIENESTAR ============ */
.wellness { background: var(--cream); }

.wellness-grid {
    max-width: var(--container);
    margin: 40px auto 0;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.wellness-item { overflow: hidden; min-width: 0; }

.wellness-item img {
    width: 100%;
    height: clamp(280px, 50vh, 580px);
    object-fit: cover;
    transition: transform 1.2s ease;
}

.wellness-item:hover img { transform: scale(1.03); }

/* ============ UBICACIÓN ============ */
.location { border-top: 1px solid var(--line); }

.location-list {
    list-style: none;
    margin: 20px 0 48px;
    border-top: 1px solid var(--line);
}

.location-list li {
    display: flex;
    gap: 20px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    color: var(--ink-soft);
}

.location-list li span {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-size: 0.95rem;
    min-width: 28px;
    flex-shrink: 0;
}

.map-frame {
    border: 1px solid var(--line);
    padding: 12px;
    background: var(--white);
    max-width: 640px;
}

.map-frame img { width: 100%; height: auto; }

/* ============ CTA FINAL ============ */
.cta-final {
    position: relative;
    padding: clamp(90px, 16vw, 200px) 0;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}

.cta-media { position: absolute; inset: 0; }

.cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-final .display {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--paper);
    padding: 60px 0 0;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--ink-mute);
    letter-spacing: 0.05em;
}

.footer-partner {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 16px;
    font-weight: 600;
}

.footer-partner span { opacity: 0.5; margin: 0 4px; }

.footer-legal p {
    font-size: 0.85rem;
    color: var(--ink-mute);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-legal strong { color: var(--ink-soft); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 14px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.wa-label { display: inline; }

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

/* Tablet landscape / small desktop */
@media (max-width: 1024px) {
    .grid-editorial {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .editorial-label {
        position: static;
        flex-direction: row;
        align-items: baseline;
        gap: 14px;
    }

    .num { font-size: 1.5rem; }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .mosaic figure:nth-child(n) { grid-column: span 1; }
    .mosaic figure:first-child { grid-column: span 2; }
    .mosaic figure:nth-child(6) { grid-column: span 2; }

    .mosaic img { height: 260px; }
    .mosaic figure:nth-child(6) img { height: 280px; }

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

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

/* Mobile grande */
@media (max-width: 640px) {
    .nav-inner { padding: 12px var(--pad); }
    .logo-main { font-size: 1rem; }
    .logo-sub { font-size: 0.55rem; letter-spacing: 0.18em; }
    .nav-cta { font-size: 0.65rem; padding: 8px 12px; letter-spacing: 0.1em; }

    .hero {
        padding: 100px 0 0;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
    }

    .hero-sub { font-size: 0.95rem; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    /* Meta bar debajo del hero en móvil */
    .hero-meta {
        position: relative;
        margin-top: 40px;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .hero-meta > div {
        padding: 14px 10px;
        text-align: center;
        align-items: center;
        border-right: 1px solid rgba(255,255,255,0.15);
    }

    .hero-meta span { font-size: 0.55rem; letter-spacing: 0.15em; }
    .hero-meta strong { font-size: 1rem; }

    .spec-highlight {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .spec-highlight > div {
        border-right: none;
        padding-right: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--line);
    }

    .spec-highlight > div:last-child { border-bottom: none; padding-bottom: 0; }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 0;
    }

    .spec-row span:last-child { text-align: left; }

    .location-list li {
        gap: 14px;
        padding: 14px 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 20px 0;
    }

    .feature img { height: 240px; }

    .mosaic {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mosaic figure:nth-child(n) { grid-column: span 1; }
    .mosaic img { height: 220px; }
    .mosaic figure:nth-child(6) img { height: 220px; }

    .wa-float {
        bottom: 16px;
        right: 16px;
        padding: 12px 14px;
        gap: 0;
    }

    .wa-label { display: none; }

    .cta-final { padding: 80px 0; }

    .btn { padding: 14px 22px; font-size: 0.7rem; }
}

/* Mobile pequeño */
@media (max-width: 380px) {
    .logo-sub { display: none; }
    .nav-cta { font-size: 0.6rem; padding: 7px 10px; }
    .hero-title { font-size: 2.8rem; }
    .hero-meta strong { font-size: 0.9rem; }
    .hero-meta span { font-size: 0.5rem; }
    .wa-float { padding: 14px; }
}