/* ============================================================
   Primavera en el Corazón de Europa — hoja de estilos
   Paleta: verde alpino, cielo de primavera, flor de cerezo, crema
   ============================================================ */

:root {
  /* superficie */
  --bg:            #fbf7f1;
  --bg-2:          #f4ede3;
  --surface:       #ffffff;
  --surface-2:     #fdfaf5;
  --line:          #e6dccd;
  --line-soft:     #f0e8dc;

  /* tinta */
  --ink:           #23301f;
  --ink-2:         #4a5a48;
  --ink-3:         #7d8a7c;

  /* acentos */
  --green:         #2f5d50;
  --green-2:       #3f7a67;
  --green-soft:    #e3efe8;
  --blossom:       #d4757f;
  --blossom-soft:  #fbe9ea;
  --sky:           #4a7fa8;
  --sky-soft:      #e6eff5;
  --gold:          #b08a3e;

  --radius:        18px;
  --radius-sm:     12px;
  --shadow:        0 1px 2px rgba(35,48,31,.05), 0 8px 24px -12px rgba(35,48,31,.22);
  --shadow-lg:     0 2px 6px rgba(35,48,31,.06), 0 28px 60px -24px rgba(35,48,31,.34);

  --font-display:  ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body:     system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --tabbar-h:      calc(60px + env(safe-area-inset-bottom));
  --maxw:          980px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #14180f;
    --bg-2:        #1b2016;
    --surface:     #1e241a;
    --surface-2:   #232a1e;
    --line:        #333c2c;
    --line-soft:   #2a3123;
    --ink:         #ecf0e6;
    --ink-2:       #b7c2b2;
    --ink-3:       #8d998a;
    --green:       #7fc0a6;
    --green-2:     #9ad3ba;
    --green-soft:  #27342c;
    --blossom:     #e8a0a8;
    --blossom-soft:#38262a;
    --sky:         #8ab6d6;
    --sky-soft:    #23303a;
    --gold:        #d8b26a;
    --shadow:      0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
    --shadow-lg:   0 2px 6px rgba(0,0,0,.45), 0 28px 60px -24px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"] {
  --bg:#14180f; --bg-2:#1b2016; --surface:#1e241a; --surface-2:#232a1e;
  --line:#333c2c; --line-soft:#2a3123;
  --ink:#ecf0e6; --ink-2:#b7c2b2; --ink-3:#8d998a;
  --green:#7fc0a6; --green-2:#9ad3ba; --green-soft:#27342c;
  --blossom:#e8a0a8; --blossom-soft:#38262a;
  --sky:#8ab6d6; --sky-soft:#23303a; --gold:#d8b26a;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
  --shadow-lg:0 2px 6px rgba(0,0,0,.45), 0 28px 60px -24px rgba(0,0,0,.8);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--tabbar-h);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: var(--green); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   PORTADA
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 20px calc(56px + env(safe-area-inset-bottom));
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background-image: url('../img/lauterbrunnen.jpg');
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.06);
  animation: slowpan 40s ease-in-out infinite alternate;
}
@keyframes slowpan {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(0,-1.5%,0); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(14,28,22,.62) 0%, rgba(14,28,22,.34) 34%, rgba(14,28,22,.58) 72%, var(--bg) 100%),
    radial-gradient(120% 70% at 50% 12%, rgba(0,0,0,.28), transparent 70%);
}

/* pétalos */
.petals { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.petals span {
  position: absolute; top: -8vh;
  width: 10px; height: 10px; border-radius: 12px 2px 12px 2px;
  background: rgba(255, 221, 226, .85);
  opacity: 0;
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { opacity: 0; transform: translate3d(0,0,0) rotate(0deg); }
  8%   { opacity: .9; }
  100% { opacity: 0; transform: translate3d(var(--dx, 60px), 112vh, 0) rotate(540deg); }
}

.hero-inner { position: relative; text-align: center; max-width: 640px; color: #fff; }

.hero-kicker {
  margin: 0 0 18px;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.hero-kicker::before, .hero-kicker::after {
  content: ""; display: inline-block; width: 26px; height: 1px;
  background: rgba(255,255,255,.55); vertical-align: middle; margin: 0 12px 4px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero-title span { font-style: italic; color: #ffe2e6; }

.hero-sub {
  margin: 0 0 30px;
  font-size: .95rem; letter-spacing: .06em;
  color: rgba(255,255,255,.9);
}

.countdown { display: flex; justify-content: center; gap: 8px; margin-bottom: 6px; }
.cd-unit {
  min-width: 68px; padding: 10px 6px 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cd-unit b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 400; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-unit span { display: block; margin-top: 4px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.cd-label { margin: 0 0 28px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }

.hero-stats { display: flex; justify-content: center; gap: 30px; margin-bottom: 34px; }
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.hero-stats span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .76; }

.hero-scroll {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff; text-decoration: none;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   SECCIONES
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 20px;
  scroll-margin-top: 12px;
}
.section + .section { border-top: 1px solid var(--line-soft); }

.eyebrow {
  margin: 0 0 10px;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blossom); font-weight: 600;
}
.display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 5.4vw, 2.5rem);
  line-height: 1.16; letter-spacing: -.01em;
  margin: 0 0 22px; color: var(--ink);
}
.lede { font-size: 1.06rem; color: var(--ink-2); margin: 0 0 16px; }
.body { color: var(--ink-2); margin: 0 0 16px; }
.narrow { max-width: 62ch; }
.note { font-size: .86rem; color: var(--ink-3); }
.empty { text-align: center; color: var(--ink-3); padding: 30px 0; }

.intro-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid transparent;
  font-size: .92rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-2); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--green); color: var(--green); }
