/* ============================================================================
   Idaho Manufacturing Solutions — shared stylesheet
   Light, industrial, readable. Brand: blue + charcoal (from their logo).
   Mobile-first, no build step. Rebrand via the :root tokens below.
   ============================================================================ */

:root {
  /* Surfaces */
  --bg:        #ffffff;
  --surface:   #f4f7fb;
  --surface-2: #e9eff6;
  --border:    #dbe3ec;

  /* Ink / text */
  --ink:   #12171f;
  --text:  #2b333d;
  --muted: #57616e;

  /* Brand blue */
  --brand:     #0e6ba8;
  --brand-600: #0a567f;
  --brand-400: #2e90cf;
  --brand-300: #63b0e0;
  --brand-ink: #ffffff;
  --brand-tint:#eaf3fa;

  /* Dark bands */
  --dark:        #10151c;
  --dark-2:      #172231;
  --on-dark:     #eaf0f7;
  --on-dark-dim: #9fb0c2;

  /* Metal accents */
  --steel-1: #c7d2de;
  --steel-2: #93a2b4;

  /* Review gold (functional) */
  --gold: #f6a609;

  /* Type */
  --font-head: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   clamp(1.08rem, 1.5vw, 1.28rem);
  --fs-h3:   clamp(1.25rem, 2vw, 1.5rem);
  --fs-h2:   clamp(1.9rem, 3.6vw, 2.7rem);
  --fs-h1:   clamp(2.4rem, 6vw, 4.2rem);

  /* Spacing — 8pt */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* UI */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 1200px;
  --shadow:    0 10px 30px -14px rgba(16, 24, 40, 0.20);
  --shadow-lg: 0 26px 60px -24px rgba(16, 24, 40, 0.30);
  --transition: 0.25s ease;
  --header-h: 74px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
strong { color: inherit; font-weight: 700; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { color: var(--text); }

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

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

.skip-link {
  position: absolute; left: var(--space-2); top: -100px;
  background: var(--brand); color: #fff;
  padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm);
  z-index: 300; transition: top var(--transition); font-weight: 600;
}
.skip-link:focus { top: var(--space-2); }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 3px; }

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-400));
  z-index: 250; pointer-events: none;
}

/* --- Eyebrow --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: var(--fs-sm); font-weight: 700;
  color: var(--brand); margin-bottom: var(--space-2);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--brand-300); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.5em; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base);
  border: 2px solid transparent; white-space: nowrap; text-align: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-lg { padding: 1em 1.9em; font-size: var(--fs-lg); }
.btn-sm { padding: 0.6em 1.05em; font-size: var(--fs-sm); }

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

.btn-ghost { border-color: #a7b3c1; color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-call { background: #fff; color: var(--ink); border-color: #a7b3c1; }
.btn-call:hover { border-color: var(--brand); color: var(--brand); }
.btn-call svg { color: var(--brand); }

/* On dark bands */
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-on-dark svg { color: currentColor; }

/* ============================================================================
   Header
   ============================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(16,24,40,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); height: var(--header-h); }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; font-family: var(--font-head); }
.brand-name strong { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-name span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--brand); }

/* Nav */
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 12px 10px; z-index: 210; margin-right: -10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
  background: #fff; padding: calc(var(--header-h) + 1rem) var(--space-3) var(--space-4);
  display: flex; flex-direction: column; gap: 0.2rem;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--transition), visibility var(--transition);
  box-shadow: var(--shadow-lg); overflow-y: auto; z-index: 205;
}
.nav-menu.open { transform: translateX(0); visibility: visible; }
.nav-menu > li > a {
  display: block; padding: 0.7rem 0.2rem; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--border); transition: color var(--transition);
}
.nav-menu > li > a:hover, .nav-menu a[aria-current="page"] { color: var(--brand); }

/* Dropdown — mobile default: shown, indented */
.has-dropdown > a { position: relative; }
.dropdown { padding: 0.2rem 0 0.4rem 0.9rem; }
.dropdown a { display: block; padding: 0.5rem 0.2rem; color: var(--muted); font-weight: 500; transition: color var(--transition); }
.dropdown a:hover { color: var(--brand); }

.nav-cta-mobile { margin-top: var(--space-2); }
.nav-cta-mobile .btn { width: 100%; }

/* Header CTA cluster */
.header-cta { display: none; align-items: center; gap: var(--space-2); }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; white-space: nowrap; }
.header-phone svg { width: 1.1rem; height: 1.1rem; color: var(--brand); }
.header-phone:hover { color: var(--brand); }

