/* ===== Vienna–Salzburg Train — styles ===== */
:root {
  --accent: #982649;      /* buttons / accent keywords */
  --accent-deep: #7a1e3a;
  --ink: #102B3F;         /* 2nd accent / body ink */
  --bg: #A0D2DB;          /* background */
  --bg-soft: #b7dee5;
  --violet: #A06CD5;      /* extra detail accent */
  --paper: #F6FBFC;       /* near-white surface for readable cards */
  --paper-alt: #ECF6F8;
  --line: rgba(16,43,63,0.14);
  --shadow: 0 12px 30px rgba(16,43,63,0.14);
  --radius: 16px;
  --font-head: 'Spectral', Georgia, serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(152,38,73,0.09);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow-violet { color: #6a3f96; background: rgba(160,108,213,0.16); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-lift:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(152,38,73,0.32); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,251,252,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.logo-text em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; justify-content: center; gap: 26px; font-weight: 600; font-size: .93rem; }
.nav-links a { text-decoration: none; color: var(--ink); opacity: .82; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 18px;
}
.nav-panel a { padding: 12px 4px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-panel-cta { justify-content: center; margin-top: 14px; color: #fff !important; background: var(--accent); }
.nav-panel.open { display: flex; }

@media (max-width: 860px) {
  .header-grid { grid-template-columns: auto 1fr auto; height: 66px; }
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---- Hero ---- */
.hero { padding: 46px 0 30px; }
.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 36px 30px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(246,251,252,.68) 0%, rgba(246,251,252,.4) 42%, rgba(246,251,252,.1) 68%, rgba(246,251,252,0) 85%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero-copy .lead { font-size: 1.08rem; opacity: .92; max-width: 62ch; }
.hero-ctas { margin-top: 6px; }
.widget-shell {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  width: 100%;
  margin-top: 14px;
}
#firebird-search-widget { width: 100%; min-height: 64px; }

/* The third-party widget sizes some of its internal fields off
   window.innerWidth rather than its container's width, so on a very
   wide viewport (1920px+) it can squish/overlap while sitting inside
   the ~1320px-capped .wrap-wide. Let the shell itself grow wider than
   the wrap on large screens so the widget gets the room it expects. */
@media (min-width: 861px) {
  .widget-shell {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(1600px, calc(100vw - 48px));
    max-width: min(1600px, calc(100vw - 48px));
  }
  /* Match the hero card to the same width as the widget shell below it —
     otherwise the hero looks narrower/misaligned next to the wider widget. */
  .hero-visual {
    left: 50%;
    transform: translateX(-50%);
    width: min(1600px, calc(100vw - 48px));
    max-width: min(1600px, calc(100vw - 48px));
  }
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 26px 20px;
  color: #fff;
  margin-top: 18px;
}
@media (max-width: 760px) {
  .hero-visual { padding: 22px 20px 24px; }
}
.stat-tile { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; }
.stat-label { font-size: .8rem; opacity: .78; }
.stat-tile-accent .stat-value { color: #f4c9d6; }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.qf-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
}
.qf-label { font-weight: 700; color: var(--accent); }
.qf-value { color: var(--ink); opacity: .85; }

/* ---- Sections ---- */
.section { padding: 62px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 780px; margin: 0 0 30px; }
.section-head p { opacity: .88; }
.section-head-tight { margin-bottom: 18px; }
.section-head-wide { max-width: none; }
.wide-copy { max-width: none; opacity: .88; margin-bottom: 26px; }

.route-map { margin-top: 10px; }
.route-map-inner {
  position: relative;
  height: 120px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 6%;
  margin-bottom: 12px;
}
.route-line { position: absolute; left: 6%; right: 6%; top: 60px; height: 4px; background: var(--line); border-radius: 4px; }
.route-line-fill { position: absolute; inset: 0; width: 100%; background: linear-gradient(90deg, var(--accent), var(--violet)); border-radius: 4px; }
.route-stop { position: absolute; left: var(--pos); top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; width: 90px; }
.route-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--violet); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--violet); margin-top: 54px; }
.route-dot-start, .route-dot-end { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); width: 18px; height: 18px; margin-top: 52px; }
.route-stop-label { font-size: .74rem; font-weight: 600; text-align: center; margin-top: 8px; line-height: 1.25; }
.route-map-caption { font-size: .84rem; opacity: .72; max-width: 70ch; }

/* ---- Skyline animation ---- */
#route { padding-bottom: 0; }
.skyline-section { padding-top: 8px; }
.skyline-stage { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #A0D2DB; }
.skyline-video { width: 100%; height: auto; display: block; }
.skyline-labels {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: space-between;
  padding: 0 24px;
  font-size: .82rem; font-weight: 700; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

/* ---- Info cards / grids ---- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 10px; }
.info-card, .op-card, .class-card, .station-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.info-card-wide { margin-top: 22px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }

/* ---- Departure stat counters ---- */
.depart-stats {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.depart-stat { flex: 1; text-align: center; }
.depart-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.depart-label { display: block; font-size: .76rem; opacity: .7; margin-top: 4px; }
@media (max-width: 420px) { .depart-stats { gap: 4px; } .depart-value { font-size: 1.05rem; } }

.op-grid, .class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 10px; }
.class-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .op-grid, .class-grid { grid-template-columns: 1fr; } }
.class-card-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.class-card-image { width: 100%; height: 150px; object-fit: cover; display: block; flex-shrink: 0; }
.class-card-copy { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.class-card-copy h3 { margin-top: 0; }
.class-card-copy .btn { margin-top: auto; align-self: flex-start; }

/* ---- Operator flip cards ---- */
.op-card-flip {
  perspective: 1600px;
  min-height: 460px;
  cursor: pointer;
  outline: none;
}
.op-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  transition: transform .7s cubic-bezier(.2,.8,.25,1);
  transform-style: preserve-3d;
}
.op-card-flip:hover .op-card-inner,
.op-card-flip:focus-visible .op-card-inner,
.op-card-flip.flipped .op-card-inner {
  transform: rotateY(180deg);
}
.op-card-flip:focus-visible { box-shadow: 0 0 0 3px var(--violet); border-radius: var(--radius); }
.op-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.op-card-front {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background: linear-gradient(150deg, var(--paper), var(--paper-alt));
}
.op-card-icon { font-size: 2.6rem; margin-bottom: 6px; }
.op-card-tagline { opacity: .75; font-size: .95rem; }
.op-card-front-img { padding: 0; overflow: hidden; }
.op-card-image {
  width: 100%;
  height: 58%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.op-card-front-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  padding: 16px 20px 20px;
}
.op-card-back {
  transform: rotateY(180deg);
  justify-content: flex-start;
}
.op-card-back h3 { margin-bottom: .5em; }
.op-card-back .btn { align-self: flex-start; margin-top: auto; }
@media (prefers-reduced-motion: reduce) {
  .op-card-inner { transition: none; }
}
@media (max-width: 900px) {
  .op-card-flip, .op-card-inner { min-height: 520px; }
}
@media (max-width: 480px) {
  .op-card-flip, .op-card-inner { min-height: 600px; }
}

.amenity-marquee {
  margin-top: 26px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.amenity-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: amenity-scroll 22s linear infinite;
}
.amenity-marquee:hover .amenity-track { animation-play-state: paused; }
.amenity-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}
.amenity-icon { font-size: 1.05rem; }
@keyframes amenity-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .amenity-track { animation: none; flex-wrap: wrap; width: auto; }
  .amenity-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .amenity-item[aria-hidden="true"] { display: none; }
}

