/* =============================================================
   MQ ELECTRIC — styles.css
   Source: Figma / Iteration 1 + Component Library + Styles Page
   ============================================================= */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700;800;900&display=swap');

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {

  /* Primary palette */
  --primary-100: #dadaef;
  --primary-200: #afb1de;
  --primary-300: #8588cc;
  --primary-400: #5d62b7;
  --primary-500: #3b408d;
  --primary-600: #202354;   /* PRIMARY BASE */
  --primary-700: #0c0e2a;

  /* Secondary palette */
  --secondary-100: #e3e6f7;
  --secondary-200: #b5bceb;
  --secondary-300: #8694df;
  --secondary-400: #556dcf;
  --secondary-500: #374B9A;  /* SECONDARY BASE */
  --secondary-600: #1f2d61;
  --secondary-700: #0a112c;

  /* Tertiary (accent yellow) */
  --tertiary-100: #F8ED2A;   /* TERTIARY BASE */
  --tertiary-200: #cdc421;
  --tertiary-300: #a49d18;
  --tertiary-400: #7d7710;
  --tertiary-500: #585408;
  --tertiary-600: #363303;
  --tertiary-700: #161501;

  /* Greys */
  --grey-100: #dcdcde;
  --grey-200: #b4b4b8;
  --grey-300: #8e8e94;
  --grey-400: #6a6a71;
  --grey-500: #47474f;
  --grey-600: #28282d;
  --grey-700: #111113;
  --grey-fill: #F5F6FA;

  /* Semantic aliases */
  --color-navy:        var(--primary-600);    /* #202354 */
  --color-blue:        var(--secondary-500);  /* #374B9A */
  --color-yellow:      var(--tertiary-100);   /* #F8ED2A */
  --color-bg:          #ffffff;
  --color-surface:     var(--secondary-100);  /* #e3e6f7 — light fills */
  --color-text:        var(--primary-600);
  --color-text-muted:  var(--grey-400);
  --color-text-body:   var(--grey-600);
  --color-border:      var(--secondary-100);

  /* ── TYPOGRAPHY ──────────────────────────────────────────── */
  --font-family:       'League Spartan', sans-serif;

  /* Scale from Figma Fonts frame */
  --text-title:        75px;   /* Desktop/Title/Bold 75    */
  --text-heading:      50px;   /* Desktop/Heading/Bold/50  */
  --text-subheading:   25px;   /* Desktop/SubHeading/Bold/25 */
  --text-body:         18px;   /* Desktop/Body/Regular/18  */
  --text-caption:      15px;   /* Desktop/Caption/Light/15 */
  --text-button:       18px;   /* Desktop/Button/Medium/18 */

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;
  --weight-extrabold:800;
  --weight-black:   900;

  --line-height-tight:   1.1;
  --line-height-snug:    1.3;
  --line-height-normal:  1.5;
  --line-height-relaxed: 1.65;

  /* ── SPACING ─────────────────────────────────────────────── */
  --space-4:    4px;
  --space-8:    8px;
  --space-12:   12px;
  --space-16:   16px;
  --space-20:   20px;
  --space-24:   24px;
  --space-32:   32px;
  --space-40:   40px;
  --space-48:   48px;
  --space-56:   56px;
  --space-64:   64px;
  --space-72:   72px;
  --space-80:   80px;
  --space-96:   96px;
  --space-120:  120px;

  /* Page layout — from Figma frame CSS: 1440px width, 75px margin, 97px nav */
  /*--page-width:   1440px;*/
  --page-margin:  10rem;         /* horizontal gutters */
  --content-max:  1290px;       /* 1440 - 75*2 */
  --nav-height:   6rem;

  /* ── BORDERS & RADII ─────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-pill: 100px;

  /* ── SHADOWS ─────────────────────────────────────────────── */
  --shadow-card:   0 2px 12px rgba(32,35,84,0.07);
  --shadow-hover:  0 8px 32px rgba(32,35,84,0.14);
  --shadow-nav:    0 2px 20px rgba(0,0,0,0.18);

  /* ── TRANSITIONS ─────────────────────────────────────────── */
  --transition-fast:   0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow:   0.4s ease;

  /* ── MOTION ──────────────────────────────────────────────── */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 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-family);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-family);
}

