/* All Natural — estructura multipágina con paleta verde (inspiración: editorial de hotel boutique).
   Se carga al final: redefine tokens y agrega header, menú a pantalla completa, subpáginas y botón de reserva fijo. */

:root {
  --c-canvas: #f5f0e7;      /* crema */
  --c-surface: #fbf8f2;
  --c-sand: #dfd1b0;        /* arena */
  --c-ink: #1f3529;         /* verde bosque profundo: texto y fondos oscuros */
  --c-ink-soft: #3a4a3f;
  --c-muted: #5f6b58;
  --c-line: #1f352926;
  --c-accent: #1f3529;
  --c-accent-ink: #f5f0e7;
  --c-olive: #72785a;       /* oliva */
  --c-moss: #3e4a36;        /* musgo: bandas secundarias */
  --c-dark: #1f3529;
  --c-cta: #d4a24c;         /* dorado: SOLO para el botón de reserva fijo y llamados urgentes */
  --c-cta-ink: #1f3529;
  --header-h: 64px;
}

/* ================= HEADER (barra verde dividida) ================= */
.header, .header.is-solid, .header--solid {
  background: var(--c-ink) !important; color: var(--c-canvas) !important; border-bottom: 1px solid #f5f0e722 !important;
}
.header__inner { height: var(--header-h); padding: 0 !important; max-width: none; display: grid !important; grid-template-columns: auto 1fr auto; gap: 0 !important; }
.header .menu-toggle, .header .header__book {
  height: var(--header-h); display: flex; align-items: center; gap: 12px; padding: 0 clamp(16px, 3vw, 32px);
  background: none; border: 0; color: inherit; cursor: pointer; text-decoration: none;
  font: 500 12px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; transition: background .3s, color .3s;
}
.header .menu-toggle { border-right: 1px solid #f5f0e722; }
.header .header__book { border-left: 1px solid #f5f0e722; }
.header .menu-toggle:hover, .header .header__book:hover { background: #f5f0e710; }
.header .header__book { color: var(--c-cta); }
.burger { width: 26px; height: 14px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 6px; } .burger span:nth-child(3) { bottom: 0; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header .brand { justify-self: center; align-items: center; }
.header .brand__name { font-size: 26px; letter-spacing: .04em; }
.header .nav, .header .menu-btn, .header .header__actions { display: none !important; }
body { padding-top: var(--header-h); }
.hero { min-height: calc(100svh - var(--header-h)); }
@media (max-width: 600px) { .menu-toggle .label-txt, .header__book .label-txt { display: none; } .header .brand__name { font-size: 22px; } }

/* ================= MENÚ A PANTALLA COMPLETA ================= */
.menu-overlay {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; display: grid; grid-template-columns: minmax(320px, 36%) 1fr;
  background: var(--c-ink); color: var(--c-canvas); visibility: hidden; opacity: 0; transition: opacity .5s var(--ease-out), visibility 0s .5s;
}
.menu-open .menu-overlay { visibility: visible; opacity: 1; transition: opacity .5s var(--ease-out); }
.menu-overlay__nav { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(24px, 5vw, 64px); border-right: 1px solid #f5f0e722; overflow-y: auto; }
.menu-overlay__nav > a {
  font-family: var(--f-display); font-size: clamp(34px, min(5.4vw, 8.5vh), 76px); line-height: 1.12; white-space: nowrap; color: var(--c-canvas); text-decoration: none;
  display: flex; align-items: baseline; gap: 16px; width: fit-content;
  transform: translateY(30px); opacity: 0; transition: transform .8s var(--ease-out), opacity .8s var(--ease-out), color .3s, padding .4s var(--ease-out);
  transition-delay: calc(var(--i) * 60ms + 100ms);
}
.menu-open .menu-overlay__nav > a { transform: none; opacity: 1; }
.menu-overlay__nav > a small { font: 500 11px var(--f-mono); letter-spacing: .2em; color: var(--c-olive); }
.menu-overlay__nav > a:hover, .menu-overlay__nav > a[aria-current="page"] { color: var(--c-sand); padding-left: 14px; font-style: italic; }
.menu-overlay__meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; font: 500 11px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #f5f0e7aa; }
.menu-overlay__meta a { color: inherit; }
.menu-overlay__media { position: relative; overflow: hidden; }
.menu-overlay__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease-out), transform 1.6s var(--ease-out); }
.menu-overlay__media img.is-on { opacity: 1; transform: scale(1); }
.menu-overlay__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1f352999, transparent 40%); }
.menu-open { overflow: hidden; }
@media (max-width: 800px) { .menu-overlay { grid-template-columns: 1fr; } .menu-overlay__media { display: none; } }

/* ================= ENCABEZADO DE SUBPÁGINA ================= */
.page-hero { position: relative; min-height: 72svh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-out both; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1f352966, #1f352933 40%, #1f3529b3); }
.page-hero__inner { position: relative; z-index: 1; padding: 80px var(--gutter); }
.page-hero h1 { font-size: clamp(54px, 10vw, 150px); line-height: .95; letter-spacing: -.02em; }
.page-hero .label { color: var(--c-sand); display: block; margin-bottom: 18px; }
.page-hero p { color: #f5f0e7dd; max-width: 52ch; margin: 20px auto 0; font-size: clamp(17px, 1.6vw, 21px); }
.ornament { display: block; width: 46px; margin: 0 auto 18px; color: var(--c-sand); }
.page-hero .scroll-cue { bottom: 0; }

/* Títulos mixtos: fino + marcado */
.t-mixed { font-family: var(--f-display); font-size: clamp(38px, 5vw, 68px); line-height: 1.04; }
.t-mixed em { font-style: italic; color: var(--c-olive); }
.band-green .t-mixed em, .band-moss .t-mixed em { color: var(--c-sand); }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ================= BANDAS DE COLOR ================= */
.band-green { background: var(--c-ink); color: var(--c-canvas); }
.band-moss { background: var(--c-moss); color: var(--c-canvas); }
.band-sand { background: var(--c-sand); }
.band-green p, .band-moss p { color: #e8e1d2; }
.band-green .label--muted, .band-moss .label--muted { color: var(--c-sand); }
.band-green .btn, .band-moss .btn { color: var(--c-canvas); border-color: #f5f0e766; }
.band-green .btn::before, .band-moss .btn::before { background: var(--c-canvas); }
.band-green .btn:hover, .band-moss .btn:hover { color: var(--c-ink); }
.band-green .btn .btn__icon, .band-moss .btn .btn__icon { background: var(--c-canvas); color: var(--c-ink); }

/* Intro con dos fotos a los lados */
.intro-frame { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.intro-frame figure { margin: 0; border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 3/4; }
.intro-frame figure:last-child { border-radius: 24px 24px 999px 999px; margin-top: 80px; }
.intro-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.intro-frame figure:hover img { transform: scale(1.06); }
.intro-frame__text { text-align: center; }
.intro-frame__text .lead { margin: 22px auto 30px; max-width: 40ch; }
@media (max-width: 900px) { .intro-frame { grid-template-columns: 1fr 1fr; } .intro-frame__text { grid-column: 1 / -1; order: -1; } .intro-frame figure:last-child { margin-top: 40px; } }

/* ================= CARRUSEL ================= */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 420px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track .room, .carousel__track .room:nth-child(n) { margin: 0 !important; grid-column: auto !important; }
.carousel__track .room__media { aspect-ratio: 4/5 !important; }
.carousel__nav { display: flex; gap: 14px; }
.round-btn {
  width: 68px; height: 68px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--c-olive); color: var(--c-canvas); transition: background .3s, transform .4s var(--ease-out);
}
.round-btn + .round-btn { background: var(--c-ink); }
.round-btn:hover { transform: scale(1.08); background: var(--c-cta); color: var(--c-cta-ink); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }
.round-btn .ico { width: 24px; height: 24px; }
.carousel__progress { height: 2px; background: var(--c-line); margin-top: 28px; position: relative; overflow: hidden; }
.carousel__progress span { position: absolute; inset: 0 auto 0 0; background: var(--c-ink); width: 20%; transition: transform .3s; }

/* ================= TEASERS (secciones hacia subpáginas) ================= */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.teaser { text-decoration: none; color: inherit; display: block; }
.teaser__media { aspect-ratio: 4/3; overflow: hidden; border-radius: 20px; position: relative; }
.teaser__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.teaser:hover .teaser__media img { transform: scale(1.07); }
.teaser .label { display: block; margin: 20px 0 8px; color: var(--c-sand); }
.teaser h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
.teaser p { margin-bottom: 18px; }
.link-line { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; text-decoration: none; color: inherit; transition: gap .4s var(--ease-out), color .3s; }
.link-line .ico { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.teaser:hover .link-line, .link-line:hover { gap: 18px; color: var(--c-sand); }
.band-sand .link-line:hover, .section:not(.band-green):not(.band-moss) .link-line:hover { color: var(--c-olive); }
@media (max-width: 900px) { .teasers { grid-template-columns: 1fr; } }

/* Ruta (migas) */
.subnav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.subnav a { font: 500 11px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #fff; text-decoration: none; padding: 9px 14px; border: 1px solid #ffffff55; border-radius: 999px; transition: background .3s, color .3s; }
.subnav a:hover { background: #fff; color: var(--c-ink); }

/* Siguiente página */
.next-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; text-decoration: none; color: var(--c-canvas); background: var(--c-moss); }
.next-page__media { overflow: hidden; } .next-page__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.next-page:hover .next-page__media img { transform: scale(1.06); }
.next-page__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 80px); gap: 14px; }
.next-page__text .label { color: var(--c-sand); }
.next-page__text strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(42px, 6vw, 88px); line-height: 1; display: flex; align-items: center; gap: .25em; }
.next-page__text strong .ico { width: .5em; height: .5em; transition: transform .5s var(--ease-out); }
.next-page:hover strong .ico { transform: translateX(12px); }
@media (max-width: 760px) { .next-page { grid-template-columns: 1fr; } .next-page__media { aspect-ratio: 16/9; } }

/* ================= BOTÓN DE RESERVA FIJO (llamativo) ================= */
.fab-reserve {
  position: fixed; right: 24px; bottom: 24px; z-index: 55; display: flex; align-items: center; gap: 14px;
  padding: 8px 26px 8px 8px; border-radius: 999px; text-decoration: none; overflow: hidden; isolation: isolate;
  background: var(--c-cta); color: var(--c-cta-ink); box-shadow: 0 18px 40px -14px rgba(31,53,41,.65), 0 0 0 1px #1f352922;
  animation: fab-in .9s var(--ease-out) 1s both, fab-bob 3.2s ease-in-out 2.4s infinite;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.fab-reserve::before { /* brillo que cruza el botón */
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, #fff8 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 4.5s ease-in-out 2s infinite;
}
.fab-reserve::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--c-cta); animation: pulse 2.4s var(--ease-out) infinite; z-index: -2; }
.fab-reserve:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 24px 50px -14px rgba(31,53,41,.8); animation-play-state: paused; }
.fab-reserve__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ink); color: var(--c-cta); flex: none; }
.fab-reserve__ico .ico { width: 22px; height: 22px; }
.fab-reserve__txt { display: flex; flex-direction: column; line-height: 1.1; }
.fab-reserve__txt small { font: 500 9.5px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.fab-reserve__txt b { font-family: var(--f-display); font-weight: 400; font-size: 24px; }
@keyframes fab-in { from { transform: translateY(140%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fab-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Tarjeta promocional que aparece sobre el botón */
.promo-card {
  position: fixed; right: 24px; bottom: 104px; z-index: 55; width: 290px; border-radius: 20px; overflow: hidden;
  background: var(--c-ink); color: var(--c-canvas); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none; transition: transform .6s var(--ease-out), opacity .5s;
}
.promo-card.is-on { transform: none; opacity: 1; pointer-events: auto; }
.promo-card__body { padding: 20px 22px 18px; }
.promo-card .label { color: var(--c-cta); }
.promo-card strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 8px 0 10px; }
.promo-card ul { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 6px; font-size: 14px; color: #e8e1d2; }
.promo-card li { display: flex; gap: 8px; align-items: center; }
.promo-card li .ico { width: 16px; height: 16px; color: var(--c-cta); }
.promo-card__go { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: var(--c-canvas); color: var(--c-ink); text-decoration: none; font: 500 12px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; transition: background .3s; }
.promo-card__go:hover { background: var(--c-cta); }
.promo-card__close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #f5f0e744; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; }
.promo-card__close .ico { width: 14px; height: 14px; transform: rotate(45deg); }

/* WhatsApp y volver arriba se apilan sobre el botón */
.wa-float { bottom: 104px !important; right: 30px !important; width: 50px !important; height: 50px !important; background: var(--c-ink) !important; border-color: var(--c-ink) !important; }
.wa-float::after { border-color: var(--c-ink) !important; }
.to-top { bottom: 166px !important; right: 31px !important; }
.promo-card.is-on ~ .wa-float, body:has(.promo-card.is-on) .wa-float { opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  .fab-reserve, .promo-card { display: none; }
  .mobile-bar__book { background: var(--c-cta) !important; color: var(--c-cta-ink) !important; position: relative; overflow: hidden; isolation: isolate; font-weight: 600; }
  .mobile-bar__book::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, #fff8 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out 2s infinite; }
  .mobile-bar { background: var(--c-ink) !important; }
}

/* Footer en verde */
.footer { background: var(--c-ink); }
.footer__grid { border-top-color: #f5f0e722 !important; }
.footer__arrow { background: var(--c-cta) !important; color: var(--c-ink); }

/* Banda de cinta en arena */
.marquee { background: var(--c-sand); color: var(--c-ink); border-color: var(--c-ink); }
.marquee__item .ico { color: var(--c-olive); }

/* Hero de inicio centrado (como portada de revista) */
.hero--center .hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero--center [data-letters] { justify-content: center; }
.hero--center .hero__meta { justify-content: center; gap: 24px; }
.hero--center .booking { width: 100%; text-align: left; }
.hero::after { background: linear-gradient(180deg, #1f352966 0%, #1f352911 35%, #1f352922 55%, #1f3529cc 100%) !important; }

/* Mosaico de fotos (zona social) */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 12px; }
.mosaic__item { margin: 0; overflow: hidden; border-radius: 18px; grid-column: span 2; grid-row: span 2; }
.mosaic__item:nth-child(1) { grid-column: span 4; }
.mosaic__item:nth-child(4), .mosaic__item:nth-child(5) { grid-column: span 3; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mosaic__item:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } .mosaic__item, .mosaic__item:nth-child(n) { grid-column: span 1; } .mosaic__item:nth-child(1) { grid-column: span 2; } }

/* Ficha: separación bajo el header */
.detail-top { padding-top: 40px !important; }

/* El buscador de la portada queda por encima del botón fijo de reserva */
@media (min-width: 761px) { .hero--center .hero__content { padding-bottom: 112px; } }
