/* Awan Siber — design system
   Single stylesheet. No preprocessor, no framework.
   Display type is self-hosted (Plus Jakarta Sans, latin subset only) so
   headings carry a real typographic voice without adding a third-party
   request — body copy stays on the native system stack for speed. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue-50: #eef1fe;
  --blue-100: #dbe1fc;
  --blue-600: #3a5ce0;
  --blue-700: #2c46b8;
  --navy-900: #12163a;
  --green-50: #eafbf4;
  --green-600: #1fa971;
  --green-700: #167a53;
  --red-50: #fceef1;
  --red-600: #d63d5b;
  --ink: #14172b;
  --body: #565c74;
  --muted: #82869c;
  --line: #e4e6f1;
  --surface: #f7f8fc;
  --white: #ffffff;

  --container: 1200px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 60, .07);
  --shadow: 0 6px 20px -4px rgba(20, 23, 60, .1);
  --shadow-lg: 0 16px 40px -8px rgba(20, 23, 60, .16);
  --shadow-blue: 0 10px 24px -8px rgba(58, 92, 224, .35);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Keep anchor targets clear of the sticky header. */
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.3rem); font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; height: auto; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-600);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -.025em;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .93rem;
}
.nav-links a { color: var(--body); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--blue-600);
  text-decoration: none;
}

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.lang-switch a { color: var(--muted); }
.lang-switch [aria-current="true"] { color: var(--ink); }
.lang-switch span { color: var(--line); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

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

.btn-outline {
  background: #fff;
  color: var(--blue-600);
  border-color: var(--blue-600);
}
.btn-outline:hover { background: var(--blue-50); }

.btn-green { background: var(--green-600); color: #fff; }
.btn-green:hover { background: var(--green-700); color: #fff; }

.btn-ghost-red {
  background: #fff;
  color: var(--red-600);
  border-color: #f3c3ce;
}
.btn-ghost-red:hover { background: var(--red-50); }

.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--blue-50); color: var(--navy-900); }

.btn-on-navy {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.btn-on-navy:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section-tint { background: var(--blue-50); }
.section-surface { background: var(--surface); }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { color: var(--body); font-size: 1.05rem; margin: 0; }

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

.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero p.lead {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-features li {
  display: flex;
  gap: 10px;
  font-size: .85rem;
  line-height: 1.4;
  color: var(--body);
}
.hero-features strong { display: block; color: var(--ink); font-weight: 600; }
.hero-features svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-600); }

.hero-visual { position: relative; }
.hero-caption {
  text-align: right;
  font-size: .78rem;
  color: var(--muted);
  margin: 12px 0 0;
}

.stat-card {
  position: absolute;
  top: 0;
  right: -12px;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  max-width: 200px;
}
.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stat-card-label { font-size: .8rem; font-weight: 600; color: var(--ink); }
.stat-card-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-600);
  line-height: 1.1;
  margin: 4px 0 2px;
  letter-spacing: -.02em;
}
.stat-card-note { font-size: .7rem; color: var(--muted); line-height: 1.35; margin: 0; }

/* ---------- Pricing cards ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card-green { background: var(--green-50); border-color: #a9f0d4; }
.price-card-blue {
  background: var(--blue-50);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-lg);
}
.price-card-red { background: var(--red-50); border-color: #f3c3ce; }

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-600);
  box-shadow: var(--shadow-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 15px 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; flex-shrink: 0; }

.price-card-head { display: flex; gap: 12px; margin-bottom: 16px; }
.price-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.price-icon svg { width: 20px; height: 20px; }
.price-card-green .price-icon { background: #fff; box-shadow: inset 0 0 0 1px #a9f0d4; }
.price-card-blue .price-icon { background: #fff; box-shadow: inset 0 0 0 1px var(--blue-600); }
.price-card-red .price-icon { background: #fff; box-shadow: inset 0 0 0 1px #f3c3ce; }
.price-card h3 { margin: 0 0 2px; font-size: 1.15rem; }
.price-card-green h3 { color: var(--green-600); }
.price-card-blue h3 { color: var(--blue-600); }
.price-card-red h3 { color: var(--red-600); }
.price-card-head p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.4; }

.price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -.03em;
}
.price-desc { font-size: .88rem; margin-bottom: 20px; }

.feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  font-size: .89rem;
  line-height: 1.45;
  align-items: flex-start;
}
.feature-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.check-green { color: var(--green-600); }
.check-blue { color: var(--blue-600); }
.check-red { color: var(--red-600); }

.price-card .btn { margin-top: auto; }

/* ---------- Trust bar ---------- */