.btn.tiny { padding: 8px 14px; font-size: .82rem; }

/* ============================================================
   FILTROS
   ============================================================ */
.filters {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 2px 20px 14px; margin: 0 -20px 6px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: .85rem; font-weight: 500; color: var(--ink-2);
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px;
  width: 2px; background: linear-gradient(180deg, var(--green-soft), var(--line), var(--blossom-soft));
  border-radius: 2px;
}
.day { position: relative; margin-bottom: 14px; }
.day::before {
  content: ""; position: absolute; left: -29px; top: 26px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--green);
  box-shadow: 0 0 0 4px var(--bg);
}
.day.hito::before { background: var(--green); }
.day.star::before { background: var(--blossom); border-color: var(--blossom); }

.day-card {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px;
  align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 16px 16px 18px;
  cursor: pointer; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.day-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--green); }

.day-meta { grid-column: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.day-num {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  padding: 3px 9px; border-radius: 999px;
}
.day-date { font-size: .78rem; color: var(--ink-3); }
.day-flags { font-size: .82rem; letter-spacing: 1px; }

.day-title {
  grid-column: 1;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.22rem; line-height: 1.25; margin: 0 0 4px;
  color: var(--ink);
}
.day-sum { grid-column: 1; margin: 0; font-size: .89rem; color: var(--ink-2); }

.day-thumb {
  grid-column: 2; grid-row: 1 / span 3;
  width: 78px; height: 78px; border-radius: 14px;
  object-fit: cover; background: var(--bg-2);
}
.day-chevron {
  grid-column: 2; grid-row: 1 / span 3;
  width: 78px; display: grid; place-items: center; color: var(--ink-3);
}

.day-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: .7rem; padding: 3px 9px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line-soft);
}
.tag.inc { background: var(--green-soft); color: var(--green); border-color: transparent; font-weight: 600; }
.tag.hotel { background: var(--sky-soft); color: var(--sky); border-color: transparent; }

/* ============================================================
   HOJA DE DETALLE (modal)
   ============================================================ */
.sheet { position: fixed; inset: 0; z-index: 200; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(18,26,16,.55); backdrop-filter: blur(3px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }

.sheet-panel {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(720px, 100%); max-height: 92svh;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden auto;
  overscroll-behavior: contain;
  animation: rise .28s cubic-bezier(.2,.8,.3,1);
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
@keyframes rise { from { transform: translate(-50%, 6%); opacity: 0; } }
@media (min-width: 720px) {
  .sheet-panel { bottom: auto; top: 50%; transform: translate(-50%,-50%); border-radius: 24px; max-height: 88svh; }
  @keyframes rise { from { transform: translate(-50%,-46%); opacity: 0; } }
}

.sheet-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(12,20,12,.5); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(6px);
}

.sheet-hero { position: relative; aspect-ratio: 3/2; max-height: 260px; overflow: hidden; background: var(--bg-2); }
.sheet-hero img { width: 100%; height: 100%; object-fit: cover; }
.sheet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 40%, rgba(0,0,0,.55)); }
.sheet-hero-txt { position: absolute; left: 22px; right: 22px; bottom: 16px; z-index: 2; color: #fff; }
.sheet-hero-txt .day-num { background: rgba(255,255,255,.2); color: #fff; }

.sheet-pad { padding: 22px; }
.sheet-pad.no-img { padding-top: 56px; }
#sheet-title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin: 8px 0 0; }
.sheet-hero-txt #sheet-title { text-shadow: 0 2px 16px rgba(0,0,0,.6); }

.sub-h {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; margin: 26px 0 12px;
}
.sub-h:first-child { margin-top: 0; }

/* horario */
.sched { list-style: none; margin: 0; padding: 0; }
.sched li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.sched li:last-child { border-bottom: none; }
.sched b { font-size: .8rem; font-weight: 700; color: var(--green); letter-spacing: .02em; }
.sched span { font-size: .92rem; color: var(--ink-2); }

/* lugares */
.place {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px;
}
.place img { width: 92px; height: 100%; min-height: 92px; object-fit: cover; cursor: zoom-in; background: var(--bg-2); }
.place.no-img { grid-template-columns: 1fr; }
.place-txt { padding: 12px 14px 12px 0; }
.place.no-img .place-txt { padding-left: 14px; }
.place-txt h4 { margin: 0 0 4px; font-size: .98rem; font-weight: 650; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.place-txt p { margin: 0; font-size: .85rem; color: var(--ink-2); line-height: 1.5; }
.badge-inc {
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--green-soft); color: var(--green); padding: 2px 7px; border-radius: 999px;
}

/* fichas de info */
.info-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.info-row .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); font-size: 1rem; }
.info-row h5 { margin: 0 0 2px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.info-row p { margin: 0; font-size: .92rem; }

.tip {
  background: var(--blossom-soft);
  border-left: 3px solid var(--blossom);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px; margin-top: 22px;
}
.tip h5 { margin: 0 0 4px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blossom); font-weight: 700; }
.tip p { margin: 0; font-size: .89rem; color: var(--ink-2); }

