/* =============================================================
   Dallas Solar Offers – Global Design System
   Shared by all three landing page templates.
   ============================================================= */

/* ── Design Tokens ── */
:root {
  --navy:      #0c1f3f;
  --navy-deep: #081532;
  --orange:    #f97316;
  --orange-dk: #ea580c;
  --orange-lt: #fff1e6;
  --green:     #16a34a;
  --green-lt:  #dcfce7;
  --red:       #dc2626;
  --red-lt:    #fee2e2;

  --white:   #ffffff;
  --cream:   #f8fafc;
  --paper:   #f1f5f9;
  --paper-2: #e2e8f0;
  --ink:     #0f172a;
  --text:    #0f172a;
  --muted:   #475569;
  --subtle:  #94a3b8;
  --line:    #e2e8f0;
  --line-2:  #f1f5f9;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1180px;
  --container-pad: 32px;

  --sh-xs: 0 1px 2px rgba(0,0,0,.07);
  --sh-sm: 0 1px 4px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --sh-md: 0 4px 14px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.05);
  --sh-lg: 0 8px 28px rgba(0,0,0,.12), 0 3px 8px rgba(0,0,0,.06);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── Suppress Hello Elementor's default header/footer on our pages ── */
body.dso-landing .site-header,
body.dso-landing .site-footer { display: none !important; }
body.dso-landing #page { margin: 0; padding: 0; }
body.dso-landing .site-main { margin: 0; padding: 0; }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 22px;
  border: none; border-radius: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dk); }
.btn-sm  { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 7px; gap: 6px; }
.btn-lg  { height: 58px; padding: 0 26px; font-size: 16px; }
.btn-xl  { height: 64px; padding: 0 30px; font-size: 17px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line);
  height: 40px; padding: 0 14px; font-size: 13px;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--ink); }

/* ── Nav menu links (all pages) ── */
.dso-nav-links {
  display: flex; list-style: none; align-items: center;
  gap: 28px; margin: 0; padding: 0;
}
.dso-nav-links a {
  font-size: 14px; font-weight: 600; color: var(--ink);
  white-space: nowrap; transition: color 0.15s;
}
.dso-nav-links a:hover { color: var(--orange); }
.nav .dso-nav-links a { color: var(--ink); }
@media (max-width: 900px) { .dso-nav-links { display: none; } }

/* ── Default Nav (white, sticky) ── */
.dso-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.dso-brand-name .n1 { color: var(--ink) !important; font-weight: 700; }
.dso-brand-name .n2 { color: var(--muted) !important; }
.dso-brand-mark { background: var(--navy) !important; color: var(--white) !important; }
.dso-nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.dso-brand { display: flex; align-items: center; gap: 12px; }
.dso-brand-mark {
  width: 40px; height: 40px;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  border-radius: 8px; flex-shrink: 0;
}
.dso-brand-name { display: flex; flex-direction: column; line-height: 1; }
.dso-brand-name .n1 { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.dso-brand-name .n2 { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ── Hero (default – white bg, two-column, above the fold) ── */
.dso-hero {
  background: var(--white);
  min-height: calc(100vh - 68px); /* full viewport minus sticky nav */
  display: flex;
  align-items: center;
  padding: 48px 0 40px;
}
.dso-hero .container { width: 100%; }
.dso-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.dso-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-dk);
  margin-bottom: 20px;
}
.dso-hero-eyebrow .dotline { width: 28px; height: 2px; background: var(--orange); }
.dso-hero h1 {
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05; letter-spacing: -0.026em; color: var(--ink);
  margin: 0 0 20px; text-wrap: balance;
}
.dso-hero h1 .hl { color: var(--orange-dk); }
.dso-hero-sub {
  font-size: 17px; line-height: 1.55; color: var(--muted);
  margin: 0 0 26px; max-width: 540px;
}
.dso-hero-sub strong { color: var(--ink); font-weight: 700; }
.dso-hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.dso-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Form Card ── */
.dso-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(8,21,50,.07);
}
.dso-form-head { margin-bottom: 18px; }
.dso-form-head h2 {
  font-weight: 800; font-size: 21px; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px;
}
.dso-form-head p { font-size: 13px; color: var(--muted); }