.trust-bar { background: var(--blue-50); padding: 36px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--blue-600); }
.trust-item strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 700; }
.trust-item span { font-size: .82rem; color: var(--muted); line-height: 1.4; }

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: step;
}
.process-step { text-align: center; padding: 0 6px; position: relative; }
.process-step:not(:last-child)::after {
  content: "\203A";
  position: absolute;
  top: -4px;
  right: -8px;
  font-size: 1.5rem;
  line-height: 1;
  color: #cdd1e4;
}
.process-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.process-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.process-icon {
  display: grid;
  place-items: center;
  color: var(--blue-600);
}
.process-icon svg { width: 26px; height: 26px; }
.process-step h3 { font-size: .98rem; margin-bottom: 4px; }
.process-step p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* ---------- Portfolio ---------- */

.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.portfolio-head h2 { margin-bottom: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.portfolio-grid-wide { grid-template-columns: repeat(3, 1fr); gap: 24px; }

.project-card { display: block; color: inherit; }
.project-card:hover { text-decoration: none; }
.project-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s;
  display: block;
  aspect-ratio: 4 / 3;
}
.project-card:hover .project-thumb { box-shadow: var(--shadow); transform: translateY(-2px); }
.project-thumb svg { display: block; width: 100%; height: 100%; }
.project-card h3 { font-size: .95rem; margin: 12px 0 6px; }
.project-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.project-card p { font-size: .85rem; margin: 8px 0 0; color: var(--muted); }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-600);
}
.project-link:hover { text-decoration: underline; }

/* ---------- Testimonials + FAQ ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

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

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: .88rem; line-height: 1.6; margin: 0 0 16px; }
.quote figcaption { display: flex; gap: 11px; align-items: center; }
.quote figcaption svg { width: 36px; height: 36px; border-radius: 999px; flex-shrink: 0; }
.quote-name { font-size: .85rem; font-weight: 700; color: var(--ink); display: block; }
.quote-role { font-size: .78rem; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: currentColor;
  color: var(--muted);
  transition: transform .2s;
  -webkit-mask: var(--plus-icon) center / contain no-repeat;
  mask: var(--plus-icon) center / contain no-repeat;
  --plus-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" stroke="black" stroke-width="2.5" stroke-linecap="round" fill="none"/></svg>');
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0 18px; font-size: .89rem; margin: 0; max-width: 62ch; }

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

.cta-band {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 1.5rem; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; font-size: .95rem; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

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

.page-header {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: 48px 0 56px;
}
.page-header .lead { font-size: 1.05rem; max-width: 60ch; margin: 0; }

.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }

/* ---------- Prose + tables ---------- */

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { display: grid; gap: 8px; }

.table-wrap { overflow-x: auto; margin: 0 0 24px; }

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .89rem;
  min-width: 640px;
  background: #fff;
}
table.compare caption {
  caption-side: top;
  text-align: left;
  font-size: .85rem;
  color: var(--muted);
  padding-bottom: 12px;
}
table.compare th, table.compare td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
table.compare thead th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: .88rem;
}
table.compare tbody th { font-weight: 600; color: var(--ink); background: #fff; }
table.compare tbody tr:nth-child(even) th,
table.compare tbody tr:nth-child(even) td { background: var(--surface); }
table.compare .yes, table.compare .no {
  text-align: center;
}
table.compare .yes::before, table.compare .no::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  vertical-align: middle;
}
table.compare .yes {
  color: var(--green-600);
}
table.compare .yes::before {
  -webkit-mask: var(--icon-check) center / contain no-repeat;
  mask: var(--icon-check) center / contain no-repeat;
  --icon-check: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>');
}
table.compare .no {
  color: var(--red-600);
}
table.compare .no::before {
  -webkit-mask: var(--icon-cross) center / contain no-repeat;
  mask: var(--icon-cross) center / contain no-repeat;
  --icon-cross: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6L6 18" stroke="black" stroke-width="3" stroke-linecap="round" fill="none"/></svg>');
}

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

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.answer {
  background: var(--blue-50);
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 0 0 20px;
  font-size: .95rem;
  color: var(--ink);
  max-width: 68ch;
}

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

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.contact-method {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 16px;
}
.contact-method svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--blue-600); }
.contact-method h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-method p { font-size: .88rem; margin: 0 0 12px; }

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

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  padding: 56px 0 28px;
  font-size: .88rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
}
.site-footer h3 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-about { max-width: 34ch; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
}

