/* ============================================================
   CASA BOSQUE ANIMADO · La Alberca
   Diseño boutique rural — editorial, cálido, refinado
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
    /* Paleta — tierra, musgo, piedra, crema cálido */
    --musgo:        #4A5D3A;
    --musgo-osc:    #38492C;
    --musgo-claro:  #6B7E54;
    --tierra:       #9C6B3F;
    --tierra-osc:   #7A5230;
    --terracota:    #B8703E;
    --crema:        #F7F2E9;
    --crema-osc:    #EFE7D7;
    --hueso:        #FBF8F2;
    --piedra:       #8A8175;
    --carbon:       #2A2620;
    --carbon-suave: #443E35;
    --oro:          #C9A24B;
    --oro-claro:    #DCC07E;
    --texto:        #3A352C;
    --texto-suave:  #6E665A;
    --linea:        #E2D9C8;

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

    --sombra-xs: 0 1px 3px rgba(42,38,32,.06);
    --sombra-sm: 0 4px 16px rgba(42,38,32,.08);
    --sombra-md: 0 12px 40px rgba(42,38,32,.12);
    --sombra-lg: 0 24px 70px rgba(42,38,32,.18);

    --r-sm: 4px;
    --r: 10px;
    --r-lg: 20px;
    --ease: cubic-bezier(.22,.61,.36,1);
    --t: .5s var(--ease);
    --nav-h: 80px;
    --max: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--sans);
    color: var(--texto);
    background: var(--crema);
    line-height: 1.7;
    font-weight: 300;
    font-size: 17px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--musgo); color: var(--hueso); }

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--carbon); letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.3rem; }

.script { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--tierra); }

.eyebrow {
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--tierra);
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.eyebrow::before, .eyebrow.center::after {
    content: '';
    width: 36px; height: 1px;
    background: var(--tierra);
    opacity: .5;
}
.eyebrow.center { justify-content: center; }

.lead { font-size: 1.15rem; color: var(--texto-suave); font-weight: 300; line-height: 1.8; }

