/* indiatrains.com — palette: monsoon-green Western Ghats, Jaipur terracotta, Agra sandstone, Indian Railways coach navy */
:root {
  --green: #1c6b46;
  --green-deep: #135236;
  --green-soft: #e8f2ec;
  --green-ink: #1f6a45;
  --hero: #6f8c7a;
  --ink: #16201a;
  --ink-2: #56645c;
  --muted: #7d8a83;
  --line: #e6ebe7;
  --bg: #ffffff;
  --bg-soft: #f6f8f6;
  --sand: #efe3cf;
  --sandstone: #c9a274;
  --terra: #d9826f;
  --terra-soft: #f5d6c3;
  --navy: #1f3a6e;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 50, 35, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { color: var(--ink-2); }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 96px 0; }
.eyebrow { display: block; font-size: .78rem; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.lead { font-size: 1.02rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; background: var(--green); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--green-deep); }
.btn-outline { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green-soft); }
.btn-white { background: #fff; color: var(--green); padding: 9px 18px; font-size: .88rem; }
.btn-white:hover { background: var(--green-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero-shell { padding: 24px 24px 0; }
.hero { position: relative; width: min(100%, max(65%, 920px)); margin: 0 auto; border-radius: 28px; overflow: hidden; background: #1d3327; min-height: 600px; color: #fff; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 15, .72) 0%, rgba(8, 22, 15, .5) 45%, rgba(8, 22, 15, .68) 100%); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.site-header { position: relative; z-index: 20; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 22px 26px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.logo img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; justify-content: center; gap: 34px; list-style: none; }
.nav-links a { color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .92; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header-cta { padding: 10px 20px; font-size: .88rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 18px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .2s, opacity .2s; }
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.hero-copy { text-align: center; padding: 70px 20px 0; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); color: #fff; font-weight: 600; letter-spacing: -.03em; }
.hero h1 .h1-sub { display: block; font-size: .62em; font-weight: 500; opacity: .95; margin-top: 6px; }
.hero-copy p { color: rgba(255,255,255,.88); max-width: 640px; margin: 18px auto 0; font-size: 1rem; }

.search-card { position: relative; margin: 34px auto 0; width: min(1000px, calc(100% - 32px)); background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(10, 30, 20, .22); color: var(--ink); min-height: 66px; }
.widget-fallback { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; padding: 8px; }
.search-card.mounted .widget-fallback { display: none; }
.wf-field { display: flex; align-items: center; gap: 12px; padding: 4px 18px; border-right: 1px solid var(--line); }
.wf-field:nth-child(4) { border-right: 0; }
.wf-field svg { width: 16px; height: 16px; flex: none; color: var(--ink); }
.wf-field small { display: block; font-size: .68rem; color: var(--muted); line-height: 1.2; }
.wf-field b { display: block; font-size: .9rem; font-weight: 500; line-height: 1.3; }
.wf-go { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: var(--green); color: #fff; font-weight: 500; font-size: .9rem; border-radius: 8px; }
#firebird-search-widget > div { padding-top: 10px !important; padding-bottom: 10px !important; }
#firebird-search-widget button[type="submit"] { background: var(--green) !important; border-color: var(--green) !important; }
#firebird-search-widget button[type="submit"]:hover { background: var(--green-deep) !important; }
.hero-spacer { height: 110px; }
.hero-shell:has(.search-card.mounted) .redirect-note { display: none; }
.redirect-note { text-align: center; font-size: .78rem; color: var(--muted); padding: 14px 16px 0; }

/* ---------- Intro ---------- */
.intro { padding: 56px 0 0; }
.intro .wrap { max-width: 760px; text-align: center; }
.intro p + p { margin-top: 14px; }
.intro .lead-in { margin-top: 18px; font-size: .95rem; color: var(--ink); }
.intro .lead-in a { font-weight: 600; }

/* ---------- About / network ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.collage { position: relative; height: 470px; }
.pill { position: absolute; border-radius: 999px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.pill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill figcaption { position: absolute; left: 50%; transform: translateX(-50%); bottom: 34px; background: #fff; color: var(--ink); font-size: .68rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pill-1 { left: 0; top: 50px; width: 46%; height: 350px; }
.pill-2 { left: 36%; top: 150px; width: 34%; height: 320px; z-index: 2; }
.pill-3 { left: 63%; top: 20px; width: 35%; height: 270px; z-index: 1; }
.about-copy p { margin-top: 14px; font-size: .95rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin-top: 34px; }
.stat b { display: block; font-size: 1.75rem; font-weight: 600; color: var(--green-ink); letter-spacing: -.02em; line-height: 1.15; }
.stat span { display: block; font-size: .82rem; color: var(--ink-2); margin-top: 4px; }

/* ---------- Route carousel ---------- */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.head-row .btn { padding: 9px 18px; font-size: .85rem; }
.rail-outer { overflow: hidden; }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(16px, calc((100vw - 1080px) / 2)) 30px; scroll-padding-inline: max(16px, calc((100vw - 1080px) / 2)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.route-card { flex: 0 0 320px; scroll-snap-align: start; background: #fff; border-radius: var(--radius); box-shadow: 0 8px 26px rgba(20, 50, 35, .09); padding: 10px 10px 16px; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.route-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 50, 35, .14); }
.route-card .art { border-radius: 12px; overflow: hidden; aspect-ratio: 320 / 220; }
.route-card .art svg, .route-card .art img { width: 100%; height: 100%; }
.route-card .art img { object-fit: cover; display: block; }
.rc-body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 10px 0; }
.rc-title { font-weight: 600; font-size: 1.12rem; color: var(--green-ink); }
.rc-title i { font-style: normal; color: var(--muted); font-size: .8rem; margin: 0 6px; }
.rc-region { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--ink-2); margin-top: 2px; }
.rc-region svg { width: 11px; height: 11px; }
.rc-time { background: var(--green-soft); border-radius: 8px; padding: 6px 10px; text-align: right; flex: none; }
.rc-time small { display: block; font-size: .62rem; color: var(--muted); }
.rc-time b { font-size: .92rem; font-weight: 600; color: var(--green-ink); }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 30px; }
.feature { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 40px 34px 42px; color: #fff; isolation: isolate; }
.feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,22,15,.15) 0%, rgba(8,22,15,.45) 45%, rgba(8,22,15,.82) 100%); }
.feature h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.feature p { color: rgba(255,255,255,.9); font-size: .92rem; max-width: 340px; margin: 12px auto 20px; }
.feature .btn-white svg { width: 13px; height: 13px; }

/* ---------- Train types ---------- */
.split-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: end; margin-bottom: 44px; }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.type { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s, transform .25s; }
.type:hover { border-color: #cfe0d6; box-shadow: var(--shadow); transform: translateY(-3px); }
.type-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-soft); }
.type-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.type:hover .type-media img { transform: scale(1.04); }
.type-body { padding: 20px 22px 24px; }
.type-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.type h3 { font-size: 1.12rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--green-ink); background: var(--green-soft); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.tag.navy { color: var(--navy); background: #e6ecf7; }
.tag.terra { color: #a24a36; background: #fbe8df; }
.type p { font-size: .9rem; }
.type ul { margin: 10px 0 0 18px; color: var(--ink-2); font-size: .9rem; }
.type ul li + li { margin-top: 4px; }
.type p + p { margin-top: 10px; }
.type.wide { grid-column: span 2; flex-direction: row; }
.type.wide .type-media { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
.type.wide .type-body { align-self: center; padding: 26px 28px; }

/* ---------- Classes list ---------- */
.classes { display: grid; grid-template-columns: 1fr 1.65fr; gap: 72px; align-items: start; }
.classes-intro { position: sticky; top: 30px; }
.classes-intro p { margin-top: 16px; font-size: .95rem; }
.classes-intro .btn { margin-top: 26px; }
.class-list { list-style: none; }
.class-row { display: grid; grid-template-columns: 52px 1fr 170px; gap: 26px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.class-row:first-child { padding-top: 0; }
.code { display: grid; place-items: center; height: 36px; border-radius: 8px; background: var(--green-soft); color: var(--green-ink); font-weight: 600; font-size: .82rem; }
.class-row h3 { font-size: 1.02rem; }
.class-row p { font-size: .86rem; margin-top: 4px; }
.class-row .best { text-align: right; font-size: .82rem; font-weight: 500; color: var(--ink); }

/* ---------- Tables ---------- */
.compare-lead { max-width: 720px; margin: 14px 0 0; }
.table-block { margin-top: 44px; }
.table-block h3 { margin-bottom: 16px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 760px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-weight: 600; font-size: .8rem; color: var(--ink); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 600; color: var(--ink); }
td { color: var(--ink-2); }
tbody tr:hover td { background: #fbfcfb; }
td .code { display: inline-grid; height: 26px; padding: 0 8px; font-size: .75rem; }

/* ---------- Routes + map ---------- */
.routes-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 40px; }
.map-card { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; position: sticky; top: 30px; }
.map-card svg { width: 100%; height: auto; }
.map-card figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }
.map-route { stroke-dasharray: 6 6; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }
@media (prefers-reduced-motion: reduce) { .map-route { animation: none; } }
.stations h3 { margin-bottom: 10px; }
.stations p + p { margin-top: 12px; }
.stations { margin-top: 36px; }
.routes-table { overflow: visible; }
.routes-table table { min-width: 0; }
.routes-table th, .routes-table td { padding: 12px 14px; }
.routes-table td:first-child { white-space: nowrap; }
.station-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.station-list span { font-size: .78rem; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; color: var(--ink-2); }

/* ---------- Booking ---------- */
.booking-bg { background: var(--bg-soft); }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.book-card { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.book-card .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.book-card p { font-size: .92rem; margin-top: 8px; }
.book-card.span2 { grid-column: span 2; }
.status-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.status-pills span { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.st-cnf { background: var(--green-soft); color: var(--green-ink); }
.st-rac { background: #fff3d9; color: #8a5a00; }
.st-wl { background: #fbe8df; color: #a24a36; }
.book-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px 32px; }
.book-cta p { color: rgba(255,255,255,.88); margin-top: 4px; font-size: .92rem; }
.book-cta h3 { color: #fff; }

/* ---------- Tips band ---------- */
.tips { position: relative; background: #1d3b33; color: #fff; overflow: hidden; isolation: isolate; padding: 84px 0 140px; }
.tips-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tips::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,22,15,.78) 0%, rgba(8,22,15,.55) 50%, rgba(8,22,15,.8) 100%); }
.tips-head { text-align: center; max-width: 620px; margin: 0 auto; }
.tips-head .eyebrow { color: rgba(255,255,255,.75); }
.tips h2 { color: #fff; }
.tips-head p { color: rgba(255,255,255,.85); margin-top: 18px; font-size: .95rem; }
.tips-head h3 { margin-top: 26px; color: #fff; font-size: 1.1rem; }
.tip-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; max-width: 900px; margin: 18px auto 0; }
.arrow { width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 0; color: #9fd8b4; font-size: 2rem; line-height: 1; cursor: pointer; }
.arrow:hover { color: #fff; }
.tip-dots-row { display: flex; justify-content: center; align-items: center; gap: 18px; min-height: 104px; }
.tip-dot { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); background: #fff; display: grid; place-items: center; cursor: pointer; transition: width .3s, height .3s, box-shadow .3s; padding: 0; overflow: hidden; }
.tip-dot img { width: 58%; height: 58%; }
.tip-dot[aria-selected="true"] { width: 92px; height: 92px; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.tip-pager { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.tip-pager i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.tip-pager i.on { width: 20px; background: #7fd0a1; }
.tip-panels { list-style: none; max-width: 560px; margin: 26px auto 0; text-align: center; }
.tip-panels li { display: none; background: rgba(10, 30, 24, .55); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 18px 22px; color: rgba(255,255,255,.9); font-size: .95rem; backdrop-filter: blur(4px); }
.tip-panels li.on { display: block; animation: fade .35s ease; }
.tip-panels strong { color: #fff; }
.no-js .tip-panels li { display: block; margin-top: 10px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.65fr; gap: 72px; align-items: start; }
.faq-side { position: sticky; top: 30px; }
.faq-figure { display: block; width: 100%; max-width: 360px; height: auto; margin-top: 28px; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 600; font-size: 1.02rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: #fff; padding: 64px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { font-size: .95rem; font-weight: 600; margin-bottom: 16px; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.82); font-size: .84rem; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .about-site a { text-decoration: underline; }
.site-footer .about-site p + p { margin-top: 10px; }
.foot-brand p { margin-top: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 24px; font-size: .8rem; color: rgba(255,255,255,.75); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about, .classes, .faq, .split-head, .routes-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .classes-intro, .map-card, .faq-side { position: static; }
  .faq-figure { display: none; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .book-card.span2 { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .collage { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; padding: 16px 18px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 12px; right: 12px; top: 74px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.2); padding: 8px; display: none; }
  .site-nav.open { display: block; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 12px 14px; color: var(--ink); border-radius: 8px; opacity: 1; }
  .nav-links a:hover { background: var(--green-soft); text-decoration: none; }
  .widget-fallback { grid-template-columns: 1fr 1fr; gap: 6px; }
  .wf-field { border-right: 0; padding: 10px 12px; }
  .wf-go { grid-column: 1 / -1; justify-content: center; }
  .hero-spacer { height: 70px; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type.wide { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr; }
  .class-row { grid-template-columns: 46px 1fr; gap: 16px; }
  .class-row .best { grid-column: 2; text-align: left; color: var(--green-ink); }
}
@media (max-width: 600px) {
  .routes-table thead { display: none; }
  .routes-table table, .routes-table tbody, .routes-table tr, .routes-table td { display: block; }
  .routes-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .routes-table tr:last-child { border-bottom: 0; }
  .routes-table td { border: 0; padding: 2px 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
  .routes-table td::before { content: attr(data-label); font-size: .74rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
  .routes-table td:first-child { display: block; white-space: normal; font-size: 1rem; margin-bottom: 6px; }
  .routes-table td:first-child::before { content: none; }
  .types { grid-template-columns: minmax(0, 1fr); }
  .type.wide { flex-direction: column; }
  .type.wide .type-media { aspect-ratio: 16 / 10; min-height: 0; }
  .hero-shell { padding: 10px 10px 0; }
  .hero { border-radius: 20px; min-height: 0; }
  .header-cta { padding: 9px 12px; font-size: .8rem; }
  .hero-copy { padding-top: 34px; }
  .section { padding: 68px 0; }
  .collage { height: 380px; }
  .pill-1 { height: 280px; } .pill-2 { height: 260px; top: 120px; } .pill-3 { height: 220px; }
  .stats { gap: 20px; }
  .stat b { font-size: 1.45rem; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .route-card { flex-basis: 270px; }
  .feature { min-height: 340px; padding: 30px 22px; }
  .book-grid { grid-template-columns: 1fr; }
  .book-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .tip-stage { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 4px; }
  .tip-dots-row { gap: 5px; }
  .tip-dot { width: 28px; height: 28px; border-width: 2px; }
  .tip-dot[aria-selected="true"] { width: 50px; height: 50px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; }
}
