/* =====================================================================
   components.css — componentes reutilizables con todos sus estados
   Depende de tokens.css y base.css.
   Orden: botones · formularios · header · drawer · breadcrumbs · respuesta
   corta · tabla · FAQ · cards · foto/placeholder · caja Reservar · pasos ·
   footer · WhatsApp flotante.
   ===================================================================== */

/* ---------- Botones ---------- */
.btn, .btn-caps, .btn-pill, .btn-ghost, .btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; border: 1px solid transparent; text-decoration: none;
  font-family: var(--sans); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.btn[disabled], .btn-caps[disabled], .btn-pill[disabled], .btn-wa[disabled],
.btn[aria-disabled="true"], .btn-caps[aria-disabled="true"], .btn-pill[aria-disabled="true"] {
  opacity: .4; cursor: not-allowed; pointer-events: none;
}

/* Primario de marca: oscuro, mayúsculas */
.btn-caps {
  background: var(--ink); color: var(--cream);
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; font-weight: 400;
  padding: 13px 18px; border-radius: var(--r);
}
.btn-caps::after { content: "→"; letter-spacing: 0; font-size: 13px; transition: transform .3s var(--ease); }
.btn-caps:hover { background: #000; }
.btn-caps:hover::after { transform: translateX(3px); }
.btn-caps:active { transform: translateY(1px); }

/* Botón normal, sin mayúsculas (junto a precios, checkout) */
.btn {
  background: var(--ink); color: var(--cream);
  font-size: 14px; font-weight: 500; padding: 12px 22px; border-radius: var(--r);
}
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }

/* Pastilla */
.btn-pill {
  background: #fff; color: var(--ink); border-radius: var(--r-pill);
  min-height: 48px; padding: 0 28px; font-size: 14px; font-weight: 500;
}
.btn-pill:hover { background: var(--light); }
.btn-pill:active { transform: scale(.98); }
.btn-pill.gold { background: var(--gold); letter-spacing: .08em; min-height: 50px; }
.btn-pill.gold:hover { background: var(--gold-hover); }

/* Ghost sobre foto u oscuro */
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
  border-radius: var(--r-pill); min-height: 48px; padding: 0 26px; font-size: 14px;
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* WhatsApp: el único uso del verde */
.btn-wa {
  background: var(--wa); color: var(--wa-ink); border-radius: var(--r-pill);
  min-height: 48px; padding: 0 24px; font-size: 14px; font-weight: 600;
}
.btn-wa:hover { filter: brightness(.95); }
.btn-wa svg { width: 20px; height: 20px; }

.btn-block { width: 100%; }

/* Link con flecha */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
  padding-bottom: 2px; transition: border-color .3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Chip */
.chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); font-size: 12px;
  letter-spacing: .06em; color: var(--ink); text-decoration: none; background: transparent;
}
a.chip:hover { border-color: var(--ink); }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field > legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: #fff; color: var(--ink);
  border: 1px solid #CFC6B8; border-radius: var(--r-field);
  font-size: 16px; line-height: 1.3;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink);
}
.input:disabled, .select:disabled, .textarea:disabled {
  background: var(--sand); cursor: not-allowed; color: var(--muted);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--err-border); box-shadow: 0 0 0 1px var(--err-border);
}
.field-error {
  display: flex; gap: 6px; align-items: flex-start;
  font-size: 13px; line-height: 1.4; color: var(--err-text);
}
.field-error::before { content: "!"; flex: none; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 700; text-align: center; line-height: 13px; margin-top: 1px; }
.select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232A2622' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}

.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }

/* Buscador de traslados (formulario GET, funciona sin JS) */
.search-form {
  display: grid; gap: var(--s-4);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-6);
}
.search-form__grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .search-form__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .article-layout .search-form__grid { grid-template-columns: 1fr 1fr; } }
.search-form .btn-caps { justify-self: start; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(243, 238, 232, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(42, 38, 34, .06);
}
.site-header__inner {
  height: 100%; max-width: var(--container-header); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; gap: var(--s-4);
}
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: 132px; height: auto; }
body { padding-top: var(--header-h); }

.nav-pill { display: none; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }

.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255,255,255,.4); }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 32px; padding: 0 8px;
  font-size: 10.5px; letter-spacing: .08em; color: var(--nav-link); text-decoration: none; border-radius: var(--r-pill);
  font-weight: 500;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang-switch a:focus-visible { outline-offset: 0; }

