/* Páginas por búsqueda (tirolesas, niños): siguen DESIGN.md y los colores de css/sitio.css. */
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display-italic.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400 800; font-display: swap; src: url(/fonts/eb-garamond.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url(/fonts/montserrat.woff2) format("woff2"); }

:root {
  --sand: #DFD1B8; --forest: #4A5436; --leaf: #94AB67; --bark: #62553C; --mist: #D6E6B5;
  --ink: #232A1B; --deep: #2C341F; --paper: #F2EBDC;
  --line: rgba(35, 42, 27, .18); --line-light: rgba(242, 235, 220, .28);
  --display: "Playfair Display", Georgia, serif;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.25rem/1.5 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.salto { position: absolute; left: 16px; top: -80px; z-index: 30; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 999px; font: 600 .875rem var(--sans); }
.salto:focus { top: 12px; }

.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; }
h1 em, h2 em { color: var(--mist); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 em { color: var(--forest); }
.oscuro h2 em { color: var(--mist); }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0; }
.label { display: block; font: 700 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bark); margin-bottom: 14px; }
.oscuro .label { color: var(--leaf); }
.cabeza { max-width: 680px; margin-bottom: 40px; }
.cabeza p { margin-top: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; font: 700 .9375rem var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s; }
.btn.primario { background: var(--leaf); color: var(--deep); }
.btn.primario:hover { background: var(--mist); }
.btn.borde { border-color: currentColor; }
.btn.borde:hover { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.portada .btn.borde:hover { background: var(--paper); color: var(--deep); border-color: var(--paper); }

/* Encabezado sobre la foto */
.barra { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: var(--paper); }
.barra img { width: 96px; }
.barra nav a { font: 600 .875rem var(--sans); text-decoration: none; padding: 12px 0; }
.barra nav a:hover { text-decoration: underline; }

/* Portada: la foto y el texto no se enciman, para que siempre se vea quien va volando */
.portada { position: relative; padding: 0; color: var(--paper); background: var(--deep); }
.portada > img { width: 100%; height: 44svh; object-fit: cover; object-position: 50% 62%; }
.portada::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 110px; background: linear-gradient(180deg, rgba(28,34,19,.65), rgba(28,34,19,0)); }
.portada .wrap { position: relative; z-index: 2; padding-top: 24px; padding-bottom: 40px; }
.portada .label { color: var(--leaf); }
.portada h1 { font-size: clamp(2.5rem, 11vw, 5.25rem); }
.portada .bajada { margin-top: 14px; max-width: 34ch; font-size: 1.375rem; line-height: 1.35; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.nota { margin-top: 14px; font: 600 .875rem/1.4 var(--sans); }
.nota a { display: inline-block; padding: 8px 0; text-underline-offset: 3px; }

/* Datos rápidos */
.datos { background: var(--deep); color: var(--paper); padding: 0; }
.datos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.datos li { padding: 24px 20px; border-top: 1px solid var(--line-light); }
.datos li:nth-child(odd) { border-right: 1px solid var(--line-light); }
.datos b { display: block; font: 500 2.25rem/1.1 var(--display); color: var(--mist); }
.datos span { display: block; margin-top: 6px; font: 500 .8125rem/1.35 var(--sans); }

/* Momentos */
.momentos { display: grid; gap: 48px; }
.momento img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.momento h3 { margin-top: 20px; }
.momento p { margin-top: 8px; }

/* Planes */
.planes-sec { background: var(--sand); }
.planes { display: grid; gap: 20px; }
.plan { background: var(--paper); padding: 28px 24px; display: flex; flex-direction: column; border-top: 4px solid var(--forest); }
.precio { margin-top: 12px; font: 500 3rem/1 var(--display); }
.precio small { display: block; margin-top: 8px; font: 600 .8125rem var(--sans); color: var(--bark); }
.plan ul { margin: 20px 0 24px; padding: 0; list-style: none; flex: 1; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.3; }
.plan .btn { width: 100%; }
.letra { margin-top: 24px; max-width: 680px; font-size: 1.125rem; }

/* Seguridad */
.oscuro { background: var(--forest); color: var(--paper); }
.dos { display: grid; gap: 36px; align-items: center; }
.arco { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.lista { list-style: none; margin: 24px 0 0; padding: 0; }
.lista li { padding: 14px 0; border-top: 1px solid var(--line-light); line-height: 1.3; }

/* Reseñas */
.nota-google { display: inline-flex; align-items: baseline; gap: 10px; font: 600 .875rem var(--sans); }
.nota-google b { font: 500 2.75rem/1 var(--display); }
.resenas { display: grid; gap: 28px; }
.resena { margin: 0; padding-top: 18px; border-top: 2px solid var(--deep); }
.resena blockquote { margin: 0; font-size: 1.375rem; line-height: 1.3; }
.resena figcaption { margin-top: 14px; font: 600 .8125rem/1.4 var(--sans); color: var(--bark); }

/* Llegar */
.llegar-sec { padding-top: 0; }
.columnas { display: grid; gap: 28px; }
.columnas p { margin-top: 8px; }

/* Preguntas */
.preguntas-sec { background: var(--sand); }
.preguntas { max-width: 780px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 0; font: 600 1rem/1.35 var(--sans); }
details p { padding-bottom: 20px; }

/* Sigue explorando */
.explora { display: grid; gap: 28px; }
.tarjeta { display: block; text-decoration: none; }
.tarjeta img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tarjeta h3 { margin-top: 14px; }
.tarjeta:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.tarjeta p { margin-top: 4px; font-size: 1.125rem; }

/* Pie */
.pie { background: var(--deep); color: var(--paper); padding: 48px 0 112px; font: 500 .875rem/1.6 var(--sans); }
.pie img { width: 110px; margin-bottom: 18px; }
.pie a { color: var(--mist); }
.pie nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 10px; }
.pie nav a { display: inline-block; padding: 8px 0; }

/* Barra fija en celular */
.fija { position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--deep); }
.fija .btn { min-height: 48px; padding: 10px 12px; }
.fija .borde { color: var(--paper); }

