@charset "UTF-8";
/* ==========================================================================
   Rochdale Motor Services — styles.css
   Single shared stylesheet. Mobile-first. No JavaScript required.
   --------------------------------------------------------------------------
   1.  Design tokens (edit these — everything else follows)
   2.  Reset & base
   3.  Accessibility helpers
   4.  Layout primitives
   5.  Typography blocks
   6.  Buttons & links
   7.  Header / navigation
   8.  Hero variants
   9.  Cards, media frames & icons
   10. Section modules (stats, timeline, compare, FAQ, pricing, reviews)
   11. Forms (booking + contact)
   12. Footer
   13. Utilities
   14. Responsive breakpoints
   15. Motion, print & forced-colors
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* ---- Brand colour (sampled from the RMS logo) ---------------------- */
  --color-navy:            #14224b;   /* logo dark blue  */
  --color-navy-deep:       #0d1734;   /* darker shade    */
  --color-navy-soft:       #1e2f63;   /* raised navy     */
  --color-blue:            #3973b9;   /* logo mid blue   */
  --color-blue-dark:       #2c5f9f;
  --color-blue-light:      #8fb6e4;
  --color-blue-mist:       #e4edf9;
  --color-blue-wash:       #f3f7fd;
  --color-mot:             #127ae9;   /* official MOT blue, graphics only */
  --color-mot-deep:        #0f6ad0;   /* AA-safe blue for buttons and bands */
  --color-whatsapp:        #17843f;
  --color-gold:            #c9a227;   /* review stars, luxury accent */
  --color-gold-soft:       #f0e2b6;

  /* ---- Neutrals ------------------------------------------------------ */
  --color-white:           #ffffff;
  --color-surface:         #ffffff;
  --color-surface-soft:    #f5f8fc;
  --color-surface-tint:    #eef4fb;
  --color-ink:             #101c38;
  --color-body:            #4a5872;
  --color-muted:           #5f6d88;
  --color-line:            #dde7f4;
  --color-line-strong:     #c3d3e8;
  --color-success:         #17795a;

  /* ---- Semantic roles ------------------------------------------------ */
  --color-bg:              var(--color-white);
  --color-bg-alt:          var(--color-surface-soft);
  --color-heading:         var(--color-navy);
  --color-text:            var(--color-body);
  --color-primary:         var(--color-navy);
  --color-primary-hover:   var(--color-navy-soft);
  --color-accent:          var(--color-blue);
  --color-accent-hover:    var(--color-blue-dark);
  --color-on-dark:         #e8f0fb;

  /* ---- Typography ---------------------------------------------------- */
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system,
                  BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Segoe UI Variable Text", "Segoe UI", -apple-system,
                  BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --fs-xs:    0.8125rem;   /* 13px */
  --fs-sm:    0.9375rem;   /* 15px */
  --fs-base:  1.0625rem;   /* 17px */
  --fs-md:    1.1875rem;   /* 19px */
  --fs-lg:    clamp(1.25rem, 0.9rem + 1vw, 1.5rem);
  --fs-xl:    clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  --fs-2xl:   clamp(1.85rem, 1.3rem + 2.4vw, 2.6rem);
  --fs-3xl:   clamp(2.15rem, 1.4rem + 3.4vw, 3.25rem);
  --fs-hero:  clamp(2.4rem, 1.4rem + 4.6vw, 4rem);

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-black:  800;

  --lh-tight:  1.08;
  --lh-snug:   1.24;
  --lh-body:   1.68;
  --ls-tight:  -0.022em;
  --ls-wide:   0.09em;

  /* ---- Spacing scale -------------------------------------------------- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  2.5rem;
  --space-8:  3rem;
  --space-9:  4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;

  --section-y:   clamp(2rem, 1.1rem + 3vw, 3.4rem);
  --container-w: 1180px;
  --container-narrow: 820px;
  --gutter:      clamp(1.15rem, 4vw, 2.25rem);
  --gap:         clamp(1.25rem, 2.5vw, 2rem);

  /* ---- Radius (Soft & Organic) ---------------------------------------- */
  --radius-xs:   8px;
  --radius-sm:   12px;
  --radius-md:   18px;
  --radius-lg:   26px;
  --radius-xl:   36px;
  --radius-2xl:  48px;
  --radius-pill: 999px;
  /* organic, asymmetric frame used on photography */
  --radius-organic: var(--radius-2xl) var(--radius-md) var(--radius-2xl) var(--radius-2xl);

  /* ---- Shadows -------------------------------------------------------- */
  --shadow-xs: 0 1px 2px rgba(16, 28, 56, 0.06);
  --shadow-sm: 0 2px 8px rgba(16, 28, 56, 0.06), 0 1px 2px rgba(16, 28, 56, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(16, 28, 56, 0.22), 0 2px 8px rgba(16, 28, 56, 0.05);
  --shadow-lg: 0 26px 60px -24px rgba(16, 28, 56, 0.34), 0 6px 18px rgba(16, 28, 56, 0.06);
  --shadow-xl: 0 40px 90px -35px rgba(13, 23, 52, 0.45);
  --shadow-inset-line: inset 0 0 0 1px var(--color-line);

  /* ---- Motion --------------------------------------------------------- */
  --ease: cubic-bezier(0.32, 0.72, 0.32, 1);
  --t-fast: 0.16s var(--ease);
  --t-base: 0.24s var(--ease);

  /* ---- Focus ---------------------------------------------------------- */
  --focus-ring: 3px solid var(--color-mot);
  --focus-offset: 3px;

  /* ---- Layer widths --------------------------------------------------- */
  --header-h: 68px;
}
/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: var(--fw-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); font-weight: var(--fw-black); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-accent-hover); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-navy); }