input, textarea, select {
  font-family: var(--font-family);
}

/* ── PAGE WRAPPER ─────────────────────────────────────────── */
/* Matches Figma page frames: 1440px wide, column flex, padding-top 97px */
.page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  background: var(--color-bg);
  isolation: isolate;
  padding-top: var(--nav-height);
}

/* Inner content container — matches 1290px content width (75px gutters each side) */
.container {
  width: 100%;
  max-width: var(--page-width);
  padding-left: var(--page-margin);
  padding-right: var(--page-margin);
  margin: 0 auto;
}

.container--inner {
  width: 100%;
  margin: 0 auto;
}

/* ── TYPOGRAPHY CLASSES ───────────────────────────────────── */
/* Matching Figma type styles exactly */

.text-title {
  font-size: var(--text-title);
  font-weight: var(--weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.text-heading-bold {
  font-size: var(--text-heading);
  font-weight: var(--weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.text-heading-medium {
  font-size: var(--text-heading);
  font-weight: var(--weight-medium);
  line-height: var(--line-height-snug);
}

.text-subheading-bold {
  font-size: var(--text-subheading);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-snug);
}

.text-subheading-medium {
  font-size: var(--text-subheading);
  font-weight: var(--weight-medium);
  line-height: var(--line-height-snug);
}

.text-body-regular {
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--line-height-relaxed);
}

.text-body-semibold {
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  line-height: var(--line-height-relaxed);
}

.text-caption {
  font-size: var(--text-caption);
  font-weight: var(--weight-light);
  line-height: var(--line-height-normal);
}

.text-button {
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
  line-height: 1;
}

/* ── SECTION TAG / EYEBROW ────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--color-yellow);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-tag--light {
  color: rgba(255,255,255,0.55);
}

.section-tag--center {
  justify-content: center;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
/* From Figma: Frame 2 — width 1440, height 97 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-margin);
  transition: box-shadow var(--transition-normal), background var(--transition-normal);
}

.nav--scrolled {
  box-shadow: var(--shadow-nav);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
/*
.nav__logo-mark {
  width: 44px;
  height: 44px;
  background: var(--color-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: var(--weight-black);
  color: white;
  position: relative;
  letter-spacing: -0.02em;
}

.nav__logo-bolt {
  position: absolute;
  bottom: -5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid var(--color-yellow);
}


.nav__logo-name {
  font-size: 20px;
  font-weight: var(--weight-extrabold);
  color: white;
  letter-spacing: 0.05em;
  display: block;
  line-height: 1;
}
*/

.nav__logo-sub {
  font-size: 10px;
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 13px;
  font-weight: var(--weight-semibold);
  color: var(--secondary-500);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal) var(--ease-out-expo);
}

.nav__link:hover,
.nav__link--active {
  color: var(--secondary-500);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__cta {
  background: var(--color-yellow);
  color: var(--color-navy);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248,237,42,0.45);
}

/* ── EMERGENCY BANNER ─────────────────────────────────────── */
.emergency-banner {
  background: var(--color-yellow);
  color: var(--color-navy);
  text-align: center;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transform: translateY(0);
  transition: transform var(--transition-normal);
}

.emergency-banner a {
  color: var(--color-navy);
  font-weight: var(--weight-black);
  border-bottom: 2px solid var(--color-navy);
}

/* When banner is hidden (scrolled past) */
.emergency-banner--hidden {
  transform: translateY(-100%);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
/* From Figma component library: Primary, Secondary, Text styles */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Pill shape (default) */
.btn--pill {
  border-radius: var(--radius-pill);
}

/* Square shape */
.btn--square {
  border-radius: var(--radius-md);
}

/* Sizes — from Figma: Small 34px height, Large 46-48px height */
.btn--sm {
  font-size: 14px;
  height: 34px;
  padding: 0 20px;
}

.btn--lg {
  font-size: var(--text-button);
  height: 48px;
  padding: 0 28px;
}

/* Primary button — yellow fill, navy text */
.btn--primary {
  background: var(--color-yellow);
  color: var(--color-navy);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(248,237,42,0.45);
  background: #f5e922;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--primary:focus-visible {
  outline: 3px solid rgba(248,237,42,0.6);
  outline-offset: 3px;
}

.btn--primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Secondary button — transparent, navy border */
.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--secondary:hover {
  background: var(--color-navy);
  color: white;
  transform: translateY(-2px);
}

.btn--secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Secondary on dark bg */
.btn--secondary-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--secondary-light:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

/* Text button — no fill, no border */
.btn--text {
  background: transparent;
  color: var(--color-blue);
  padding-left: 0;
  padding-right: 0;
}

.btn--text:hover {
  color: var(--color-navy);
}

.btn--text-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
}

.btn--text-light:hover {
  color: var(--color-yellow);
}

/* ── CARDS ────────────────────────────────────────────────── */
/* From Figma component library: card-stroke, card-inverse, card-alternate */

/* Base card */
.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal) var(--ease-out-expo),
              box-shadow var(--transition-normal);
}

