/* ==========================================================================
   How To Drive Driving School — master stylesheet

   1.  Variables
   2.  Reset & base
   3.  Typography
   4.  Layout
   5.  Header & navigation
   6.  Buttons
   7.  Components
   8.  Page sections
   9.  Forms
   10. Footer
   11. Responsive
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES
   ========================================================================== */

:root {
  /* Brand — taken from the logo and hero artwork */
  --navy:        #041F45;
  --navy-deep:   #021128;
  --navy-mid:    #0B2E6B;
  --blue:        #0B63CE;
  --green:       #26AF2D;
  --green-dark:  #0B8A1E;
  --red:         #F00B22;
  --red-dark:    #C20718;
  --whatsapp:    #25D366;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F4F6FB;
  --ink:         #16192A;
  --grey:        #3A4055;
  --grey-light:  #6D748A;
  --line:        #E1E6F0;

  /* Effects */
  --shadow:      0 1px 2px rgba(10, 27, 77, .05), 0 6px 18px rgba(10, 27, 77, .07);
  --shadow-lg:   0 4px 10px rgba(10, 27, 77, .08), 0 22px 50px rgba(10, 27, 77, .16);
  --ease:        cubic-bezier(.22, .9, .3, 1);

  /* Geometry */
  --radius:      12px;
  --radius-lg:   18px;
  --radius-pill: 50px;

  /* Type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-script:  'Caveat', cursive;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
iframe { border: none; }


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -.5px;
}

h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(19px, 2vw, 24px); letter-spacing: 0; }

.eyebrow {
  font-family: var(--font-script);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
}

.eyebrow em { font-style: normal; color: var(--green); }

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(228, 24, 31, .08);
  border-radius: var(--radius-pill);
}

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 17px; line-height: 1.7; color: var(--grey-light); }
.section-head h2 { margin-bottom: 14px; }

.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.lead { font-size: 18px; line-height: 1.7; }


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section.tint { background: var(--off-white); }
.section.navy,
.section.dark {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .82);
  background: radial-gradient(120% 140% at 12% 20%, #0A2B5E 0%, var(--navy) 50%, var(--navy-deep) 100%);
}

/* Subtle brand sweep, echoing the hero */
.section.navy::after,
.section.dark::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -14%;
  width: 60%;
  height: 200%;
  background:
    radial-gradient(closest-side, rgba(38, 175, 45, .18), transparent 70%) 74% 32% / 60% 56% no-repeat,
    radial-gradient(closest-side, rgba(240, 11, 34, .14), transparent 70%) 58% 72% / 54% 50% no-repeat;
  pointer-events: none;
}

.section.navy > .container,
.section.dark > .container { position: relative; z-index: 1; }

.section.navy h2, .section.navy h3, .section.navy .section-head p, .section.dark .section-head p { color: rgba(255, 255, 255, .72); }
.section.navy .section-label { color: #7BE49B; background: rgba(38, 175, 45, .16); }

/* Cards keep their light treatment on navy sections */
.section.navy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section.navy .card h3 { color: var(--white); }
.section.navy .card p { color: rgba(255, 255, 255, .72); }

.grid { display: grid; gap: 24px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Rows holding fewer cards than the column count sit centred, not left-hung */
.grid-3 > *:only-child,
.grid-4 > *:only-child { grid-column: 2 / span 1; }
.grid-center { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 24px; }
.grid-center > * { flex: 1 1 280px; min-width: 0; max-width: 372px; }
.grid-center .card { width: 100%; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.top { align-items: start; }

.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stack { display: flex; flex-direction: column; gap: 20px; }


/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(10, 27, 77, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
}

.logo img { width: auto; height: 42px; }

.nav { display: flex; align-items: center; gap: 2px; }

.nav > a,
.nav-group > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  border-radius: 8px;
  transition: color .18s;
}

.nav > a::after,
.nav-group > a::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}

.nav > a:hover, .nav-group > a:hover,
.nav > a.active, .nav-group > a.active { color: var(--green); }

.nav > a:hover::after, .nav-group > a:hover::after,
.nav > a.active::after, .nav-group > a.active::after { transform: scaleX(1); }

.nav-group { position: relative; }
.nav-group .chevron { font-size: 12px; line-height: 1; transition: transform .25s var(--ease); }
.nav-group:hover .chevron { transform: rotate(180deg); }

/* Invisible bridge so the menu doesn't close crossing the gap */
.nav-group::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 14px; }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 226px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.nav-group:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }

.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--grey);
  border-radius: 8px;
  transition: color .16s, background .16s, padding-left .16s var(--ease);
}

.dropdown a:hover { color: var(--navy); background: var(--off-white); padding-left: 18px; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; }
.burger span { display: block; width: 25px; height: 3px; background: var(--navy); border-radius: 3px; transition: transform .25s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  padding: 88px 22px 32px;
  background: var(--navy);
  overflow-y: auto;
}

.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-nav a:hover { color: var(--white); }
.mobile-nav .sub { padding-left: 32px; font-size: 16px; font-weight: 400; color: rgba(255, 255, 255, .7); }
.mobile-nav .btn { margin-top: 18px; width: 100%; }
.mobile-close { position: absolute; top: 22px; right: 22px; font-size: 30px; color: rgba(255, 255, 255, .8); }

/* Breadcrumb */
.breadcrumb { padding: 12px 0; font-size: 14px; color: var(--grey-light); background: var(--off-white); border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 8px; opacity: .5; }


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .2s, color .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-green { color: var(--white); background: var(--green); box-shadow: 0 8px 20px rgba(34, 178, 76, .32); }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 12px 26px rgba(34, 178, 76, .42); }

.btn-red { color: var(--white); background: var(--red); box-shadow: 0 8px 20px rgba(228, 24, 31, .3); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 12px 26px rgba(228, 24, 31, .4); }

.btn-navy { color: var(--white); background: var(--navy); box-shadow: 0 8px 20px rgba(10, 27, 77, .28); }
.btn-navy:hover { background: var(--navy-mid); }

.btn-outline { color: var(--navy); background: transparent; border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); background: var(--off-white); }

.btn-ghost { color: var(--white); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: var(--white); }

.btn-white { color: var(--navy); background: var(--white); }
.btn-white:hover { background: var(--off-white); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }



/* ==========================================================================
   ICONS — one sizing system for the whole site
   ========================================================================== */

.ico { width: 22px; height: 22px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.ico-sm { width: 18px; height: 18px; }
.ico-lg { width: 28px; height: 28px; }

/* Star ratings */
.stars { display: inline-flex; gap: 3px; margin-bottom: 14px; color: #00B67A; }
.stars .ico-star { width: 19px; height: 19px; fill: currentColor; stroke-width: 1.2; }

/* Coloured icon tile used on cards */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 14px;
}

.card-icon .ico { width: 26px; height: 26px; }
.card-icon.green { background: var(--green); }
.card-icon.red   { background: var(--red); }
.card-icon.blue  { background: var(--blue); }

/* ==========================================================================
   7. COMPONENTS
   ========================================================================== */

/* --- Cards --------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(10, 27, 77, .2); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--grey-light); }
.card > .btn { margin-top: auto; }
.card .ticks { margin-top: 4px; }
.card .ticks + .btn { margin-top: 20px; }


/* --- Course cards (image tiles on the homepage) --------------------------- */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; }

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.course-card:hover .thumb img { transform: scale(1.04); }

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius-pill);
}

.tag.red  { background: var(--red); }
.tag.navy { background: var(--navy); }

.course-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.course-body h3 { margin-bottom: 8px; }
.course-body p { flex: 1; margin-bottom: 20px; font-size: 15px; line-height: 1.6; color: var(--grey-light); }
.course-body .btn { margin-top: auto; }