.burger {
  width: 44px; height: 44px; display: inline-grid; place-items: center; background: transparent; border: 0; border-radius: var(--r);
}
.burger svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 420px) { .lang-switch a { min-width: 32px; padding: 0 5px; } .logo img { width: 120px; } }

@media (min-width: 1024px) {
  .burger, .drawer { display: none !important; }
  .nav-pill {
    display: block; margin-inline: auto;
    background: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-nav); padding: 4px 4px 4px 10px;
  }
  .nav-pill > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
  .nav-pill li { position: relative; }
  .nav-pill a.nav-link {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
    font-size: 13px; color: var(--nav-link); text-decoration: none; border-radius: var(--r-pill);
  }
  .nav-pill a.nav-link:hover, .nav-pill li:focus-within > a.nav-link { color: var(--ink); background: var(--light-2); }
  .nav-pill a.nav-link[aria-current="page"] { color: var(--ink); font-weight: 500; }
  .nav-pill .btn-caps { margin-left: 4px; border-radius: var(--r-pill); min-height: 40px; padding: 0 18px; }
  .header-right { margin-left: 0; }

  /* Desplegable accesible: abre con hover y con foco dentro */
  .has-sub > .sub {
    position: absolute; left: 0; top: calc(100% + 10px); min-width: 260px; list-style: none;
    background: #fff; border-radius: 10px; box-shadow: var(--sh-nav); border: 1px solid var(--line);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { display: block; padding: 9px 12px; font-size: 13px; color: var(--nav-link); text-decoration: none; border-radius: var(--r); }
  .sub a:hover { background: var(--light-2); color: var(--ink); }
  .sub--cols { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---------- Drawer móvil ---------- */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--light);
  overflow-y: auto; padding: var(--s-4) var(--pad) var(--s-12);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer ul { list-style: none; }
.drawer > ul > li { border-bottom: 1px solid var(--line); }
.drawer a.d-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--serif); font-size: 24px; color: var(--ink); text-decoration: none;
}
.drawer .d-sub { display: grid; gap: 2px; padding: 0 0 var(--s-4) var(--s-2); }
.drawer .d-sub a { display: block; padding: 8px 0; font-size: 15px; color: var(--nav-link); text-decoration: none; min-height: 44px; }
.drawer .btn-caps { margin-top: var(--s-6); width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: var(--s-5) 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--nav-link); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--muted-2); }
.breadcrumbs a { color: var(--nav-link); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Cabecera de página ---------- */
.page-head { padding-block: var(--s-8) var(--s-8); }
.page-head h1 { max-width: 18ch; }
@media (min-width: 768px) { .page-head h1 { max-width: 20ch; } }
.page-head .meta { margin-top: var(--s-4); }

/* ---------- Respuesta corta ---------- */
.answer {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-6);
}
.answer .eyebrow { margin-bottom: var(--s-2); }
.answer p { font-size: 18px; line-height: 1.6; margin: 0; }
.answer p + p { margin-top: var(--s-3); }
.answer strong { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .answer { padding: var(--s-8); } .answer p { font-size: 20px; } }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 1000px) { .cta-row--mobile { display: none; } }

