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

/* ============ 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, 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);
}

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

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.85);
    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: 18px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-cta {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: 10px 20px;
    border: 1px solid var(--ink);
    transition: all 0.3s;
}

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

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    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.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.55) 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.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

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

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

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

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

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

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

.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.5);
}

.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: 40px;
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
}

/* Hero meta bar */
.hero-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    background: rgba(0,0,0,0.35);
    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);
    max-width: 100%;
}

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

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

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

.hero-meta strong {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
}

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

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

.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.72rem;
    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(2rem, 4.5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    color: var(--ink);
}

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

.lead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 24px;
    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: 60px;
}

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

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

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

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

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

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

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

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

/* Figcaption común */
figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 0 0;
}

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

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

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

.mosaic figure { overflow: hidden; }
.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 img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 1s ease;
}

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

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

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

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

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

.spec-row span:last-child {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--ink);
    text-align: right;
}

.note {
    margin-top: 24px;
    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: 30px;
}

.wellness-item { overflow: hidden; }

.wellness-item img {
    width: 100%;
    height: clamp(300px, 55vh, 600px);
    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 50px;
    border-top: 1px solid var(--line);
}

.location-list li {
    display: flex;
    gap: 24px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 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: 30px;
}

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

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

/* ============ CTA FINAL ============ */
.cta-final {
    background: #14110d;
    color: var(--white);
    text-align: center;
    padding: clamp(80px, 14vw, 180px) 0;
}

.cta-final .display {
    max-width: 900px;
    margin: 0 auto 40px;
}

.cta-final .container { max-width: 900px; }

/* ============ 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: 8px;
}

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

.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;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

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

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

.wa-label {
    display: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .grid-editorial {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .num { font-size: 1.5rem; }

    .location-content { grid-column: auto; }
}

@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 img { height: 260px; }

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

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

@media (max-width: 640px) {
    .nav-inner { padding: 14px var(--pad); }
    .nav-cta { font-size: 0.7rem; padding: 8px 14px; }
    .nav-logo { font-size: 1.1rem; }

    .hero { padding: 100px 0 120px; min-height: 90vh; }

    .hero-meta {
        position: relative;
        margin-top: 40px;
    }

    .hero-meta > div {
        padding: 16px;
    }

    .hero-meta strong { font-size: 1.15rem; }
    .hero-meta span { font-size: 0.6rem; }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .wa-float {
        bottom: 20px;
        right: 20px;
        padding: 14px;
    }

    .wa-label { display: inline; }

    .feature img { height: 260px; }

    .mosaic img { height: 200px; }

    .mosaic figure:first-child { grid-column: span 2; }
}

@media (max-width: 400px) {
    .mosaic { grid-template-columns: 1fr; }
    .mosaic figure:nth-child(n) { grid-column: span 1; }
    .wa-label { display: none; }
}