@media (min-width: 720px) {
  section { padding: 88px 0; }
  .llegar-sec { padding-top: 0; }
  .wrap { padding: 0 32px; }
  .barra { padding: 20px 32px; }
  .datos ul { grid-template-columns: repeat(4, 1fr); padding: 0 32px; }
  .datos li:first-child { padding-left: 0; }
  .datos li { padding: 28px 24px; border-top: 0; border-right: 1px solid var(--line-light); }
  .datos li:last-child { border-right: 0; }
  .momentos { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .momento:nth-child(2) { margin-top: 56px; }
  .planes, .explora { grid-template-columns: repeat(2, 1fr); }
  .dos { grid-template-columns: 2fr 3fr; gap: 56px; }
  .resenas, .columnas { grid-template-columns: repeat(3, 1fr); }
  .explora { grid-template-columns: repeat(3, 1fr); }
  .fija { display: none; }
  .pie { padding-bottom: 48px; }
  .portada { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 100svh; }
  .portada > img { order: 2; height: 100%; position: absolute; inset: 0 0 0 auto; width: 50%; object-position: 50% 58%; }
  .portada::before { display: none; }
  .barra nav a { background: rgba(28,34,19,.6); padding: 10px 16px; border-radius: 999px; }
  .portada .wrap { grid-column: 1; width: auto; min-width: 0; padding: 110px 24px 56px 32px; }
  .portada h1 { font-size: clamp(2.5rem, 6.2vw, 5.25rem); }
  .datos b { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
}
@media (min-width: 1040px) {
  section { padding: 112px 0; }
  .llegar-sec { padding-top: 0; }
  .plan { padding: 36px; }
  .portada .wrap { padding-left: max(32px, calc((100vw - 1180px) / 2 + 32px)); padding-right: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Calendario de cruceros (huatulco-shore-excursions) */
.barcos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.barcos li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.barcos b { display: block; font: 700 1rem/1.3 var(--sans); }
.barcos span { display: block; font-size: 1.0625rem; color: var(--bark); }
.barcos .vuelta { font: 600 .8125rem/1.4 var(--sans); color: var(--forest); margin-top: 2px; }
.barcos .botones { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.chico { min-height: 44px; padding: 10px 18px; font-size: .875rem; }
.proximo { margin-top: 8px; font: 600 .875rem/1.4 var(--sans); color: var(--leaf); }
.proximo a { color: var(--mist); }
.historia-sec { background: var(--sand); }
.historia-sec p { margin-top: 16px; max-width: 60ch; }
.cifras { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 24px 0 8px; padding: 0; }
.cifras b { display: block; font: 500 2rem/1 var(--display); color: var(--forest); }
.cifras span { display: block; max-width: 18ch; margin-top: 6px; font: 600 .8125rem/1.35 var(--sans); color: var(--bark); }
@media (min-width: 720px) { .historia-sec .dos { grid-template-columns: 3fr 2fr; } }
