/* ==========================================================================
   Eaglewing Air System — Heating & Air Conditioning
   Stylesheet: tokens → base → layout → components → pages → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — sampled from the Eagle Wing logo */
  --navy-900: #062a52;
  --navy-800: #0a3766;
  --blue-700: #00408f;
  --blue-600: #004aab;   /* the logo's wing blue */
  --cyan-500: #2299cc;
  --cyan-400: #57bcdf;
  --cyan-300: #8fd6ec;
  --cyan-100: #d9eaf7;
  --cyan-050: #eef5fb;

  /* Neutrals */
  --ink: #0e2436;
  --ink-soft: #4f6884;
  --ink-faint: #7c93aa;
  --page: #f1f6fb;
  --white: #ffffff;
  --line: rgba(14, 36, 54, 0.1);
  --line-strong: rgba(14, 36, 54, 0.16);

  /* Support — the globe's warm half, used only for heating */
  --ember: #ea4727;
  --danger: #c0392b;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(6, 42, 82, 0.06), 0 4px 12px rgba(6, 42, 82, 0.05);
  --shadow-md: 0 2px 6px rgba(6, 42, 82, 0.06), 0 16px 32px rgba(6, 42, 82, 0.08);
  --shadow-lg: 0 8px 24px rgba(6, 42, 82, 0.1), 0 32px 64px rgba(6, 42, 82, 0.12);
  --shadow-brand: 0 10px 22px rgba(0, 74, 171, 0.26);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Rhythm — fluid so sections breathe on large screens and tighten on phones */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 7vw, 7rem);
  --container: 1200px;

  /* Measured at runtime by main.js; this is the fallback */
  --header-h: 104px;
  --header-pad: clamp(0.6rem, 1.2vw, 0.95rem);

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step-hero: clamp(2.25rem, 1.15rem + 3.6vw, 4rem);
  --step-h2: clamp(1.7rem, 1.1rem + 2vw, 2.75rem);
  --step-h3: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);
  --step-lead: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  --step-body: 1rem;
  --step-sm: 0.9rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: var(--step-hero); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1rem; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  background: var(--white);
  color: var(--navy-800);
  padding: 0.75rem 1.15rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.section--ice { background: var(--white); }
.section--deep { background: var(--navy-900); color: #d8e6f5; }
.section--deep h2,
.section--deep h3 { color: var(--white); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: var(--step-lead); }
.section--deep .section-head p { color: rgba(216, 230, 245, 0.78); }

.lead { font-size: var(--step-lead); color: var(--ink-soft); }

/* Eyebrow pill — the small badge above headings in the reference design */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--blue-700);
  border: 1px solid var(--cyan-100);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.95rem 0.4rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.eyebrow svg { width: 18px; height: 18px; flex: none; color: var(--cyan-500); }
.eyebrow--on-teal {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: none;
}
.eyebrow--on-teal svg { color: #fff; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }

.btn--light { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-md); }
.btn--light:hover { background: var(--cyan-050); color: var(--navy-800); }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--cyan-500); color: var(--blue-700); background: var(--white); }

.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Phone block used beside the hero CTA */
.call-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.call-inline__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.call-inline__icon svg { width: 19px; height: 19px; }
.call-inline__label { display: block; font-size: 0.78rem; opacity: 0.85; line-height: 1.4; }
.call-inline__number { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.call-inline:hover .call-inline__icon { background: rgba(255, 255, 255, 0.3); }

/* --------------------------------------------------------------------------
   5. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: var(--header-pad);
  padding-bottom: var(--header-pad);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 28px rgba(6, 42, 82, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s var(--ease);
}
.is-stuck .nav-shell { box-shadow: none; background: transparent; padding-left: 0.25rem; }

/* Logo lockup — the supplied artwork, used whole */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  line-height: 0;
}
.brand__logo {
  display: block;
  width: clamp(126px, 14vw, 168px);
  max-width: 168px;   /* hard stop if clamp() is unsupported */
  height: auto;
}
.site-footer .brand__logo { width: clamp(150px, 18vw, 196px); max-width: 196px; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav__link {
  display: block;
  padding: 0.6rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__link:hover { color: var(--blue-700); background: var(--cyan-050); }
.nav__link[aria-current="page"] { color: var(--navy-800); font-weight: 600; background: var(--cyan-100); }

.nav__mobile-cta { display: none; }
.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-pill);
  cursor: pointer;
  padding: 0;
  place-items: center;
  color: var(--navy-800);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(90% 70% at 8% 100%, rgba(6, 42, 82, 0.35) 0%, rgba(6, 42, 82, 0) 60%),
    linear-gradient(128deg, #087f9d 0%, #1599b7 46%, #59c3dc 100%);
  color: #fff;
  overflow: clip;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}
.hero::after {
  /* soft frost texture, kept very low contrast */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 72%, rgba(255, 255, 255, 0.1) 0 12px, transparent 13px),
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.08) 0 18px, transparent 19px),
    radial-gradient(circle at 62% 84%, rgba(255, 255, 255, 0.08) 0 14px, transparent 15px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5.5rem);
}
.hero h1 { color: #fff; margin-bottom: 1.15rem; }
.hero__copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--step-lead);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
  list-style: none;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-pill);
  padding: 0.45rem 0.9rem;
}
.hero__chips svg { width: 15px; height: 15px; flex: none; }