/* ---------- Tabla de datos ---------- */
.table-wrap {
  position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--light-2);
  /* sombra de overflow a la derecha en móvil */
  background-image: linear-gradient(to right, var(--light-2), var(--light-2)), linear-gradient(to right, var(--light-2), var(--light-2)), linear-gradient(to right, rgba(42,38,34,.14), rgba(42,38,34,0)), linear-gradient(to left, rgba(42,38,34,.14), rgba(42,38,34,0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat; background-size: 24px 100%, 24px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}
.data-table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.data-table caption { text-align: left; padding: var(--s-4) var(--s-4) var(--s-3); font-family: var(--serif); font-size: 21px; line-height: 1.35; caption-side: top; }
.data-table th, .data-table td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th {
  background: var(--sand); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  border-top: 0;
}
.data-table tbody th { font-weight: 500; color: var(--ink); min-width: 150px; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.table-note { margin-top: var(--s-3); font-size: 14px; color: var(--ink); line-height: 1.6; }

/* ---------- FAQ (acordeón accesible; el contenido siempre está en el DOM) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-size: inherit; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-4) 0; background: none; border: 0; text-align: left;
  font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--ink);
}
.faq__btn:hover { color: #000; }
.faq__btn::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2622' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  transition: transform .3s var(--ease);
}
.faq__btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq__a { padding: 0 0 var(--s-6); max-width: var(--narrow); }
.faq__a p { font-size: 16px; line-height: 1.75; }
.faq__a[hidden] { display: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3);
}
.card h3 { margin: 0; font-size: 24px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
.card .meta { margin: 0; }
.card--link { text-decoration: none; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.card--link:hover { border-color: var(--ink); }
.card .price { font-family: var(--sans); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

/* Enlaces relacionados */
.related { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
.related a.card h3 { font-size: 22px; }

/* ---------- Foto y placeholder ---------- */
.photo { margin: 0; }
.photo img { width: 100%; object-fit: cover; border-radius: var(--r); background: var(--ph-1); }
.photo figcaption { margin-top: var(--s-2); font-size: 12px; color: var(--nav-link); line-height: 1.5; }
.photo--hero { aspect-ratio: 16 / 10; }
.photo--43 { aspect-ratio: 4 / 3; }

.ph {
  position: relative; display: grid; place-items: center; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--ph-1), var(--ph-2)); border-radius: var(--r);
  color: var(--ink); padding: var(--s-6);
}
.ph--16x10 { aspect-ratio: 16 / 10; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph__name { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; line-height: 1.5; word-break: break-all; background: rgba(252,250,248,.7); padding: 6px 10px; border-radius: var(--r); }
.ph__tag { position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.45); color: #fff; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r); }

/* ---------- Caja Reservar ---------- */
.book-box {
  background: var(--ink-2); color: var(--cream); border-radius: 10px; padding: var(--s-7);
  display: grid; gap: var(--s-4);
}
.book-box p { margin: 0; }
.book-box .eyebrow { color: var(--gold-on-dark); margin: 0; }
.book-box__price { font-family: var(--serif); font-size: 40px; line-height: 1.05; font-weight: 300; color: var(--cream); }
.book-box__price small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: rgba(252,250,248,.78); margin-bottom: 4px; }
.book-box__note { font-size: 13px; line-height: 1.6; color: rgba(252,250,248,.78); margin: 0; }
.book-box .btn-pill, .book-box .btn-wa { width: 100%; }
.book-box__list { list-style: none; display: grid; gap: 6px; font-size: 14px; color: rgba(252,250,248,.88); border-top: 1px solid rgba(252,250,248,.14); padding-top: var(--s-4); }
.book-box__list li { display: flex; justify-content: space-between; gap: var(--s-3); font-variant-numeric: tabular-nums; }
.book-box__list li span:last-child { color: var(--cream); font-weight: 500; white-space: nowrap; }

/* ---------- Pasos numerados ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s-4); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: var(--s-4); align-items: start; padding: 0 !important; margin: 0 !important; }
.steps > li::before {
  content: counter(step); position: static !important; width: 44px !important; height: 44px !important; border-radius: 50% !important;
  background: transparent !important; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1;
}
.steps h3 { font-size: 21px; margin: 4px 0 2px; }
.steps p { margin: 0; font-size: 15px; }

/* ---------- Aviso de guía independiente ---------- */
.notice {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  padding: var(--s-4) var(--s-5); font-size: 14px; line-height: 1.6; color: var(--ink);
}

/* ---------- Banner de traslados (oro con mesura) ---------- */
.band {
  background: var(--band-dark); color: var(--cream); padding-block: var(--s-10);
}
.band h2 { color: var(--cream); font-size: 34px; margin-bottom: var(--s-3); }
.band h2 em { color: var(--gold-on-dark); }
.band p { color: rgba(252,250,248,.82); max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--cream); padding-block: var(--s-12) var(--s-8); }
.site-footer a { color: rgba(252,250,248,.82); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-9); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 150px; height: auto; margin-bottom: var(--s-5); }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(252,250,248,.78); max-width: 38ch; }
.footer-col h2 { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-on-dark); margin: 0 0 var(--s-4); font-weight: 400; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a { display: inline-block; padding: 6px 0; font-size: 14px; min-height: 32px; }
.footer-legal {
  margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid rgba(252,250,248,.14);
  font-size: 13px; line-height: 1.7; color: rgba(252,250,248,.78); display: grid; gap: var(--s-2);
}
.footer-legal strong { color: var(--cream); font-weight: 500; }

/* ---------- WhatsApp flotante ---------- */
.fab-wa {
  position: fixed; z-index: 90; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--wa-ink);
  display: grid; place-items: center; box-shadow: var(--sh-wa); text-decoration: none;
  transition: transform .3s var(--ease);
}
.fab-wa:hover { transform: scale(1.05); }
.fab-wa:focus-visible { outline-color: var(--ink); }
.fab-wa svg { width: 28px; height: 28px; fill: currentColor; }
/* Si hay FAB de carrito va ARRIBA: bottom: calc(86px + env(safe-area-inset-bottom)) */