.price {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.price small { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--grey-light); }


/* --- Advanced course cards ------------------------------------------------ */
/* Flex rather than grid, so the last row of two centres instead of hanging left */
.advanced-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.advanced-grid > * { flex: 1 1 300px; min-width: 0; max-width: 384px; }

.advanced-card { padding: 30px 26px; }
.advanced-card h3 { margin-bottom: 6px; font-size: 21px; }

.advanced-sub {
  margin-bottom: 14px;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--grey-light);
}

.advanced-price {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.advanced-price.ask { color: var(--green-dark); background: rgba(38, 175, 45, .08); border-color: rgba(38, 175, 45, .28); }
.advanced-price small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--grey-light); }

.advanced-card .ticks { margin: 0 0 24px; }
.advanced-card .ticks li { padding: 8px 0 8px 30px; font-size: 14.5px; }
.advanced-card .ticks li::before { top: 8px; width: 19px; height: 19px; font-size: 11px; }
.advanced-card .btn,
.advanced-card .ticks + .btn { margin-top: auto; font-size: 14.5px; }

/* --- Price table ---------------------------------------------------------- */
.table-wrap {
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.price-table { width: 100%; border-collapse: collapse; }

.price-table thead { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, var(--navy-mid)); }

.price-table th {
  padding: 16px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-align: left;
  color: var(--white);
}

.price-table td {
  padding: 16px 22px;
  font-size: 15px;
  vertical-align: middle;
  color: var(--grey);
  border-bottom: 1px solid var(--line);
}

.price-table th[scope="row"] {
  padding: 16px 22px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: var(--navy);
  background: none;
  border-bottom: 1px solid var(--line);
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) th[scope="row"],
.price-table tbody tr:nth-child(even) td { background: #FAFBFE; }
.price-table tbody tr:hover th[scope="row"],
.price-table tbody tr:hover td { background: rgba(38, 175, 45, .06); }

.price-table .amt { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--navy); }
.price-table .amt.ask { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--green); }
.price-table td small { display: block; font-size: 13px; color: var(--grey-light); }

.price-table .save {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(38, 175, 45, .1);
  border-radius: var(--radius-pill);
}

.table-note { margin-top: 20px; font-size: 14.5px; text-align: center; color: var(--grey-light); }
.table-note a { font-weight: 600; color: var(--navy); text-decoration: underline; }

/* --- Price cards (one design, used on every page) ------------------------- */
.price-card { position: relative; text-align: left; }
.price-card.featured { border-color: var(--green); box-shadow: 0 4px 12px rgba(38, 175, 45, .12), 0 18px 40px rgba(10, 27, 77, .12); }

.card-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius-pill);
}

.card .card-price,
.card-price {
  margin: 2px 0 12px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.card .card-price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--grey-light); }
.price-card .ticks { margin: 14px 0 22px; }
.price-card .ticks li { padding: 7px 0 7px 28px; font-size: 14.5px; }
.price-card .ticks li::before { top: 7px; width: 18px; height: 18px; font-size: 11px; }

/* --- Feature chips ------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.chip {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

/* --- Tick lists ---------------------------------------------------------- */
.ticks { margin: 20px 0; }
.ticks li { position: relative; padding: 9px 0 9px 32px; font-size: 15.5px; color: var(--grey); border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: none; }

.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.section.dark .ticks li { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .12); }

