/* ==========================================================================
   Apró Autósiskola – Pécs
   Road-themed design: asphalt navy, road-marking yellow, KRESZ sign blue.
   ========================================================================== */

:root {
  --navy: #1f3147;
  --navy-2: #2a4260;
  --asphalt: #141c26;
  --asphalt-2: #1c2633;
  --yellow: #ffd23f;
  --yellow-2: #ffe27a;
  --yellow-ink: #2b2300;
  --blue: #1d5bb5;
  --red: #d42a31;
  --paper: #f5f2ea;
  --paper-2: #ece7da;
  --white: #ffffff;
  --ink: #15202c;
  --muted: #5a6574;
  --line: #ddd7c8;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 28, 38, .06), 0 12px 32px -12px rgba(20, 28, 38, .25);
  --shadow-lg: 0 30px 60px -20px rgba(20, 28, 38, .45);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
ul { margin: 0; padding: 0; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--yellow); color: var(--yellow-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 28px; height: 4px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, transparent 8px 12px);
}
.on-dark .eyebrow { color: rgba(255, 255, 255, .7); }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: .005em;
  margin: 14px 0 18px;
}
.section-lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.on-dark .section-lead { color: rgba(255, 255, 255, .75); }

.hl {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  padding: 0 .08em;
}
.on-dark .hl { background: none; color: var(--yellow); padding: 0; }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--yellow); --fg: var(--yellow-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: 800 16px/1 var(--font-body); letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--dark { --bg: var(--asphalt); --fg: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: currentColor; }
.on-dark .btn--ghost { --fg: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}
.link-arrow:hover { border-color: currentColor; }

/* ---------- Notice bar ---------- */

.notice {
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: 15px; text-align: center;
  padding: 10px var(--gutter);
}
.notice[hidden] { display: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 242, 234, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.brand-sub { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink);
  transition: background .15s ease;
}
.main-nav a:hover { background: rgba(31, 49, 71, .08); }
.main-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }

.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px; border: 0;
  background: var(--navy); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 18px; padding: 14px 16px; border-radius: 12px; }
  .main-nav .nav-cta-mobile { margin-top: 10px; }
  .main-nav .nav-cta-mobile a { background: var(--yellow); color: var(--yellow-ink); text-align: center; }
}
@media (min-width: 961px) { .nav-cta-mobile { display: none; } }

/* ---------- Road strip divider ---------- */

.road {
  position: relative; height: 64px; background: var(--asphalt); overflow: hidden;
}
.road::before, .road::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, .55);
}
.road::before { top: 8px; }
.road::after { bottom: 8px; }
.road-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 56px, transparent 56px 104px);
  animation: drive 2.4s linear infinite;
}
@keyframes drive { to { background-position: -104px 0; } }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}

.hero-promo {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 16px 6px 6px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  transition: transform .2s ease;
}
.hero-promo:hover { transform: translateY(-2px); }
.hero-promo[hidden] { display: none; }
.hero-promo .tag {
  background: var(--red); color: var(--white); border-radius: 999px;
  padding: 4px 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(54px, 8.6vw, 116px); line-height: .9; letter-spacing: -.005em;
  color: var(--navy);
}
.hero h1 .stroke {
  color: transparent; -webkit-text-stroke: 2px var(--navy);
}
.hero h1 .yellow { color: var(--asphalt); background: var(--yellow); padding: 0 .12em; display: inline-block; transform: rotate(-1.5deg); margin-top: .06em; }

.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 46ch; margin: 28px 0 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  aspect-ratio: 4 / 3.3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 28, 38, .55));
}
.hero-photo figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  color: var(--white); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.hero-photo figcaption::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }

/* Road-sign badges floating over the hero image */
.sign {
  position: absolute; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: .95;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .3));
}
.sign--blue {
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--blue); color: var(--white); border: 6px solid var(--white);
  top: -26px; left: -26px; font-size: 20px;
  animation: bob 5s ease-in-out infinite;
}
.sign--blue strong { display: block; font-size: 46px; }
.sign--diamond {
  width: 112px; height: 112px; right: -18px; bottom: -30px;
  animation: bob 6s ease-in-out infinite reverse;
}
.sign--diamond::before {
  content: ""; position: absolute; inset: 14px;
  background: var(--yellow); border: 7px solid var(--white); outline: 2px solid var(--asphalt);
  transform: rotate(45deg); border-radius: 6px;
}
.sign--diamond span { position: relative; font-size: 14px; color: var(--asphalt); }
.sign--diamond strong { display: block; font-size: 28px; }

@keyframes bob { 50% { transform: translateY(-8px); } }

.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.fact { padding: 22px 24px; border-left: 1px dashed var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--navy); }
.fact span { font-size: 14px; font-weight: 600; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 24px auto 0; width: 100%; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px dashed var(--line); }
}
@media (max-width: 520px) {
  .sign--blue { width: 96px; height: 96px; font-size: 15px; top: -18px; left: -6px; border-width: 4px; }
  .sign--blue strong { font-size: 34px; }
  .sign--diamond { width: 88px; height: 88px; right: -4px; bottom: -22px; }
  .sign--diamond span { font-size: 13px; }
  .sign--diamond strong { font-size: 22px; }
  .fact { padding: 18px; }
  .fact strong { font-size: 32px; }
}

/* ---------- Generic sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--dark { background: var(--navy); color: var(--white); }
.section--asphalt { background: var(--asphalt); color: var(--white); }
.section--white { background: var(--white); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---------- Discounts (dynamic) ---------- */

.discounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.discounts--single { grid-template-columns: 1fr; }

/*
 * Each card is its own size container: narrow cards (3 in a row, sidebar, phone)
 * stack the amount above the details; wide cards put them side by side.
 */
.discount {
  container: discount / inline-size;
  position: relative;
  background: var(--yellow); color: var(--asphalt);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.discount-inner { display: grid; grid-template-rows: auto 1fr; height: 100%; }
.discount-amount {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 24px; background: var(--asphalt); color: var(--yellow);
  position: relative; text-align: center;
}
/* ticket perforation along the bottom edge */
.discount-amount::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 12px;
  background: radial-gradient(circle at 10px 6px, var(--yellow) 5px, transparent 5.5px) 0 0 / 20px 12px repeat-x;
}
.discount-amount small { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.discount-amount strong { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: .95; }
.discount-amount span { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; }

.discount-body { min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.discount-badge {
  align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--asphalt); color: var(--white); padding: 5px 10px; border-radius: 6px;
}
.discount h3 { font-family: var(--font-display); font-weight: 900; font-size: 32px; text-transform: uppercase; overflow-wrap: anywhere; }
.discount p { margin: 0; font-weight: 600; }
.discount-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.discount-meta span { display: inline-flex; align-items: center; gap: 6px; }
.discount-meta svg { width: 16px; height: 16px; }
.discount details { border-top: 2px dashed rgba(20, 28, 38, .25); padding-top: 12px; }
.discount summary { cursor: pointer; font-weight: 800; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.discount summary::-webkit-details-marker { display: none; }
.discount summary::after { content: "+"; font-size: 20px; line-height: 1; }
.discount details[open] summary::after { content: "–"; }
.discount details p { margin-top: 8px; font-weight: 500; }
.discount-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

@container discount (min-width: 520px) {
  .discount-inner { grid-template-columns: auto 1fr; grid-template-rows: none; }
  .discount-amount { min-width: 200px; padding: 28px 32px; }
  .discount-amount strong { font-size: 64px; }
  /* perforation moves to the right edge */
  .discount-amount::after {
    left: auto; top: 0; bottom: 0; right: -6px; width: 12px; height: auto;
    background: radial-gradient(circle at 6px 10px, var(--yellow) 5px, transparent 5.5px) 0 0 / 12px 20px repeat-y;
  }
  .discount-body { padding: 28px 32px; }
  .discount h3 { font-size: 40px; }
}

.discount--skeleton { min-height: 220px; background: rgba(255, 255, 255, .08); box-shadow: none; }
.discount--skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .1) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.discounts-empty {
  border: 2px dashed rgba(255, 255, 255, .3); border-radius: var(--radius);
  padding: 32px; text-align: center; color: rgba(255, 255, 255, .8);
}

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 70% center; width: 100%; }
.about-photo .stamp {
  position: absolute; right: -14px; bottom: 28px;
  background: var(--asphalt); color: var(--white); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.stamp strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--yellow); }