/* ---------- Sin JavaScript ---------- */
.no-js-note { display: none; }
html:not(.js) .no-js-note { display: block; }
html:not(.js) .drawer { display: none; }
html:not(.js) .burger { display: none; }

.page-body { padding-bottom: var(--s-12); }
.footer-legal p { margin: 0; }

/* ---- Fase 2: carrito, pago, admin ---- */
.cart-list { list-style: none; padding: 0; margin: 0 0 var(--s-6); }
.cart-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: var(--s-3) var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line, #E2D9CD); }
.cart-line .meta { grid-column: 1 / -1; }
.cart-line .input { width: 5rem; }
.cart-total { font-size: 20px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--nav-link, #57504A); text-decoration: underline; cursor: pointer; }
.btn-caps--ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
#pix-qr { display: block; margin: var(--s-4) 0; max-width: 100%; height: auto; }
fieldset.field { border: 0; padding: 0; }
fieldset.field label { display: block; margin: .3em 0; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 1fr auto; } }

/* ---- Ficha de paseo: formulario de reserva en la columna lateral ---- */
.add-form { display: grid; gap: var(--s-4); margin-top: var(--s-4); }
.add-form .btn-pill { width: 100%; justify-content: center; }
#add-msg { min-height: 1.4em; margin: 0; font-size: 14px; }
.price-strike { text-decoration: line-through; color: var(--muted); }

