/* ==========================================================================
   Viajes Intelisset — sitio público. Base, encabezado, pie y página del viaje.
   Los componentes de la marca (lista de viajes, ficha, plan de pago, pasos, testimonios) están en
   linea.css y el globo en mundo.css; ambos vienen del tema original y miden en rem con 1rem = 10px.
   Sistema: esmalte blanco, tinta #1C1C1C, un color por línea, Archivo (ver DESIGN.md).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1.6rem; line-height: 1.6; font-weight: var(--font-body-weight); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-heading-family); font-weight: var(--font-heading-weight); line-height: 1.1; margin: 0; }
p { margin: 0 0 1.6rem; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
/* Solo los lados: varias secciones del tema ponen su propio espacio arriba y abajo en el mismo elemento */
.page-width { max-width: 120rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 750px) { .page-width { padding-left: 5rem; padding-right: 5rem; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 1rem; top: -10rem; z-index: 100; padding: 1rem 1.6rem; border-radius: 10px; background: var(--tinta); color: var(--esmalte); font-weight: 750; }
.saltar:focus { top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Encabezado: banda de señal ---------- */
.cab { background: var(--esmalte); }
.cab__barra { display: flex; align-items: center; gap: 3.2rem; min-height: 9.6rem; padding-top: 1rem; padding-bottom: 1rem; }
.cab__marca { display: inline-flex; align-items: center; gap: 1.2rem; text-decoration: none; flex: none; }
.cab__logo { width: 7rem; height: 7rem; object-fit: contain; }
.cab__marca span { font-family: var(--font-heading-family); font-weight: 900; font-stretch: 115%; font-size: 2rem; letter-spacing: -0.01em; white-space: nowrap; }
.cab__nav { display: flex; gap: 2.4rem; flex: 1; }
.cab__nav a { font-weight: 700; font-stretch: 108%; font-size: 1.6rem; text-decoration: none; padding: .6rem 0; }
.cab__nav a:hover, .cab__nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .35em; }
.cab__wa { display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 1.4rem .7rem .7rem; border-radius: 12px; background: var(--tinta); color: var(--esmalte); text-decoration: none; font-weight: 750; font-stretch: 105%; font-size: 1.4rem; white-space: nowrap; flex: none; }
.cab__wa .linea-picto { width: 2.8rem; height: 2.8rem; padding: .3rem; border-radius: .8rem; background: var(--wa); color: #fff; }
.cab__wa:hover { background: #000; }
.cab__aviso { display: block; background: var(--tinta); color: var(--esmalte); text-align: center; text-decoration: none; padding: calc(.9rem + 6px) 1.5rem 1rem; font-size: 1.4rem; font-weight: 650; font-stretch: 108%; letter-spacing: .02em; }
.cab__aviso:hover { text-decoration: underline; }
@media (max-width: 989px) {
  .cab__barra { flex-wrap: wrap; gap: .6rem 1.6rem; min-height: 0; }
  .cab__logo { width: 4.8rem; height: 4.8rem; }
  .cab__marca { flex: 1; }
  .cab__marca span { font-size: 1.8rem; }
  .cab__nav { order: 3; flex-basis: 100%; gap: 2rem; border-top: 2px solid var(--regla); padding-top: .4rem; }
  .cab__wa { padding: .7rem; }
  .cab__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Enlaces que se ven como los botones del tema ---------- */
a.lf__btn, a.ficha__btn, a.mundo-boton { text-decoration: none; }
a.lf__btn { display: inline-block; }
a.ficha__btn { box-sizing: border-box; }

/* ---------- Formulario para apartar con pago en línea ---------- */
.ficha__form--pago { display: grid; gap: 1.2rem; }
.ficha__campo { display: grid; gap: .4rem; font-size: 1.4rem; font-weight: 700; }
.ficha__campo input { width: 100%; min-height: 4.8rem; padding: .8rem 1.2rem; border: 2px solid var(--tinta); border-radius: 12px; background: var(--esmalte); font-size: 1.6rem; font-weight: 500; }
.ficha__campo input:focus-visible { outline-offset: 2px; }
.ficha__trampa { position: absolute; left: -999rem; width: 1px; height: 1px; overflow: hidden; }
.ficha__error { margin: 0; padding: 1.2rem 1.4rem; border: 2px solid #B3261E; border-radius: 12px; background: #FDECEA; color: #7A1410; font-weight: 650; }
.ficha__nota--pago { margin: 0; font-size: 1.3rem; color: var(--tinta-suave); }

/* ---------- Resultado de un apartado ---------- */
.estado__datos { margin: 2.4rem 0; padding: 0; border-top: 2px solid var(--tinta); max-width: 52rem; }
.estado__datos div { display: flex; justify-content: space-between; gap: 2rem; padding: 1rem 0; border-bottom: 2px solid var(--regla); }
.estado__datos dt { color: var(--tinta-suave); }
.estado__datos dd { margin: 0; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.estado__acciones { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 2.8rem 0 0; }

/* ---------- Preguntas frecuentes ---------- */
.faq { padding: clamp(4.8rem, 7vw, 8rem) 1.5rem; }
.faq__caja { max-width: 78rem; margin: 0 auto; }
.faq__titulo { font-size: clamp(3.2rem, 3.6vw, 5.2rem); font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; line-height: .95; margin-bottom: 3.2rem; }
.faq__item { border-top: 2px solid var(--regla); }
.faq__item:last-of-type { border-bottom: 2px solid var(--regla); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem .4rem; cursor: pointer; list-style: none; font-size: 1.8rem; font-weight: 750; font-stretch: 105%; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 2.8rem; font-weight: 500; line-height: 1; transition: rotate .25s var(--sale); }
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item summary:hover { background: var(--anden); }
.faq__item p { margin: 0; padding: 0 .4rem 2.2rem; max-width: 64ch; color: var(--tinta-suave); }
.faq__otra { margin: 2.4rem 0 0; font-size: 1.5rem; color: var(--tinta-suave); }
.faq__otra a { color: var(--tinta); font-weight: 750; }

/* ---------- Pie ---------- */
.pie { position: relative; background: var(--tinta); color: var(--esmalte); padding: 5.6rem 0 3.2rem; text-align: center; }
.pie::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, #00A3AD 0 12.5%, #F2B705 0 25%, #D7262D 0 37.5%, #0066B3 0 50%, #F07D00 0 62.5%, #00843D 0 75%, #7A2E86 0 87.5%, #C8006E 0); }
.pie__titulo { font-size: clamp(1.9rem, 1.8vw, 2.4rem); font-weight: 900; font-stretch: 112%; letter-spacing: -0.01em; max-width: 36ch; margin: 0 auto; }
.pie__junto { white-space: nowrap; }
.pie__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin: 2.4rem 0 0; }
.pie__boton { display: inline-flex; align-items: center; gap: .8rem; min-height: 4.8rem; padding: .7rem 1.8rem .7rem .8rem; border-radius: 12px; background: var(--esmalte); color: var(--tinta); text-decoration: none; font-weight: 750; font-stretch: 105%; font-size: 1.5rem; }
.pie__boton .linea-picto { width: 3.2rem; height: 3.2rem; padding: .4rem; border-radius: .8rem; background: var(--wa); color: #fff; }
.pie__boton--linea { background: transparent; color: var(--esmalte); border: 2px solid var(--esmalte); padding-left: 1.8rem; }
.pie__boton:hover { transform: translateY(-1px); }
.pie__legal { margin: 4rem 0 0; font-size: 1.3rem; color: #B9B9B4; }
.pie__legal a { color: inherit; }

/* ---------- Página de un viaje ---------- */
.viaje { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); column-gap: clamp(3.2rem, 5vw, 6.4rem); align-items: start; padding-top: 3.6rem; padding-bottom: 5.6rem; }
.viaje__media { position: sticky; top: 3rem; }
.viaje__flyer { display: block; width: 100%; border: 3px solid var(--tinta); border-radius: 14px; }
.viaje__titulo { font-size: clamp(2.6rem, 2.3vw, 3.4rem); font-weight: 900; font-stretch: 108%; line-height: 1.05; letter-spacing: -0.01em; margin: .6rem 0 1.6rem; }
.viaje__descripcion { font-size: 1.6rem; line-height: 1.6; margin-top: 3.2rem; }
.viaje__descripcion strong { font-weight: 800; }
.viaje__descripcion ul, .viaje__descripcion ol { margin: .8rem 0 1.6rem; padding-left: 2.4rem; }
.viaje__descripcion li { margin: .5rem 0; padding-left: .4rem; }
.viaje__descripcion li > p { margin: 0; display: inline; }
.viaje__descripcion h2, .viaje__descripcion h3 { font-size: 2rem; font-stretch: 108%; margin: 2.8rem 0 1rem; }
@media (max-width: 749px) {
  .viaje { grid-template-columns: minmax(0, 1fr); row-gap: 2.4rem; padding-top: 2rem; }
  .viaje__media { position: static; }
}

.otras { padding-top: 2.4rem; padding-bottom: 7.2rem; }
.otras__titulo { font-size: clamp(2.4rem, 2.2vw, 3rem); font-weight: 900; font-stretch: 112%; margin-bottom: 2.4rem; }
.otras__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem 1.6rem; }
.otra { display: grid; gap: .4rem; text-decoration: none; }
.otra img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; margin-bottom: .8rem; }
.otra__nombre { font-weight: 850; font-stretch: 108%; font-size: 1.6rem; line-height: 1.2; }
.otra:hover .otra__nombre { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--l); }
.otra__precio { font-size: 1.4rem; color: var(--tinta-suave); font-variant-numeric: tabular-nums; }
@media (max-width: 749px) { .otras__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Páginas de texto (contacto, privacidad, no encontrada) ---------- */
.texto { padding-top: clamp(3.2rem, 5vw, 6.4rem); padding-bottom: clamp(4.8rem, 7vw, 8rem); }
.texto__titulo { font-size: clamp(3.4rem, 4vw, 5.6rem); font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; line-height: .95; margin-bottom: 2.8rem; }
.texto__cuerpo { max-width: 72ch; }
.texto__cuerpo h2 { font-size: 2.4rem; font-stretch: 110%; margin: 3.6rem 0 1.2rem; }
.texto__cuerpo h3 { font-size: 1.9rem; font-stretch: 108%; margin: 2.8rem 0 1rem; }
.texto__cuerpo ul, .texto__cuerpo ol { padding-left: 2.4rem; margin: 0 0 1.6rem; }
.texto__cuerpo li { margin: .5rem 0; }
.texto__cuerpo .contacto { list-style: none; margin: 2.8rem 0 0; padding: 0; display: grid; gap: 1.2rem; max-width: 52rem; }
.contacto__medio { display: flex; align-items: center; gap: 1.6rem; padding: 1.4rem 1.6rem; border: 2px solid var(--tinta); border-radius: 14px; text-decoration: none; transition: background-color .2s var(--sale); }
.contacto__medio:hover { background: var(--anden); }
.contacto__medio .linea-picto { width: 4.4rem; height: 4.4rem; padding: .7rem; border-radius: 1rem; background: var(--tinta); color: var(--esmalte); flex: none; }
.contacto__medio span { display: grid; font-size: 1.6rem; color: var(--tinta-suave); }
.contacto__medio strong { font-size: 1.7rem; font-weight: 850; font-stretch: 108%; color: var(--tinta); }