/* Mobile-only compact call button in the header bar */
.header-call-mobile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--brand-tint); color: var(--brand); margin-left: auto;
}
.header-call-mobile svg { width: 1.25rem; height: 1.25rem; }

/* ============================================================================
   Hero (dark, 3D)
   ============================================================================ */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: linear-gradient(158deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: clamp(3.5rem, 9vh, 6.5rem) 0 clamp(3rem, 7vh, 5.5rem);
  min-height: min(90vh, 840px); display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 55% at 74% 42%, rgba(46,144,207,0.30), transparent 72%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,21,28,0.95) 0%, rgba(16,21,28,0.85) 36%, rgba(16,21,28,0.45) 60%, rgba(16,21,28,0.08) 84%, transparent 100%);
}
@media (max-width: 767px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(16,21,28,0.88) 0%, rgba(16,21,28,0.62) 45%, rgba(16,21,28,0.55) 100%);
  }
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: var(--space-3); }
.hero h1 .accent { color: var(--brand-300); }
.hero .lead { color: var(--on-dark); font-size: var(--fs-lg); margin-bottom: var(--space-4); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); font-size: var(--fs-sm); color: var(--on-dark-dim); }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400); }

/* ============================================================================
   Inner page banner (light, no 3D)
   ============================================================================ */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark); padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(2.2rem, 5vh, 3.5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 88% 20%, rgba(46,144,207,0.22), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: var(--on-dark); font-size: var(--fs-lg); max-width: 58ch; margin-top: var(--space-2); }
.page-hero .hero-actions { margin-top: var(--space-3); }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-sm); color: var(--on-dark-dim); margin-bottom: var(--space-2); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumb a { color: var(--on-dark-dim); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 0.4rem; color: var(--on-dark-dim); }
.breadcrumb [aria-current="page"] { color: var(--on-dark); }

/* ============================================================================
   Trust bar
   ============================================================================ */
.trust-bar { background: var(--bg); border-bottom: 1px solid var(--border); }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); justify-content: center; padding-block: var(--space-3); }
.trust-chip { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.trust-chip .stars { color: var(--gold); letter-spacing: 0.06em; }

/* Google rating badge */
.google-rating { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.google-rating .stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 0.05em; }
.google-rating .score { font-family: var(--font-head); font-weight: 800; }

/* ============================================================================
   Sections
   ============================================================================ */
.section { padding: var(--space-7) 0; }
.section--alt { background: var(--surface); }
.section--dark { background: linear-gradient(160deg, var(--dark), var(--dark-2)); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark); }
.section-head { max-width: 680px; margin-bottom: var(--space-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--space-1); }
.section-head .lead { font-size: var(--fs-lg); color: var(--muted); margin-top: var(--space-2); }
.section--dark .section-head .lead { color: var(--on-dark-dim); }

/* ============================================================================
   Grid + cards
   ============================================================================ */
.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--space-4);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-400));
  border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: var(--space-1); }
.card p { color: var(--muted); }