img, picture, svg, video { max-width: 100%; }
img { height: auto; display: block; border-style: none; }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.15rem; }
li { margin-bottom: var(--space-2); }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: var(--fw-semi); color: var(--color-heading); }
small { font-size: var(--fs-xs); }
address { font-style: normal; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--color-line); margin: var(--space-7) 0; }

::selection { background: var(--color-navy); color: #fff; }

/* ==========================================================================
   3. ACCESSIBILITY
   ========================================================================== */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-xs);
}

.rms-skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--color-mot);
  color: #fff;
  font-weight: var(--fw-semi);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top var(--t-base);
}
.rms-skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(1.4rem, 2.6vw, 2.1rem); }
.section--soft { background: var(--color-bg-alt); }
.section--mist {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-blue-wash) 55%, var(--color-white) 100%);
}
.section--navy {
  background: var(--color-navy);
  color: var(--color-on-dark);
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.split {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: center;
}

/* ==========================================================================
   5. TYPOGRAPHY BLOCKS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-blue-dark);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-blue), var(--color-blue-light));
}
.section--navy .eyebrow { color: var(--color-blue-light); }
.section--navy .eyebrow::before { background: linear-gradient(90deg, var(--color-blue-light), transparent); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.3rem, 2.4vw, 1.9rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lead {
  font-size: var(--fs-md);
  line-height: 1.62;
  color: var(--color-body);
}
.section--navy .lead, .section--navy p { color: #c8d8ef; }

.muted { color: var(--color-muted); font-size: var(--fs-sm); }

.underline-accent {
  background-image: linear-gradient(90deg, var(--color-blue-light), var(--color-blue-light));
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 88%;
  padding-inline: 0.06em;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-base), color var(--t-base),
              box-shadow var(--t-base), transform var(--t-fast), border-color var(--t-base);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--color-navy-soft); color: #fff; box-shadow: var(--shadow-lg); }

.btn--accent {
  background: var(--color-mot-deep);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(15, 106, 208, 0.85);
}
.btn--accent:hover { background: #0b559f; color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-line-strong);
}
.btn--outline:hover { background: var(--color-blue-wash); border-color: var(--color-blue); color: var(--color-navy); }

.btn--light {
  background: #fff;
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
}
.btn--light:hover { background: var(--color-blue-mist); color: var(--color-navy); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.btn--wa { background: var(--color-whatsapp); color: #fff; }
.btn--wa:hover { background: #126631; color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2rem; min-height: 56px; font-size: var(--fs-base); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: var(--fw-semi);
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--color-blue-dark);
}
.link-arrow::after {
  content: "→";
  transition: transform var(--t-base);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   7. HEADER / NAVIGATION
   ========================================================================== */
.rms-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-sm);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-4);
  min-height: var(--header-h);
  padding-block: 0.6rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: none;
}
.brand img { width: clamp(126px, 30vw, 190px); height: auto; }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background-color var(--t-base);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.rms-nav {
  order: 3;
  flex: 0 0 100%;
  margin-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--color-navy);
}
.rms-nav ul {
  display: flex;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.rms-nav ul::-webkit-scrollbar { display: none; }
.rms-nav li { margin: 0; }
.rms-nav a {
  display: block;
  padding: 0.85rem 0.9rem;
  color: #cfe0f6;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--t-base), border-color var(--t-base);
}
.rms-nav a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.35); }
.rms-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--color-blue-light); }

