/* Marga Tour — base compartida por las 4 propuestas.
   Paleta y tipografías según el Manual de Identidad Visual 2026.
   Articulat CF y Adobe Handwriting Ernie son de licencia paga: acá se usan
   Hanken Grotesk y Sacramento como reemplazo provisorio. */
@import url('https://fonts.googleapis.com/css2?family=Tilt+Warp&family=League+Gothic&family=Hanken+Grotesk:wght@400;500;600;700&family=Sacramento&display=swap');

:root {
  --bordo: #4A1C2D;
  --crema: #EDEDDD;
  --rosa: #CEA1A1;
  --carbon: #2B2A27;
  --oliva: #AFAC66;
  --blanco: #FFFFFF;

  --f-titulo: 'Tilt Warp', 'Arial Black', sans-serif;
  --f-condensada: 'League Gothic', 'Arial Narrow', sans-serif;
  --f-texto: 'Articulat CF', 'Hanken Grotesk', system-ui, sans-serif;
  --f-mano: 'Adobe Handwriting Ernie', 'Sacramento', cursive;

  --ancho: 1180px;
  --borde: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-texto); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--oliva); outline-offset: 3px; border-radius: 4px; }

.contenedor { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.mano { font-family: var(--f-mano); font-weight: 400; text-transform: none; letter-spacing: 0; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--crema); color: var(--bordo); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.saltar:focus { top: 12px; }

/* Marca: los logos son máscaras, toman el color de `color` */
.logo, .logo-sec, .iso, .sello { display: inline-block; background: currentColor; flex: none;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.logo { --m: url(marca/logo-bajada.png); aspect-ratio: 1005 / 634; width: 180px; }
.logo-sec { --m: url(marca/logo-secundario.png); aspect-ratio: 1003 / 555; width: 150px; }
.iso { --m: url(marca/isotipo.png); aspect-ratio: 440 / 674; width: 42px; }
.sello { aspect-ratio: 704 / 680; width: 96px; }
.sello-pin { --m: url(marca/sello-1.png); }
.sello-cartel { --m: url(marca/sello-2.png); }
.sello-mapa { --m: url(marca/sello-3.png); }
.sello-estrellas { --m: url(marca/sello-4.png); }
.sello-montana { --m: url(marca/sello-5.png); }
.sello-accesible { --m: url(marca/sello-6.png); }
.sello-combi { --m: url(marca/sello-7.png); }
.sello-camara { --m: url(marca/sello-8.png); }
.sello-copas { --m: url(marca/sello-9.png); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-bordo { background: var(--bordo); color: var(--crema); }
.btn-crema { background: var(--crema); color: var(--bordo); }
.btn-rosa { background: var(--rosa); color: var(--carbon); }
.btn-oliva { background: var(--oliva); color: var(--carbon); }
.btn-linea { border-color: currentColor; background: transparent; }

/* Semáforo de accesibilidad */
.semaforo { display: grid; gap: 14px; }
.semaforo li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.semaforo i { width: 22px; height: 22px; border-radius: 50%; margin-top: 3px; border: 2px solid currentColor; }
.semaforo .verde { background: #5E9B57; }
.semaforo .amarillo { background: #E2B93B; }
.semaforo .rojo { background: #C2493D; }
.semaforo b { display: block; }

/* WhatsApp flotante */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; }

/* Pie común */
.pie { padding: 64px 0 32px; }
.pie__grilla { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.pie h3 { font-family: var(--f-texto); font-size: 14px; font-weight: 700; margin-bottom: 12px; opacity: .75; }
.pie li + li { margin-top: 6px; }
.pie a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pie__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); font-size: 14px; opacity: .8; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .pie__grilla { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

[id] { scroll-margin-top: 96px; }

/* El texto solo para lectores de pantalla queda anclado a su enlace (si no, desborda la tira deslizable) */
.exp__a { position: relative; }

/* Tarjeta de experiencia: precio, etiquetas y acciones */
.exp__cat { flex-wrap: wrap; }
.exp__ad, .exp__pet { border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.exp__ad { background: var(--oliva); color: var(--carbon); }
.exp__pet { background: var(--rosa); color: var(--carbon); }
.exp__precio { font-size: 15px; margin-bottom: 16px; }
.exp__precio b { font-family: var(--f-titulo); font-weight: 400; font-size: 26px; margin-right: 4px; }
.exp__acciones { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.exp__ver { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: var(--bordo); color: var(--crema); font-weight: 600; font-size: 15px; }

/* Ventana de detalle de una experiencia */
.detalle { border: 0; padding: 0; border-radius: 28px; background: var(--crema); color: var(--bordo); width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overscroll-behavior: contain; }
.detalle::backdrop { background: rgba(74, 28, 45, .7); }
.detalle img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detalle__txt { padding: 24px 28px 28px; }
.detalle .exp__cat { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; }
.detalle h3 { font-family: var(--f-titulo); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 5vw, 36px); line-height: 1; margin: 10px 0 6px; }
.detalle h4 { font-size: 15px; font-weight: 700; margin: 20px 0 4px; }
.detalle ul { list-style: disc; padding-left: 20px; }
.detalle li + li { margin-top: 6px; }
.detalle__nota { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: var(--oliva); color: var(--carbon); font-weight: 600; }
.detalle__botones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.detalle__x { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--crema); color: var(--bordo); font-size: 18px; font-weight: 700; }
.exp__ver { position: relative; }
