/* ===========================================================
   Cascadia View Drone Solutions
   Palette: Deep slate ground · Signal mint · Data sky · Survey amber
   Type: Space Grotesk (display) + Inter (body) + JetBrains Mono (data)

   Dark-throughout by design. Surface levels (--ground -> --surface-3)
   do the work that light/dark section alternation does on a light site.
   =========================================================== */

:root {
  /* Grounds — darkest to lightest */
  --ground:     #0a0e12;
  --surface:    #0f151b;
  --surface-2:  #141d25;
  --surface-3:  #1b262f;

  /* Signal colors */
  --mint:       #4fd1a5;   /* primary accent — evergreen meets terminal */
  --mint-deep:  #2f9d78;
  --mint-glow:  rgba(79, 209, 165, 0.14);
  --sky:        #5eb3f5;   /* data / secondary */
  --amber:      #f2a541;   /* CTA + advisory notices */

  /* Ink */
  --ink:        #eef4f3;
  --ink-soft:   #9fb0bb;
  --ink-faint:  #6b7d89;

  /* Lines */
  --line:       rgba(159, 176, 187, 0.14);
  --line-soft:  rgba(159, 176, 187, 0.08);
  --line-mint:  rgba(79, 209, 165, 0.30);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;

  --radius:    10px;
  --radius-lg: 16px;
  --max-width: 1180px;
  --shadow:    0 14px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header is 68px; keep anchor targets from hiding underneath it. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--ground);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  margin-top: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; }

p { margin-top: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 780px; }

section { padding: 92px 0; }

.section-raised { background: var(--surface); }
.section-deep   { background: var(--surface-2); }

/* Hairline between stacked same-color sections. */
.section-ruled { border-top: 1px solid var(--line-soft); }

/* ---------- Shared type helpers ---------- */

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--mint);
  margin-bottom: 14px;
}

.section-heading {
  max-width: 720px;
  margin: 0 0 56px;
}

.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading p { color: var(--ink-soft); font-size: 1.06rem; margin: 0; }

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

strong { color: var(--ink); font-weight: 600; }

.text-mint { color: var(--mint); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease,
              background .16s ease, color .16s ease, border-color .16s ease;
}

.btn-primary {
  background: var(--mint);
  color: #06231a;
  border-color: var(--mint);
}

.btn-primary:hover {
  background: #62e0b5;
  border-color: #62e0b5;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(79, 209, 165, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid var(--line-mint);
  padding-bottom: 2px;
  transition: border-color .16s ease, color .16s ease;
}

.link-arrow:hover { color: #7ce3c0; border-color: #7ce3c0; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.logo-mark { width: 34px; height: 34px; flex: none; }

.logo-type { display: flex; flex-direction: column; line-height: 1.1; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .16s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--mint); }

.nav-links a.btn { color: #06231a; font-size: 0.72rem; padding: 11px 20px; }
.nav-links a.btn:hover { color: #06231a; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  width: 42px;
  height: 38px;
  padding: 9px 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ground);
  padding: 104px 0 0;
  border-bottom: 1px solid var(--line-soft);
}

/* Layered backdrop: flight-grid, topo contours, and a mint bloom.
   All pure CSS/SVG so the page looks finished before any photo exists.
   Drop a real aerial photo in as .hero-photo to sit above these. */
.hero-grid,
.hero-topo,
.hero-bloom,
.hero-photo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 25%, transparent 75%);
}

.hero-topo { opacity: 0.5; }
.hero-topo svg { width: 100%; height: 100%; }

.hero-bloom {
  background:
    radial-gradient(ellipse 60% 50% at 78% 8%, var(--mint-glow), transparent 70%),
    radial-gradient(ellipse 50% 45% at 12% 85%, rgba(94, 179, 245, 0.10), transparent 70%);
}

.hero-photo {
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: luminosity;
}

.hero-inner { position: relative; z-index: 2; padding-bottom: 84px; }

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 16px 7px 12px;
  margin-bottom: 28px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(79, 209, 165, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(79, 209, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 209, 165, 0); }
}

.hero h1 { max-width: 15ch; margin-bottom: 22px; }

.hero-lead {
  max-width: 58ch;
  font-size: 1.14rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
}

/* Spec strip — the instrument-panel readout under the hero. */
.spec-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(15, 21, 27, 0.6);
}

.spec {
  padding: 26px 24px;
  border-right: 1px solid var(--line-soft);
}

.spec:last-child { border-right: none; }

.spec-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Page header (interior pages) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding: 78px 0 62px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}

.page-head .hero-grid { mask-image: none; -webkit-mask-image: none; opacity: 0.55; }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 16px; }
.page-head p { max-width: 62ch; font-size: 1.08rem; margin: 0; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.card:hover {
  border-color: var(--line-mint);
  transform: translateY(-3px);
  background: var(--surface-3);
}

/* Reticle corner bracket — small nod to a targeting/mapping UI. */
.card::before {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--line-mint);
  border-right: 1px solid var(--line-mint);
  opacity: 0;
  transition: opacity .18s ease;
}

.card:hover::before { opacity: 1; }