/* thin info bar above the header on larger screens */
.topbar { display: none; background: var(--color-navy-deep); color: #b9cdea; font-size: var(--fs-xs); }
.topbar .container { display: flex; justify-content: space-between; gap: var(--space-5); padding-block: 0.5rem; }
.topbar a { color: #d8e6f8; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar ul { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.topbar li { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }

/* ==========================================================================
   8. HERO VARIANTS
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  padding-block: clamp(1.8rem, 3vw, 2.8rem) clamp(2rem, 3.4vw, 3rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 40% 30% -30%;
  background: radial-gradient(closest-side, rgba(57, 115, 185, 0.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 46vw; height: 46vw;
  right: -14vw; top: -12vw;
  background: radial-gradient(closest-side, rgba(18, 122, 233, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); align-items: center; }

.hero h1 { margin-bottom: var(--space-4); font-size: var(--fs-3xl); }
.hero .lead { max-width: 54ch; margin-bottom: var(--space-6); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-organic);
  box-shadow: var(--shadow-xl);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 12px -14px -16px 12px;
  border: 2px solid var(--color-blue-mist);
  border-radius: var(--radius-organic);
  z-index: -1;
}

.floating-card {
  position: relative;
  margin: -2.5rem auto 0;
  width: min(100%, 340px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.floating-card .mot-badge { flex: none; }
.floating-card p { font-size: var(--fs-sm); line-height: 1.45; }
.floating-card strong { display: block; font-family: var(--font-display); color: var(--color-navy); }

/* trust bullets under the hero */
.trust-row {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: 0;
  list-style: none;
}
.trust-row li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-heading);
}
.trust-row svg { flex: none; margin-top: 2px; color: var(--color-blue); }

/* ---- 8.1 Full-width hero slider (CSS only, no JavaScript) ----------------
   Six slides cross-fade on a 42s loop, 7s each. Clicking a dot takes over
   and stops the rotation. Reduced-motion users get slide one, static.      */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
  height: clamp(390px, 58vh, 660px);
  isolation: isolate;
}
.hero-slider > input[type="radio"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: slideFade 42s linear infinite;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  animation: slideZoom 42s linear infinite;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 17, 40, 0.62) 0%, rgba(9, 17, 40, 0.18) 42%, rgba(9, 17, 40, 0.86) 100%),
    linear-gradient(90deg, rgba(11, 20, 47, 0.78) 0%, rgba(11, 20, 47, 0.16) 62%, transparent 100%);
}

.slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
  animation: slideText 42s linear infinite;
}
.slide-caption .container { display: block; }
.slide-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 var(--space-3);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.slide-title {
  margin: 0;
  max-width: 17ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.1rem + 3.6vw, 3.4rem);
  font-weight: var(--fw-black);
  line-height: 1.06;
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(6, 12, 30, 0.45);
}

/* slide timing: 6 slides, visible ~7s each with a 0.7s cross-fade */
@keyframes slideFade {
  0%     { opacity: 0; }
  1.6%   { opacity: 1; }
  15%    { opacity: 1; }
  17%    { opacity: 0; }
  100%   { opacity: 0; }
}
@keyframes slideZoom {
  0%   { transform: scale(1.09); }
  17%  { transform: scale(1.00); }
  100% { transform: scale(1.00); }
}
@keyframes slideText {
  0%    { opacity: 0; transform: translateY(18px); }
  3.4%  { opacity: 1; transform: translateY(0); }
  15%   { opacity: 1; transform: translateY(0); }
  17%   { opacity: 0; transform: translateY(0); }
  100%  { opacity: 0; transform: translateY(0); }
}
.slide:nth-child(1), .slide:nth-child(1) img, .slide:nth-child(1) .slide-caption { animation-delay: -0.7s; }
.slide:nth-child(2), .slide:nth-child(2) img, .slide:nth-child(2) .slide-caption { animation-delay: 6.3s; }
.slide:nth-child(3), .slide:nth-child(3) img, .slide:nth-child(3) .slide-caption { animation-delay: 13.3s; }
.slide:nth-child(4), .slide:nth-child(4) img, .slide:nth-child(4) .slide-caption { animation-delay: 20.3s; }
.slide:nth-child(5), .slide:nth-child(5) img, .slide:nth-child(5) .slide-caption { animation-delay: 27.3s; }
.slide:nth-child(6), .slide:nth-child(6) img, .slide:nth-child(6) .slide-caption { animation-delay: 34.3s; }