/* --- Stat strip ---------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stat { display: flex; align-items: center; gap: 13px; padding: 0 14px; }
.stat + .stat { border-left: 1px solid var(--line); }

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  font-size: 20px;
  color: var(--white);
  border-radius: 50%;
}

.stat-icon.green { background: var(--green); }
.stat-icon.red   { background: var(--red); }
.stat-icon.blue  { background: var(--blue); }
.stat-icon.navy  { background: var(--navy); }

.stat-num { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.stat-label { font-size: 13.5px; color: var(--grey-light); }

/* --- Reviews ------------------------------------------------------------- */
.review {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stars { margin-bottom: 14px; font-size: 17px; letter-spacing: 2px; color: #00B67A; }
.review blockquote { flex: 1; margin-bottom: 20px; font-size: 15.5px; line-height: 1.7; color: var(--grey); }
.review h3 { font-size: 17px; letter-spacing: 0; text-transform: none; }

.reviewer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

.reviewer-name { font-weight: 600; color: var(--ink); }
.reviewer-meta { font-size: 13px; color: var(--grey-light); }

/* --- Area & test centre cards -------------------------------------------- */
.area-group { margin-bottom: 40px; }
.area-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--navy); }
.area-group h3::before { content: ''; width: 5px; height: 24px; background: var(--green); border-radius: 3px; }

.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}

.area-link:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); }
.area-link .arrow { color: var(--green); font-weight: 700; }

.centre-card { display: flex; flex-direction: column; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.centre-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.centre-region { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.centre-card h3 { margin: 4px 0 14px; }
.centre-card p { flex: 1; margin-bottom: 14px; font-size: 14.5px; line-height: 1.6; color: var(--grey-light); }

.centre-prep {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 !important;
  margin-bottom: 18px !important;
  padding-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy) !important;
  border-top: 1px solid var(--line);
}

.centre-prep .ico { width: 17px; height: 17px; color: var(--green); stroke-width: 3; }

/* --- Pass gallery -------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.pass {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease);
}

.pass:hover { transform: translateY(-5px); }
.pass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 19, 52, .92), rgba(6, 19, 52, .15) 55%, transparent); }
.pass figcaption { position: relative; z-index: 2; width: 100%; padding: 16px; color: var(--white); }
.pass .badge { display: inline-block; margin-bottom: 6px; padding: 3px 9px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 1px; background: var(--green); border-radius: 4px; }
.pass strong { display: block; font-size: 16px; }
.pass small { font-size: 12.5px; color: rgba(255, 255, 255, .8); }

/* Test centre line on a pass card */
.pass .pass-centre { display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.pass .pass-centre .ico { width: 13px; height: 13px; }

/* Empty slot, shown until a photo is uploaded through the dashboard */
.pass-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 5;
  padding: 16px;
  text-align: center;
  background: var(--off-white);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
}

.pass-slot .slot-icon { color: var(--grey-light); opacity: .5; }
.pass-slot .slot-icon .ico { width: 30px; height: 30px; }
.pass-slot .slot-text { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--grey-light); }

.gallery-cta { margin-top: 36px; text-align: center; }
.gallery-cta p { margin-bottom: 18px; font-size: 15px; color: var(--grey-light); }

/* --- Steps --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: 28px 24px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

.step:nth-child(2) .step-num { background: var(--green); }
.step:nth-child(3) .step-num { background: var(--red); }
.step:nth-child(4) .step-num { background: var(--blue); }
.step p { font-size: 14.5px; color: var(--grey-light); }

/* --- FAQ ----------------------------------------------------------------- */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .22s, box-shadow .22s; }
.faq-item.open { border-color: var(--green); box-shadow: var(--shadow); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 19px 22px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}

.faq-q:hover { color: var(--green); }

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  font-size: 17px;
  color: var(--navy);
  background: var(--off-white);
  border-radius: 50%;
  transition: transform .25s var(--ease), background .25s, color .25s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--white); background: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--grey-light); }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  position: relative;
  padding: 64px 48px;
  overflow: hidden;
  text-align: center;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, var(--navy-mid));
  border-radius: var(--radius-lg);
}

.cta-band::before { content: ''; position: absolute; top: -40%; right: -10%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(34, 178, 76, .22), transparent 65%); }
.cta-band::after  { content: ''; position: absolute; bottom: -50%; left: -8%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(228, 24, 31, .18), transparent 65%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; font-size: 17px; color: rgba(255, 255, 255, .78); }