.dso-form-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.dso-form-progress span {
  flex: 1; height: 4px; border-radius: 999px;
  background: var(--line); transition: background 0.3s;
}
.dso-form-progress span.done    { background: var(--green); }
.dso-form-progress span.current { background: var(--orange); }

.dso-field { margin-bottom: 12px; }
.dso-field label {
  display: block; font-size: 11.5px; font-weight: 600;
  color: var(--muted); margin-bottom: 6px; letter-spacing: .02em;
}
.dso-field input {
  width: 100%; height: 46px;
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: 0 14px; font-family: var(--font); font-size: 14.5px;
  background: var(--white); color: var(--ink); transition: border 0.15s;
}
.dso-field input:focus { outline: none; border-color: var(--orange); }
.dso-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.dso-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.dso-option-grid.single { grid-template-columns: 1fr; }
.dso-option-grid .opt {
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: 12px 13px; background: var(--white); text-align: left;
  cursor: pointer; transition: all 0.15s;
  display: flex; flex-direction: column; gap: 2px;
}
.dso-option-grid.single .opt { flex-direction: row; justify-content: space-between; align-items: center; }
.dso-option-grid .opt:hover { border-color: var(--navy); }
.dso-option-grid .opt.active { border-color: var(--navy); background: var(--navy); }
.dso-option-grid .opt .o-title { font-weight: 700; font-size: 14px; color: var(--ink); }
.dso-option-grid .opt .o-sub   { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.dso-option-grid .opt.active .o-title { color: var(--white); }
.dso-option-grid .opt.active .o-sub   { color: rgba(255,255,255,.7); }

.dso-form-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; gap: 10px;
}
.dso-form-foot {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 11.5px; color: var(--muted); font-weight: 500;
  display: flex; align-items: flex-start; gap: 7px; line-height: 1.45;
}
.dso-form-foot svg { flex-shrink: 0; margin-top: 2px; }

.dso-form-success { text-align: center; padding: 16px 8px; }
.dso-form-success .ring {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: grid; place-items: center; margin: 0 auto 14px;
}
.dso-form-success h3 { font-weight: 800; font-size: 20px; margin-bottom: 8px; color: var(--ink); letter-spacing: -0.015em; }
.dso-form-success p  { color: var(--muted); font-size: 14px; line-height: 1.6; }
.dso-form-success .ref { margin-top: 18px; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.dso-form-error { background: var(--red-lt); color: var(--red); border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-top: 10px; }

/* ── Logos section ── */
.dso-logos {
  background: var(--cream);
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dso-logos-lead {
  text-align: center;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.dso-logos-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  align-items: center;
}
.dso-logo-chip { flex: 0 1 160px; }
.dso-logo-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 14px;
  display: flex; align-items: center; justify-content: center;
  min-height: 96px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.dso-logo-chip:hover { box-shadow: var(--sh-md); border-color: var(--paper-2); }
.dso-logo-chip img { max-width: 100%; height: auto; object-fit: contain; max-height: 56px; }
.dso-logo-chip svg { max-width: 100%; height: auto; }

/* ── Recent Installs ── */
.dso-installs { background: var(--white); padding: 64px 0; }
.dso-installs-hd {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 28px; gap: 24px; flex-wrap: wrap;
}
.dso-installs-hd h2 {
  font-weight: 800; font-size: clamp(24px,2.4vw,32px);
  line-height: 1.1; letter-spacing: -0.022em; color: var(--ink); margin-bottom: 6px;
}
.dso-installs-hd h2 em { font-style: normal; color: var(--orange-dk); }
.dso-installs-hd p { font-size: 14.5px; color: var(--muted); }
.dso-installs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.dso-install-card {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3; background: var(--paper);
}
.dso-install-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.dso-install-card:hover img { transform: scale(1.05); }
.dso-install-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--white); color: var(--navy);
  padding: 5px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.dso-install-card .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,21,50,.92) 0%, rgba(8,21,50,0) 100%);
  color: var(--white); padding: 28px 14px 12px;
  font-size: 12.5px; font-weight: 600;
}