.stamp span { font-size: 13px; font-weight: 700; }

.timeline-mini { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 28px; }
.timeline-mini li {
  list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--muted);
}
.timeline-mini b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--navy); line-height: 1; }

.about-text p { font-size: 17.5px; }
.about-text strong { color: var(--navy); }

.quote {
  margin: 32px 0; padding: 26px 28px 26px 32px; position: relative;
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; line-height: 1.05;
}
.quote::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 6px;
  background: repeating-linear-gradient(180deg, var(--yellow) 0 14px, transparent 14px 22px);
}
.quote cite { display: block; margin-top: 12px; font: 600 15px/1.4 var(--font-body); text-transform: none; color: rgba(255, 255, 255, .7); font-style: normal; }

.values { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.values li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--paper-2);
  font-weight: 700; font-size: 15px;
}
.values li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }

.promise {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.promise svg { width: 32px; height: 32px; color: var(--blue); flex: none; }
.promise p { margin: 0; font-size: 16px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; }
  .about-photo .stamp { right: 12px; }
}

/* ---------- Journey (road timeline) ---------- */

.journey-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.journey-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }

.journey { list-style: none; position: relative; padding-left: 92px; }
.journey::before {
  content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 56px;
  background: var(--asphalt-2); border-radius: 28px;
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, .35), inset -3px 0 0 rgba(255, 255, 255, .35);
}
.journey::after {
  content: ""; position: absolute; left: 39px; top: 20px; bottom: 20px; width: 6px;
  background: repeating-linear-gradient(180deg, var(--yellow) 0 26px, transparent 26px 46px);
}
/* z-index keeps the badge above the road even while .reveal creates a stacking context */
.step { position: relative; z-index: 1; padding: 0 0 26px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: -72px; top: 14px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white); border: 4px solid var(--white);
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.step:last-child .step-num { background: var(--yellow); color: var(--asphalt); }
.step-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 22px 24px;
  transition: background .2s ease, transform .2s ease;
}
.step-card:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.step h3 { font-family: var(--font-display); font-weight: 900; font-size: 30px; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.step p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
.chips li {
  font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 6px;
  background: rgba(255, 210, 63, .14); color: var(--yellow-2);
}

@media (max-width: 900px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-intro { position: static; }
}
@media (max-width: 520px) {
  .journey { padding-left: 64px; }
  .journey::before { left: 6px; width: 40px; }
  .journey::after { left: 23px; width: 6px; }
  .step-num { left: -58px; width: 40px; height: 40px; font-size: 20px; }
  .step-card { padding: 18px; }
  .step h3 { font-size: 26px; }
}

/* ---------- Prices ---------- */

.price-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }

.price-list {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 0;
}
.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 26px; border-bottom: 1px dashed var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row h3 { font-size: 18px; font-weight: 800; font-family: var(--font-body); }
.price-row p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

/* Hungarian licence plate */
.plate {
  display: inline-flex; align-items: stretch; flex: none;
  background: var(--white); border: 3px solid var(--asphalt); border-radius: 8px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
  overflow: hidden; height: 46px;
}
.plate-eu {
  width: 26px; background: #1849a9; color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 5px 0 3px; font: 800 12px/1 var(--font-body);
}
.plate-eu svg { width: 16px; height: 16px; }
.plate-num {
  display: flex; align-items: center; padding: 0 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: .04em; white-space: nowrap;
}
.plate-num small { font-size: 15px; margin-left: 6px; letter-spacing: 0; font-weight: 700; }

.side-cards { display: grid; gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
}
.card h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 28px; margin-bottom: 14px; }
.card--navy { background: var(--navy); color: var(--white); }
.card--yellow { background: var(--yellow); color: var(--asphalt); box-shadow: none; }