/* Service card with photo */
.card--service { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--surface-2); }
.card--service .card-body { padding: var(--space-3) var(--space-4) var(--space-4); display: flex; flex-direction: column; flex: 1; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--brand); padding-top: var(--space-2); }
.card-link svg { width: 1em; height: 1em; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Plain feature (icon-free) */
.feature h3 { margin-bottom: var(--space-1); }
.feature p { color: var(--muted); }

/* ============================================================================
   Stats
   ============================================================================ */
.stats { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.stat { text-align: center; padding: var(--space-3); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--brand); line-height: 1; }
.section--dark .stat-num { color: var(--brand-300); }
.stat-label { margin-top: var(--space-1); font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.section--dark .stat-label { color: var(--on-dark-dim); }

/* ============================================================================
   Process steps (numbered, icon-free)
   ============================================================================ */
.steps { display: grid; gap: var(--space-3); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); padding-top: calc(var(--space-4) + 1.4rem); }
.section--alt .step { background: #fff; }
.step-num {
  position: absolute; top: calc(-1 * var(--space-2)); left: var(--space-4);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--brand); color: #fff; border-radius: 50%;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.step h3 { margin-bottom: var(--space-1); }
.step p { color: var(--muted); }

/* ============================================================================
   Spec / capability list
   ============================================================================ */
.spec-list { display: grid; gap: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.spec-list dt { font-weight: 600; color: var(--ink); }
.spec-list dd { color: var(--muted); text-align: right; }

/* Checklist (icon-free — uses a small brand dash marker) */
.checklist { display: grid; gap: var(--space-2); }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 3px; border-radius: 2px; background: var(--brand); }
.section--dark .checklist li { color: var(--on-dark); }
.section--dark .checklist li::before { background: var(--brand-300); }

/* Media split (text + image) */
.media-split { display: grid; gap: var(--space-5); align-items: center; }
.media-split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.media-split .media-visual { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); overflow: hidden; }

/* ============================================================================
   CTA band
   ============================================================================ */
.cta-band { background: linear-gradient(150deg, var(--brand-600), var(--brand)); color: #fff; }
.cta-band.dark { background: linear-gradient(150deg, var(--dark), var(--dark-2)); }
.cta-inner { text-align: center; max-width: 720px; margin-inline: auto; padding: var(--space-6) 0; }
.cta-inner h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-inner p { color: rgba(255,255,255,0.9); font-size: var(--fs-lg); margin-bottom: var(--space-4); }
.cta-inner .hero-actions { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--brand-600); }
.cta-band .btn-primary:hover { background: var(--brand-tint); }

/* ============================================================================
   Form
   ============================================================================ */
.form { display: grid; gap: var(--space-3); }
.form-row { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; color: var(--ink); font-size: var(--fs-sm); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem; width: 100%; transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,107,168,0.15); }
.form .btn-primary { justify-self: start; }
.form-note { font-size: var(--fs-sm); color: var(--muted); }
.form-status { display: none; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); font-weight: 600; }
.form-status.ok { display: block; background: var(--brand-tint); color: var(--brand-600); }
.form-status.err { display: block; background: #fdecec; color: #b3261e; }

/* Contact grid */
.contact-grid { display: grid; gap: var(--space-5); }
.contact-info address { font-style: normal; color: var(--text); line-height: 2; }
.contact-info a { font-weight: 600; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow); }

/* ============================================================================
   Footer
   ============================================================================ */
.site-footer { background: linear-gradient(180deg, var(--dark), #0b0f15); color: var(--on-dark-dim); padding-top: var(--space-6); }
.footer-inner { display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding-bottom: var(--space-5); }
.footer-brand .brand { color: #fff; margin-bottom: var(--space-2); }
.footer-brand .brand-name strong { color: #fff; }
.footer-brand .brand-name span { color: var(--brand-300); }
.footer-brand p { color: var(--on-dark-dim); max-width: 40ch; margin-bottom: var(--space-2); }
.footer-rating { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark); font-weight: 600; }
.footer-rating .stars { color: var(--gold); }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: var(--space-2); font-weight: 700; }
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a { color: var(--on-dark-dim); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-contact address { font-style: normal; line-height: 1.9; color: var(--on-dark-dim); margin-bottom: var(--space-2); }
.footer-contact a { color: var(--on-dark); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); justify-content: space-between; }
.footer-bottom p, .footer-bottom a { font-size: var(--fs-sm); color: var(--on-dark-dim); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================================
   FAQ accordion (native <details>)
   ============================================================================ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: var(--space-3) 2.4rem var(--space-3) 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; line-height: 1; color: var(--brand); font-weight: 700;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--brand); }
.faq-item p { color: var(--muted); padding-bottom: var(--space-3); max-width: 70ch; }

/* ============================================================================
   Scroll reveal
   ============================================================================ */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js [data-reveal].revealed { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; } .d5 { transition-delay: 0.40s; } .d6 { transition-delay: 0.48s; }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .nav-toggle, .header-call-mobile { display: none; }
  .nav-menu {
    position: static; width: auto; flex-direction: row; align-items: center; visibility: visible;
    background: none; padding: 0; transform: none; box-shadow: none; overflow: visible; gap: var(--space-3);
  }
  .nav-menu > li > a { border-bottom: none; padding: 0.4rem 0.1rem; font-weight: 500; color: var(--ink); }
  .nav-cta-mobile { display: none; }

  /* Desktop dropdown */
  .has-dropdown { position: relative; }
  .has-dropdown > a::after { content: "▾"; font-size: 0.7em; margin-left: 0.35em; color: var(--muted); }
  .dropdown {
    position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 240px; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: var(--space-1);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .dropdown a { border-radius: 6px; padding: 0.55rem 0.75rem; }
  .dropdown a:hover { background: var(--surface); }

  .header-cta { display: flex; }
  .header-phone .num { display: inline; }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-5); }
  .media-split { grid-template-columns: 1fr 1fr; }
  .media-split.reverse .media-visual, .media-split.reverse img { order: -1; }
  .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .spec-list.two-col { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================================
   Reduced motion
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal], html.js [data-reveal].revealed { opacity: 1 !important; transform: none !important; }
  .scroll-progress { display: none; }
}