/* dots */
.slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: clamp(1.1rem, 2.5vw, 1.8rem);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin: 0; padding: 0;
  list-style: none;
}
.slider-dots li { margin: 0; }
.slider-dots label {
  display: block;
  width: 34px; height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: background-color var(--t-base), width var(--t-base);
  animation: dotOn 42s linear infinite;
}
.slider-dots label:hover { background: rgba(255, 255, 255, 0.7); }
@keyframes dotOn {
  0%   { background-color: rgba(255,255,255,0.34); }
  1.6% { background-color: rgba(255,255,255,0.95); }
  15%  { background-color: rgba(255,255,255,0.95); }
  17%  { background-color: rgba(255,255,255,0.34); }
  100% { background-color: rgba(255,255,255,0.34); }
}
.slider-dots li:nth-child(1) label { animation-delay: -0.7s; }
.slider-dots li:nth-child(2) label { animation-delay: 6.3s; }
.slider-dots li:nth-child(3) label { animation-delay: 13.3s; }
.slider-dots li:nth-child(4) label { animation-delay: 20.3s; }
.slider-dots li:nth-child(5) label { animation-delay: 27.3s; }
.slider-dots li:nth-child(6) label { animation-delay: 34.3s; }

/* a chosen dot takes over: rotation stops and that slide stays put */
.hero-slider:has(input:checked) .slide,
.hero-slider:has(input:checked) .slide img,
.hero-slider:has(input:checked) .slide-caption,
.hero-slider:has(input:checked) .slider-dots label { animation: none; }
.hero-slider:has(input:checked) .slide { opacity: 0; }
.hero-slider:has(input:checked) .slide img { transform: scale(1); }
.hero-slider:has(input:checked) .slide-caption { opacity: 1; transform: none; }

#slide-1:checked ~ .slides .slide:nth-child(1),
#slide-2:checked ~ .slides .slide:nth-child(2),
#slide-3:checked ~ .slides .slide:nth-child(3),
#slide-4:checked ~ .slides .slide:nth-child(4),
#slide-5:checked ~ .slides .slide:nth-child(5),
#slide-6:checked ~ .slides .slide:nth-child(6) { opacity: 1; }

#slide-1:checked ~ .slider-dots li:nth-child(1) label,
#slide-2:checked ~ .slider-dots li:nth-child(2) label,
#slide-3:checked ~ .slider-dots li:nth-child(3) label,
#slide-4:checked ~ .slider-dots li:nth-child(4) label,
#slide-5:checked ~ .slider-dots li:nth-child(5) label,
#slide-6:checked ~ .slider-dots li:nth-child(6) label { background: #fff; width: 52px; }

.hero-slider > input:focus-visible ~ .slider-dots label { outline: 2px dashed rgba(255,255,255,0.6); outline-offset: 4px; }
#slide-1:focus-visible ~ .slider-dots li:nth-child(1) label,
#slide-2:focus-visible ~ .slider-dots li:nth-child(2) label,
#slide-3:focus-visible ~ .slider-dots li:nth-child(3) label,
#slide-4:focus-visible ~ .slider-dots li:nth-child(4) label,
#slide-5:focus-visible ~ .slider-dots li:nth-child(5) label,
#slide-6:focus-visible ~ .slider-dots li:nth-child(6) label { outline: var(--focus-ring); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide img, .slide-caption, .slider-dots label { animation: none !important; }
  .slide { opacity: 0; }
  .slide:nth-child(1) { opacity: 1; }
  .slide img { transform: scale(1); }
  .slide-caption { opacity: 1; transform: none; }
  .slider-dots li:nth-child(1) label { background: #fff; width: 52px; }
}