/* ── Pain section ── */
.dso-pain { background: var(--cream); padding: 72px 0; border-top: 1px solid var(--line); }
.dso-pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dso-pain-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.dso-pain-eyebrow .dotline { width: 24px; height: 2px; background: var(--red); }
.dso-pain h2 {
  font-weight: 800; font-size: clamp(26px,2.8vw,38px);
  line-height: 1.08; letter-spacing: -0.024em; color: var(--ink);
  margin-bottom: 18px; text-wrap: balance;
}
.dso-pain p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 14px; }
.dso-pain p strong { color: var(--ink); font-weight: 700; }
.dso-pain-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dso-pain-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; color: var(--text); line-height: 1.5;
}
.dso-pain-list .x {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-lt); color: var(--red);
  display: grid; place-items: center; margin-top: 1px;
  font-weight: 800; font-size: 13px;
}

/* ── How It Works (chevrons) ── */
.dso-how { background: var(--white); padding: 88px 0; }
.dso-how-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-dk);
}
.dso-how-eyebrow .dotline { width: 24px; height: 2px; background: var(--orange); }
.dso-how-title {
  font-weight: 700; font-size: clamp(28px,2.8vw,42px);
  line-height: 1.06; letter-spacing: -0.022em; color: var(--ink);
  margin: 14px 0 0; text-wrap: balance;
}
.dso-how-title em { font-style: normal; color: var(--orange-dk); }
.dso-how-intro {
  max-width: 600px; font-size: 17px; line-height: 1.65;
  color: var(--muted); margin: 12px 0 40px;
}