/* ===== LAYOUT ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
section { padding: clamp(70px, 11vw, 140px) 0; position: relative; }

.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 22px; }

/* ===== NAVBAR ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.nav.solid {
    background: rgba(247,242,233,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--linea);
    height: 68px;
}
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; z-index: 1002; }
.brand img { height: 50px; width: 50px; border-radius: 50%; object-fit: cover; box-shadow: var(--sombra-sm); border: 2px solid rgba(255,255,255,.6); transition: var(--t); }
.nav.solid .brand img { height: 44px; width: 44px; }
.brand-txt { line-height: 1.1; transition: color .4s; }
.brand-txt b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: block; color: var(--carbon); }
.brand-txt span { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--tierra); font-weight: 500; }
.nav:not(.solid) .brand-txt b { color: var(--hueso); }
.nav:not(.solid) .brand-txt span { color: var(--oro-claro); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
    font-size: .82rem; font-weight: 400; letter-spacing: .06em;
    padding: 10px 16px; border-radius: 40px; position: relative;
    color: var(--carbon); transition: color .3s;
}
.nav:not(.solid) .nav-menu > li > a { color: rgba(255,255,255,.82); }
.nav-menu a:hover { color: var(--tierra); }
.nav:not(.solid) .nav-menu a:hover { color: var(--hueso); }
.nav-menu a.active { color: var(--tierra); }
.nav:not(.solid) .nav-menu a.active { color: var(--oro-claro); }
.nav-menu a.active::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px;
    height: 1px; background: currentColor; opacity: .5;
}
.nav-cta {
    background: var(--musgo); color: var(--hueso) !important;
    padding: 12px 26px !important; border-radius: 40px;
    letter-spacing: .08em; font-weight: 500;
    transition: all .35s var(--ease) !important;
    box-shadow: 0 4px 18px rgba(74,93,58,.3);
}
.nav-cta:hover { background: var(--musgo-osc); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(74,93,58,.42); color: var(--hueso) !important; }
.nav:not(.solid) .nav-cta { background: var(--hueso); color: var(--musgo-osc) !important; }
.nav:not(.solid) .nav-cta:hover { background: #fff; color: var(--musgo-osc) !important; }

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; z-index: 1002; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--carbon); border-radius: 2px; transition: var(--t); }
.nav:not(.solid) .burger span { background: var(--hueso); }

/* ===== BOTONES ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .08em;
    padding: 16px 34px; border-radius: 40px; cursor: pointer; border: none;
    transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.btn-fill { background: var(--musgo); color: var(--hueso); box-shadow: 0 6px 22px rgba(74,93,58,.3); }
.btn-fill:hover { background: var(--musgo-osc); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(74,93,58,.4); }
.btn-gold { background: var(--oro); color: var(--carbon); box-shadow: 0 6px 22px rgba(201,162,75,.35); }
.btn-gold:hover { background: var(--oro-claro); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--hueso); border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-line { background: transparent; color: var(--musgo); border: 1px solid var(--musgo); }
.btn-line:hover { background: var(--musgo); color: var(--hueso); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 6px 22px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1eb858; transform: translateY(-3px); }
.btn-lg { padding: 19px 44px; font-size: .88rem; }
.btn-sm { padding: 12px 24px; font-size: .76rem; }

/* ===== HERO ===== */
.hero { height: 100vh; min-height: 680px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(30,28,22,.55) 0%, rgba(30,28,22,.32) 35%, rgba(30,28,22,.62) 100%);
}
.hero-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, transparent 40%, rgba(30,28,22,.35) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--hueso); padding: 0 24px; max-width: 920px; }
.hero-logo { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 30px; border: 3px solid rgba(255,255,255,.45); box-shadow: var(--sombra-lg); animation: heroIn 1.3s var(--ease) both; }
.hero .eyebrow { color: var(--oro-claro); margin-bottom: 24px; animation: heroIn 1.3s var(--ease) .15s both; }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--oro-claro); }
.hero h1 { color: var(--hueso); margin-bottom: 24px; text-shadow: 0 4px 40px rgba(0,0,0,.4); animation: heroIn 1.3s var(--ease) .3s both; }
.hero h1 em { font-style: italic; color: var(--oro-claro); font-weight: 500; }
.hero-sub { font-size: 1.2rem; font-weight: 300; color: rgba(255,255,255,.9); max-width: 580px; margin: 0 auto 40px; animation: heroIn 1.3s var(--ease) .45s both; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: heroIn 1.3s var(--ease) .6s both; }
.hero-down { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; }
.hero-phone {
    display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
    color: var(--hueso); font-size: 1.15rem; padding: 12px 26px;
    background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.35); border-radius: 50px;
    transition: all .35s var(--ease); animation: heroIn 1.3s var(--ease) .75s both;
}
.hero-phone:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.hero-phone .hp-ic { font-size: 1.1rem; }
.hero-phone b { color: var(--oro-claro); font-weight: 600; letter-spacing: .02em; }
.hero-down .line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: scrollLine 2s var(--ease) infinite; }

/* ===== STATS / BARRA ===== */
.factbar { background: var(--carbon); color: var(--hueso); padding: 0; }
.factbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 44px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); transition: background .4s; }
.fact:last-child { border-right: none; }
.fact:hover { background: var(--carbon-suave); }
.fact .n { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; color: var(--oro-claro); line-height: 1; margin-bottom: 8px; }
.fact .l { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ===== INTRO / SPLIT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sombra-lg); aspect-ratio: 4/5; object-fit: cover; }
.split-media .tag {
    position: absolute; bottom: -26px; right: -26px; background: var(--hueso);
    padding: 24px 30px; border-radius: var(--r); box-shadow: var(--sombra-md); text-align: center;
}
.split-media .tag .n { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--musgo); line-height: 1; }
.split-media .tag .l { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--texto-suave); margin-top: 4px; }
.split-media::before {
    content: ''; position: absolute; top: -20px; left: -20px; width: 120px; height: 120px;
    border-top: 2px solid var(--oro); border-left: 2px solid var(--oro); border-radius: 8px 0 0 0; opacity: .6;
}