/* compact page hero for inner pages */
.page-hero {
  position: relative;
  background: var(--color-navy);
  color: var(--color-on-dark);
  padding-block: clamp(2.1rem, 4vw, 3.4rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 55%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(57, 115, 185, 0.55), transparent 72%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #c7d8f0; max-width: 60ch; }
.page-hero .eyebrow { color: var(--color-blue-light); }
.page-hero .eyebrow::before { background: linear-gradient(90deg, var(--color-blue-light), transparent); }

.breadcrumb { font-size: var(--fs-xs); color: #a9c1e2; margin-bottom: var(--space-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: inline-flex; gap: 0.45rem; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: #6f8bb4; }
.breadcrumb a { color: #d6e5f8; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ==========================================================================
   9. CARDS, MEDIA FRAMES & ICONS
   ========================================================================== */
.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.card--link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--color-blue-light); }
.card h3 { margin-bottom: var(--space-2); }
.card p { font-size: var(--fs-sm); }
.card--navy { background: var(--color-navy-soft); border-color: rgba(255,255,255,0.14); color: #cddcf1; }
.card--navy h3 { color: #fff; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--color-blue-mist), var(--color-blue-wash));
  color: var(--color-navy);
  box-shadow: inset 0 0 0 1px rgba(57, 115, 185, 0.18);
}
.card-icon svg { width: 26px; height: 26px; }
.card--navy .card-icon { background: rgba(255,255,255,0.1); color: #fff; box-shadow: none; }

/* photography frames */
.media-frame {
  position: relative;
  border-radius: var(--radius-organic);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-blue-mist);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--flip { border-radius: var(--radius-md) var(--radius-2xl) var(--radius-2xl) var(--radius-2xl); }
.media-frame--soft { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.media-frame figcaption {
  position: absolute;
  left: var(--space-4); bottom: var(--space-4);
  max-width: calc(100% - (var(--space-4) * 2));
  padding: 0.6rem 1.1rem;
  background: rgba(13, 23, 52, 0.72);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-align: center;
  backdrop-filter: blur(6px);
}

.media-collage { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.media-collage .media-frame { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.media-collage .media-frame:first-child { grid-column: 1 / -1; border-radius: var(--radius-organic); }

/* MOT emblem badge (inline SVG) */
.mot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  padding: 9px;
  border-radius: var(--radius-md);
  background: var(--color-mot);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(18, 122, 233, 0.9);
}
.mot-badge svg { width: 100%; height: 100%; }
.mot-badge--lg { width: 92px; height: 92px; border-radius: var(--radius-lg); padding: 14px; }

/* anchor chip navigation (services page) */
.chip-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.chip-nav li { margin: 0; }
.chip-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--color-line);
  color: var(--color-navy);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t-base), background-color var(--t-base), transform var(--t-fast);
}
.chip-nav a:hover { border-color: var(--color-blue); background: var(--color-blue-wash); transform: translateY(-1px); }

/* ==========================================================================
   10. SECTION MODULES
   ========================================================================== */

/* ---- 10.1 Trust strip ---------------------------------------------------- */
.trust-strip {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.trust-strip > div { display: flex; align-items: center; gap: 0.75rem; }
.trust-strip > div > div { min-width: 0; }
.trust-strip svg { flex: none; color: var(--color-blue); }
.trust-strip strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: var(--color-navy); }
.trust-strip span { font-size: var(--fs-xs); color: var(--color-muted); }

/* ---- 10.2 Stats ---------------------------------------------------------- */
.stats-band {
  background: var(--color-navy);
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 5vw, 3.25rem);
  color: #fff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.stats-band::after {
  content: "";
  position: absolute;
  width: 60%; aspect-ratio: 1;
  right: -12%; top: -30%;
  background: radial-gradient(closest-side, rgba(57,115,185,0.5), transparent 70%);
  border-radius: 50%;
}
.stats-band > * { position: relative; z-index: 1; }
.stats-grid { display: grid; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.stat { border-left: 3px solid rgba(143, 182, 228, 0.5); padding-left: var(--space-4); margin: 0; }
.stat .stat-label { display: block; font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: #a9c4e6; margin-bottom: 0.35rem; }
.stat .stat-value {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.75rem);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-tight);
  color: #fff;
  line-height: 1.05;
}
.stat p { font-size: var(--fs-xs); color: #b6cbe8; margin: 0.35rem 0 0; }

/* ---- 10.3 Process timeline ---------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.timeline > li { position: relative; margin: 0; padding-left: 3.6rem; }
.timeline > li::before {
  content: attr(data-step);
  position: absolute;
  left: 0; top: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 2px solid var(--color-blue);
  color: var(--color-navy);
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-sm);
}
.timeline > li::after {
  content: "";
  position: absolute;
  left: 23px; top: 52px; bottom: -22px;
  border-left: 2px dashed var(--color-line-strong);
}
.timeline > li:last-child::after { display: none; }
.timeline h3 { font-size: var(--fs-md); margin-bottom: 0.35rem; }
.timeline p { font-size: var(--fs-sm); margin: 0; }

/* focus ring for the horizontally scrollable table on small screens */
.table-wrap:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }

/* ---- 10.4 Comparison table ---------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}
.compare-table { min-width: 620px; font-size: var(--fs-sm); }
.compare-table caption {
  text-align: left;
  padding: var(--space-5) var(--space-5) 0;
  font-size: var(--fs-xs);
  color: var(--color-muted);
  caption-side: bottom;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  border-bottom: 0;
}
.compare-table thead th:first-child { border-top-left-radius: var(--radius-lg); }
.compare-table thead th:last-child { border-top-right-radius: var(--radius-lg); }
.compare-table tbody th { font-weight: var(--fw-semi); color: var(--color-heading); background: var(--color-surface-soft); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--color-success); font-weight: var(--fw-semi); }
.compare-table .no { color: var(--color-muted); }
.compare-table tbody .col-us { background: var(--color-blue-wash); }
.compare-table thead .col-us {
  background: var(--color-blue-dark);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--color-blue-light);
}

/* ---- 10.5 FAQ accordion (CSS only) --------------------------------------- */
.faq { display: grid; gap: var(--space-3); }
.faq details {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq details[open] { border-color: var(--color-blue-light); box-shadow: var(--shadow-md); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  font-size: var(--fs-base);
  color: var(--color-heading);
  list-style: none;
  border-radius: var(--radius-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--color-blue);
  border-bottom: 2.5px solid var(--color-blue);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t-base);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq-body { padding: 0 1.35rem 1.35rem; font-size: var(--fs-sm); }
.faq .faq-body p { margin-bottom: var(--space-3); }

/* ---- 10.6 Pricing tiers --------------------------------------------------- */
.tiers { display: grid; gap: var(--gap); align-items: stretch; }
.tier {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow-sm);
}
.tier--featured {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.tier--featured::before {
  content: "Most booked";
  position: absolute;
  top: -0.85rem; left: clamp(1.5rem, 3vw, 2.15rem);
  padding: 0.35rem 0.85rem;
  background: var(--color-navy);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
}
.tier h3 { margin-bottom: 0.35rem; }
.tier .tier-price {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  color: var(--color-navy);
  letter-spacing: var(--ls-tight);
  margin: var(--space-3) 0 0.15rem;
}
.tier .tier-note { font-size: var(--fs-xs); color: var(--color-muted); }
.tier ul { list-style: none; padding: 0; margin: var(--space-5) 0; }
.tier li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: var(--fs-sm); margin-bottom: 0.6rem; }
.tier li svg { flex: none; margin-top: 3px; color: var(--color-blue); }
.tier .btn { margin-top: auto; }

/* ---- 10.7 Reviews -------------------------------------------------------- */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
}
.rating-summary .score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: var(--fw-black);
  color: var(--color-navy);
  line-height: 1;
}
.stars { display: inline-flex; gap: 2px; color: var(--color-gold); }
.stars svg { width: 18px; height: 18px; }