/* --- Floating WhatsApp --------------------------------------------------- */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--white);
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .22s var(--ease);
}

.float-wa:hover { transform: scale(1.08); }


/* ==========================================================================
   8. PAGE SECTIONS
   ========================================================================== */

/* --- Homepage hero ------------------------------------------------------- */
.hero {
  position: relative;
  padding: 56px 0 120px;
  overflow: hidden;
  background: radial-gradient(120% 130% at 12% 30%, #0A2B5E 0%, var(--navy) 45%, var(--navy-deep) 100%);
}

/* Faint dotted texture, as in the artwork */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 340px;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 13px 13px;
  opacity: .5;
  pointer-events: none;
}

/* Green / red / white swoosh sweeping behind the car */
.hero-swoosh { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-swoosh svg { position: absolute; top: -6%; right: -4%; height: 112%; width: auto; min-width: 58%; }

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 40px;
  align-items: center;
}

.hero .eyebrow { color: #FFFFFF; }
.hero .eyebrow em { color: var(--green); }

.hero h1 {
  color: var(--white);
  margin: 4px 0 14px;
  font-size: clamp(34px, 4.4vw, 62px);
  letter-spacing: -1px;
  white-space: nowrap;
}
.hero h1 .line-green { display: block; color: var(--green); }
.hero h1 .line-red   { display: block; color: #FF2233; }

.hero-underline {
  width: 240px;
  height: 6px;
  margin-bottom: 30px;
  background: var(--red);
  border-radius: 6px;
}

/* Three supporting points, matching the artwork's icon + label + detail */
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; max-width: 560px; }
.hero-point { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }

.hero-point .dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  border-radius: 50%;
}

.hero-point:nth-child(1) .dot { background: var(--green); }
.hero-point:nth-child(2) .dot { background: var(--red); }
.hero-point:nth-child(3) .dot { background: var(--blue); }

.hero-point strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--white); }
.hero-point span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .68); }

.hero .btn-row { margin-bottom: 0; }

/* Two-line CTA, like "Got Questions? / Contact Us" in the artwork */
.btn-stack { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 10px; padding-bottom: 10px; line-height: 1.2; }
.btn-stack small { font-size: 12.5px; font-weight: 500; opacity: .8; }

/* --- Hero visual --------------------------------------------------------- */
.hero-visual { position: relative; z-index: 3; padding: 8px 0 0; }
.hero-photo { width: 92%; margin-top: 6px; border-radius: 0; box-shadow: none; overflow: visible; }
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .45));
}

.hero-script {
  position: relative;
  z-index: 4;
  margin-bottom: 2px;
  padding-left: 26%;
  font-family: var(--font-script);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
}

.hero-script em { font-style: normal; color: var(--red); }

.hero-badges { position: absolute; right: -22px; top: 14%; z-index: 4; display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }

.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 4px 14px 14px 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

.hero-badge .ico { width: 15px; height: 15px; stroke-width: 3; }
.hero-badge:nth-child(1) { background: var(--green); }
.hero-badge:nth-child(2) { background: var(--red); }
.hero-badge:nth-child(3) { background: var(--blue); }

/* --- Stat strip overlapping the hero ------------------------------------- */
.hero-stats { position: relative; z-index: 5; margin-top: -68px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.5fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(2, 17, 40, .28);
}

.stat { display: flex; align-items: center; gap: 14px; padding: 22px 20px; }
.stat + .stat { border-left: 1px solid var(--line); }

.stat-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 52px; height: 52px; color: var(--white); border-radius: 50%; }
.stat-icon .ico { width: 25px; height: 25px; }
.stat-icon.green { background: var(--green); }
.stat-icon.red   { background: var(--red); }
.stat-icon.blue  { background: var(--blue); }
.stat-icon.navy  { background: var(--navy); }

