/*
  templates/clean-white/style.css
  ===============================
  Minimal B2B platform template. White canvas, soft-gray rounded panels,
  DM Sans throughout, dark filled pill buttons.
  Hero: white background, text left, media card right (sage green panel).
  Brand logos shown as-is (no filter). Footer: black background.

  Structure:
  1. Variables
  2. Base and reset
  3. Primitives
  4. Section blocks (page order)
  5. Responsive
*/

/* 1. VARIABLES ----------------------------------------------------------- */
:root {
  /* Brand colors (overridden from config.colors) */
  --bg: #ffffff;
  --surface: #ffffff;
  --accent-soft: #f2f2f4;
  --text: #0a0a0a;
  --muted: #5f6470;
  --border: #e4e6ea;
  --accent: #0a0a0a;
  --accent-2: #1d1d22;
  --accent-text: #ffffff;
  --brand-dark: #0a0a0a;
  --footer-bg: #0a0a0a;
  --footer-text: rgba(255,255,255,0.6);

  /* Theme-owned */
  --panel: #f2f2f4;
  --panel-2: #eef0f2;
  --hero-card-bg: #e5ede0;       /* sage green for the hero media card */

  /* Fonts (overridden from config.fonts) */
  --font-heading: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Shape */
  --radius: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Layout */
  --maxw: 1200px;
  --section-y: 96px;

  /* 8px spacing scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;

  /* Type scale */
  --fs-hero: clamp(2.5rem, 6.5vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 4.2vw, 2.75rem);
  --fs-h3: 1.375rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;
}

/* 2. BASE AND RESET ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
/* All content images and videos get 8px rounded corners */
img, video { border-radius: 8px; }
/* UI images (logos, icons) stay sharp */
.hero-logo,
.footer-logo,
.featured-logo,
.case-logo,
.testimonial-avatar-img { border-radius: 0; }
h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
}
p { margin: 0; }
[hidden] { display: none !important; }

/* 3. PRIMITIVES ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-3);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: var(--s-2) 0 var(--s-3);
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-text);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-block { display: block; width: 100%; }
.btn-soft {
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.btn-soft:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

/* Checklist primitive (no-op fallback) */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.checklist-item { display: flex; align-items: flex-start; gap: var(--s-1); font-size: var(--fs-body); color: var(--text); }
.checklist-icon { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background-color: var(--panel); display: inline-flex; align-items: center; justify-content: center; margin-top: 4px; background-repeat: no-repeat; background-position: center; background-size: 12px 12px; }
.checklist-item.is-check .checklist-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.checklist-text { line-height: 1.5; }

/* 4. SECTION BLOCKS ------------------------------------------------------ */

/* SECTION: hero — white background, text top/left, media card bottom/right */
.hero {
  background: var(--bg);
  color: var(--text);
  padding: var(--s-8) 0 var(--s-4);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.hero-brand { display: flex; align-items: center; gap: var(--s-1); margin-bottom: var(--s-6); }
/* Show logo as-is (black on white) — no filter */
.hero-logo { height: 28px; width: auto; }
.hero-brand-logo-only .hero-logo { height: 34px; }
.hero-business {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-headline {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin: 0 0 var(--s-3);
  color: var(--text);
}
.hero-subheadline {
  font-size: var(--fs-body-lg);
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.005em;
}
/* Arrow-style text link CTA ("See how it works →") */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.005em;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: gap 0.18s ease;
}
.hero-cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.18s ease;
}
.hero-cta:hover::after { transform: translateX(3px); }

