/* ==========================================================================
   K. Kleanthous Driving School — drive.sembion.com
   Sembion design language: clean glass surfaces, no borders / no edge bars,
   moderate radius, uniform line-SVG icons, soft glow instead of outlines.
   ========================================================================== */

:root {
  --ink: #0e1626;
  --ink-2: #33405a;
  --muted: #66738c;
  --line: rgba(14, 22, 38, 0.08);

  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --indigo-soft: #eef0fe;
  --sky: #0ea5e9;
  --amber: #f59e0b;
  --green: #16a34a;
  --red: #e11d48;

  --bg: #f5f7fc;
  --bg-2: #eef2fb;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(14, 22, 38, 0.06);
  --shadow: 0 14px 40px rgba(14, 22, 38, 0.10);
  --shadow-lg: 0 30px 70px rgba(14, 22, 38, 0.16);
  --glow-indigo: 0 12px 40px rgba(79, 70, 229, 0.28);

  --footer-bg: #0b1120;
  --asphalt: #1f2637;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1200px;
  --header-h: 74px;
}

/* ---------- Dark theme ---------- */
html[data-theme="dark"] {
  --ink: #eef2fb;
  --ink-2: #c3ccdd;
  --muted: #8b97ad;
  --line: rgba(255, 255, 255, 0.10);

  --indigo: #7c83ff;
  --indigo-600: #6169f5;
  --indigo-soft: rgba(124, 131, 255, 0.14);

  --bg: #0a0f1d;
  --bg-2: #0f1626;
  --surface: #141c2f;
  --glass: rgba(24, 32, 52, 0.66);
  --glass-strong: rgba(16, 22, 38, 0.86);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
  --glow-indigo: 0 12px 40px rgba(124, 131, 255, 0.34);
  --footer-bg: #070b15;
  --asphalt: #10151f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 6px; }

/* background wash */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(79, 70, 229, 0.10), transparent 60%),
    radial-gradient(50% 40% at 0% 10%, rgba(14, 165, 233, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 28px; height: 28px; }

/* section rhythm */
section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-soft);
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 18px 0 14px; }
h3 { font-size: 22px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: var(--glow-indigo); }
.btn-primary:hover { background: var(--indigo-600); transform: translateY(-2px); }
.btn-ghost { background: var(--glass); color: var(--ink); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ============================ HEADER ============================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled { background: var(--glass-strong); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; gap: 20px; width: min(100% - 40px, 1320px); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; }
.brand img { height: 46px; width: auto; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-txt b { font-size: 16px; }
.brand .brand-txt span { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav > .has-menu > button {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 9px 12px; border-radius: var(--radius-pill); font-weight: 500; font-size: 14.5px;
  color: var(--ink-2); transition: background 0.2s, color 0.2s;
}
@media (max-width: 1240px) { .header-actions .phone-link { display: none; } .nav > a { padding: 9px 10px; font-size: 14px; } }
.nav > a:hover, .nav > .has-menu > button:hover { background: var(--indigo-soft); color: var(--indigo); }
.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--glass-strong); backdrop-filter: blur(16px);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.22s var(--ease);
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background 0.15s; }
.dropdown a:hover { background: var(--indigo-soft); color: var(--indigo); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.phone-link .icon { color: var(--indigo); }

/* language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--radius-pill); background: var(--glass); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14px; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--glass-strong); backdrop-filter: blur(16px); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s var(--ease); z-index: 10; }
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 11px; border-radius: 8px; font-size: 14px; font-weight: 500; text-align: left; transition: background 0.15s; }
.lang-menu button:hover, .lang-menu button.active { background: var(--indigo-soft); color: var(--indigo); }
.lang-menu button .flag { font-size: 18px; }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--glass); box-shadow: var(--shadow-sm); align-items: center; justify-content: center; }

/* ============================ HERO ============================ */
.hero { padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-badge { margin-bottom: 22px; }
.hero-slides { position: relative; min-height: 300px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.hero-slide.active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.hero-slide .sub { color: var(--indigo); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
.hero-slide h1 { font-size: clamp(34px, 5vw, 54px); margin: 12px 0 18px; }
.hero-slide p { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-dots { display: flex; gap: 8px; margin-top: 34px; }
.hero-dots button { width: 28px; height: 5px; border-radius: 3px; background: var(--line); transition: background 0.3s, width 0.3s; }
.hero-dots button.active { background: var(--indigo); width: 40px; }

.hero-visual { position: relative; }
.hero-visual .photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.hero-visual .float-card {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--glass-strong); backdrop-filter: blur(14px);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.hero-visual .float-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.hero-visual .float-card b { font-size: 22px; font-family: var(--display); }
.hero-visual .float-card span { font-size: 13px; color: var(--muted); }

/* ============================ STATS ============================ */
.stats { padding: 0 0 20px; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 24px; text-align: center; }
.stat-card b { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 40px); color: var(--indigo); line-height: 1; }
.stat-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }

/* ============================ ABOUT ============================ */
.about .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-cards { display: grid; gap: 16px; margin-top: 26px; }
.about-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; display: flex; gap: 16px; }
.about-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; flex: none; }
.about-card h3 { font-size: 18px; margin-bottom: 6px; }
.about-card p { color: var(--muted); font-size: 15px; }

/* ============================ LICENSES ============================ */
.licenses { background: linear-gradient(180deg, transparent, rgba(79,70,229,0.03)); }
.lic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lic-card {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lic-card .thumb { aspect-ratio: 16 / 10; background: var(--indigo-soft); display: grid; place-items: center; overflow: hidden; }
.lic-card .thumb img { width: 74%; height: 74%; object-fit: contain; }
.lic-card .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lic-card .code { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--indigo); background: var(--indigo-soft); padding: 4px 10px; border-radius: var(--radius-pill); }
.lic-card h3 { font-size: 21px; }
.lic-card .tag { color: var(--muted); font-size: 14px; }
.lic-card .more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--indigo); font-weight: 600; font-size: 14px; }