.ps-row { display: flex; align-items: stretch; gap: 0; }
.ps-card {
  flex: 1; background: #f8fafc;
  padding: 32px 28px; position: relative;
}
.ps-card.ps-first { clip-path: url(#chev-first); padding-right: 52px; }
.ps-card.ps-mid   { clip-path: url(#chev-mid);   margin-left: -12px; padding-left: 52px; padding-right: 52px; }
.ps-card.ps-last  { clip-path: url(#chev-last);  margin-left: -12px; padding-left: 52px; }
.ps-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin: 0 0 20px;
}
.ps-card.you .ps-num { background: var(--orange); }
.ps-card h4 { font-weight: 700; font-size: 16px; line-height: 1.3; margin: 0 0 12px; color: var(--navy); }
.ps-card p  { font-size: 14px; color: #1a1a1a; margin: 0; line-height: 1.55; }

/* ── Deliverables ── */
.dso-deliv { background: var(--white); padding: 88px 0; }
.dso-deliv-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-dk); }
.dso-deliv-eyebrow .dotline { width: 24px; height: 2px; background: var(--orange); }
.dso-deliv-title { font-weight: 700; font-size: clamp(26px,2.8vw,40px); line-height: 1.06; letter-spacing: -0.022em; color: var(--ink); margin: 14px 0 0; text-wrap: balance; }
.dso-deliv-title em { font-style: normal; color: var(--orange-dk); }
.dso-deliv-intro { max-width: 680px; font-size: 17px; line-height: 1.65; color: var(--muted); margin: 14px 0 36px; }
.d3-wrap { border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.d3-grid { display: grid; grid-template-columns: 1fr 1fr; }
.d3-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--white); }
.d3-item:nth-child(even)        { border-right: none; }
.d3-item:nth-last-child(-n+2)   { border-bottom: none; }
.d3-check { width: 38px; height: 38px; border-radius: 50%; background: var(--green-lt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.d3-check svg { width: 17px; height: 17px; color: var(--green); }
.d3-body { flex: 1; }
.d3-body-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.d3-body h4 { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.25; margin: 0; }
.d3-body p  { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.d3-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.d3-tag-slate  { background: var(--paper-2); color: #475569; }
.d3-tag-orange { background: var(--orange-lt); color: var(--orange-dk); border: 1px solid rgba(249,115,22,.2); }
.dso-deliv-note { margin-top: 32px; padding: 24px 28px; background: var(--cream); border-radius: 12px; font-size: 15px; color: var(--muted); line-height: 1.7; font-style: italic; border: 1px solid var(--line); }

/* ── Proof strip ── */
.dso-proof { background: var(--navy); padding: 40px 0; color: var(--white); }
.dso-proof-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.dso-proof-item { padding: 0 20px; border-right: 1px solid #1a3260; }
.dso-proof-item:last-child { border-right: none; }
.dso-proof-word {
  font-size: clamp(20px,1.6vw,26px); font-weight: 600; line-height: 1;
  color: var(--white); letter-spacing: -0.01em;
}
.dso-proof-label { font-size: 11px; color: var(--subtle); font-weight: 600; margin-top: 8px; letter-spacing: .08em; text-transform: uppercase; }

/* ── FAQ ── */
.dso-faq { background: var(--white); padding: 72px 0; border-top: 1px solid var(--line); }
.dso-faq-hd { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.dso-faq-hd h2 { font-weight: 800; font-size: clamp(26px,2.6vw,38px); line-height: 1.08; letter-spacing: -0.022em; color: var(--ink); margin-bottom: 10px; }
.dso-faq-hd p  { font-size: 15px; color: var(--muted); line-height: 1.6; }
.dso-faq-wrap { max-width: 760px; margin: 0 auto; }
.dso-faq-list { display: flex; flex-direction: column; gap: 10px; }
.dso-faq-item { background: var(--cream); border-radius: 12px; overflow: hidden; border: 1px solid transparent; transition: border-color 0.15s; }
.dso-faq-item.open { border-color: var(--navy); }
.dso-faq-q {
  width: 100%; background: transparent; border: 0; text-align: left;
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; cursor: pointer;
}
.dso-faq-q-text  { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink); flex: 1; }
.dso-faq-toggle  { width: 30px; height: 30px; border-radius: 8px; background: var(--white); display: grid; place-items: center; flex-shrink: 0; color: var(--navy); transition: all 0.18s; }
.dso-faq-item.open .dso-faq-toggle { background: var(--orange); color: #fff; transform: rotate(45deg); }
.dso-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.dso-faq-item.open .dso-faq-a { max-height: 500px; }
.dso-faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── Final CTA ── */
.dso-final { background: var(--navy-deep); color: var(--white); padding: 80px 0; text-align: center; }
.dso-final h2 {
  font-weight: 800; font-size: clamp(26px,3vw,42px);
  line-height: 1.06; letter-spacing: -0.024em; color: var(--white);
  margin: 0 auto 14px; text-wrap: balance; max-width: 720px;
}
.dso-final p { font-size: 16px; color: var(--subtle); line-height: 1.6; max-width: 560px; margin: 14px auto 28px; }
.dso-final .trust-row {
  display: flex; justify-content: center; gap: 18px; margin-top: 18px;
  font-size: 12px; color: #cbd5e1; flex-wrap: wrap; align-items: center;
}
.dso-final .trust-row .t-pill { padding: 5px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-weight: 600; }

/* ── Footer ── */
.dso-footer { background: var(--navy-deep); border-top: 1px solid #1e3a5f; color: var(--subtle); padding: 28px 0; font-size: 13px; }
.dso-footer-links-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #1e3a5f; margin-bottom: 16px; }
.dso-footer-links-row a { font-size: 12px; color: #94a3b8; transition: color 0.15s; }
.dso-footer-links-row a:hover { color: var(--white); }
.dso-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.dso-footer-copy { font-size: 12px; color: #475569; }
.dso-footer-disc { font-size: 11px; color: #475569; max-width: 560px; line-height: 1.55; }
.dso-footer-nav { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding: 0; margin: 0; }
.dso-footer-nav li { padding: 0; margin: 0; }

/* ── Legal pages (Privacy Policy, Terms of Service) ── */
.dso-legal-page { padding: 60px 0 80px; min-height: calc(100vh - 68px); }
.dso-legal-wrap { max-width: 760px; }
.dso-legal-header { margin-bottom: 40px; }
.dso-legal-header h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin: 10px 0 12px; line-height: 1.15; }
.dso-legal-date { font-size: 13px; color: var(--muted); }
.dso-legal-date a { color: var(--orange); text-decoration: underline; }
.dso-legal-body h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 36px 0 12px; letter-spacing: -0.02em; }
.dso-legal-body p { color: var(--muted); margin-bottom: 16px; line-height: 1.7; }
.dso-legal-body ul { margin: 0 0 16px 22px; padding: 0; }
.dso-legal-body ul li { color: var(--muted); line-height: 1.7; margin-bottom: 6px; }
.dso-legal-body a { color: var(--orange); text-decoration: underline; }
.dso-legal-body strong { color: var(--ink); font-weight: 600; }

/* ===============================================================
   RESPONSIVE
   =============================================================== */

@media (max-width: 1200px) {
  :root { --container-pad: 28px; }
  .dso-hero-grid { gap: 44px; }
  .dso-logos-row { gap: 12px; }
}

@media (max-width: 1024px) {
  :root { --container-pad: 24px; }
  .dso-hero { padding: 48px 0 40px; }
  .dso-hero-grid { gap: 40px; }
  .dso-pain, .dso-how, .dso-faq, .dso-installs { padding: 64px 0; }
  .dso-final { padding: 72px 0; }
}

@media (max-width: 980px) {
  :root { --container-pad: 22px; }
  .dso-hero-grid, .dso-pain-grid { grid-template-columns: 1fr; gap: 36px; }
  .dso-hero { padding: 44px 0 36px; }
  .dso-hero-sub { max-width: 100%; }

  /* Chevrons → vertical */
  .ps-row { flex-direction: column; }
  .ps-card, .ps-card.ps-first, .ps-card.ps-mid, .ps-card.ps-last {
    width: 100% !important; margin-left: 0 !important;
    background: #e8f0f8 !important;
  }
  .ps-card.ps-first {
    clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px), 0 12px) !important;
    padding: 32px 26px 56px !important; margin-top: 0 !important;
  }
  .ps-card.ps-mid {
    clip-path: polygon(0 0, 50% 24px, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px)) !important;
    margin-top: -12px !important; padding: 44px 26px 56px !important;
  }
  .ps-card.ps-last {
    clip-path: polygon(0 0, 50% 24px, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px)) !important;
    margin-top: -12px !important; padding: 44px 26px 32px !important;
  }

  .dso-proof-grid { grid-template-columns: repeat(2,1fr); }
  .dso-proof-item { padding: 16px 12px; border-bottom: 1px solid #1a3260; }
  .dso-proof-item:nth-child(2) { border-right: none; }
  .dso-proof-item:nth-last-child(-n+2) { border-bottom: none; }

  .dso-logos-row { gap: 10px; }
  .dso-logo-chip { flex: 0 1 140px; }
  .dso-installs-grid { grid-template-columns: repeat(2,1fr); }
  .dso-footer-inner { gap: 18px; }

  /* Deliverables mobile */
  .d3-grid { grid-template-columns: 1fr; }
  .d3-item { border-right: none; }
  .d3-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .d3-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --container-pad: 20px; }
  .dso-nav-row { height: 64px; gap: 16px; }
  .dso-brand-name .n2 { display: none; }
  .dso-hero { padding: 36px 0 32px; }
  .dso-pain, .dso-how, .dso-faq, .dso-installs { padding: 56px 0; }
  .dso-final { padding: 64px 0; }
  .dso-form-card { padding: 24px; }
}

@media (max-width: 640px) {
  :root { --container-pad: 16px; }
  .dso-nav-row { height: 60px; gap: 12px; }
  .btn-sm { font-size: 12.5px; padding: 0 12px; height: 38px; }
  .dso-hero { padding: 28px 0; }
  .dso-pain, .dso-how, .dso-faq, .dso-installs { padding: 44px 0; }
  .dso-final { padding: 56px 0; }
  .dso-logos { padding: 32px 0; }
  .dso-proof { padding: 32px 0; }
  .dso-hero h1 { font-size: clamp(24px,6.5vw,32px); line-height: 1.08; }
  .dso-hero-sub { font-size: 15px; }
  .dso-pain h2, .dso-how-title, .dso-faq-hd h2, .dso-final h2 { font-size: clamp(22px,5.5vw,28px); }
  .dso-installs-hd h2 { font-size: clamp(20px,5vw,26px); }
  .dso-form-card { padding: 20px; }
  .dso-form-banner { margin: -20px -20px 16px; }
  .dso-form-head h2 { font-size: 19px; }
  .dso-field-row { grid-template-columns: 1fr; }
  .dso-form-actions { flex-direction: row; }
  .dso-form-actions .dso-back-step4 { min-width: 80px; }
  .dso-form-chips { gap: 10px; font-size: 11px; }
  .dso-logos-row { gap: 8px; }
  .dso-logo-chip { flex: 0 1 120px; }
  .dso-logo-chip { min-height: 80px; padding: 14px 10px; }
  .dso-installs-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dso-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --container-pad: 14px; }
  .dso-nav-row { height: 56px; }
  .dso-brand-mark { width: 36px; height: 36px; border-radius: 7px; }
  .dso-brand-name .n1 { font-size: 15px; }
  .dso-hero { padding: 22px 0 28px; }
  .dso-hero h1 { font-size: clamp(22px,6.8vw,28px); }
  .dso-hero-sub { font-size: 14.5px; }
  .dso-hero-trust { gap: 14px; font-size: 12px; }
  .dso-pain, .dso-how, .dso-faq, .dso-installs { padding: 36px 0; }
  .dso-final { padding: 44px 0; }
  .dso-logos, .dso-proof { padding: 28px 0; }
  .dso-form-card { padding: 18px; }
  .dso-field input { height: 44px; font-size: 14px; }
  .dso-option-grid { grid-template-columns: 1fr; }
  .btn-xl { height: 56px; font-size: 15px; padding: 0 22px; }
  .btn-lg { height: 52px; font-size: 15px; padding: 0 20px; }
  .dso-logo-chip { min-height: 72px; padding: 12px 8px; }
  .dso-faq-q { padding: 16px 18px; }
  .dso-faq-q-text { font-size: 14.5px; }
  .dso-faq-a-inner { padding: 0 18px 18px; font-size: 13.5px; }
  .dso-footer { padding: 22px 0; }
}

@media (max-width: 380px) {
  :root { --container-pad: 12px; }
  .dso-brand-name .n1 { font-size: 14px; }
  .dso-hero h1 { font-size: clamp(20px,7vw,24px); }
  .dso-hero-sub { font-size: 14px; }
  .dso-form-card { padding: 16px; }
  .dso-form-head h2 { font-size: 17px; }
}

@media (hover: none) and (pointer: coarse) {
  .btn, .dso-faq-q, .opt { min-height: 44px; }
}

/* ── Form banner ── */
.dso-form-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--green); color: var(--white);
  padding: 7px 16px;
  margin: -26px -26px 18px;
  border-radius: 14px 14px 0 0;
  font-size: 12px; font-weight: 600;
}
.dso-gpip {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--white); margin-right: 7px;
  animation: dsoPulse 1.8s infinite;
}
@keyframes dsoPulse { 0%{opacity:1;} 70%{opacity:0.35;} 100%{opacity:1;} }
.dso-step-counter { font-size: 11px; font-weight: 500; opacity: 0.85; }
.dso-step-counter strong { font-weight: 800; }

/* ── Step nav (back button row below options) ── */
.dso-step-nav { margin-top: 10px; }

/* ── Back button ── */
button.dso-back-btn,
.dso-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 18px !important;
  height: 48px !important;
  font-family: var(--font) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: border-color 0.15s, color 0.15s !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}
button.dso-back-btn:hover,
.dso-back-btn:hover {
  border-color: #0c1f3f !important;
  color: #0f172a !important;
}

/* ── Step 4 action row: Back + Submit side by side ── */
.dso-form-actions {
  display: flex !important;
  gap: 10px !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dso-form-actions button.dso-back-step4 {
  height: auto !important;
  min-height: 52px !important;
  min-width: 90px !important;
}
.dso-form-actions input[type="submit"],
.dso-form-actions .wpcf7-submit {
  flex: 1 !important;
  height: 52px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  min-width: 0 !important;
}

/* ── Form trust chips ── */
.dso-form-chips {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 11.5px; font-weight: 500; color: var(--muted);
}
.dso-form-chips span { display: inline-flex; align-items: center; gap: 5px; }

/* ── Form footer ── */
.dso-form-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; font-size: 11px; font-weight: 500; color: var(--subtle);
}
.dso-form-foot span { display: inline-flex; align-items: center; gap: 5px; }

/* ── Thank-you screen ── */
.dso-thankyou {
  padding: 28px 16px 20px;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center;
}
.dso-ty-check { line-height: 1; }
.dso-ty-body { display: flex; flex-direction: column; gap: 6px; }
.dso-ty-body h3 {
  font-size: 22px; font-weight: 800; color: var(--ink) !important;
  letter-spacing: -0.022em; margin: 0; line-height: 1.2;
}
.dso-ty-body p {
  font-size: 13.5px; color: var(--muted) !important; line-height: 1.6;
  margin: 0;
}
.dso-ty-email {
  font-size: 14px; font-weight: 700; color: var(--ink) !important;
  word-break: break-all; display: block;
}
.dso-ty-timing strong { color: var(--ink) !important; }
.dso-ty-chips {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  font-size: 11.5px; font-weight: 500; color: var(--muted) !important;
  border-top: 1px solid var(--line); padding-top: 14px; width: 100%;
}
.dso-ty-chips span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted) !important; }

