/* ---------- Portada paisaje (inicio y provincias) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; padding: 26px 0 34px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #0a1726; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 23 38 / .45), rgb(10 23 38 / .05) 32%, rgb(10 23 38 / .1) 55%, rgb(10 23 38 / .82)); }
.slide { position: absolute; inset: 0; background: var(--img, linear-gradient(160deg, #1d3b8f, #0a1726)) center / cover; opacity: 0; animation: slides 24s infinite; animation-delay: calc(var(--k) * 6s); }
.slide.solo { opacity: 1; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes slides { 0% { opacity: 0; transform: scale(1.1); } 4%, 25% { opacity: 1; } 31% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, -1%); } }

.hero-in { display: grid; gap: 6px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; min-height: 64px; }
.hero-top .script { animation: up .7s .1s var(--ease) backwards; }
.hcats { display: flex; animation: up .7s .2s var(--ease) backwards; }
.hcats span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 18px; font-weight: 700; font-size: 14px; border-left: 1px solid #ffffff60; text-shadow: 0 2px 8px rgb(0 0 0 / .5); }
.hcats span:first-child { border-left: 0; }
.hcats svg { width: 32px; height: 32px; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .4)); }
.mega { font-family: var(--display); font-weight: 400; color: #fff8ea; line-height: .9; margin: 0; padding-top: .1em; white-space: nowrap; letter-spacing: -.005em; text-shadow: 0 8px 36px rgb(0 0 0 / .35); animation: rise .9s .15s var(--ease) backwards; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; animation: up .7s .35s var(--ease) backwards; }
.tagline { font-size: clamp(18px, 2.2vw, 28px); font-weight: 800; margin: 0; text-shadow: 0 2px 12px rgb(0 0 0 / .5); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.crumbs a { text-decoration: none; opacity: .9; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs svg { width: 18px; }

.search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; flex: 1; max-width: 760px; padding: 12px; border-radius: 20px; background: rgb(10 23 38 / .42); backdrop-filter: blur(14px); border: 1px solid #ffffff30; }
.search label > span { color: #ffffffd0; }
.search select { border-color: transparent; background: #fff; color: #0b1b2b; }
.search .btn { height: 48px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.tile { position: relative; height: 140px; border-radius: 18px; border: 3px solid #fff; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; padding: 12px;
  background: linear-gradient(180deg, transparent 40%, rgb(10 23 38 / .8)), var(--img, linear-gradient(150deg, #1d3b8f, #0a1726)) center / cover; box-shadow: 0 16px 34px -14px #000a;
  animation: up .7s var(--ease) backwards; animation-delay: calc(.45s + var(--k) * 100ms); transition: transform .35s var(--ease); }
.tile:hover { transform: translateY(-6px) rotate(-1deg); }
.tile span { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 17px; text-shadow: 0 2px 8px #000; }
.tile svg { width: 20px; flex: none; }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* Hoja que sube sobre la portada, como en el diseño */
.sheet { position: relative; margin-top: -22px; background: var(--bg); border-radius: 28px 28px 0 0; transition: background .3s; }
.sec { padding: 56px 0 20px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.band { background: var(--band); margin-top: 50px; padding-bottom: 50px; }

.mapbox { display: grid; grid-template-columns: 1fr 270px; gap: 18px; }
.plist { display: grid; grid-template-rows: auto 1fr; gap: 10px; height: 520px; background: var(--card); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
#plist { overflow: auto; display: grid; align-content: start; gap: 2px; }
#plist button { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; transition: background .2s, transform .2s; }
#plist button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
#plist button small { margin-left: auto; color: var(--muted); font-weight: 700; }
#plist button:hover { background: var(--soft); transform: translateX(4px); }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px; border-radius: 28px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--night), #1d3b8f 60%, var(--ac)); }
.cta::after { content: ''; position: absolute; inset: auto -60px -120px auto; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(#ffb067, transparent 70%); z-index: -1; animation: kenburns 7s ease-in-out infinite alternate; }
.cta p:not(.kicker) { max-width: 560px; opacity: .9; margin: 10px 0 0; }
.cta .kicker { color: #ffd58a; }

/* ---------- Provincia ---------- */
.pgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: start; }
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.map.tall { position: sticky; top: 90px; height: 560px; }

/* ---------- Cabecera de listados ---------- */
.shead { position: relative; isolation: isolate; color: #fff; padding: 50px 0 46px; background: linear-gradient(160deg, #0a1726, #1d3b8f 70%, var(--ac) 140%); overflow: hidden; }
.shead .wrap { display: grid; gap: 12px; }
.shead .display { animation: up .7s .1s var(--ease) backwards; }
.shead .lead { display: flex; align-items: center; gap: 8px; margin: 0; opacity: .9; }
.shead .lead svg { width: 20px; flex: none; }
.shead .lead a { color: #ffd58a; }
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 10px; padding: 14px; border-radius: 18px; background: #ffffff18; border: 1px solid #ffffff30; }
.filters label > span { color: #ffffffc0; }
.filters select { border-color: transparent; background: #fff; color: #0b1b2b; }
.count { font-weight: 700; color: var(--muted); margin: 0 0 16px; }

/* ---------- Publicar ---------- */
.pub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--card); padding: 28px; border-radius: 22px; box-shadow: var(--shadow); max-width: 900px; }
.pub .full { grid-column: 1 / -1; }
.pub fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pub legend { width: 100%; }
.ck { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; transition: .2s; }
.ck input { width: auto; accent-color: var(--ac); }
.ck svg { width: 18px; }
.ck:has(input:checked) { border-color: var(--ac); background: color-mix(in srgb, var(--ac) 12%, transparent); }
.pub .btn { justify-self: start; }

@media (max-width: 960px) {
  .mapbox, .pgrid { grid-template-columns: 1fr; }
  .plist { height: 300px; }
  .map.tall { position: relative; top: 0; height: 420px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .search { grid-template-columns: 1fr 1fr; max-width: none; }
  .search .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero-top { flex-direction: column; align-items: flex-start; }
  .hcats span { padding: 0 12px; font-size: 12px; }
  .hcats svg { width: 26px; height: 26px; }
  .tile { height: 100px; }
  .tile span { font-size: 14px; }
  .search { grid-template-columns: 1fr; }
  .pub { grid-template-columns: 1fr; padding: 20px; }
  .filters { grid-template-columns: 1fr; }
  .cta { padding: 28px; }
}

/* ---------- Cabecera de provincia: póster + descripción ---------- */
.ptop { padding: 34px 0 10px; }
.ptop-in { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 44px; align-items: center; }
.pinfo { display: grid; gap: 14px; align-content: center; }
.pinfo .crumbs { color: var(--muted); text-shadow: none; }
.pinfo .display.xl { font-size: clamp(48px, 7vw, 96px); }
.about { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 620px; }
.pbtns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 900px) { .ptop-in { grid-template-columns: 1fr; } .poster.big { max-width: none; } }

/* ---------- Portada en capas: foto + letra + paisaje delante ---------- */
.hero.layered { height: clamp(500px, 56vw, 800px); padding: 0; }
.hero.layered::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgb(8 16 28 / .55), transparent 28%, transparent 78%, rgb(8 16 28 / .45)); }
.layers { position: absolute; inset: 0; transform-origin: 50% 70%; animation: kenburns 32s ease-in-out infinite alternate; }
.layers .p-bg, .layers .p-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--py, 50%); }
.layers .p-bg { filter: brightness(.85) saturate(1.12); }
.layers .p-cut { z-index: 2; }
.lt { position: absolute; left: 0; right: 0; width: max-content; max-width: none; z-index: 1; margin: 0 auto; text-align: center; white-space: pre-line; line-height: .9; animation: rise 1s .15s var(--ease) backwards; }
.hero .lt { font-family: var(--display); font-weight: 400; color: #fff8ea; letter-spacing: -.005em; text-shadow: 0 6px 30px rgb(0 0 0 / .35); }
.hero .lt.ghost { z-index: 3; color: transparent; text-shadow: none; -webkit-text-stroke: 1.5px rgb(255 248 234 / .65); }
.hero.layered .hero-in { position: relative; z-index: 4; padding-top: 26px; }
.hero.layered .credit { z-index: 5; right: 16px; bottom: 76px; }
.hero-dock { position: relative; z-index: 5; margin-top: -60px; display: grid; gap: 16px; }
.hero-dock .search { max-width: none; background: var(--card); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .45); backdrop-filter: none; }
.hero-dock .search label > span { color: var(--muted); }
.hero-dock .search select { border: 2px solid var(--line); }
.hero-dock .tiles { margin-top: 0; }
.hero-dock + .sheet { margin-top: 0; border-radius: 0; }
@media (max-width: 640px) { .hero.layered { height: 480px; } .hero-dock { margin-top: -40px; } }

/* ---------- Buscador en cápsula sobre la portada ---------- */
.hero.layered .hero-dock { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0 auto; z-index: 6; display: grid; justify-items: center; gap: 14px; }
.finder { display: flex; align-items: center; gap: 6px; width: min(760px, 100%); padding: 8px 8px 8px 22px; border-radius: 999px; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .35); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 24px 50px -20px rgb(0 0 0 / .6); animation: up .8s .5s var(--ease) backwards; }
.finder label { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.finder label > svg { width: 22px; height: 22px; flex: none; color: #ffd166; }
.finder label > span { display: grid; min-width: 0; flex: 1; }
.finder small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
.finder select { appearance: none; -webkit-appearance: none; border: 0; padding: 0; background: none; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; text-overflow: ellipsis; }
.finder select:focus { outline: none; }
.finder select option { color: #0b1b2b; }
.finder .sep { width: 1px; height: 34px; background: rgb(255 255 255 / .3); margin: 0 10px; }
.finder .go { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 15px 24px; background: var(--ac); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.finder .go svg { width: 18px; transition: transform .25s; }
.finder .go:hover { transform: scale(1.04); box-shadow: 0 10px 26px -8px var(--ac); }
.finder .go:hover svg { transform: translateX(3px); }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; animation: up .8s .65s var(--ease) backwards; }
.quick a { padding: 7px 14px; border-radius: 999px; background: rgb(8 16 28 / .42); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(10px); color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700; transition: background .2s, transform .2s; }
.quick a i { font-style: normal; color: #ffd166; }
.quick a:hover { background: var(--ac); border-color: var(--ac); transform: translateY(-2px); }
.hero.layered .credit { bottom: 10px; }
.hero.layered + .sheet { margin-top: -22px; border-radius: 28px 28px 0 0; }
@media (max-width: 700px) {
  .finder { flex-wrap: wrap; border-radius: 24px; padding: 14px; gap: 12px; }
  .finder label { flex: 1 1 100%; }
  .finder .sep { display: none; }
  .finder .go { width: 100%; justify-content: center; }
  .quick { display: none; }
  .hero.layered { height: 620px; }
}

/* ---------- Encabezado de páginas (viajes y eventos) ---------- */
.hero.layered.page { height: clamp(340px, 34vw, 500px); }
.page-dock { position: relative; z-index: 6; margin-top: -54px; display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: var(--card); box-shadow: 0 24px 50px -24px rgb(0 0 0 / .5); }
.page-dock .lead { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-2); font-weight: 600; max-width: none; }
.page-dock .lead svg { width: 20px; flex: none; color: var(--ac); }
.page-dock .filters { margin: 0; padding: 0; background: none; border: 0; }
.page-dock .filters label > span { color: var(--muted); }
.page-dock .filters select { border: 2px solid var(--line); background: var(--card); color: var(--ink); }
@media (max-width: 700px) {
  .hero.layered:not(.page) { height: 440px; }
  .hero.layered .hero-dock { position: relative; bottom: auto; margin-top: -30px; padding: 0 16px; }
  .finder { background: var(--card); border-color: var(--line); }
  .finder small { color: var(--muted); }
  .finder select { color: var(--ink); }
  .finder label > svg { color: var(--ac); }
}
/* El buscador va justo después de la portada; en escritorio se sube sobre la foto. */
@media (min-width: 701px) { .hero.layered + .hero-dock { position: relative; z-index: 6; margin-top: -150px; margin-bottom: 40px; display: grid; justify-items: center; gap: 14px; } .hero.layered:not(.page) { height: clamp(560px, 58vw, 820px); } }
.hero-dock + .sheet { margin-top: 0; border-radius: 0; }

/* ---------- Mapa interactivo: leyenda y pastillas (sin scroll) ---------- */
.mapbox { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.mapbox .map { height: 620px; }
.mpanel { display: grid; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.mpanel h3 { margin: 4px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legend { display: grid; gap: 6px; }
.legend button { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 8px 10px; border: 2px solid transparent; border-radius: 12px; background: color-mix(in srgb, var(--c) 9%, transparent); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.legend button:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.legend button.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.legend i { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 4px; background: var(--c); }
.legend b { display: block; font-size: 14px; }
.legend b small { font-weight: 700; color: var(--muted); }
.legend em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--c) 16%, var(--card)); color: var(--ink); font-weight: 700; font-size: 13px; cursor: pointer; transition: transform .2s, background .2s, opacity .2s; }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.pill:hover { background: var(--c); color: #fff; transform: translateY(-2px); }
.pill:hover i { background: #fff; }
.pill.dim { opacity: .35; }
.pills.more { padding-top: 10px; border-top: 1px dashed var(--line); animation: up .35s var(--ease); }
.seemore { justify-self: start; padding: 8px 16px; font-size: 13.5px; }
@media (max-width: 960px) { .mapbox .map { height: 420px; } }

/* Leyenda arriba, mapa al centro, pastillas abajo */
.mapbox { grid-template-columns: 1fr; gap: 14px; }
.mtitle { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mapbox .legend { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.mapbox .legend button { background: color-mix(in srgb, var(--c) 10%, var(--card)); box-shadow: var(--shadow); }
.mapbox .map { height: 600px; }
.dots-key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dots-key span { display: inline-flex; align-items: center; gap: 8px; }
.dots-key i { width: 12px; height: 12px; border-radius: 50%; }
.dk-place { background: #fff; border: 2px solid #0b1b2b; }
.dk-trip { background: #e4472b; border: 2px solid #fff; box-shadow: 0 0 0 3px color-mix(in srgb, #e4472b 35%, transparent); }
.pillsbox { padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); display: grid; gap: 10px; }
@media (max-width: 760px) { .mapbox .map { height: 440px; } }

/* Leyenda en pastillas + descripción debajo */
.mapbox .legend.lpills { display: flex; flex-wrap: wrap; gap: 8px; }
.legend.lpills button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 2px solid transparent; background: color-mix(in srgb, var(--c) 14%, var(--card)); box-shadow: none; font-weight: 800; font-size: 14px; color: var(--ink); }
.legend.lpills button i { width: 12px; height: 12px; margin: 0; border-radius: 50%; }
.legend.lpills button small { padding: 1px 7px; border-radius: 999px; background: var(--c); color: #fff; font-size: 11.5px; }
.legend.lpills button.on, .legend.lpills button:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 24%, var(--card)); }
.ldesc { display: flex; align-items: center; gap: 8px; min-height: 24px; margin: 10px 2px 0; font-size: 14px; color: var(--ink-2); }
.ldesc i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }

/* ---------- Página de evento ---------- */
.evhero { position: relative; isolation: isolate; color: #fff; padding: 60px 0 46px; background: linear-gradient(180deg, rgb(8 16 28 / .35), rgb(8 16 28 / .85)), var(--img, linear-gradient(150deg, var(--c), #0a1726)) center / cover; }
.evhero .wrap { display: grid; gap: 12px; }
.evhero .crumbs { text-shadow: 0 1px 6px rgb(0 0 0 / .6); }
.evh-tags { display: flex; gap: 8px; }
.evh-tags span { padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / .18); backdrop-filter: blur(6px); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.evh-tags .g { background: #16a34a; }
.evhero h1 { text-shadow: 0 6px 30px rgb(0 0 0 / .4); animation: up .7s var(--ease) backwards; }
.evh-when { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; font-weight: 700; color: #ffd58a; }
.evh-when svg { width: 22px; }
.evgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.evmain { display: grid; gap: 18px; }
.evfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.evfacts > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.evfacts svg { grid-row: span 2; width: 26px; height: 26px; color: var(--ac); }
.evfacts small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.evfacts b { font-size: 15px; }
.evfacts a { color: var(--ac); }
.evside { display: grid; gap: 12px; position: sticky; top: 86px; }
.evside .map { height: 340px; }
.evside .btn.big { justify-content: center; }
.evlinks { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .evgrid { grid-template-columns: 1fr; } .evside { position: static; } .evfacts { grid-template-columns: 1fr; } }
/* Readable hero headings remain separate from the animated landscape. */
.hero-readable-title{position:relative;z-index:4;font-family:var(--display);font-size:clamp(38px,6vw,82px);font-weight:400;line-height:1.05;text-transform:uppercase;white-space:normal;overflow-wrap:anywhere;text-wrap:balance;max-width:17ch;width:100%;margin:clamp(45px,7vw,110px) auto 0;text-align:center;color:#fff;letter-spacing:.005em;text-shadow:0 3px 22px rgb(0 0 0 / .4)}
.hero.page .hero-readable-title{font-size:clamp(34px,5vw,66px);margin-top:35px;max-width:23ch}
@media(max-width:700px){.hero-readable-title{font-size:clamp(36px,8vw,54px);margin-top:35px;max-width:16ch}.hero.page .hero-readable-title{font-size:clamp(30px,7vw,44px);margin-top:28px}}

/* ---------- Detalle de la excursión: menos cajas, iconos con texto ---------- */
.td-hero { position: relative; color: #fff; padding: 90px 0 34px; background: linear-gradient(180deg, rgb(8 16 28 / .15), rgb(8 16 28 / .85)), var(--img, linear-gradient(150deg, #1d3b8f, #0a1726)) center / cover; }
.td-hero .wrap { display: grid; gap: 8px; }
.td-hero h1 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 6vw, 72px); line-height: .95; text-shadow: 0 6px 24px rgb(0 0 0 / .4); }
.td-org, .td-route { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; }
.td-org a { color: #ffd58a; }
.td-route { font-size: 18px; }
.td-hero svg { width: 20px; height: 20px; }
.td-badge { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--ac); font-size: 12px; font-weight: 800; }
.td-hero .credit { bottom: 8px; right: 12px; top: auto; }
.td-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding: 34px 0 20px; }
.td-main h2 { margin: 30px 0 12px; font-family: var(--body); font-size: 20px; font-weight: 800; }
.td-facts { list-style: none; margin: 0; padding: 0 0 22px; display: flex; flex-wrap: wrap; gap: 18px 34px; border-bottom: 1px solid var(--line); }
.td-facts li, .td-list li { display: flex; align-items: center; gap: 10px; }
.td-facts svg { width: 26px; height: 26px; color: var(--ac); flex: none; }
.td-facts small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.td-facts span { font-weight: 700; }
.td-desc { margin: 20px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.td-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 20px; }
.td-list svg { width: 22px; height: 22px; color: #16a34a; flex: none; }
.td-muted { margin: 0; color: var(--ink-2); }
.td-timeline { list-style: none; margin: 0; padding: 0; }
.td-timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 18px; }
.td-timeline li::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.td-timeline li.end::before { display: none; }
.td-timeline svg { width: 24px; height: 24px; flex: none; color: var(--ac); }
.td-timeline li.end svg { color: #16a34a; }
.td-timeline b { display: block; }
.td-timeline small { display: block; color: var(--muted); }
.td-card { position: sticky; top: 86px; display: grid; gap: 6px; padding: 22px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.td-card > small, .td-company small { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.td-card > strong { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; color: var(--ac); }
.td-seats { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-weight: 700; }
.td-seats svg { width: 18px; color: var(--ac); }
.td-company { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.td-company b { font-size: 17px; }
.td-company p { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.td-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ac); font-weight: 800; text-decoration: none; }
.td-link svg { width: 16px; }
.td-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .td-grid { grid-template-columns: 1fr; gap: 24px; } .td-card { position: static; } }