/* license detail modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 22, 38, 0.5); backdrop-filter: blur(4px); }
.modal-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(100% - 32px, 860px); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: pop 0.3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(0.98); } }
.modal-panel::-webkit-scrollbar { width: 0; }
.modal-hero { position: relative; padding: 30px 32px; background: linear-gradient(135deg, var(--indigo), var(--indigo-600)); color: #fff; }
.modal-hero .code { background: rgba(255,255,255,0.2); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); }
.modal-hero h3 { color: #fff; font-size: 28px; margin: 12px 0 6px; }
.modal-hero p { opacity: 0.9; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.18); color: #fff; display: grid; place-items: center; transition: background 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.32); }
.modal-body { padding: 28px 32px 34px; }
.detail-block { margin-bottom: 26px; }
.detail-block > h4 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 16px; margin-bottom: 12px; color: var(--ink); }
.detail-block > h4 .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.detail-list { display: grid; gap: 9px; }
.detail-list li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.detail-list li .icon { color: var(--green); margin-top: 3px; }
.detail-note { margin-top: 12px; background: var(--bg-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.grade-row { display: flex; gap: 14px; padding: 14px 0; }
.grade-row + .grade-row { border-top: 1px solid var(--line); }
.grade-badge { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--indigo); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.learn-module { background: var(--bg); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.learn-module h5 { font-family: var(--display); font-size: 15px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.learn-module h5 .n { width: 24px; height: 24px; border-radius: 7px; background: var(--indigo); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* ============================ LEARN SIGNS ============================ */
.signs .cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
/* mobile category dropdown (hidden on desktop) */
.cat-select { display: none; position: relative; max-width: 460px; margin: 0 auto 26px; }
.cat-select-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 16px; color: var(--ink); }
.cat-select-btn em { color: var(--indigo); font-style: normal; font-weight: 700; margin-left: 4px; }
.cat-select-btn .icon { color: var(--muted); transition: transform 0.2s; }
.cat-select-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.cat-select-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; background: var(--glass-strong); backdrop-filter: blur(16px); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; max-height: 62vh; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s var(--ease); }
.cat-select-menu.open { opacity: 1; visibility: visible; transform: none; }
.cat-select-menu button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; color: var(--ink-2); text-align: left; transition: background 0.15s; }
.cat-select-menu button span { color: var(--muted); font-weight: 700; }
.cat-select-menu button:hover, .cat-select-menu button.active { background: var(--indigo-soft); color: var(--indigo); }
.cat-select-menu button.active span { color: var(--indigo); }
.cat-tab { padding: 10px 18px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: 0.2s; }
.cat-tab:hover { color: var(--indigo); }
.cat-tab.active { background: var(--indigo); color: #fff; box-shadow: var(--glow-indigo); }
.cat-tab .cnt { opacity: 0.6; margin-left: 6px; font-weight: 500; }
.signs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.sign-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px; text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.sign-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sign-card .sign-img { aspect-ratio: 1; background: #fff; border-radius: var(--radius-sm); display: grid; place-items: center; padding: 10px; margin-bottom: 10px; }
.sign-card .sign-img img { max-height: 100%; width: auto; object-fit: contain; }
.sign-card .name { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ============================ QUIZ ============================ */
.quiz { background: linear-gradient(180deg, rgba(79,70,229,0.04), transparent); }
.quiz-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 820px; margin-inline: auto; }
.mode-card { position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 24px 28px; text-align: center; cursor: pointer; transition: transform 0.28s var(--ease), box-shadow 0.28s; }
.mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mode-signs { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.mode-signs .ms-sign { width: 60px; height: 60px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; padding: 7px; }
.mode-signs .ms-sign img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mode-card h3 { font-size: 20px; }
.mode-card .cnt { font-family: var(--display); font-size: 34px; color: var(--indigo); margin: 2px 0 2px; }
.mode-card p { color: var(--muted); font-size: 14px; }
.mode-card .mode-go { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; opacity: 0; transform: translateX(-4px); transition: 0.25s var(--ease); }
.mode-card:hover .mode-go { opacity: 1; transform: none; }

.quiz-play { max-width: 720px; margin-inline: auto; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px; display: none; }
.quiz-play.active { display: block; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.quiz-progress { flex: 1; height: 8px; background: var(--bg-2); border-radius: 4px; overflow: hidden; }
.quiz-progress i { display: block; height: 100%; background: var(--indigo); border-radius: 4px; transition: width 0.4s var(--ease); }
.quiz-count { font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
.quiz-sign { aspect-ratio: 16 / 10; background: var(--bg); border-radius: var(--radius); display: grid; place-items: center; padding: 18px; margin-bottom: 22px; }
.quiz-sign img { max-height: 200px; width: auto; object-fit: contain; }
.quiz-q { font-family: var(--display); font-size: 20px; text-align: center; margin-bottom: 20px; }
.quiz-answers { display: grid; gap: 12px; }
.answer {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: var(--radius);
  background: var(--bg); font-weight: 500; font-size: 16px; text-align: left; transition: 0.18s;
}
.answer:hover:not(.locked) { background: var(--indigo-soft); }
.answer .dot { width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; flex: none; transition: 0.18s; }
.answer .dot .icon { width: 14px; height: 14px; opacity: 0; color: #fff; }
.answer.correct { background: rgba(22, 163, 74, 0.12); color: #0f7a37; }
.answer.correct .dot { background: var(--green); box-shadow: none; }
.answer.correct .dot .icon { opacity: 1; }
.answer.wrong { background: rgba(225, 29, 72, 0.10); color: var(--red); }
.answer.wrong .dot { background: var(--red); box-shadow: none; }
.answer.wrong .dot .icon { opacity: 1; }
.quiz-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 12px; }

.quiz-result { text-align: center; padding: 20px 0; }
.result-ring { width: 150px; height: 150px; margin: 0 auto 20px; position: relative; }
.result-ring svg { transform: rotate(-90deg); }
.result-ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 38px; font-weight: 700; }
.result-msg { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.result-sub { color: var(--muted); margin-bottom: 24px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================ BOOK ============================ */
.book .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.book-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.book-card .call-row { display: flex; align-items: center; gap: 16px; margin: 22px 0; padding: 18px; background: var(--indigo-soft); border-radius: var(--radius); }
.book-card .call-row .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--indigo); color: #fff; display: grid; place-items: center; }
.book-card .call-row b { display: block; font-family: var(--display); font-size: 22px; }
.book-card .call-row span { color: var(--muted); font-size: 13px; }
.hours-list { display: grid; gap: 10px; }
.hours-list li { display: flex; justify-content: space-between; padding: 12px 0; }
.hours-list li + li { border-top: 1px solid var(--line); }
.hours-list .days { font-weight: 600; }
.hours-list .time { color: var(--muted); }
.hours-list .closed { color: var(--red); }

/* ============================ FOOTER ============================ */
.footer { background: var(--footer-bg); color: rgba(255,255,255,0.72); padding: 64px 0 30px; }
.footer-brand { display: inline-flex; margin-bottom: 16px; }
.footer-brand img { height: 42px; width: auto; filter: brightness(0) invert(1); }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer p { font-size: 14px; max-width: 420px; }
.footer h4 { color: #fff; font-family: var(--display); font-size: 15px; margin-bottom: 16px; }
.footer .fnav { display: grid; gap: 10px; }
.footer .fnav a { font-size: 14px; transition: color 0.2s; }
.footer .fnav a:hover { color: #fff; }
.footer .contact-line { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; }
.footer .contact-line .icon { color: var(--sky); }
.footer .disclaimer { font-size: 12px; opacity: 0.55; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); line-height: 1.7; }
.footer .bottom { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: 0.7; }
.footer .bottom a { color: rgba(255,255,255,0.7); }
.footer .powered-by { font-weight: 600; opacity: 0.95; transition: color 0.2s; }
.footer .powered-by:hover { color: var(--sky); }
.footer .cookie-policy-link { font-weight: 600; opacity: 0.85; transition: color 0.2s; }
.footer .cookie-policy-link:hover { color: var(--sky); }

/* ============================ COOKIE CONSENT ============================ */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(24px);
  z-index: 220; width: min(100% - 32px, 760px);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--radius-lg);
  background: var(--glass-strong); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.cookie-banner.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.cookie-banner-ic { flex: none; width: 44px; height: 44px; border-radius: var(--radius); background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.cookie-banner-text { flex: 1 1 260px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.cookie-banner-text a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: 10px; margin-left: auto; }
.cookie-banner-actions .btn { padding: 10px 20px; font-size: 14px; }

/* ============================ ACCESSIBILITY WIDGET ============================ */
.access-toggle {
  position: fixed; left: 20px; bottom: 20px; z-index: 210;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); color: var(--indigo);
  display: grid; place-items: center;
  box-shadow: var(--shadow), var(--glow-indigo);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.access-toggle:hover { transform: translateY(-2px); }
.access-toggle .icon { width: 26px; height: 26px; }
.access-panel {
  position: fixed; left: 20px; bottom: 84px; z-index: 210;
  width: min(320px, calc(100% - 40px)); padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.access-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.access-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.access-head strong { font-family: var(--display); font-size: 16px; color: var(--ink); }
.access-close { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--bg-2); color: var(--ink); display: grid; place-items: center; transition: background 0.2s; }
.access-close:hover { background: var(--indigo-soft); color: var(--indigo); }
.access-options { display: grid; gap: 10px; }
.access-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--bg-2); color: var(--ink); font-size: 14px; font-weight: 600; }
.access-option input { width: 42px; height: 22px; accent-color: var(--indigo); cursor: pointer; }
.access-reset { width: 100%; margin-top: 14px; padding: 11px; font-size: 14px; }

/* a11y preference classes (applied on <html>) */
html.a11y-large-text { font-size: 112.5%; }
html.a11y-contrast { --muted: var(--ink-2); --line: rgba(14,22,38,0.28); }
html.a11y-contrast[data-theme="dark"] { --muted: #d5ddec; --line: rgba(255,255,255,0.28); }
html.a11y-links :is(p, li, .footer, .hero-slide) a { text-decoration: underline; text-underline-offset: 3px; }
html.a11y-readable, html.a11y-readable body { font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0.01em; }
html.a11y-readable :is(h1, h2, h3, h4, .eyebrow) { font-family: Georgia, 'Times New Roman', serif; }

/* mobile nav drawer */
.mnav { position: fixed; inset: 0; z-index: 150; display: none; }
.mnav.open { display: block; }
.mnav-backdrop { position: absolute; inset: 0; background: rgba(14, 22, 38, 0.5); }
.mnav-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 340px); background: var(--surface); box-shadow: var(--shadow-lg); padding: 22px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; animation: slidein 0.3s var(--ease); }
@keyframes slidein { from { transform: translateX(100%); } }
.mnav-panel #mobileNav { display: flex; flex-direction: column; gap: 4px; }
.mnav-panel #mobileNav > a { display: flex; align-items: center; padding: 15px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 17px; color: var(--ink); }
.mnav-panel #mobileNav > a:hover, .mnav-panel #mobileNav > a:active { background: var(--indigo-soft); color: var(--indigo); }
.mnav-panel #mobileNav > a.btn { justify-content: center; color: #fff; margin-top: 14px; }
.mnav-panel #mobileNav > a.btn:hover { color: #fff; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* theme toggle */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; background: var(--glass); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink-2); transition: background 0.2s, transform 0.2s; }
.theme-toggle:hover { background: var(--surface); transform: translateY(-1px); color: var(--indigo); }

/* hero car stage (driving-school visual, replaces stock photo) */
.car-stage {
  position: relative; background: none; box-shadow: none;
  aspect-ratio: 4 / 3.1; display: grid; place-items: center; padding: 10px 0;
}
.car-stage::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: 10%; height: 40px; background: radial-gradient(closest-side, rgba(14,22,38,0.22), transparent 78%); filter: blur(6px); z-index: 1; }
.car-stage .car { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(14,22,38,0.26)); position: relative; z-index: 2; }
.car-stage .stage-plate {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  width: 46px; height: 52px; border-radius: 8px; background: #ffffff; color: #d81f27;
  font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

/* reviews / happy clients */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.review-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px 32px; display: flex; flex-direction: column; }
.review-quote-ic { color: var(--indigo); opacity: 0.5; margin-bottom: 8px; }
.review-quote { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.review-body { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.review-person { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 22px; }
.review-person img { height: 84px; width: auto; max-width: 180px; object-fit: contain; }
.review-person b { display: block; font-family: var(--display); font-size: 17px; color: var(--ink); }
.review-person span { color: var(--muted); font-size: 14px; font-style: italic; }

/* map / location */
.map-section { padding-top: 40px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.map-wrap iframe { display: block; width: 100%; }
html[data-theme="dark"] .map-wrap iframe { filter: invert(0.9) hue-rotate(180deg) contrast(0.9); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about .wrap { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16 / 9; }
  .lic-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .book .wrap { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-actions .phone-link { display: none; }
  .burger { display: flex; }
  .header { background: var(--glass-strong); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); }
  .brand img { height: 38px; }
  .header-actions { gap: 8px; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  section { padding: 66px 0; }
  .quiz-modes { grid-template-columns: 1fr; }
  .signs .cat-tabs { display: none; }
  .cat-select { display: block; }
}
@media (max-width: 560px) {
  .lic-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .footer .top { grid-template-columns: 1fr; }
  .signs-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .section-head p { font-size: 16px; }

  /* mobile quiz — real test experience */
  .quiz-play { padding: 18px 16px; border-radius: var(--radius); }
  .quiz-count { font-size: 13px; }
  .quiz-sign { padding: 14px; margin-bottom: 18px; }
  .quiz-sign img { max-height: 150px; }
  .quiz-q { font-size: 18px; margin-bottom: 16px; }
  .answer { padding: 15px 16px; font-size: 16px; }
  .quiz-actions { margin-top: 18px; }
  .quiz-actions .btn { width: 100%; justify-content: center; }
  .result-ring { width: 132px; height: 132px; }
  .result-ring .val { font-size: 34px; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; justify-content: center; }
  .mode-signs .ms-sign { width: 66px; height: 66px; }
  .mode-card .cnt { font-size: 40px; }
  .footer .bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* cookie + accessibility on small screens */
  .cookie-banner { bottom: 12px; padding: 14px 16px; gap: 12px; }
  .cookie-banner-actions { width: 100%; margin-left: 0; }
  .cookie-banner-actions .btn { flex: 1; }
  .access-toggle { left: 14px; bottom: 14px; width: 48px; height: 48px; }
  .access-panel { left: 14px; bottom: 74px; width: calc(100% - 28px); }
}