/* Hero media card: sage-green rounded panel containing the video/image */
.hero-media-card {
  background: var(--hero-card-bg);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 372 / 400;   /* 372×400 mobile target ratio */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-wrap,
.hero-image-wrap { width: 100%; height: 100%; display: flex; }
.hero-video,
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* SECTION: trust strip */
.trust { padding: var(--s-4) 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.trust-list li { color: var(--muted); font-size: var(--fs-small); font-weight: 500; }

/* SECTION: featured-in (logo strip — logos shown as-is, no filter) */
.featured-in { padding: var(--s-6) 0 var(--s-5); background: var(--bg); }
.featured-eyebrow { display: block; text-align: center; color: var(--muted); margin-bottom: var(--s-3); }
.featured-heading { display: block; text-align: center; font-size: 1.0625rem; font-weight: 500; color: var(--text); margin-bottom: var(--s-4); }
.featured-heading:empty { display: none; }
/* 2 columns (3 rows) on mobile, 6 across on desktop */
.featured-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-3);
  align-items: center;
  justify-items: center;
}
/* Brand logos shown exactly as supplied — no colour manipulation */
.featured-logo {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* SECTION: highlight (conversion value prop, text-only) */
.highlight { padding: var(--section-y) 0 48px; background: var(--bg); }
.highlight-inner { max-width: 680px; }
.highlight-text .section-title { margin: var(--s-2) 0 var(--s-3); }
.highlight-body p { color: var(--muted); margin: 0 0 var(--s-2); }
.highlight-body p:last-child { margin-bottom: 0; }

/* SECTION: program (alternating editorial rows, one image per row) */
.program { padding: var(--s-4) 0; background: var(--bg); }
.program > .container {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: var(--s-8) var(--s-4);
  max-width: calc(var(--maxw) - var(--s-2));
}
.program-head { max-width: 720px; margin: 0 0 var(--s-6); }
.program-head .section-title { max-width: none; margin: 0 0 var(--s-2); }
.program-subheading { color: var(--muted); font-size: var(--fs-body-lg); margin: 0; }
.program-list { display: flex; flex-direction: column; gap: var(--s-10); }
.program-item { display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-items: center; }
.program-media { overflow: hidden; border-radius: 8px; background: var(--panel-2); }
.program-image { width: 100%; height: auto; display: block; }
.program-num { display: none; }
.program-title { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; color: var(--text); margin: 0 0 var(--s-2); line-height: 1.1; letter-spacing: -0.025em; max-width: 18ch; }
.program-text { color: var(--muted); font-size: var(--fs-body-lg); margin: 0 0 var(--s-3); max-width: 42ch; }
.program-cta { display: none; }

/* SECTION: case-studies (text + 1-full + 2-split image cluster) */
.case-studies { padding: var(--s-4) 0; background: var(--bg); }
.case-studies > .container {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: var(--s-8) var(--s-4);
  max-width: calc(var(--maxw) - var(--s-2));
}
.case-head { max-width: 720px; margin: 0 auto var(--s-8); text-align: center; }
.case-head .section-title { margin: var(--s-2) auto 0; text-align: center; max-width: 22ch; }
.case-list { display: flex; flex-direction: column; gap: var(--s-10); }
.case { display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-items: start; }
.case-body { display: flex; flex-direction: column; gap: var(--s-2); }
/* Case study logos shown as-is — no colour filter */
.case-logo { height: 22px; width: auto; max-width: 140px; object-fit: contain; margin-bottom: var(--s-1); }
.case-eyebrow { font-size: var(--fs-eyebrow); font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.case-heading { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 600; color: var(--text); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; margin: 0; }
.case-text { color: var(--muted); font-size: var(--fs-body-lg); margin: var(--s-1) 0 0; max-width: 42ch; }
/*
  Image cluster: image-A fills the full width on top. image-B and image-C
  sit side-by-side at 50/50 below. Aspect ratio for B/C matches the source
  images (182 × 119.22, landscape ≈ 3:2) so no cropping occurs.
*/
.case-media { display: flex; flex-direction: column; gap: var(--s-2); }
.case-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.case-image { width: 100%; display: block; background: var(--panel-2); object-fit: cover; }
.case-image-a { aspect-ratio: 16 / 10; }
/* Exact source aspect ratio (182 × 119.22 ≈ 182 / 119) — no pixel width lock */
.case-image-b, .case-image-c { aspect-ratio: 182 / 119; }

/* SECTION: closing CTA band — white background, dark text, dark outline button */
.cta-band { padding: var(--section-y) 0; background: var(--bg); text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-text-col { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.cta-heading { font-size: var(--fs-hero); font-weight: 600; color: var(--text); margin: 0; line-height: 1.04; letter-spacing: -0.03em; max-width: 14ch; }
.cta-text { color: var(--muted); margin: 0; max-width: 36ch; }
.cta-text:empty { display: none; }
/* Outlined dark pill button on white background */
.cta-band .btn {
  background: transparent;
  border: 1.5px solid var(--text);
  color: var(--text);
  padding: 14px 28px;
  margin-top: var(--s-2);
}
.cta-band .btn:hover { background: var(--text); color: var(--accent-text); }
/* Offer-style fields not used by clean-white */
.cta-band .cta-badge,
.cta-band .cta-checklist,
.cta-band .cta-prices { display: none; }

/* SECTION: packages / plan tiers */
.packages { padding: var(--s-4) 0 var(--s-4); background: var(--bg); text-align: center; }
.packages > .container {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: var(--s-8) var(--s-4);
  max-width: calc(var(--maxw) - var(--s-2));
}
.pricing-eyebrow { color: var(--muted); }
.pricing-heading { max-width: 22ch; text-align: center; margin: var(--s-2) auto var(--s-2); }
.pricing-sub { color: var(--muted); font-size: var(--fs-body-lg); max-width: 48ch; margin: 0 auto var(--s-6); }
.packages-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; max-width: 1080px; margin: 0 auto; text-align: left; }
.package {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  cursor: pointer;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.package:hover { border-color: var(--text); transform: translateY(-2px); }
.package.is-selected { border-color: var(--text); box-shadow: 0 0 0 1px var(--text) inset; }
.package.is-popular { border-color: var(--text); }
.package-media { display: none; }
.package-badge {
  position: absolute; top: var(--s-3); right: var(--s-3);
  background: var(--text); color: #fff;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.package-name { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; color: var(--text); margin: 0 0 var(--s-1); letter-spacing: -0.01em; }
.package-price { font-family: var(--font-heading); font-size: 2rem; font-weight: 600; color: var(--text); margin: 0 0 var(--s-1); display: inline-flex; align-items: baseline; gap: var(--s-1); letter-spacing: -0.03em; }
.package-period { font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.package-original-price { font-size: 1rem; font-weight: 400; color: var(--muted); text-decoration: line-through; }
.package-desc { color: var(--muted); font-size: var(--fs-small); margin: var(--s-1) 0 var(--s-4); line-height: 1.5; }
.package .btn { width: 100%; margin-top: auto; }
.package-radio { display: none; }

/* SECTION: testimonials (3 cards after form, with CTA to plans) */
.testimonials { padding: var(--section-y) 0; background: var(--bg); }
.testimonials > .container { text-align: center; }
.testimonials .section-title { margin: var(--s-2) auto var(--s-6); max-width: 28ch; text-align: center; }
.testimonials-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; text-align: left; }
.testimonial { margin: 0; background: var(--panel); border-radius: var(--radius-lg); padding: var(--s-5); }
/* Star rating */
.testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--s-2); }
.testimonial-star svg { width: 14px; height: 14px; fill: var(--muted); display: block; }
.testimonial-star.is-filled svg { fill: var(--text); }
/* Optional title */
.testimonial-title { font-size: var(--fs-h3); font-weight: 600; margin: 0 0 var(--s-2); }
/* Quote text */
.testimonial-quote { color: var(--text); font-size: var(--fs-body-lg); line-height: 1.55; margin: 0 0 var(--s-4); }
/* Attribution row */
.testimonial-foot { display: flex; align-items: center; gap: var(--s-2); }
.testimonial-avatar {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  color: var(--text); overflow: hidden;
}
.testimonial-avatar-img { object-fit: cover; }
.testimonial-who { display: flex; flex-direction: column; min-width: 0; }
.testimonial-meta { font-size: var(--fs-small); font-weight: 500; color: var(--text); margin: 0; }
.testimonial-role { font-size: var(--fs-small); color: var(--muted); margin: 0; }
/* CTA button below the grid */
.testimonials-cta-wrap { margin-top: var(--s-8); }

/* SECTION: benefits */
.benefits { padding: var(--section-y) 0; background: var(--bg); }
.benefits-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
.benefit { background: var(--panel); border-radius: var(--radius-lg); padding: var(--s-5); }
.benefit-title { font-size: var(--fs-h3); font-weight: 600; margin: 0 0 var(--s-2); }
.benefit-text { color: var(--muted); margin: 0; }

/* SECTION: credentials */
.credentials { padding: var(--section-y) 0; background: var(--bg); }
.credentials-cols { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: center; }
.credentials-image { width: 100%; height: auto; }
.credentials-body p { color: var(--muted); margin: 0 0 var(--s-2); }
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin: var(--s-3) 0 var(--s-4); }
.counters:empty { display: none; }
.counter { display: flex; flex-direction: column; }
.counter-num { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 600; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.counter-label { font-size: var(--fs-small); color: var(--muted); margin-top: 4px; }

/* SECTION: steps */
.steps { padding: var(--section-y) 0; background: var(--bg); }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: 1fr; counter-reset: step; }
.step { counter-increment: step; background: var(--panel); border-radius: var(--radius-lg); padding: var(--s-5); }
.step-num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--muted); margin-bottom: var(--s-2); }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-title { font-size: var(--fs-h3); font-weight: 600; margin: 0 0 var(--s-1); }
.step-text { color: var(--muted); margin: 0; }
.step-image { width: 100%; height: auto; margin-top: var(--s-3); }