/* ===== FEATURES (estancias) ===== */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2px; background: var(--linea); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sombra-sm); }
.feat {
    background: var(--hueso); padding: 44px 36px; transition: all .45s var(--ease); position: relative;
}
.feat:hover { background: var(--crema); transform: translateY(-2px); }
.feat .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--crema-osc); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 22px; transition: var(--t); }
.feat:hover .ic { background: var(--musgo); transform: rotate(-8deg) scale(1.08); }
.feat h4 { margin-bottom: 10px; }
.feat p { font-size: .92rem; color: var(--texto-suave); }

/* ===== GALERÍA MOSAICO ===== */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mq { position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer; }
.mq img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mq:hover img { transform: scale(1.07); }
.mq::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(42,38,32,.5)); opacity: 0; transition: opacity .4s; }
.mq:hover::after { opacity: 1; }
.mq .cap { position: absolute; bottom: 16px; left: 18px; right: 18px; color: #fff; font-size: .82rem; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); z-index: 2; font-weight: 300; }
.mq:hover .cap { opacity: 1; transform: translateY(0); }
.mq .zoom { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: scale(.7); transition: all .4s; z-index: 2; }
.mq:hover .zoom { opacity: 1; transform: scale(1); }
.mq.big { grid-column: span 2; grid-row: span 2; }
.mq.wide { grid-column: span 2; }
.mq.tall { grid-row: span 2; }

/* ===== CTA BANNER ===== */
.cta-banner { position: relative; overflow: hidden; background: var(--musgo-osc); }
.cta-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.cta-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, var(--musgo-osc) 30%, rgba(56,73,44,.7)); }
.cta-banner .wrap { position: relative; z-index: 2; text-align: center; color: var(--hueso); }
.cta-banner h2 { color: var(--hueso); margin-bottom: 18px; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 36px; }