.kv { display: grid; gap: 10px; }
.kv-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.kv-row span { color: var(--muted); font-size: 15px; }
.card--navy .kv-row span { color: rgba(255, 255, 255, .7); }
.kv-row b { font-weight: 800; white-space: nowrap; }

.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.copy-row:last-of-type { border-bottom: 0; }
.copy-row span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.copy-row code { font: 700 15px/1.3 ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }
.copy-btn {
  flex: none; border: 0; cursor: pointer; border-radius: 8px;
  background: rgba(255, 255, 255, .12); color: var(--white);
  width: 38px; height: 38px; display: grid; place-items: center;
  transition: background .15s ease;
}
.copy-btn:hover { background: rgba(255, 255, 255, .22); }
.copy-btn svg { width: 18px; height: 18px; }
.copy-btn.is-copied { background: var(--yellow); color: var(--asphalt); }

.fineprint { font-size: 14px; color: var(--muted); margin-top: 16px; }
.card--navy .fineprint { color: rgba(255, 255, 255, .65); }

@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .price-row { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .card { padding: 22px 20px; }
}

/* ---------- Cost calculator ---------- */

.calc {
  margin-top: 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.calc-controls { padding: 30px; display: grid; gap: 22px; align-content: start; }
.calc-controls h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 34px; }
.calc-controls > p { margin: -12px 0 0; color: var(--muted); font-size: 15px; }

.field-label { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; }
.field-label output { font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--navy); }

/* Range slider: navy fill up to the thumb (--fill is set from JS), big yellow thumb */
input[type="range"] {
  --fill: 0%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, var(--navy) var(--fill), var(--paper-2) var(--fill));
  box-shadow: inset 0 0 0 1px rgba(20, 28, 38, .08);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; margin-top: -10px; border-radius: 50%;
  background: var(--yellow); border: 4px solid var(--navy);
  box-shadow: 0 4px 10px rgba(20, 28, 38, .3);
  transition: transform .15s ease;
}
input[type="range"]:hover::-webkit-slider-thumb,
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 99px; background: var(--paper-2); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--navy); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow); border: 4px solid var(--navy);
  box-shadow: 0 4px 10px rgba(20, 28, 38, .3);
}
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255, 210, 63, .6), 0 4px 10px rgba(20, 28, 38, .3); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(255, 210, 63, .6); }

.check {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  transition: border-color .15s ease, background .15s ease;
}
.check:hover { border-color: var(--navy); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.check b { display: block; font-size: 15px; }
.check small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.check:has(input:checked) { background: rgba(31, 49, 71, .05); border-color: var(--navy); }
.calc-discounts { display: grid; gap: 8px; }
.calc-discounts .check { border-style: dashed; }

.calc-receipt {
  background: var(--asphalt); color: var(--white); padding: 30px;
  display: flex; flex-direction: column;
}
.calc-receipt h4 { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.receipt-lines { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 12px; }
.receipt-lines li span:first-child { color: rgba(255, 255, 255, .78); }
.receipt-lines li b { white-space: nowrap; }
.receipt-lines li.minus b { color: #7ee2a8; }
.receipt-total {
  margin-top: auto; padding-top: 20px; border-top: 2px dashed rgba(255, 255, 255, .25);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.receipt-total span { font-weight: 800; }
.receipt-total strong { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1; color: var(--yellow); }
.calc-receipt .fineprint { color: rgba(255, 255, 255, .6); font-size: 13px; }
.receipt-sep { height: 1px; background: rgba(255, 255, 255, .12); margin: 14px 0; }

@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc-controls, .calc-receipt { padding: 22px 20px; } .receipt-total strong { font-size: 42px; } }

/* ---------- Refund callout ---------- */

.callout {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--yellow); color: var(--asphalt);
  border-radius: 28px; padding: clamp(24px, 4vw, 40px);
  position: relative; overflow: hidden;
}
.callout::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  border: 22px solid rgba(20, 28, 38, .07); border-radius: 50%;
}
.callout-big { font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 9vw, 112px); line-height: .85; }
.callout-big small { display: block; font-size: .3em; letter-spacing: .04em; }
.callout h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 3vw, 38px); text-transform: uppercase; margin-bottom: 8px; }
.callout p { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Apply ---------- */

.apply {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start;
}
.apply-card {
  background: var(--yellow); color: var(--asphalt);
  border-radius: 28px; padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8);
}
.apply-card h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 4vw, 52px); text-transform: uppercase; line-height: .95; margin-bottom: 14px; }
.apply-card p { font-weight: 600; }
.apply-card .btn { margin-top: 8px; }
.apply-ways { display: grid; gap: 10px; margin-top: 26px; list-style: none; }
.apply-ways li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.apply-ways li svg { width: 22px; height: 22px; flex: none; }
.apply-ways a { text-decoration: none; border-bottom: 2px solid rgba(20, 28, 38, .3); }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141c26' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.on-dark .checklist li { color: rgba(255, 255, 255, .88); }
.apply-req h3 { font-family: var(--font-display); font-weight: 900; font-size: 30px; text-transform: uppercase; margin: 0 0 16px; }
.apply-req + .apply-req { margin-top: 36px; }