/* SECTION: faq */
.faq { padding: var(--section-y) 0; background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: var(--s-1); max-width: 820px; }
.faq-item { background: var(--panel); border-radius: var(--radius); padding: var(--s-4); }
.faq-question { font-size: 1.0625rem; font-weight: 600; margin: 0 0 var(--s-1); }
.faq-answer { color: var(--muted); margin: 0; }

/* SECTION: gallery */
.gallery { padding: var(--section-y) 0; background: var(--bg); }
.gallery-grid { display: grid; gap: var(--s-2); grid-template-columns: 1fr; }
.gallery-item { margin: 0; overflow: hidden; border-radius: 8px; }
.gallery-image { width: 100%; height: auto; }

/* SECTION: form */
.order { padding: var(--s-4) 0 var(--section-y); background: var(--bg); }
.order-inner {
  max-width: 560px; margin: 0 auto;
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-4);
}
.order .section-title { margin-bottom: var(--s-2); max-width: none; text-align: left; }
.order-sub { color: var(--muted); margin: 0 0 var(--s-4); }
.field { margin-bottom: var(--s-3); }
.field label { display: block; font-size: var(--fs-small); font-weight: 500; margin-bottom: var(--s-1); color: var(--text); }
.field input, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.field input::placeholder { color: #9aa0ab; }
.field input:focus, .field select:focus { outline: 2px solid var(--text); outline-offset: -1px; border-color: var(--text); }
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230a0a0a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2 4 6 8 10 4'/%3E%3C/svg%3E");
}
.field select:invalid { color: #9aa0ab; }

.order-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "info qty" "total total";
  align-items: center;
  gap: var(--s-2) var(--s-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-3);
  margin: var(--s-1) 0 var(--s-3);
}
.order-summary-info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.order-summary-label { font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.order-summary-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.25; }
.order-summary-price { font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }
.order-summary-total { grid-area: total; display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s-2); border-top: 1px solid var(--border); }
.order-summary-total-label { font-size: var(--fs-small); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.order-summary-total-value { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--text); }
.qty { grid-area: qty; display: inline-flex; align-items: stretch; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; height: 36px; }
.qty-btn { width: 32px; border: 0; background: transparent; color: var(--text); font-size: 1.125rem; font-weight: 500; line-height: 1; cursor: pointer; padding: 0; }
.qty-btn:hover { background: var(--panel); }
.qty-input { width: 40px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); background: transparent; text-align: center; font-family: var(--font-body); font-size: var(--fs-body); font-weight: 600; color: var(--text); padding: 0; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }
.form-error { color: #b3261e; font-size: var(--fs-small); margin: 0 0 var(--s-2); }

/* SECTION: footer — black background, white text, logo replaces name */
.footer { background: var(--footer-bg); color: var(--footer-text); border-top: none; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); padding: var(--s-8) var(--s-3); }
/* Footer logo: shown as-is (no filter). Non-transparent PNGs sit naturally. */
.footer-logo { height: 24px; width: auto; }
.footer-business { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: rgba(255,255,255,0.9); }
.footer-phone { font-size: var(--fs-small); color: var(--footer-text); text-decoration: none; }
.footer-phone:hover { color: #ffffff; }
.footer-social { display: flex; gap: var(--s-1); }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); transition: background-color 0.15s ease; }
.footer-social a:hover { background: rgba(255,255,255,0.2); color: #ffffff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-copy { color: var(--footer-text); font-size: var(--fs-small); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal.reveal-in, .package { opacity: 1; transform: none; }
}

/* 5. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 699px) {
  :root { --section-y: 64px; }
  .order-inner { padding: var(--s-5) var(--s-3); }
}

@media (min-width: 760px) {
  /* Hero: text left, media card right */
  .hero { padding: var(--s-12) 0 var(--s-6); }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: var(--s-10); align-items: center; }
  .hero-media-card { aspect-ratio: unset; min-height: 460px; }

  .program > .container,
  .case-studies > .container,
  .packages > .container { padding: var(--s-12) var(--s-8); }

  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* highlight is single-column text block — no grid override needed */

  /* Featured logos: spread across one row on wider screens */
  .featured-list { grid-template-columns: repeat(6, 1fr); gap: var(--s-3); }

  /* Program rows: alternating text/image sides */
  .program-item { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
  .program-item:nth-child(even) .program-media { order: 1; }
  .program-item:nth-child(even) .program-body { order: 2; }

  /* Case rows: text left (~0.85fr), image cluster right (~1.15fr); even rows flip */
  .case { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-10); align-items: start; }
  .case:nth-child(even) .case-body { order: 2; }
  .case:nth-child(even) .case-media { order: 1; }

  .packages-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .credentials-cols { grid-template-columns: 1fr 1.05fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