/* ---- Compare cards ---- */
.compare-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 900px) { .compare-cards { grid-template-columns: 1fr; } }
.compare-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease;
}
.compare-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(16,43,63,0.18); }
.compare-card-best { border-color: rgba(152,38,73,0.35); }
.compare-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.compare-icon { font-size: 1.7rem; }
.compare-card-head h3 { margin: 0; }
.compare-mode-sub { width: 100%; font-size: .82rem; opacity: .65; margin-top: -8px; }
.compare-badge {
  /* Positioned out of normal flow so it can't push the card's own content
     (icon/label/time/bar) down a line relative to sibling cards that don't
     have a badge — it used to sit inline after .compare-mode-sub (which is
     width:100% and forces its own line), wrapping the badge onto a 3rd line
     and shifting everything below it down only on this card. */
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}
.compare-time { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.compare-time-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.compare-time-suffix { font-size: .85rem; opacity: .65; }
.compare-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 16px;
}
.compare-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--accent));
  transition: width 1.1s cubic-bezier(.2,.8,.25,1);
}
.compare-card.in-view .compare-bar-fill { width: var(--bar-pct); }
.compare-card p { margin: 0; opacity: .85; font-size: .93rem; }
@media (prefers-reduced-motion: reduce) {
  .compare-card, .compare-bar-fill { transition: none; }
}

/* ---- Day Trip ---- */
.day-trip-section { position: relative; overflow: hidden; }
.day-trip-bg { position: absolute; inset: 0; z-index: 0; }
.day-trip-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.day-trip-section > .wrap { position: relative; z-index: 1; }

/* ---- Stations ---- */
.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
@media (max-width: 900px) { .station-grid { grid-template-columns: 1fr; } }
.station-card-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.station-photo-img { width: 100%; height: 190px; object-fit: cover; display: block; flex-shrink: 0; }
.station-card-copy { padding: 22px 24px 26px; }
.station-card-copy h3 { margin-top: 0; }