@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } }

/* ---------- Documents ---------- */

.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.doc {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.doc-icon {
  width: 52px; height: 62px; flex: none; position: relative;
  background: var(--navy); border-radius: 6px 16px 6px 6px; color: var(--white);
  display: grid; place-items: end center; padding-bottom: 8px;
  font: 800 11px/1 var(--font-body); letter-spacing: .08em;
}
.doc-icon::before { content: ""; position: absolute; top: 0; right: 0; width: 16px; height: 16px; background: var(--yellow); border-radius: 0 16px 0 6px; }
.doc b { display: block; font-size: 17px; line-height: 1.3; }
.doc small { color: var(--muted); font-size: 14px; }

.doc--skeleton { min-height: 104px; position: relative; overflow: hidden; }
.doc--skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(31, 49, 71, .06) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
.docs-empty { grid-column: 1 / -1; margin: 0; padding: 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.docs-empty a { color: var(--blue); font-weight: 700; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  text-decoration: none; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s ease;
}
a.contact-card:hover { transform: translateY(-3px); }
.contact-card .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow); margin-bottom: 8px;
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card > span:not(.ic):not(.open-state) { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-size: 18px; line-height: 1.35; word-break: break-word; }
.contact-card--wide { grid-column: 1 / -1; }

.hours { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { color: var(--blue); }
.hours li.is-today::after { content: "ma"; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--blue); color: var(--white); padding: 2px 8px; border-radius: 99px; align-self: center; order: 3; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }
.open-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; margin-top: 8px; }
.open-state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.open-state.is-open { color: #1a8a4a; }
.open-state.is-open::before { background: #22b35e; box-shadow: 0 0 0 4px rgba(34, 179, 94, .18); }
.open-state.is-closing { color: #b35400; }
.open-state.is-closing::before { background: #f08c00; box-shadow: 0 0 0 4px rgba(240, 140, 0, .22); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(240, 140, 0, .08); } }

.contact-map { display: flex; }
.contact-map .map-wrap { flex: 1; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--paper-2); position: relative; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--asphalt); color: rgba(255, 255, 255, .8); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 84px; height: 84px; background: var(--white); border-radius: 16px; padding: 6px; margin-bottom: 16px; }
.footer-brand p { max-width: 32ch; }
.site-footer h4 { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; }
.social svg { width: 22px; height: 22px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .55);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sub pages ---------- */

.page-hero { background: var(--navy); color: var(--white); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 8vw, 104px); line-height: .9; margin: 14px 0 16px; }
.page-hero p { color: rgba(255, 255, 255, .78); font-size: 19px; max-width: 60ch; margin: 0; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px;
  background: url("../img/logo.png") center / contain no-repeat; opacity: .07; filter: grayscale(1) brightness(3);
}
.breadcrumbs { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .65); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow); }