/* card-stroke — white bg, subtle border, shadow on hover */
.card--stroke {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.card--stroke:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-300);
}

/* card-inverse — navy bg, yellow accent border */
.card--inverse {
  background: var(--color-navy);
  border: 1.5px solid rgba(248,237,42,0.15);
  color: white;
}

.card--inverse:hover {
  transform: translateY(-4px);
  border-color: rgba(248,237,42,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* card-alternate — compact, tag-style, used in trust bar */
.card--alternate {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  transition: background var(--transition-fast);
}

.card--alternate:hover {
  background: var(--secondary-200);
}

/* Card inner padding */
.card__body {
  padding: 28px 24px;
}

.card__body--lg {
  padding: 36px 32px;
}

/* Card image area */
.card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface);
  position: relative;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card--stroke:hover .card__image img {
  transform: scale(1.03);
}

/* ── TAGS ─────────────────────────────────────────────────── */
/* From Figma: tag-primary, tag-secondary, ears variants */

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tag--primary {
  background: var(--color-yellow);
  color: var(--color-navy);
}

.tag--secondary {
  background: var(--color-surface);
  color: var(--color-blue);
}

.tag--light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}

/* "ears" — location/meta tag used in work cards */
.tag--ear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-surface);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* ── FORM ELEMENTS ────────────────────────────────────────── */
/* From Figma: fieldtypes, fieldtypes-inverse, text-box-inverse, form-inverse */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-label--light {
  color: rgba(255,255,255,0.6);
}

.form-label--dark {
  color: var(--grey-500);
}

/* Input — standard */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: var(--weight-regular);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-navy);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast),
              box-shadow var(--transition-fast);
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grey-300);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--secondary-300);
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(55,75,154,0.1);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

/* Input — inverse (dark background forms) */
.form-input--inverse,
.form-select--inverse,
.form-textarea--inverse {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: white;
}

.form-input--inverse::placeholder,
.form-textarea--inverse::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-input--inverse:hover,
.form-select--inverse:hover,
.form-textarea--inverse:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.form-input--inverse:focus,
.form-select--inverse:focus,
.form-textarea--inverse:focus {
  border-color: var(--color-yellow);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(248,237,42,0.12);
}

.form-select--inverse option {
  color: var(--color-navy);
  background: white;
}

/* ── HERO SECTION ─────────────────────────────────────────── */
/* Figma: Frame 12 — hero component, height varies per page */

.hero-home {
  width: 100%;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px var(--page-margin);
}

/* Dot grid background texture */
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Diagonal blue shape image */
.hero-home::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background-image: url('../images/home-hero.png');
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
  /*
  pointer-events: none;
  z-index: 0;
  */
}

.hero-about {
  width: 100%;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px var(--page-margin);
}

/* Dot grid background texture */
.hero-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Diagonal blue shape image */
.hero-about::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background-image: url('../images/marcus-hero-about.png');
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
  /*
  pointer-events: none;
  z-index: 0;
  */
}

.hero-services {
  width: 100%;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px var(--page-margin);
}

.hero-work {
  width: 100%;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px var(--page-margin);
}