/* ---- Tips ---- */
.tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
@media (max-width: 900px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tips-grid { grid-template-columns: 1fr; } }
.tip-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--violet); color: #fff; font-weight: 700; margin-bottom: 12px;
  flex-shrink: 0;
  /* Each badge lives inside a 3D-rotated flip face (see .tip-card-face) but is
     itself absolutely positioned with its own z-index, which promotes it to
     its own compositing layer. backface-visibility on the ancestor face does
     not reliably cull a descendant's own layer in every engine/GPU state, so
     without this the badge's layer can keep compositing while its face is
     rotated away — rendering as a mirrored/garbled glyph mid-flip, or as an
     empty circle if it gets culled inconsistently with its sibling content.
     Declaring backface-visibility directly on the badge closes that gap. */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tip-num-1, .tip-num-3 { background: var(--accent); }
.tip-num-2, .tip-num-4 { background: var(--violet); }
.cta-inline { margin-top: 30px; text-align: center; }

/* ---- Tip flip cards ---- */
.tip-card-flip {
  perspective: 1600px;
  min-height: 260px;
  cursor: pointer;
  outline: none;
}
.tip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transition: transform .7s cubic-bezier(.2,.8,.25,1);
  transform-style: preserve-3d;
}
.tip-card-flip:hover .tip-card-inner,
.tip-card-flip:focus-visible .tip-card-inner,
.tip-card-flip.flipped .tip-card-inner {
  transform: rotateY(180deg);
}
.tip-card-flip:focus-visible { box-shadow: 0 0 0 3px var(--violet); border-radius: var(--radius); }
.tip-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tip-card-front {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  background: linear-gradient(150deg, var(--paper), var(--paper-alt));
}
.tip-card-front .tip-num { position: absolute; top: 14px; left: 14px; margin-bottom: 0; z-index: 1; }
.tip-card-icon { font-size: 2rem; margin: 8px 0 2px; }
.tip-card-tagline { opacity: .75; font-size: .88rem; }
.tip-card-front-img { padding: 0; overflow: hidden; }
.tip-card-image {
  width: 100%;
  height: 52%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.tip-card-front-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  padding: 12px 16px 16px;
  text-align: center;
}
.tip-card-back {
  justify-content: center;
  transform: rotateY(180deg);
}
.tip-card-back .tip-num { position: absolute; top: 14px; left: 14px; }
.tip-card-back h3 { margin: 20px 0 .5em; font-size: 1.05rem; }
.tip-card-back p { font-size: .92rem; }
@media (prefers-reduced-motion: reduce) {
  .tip-card-inner { transition: none; }
}
@media (max-width: 900px) {
  .tip-card-flip, .tip-card-inner { min-height: 300px; }
}
@media (max-width: 560px) {
  .tip-card-flip, .tip-card-inner { min-height: 320px; }
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.faq-item {
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(16,43,63,0.08);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  overflow: hidden;
}
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16,43,63,0.14); }
.faq-item.open { border-color: rgba(152,38,73,0.25); box-shadow: 0 12px 30px rgba(152,38,73,0.16); }
.faq-q {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; justify-content: flex-start; align-items: center; gap: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.faq-num {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  background: rgba(152,38,73,0.1);
  color: var(--accent);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.faq-item:nth-child(even) .faq-num { background: rgba(160,108,213,0.16); color: #6a3f96; }
.faq-item.open .faq-num { background: var(--accent); color: #fff; transform: scale(1.08); }
.faq-item:nth-child(even).open .faq-num { background: var(--violet); color: #fff; }
.faq-q-text { flex: 1; text-align: left; line-height: 1.35; }
.faq-badge {
  flex: none;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  background: rgba(152,38,73,0.1);
  padding: 4px 10px;
  border-radius: 999px;
}
.faq-toggle { position: relative; width: 18px; height: 18px; flex: none; }
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute; background: var(--ink);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  transition: background .25s ease;
}
.faq-toggle::before { width: 14px; height: 2px; }
.faq-toggle::after { width: 2px; height: 14px; transition: transform .3s ease, background .25s ease; }
.faq-item.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after { background: var(--accent); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-a-inner { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item .faq-a p { padding: 0 22px 20px 72px; margin: 0; opacity: .88; }
@media (max-width: 560px) {
  .faq-badge { display: none; }
  .faq-item .faq-a p { padding-left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-a, .faq-item, .faq-num { transition: none; }
}

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--ink), #1b4a68);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .85; max-width: 50ch; margin: 0 auto 24px; }

/* ---- Footer ---- */
footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 34px 0; font-size: .85rem; }
footer .wrap { max-width: 900px; }
footer a { color: #cfe6ea; text-decoration: underline; }
footer p { margin: 0 0 12px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-lift:hover { transform: none; }
}