/* ---------- Utilities ---------- */

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

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

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .stat-card { right: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-step:not(:last-child)::after { display: none; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 44px; }
  .card-grid, .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; order: 3; }
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav-end { gap: 10px; }
  .nav-end .btn { display: none; }
  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    padding: 6px 0 12px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 12px 2px; }

  .section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-features { grid-template-columns: 1fr; gap: 14px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stat-card { position: static; max-width: none; margin-bottom: 20px; }
  .hero-caption { text-align: left; }
  .portfolio-grid, .portfolio-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .portfolio-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-band { padding: 30px 26px; flex-direction: column; align-items: flex-start; }
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 460px) {
  .trust-grid, .process-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .portfolio-grid-wide { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-band-actions { width: 100%; flex-direction: column; }
  .cta-band-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { color: #000; }
}

/* ---------- Lead capture modal ---------- */

.lead-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 420px;
  width: calc(100% - 40px);
  box-shadow: var(--shadow-lg);
}
/* Padding lives on the form, not the dialog, so a click anywhere inside the
   visible panel lands on the form (or a descendant) rather than on the
   dialog element itself — keeping the dialog's own click-to-close-on-
   backdrop check from misfiring on clicks that are visually "inside". */
.lead-modal form { padding: 28px; }
.lead-modal::backdrop { background: rgba(20, 23, 60, .45); }
.lead-modal-title { margin: 0 0 6px; font-size: 1.15rem; }
.lead-modal-sub { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }
.lead-modal .field { margin-bottom: 14px; }
.lead-modal label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.lead-modal input[type="text"],
.lead-modal input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .92rem;
  font-family: var(--font);
}
.lead-modal input:focus { outline: 2px solid var(--blue-600); outline-offset: 1px; }
.lead-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- Estimate landing page ---------- */

.estimate-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    linear-gradient(90deg, rgba(58, 92, 224, .065) 1px, transparent 1px),
    linear-gradient(rgba(58, 92, 224, .065) 1px, transparent 1px),
    linear-gradient(145deg, #fff 32%, var(--blue-50) 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.estimate-hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -170px;
  top: -190px;
  border: 56px solid rgba(58, 92, 224, .08);
  border-radius: 50%;
}

.estimate-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .78fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.estimate-copy h1 { max-width: 13ch; }
.estimate-copy .lead { max-width: 57ch; font-size: 1.08rem; }

.estimate-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

.estimate-points li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  color: var(--green-700);
  background: var(--green-50);
  border-radius: 50%;
}

.estimate-sheet {
  position: relative;
  padding: 30px;
  color: var(--body);
  background: var(--white);
  border: 1px solid rgba(58, 92, 224, .2);
  border-radius: 4px 4px var(--radius-lg) var(--radius-lg);
  box-shadow: 12px 14px 0 var(--navy-900), var(--shadow-lg);
}

.estimate-sheet::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 6px;
  background: var(--blue-600);
  border-radius: 4px 4px 0 0;
}

.estimate-sheet-kicker {
  color: var(--blue-600);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.estimate-sheet h2 { font-size: 1.45rem; margin-bottom: 8px; }
.estimate-sheet > p { font-size: .9rem; }

.estimate-form .field { margin: 16px 0; }
.estimate-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: .87rem;
  font-weight: 700;
}

.estimate-form input[type="text"],
.estimate-form input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cdd1e4;
  border-radius: 9px;
  font: inherit;
}

.estimate-form input:focus {
  outline: 3px solid rgba(58, 92, 224, .2);
  border-color: var(--blue-600);
}

.estimate-form .btn { margin-top: 4px; }
.estimate-form button:disabled { cursor: wait; opacity: .7; transform: none; }
.estimate-privacy { margin: 12px 0 0; font-size: .76rem; color: var(--muted); }
.estimate-status { min-height: 1.5em; margin: 10px 0 0; color: var(--red-600); font-size: .82rem; }

.estimate-result:focus { outline: none; }
.estimate-result-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--white);
  background: var(--green-600);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
}
.estimate-result p { font-size: .9rem; }
.estimate-result .btn { margin-top: 8px; }

.estimate-guide {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}
.estimate-guide-intro { position: sticky; top: 108px; }
.estimate-guide-intro p { max-width: 42ch; }

.estimate-ranges { display: grid; gap: 0; border-top: 1px solid var(--line); }
.estimate-range {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.estimate-range-no {
  font-family: var(--font-display);
  color: var(--blue-600);
  font-size: 1.45rem;
  font-weight: 800;
}
.estimate-range h3 { margin-bottom: 3px; }
.estimate-range p { margin: 0; font-size: .9rem; }
.estimate-range-price { text-align: right; color: var(--ink); font-weight: 800; white-space: nowrap; }
.estimate-range-price small { display: block; color: var(--muted); font-weight: 500; }

.estimate-note {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--surface);
  border-left: 4px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
}

.estimate-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.estimate-proof-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.estimate-proof-card .project-tag { display: inline-block; margin-bottom: 12px; }
.estimate-proof-card p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .estimate-layout, .estimate-guide { grid-template-columns: 1fr; }
  .estimate-copy h1 { max-width: 16ch; }
  .estimate-sheet { max-width: 560px; }
  .estimate-guide-intro { position: static; }
}

@media (max-width: 620px) {
  .estimate-hero { padding: 48px 0 64px; }
  .estimate-sheet { padding: 24px 20px; box-shadow: 7px 9px 0 var(--navy-900), var(--shadow); }
  .estimate-range { grid-template-columns: 40px 1fr; gap: 12px; }
  .estimate-range-price { grid-column: 2; text-align: left; }
  .estimate-proof { grid-template-columns: 1fr; }
}