/* Course info page */
.info-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h2 { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; max-height: calc(100vh - var(--header-h) - 120px); overflow: auto; }
.toc a {
  display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.35;
}
.toc a::before { counter-increment: toc; content: counter(toc); font-family: var(--font-display); font-weight: 900; font-size: 16px; min-width: 18px; color: var(--navy); }
.toc a:hover { background: var(--paper-2); color: var(--ink); }
.toc a.is-active { background: var(--navy); color: var(--white); }
.toc a.is-active::before { color: var(--yellow); }

.info-section {
  background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
  margin-bottom: 20px; box-shadow: 0 1px 2px rgba(20, 28, 38, .05);
}
.info-section h2 {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 18px;
}
.info-section h2 .n {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--white); font-size: 22px;
}
.info-section h3 { font-size: 17px; font-weight: 800; margin: 22px 0 10px; }
.info-section p, .info-section li { font-size: 16px; }
.info-section ul { padding-left: 20px; margin: 0 0 1em; display: grid; gap: 6px; }
.info-section ul.checklist { padding-left: 0; }
.info-section a { color: var(--blue); font-weight: 700; }
.info-section .note { background: var(--paper); border-left: 4px solid var(--yellow); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: 15px; }
.info-section .note--warn { border-color: var(--red); }

.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.dl dt { font-weight: 700; color: var(--muted); font-size: 15px; }
.dl dd { margin: 0; font-weight: 600; font-size: 15.5px; }

.table-wrap { overflow-x: auto; margin: 6px 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
td:not(:first-child), th:not(:first-child) { text-align: right; white-space: nowrap; }
tbody tr:hover { background: var(--paper); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--paper); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--navy); }
.stat span { font-size: 13px; font-weight: 700; color: var(--muted); }

@media (max-width: 900px) {
  .info-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { max-height: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .toc ol { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 10px; }
}

/* Apply page */
.form-shell { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.form-frame {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.form-frame-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; background: var(--asphalt); color: var(--white); font-size: 14px; font-weight: 700;
}
.form-frame-head a { color: var(--yellow); }
.form-frame iframe { display: block; width: 100%; height: 3500px; border: 0; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
@media (max-width: 960px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; order: -1; }
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Small layout helpers ---------- */
.callout-section { padding-bottom: clamp(64px, 9vw, 120px); }
.journey-more { margin-top: 28px; }

.impresszum-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.impresszum-grid .info-section { margin-bottom: 0; }
.dl dd { overflow-wrap: anywhere; }

/* ---------- Compact discount list (apply page sidebar) ---------- */

.deals {
  background: var(--asphalt); color: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.deals[hidden] { display: none; }
.deals--loading { min-height: 150px; position: relative; }
.deals--loading::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .08) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
.deals-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.deals-count {
  min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--asphalt); font-size: 13px; letter-spacing: 0;
}

.deal { border-top: 1px dashed rgba(255, 255, 255, .16); }
.deal summary {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 14px 20px; cursor: pointer; list-style: none;
  transition: background .15s ease;
}
.deal summary::-webkit-details-marker { display: none; }
.deal summary:hover { background: rgba(255, 255, 255, .05); }
.deal summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; border-radius: 0; }

/* Small coupon: yellow chip with notches cut out on both sides */
.deal-amount {
  position: relative; white-space: nowrap;
  padding: 7px 14px; border-radius: 6px;
  background: var(--yellow); color: var(--asphalt);
  font-family: var(--font-display); font-weight: 900; font-size: 19px; line-height: 1;
}
.deal-amount::before, .deal-amount::after {
  content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--asphalt);
}
.deal-amount::before { left: -5px; }
.deal-amount::after { right: -5px; }

.deal-title { min-width: 0; }
.deal-title b { display: block; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.deal-title small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); }

.deal-chevron { width: 20px; height: 20px; color: rgba(255, 255, 255, .6); transition: transform .2s ease; }
.deal[open] .deal-chevron { transform: rotate(180deg); color: var(--yellow); }
.deal[open] summary { background: rgba(255, 255, 255, .04); }

.deal-body { padding: 4px 20px 18px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.deal-body p { margin: 0 0 8px; }
.deal-body p:last-child { margin-bottom: 0; }
.deal-badge {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: rgba(255, 210, 63, .16); color: var(--yellow-2);
}