/* ===== TESTIMONIOS ===== */
.reviews-grid { columns: 3; column-gap: 28px; }
.review { background: var(--hueso); border-radius: var(--r-lg); padding: 36px; margin-bottom: 28px; break-inside: avoid; box-shadow: var(--sombra-sm); position: relative; transition: var(--t); }
.review:hover { box-shadow: var(--sombra-md); transform: translateY(-3px); }
.review .stars { color: var(--oro); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.review .quote { font-family: var(--serif); font-size: 1.32rem; line-height: 1.5; color: var(--carbon); font-weight: 500; margin-bottom: 22px; font-style: italic; }
.review .by { display: flex; align-items: center; gap: 14px; }
.review .av { width: 46px; height: 46px; border-radius: 50%; background: var(--musgo); color: var(--hueso); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; flex-shrink: 0; }
.review .nm { font-weight: 500; font-size: .92rem; color: var(--carbon); }
.review .ci { font-size: .8rem; color: var(--texto-suave); }
.review .resp { margin-top: 20px; padding: 18px 20px; background: var(--crema); border-radius: var(--r); border-left: 3px solid var(--musgo); font-size: .88rem; color: var(--texto-suave); }
.review .resp b { color: var(--musgo); display: block; margin-bottom: 5px; font-size: .82rem; }

/* ===== FOOTER ===== */
footer { background: var(--carbon); color: rgba(255,255,255,.62); padding: 90px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand img { height: 64px; width: 64px; border-radius: 50%; margin-bottom: 22px; }
.foot-brand p { font-size: .92rem; line-height: 1.8; max-width: 300px; margin-bottom: 22px; }
.foot-soc { display: flex; gap: 12px; }
.foot-soc a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: var(--t); font-size: 1.05rem; }
.foot-soc a:hover { background: var(--musgo); color: #fff; transform: translateY(-3px); }
footer h5 { font-family: var(--sans); color: var(--hueso); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; font-weight: 500; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-links a { font-size: .92rem; transition: color .3s, padding .3s; }
.foot-links a:hover { color: var(--oro-claro); padding-left: 6px; }
.foot-contact { font-size: .92rem; line-height: 2; }
.foot-contact a:hover { color: var(--oro-claro); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 30px; font-size: .8rem; }

/* ===== PAGE HEADER (subpáginas) ===== */
.phead { height: 56vh; min-height: 420px; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.phead-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.phead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,28,22,.3), rgba(30,28,22,.78)); }
.phead .wrap { position: relative; z-index: 2; color: var(--hueso); padding-bottom: 66px; }
.phead .eyebrow { color: var(--oro-claro); margin-bottom: 18px; }
.phead .eyebrow::before { background: var(--oro-claro); }
.phead h1 { color: var(--hueso); font-size: clamp(2.6rem,6vw,4.6rem); }
.phead p { color: rgba(255,255,255,.85); max-width: 560px; margin-top: 16px; font-size: 1.1rem; }

/* ===== ALERTAS ===== */
.alert { padding: 16px 22px; border-radius: var(--r); margin-bottom: 22px; font-size: .94rem; border-left: 4px solid; }
.alert-ok { background: #eef5e8; color: #3c5226; border-color: var(--musgo); }
.alert-err { background: #fbeae6; color: #8a3520; border-color: #c0492b; }
.alert-info { background: #eaf1f5; color: #2a4a5e; border-color: #4a7e9e; }

/* ===== FORMULARIOS ===== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--linea); border-radius: var(--r);
    font-family: var(--sans); font-size: .98rem; font-weight: 300; background: var(--hueso); color: var(--texto);
    transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--musgo); box-shadow: 0 0 0 3px rgba(74,93,58,.1); }
.field textarea { resize: vertical; min-height: 110px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== LIGHTBOX ===== */
.lb { position: fixed; inset: 0; background: rgba(20,18,14,.94); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lb.on { display: flex; animation: fade .3s; }
.lb img { max-width: 92vw; max-height: 90vh; border-radius: var(--r); box-shadow: var(--sombra-lg); }
.lb-x { position: absolute; top: 28px; right: 34px; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; opacity: .8; transition: opacity .3s; }
.lb-x:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; transition: background .3s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 28px; } .lb-next { right: 28px; }

/* ===== BOTÓN FLOTANTE LLAMAR (móvil) ===== */
.call-fab {
    display: none; position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 3000;
    gap: 12px;
}
.call-fab a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 16px; border-radius: 50px; font-family: var(--sans); font-weight: 600;
    font-size: 1.02rem; box-shadow: 0 8px 26px rgba(0,0,0,.28); letter-spacing: .02em;
}
.call-fab .c-tel { background: var(--musgo); color: var(--hueso); }
.call-fab .c-wa { background: #25D366; color: #fff; }
@media (max-width: 860px) {
    .call-fab { display: flex; }
    footer { padding-bottom: 100px; }
    .cookie { bottom: 90px; }
}

/* ===== COOKIES ===== */
.cookie { position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 520px; margin: 0 auto; background: var(--carbon); color: rgba(255,255,255,.85); padding: 22px 26px; border-radius: var(--r-lg); box-shadow: var(--sombra-lg); z-index: 4000; display: none; align-items: center; gap: 18px; }
.cookie.show { display: flex; }
.cookie p { font-size: .85rem; flex: 1; }
.cookie a { color: var(--oro-claro); text-decoration: underline; }

/* ===== ANIMACIONES ===== */
@keyframes heroIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollLine { 0%,100% { transform: scaleY(.4); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }

/* ===== UTILIDADES ===== */
.tc { text-align: center; } .mt0{margin-top:0}.mt1 { margin-top: 14px; } .mt2 { margin-top: 28px; } .mt3 { margin-top: 44px; }
.bg-hueso { background: var(--hueso); } .bg-crema-osc { background: var(--crema-osc); }
.divider { width: 56px; height: 2px; background: var(--oro); margin: 22px 0; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mosaic { grid-template-columns: repeat(3, 1fr); }
    .reviews-grid { columns: 2; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 860px) {
    /* La barra en móvil es sticky y siempre sólida: el botón se ve desde el primer momento */
    .nav, .nav.solid, .nav:not(.solid) {
        position: sticky; top: 0; height: 64px;
        background: #F7F2E9; box-shadow: 0 1px 0 var(--linea);
        backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 1100;
    }
    .nav-inner { padding: 0 16px; gap: 10px; }
    .nav .brand { flex: 1; min-width: 0; }
    .nav .brand-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .nav:not(.solid) .brand-txt b { color: var(--carbon); }
    .nav:not(.solid) .brand-txt span { color: var(--tierra); }
    .burger { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; min-width: 46px; border-radius: 50%; background: var(--musgo); flex-direction: column; gap: 5px; padding: 0; z-index: 1003; flex-shrink: 0; }
    .burger span, .nav:not(.solid) .burger span { width: 22px; height: 2px; background: #FBF8F2; }
    .nav nav { position: static; display: block; width: 0; flex: 0 0 auto; }
    /* Panel lateral del menú */
    .nav .nav-menu {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto;
        width: min(82vw, 320px); height: 100vh; height: 100dvh;
        background: #F7F2E9 !important; display: flex; flex-direction: column; align-items: stretch;
        justify-content: flex-start; gap: 0; padding: 88px 24px 30px;
        transform: translateX(100%); transition: transform .4s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,.3); z-index: 1002; overflow-y: auto;
    }
    .nav .nav-menu.open { transform: translateX(0); }
    .nav .nav-menu li { display: block; width: 100%; }
    .nav .nav-menu li a {
        display: block !important; width: 100%;
        color: #2A2620 !important; font-size: 1.05rem; font-weight: 400;
        padding: 16px 14px !important; border-radius: 0; border-bottom: 1px solid #E2D9C8;
        text-align: left; letter-spacing: 0;
    }
    .nav .nav-menu li a:hover { color: var(--tierra) !important; }
    .nav .nav-menu li a.active { color: var(--tierra) !important; font-weight: 600; }
    .nav .nav-menu a.active::after { display: none; }
    /* Botón Reservar destacado al final */
    .nav .nav-menu li a.nav-cta {
        background: var(--musgo) !important; color: #FBF8F2 !important; text-align: center !important;
        margin-top: 18px; border-bottom: none; font-weight: 600; border-radius: 50px;
        font-size: 1.05rem; padding: 17px !important; box-shadow: 0 6px 20px rgba(74,93,58,.35);
    }
    .nav-overlay { position: fixed; inset: 0; background: rgba(20,18,14,.55); z-index: 1001; opacity: 0; visibility: hidden; transition: .4s; }
    .nav-overlay.open { opacity: 1; visibility: visible; }
    .split { grid-template-columns: 1fr; gap: 50px; }
    .split.rev .split-media { order: 0; }
    .split-media img { aspect-ratio: 16/11; }
    .factbar-grid { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(2) { border-right: none; }
    .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .mq.big { grid-column: span 2; grid-row: span 1; }
    .reviews-grid { columns: 1; }
    /* El logo ya está en la barra de arriba: ocultamos el grande para que no se solape */
    .hero-logo { display: none; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap, .wrap-narrow { padding: 0 22px; }
    .split-media .tag { right: 16px; bottom: -20px; padding: 18px 22px; }
    .factbar-grid { grid-template-columns: 1fr; }
    .fact { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .field-2 { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .hero { min-height: 600px; }
    .hero-content { padding-top: 70px; }
    .hero-down { display: none; }
    .hero-logo { display: none; }
    .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
    .brand-txt b { font-size: 1.05rem; }
    .brand-txt span { font-size: .56rem; }
    .brand img { height: 42px; width: 42px; }
}