.card h3 { margin-bottom: 10px; }
.card p  { font-size: 0.95rem; margin-bottom: 0; }

.card-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--mint);
  display: block;
  margin-bottom: 14px;
}

.card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--mint);
}

.card-icon svg { width: 100%; height: 100%; display: block; }

/* Bulleted deliverable list inside a card */
.card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.9rem;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 1px;
  background: var(--mint);
}

/* ---------- Industry grid ---------- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry {
  background: var(--surface);
  padding: 34px 28px;
  text-decoration: none;
  display: block;
  transition: background .18s ease;
}

.industry:hover { background: var(--surface-3); }
.industry h3 { margin-bottom: 8px; }
.industry:hover h3 { color: var(--mint); }
.industry p { font-size: 0.92rem; margin: 0; }

.industry-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 12px;
}

/* ---------- Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  top: -11px;
  left: 0;
  background: var(--ground);
  padding-right: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.section-raised .step::before { background: var(--surface); }
.section-deep   .step::before { background: var(--surface-2); }

.step h3 { margin-bottom: 8px; }
.step p  { font-size: 0.93rem; margin: 0; }

/* ---------- Split feature (text + panel) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-wide { grid-template-columns: 1.15fr 1fr; }

/* Terminal-style readout panel */
.readout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.readout-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.readout-body { padding: 22px 24px; }

.readout-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.readout-row:last-child { border-bottom: none; }
.readout-row dt { color: var(--ink-faint); letter-spacing: 0.04em; }
.readout-row dd { margin: 0; color: var(--ink); text-align: right; }

.readout dl { margin: 0; }

/* ---------- Notice / disclosure blocks ---------- */

.notice {
  border-left: 2px solid var(--amber);
  background: rgba(242, 165, 65, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  font-size: 0.93rem;
}

.notice h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.notice p:last-child { margin-bottom: 0; }

.notice-mint {
  border-left-color: var(--mint);
  background: var(--mint-glow);
}

.notice-mint h4 { color: var(--mint); }

/* ---------- Checklist ---------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 30px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--mint);
  border-bottom: 1.5px solid var(--mint);
  transform: rotate(-45deg);
}

/* ---------- Work / case cards ---------- */

.case {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  margin-bottom: 26px;
}

.case-media {
  min-height: 260px;
  background: var(--surface-3);
  background-size: cover;
  background-position: center;
  position: relative;
  border-right: 1px solid var(--line-soft);
}

/* Placeholder treatment until a real frame is dropped in. */
.case-media::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background-image:
    repeating-linear-gradient(45deg, var(--line-soft) 0 1px, transparent 1px 10px);
}

.case-body { padding: 34px 34px; }
.case-body h3 { font-size: 1.3rem; margin-bottom: 12px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px 10px;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-soft); }

.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--mint);
  font-size: 1.2rem;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-top: 14px; font-size: 0.96rem; }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }

.field label,
.fieldset-legend {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field .hint {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-faint);
  margin-top: 6px;
}

.req { color: var(--mint); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-glow);
}

textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%239fb0bb' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

fieldset { border: none; margin: 0; padding: 0; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 22px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.check input { accent-color: var(--mint); margin-top: 5px; flex: none; }

/* Honeypot — hidden from people, visible to naive bots. */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-status {
  margin-top: 18px;
  font-size: 0.92rem;
  padding: 14px 18px;
  border-radius: 6px;
  display: none;
}

.form-status.show { display: block; }
.form-status.ok   { background: var(--mint-glow); color: var(--mint); border: 1px solid var(--line-mint); }
.form-status.err  { background: rgba(242, 165, 65, 0.08); color: var(--amber); border: 1px solid rgba(242, 165, 65, 0.3); }

/* ---------- Contact rail ---------- */

.contact-rail { display: flex; flex-direction: column; gap: 26px; }

.contact-item {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.contact-item .spec-label { margin-bottom: 6px; }

.contact-item a,
.contact-item p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
}

.contact-item a:hover { color: var(--mint); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}

.cta-band .hero-bloom { opacity: 1.6; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 54ch; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ground);
  border-top: 1px solid var(--line-soft);
  padding: 62px 0 30px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 9px;
  transition: color .16s ease;
}

.site-footer a:hover { color: var(--mint); }
.site-footer p { margin-bottom: 9px; }

.footer-brand .wordmark { font-size: 1.1rem; display: block; margin-bottom: 10px; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.footer-legal { max-width: 70ch; font-size: 0.8rem; line-height: 1.6; color: var(--ink-faint); margin-bottom: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .split, .split-wide { grid-template-columns: 1fr; gap: 40px; }
  .case { grid-template-columns: 1fr; }
  .case-media { border-right: none; border-bottom: 1px solid var(--line-soft); min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 760px) {
  section { padding: 68px 0; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
  }

  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: none; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a.btn { text-align: center; padding: 14px 20px; }

  .hero { padding-top: 68px; }
  .hero-inner { padding-bottom: 56px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .case-body { padding: 26px 24px; }
  .cta-band { padding: 40px 26px; }
}

@media (max-width: 480px) {
  .spec-strip { grid-template-columns: 1fr; }
  .spec { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .spec:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