/* Dot grid background texture */
.hero-work::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Diagonal blue shape image */
.hero-work::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background-image: url('../images/hero-work.png');
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
  /*
  pointer-events: none;
  z-index: 0;
  */
}
.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(248,237,42,0.1);
  border: 1px solid rgba(248,237,42,0.22);
  color: var(--color-yellow);
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(38px, 5vw, var(--text-title));
  font-weight: var(--weight-black);
  color: white;
  line-height: var(--line-height-tight);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero__title .accent {
  color: var(--color-yellow);
}

.hero__subtitle {
  font-size: 18px;
  font-weight: var(--weight-regular);
  color: rgba(255,255,255,0.68);
  line-height: var(--line-height-relaxed);
  max-width: 460px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero media side */
.hero__media {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 480px;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(248,237,42,0.15);
  background: var(--color-blue);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero centered variant (services, sub-pages) */
.hero--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero--centered .hero__content {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--centered .hero__subtitle {
  max-width: 560px;
}

/* ── TRUST BAR ────────────────────────────────────────────── */
/* Figma: Frame 13 / card-alternate row — height 120, 4 items */

.trust-bar {
  width: 100%;
  background: var(--color-blue);
  padding: 0 var(--page-margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  gap: 12px;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  height: 70px;
}

.trust-bar__icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.trust-bar__label {
  font-size: 13px;
  font-weight: var(--weight-bold);
  color: white;
  line-height: 1.2;
}

.trust-bar__sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-weight: var(--weight-regular);
  margin-top: 2px;
}

/* ── SECTION LAYOUT ───────────────────────────────────────── */

section {
  width: 100%;
}

.section {
  width: 100%;
  padding: 10rem var(--page-margin);
}

.section--navy {
  background: var(--color-navy);
}

.section--blue {
  background: var(--color-blue);
}

.section--surface {
  background: var(--color-surface);
}

.section--white {
  background: var(--color-bg);
}

.section--greyish{
  background: var(--grey-fill);
}

.section__header {
  margin-bottom: 48px;
}

.section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.section__title {
  font-size: clamp(28px, 3vw, var(--text-heading));
  font-weight: var(--weight-black);
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: var(--line-height-tight);
  margin-bottom: 12px;
}

.section__title--light {
  color: white;
}

.section__subtitle {
  font-size: 17px;
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 580px;
}

.section__subtitle--light {
  color: rgba(255,255,255,0.62);
}

/* ── GRID SYSTEMS ─────────────────────────────────────────── */
/* Matching Figma layout grids */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

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

/* Split layouts used in Figma frames */
.split {
  display: grid;
  gap: 60px;
  align-items: center;
}

.split--5050 { grid-template-columns: 1fr 1fr; }
.split--6040 { grid-template-columns: 6fr 4fr; }
.split--4060 { grid-template-columns: 4fr 6fr; }
.split--7030 { grid-template-columns: 7fr 3fr; }

/* ── DIVIDER ──────────────────────────────────────────────── */
/* From Figma: divider component */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.divider--yellow {
  background: var(--color-yellow);
  height: 3px;
  width: 26px;
  border-radius: 2px;
}

/* ── ICONS ────────────────────────────────────────────────── */
/* From Figma icons frame: badge, star, shield, bolt, phone, email, location, etc. */

.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrap--sm  { width: 32px; height: 32px; }
.icon-wrap--md  { width: 48px; height: 48px; border-radius: var(--radius-md); }
.icon-wrap--lg  { width: 60px; height: 60px; border-radius: var(--radius-lg); }

.icon-wrap--navy   { background: var(--color-navy); }
.icon-wrap--blue   { background: var(--color-blue); }
.icon-wrap--yellow { background: var(--color-yellow); }
.icon-wrap--surface{ background: var(--color-surface); }
.icon-wrap--glass  { background: rgba(255,255,255,0.1); }

.icon-wrap img,
.icon-wrap svg {
  width: 60%;
  height: 60%;
}

/* ── IMAGE PLACEHOLDER ────────────────────────────────────── */
/* Figma: picture-placeholder component */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, var(--primary-300) 0%, var(--primary-600) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 18px,
    rgba(255,255,255,0.02) 18px,
    rgba(255,255,255,0.02) 19px
  );
}

.img-placeholder__icon {
  font-size: 36px;
  opacity: 0.18;
  z-index: 1;
}

.img-placeholder__label {
  z-index: 1;
  text-align: center;
  padding: 0 16px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
/* Figma: footer component — width 1440, height 509 */

.footer {
  width: 100%;
  background: var(--color-bg);
  padding: 56px var(--page-margin) 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__tagline {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  margin: 16px 0 14px;
  max-width: 230px;
}


.footer__towns {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-top: 8px;
  max-width: 260px;
}

.footer__col-head {
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__link {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: color var(--transition-fast);
}

.footer__link:hover,
.footer__link--active {
  color: var(--color-yellow);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer__contact-icon {
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

.footer__contact-sub {
  font-size: 11px;
  color: var(--color-text-muted);
  display: block;
}

.footer__divider {
  border: none;
  border-top: 1px solid var(--color-text-muted);
  margin-bottom: 22px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* ── FAQ ACCORDION ────────────────────────────────────────── */

.faq-item {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  transition: border-color var(--transition-fast);
}

.faq-item:hover,
.faq-item.is-open {
  border-color: var(--color-blue);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-family);
  transition: color var(--transition-fast);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: var(--weight-black);
  color: var(--color-navy);
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-normal);
  line-height: 1;
}

.faq-item.is-open .faq-toggle {
  background: var(--color-yellow);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo);
  padding: 0 24px;
  font-size: 15px;
  font-weight: var(--weight-regular);
  color: var(--grey-400);
  line-height: var(--line-height-relaxed);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ── BEFORE/AFTER IMAGE PAIRS ─────────────────────────────── */
/* Figma: picture-placeholder used in our-work */

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ba-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.ba-img--before {
  background: linear-gradient(140deg, var(--primary-300), var(--secondary-300));
}

.ba-img--after {
  background: linear-gradient(140deg, var(--secondary-500), var(--primary-600));
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: var(--weight-extrabold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 2;
}

.ba-tag--before {
  background: rgba(0,0,0,0.28);
  color: white;
}

.ba-tag--after {
  background: var(--color-yellow);
  color: var(--color-navy);
}

/* ── STEP COUNTER ─────────────────────────────────────────── */
/* Figma: counter step component */

.step-line {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(248,237,42,0.35);
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: var(--weight-black);
  color: var(--color-yellow);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Connector line between steps */
.step-connector {
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: calc(100% + 20px);
  background: rgba(248,237,42,0.15);
}

/* ── TEXT LINK ────────────────────────────────────────────── */
/* Figma: Text Link component with hover state */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: var(--weight-bold);
  color: var(--color-blue);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.text-link:hover {
  gap: 10px;
  color: var(--color-navy);
}

.text-link--light {
  color: rgba(255,255,255,0.8);
  border-bottom: 2px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
}

.text-link--light:hover {
  color: var(--color-yellow);
  border-color: var(--color-yellow);
}

/* ── PULL QUOTE ───────────────────────────────────────────── */
.pull-quote {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 72px;
  color: var(--color-bg);
  font-family: Georgia, serif;
  line-height: 1;
}

.pull-quote__text {
  font-size: 18px;
  font-weight: var(--weight-bold);
  color: white;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.pull-quote__text em {
  color: var(--color-yellow);
  font-style: normal;
}

.pull-quote__attr {
  font-size: 12px;
  font-weight: var(--weight-semibold);
  color: var(--color-bg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── STAT CARDS ───────────────────────────────────────────── */
.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}

.stat-card__num {
  font-size: 32px;
  font-weight: var(--weight-black);
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-card__num span {
  color: var(--color-blue);
}

.stat-card__label {
  font-size: 12px;
  font-weight: var(--weight-semibold);
  color: var(--grey-400);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* ── CTA STRIP ────────────────────────────────────────────── */
.cta-strip {
  width: 100%;
  padding: 60px var(--page-margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip__content h3 {
  font-size: 28px;
  font-weight: var(--weight-black);
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.cta-strip__content p {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: var(--line-height-relaxed);
  max-width: 540px;
}

/* ── MOTION / SCROLL ANIMATIONS ──────────────────────────── */

/* Fade-up on scroll — initial state */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease-out-expo),
    transform 0.65s var(--ease-out-expo);
}

/* Triggered by JS IntersectionObserver */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* Fade-in (no translate — for hero elements) */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo);
}

.fade-in.is-visible {
  opacity: 1;
}

/* Hero stagger — triggered immediately on load */
.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.7s var(--ease-out-expo) forwards;
}

.hero-reveal:nth-child(1) { animation-delay: 0.1s; }
.hero-reveal:nth-child(2) { animation-delay: 0.22s; }
.hero-reveal:nth-child(3) { animation-delay: 0.34s; }
.hero-reveal:nth-child(4) { animation-delay: 0.46s; }
.hero-reveal:nth-child(5) { animation-delay: 0.58s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale in — for cards appearing */
.scale-in {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo);
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ── AVAILABILITY DOT ─────────────────────────────────────── */
.avail-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50%       { box-shadow: 0 0 0 7px rgba(16,185,129,0.08); }
}

/* ── UTILITY ──────────────────────────────────────────────── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-yellow  { color: var(--color-yellow); }
.text-navy    { color: var(--color-navy); }
.text-blue    { color: var(--color-blue); }
.text-white   { color: white; }
.text-muted   { color: var(--color-text-muted); }

.bg-navy      { background: var(--color-navy); }
.bg-blue      { background: var(--color-blue); }
.bg-yellow    { background: var(--color-yellow); }
.bg-surface   { background: var(--color-surface); }
.bg-white     { background: white; }

.w-full       { width: 100%; }
.h-full       { height: 100%; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.items-center { align-items: center; }
.gap-4        { gap: 4px; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.gap-16       { gap: 16px; }
.gap-24       { gap: 24px; }

.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-40  { margin-top: 40px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.mb-40  { margin-bottom: 40px; }
.mb-48  { margin-bottom: 48px; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: var(--color-yellow); }
.breadcrumb__current { color: var(--color-yellow); }

/* ── TABLE ────────────────────────────────────────────────── */
/* Figma: table component */
.data-table {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
}

.data-table__row {
  display: grid;
  border-bottom: 1px solid var(--color-border);
}

.data-table__row:last-child { border-bottom: none; }

.data-table__row--header {
  background: var(--color-navy);
}

.data-table__cell {
  padding: 14px 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--color-border);
}

.data-table__cell:last-child { border-right: none; }

.data-table__row--header .data-table__cell {
  font-weight: var(--weight-bold);
  color: white;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-color: rgba(255,255,255,0.1);
}

.data-table__row:nth-child(even) .data-table__cell {
  background: var(--color-greyish);
}

.val-good { color: #10B981; font-weight: var(--weight-bold); }
.val-bad  { color: #EF4444; font-weight: var(--weight-bold); }

/* ── SERVICE TILES (contact form) ────────────────────────── */
.service-tile {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-surface);
  user-select: none;
}

.service-tile:hover {
  border-color: var(--color-blue);
  background: white;
}

.service-tile.is-selected {
  border-color: var(--color-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(55,75,154,0.1);
}

.service-tile__icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.service-tile__label {
  font-size: 11px;
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  line-height: 1.3;
}

/* =============================================================
   RESPONSIVE — MOBILE FIRST BREAKPOINTS
   Breakpoints: 768px (tablet), 480px (mobile)
   ============================================================= */

/* ── TABLET: ≤ 1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {

  :root {
    --page-margin: 40px;
    --text-title:  56px;
    --text-heading: 40px;
  }

  .nav {
    padding: 0 var(--page-margin);
  }

  .hero {
    padding: 60px var(--page-margin);
    gap: 40px;
    /*min-height: 752px*/
  }

  .hero__media {
    width: 380px;
  }

  .trust-bar {
    padding: 0 var(--page-margin);
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .trust-bar__item {
    flex: 1;
    min-width: 180px;
  }

  .section {
    padding: 60px var(--page-margin);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .split--6040,
  .split--4060,
  .split--7030 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── MOBILE: ≤ 768px ──────────────────────────────────────── */
@media (max-width: 768px) {

  :root {
    --page-margin:  20px;
    --nav-height:   64px;
    --text-title:   40px;
    --text-heading: 32px;
    --text-subheading: 20px;
    --text-body:    16px;
  }

  /* NAV */
  .nav {
    height: var(--nav-height);
    padding: 0 var(--page-margin);
  }

  .nav__links {
    display: none; /* Mobile menu — toggle with JS if needed */
  }

  .nav__logo-name { font-size: 17px; }
  .nav__logo-sub  { display: none; }

  .nav__cta {
    font-size: 13px;
    padding: 8px 16px;
  }

  /* Emergency banner */
  .emergency-banner {
    font-size: 12px;
    padding: 7px 16px;
  }

  /* HERO — stacks vertically */
  .hero-home{
    flex-direction: column;
    padding: 48px var(--page-margin) 56px;
    min-height: unset !important;
    gap: 36px;
  }

  .hero-home::after { display: none; } /* hide diagonal shape on mobile */

  /* HERO — stacks vertically */
  .hero-about{
    flex-direction: column;
    padding: 48px var(--page-margin) 56px;
    min-height: unset !important;
    gap: 36px;
  }

  .hero-about::after { display: none; } /* hide diagonal shape on mobile */

  /* HERO — stacks vertically */
  .hero-services{
    flex-direction: column;
    padding: 48px var(--page-margin) 56px;
    min-height: unset !important;
    gap: 36px;
  }

  .hero-services::after { display: none; } /* hide diagonal shape on mobile */

  /* HERO — stacks vertically */
  .hero-work{
    flex-direction: column;
    padding: 48px var(--page-margin) 56px;
    min-height: unset !important;
    gap: 36px;
  }

  .hero-work::after { display: none; } /* hide diagonal shape on mobile */



  .hero__content { max-width: 100%; }

  .hero__title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero__subtitle { font-size: 16px; max-width: 100%; }

  .hero__media {
    width: 100%;
  }

  .hero__image {
    aspect-ratio: 16/9;
  }

  /* Hero centered */
  .hero--centered {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* TRUST BAR */
  .trust-bar {
    flex-direction: column;
    height: auto;
    padding: 24px var(--page-margin);
    gap: 10px;
    align-items: stretch;
  }

  .trust-bar__item {
    min-width: unset;
    width: 100%;
  }

  /* SECTIONS */
  .section {
    padding: 48px var(--page-margin);
  }

  .section__title {
    font-size: clamp(24px, 6vw, 32px);
  }

  /* GRIDS — all collapse to 1 col on mobile */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* SPLITS — all stack */
  .split,
  .split--5050,
  .split--6040,
  .split--4060,
  .split--7030 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* CTA strip — stack */
  .cta-strip {
    flex-direction: column;
    gap: 24px;
    padding: 40px var(--page-margin);
    text-align: center;
  }

  /* Buttons — full width on mobile where needed */
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Cards */
  .card__body,
  .card__body--lg {
    padding: 22px 20px;
  }

  /* Pull quote */
  .pull-quote { padding: 28px 24px; }
  .pull-quote__text { font-size: 16px; }

  /* FOOTER */
  .footer {
    padding: 40px var(--page-margin) 28px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__tagline,
  .footer__towns {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* FAQ */
  .faq-question { font-size: 14px; padding: 16px 18px; }
  .faq-answer   { padding: 0 18px; font-size: 13px; }
  .faq-item.is-open .faq-answer { padding-bottom: 16px; }

  /* Section header split — stack */
  .section__header--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Form grid */
  .grid-2.form-row { grid-template-columns: 1fr; }

  /* BA pairs */
  .ba-pair { grid-template-columns: 1fr 1fr; } /* keep side by side, just smaller */

  /* Data table — scroll horizontally */
  .data-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
  }

  /* Nav links show on mobile via hamburger (future enhancement) */
  .nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  /* Mobile nav overlay */
  .nav__mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-navy);
    padding: 24px var(--page-margin);
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }

  .nav__mobile.is-open { display: flex; }

  .nav__mobile .nav__link {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav__mobile .nav__link:last-child { border-bottom: none; }

  .nav__mobile .nav__cta {
    margin-top: 16px;
    display: block;
    text-align: center;
    padding: 14px;
  }

  /* Breadcrumb — smaller */
  .breadcrumb { font-size: 10px; gap: 6px; }

  /* Stat cards — 2 col on mobile */
  .stat-grid-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Section tags — hide line on very small */
  .section-tag { font-size: 10px; }
}

/* ── SMALL MOBILE: ≤ 480px ────────────────────────────────── */
@media (max-width: 480px) {

  :root {
    --page-margin: 16px;
    --text-title:  34px;
    --text-heading: 28px;
  }

  .hero__title { font-size: 28px; }

  .section__title { font-size: 24px; }

  .trust-bar__item {
    padding: 10px 14px;
  }

  /* BA pair — stack vertically on tiny screens */
  .ba-pair {
    grid-template-columns: 1fr;
  }

  .ba-pair .ba-img { height: 180px !important; }

  /* Cards full padding reduction */
  .card__body { padding: 18px 16px; }

  /* Buttons */
  .btn--lg {
    font-size: 15px;
    height: 44px;
    padding: 0 22px;
  }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }

  .nav__cta { display: none; } /* hide on very small, phone number in banner is enough */
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {
  .nav, .emergency-banner, .footer { display: none; }
  .page { padding-top: 0; }
  .fade-up, .fade-in, .scale-in { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   HAMBURGER MENU & SLIDE-IN DRAWER
   ============================================================= */

/* ── Hamburger button — hidden on desktop ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav__hamburger:hover {
  background: rgba(0,0,0,0.06);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}

/* Animated X state */
.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Backdrop ── */
.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__backdrop.is-open {
  opacity: 1;
}

/* ── Drawer ── */
.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: white;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav__drawer.is-open {
  transform: translateX(0);
}

/* ── Drawer inner ── */
.nav__drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 24px 28px 40px;
  min-height: 100%;
}

/* ── Close button ── */
.nav__drawer-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  background: var(--color-surface);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.nav__drawer-close:hover {
  background: var(--secondary-200);
}

/* ── Drawer links ── */
.nav__drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
  flex: 1;
}

.nav__drawer-link {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  text-decoration: none;
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
}

.nav__drawer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--color-yellow);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav__drawer-link:hover {
  background: var(--color-surface);
  color: var(--color-navy);
}

.nav__drawer-link:hover::before,
.nav__drawer-link--active::before {
  transform: translateY(-50%) scaleY(1);
}

.nav__drawer-link--active {
  background: var(--color-surface);
  font-weight: var(--weight-bold);
  color: var(--color-navy);
}

/* ── Drawer CTA button ── */
.nav__drawer-cta {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 16px;
  font-weight: var(--weight-extrabold);
  margin-bottom: 20px;
}

/* ── Drawer contact line ── */
.nav__drawer-contact {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.nav__drawer-contact a {
  font-size: 15px;
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
  text-decoration: none;
}

.nav__drawer-contact a:hover {
  color: var(--color-navy);
}

/* ── Logo image sizing fix ── */
.nav__logo img {
  height: calc(var(--nav-height) * 0.65);
  width: auto;
  max-height: 52px;
  object-fit: contain;
  display: block;
}

/* ── Show hamburger, adjust nav on mobile/tablet ── */
@media (max-width: 1024px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none !important; /* hide desktop links */
  }

  .nav__cta {
    display: none; /* hide desktop CTA — it's in the drawer */
  }

  /* Logo image on tablet */
  .nav__logo img {
    height: calc(var(--nav-height) * 0.6);
    max-height: 46px;
  }
}

@media (max-width: 768px) {
  /* Logo image on mobile — constrain to nav height with breathing room */
  .nav__logo img {
    height: calc(var(--nav-height) - 20px);
    max-height: 44px;
  }

  /* Show backdrop when drawer open */
  .nav__backdrop.is-open {
    display: block;
  }
}

/* Prevent body scroll when drawer is open */
body.drawer-open {
  overflow: hidden;
}