.stat-num { display: block; font-family: var(--font-display); font-size: 27px; font-weight: 800; line-height: 1.05; color: var(--navy); }
.stat-label { font-size: 13.5px; color: var(--grey-light); }

/* Navy panel on the right of the strip */
.stat-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), var(--navy-mid));
}

.stat-panel .shield { flex-shrink: 0; }
.stat-panel .shield .ico { width: 34px; height: 34px; }
.stat-panel strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.stat-panel p { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .78); }

/* --- Brand strip under the hero ------------------------------------------ */
.brand-strip { padding: 22px 0 10px; background: var(--white); overflow: hidden; }
.brand-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 20px; }

.brand-script { display: flex; align-items: center; gap: 4px; font-family: var(--font-script); font-size: clamp(19px, 1.7vw, 25px); font-weight: 700; white-space: nowrap; color: var(--navy); }
.brand-script .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 2px;
  color: var(--green);
  vertical-align: middle;
}

.brand-script .tick .ico { width: 20px; height: 20px; stroke-width: 3; }
.brand-script u { text-decoration-color: var(--green); text-underline-offset: 5px; }

.brand-item { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.25; white-space: nowrap; color: var(--grey); }
.brand-item .ico { width: 22px; height: 22px; color: var(--navy); }
.brand-item strong { display: block; font-size: 14px; color: var(--navy); }
.brand-divider { width: 1px; height: 34px; background: var(--line); }
.brand-manchester { font-family: var(--font-script); font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; color: var(--navy); }
.brand-manchester em { font-style: normal; color: var(--red); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* --- Inner page hero ----------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 62px 0 66px;
  overflow: hidden;
  text-align: center;
  color: var(--white);
  background: radial-gradient(120% 140% at 12% 25%, #0A2B5E 0%, var(--navy) 48%, var(--navy-deep) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 260px;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 13px 13px;
  opacity: .45;
}

/* Green and red arcs sweeping in from the right, echoing the homepage */
.page-hero::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -18%;
  width: 70%;
  height: 220%;
  background:
    radial-gradient(closest-side, rgba(38, 175, 45, .22), transparent 72%) 78% 30% / 62% 58% no-repeat,
    radial-gradient(closest-side, rgba(240, 11, 34, .18), transparent 72%) 62% 74% / 56% 52% no-repeat;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-label { color: #7BE49B; background: rgba(38, 175, 45, .18); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero h1 span { color: var(--green); }
.page-hero p { max-width: 700px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.page-hero .btn-row { margin-top: 28px; justify-content: center; }

/* --- Trust strip --------------------------------------------------------- */
.trust-strip { padding: 18px 0; background: var(--navy-deep); }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.trust-item .tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.trust-item .tick .ico { width: 13px; height: 13px; stroke-width: 3; }

/* --- Prose (legal, guides) ----------------------------------------------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin: 36px 0 14px; padding-bottom: 10px; font-size: 28px; border-bottom: 2px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 10px; text-transform: none; letter-spacing: 0; }
.prose p { margin-bottom: 15px; font-size: 16px; line-height: 1.8; }
.prose ul { margin-bottom: 18px; }
.prose ul li { position: relative; margin-bottom: 9px; padding-left: 24px; line-height: 1.75; }
.prose ul li::before { content: '▸'; position: absolute; left: 4px; font-weight: 700; color: var(--green); }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.prose strong { color: var(--ink); }

.notice { margin-bottom: 30px; padding: 16px 20px; font-size: 15px; background: var(--off-white); border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; }


/* ==========================================================================
   9. FORMS
   ========================================================================== */

.form-card { width: 100%; max-width: 100%; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-card h2 { margin-bottom: 8px; }
.form-intro { margin-bottom: 24px; font-size: 15px; color: var(--grey-light); }

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(34, 178, 76, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { margin-top: 14px; font-size: 13.5px; text-align: center; color: var(--grey-light); }
.form-note a { color: var(--navy); font-weight: 600; }

/* Contact detail rows */
.detail { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: none; }
.detail-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; color: var(--white); background: var(--navy); border-radius: 12px; }
.detail-icon .ico { width: 21px; height: 21px; }
.detail-icon.green { background: var(--green); }
.detail-icon.red { background: var(--red); }
.detail small { display: block; font-size: 13px; color: var(--grey-light); }
.detail strong { font-size: 16px; color: var(--navy); }

.hours-row { display: flex; justify-content: space-between; padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--navy); }

.map { height: 420px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; }


/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.footer { padding: 64px 0 0; color: rgba(255, 255, 255, .68); background: var(--navy-deep); }
.footer-top { height: 5px; background: linear-gradient(90deg, var(--green) 0 33%, var(--white) 33% 66%, var(--red) 66%); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-logo img { height: 44px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; line-height: 1.75; margin-bottom: 20px; }

.footer h4 { margin-bottom: 18px; font-size: 15px; letter-spacing: 1.5px; color: var(--white); }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 14.5px; transition: color .16s, padding-left .16s var(--ease); }
.footer li a:hover { color: var(--green); padding-left: 4px; }

.footer-contact a { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.footer-contact a:hover { color: var(--green); }

.socials { display: flex; gap: 10px; }
.social { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); border-radius: 10px; transition: background .2s, color .2s; }
.social .ico { width: 19px; height: 19px; }
.social:hover { color: var(--white); background: var(--green); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0; font-size: 13.5px; border-top: 1px solid rgba(255, 255, 255, .09); }
.footer-bottom a:hover { color: var(--green); }
.footer-legal { display: flex; gap: 18px; }

.footer-copy { font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.footer-copy .sep { margin: 0 6px; opacity: .5; }
.footer-copy a { color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--green); }


/* --- Spacing utilities --------------------------------------------------- */
.mt-sm { margin-top: 18px; }
.mt-md { margin-top: 26px; }
.mt-lg { margin-top: 36px; }
.cta-panel-sm { padding: 32px 26px; }
.cta-panel-sm h2 { font-size: 26px; }
.cta-panel-sm p { margin-bottom: 20px; font-size: 15px; }
.note-left { margin-top: 14px; text-align: left; }
.lead-muted { margin-bottom: 8px; color: var(--grey-light); }


/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .nav > a, .nav-group > a { padding: 9px 8px; font-size: 13.5px; }
  .logo img { height: 38px; }
  .hero-badges { display: none; }
}

@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat-panel { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 44px 0 106px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-swoosh { display: none; }
  .hero-badges { display: none; }
  .hero-visual { padding-right: 0; }
  .hero-photo { width: 100%; max-width: 520px; margin: 0 auto; }
  .hero-photo img { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); }
  .hero-script { position: static; margin-bottom: 8px; padding-left: 0; text-align: center; color: var(--white); }
  .brand-inner { gap: 14px 22px; }
  .brand-divider { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }

  /* Price table becomes a stack of rows */
  .price-table thead { display: none; }
  .price-table tr { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .price-table tr:last-child { border-bottom: none; }
  .price-table th[scope="row"] { display: block; padding: 4px 18px 8px; border: none; }
  .price-table td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 18px; border: none; }
  .price-table td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: var(--grey-light); }
  .price-table td:last-child { margin-top: 10px; }
  .price-table td .btn { width: 100%; }
  .hero { padding: 32px 0 90px; }
  .hero h1 { white-space: normal; font-size: clamp(30px, 8.4vw, 44px); }
  .hero-points { grid-template-columns: 1fr; gap: 14px; }
  .hero-underline { width: 170px; }
  .hero-stats { margin-top: -56px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 14px; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: none; }
  .brand-script, .brand-manchester { font-size: 20px; text-align: center; }
  .btn-stack { align-items: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .form-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .header-inner { padding: 10px 18px; }
  .logo img { height: 38px; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .area-grid, .gallery { grid-template-columns: 1fr; }
}