/* Hero visual: photo panel + floating stat card */
.hero__visual { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: clamp(-0.5rem, -1vw, -1.75rem);
  bottom: clamp(1rem, 3vw, 2rem);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 17rem;
}
.hero__badge svg { width: 34px; height: 34px; color: var(--blue-600); flex: none; }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.hero__badge span { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; }

/* Page header for interior pages */
.page-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(100% 80% at 85% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(128deg, #00337a 0%, #0f6fb8 52%, #52b9dc 100%);
  color: #fff;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
  overflow: clip;
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: rgba(255, 255, 255, 0.9); font-size: var(--step-lead); max-width: 56ch; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.1rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.92); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }

/* --------------------------------------------------------------------------
   7. Credentials strip
   -------------------------------------------------------------------------- */
.creds {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.creds__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.creds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  list-style: none;
}
.creds__grid li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.95rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
  min-height: 68px;
}
.creds__grid svg { width: 22px; height: 22px; color: var(--cyan-500); flex: none; }

/* --------------------------------------------------------------------------
   8. Split (image + text) blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3rem, 6vw, 5.5rem); }
.split--flip .split__media { order: 2; }

.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: linear-gradient(150deg, var(--cyan-100), var(--cyan-050));
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 4 / 5; }

.checklist { list-style: none; margin: 1.5rem 0 2rem; display: grid; gap: 0.75rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--ink);
}
.checklist svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--blue-600);
  margin-top: 1px;
}
.section--deep .checklist li { color: #d8e6f5; }
.section--deep .checklist svg { color: var(--cyan-300); }

/* --------------------------------------------------------------------------
   9. Service cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-300);
  color: inherit;
}
.service-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--cyan-300), var(--cyan-100));
  overflow: hidden;
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--blue-600);
  color: #fff;
  margin-bottom: 1rem;
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card__icon--heat { background: var(--ember); }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 1.25rem; }
.service-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-700);
}
.service-card__more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-card__more svg { transform: translateX(4px); }

/* Compact tile used for the secondary equipment list */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.35rem 1.4rem;
}
.tile__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cyan-050);
  color: var(--blue-600);
  margin-bottom: 0.9rem;
}
.tile__icon svg { width: 21px; height: 21px; }
.tile__icon--heat { background: rgba(234, 71, 39, 0.1); color: var(--ember); }
.tile h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.tile p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* Equipment category gallery on the home page */
.equipment-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.25rem);
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}
.equipment-category {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.equipment-category { aspect-ratio: 4 / 5; min-height: 0; }
.equipment-category--wide { grid-column: auto; }
.equipment-category img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.equipment-category--product img { padding: 1.1rem; background: #fff; object-fit: contain; }
.equipment-category::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,42,82,.04) 18%, rgba(6,42,82,.9) 100%); }
.equipment-category div { position: absolute; z-index: 1; right: 1.35rem; bottom: 1.25rem; left: 1.35rem; color: var(--white); }
.equipment-category span { display: block; margin-bottom: .25rem; color: var(--cyan-300); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.equipment-category h3 { margin: 0 0 .3rem; color: var(--white); font-size: clamp(1.15rem, 1rem + .7vw, 1.55rem); }
.equipment-category p { max-width: 30rem; margin: 0; color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.45; }
.equipment-category:hover img { transform: scale(1.045); }
@media (max-width: 980px) { .equipment-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .equipment-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); } .equipment-category, .equipment-category--wide { grid-column: auto; } }
@media (max-width: 390px) { .equipment-categories { grid-template-columns: 1fr; } }

/* Feature cards on the dark band */
.feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.feature-card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--cyan-300);
  margin-bottom: 1rem;
}
.feature-card__icon svg { width: 21px; height: 21px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.feature-card p { color: rgba(216, 230, 245, 0.75); font-size: 0.93rem; margin: 0; }

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.85rem; max-width: 60rem; margin-inline: auto; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq__item[open] { border-color: var(--cyan-300); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue-700); }
.faq__sign {
  width: 30px; height: 30px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--cyan-050);
  color: var(--blue-600);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.faq__sign svg { width: 16px; height: 16px; }