.sheet-nav { display: flex; gap: 10px; margin-top: 26px; }
.sheet-nav .btn { flex: 1; }
.sheet-nav .btn[disabled] { opacity: .35; pointer-events: none; }

/* ============================================================
   MAPA
   ============================================================ */
.map-wrap { display: grid; gap: 16px; }
.map-card {
  position: relative;
  background: linear-gradient(170deg, var(--sky-soft), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
#map-host svg { display: block; width: 100%; height: auto; }

.mp-country { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.mp-country.on { stroke-width: 1.2; }
.mp-pais { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .12em; opacity: .5; pointer-events: none; }
.mp-route { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3200; stroke-dashoffset: 3200; opacity: .6; animation: draw 2.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.mp-stop { cursor: pointer; }
.mp-stop circle { fill: var(--surface); stroke: var(--green); stroke-width: 2.4; transition: fill .15s ease, stroke .15s ease; }
.mp-stop:hover circle, .mp-stop.active circle { fill: var(--blossom); stroke: var(--blossom); }
.mp-stop text {
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  fill: var(--ink-2); pointer-events: none;
  paint-order: stroke; stroke: var(--surface); stroke-width: 3.5px; stroke-linejoin: round;
}
.mp-stop.active text, .mp-stop:hover text { fill: var(--ink); font-weight: 700; }

.map-tip[hidden] { display: none; }
.map-tip {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
  box-shadow: var(--shadow-lg); font-size: .88rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.map-tip strong { font-weight: 650; }
.map-tip .btn { flex: 0 0 auto; white-space: nowrap; }
.map-tip small { display: block; color: var(--ink-3); font-size: .76rem; }

.map-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.leg { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }
.leg i { width: 9px; height: 9px; border-radius: 50%; display: block; }

/* ============================================================
   GALERÍA
   ============================================================ */
/* `dense` rellena el hueco que deja la foto ancha cuando no le cabe la fila. */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-flow: dense; gap: 10px; }
.gitem {
  position: relative; border: none; padding: 0; margin: 0; cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2);
  aspect-ratio: 3/2; box-shadow: var(--shadow);
}
.gitem:nth-child(6n+1) { grid-column: span 2; aspect-ratio: 3/2; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gitem:hover img { transform: scale(1.06); }
.gitem figcaption {
  position: absolute; inset: auto 0 0 0; padding: 20px 12px 9px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff; font-size: .78rem; font-weight: 600; text-align: left;
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,14,10,.94); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lb-fig img { max-height: 76svh; width: auto; margin: 0 auto; border-radius: 10px; }
.lb-fig figcaption { color: #e9ecdf; font-size: .9rem; margin-top: 14px; max-width: 60ch; margin-inline: auto; }
.lb-fig figcaption b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; margin-bottom: 4px; }
.lb-fig figcaption small { display: block; margin-top: 8px; color: #9aa596; font-size: .72rem; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  display: grid; place-items: center; border-radius: 50%;
}
.lb-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; width: 42px; height: 42px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 1.9rem; line-height: 0; padding-bottom: 5px; }
.lb-nav.prev { left: 12px; }
.lb-nav.next { right: 12px; }

/* ============================================================
   INCLUYE / NO INCLUYE
   ============================================================ */
.two-col { display: grid; gap: 14px; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1.15fr .85fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.05rem; font-weight: 650; }
.tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.card.inc .tick { background: var(--green-soft); color: var(--green); }
.card.exc .tick { background: var(--blossom-soft); color: var(--blossom); }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { display: flex; gap: 10px; padding: 8px 0; font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line-soft); }
.card li:first-child { border-top: none; }
.card li .em { font-size: 1rem; flex: 0 0 auto; width: 20px; }
.card.exc li { color: var(--ink-3); }
.card .note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); }