.island-map{height:420px;border-radius:12px;background:#e8e2da;margin:1rem 0}

/* ===== Look institucional de portal de destino ===== */
.logo--text { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; text-decoration: none; color: var(--ink); }
.logo--text strong { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: .01em; }
.logo--text small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-header { border-bottom: 1px solid var(--line); }
.nav-pill .btn-caps { background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.nav-pill .btn-caps:hover { background: var(--ink); color: var(--cream); }
.footer-title { font-family: var(--serif); font-size: 28px; color: var(--cream); margin: 0 0 8px; }
.footer-sign { font-size: 13px; opacity: .8; }
.footer-sign a { color: inherit; text-decoration: underline; }
/* La caja de reserva pasa a ser una nota discreta */
.book-box { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: var(--s-5); box-shadow: none; }
.book-box .eyebrow { color: var(--muted); }
.book-box__price { color: var(--ink); font-size: 30px; }
.book-box__price small, .book-box__note { color: var(--muted); }
.book-box__list { color: var(--ink); border-top-color: var(--line); }
.book-box__list li span:last-child { color: var(--ink); }
.book-box label, .book-box .add-form label { color: var(--ink); }
.book-box .btn-pill { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.book-box .btn-pill:hover { background: var(--ink); color: var(--cream); }
.fab-wa { width: 48px; height: 48px; opacity: .92; }
/* Portada */
.home-hero { background: linear-gradient(135deg, #1F1C19 0%, #3a332c 55%, #5a4d3f 100%); color: var(--cream); padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.home-hero .eyebrow { color: var(--gold-on-dark); }
.home-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 104px); line-height: 1; margin: 12px 0 24px; color: var(--cream); }
.home-hero h1 em { display: block; color: var(--gold-on-dark); font-size: .45em; margin-top: 12px; }
.home-hero .answer { background: transparent; border: 0; padding: 0; max-width: 640px; color: rgba(252,250,248,.9); }
.home-hero .answer .eyebrow { display: none; }
.home-hero .answer p { font-size: 19px; line-height: 1.6; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-4); margin: var(--s-6) 0; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: var(--s-5); text-decoration: none; color: var(--ink); min-height: 150px; }
.tile:hover { border-color: var(--ink); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .eyebrow { margin: 0 0 12px; }
.home-section { padding-block: var(--s-7); }
.home-section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); margin: 0 0 var(--s-4); }
.reserve-strip { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-6) 0; }
.reserve-strip .container { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.reserve-strip p { margin: 0; max-width: 560px; }

/* ===== Maqueta de portal: hero a sangre, árbol lateral, galerías ===== */
.hero { position: relative; color: var(--cream); overflow: hidden; min-height: clamp(300px, 38vw, 460px); display: flex; align-items: flex-end; }
.hero--home { min-height: clamp(460px, 62vw, 720px); }
.hero__ph, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__ph { background: repeating-linear-gradient(135deg, #6b6258 0 18px, #5f564d 18px 36px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.25) 0%, rgba(20,18,16,.72) 100%); }
.hero__inner { position: relative; padding-block: var(--s-8); }
.hero h1 { color: var(--cream); font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; max-width: 18ch; margin: 8px 0 12px; }
.hero--home h1 { font-size: clamp(56px, 10vw, 128px); max-width: 12ch; }
.hero h1 em { color: var(--gold-on-dark); }
.hero--home h1 em { display: block; font-size: .36em; margin-top: 14px; }
.hero .eyebrow { color: var(--gold-on-dark); }
.hero .meta { color: rgba(252,250,248,.75); }
.hero .answer { background: transparent; border: 0; padding: 0; max-width: 640px; color: rgba(252,250,248,.92); }
.hero .answer .eyebrow { display: none; }
.hero .answer p { font-size: 19px; line-height: 1.6; }
.hero__ph .ph__tag, .gal__ph .ph__tag, .tile__ph .ph__tag { position: static; background: rgba(20,18,16,.78); color: var(--cream); padding: 6px 12px; border-radius: 3px; font-size: 11px; letter-spacing: .14em; }
.hero__ph .ph__name, .gal__ph .ph__name, .tile__ph .ph__name { position: static; font-family: ui-monospace, monospace; font-size: 11px; background: rgba(252,250,248,.9); color: var(--ink); padding: 3px 8px; border-radius: 3px; }
.breadcrumbs--light, .breadcrumbs--light a, .breadcrumbs--light li, .breadcrumbs--light li::after { color: rgba(252,250,248,.85); }
.portal-layout { display: grid; gap: var(--s-8); padding-block: var(--s-8); grid-template-columns: minmax(0, 1fr); }
.portal-layout > * { min-width: 0; }
@media (min-width: 1000px) { .portal-layout { grid-template-columns: 290px minmax(0, 1fr); } .portal-side { position: sticky; top: calc(var(--header-h) + var(--s-4)); align-self: start; max-height: calc(100vh - var(--header-h) - 2rem); overflow: auto; } }
.portal-layout .prose { max-width: 860px; }
.side-tree { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: var(--s-4) 0; margin-bottom: var(--s-4); }
.side-tree__t { font-family: var(--serif); font-size: 22px; margin: 0; padding: 0 var(--s-5) var(--s-3); border-bottom: 1px solid var(--line); }
.side-tree ul { list-style: none; margin: 0; padding: 0; }
.side-tree > ul > li { border-bottom: 1px solid var(--line); }
.side-tree > ul > li:last-child { border-bottom: 0; }
.side-tree a { display: block; padding: 10px var(--s-5); color: var(--ink); text-decoration: none; font-size: 15px; }
.side-tree a:hover, .side-tree a[aria-current="page"] { background: var(--sand); font-weight: 600; }
.side-tree summary { cursor: pointer; list-style: none; display: flex; align-items: center; }
.side-tree summary::-webkit-details-marker { display: none; }
.side-tree summary a { flex: 1; }
.side-tree summary::after { content: "›"; padding: 0 var(--s-5); color: var(--muted); transform: rotate(90deg); }
.side-tree details[open] > summary::after { transform: rotate(-90deg); }
.side-tree details ul a { padding-left: calc(var(--s-5) + 14px); font-size: 14px; color: var(--muted); }
@media (max-width: 999px) { .side-tree details ul { display: none; } .side-tree > ul { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--s-3); } .side-tree > ul > li { border: 0; } .side-tree a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; } .side-tree summary::after { display: none; } .side-tree__t { display: none; } }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-3); margin-block: var(--s-8); }
.gal__item { margin: 0; }
.gal__ph, .tile__ph { background: repeating-linear-gradient(135deg, #cfc6ba 0 14px, #d6cdc1 14px 28px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 4 / 3; border-radius: 8px; text-align: center; padding: var(--s-3); }
.gal__item:first-child .gal__ph { aspect-ratio: 16 / 10; height: 100%; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.tile--img { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.tile--img .tile__ph { border-radius: 0; aspect-ratio: 16 / 10; }
.tile__body { padding: var(--s-5); }
.portal-side .book-box { margin-bottom: var(--s-4); }
.hero__ph { align-items: flex-end; justify-content: flex-start; padding: var(--s-6) var(--s-6); }
.breadcrumbs--light [aria-current="page"] { color: var(--cream); }