/* The live Google reviews come from the Trustindex plugin, which brings its
   own stylesheet. Two things need correcting on our side.

   1. The plugin wraps its widget in <pre> so that WordPress's auto-formatting
      cannot mangle it. We switch that formatting off on these pages anyway, so
      all the <pre> does here is hand the widget the browser's monospace font
      and pre-formatted whitespace, which wrecks the layout. Reset it.
   2. The widget's own rule sets font-family: unset, meaning it inherits from
      that <pre>. Once the reset below is in place it inherits our body font
      instead, so the reviews match the rest of the page. */
.review-feed pre.ti-widget {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  white-space: normal;
  word-break: normal;
  font: inherit;
  color: inherit;
  tab-size: initial;
}
/* Keep the slider inside the page on small screens. */
.review-feed { max-width: 100%; }
.review-feed .ti-widget { max-width: 100%; }

/* ---- 10.7b Thank you page ------------------------------------------------ */
.ty-card {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 5vw, 3.2rem);
}
.ty-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
}
.ty-tick svg { width: 32px; height: 32px; }
.ty-card h1 { margin-bottom: var(--space-3); }

.ty-steps {
  list-style: none;
  margin: var(--space-7) 0 var(--space-6);
  padding: 0;
  display: grid;
  gap: var(--space-4);
  text-align: left;
}
.ty-steps li { display: flex; gap: var(--space-4); align-items: flex-start; }
.ty-step-n {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.ty-steps h2 { font-size: var(--fs-md); margin-bottom: 0.2rem; }
.ty-steps p { margin: 0; font-size: var(--fs-sm); color: var(--color-muted); }

.ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-5);
}
.ty-note { font-size: var(--fs-xs); margin: 0; }