.price-card {
  margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff; border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-lg);
}
.price-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; flex: 1 1 100%; }
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.price-card .btn.primary { background: #fff; color: var(--green); margin-left: auto; }
.price-card .btn.primary:hover { background: #f2f7f3; }

/* ============================================================
   EQUIPAJE
   ============================================================ */
.pack-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.progress { flex: 1; height: 8px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--blossom)); border-radius: 99px; transition: width .4s cubic-bezier(.2,.8,.3,1); }
.pack-count { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

.pack-group { margin-bottom: 18px; }
.pack-group h4 { margin: 0 0 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.pack-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 7px;
  cursor: pointer; transition: border-color .15s, background-color .15s;
}
.pack-item:hover { border-color: var(--green); }
.pack-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.box {
  flex: 0 0 auto; width: 21px; height: 21px; border-radius: 6px;
  border: 2px solid var(--line); display: grid; place-items: center;
  transition: background-color .15s, border-color .15s;
}
.box svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.pack-item span { font-size: .92rem; transition: color .2s; }
.pack-item.done { background: var(--surface-2); }
.pack-item.done .box { background: var(--green); border-color: var(--green); }
.pack-item.done .box svg { opacity: 1; }
.pack-item.done span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line); }

/* ============================================================
   ACORDEÓN
   ============================================================ */
.accordion details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden;
}
.accordion summary {
  padding: 15px 17px; cursor: pointer; font-size: .93rem; font-weight: 600;
  list-style: none; display: flex; align-items: center; gap: 12px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; margin-left: auto; color: var(--ink-3); font-size: 1.25rem; font-weight: 400;
  transition: transform .2s ease;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .ac-body { padding: 0 17px 17px; font-size: .9rem; color: var(--ink-2); }
.ac-n {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: .74rem; font-weight: 700;
}

/* ============================================================
   CONTACTO Y PIE
   ============================================================ */
.contact { text-align: center; }
.contact .eyebrow, .contact .display { text-align: center; }
.organizer { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 20px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.contact-detail { margin-top: 18px; font-size: .86rem; color: var(--ink-3); }

.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 36px 20px 48px; border-top: 1px solid var(--line-soft);
  text-align: center;
}
.foot-title { font-family: var(--font-display); font-size: 1rem; margin: 0 0 6px; }
.foot-note { font-size: .8rem; color: var(--ink-3); margin: 0 0 18px; }
.credits { font-size: .78rem; color: var(--ink-3); text-align: left; max-width: 60ch; margin: 0 auto 18px; }
.credits summary { cursor: pointer; text-align: center; padding: 8px; }
.credits div { padding-top: 10px; line-height: 1.7; }
.credits a { color: var(--ink-3); }
.foot-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.offline-state { font-size: .76rem; color: var(--ink-3); }

/* ============================================================
   NAV INFERIOR
   ============================================================ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  display: grid; place-items: center; gap: 3px;
  padding: 9px 4px 8px; text-decoration: none;
  color: var(--ink-3); font-size: .64rem; letter-spacing: .02em;
  transition: color .15s;
}
.tabbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--green); }
.tabbar a.on svg { stroke-width: 2.1; }

/* ============================================================
   INSTALAR / TOAST
   ============================================================ */
.install {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + 12px); z-index: 160;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 15px; box-shadow: var(--shadow-lg);
  animation: rise .3s cubic-bezier(.2,.8,.3,1);
}
.install[hidden] { display: none; }
.install div { flex: 1; min-width: 0; }
.install strong { display: block; font-size: .9rem; }
.install span { display: block; font-size: .76rem; color: var(--ink-3); }
@media (min-width: 560px) { .install { left: auto; right: 16px; width: 380px; } }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + 16px); z-index: 400;
  background: var(--ink); color: var(--bg);
  padding: 11px 18px; border-radius: 999px; font-size: .86rem;
  box-shadow: var(--shadow-lg); animation: rise .25s ease;
}
.toast[hidden] { display: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media (min-width: 760px) {
  .section { padding: 84px 32px; }
  .footer { padding: 44px 32px 56px; }

  /* En pantalla ancha la barra estirada de lado a lado se ve desangelada:
     la convertimos en una píldora flotante centrada. */
  .tabbar {
    left: 50%; right: auto; bottom: 18px;
    transform: translateX(-50%);
    width: max-content;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    padding: 0 6px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
  }
  .tabbar a { padding: 10px 22px 9px; border-radius: 999px; }
  .install { bottom: 90px; }
  .toast { bottom: 96px; }
}