.faq__item[open] .faq__sign { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq__a { padding: 0 1.4rem 1.4rem; color: var(--ink-soft); }
.faq__a p { max-width: 70ch; }

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.quote {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.quote__mark { width: 44px; height: 44px; color: var(--cyan-400); margin: 0 auto 1.25rem; }
.quote blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.75rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 600;
}
.section--deep .quote blockquote { color: #fff; }
.quote__cite { font-style: normal; font-weight: 600; color: var(--blue-700); }
.section--deep .quote__cite { color: var(--cyan-300); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.review h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.review p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.review__rule { width: 34px; height: 3px; background: var(--cyan-400); border-radius: 2px; margin-bottom: 1.1rem; }

/* --------------------------------------------------------------------------
   12. Contact + form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.field .req { color: var(--blue-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cyan-050);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(0, 74, 171, 0.16);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--danger); background: #fdf4f3; }
.field__error {
  display: none;
  font-size: 0.82rem;
  color: var(--danger);
  margin-top: 0.35rem;
  font-weight: 500;
}
.field__error.is-shown { display: block; }
.field--hp { position: absolute; left: -9999px; }

.form-note { font-size: 0.84rem; color: var(--ink-faint); margin-top: 0.9rem; }
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-status.is-shown { display: block; }
.form-status--ok { background: var(--cyan-050); color: var(--navy-800); border: 1px solid var(--cyan-100); }
.form-status--err { background: #fdf4f3; color: var(--danger); border: 1px solid rgba(192, 57, 43, 0.2); }

.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.15rem 1.25rem;
}
.contact-list__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cyan-050);
  color: var(--blue-600);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.contact-list a, .contact-list span { color: var(--ink-soft); font-size: 0.94rem; text-decoration: none; }
.contact-list a:hover { color: var(--blue-700); text-decoration: underline; }

.map-frame {
  margin-top: 1.25rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cyan-050);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   13. CTA band + footer
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(90% 120% at 90% 10%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(120deg, #00408f 0%, #1071b8 55%, #46b3d8 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0; }
.cta-band__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  background: var(--navy-900);
  color: rgba(216, 230, 245, 0.72);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 901px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; }
}
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-about { margin-top: 1.15rem; font-size: 0.92rem; max-width: 38ch; }
.footer-links { list-style: none; display: grid; gap: 0.6rem; }
.footer-links a { color: rgba(216, 230, 245, 0.72); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* Mobile sticky call bar */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.call-bar .btn { flex: 1; padding-inline: 0.75rem; }

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 34rem; }
  .creds { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; margin-left: auto; }
  .header-cta { display: none; }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: var(--gutter);
    right: var(--gutter);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link { padding: 0.85rem 1rem; border-radius: var(--r-sm); font-size: 1rem; }
  .nav__mobile-cta { display: block; margin-top: 0.5rem; }
  .nav__mobile-cta .btn { width: 100%; }

  .site-header { position: sticky; }
  .split--flip .split__media { order: 0; }
  .cta-band__actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  :root {
    --r-xl: 22px;
    --r-lg: 18px;
    --gutter: 1rem;
    --section-y: 3.5rem;
  }

  body { padding-bottom: 82px; } /* room for the sticky call bar */
  .call-bar { display: flex; }
  .call-bar .btn { min-height: 46px; }

  .site-header { padding-top: 0.55rem; padding-bottom: 0.55rem; }
  .nav-shell { padding-left: 0.75rem; gap: 0.55rem; border-radius: var(--r-md); }
  .brand__logo { width: 128px; }
  .nav-toggle { width: 44px; height: 44px; }
  .nav { left: 1rem; right: 1rem; }

  .hero__inner { padding-block: 2.25rem 3rem; gap: 1.75rem; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .hero__copy p { margin-bottom: 1.5rem; }

  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__badge { position: static; margin-top: 1rem; max-width: none; }
  .hero__actions { gap: 0.9rem; }
  .hero__actions .btn, .hero__actions .call-inline { width: 100%; }
  .hero__chips { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
  .hero__chips li { justify-content: center; padding-inline: 0.65rem; }

  .btn { min-height: 48px; padding-inline: 1.1rem; }
  .creds__grid { grid-template-columns: 1fr; }
  .creds__grid li { min-height: 60px; }

  .split__media, .split__media--tall { aspect-ratio: 4 / 3; }
  .card-grid, .card-grid--3 { grid-template-columns: 1fr; }
  .service-card__body, .feature-card, .review { padding: 1.25rem; }
  .form-card { padding: 1.25rem; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .contact-list li { padding: 1rem; gap: 0.8rem; }
  .map-frame { aspect-ratio: 4 / 3; }
  .cta-band { padding: 1.75rem; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .quote blockquote { text-align: left; }
  .quote { text-align: left; }
  .quote__mark { margin-inline: 0; }
  .footer-bottom { flex-direction: column; }
  .site-footer { padding-bottom: 0.5rem; }
}

@media (max-width: 380px) {
  .brand__logo { width: 116px; }
  .call-bar { gap: 0.4rem; }
  .call-bar .btn { font-size: 0.84rem; padding-inline: 0.45rem; }
  .hero__chips { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */
.hero__copy > * { animation: rise 0.7s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.24s; }
.hero__visual { animation: rise 0.8s var(--ease) 0.15s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@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;
  }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .call-bar, .cta-band, .map-frame { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero, .page-hero { background: #fff; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