/* ---- 10.8 Milestones (About) --------------------------------------------- */
.milestones { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.milestones li {
  display: grid;
  gap: 0.25rem 1.25rem;
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-line);
  margin: 0;
}
.milestones li:last-child { border-bottom: 0; }
.milestones .m-key {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  color: var(--color-blue-dark);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  min-width: 7.5rem;
}
.milestones h3 { font-size: var(--fs-md); margin: 0 0 0.2rem; }
.milestones p { font-size: var(--fs-sm); margin: 0; }

/* ---- 10.9 Service detail blocks ------------------------------------------ */
.service-block { scroll-margin-top: calc(var(--header-h) + 2rem); }
.service-block + .service-block { margin-top: clamp(1.9rem, 3.6vw, 3rem); }
.service-block .split { align-items: center; }
.service-block h2 { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

.spec-list { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: 0.65rem; }
.spec-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-sm); margin: 0; }
.spec-list svg { flex: none; margin-top: 3px; color: var(--color-blue); }

/* alternating service blocks: figure-first markup puts the photo on the
   left at desktop widths, figure-last puts it on the right */
.service-block .split h3 { font-size: var(--fs-xl); }

/* MOT feature band */
.mot-band {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0b3f80 0%, var(--color-mot-deep) 60%, #1a6fc4 130%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.mot-band h2, .mot-band h3 { color: #fff; }
.mot-band p { color: #ffffff; }
.mot-band .mot-badge { background: rgba(255, 255, 255, 0.16); box-shadow: none; }
@media (min-width: 720px) {
  .mot-band { grid-template-columns: auto 1fr auto; }
}

/* ---- 10.10 CTA band ------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 60%, var(--color-blue-dark) 130%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-xl);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 46%; aspect-ratio: 1;
  right: -8%; bottom: -45%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(143, 182, 228, 0.35), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cddcf1; }

/* ---- 10.11 Info / hours panels ------------------------------------------- */
.info-panel {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow-md);
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.info-list li { display: flex; gap: var(--space-4); align-items: flex-start; margin: 0; }
.info-list .info-ico {
  flex: none;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-blue-mist);
  color: var(--color-navy);
}
.info-list .info-ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: var(--color-navy); }
.info-list a { color: var(--color-blue-dark); text-decoration: none; font-size: var(--fs-sm); word-break: break-word; }
.info-list a:hover { text-decoration: underline; }
.info-list span { font-size: var(--fs-sm); }

.hours-table { font-size: var(--fs-sm); }
.hours-table th, .hours-table td { padding: 0.65rem 0; text-align: left; border-bottom: 1px dashed var(--color-line); }
.hours-table th { font-weight: var(--fw-semi); color: var(--color-heading); }
.hours-table td { text-align: right; color: var(--color-body); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.stack-media { display: grid; gap: var(--space-4); }

.map-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
  background: var(--color-blue-mist);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ==========================================================================
   11. FORMS
   ========================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

label { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--color-heading); }
.field .hint { font-size: var(--fs-xs); color: var(--color-muted); font-weight: var(--fw-normal); }
.req { color: #b3261e; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="time"], input[type="number"], select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 48px;
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--color-heading);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
  appearance: none;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314224b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}
input:hover, select:hover, textarea:hover { border-color: var(--color-blue-light); }
input:focus, select:focus, textarea:focus {
  background: #fff;
  border-color: var(--color-mot);
  box-shadow: 0 0 0 3px rgba(18, 122, 233, 0.18);
  outline: none;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: var(--focus-ring); outline-offset: 1px; }
input::placeholder, textarea::placeholder { color: #93a1b8; }
/* only flag a field once the person has actually interacted with it */
input:user-invalid, select:user-invalid, textarea:user-invalid {
  border-color: #c0483f;
  background: #fdf6f5;
}
input:user-valid, select:user-valid { border-color: #6ba38a; }

fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--color-heading); margin-bottom: 0.55rem; }