/* ── Multi-step form ── */
.dso-ms-step { display: none; }
.dso-ms-step.active { display: block; }
.dso-ms-q {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin-bottom: 12px; line-height: 1.4;
}

/* ── Reviews Section ── */
.dso-reviews {
  background: var(--cream);
  padding: 96px 0 80px;
  border-top: 1px solid var(--line);
}
.dso-reviews-hd {
  text-align: center;
  margin-bottom: 48px;
}
.dso-reviews-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px 10px 14px;
  margin-bottom: 24px;
  box-shadow: var(--sh-xs);
}
.dso-reviews-g { width: 28px; height: 28px; flex-shrink: 0; }
.dso-reviews-score {
  font-weight: 800; font-size: 17px; color: var(--ink);
  display: flex; align-items: center; gap: 5px;
}
.dso-reviews-stars-inline { color: #F59E0B; font-size: 14px; letter-spacing: 1px; }
.dso-reviews-count { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.dso-reviews-hd h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  letter-spacing: -0.024em; color: var(--ink); line-height: 1.1;
  margin-bottom: 10px;
}
.dso-reviews-hd p { font-size: 16px; color: var(--muted); max-width: 460px; margin: 0 auto; }

.dso-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dso-review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.dso-review-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.dso-review-top {
  display: flex; align-items: center; gap: 10px;
}
.dso-review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
  flex-shrink: 0;
}
.dso-review-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dso-review-date { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.dso-review-g-logo { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; }
.dso-review-stars { display: flex; gap: 2px; }
.dso-review-stars span { color: #F59E0B; font-size: 14px; }
.dso-review-text {
  font-size: 13.5px; line-height: 1.6; color: var(--muted);
  flex: 1;
}

@media (max-width: 980px) {
  .dso-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .dso-reviews { padding: 72px 0 64px; }
}
@media (max-width: 640px) {
  .dso-reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .dso-reviews { padding: 56px 0 48px; }
  .dso-reviews-hd { margin-bottom: 32px; }
}

/* ── CF7 Form Styling ── */
.dso-form-card .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.dso-form-card .wpcf7-form p { margin: 0; }
.dso-form-card .wpcf7-form input[type="text"],
.dso-form-card .wpcf7-form input[type="email"],
.dso-form-card .wpcf7-form input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  display: block;
}
.dso-form-card .wpcf7-form input[type="text"]:focus,
.dso-form-card .wpcf7-form input[type="email"]:focus,
.dso-form-card .wpcf7-form input[type="tel"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.dso-form-card .wpcf7-form input::placeholder { color: var(--subtle); }
.dso-form-card .wpcf7-form input[type="submit"],
.dso-form-card .wpcf7-form .wpcf7-submit {
  width: 100%;
  height: 52px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  margin-top: 4px;
}
.dso-form-card .wpcf7-form input[type="submit"]:hover,
.dso-form-card .wpcf7-form .wpcf7-submit:hover { background: var(--orange-dk); }
.dso-form-card .wpcf7-form input[type="submit"]:active,
.dso-form-card .wpcf7-form .wpcf7-submit:active { transform: scale(0.98); }
.dso-form-card .wpcf7-not-valid-tip {
  font-size: 12px; color: var(--red); margin-top: 4px; display: block;
}
.dso-form-card .wpcf7-form input.wpcf7-not-valid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}
.dso-form-card .wpcf7-response-output {
  border: none; margin: 0; padding: 12px 14px;
  border-radius: 8px; font-size: 13.5px; font-weight: 500;
}
.dso-form-card .wpcf7-mail-sent-ok {
  background: var(--green-lt); color: var(--green); border-color: transparent;
}
.dso-form-card .wpcf7-validation-errors,
.dso-form-card .wpcf7-acceptance-missing {
  background: var(--red-lt); color: var(--red); border-color: transparent;
}
.dso-cf7-notice {
  font-size: 13px; color: var(--muted); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0;
}