/* time-slot radio pills */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 0.6rem; }
.slot { position: relative; }
.slot input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.slot span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 0.5rem;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-pill);
  background: var(--color-surface-soft);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--color-heading);
  text-align: center;
  transition: background-color var(--t-base), border-color var(--t-base), color var(--t-base);
}
.slot input:hover + span { border-color: var(--color-blue); background: var(--color-blue-wash); }
.slot input:checked + span { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.slot input:focus-visible + span { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

/* checkbox row */
.check-row { display: flex; flex-direction: row; gap: 0.7rem; align-items: flex-start; }
.check-row input[type="checkbox"] {
  flex: none;
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--color-navy);
  cursor: pointer;
}
.check-row label { font-weight: var(--fw-normal); font-size: var(--fs-sm); color: var(--color-body); }

.form-footnote { font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--space-4); }

/* ==========================================================================
   12. FOOTER  (white, per brand direction)
   ========================================================================== */
.rms-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  color: var(--color-body);
  padding-block: clamp(1.8rem, 3vw, 2.6rem) 0;
}
.footer-grid { display: grid; gap: clamp(1.5rem, 2.6vw, 2.2rem); }
.footer-brand img { width: 200px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--fs-sm); max-width: 40ch; }

.footer-col h3 {
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--color-body); text-decoration: none; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--color-navy); text-decoration: underline; }
.footer-col a.btn, .footer-col a.btn:hover { color: #fff; text-decoration: none; }

.social-row { display: flex; gap: 0.6rem; margin-top: var(--space-5); }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  background: var(--color-blue-wash);
  border: 1px solid var(--color-line);
  color: var(--color-navy);
  transition: background-color var(--t-base), color var(--t-base), transform var(--t-fast);
}
.social-row a:hover { background: var(--color-navy); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 19px; height: 19px; }

.footer-bottom {
  margin-top: clamp(1.3rem, 2.4vw, 1.9rem);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--color-muted);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom a { color: var(--color-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--color-navy); text-decoration: underline; }

/* ==========================================================================
   13. UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.hide-sm { display: none; }
@media (min-width: 560px) { .hide-sm { display: inline; } }

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (min-width: 560px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-card { margin-left: 0; }
}

@media (min-width: 860px) {
  :root { --header-h: 78px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-7); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .milestones li { grid-template-columns: 9rem 1fr; }
  .media-collage { grid-template-columns: repeat(2, 1fr); }
  .topbar { display: block; }
  .rms-header .header-inner { min-height: var(--header-h); }
  .rms-nav ul { justify-content: flex-start; gap: 0.35rem; }
  .rms-nav a { padding: 0.9rem 1.15rem; font-size: var(--fs-base); }
  .floating-card { position: absolute; left: -1.5rem; bottom: -2rem; margin: 0; }
  .hero-media { margin-bottom: 2.5rem; }
}

@media (min-width: 1024px) {
  /* header: nav sits inline with the logo on desktop */
  .rms-header .header-inner { flex-wrap: nowrap; gap: var(--space-6); padding-block: 0.6rem; }
  .rms-nav {
    order: 2;
    flex: 1 1 auto;
    margin-top: 0;
    border-top: 0;
    background: transparent;
  }
  .rms-nav ul { justify-content: center; }
  .rms-nav a { border-bottom-width: 0; border-radius: var(--radius-pill); }
  .rms-nav a:hover { background: rgba(255, 255, 255, 0.1); }
  .rms-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); }
  .header-actions { order: 3; }
  .timeline { grid-template-columns: repeat(4, 1fr); column-gap: var(--space-5); }
  .timeline > li { padding-left: 0; padding-top: 4.2rem; }
  .timeline > li::after {
    left: 52px; right: -18px; top: 23px; bottom: auto;
    border-left: 0;
    border-top: 2px dashed var(--color-line-strong);
  }
  .hero-media::before { inset: 20px -22px -24px 20px; }
}

/* ==========================================================================
   15. MOTION, PRINT, FORCED COLORS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover, .card--link:hover, .social-row a:hover, .chip-nav a:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn, .card, .tier, .faq details, .form-card { border: 1px solid ButtonBorder; }
  .slot input:checked + span { forced-color-adjust: none; }
}

@media print {
  .rms-header, .rms-nav, .topbar, .map-frame, .cta-band, .btn { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
