/*
 * Sopa Cars — dark, condensed, square-cornered, lime accent.
 * Tokens taken from the client's own site so the two read as one brand.
 */

/*
 * Two faces, matching the source: Poppins carries the running text, Roboto
 * Condensed carries every heading, button, label and nav item — always
 * uppercase. Using one face for both was the mismatch.
 */

@font-face {
  font-family: 'Roboto Condensed';
  src: url('/fonts/roboto-condensed.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --text: #fefefe;
  --muted: rgba(254, 254, 254, 0.62);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #76db00;
  --accent-text: #000000;
  --danger: #ff6b6b;
  --ring: rgba(118, 219, 0, 0.28);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;

  /*
   * The source uses two widths, which is why a single container felt cramped:
   * text bands run ~1170px at a 1600px viewport, while services, the manifesto
   * and contact run nearly edge to edge (~1540px).
   */
  --wrap: 1240px;
  --wrap-wide: 1580px;
}

/* Light bands. The source alternates: values, "why choose us" and the express
   check sit on white, everything else on black. */
.light {
  --bg: #ffffff;
  --surface: #f7f7ff;
  --surface-2: #ffffff;
  --text: #000000;
  --muted: rgba(0, 0, 0, 0.62);
  --line: rgba(0, 0, 0, 0.14);
  --accent-text: #000000;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

/*
 * The `hidden` attribute is only a UA-stylesheet `display: none`, so any class
 * here that sets an explicit display silently overrides it. Several do — the
 * picker grid, the widget, the badge. This makes `hidden` mean hidden.
 */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}


h2 { font-size: clamp(30px, 5vw, 56px); }
h3 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.wrap.wide { max-width: var(--wrap-wide); padding: 0 30px; }

/* ─────────────── Top contact strip ─────────────── */

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  padding: 9px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .topbar { justify-content: center; gap: 16px; font-size: 11.5px; }
}

/* ─────────────── Header ─────────────── */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-inline-start: auto;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color .15s;
}

.site-nav a:hover { color: var(--accent); }

.head-right { display: flex; align-items: center; gap: 16px; }

.phone {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .site-nav, .phone { display: none; }
  .site-head { justify-content: space-between; }
  .head-right { margin-inline-start: auto; }
}

/* ─────────────── Buttons ─────────────── */

.btn-accent, .btn-ghost {
  display: inline-block;
  padding: 15px 30px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 0;
  cursor: pointer;
  transition: opacity .15s, background-color .15s, color .15s;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid var(--accent);
}

.btn-accent:hover { opacity: .85; }
.btn-accent.sm { padding: 10px 18px; font-size: 13px; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─────────────── Hero ─────────────── */

.hero-shell {
  position: relative;
  isolation: isolate;
  background: #000 url('/img/hero.jpg') center / cover no-repeat;
}

/*
 * The source keeps the photograph bright — only a soft wash at the bottom,
 * where the type sits. A heavy overlay was what made ours look flat and dark.
 */
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 46%, rgba(0,0,0,.62) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 52%);
}

/*
 * Two bottom-anchored columns, measured off the source at a 1600px viewport:
 * the headline occupies 670px on the left, the wordmark and buttons 470px on
 * the right, both set in the same 74px condensed face.
 */
.hero {
  display: grid;
  grid-template-columns: 670fr 470fr;
  gap: 30px;
  align-items: end;
  width: 100%;
  max-width: var(--wrap);
  /* Tied to the viewport, not the page width: the source's 978px hero sits
     under a 136px header, and a fixed height pushed the lede below the fold. */
  min-height: min(88vh, 900px);
  margin: 0 auto;
  padding: 90px 24px clamp(36px, 4vw, 64px);
}

/*
 * 670px of headline at a 74px cap — about 9em — is what makes the source wrap
 * to three lines. Without the cap it runs to two and reads quite differently.
 */
.hero h1 {
  max-width: 9em;
  font-size: clamp(34px, 4.6vw, 74px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}

/* In the source every line in the right column ends flush with the container. */
.hero-right { text-align: right; }

.wordmark {
  margin: 0 0 34px;
  font-family: var(--font-head);
  font-size: clamp(34px, 4.6vw, 74px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(15px, 1.15vw, 18px);
  color: rgba(254, 254, 254, .84);
}

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

.hero-right .hero-actions { flex-direction: column; align-items: stretch; }

/* The long CTA label is one line in the source; keep it from wrapping. */
.hero-right .btn-accent { padding-inline: 20px; letter-spacing: 0.05em; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 90px;
  }
  .hero-right .hero-actions { align-items: flex-start; }
}

/* ─────────────── Sections ─────────────── */

.band { padding: clamp(56px, 8vw, 104px) 0; }
.band.alt { background: var(--surface); }

.band-head { margin-bottom: 44px; }

/* The source centres the heading block on services, why-choose-us, advantages,
   the stats row and the FAQ. */
.band-head.centered { text-align: center; }
.band-head.centered .year,
.band-head.centered .section-label { display: block; }

.centered-actions { justify-content: center; }

.year {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.section-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.big-text {
  margin: 0 0 26px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 600;
}

.body-text { margin: 0 0 18px; color: var(--muted); }

/* ─────────────── Manifesto ─────────────── */

.manifesto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.manifesto figure {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(240px, 26vw, 400px);
  margin: 0;
  padding: 26px 22px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.manifesto .m1 { background-image: url('/img/mani-1.jpg'); }
.manifesto .m2 { background-image: url('/img/mani-2.jpg'); }
.manifesto .m3 { background-image: url('/img/mani-3.jpg'); }
.manifesto .m4 { background-image: url('/img/mani-4.jpg'); }

.manifesto figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.82) 100%);
  transition: background .3s;
}

.manifesto figure:hover::before {
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.7) 100%);
}

/*
 * A two-line caption used to sit higher than its one-line neighbours, so the
 * lime rules did not line up across the row. Reserving two lines in every tile
 * anchors them all to the same baseline.
 */
.manifesto figcaption {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 2.5em;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.manifesto figcaption::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--accent);
}

@media (max-width: 760px) {
  .manifesto { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────── Values ─────────────── */

.values-grid {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}

.values-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 860px) {
  .values-grid { grid-template-columns: 1fr; }
  .values-media { order: -1; }
}

/* ─────────────── Services ─────────────── */

.services {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
}

.svc img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 16px;
  filter: grayscale(1) contrast(1.05);
  transition: filter .3s;
}

.svc:hover img { filter: none; }

.svc h3 { margin-bottom: 8px; font-size: 19px; }
.svc p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ─────────────── Two-column / split ─────────────── */

.two-col { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }

.two-col img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  margin-bottom: 20px;
}

.two-col h3 { margin-bottom: 12px; }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split.reverse .split-media { order: 2; }

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-copy h2 { margin-bottom: 20px; }
.split-copy .accent { color: var(--accent); margin-bottom: 14px; }

@media (max-width: 860px) {
  .two-col, .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* White card the "why choose us" split sits inside, as in the source. */
.panel-card {
  padding: clamp(24px, 3vw, 44px);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.light .panel-card { background: #fff; }

.rule-head { margin-bottom: 22px; font-size: clamp(21px, 2.4vw, 30px); }
.rule-head i { font-style: normal; color: var(--accent); }

.ticks { margin: 22px 0 0; padding: 0; list-style: none; }

.ticks li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* A filled check disc, matching the source's bullets. */
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.light .ticks li::before { background-color: #000; }

/* The advantages list is short, uppercase labels rather than sentences. */
#advantages .ticks li {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.steps-list {
  counter-reset: step;
  margin: 20px 0 6px;
  padding: 0;
  list-style: none;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 46px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 15px;
  color: var(--accent-text);
  background: var(--accent);
}

/* ─────────────── Stats ─────────────── */

.stats {
  padding: clamp(44px, 6vw, 76px) 0;
  background: #000;
  color: #fefefe;
  border-block: 1px solid rgba(255, 255, 255, .14);
}

.stats .cap { color: var(--accent); }

.stats .wrap {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}

/* Caption above the number, as in the source. */
.stat { display: flex; flex-direction: column; gap: 10px; }

.num {
  order: 2;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
}

.cap {
  order: 1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─────────────── FAQ ─────────────── */

details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

details:last-of-type { border-bottom: 1px solid var(--line); }

summary {
  padding: 20px 34px 20px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
}

details[open] summary::after { content: "–"; }

details p { margin: 0 0 20px; color: var(--muted); }

#faq h2 { margin-bottom: 32px; }

/* ─────────────── Contact list ─────────────── */

.contact-list { margin: 22px 0; padding: 0; list-style: none; }

.contact-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.contact-list span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

/* ─────────────── Contact form ─────────────── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 8px;
  max-width: 520px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px;
  font: inherit;
  font-size: 16px; /* below 16px iOS zooms the viewport on focus */
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
}

.light .contact-form input[type="text"],
.light .contact-form input[type="email"],
.light .contact-form textarea { background: #fff; }

.contact-form textarea { resize: vertical; min-height: 110px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); opacity: .75; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

.contact-form .btn-accent { align-self: flex-start; margin-top: 4px; }

.attach {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 0;
  font-size: 14px;
  color: var(--muted);
}

.btn-ghost.sm { padding: 9px 18px; font-size: 13px; }

.attach-name {
  font-size: 13px;
  color: var(--accent);
  overflow-wrap: anywhere;
}

/* ─────────────── Result modal ─────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(3px);
}

.modal-box {
  width: min(420px, 100%);
  padding: 36px 30px 30px;
  text-align: center;
  background: #121212;
  color: #fefefe;
  border: 1px solid rgba(255, 255, 255, .14);
}

.modal-box h3 {
  margin-bottom: 10px;
  font-size: 27px;
}

.modal-box p {
  margin: 0 0 24px;
  color: rgba(254, 254, 254, .68);
}

/* ─────────────── Gallery ─────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .3s;
}

.gallery img:hover { filter: none; }

@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ─────────────── Footer ─────────────── */

.site-foot {
  padding: clamp(44px, 6vw, 72px) 0 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.foot-grid .brand { display: block; margin-bottom: 14px; }

.foot-nav { margin: 22px 0 0; padding: 0; list-style: none; }

.foot-nav li { padding: 7px 0; }

.foot-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.foot-nav a:hover { color: var(--accent); }

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ Lead form card ═══════════════ */

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(4px);
}

.card {
  position: relative;
  width: min(430px, 100%);
  background: #121212;
  color: #fefefe;
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 34px 26px 26px;
}

.card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: rgba(254, 254, 254, .6);
}

.card-close:hover { color: var(--accent); }

.card-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (max-width: 480px) {
  .form-modal { padding: 0; place-items: stretch; }
  .card { width: 100%; min-height: 100dvh; border: 0; padding-top: 54px; }
}

/* ── Express-check form, laid out like the source's popup ── */

.form-head { text-align: center; margin-bottom: 26px; }

.form-head h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.08; }

.form-head .rule {
  display: block;
  width: 100px;
  height: 3px;
  margin: 16px auto 14px;
  background: var(--accent);
}

.form-head .sub {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(254, 254, 254, .8);
}

.form-head .sub b { color: var(--accent); font-weight: 600; }

.lead-form .field { margin-bottom: 22px; }

.lead-form .field > span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fefefe;
}

.lead-form .field > small {
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: rgba(254, 254, 254, .55);
}

/* Underlined inputs, as in the source, rather than boxed ones. */
.lead-form .field input[type="email"],
.lead-form .field input[type="text"] {
  width: 100%;
  padding: 10px 2px;
  font: inherit;
  font-size: 16px;
  color: #fefefe;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  border-radius: 0;
  outline: none;
}

.lead-form .field input::placeholder { color: rgba(254, 254, 254, .42); }
.lead-form .field input:focus { border-bottom-color: var(--accent); box-shadow: none; }

.step-head { margin-bottom: 22px; }

.step-no {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.card h2 { font-size: 25px; margin-bottom: 10px; }

.hint { margin: 0; font-size: 15px; color: var(--muted); }

.pickers { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }

@media (max-width: 420px) { .pickers { grid-template-columns: 1fr; } }

.picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 116px;
  padding: 18px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
  background: transparent;
  border: 1px dashed var(--line);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.picker:hover, .picker:focus-visible { border-color: var(--accent); color: var(--accent); }

.picker svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.dropzone { position: relative; }

.dropzone img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg);
}

.chip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 8px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent);
  border: 0;
  cursor: pointer;
}

.field { display: block; }

.field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  width: 100%;
  padding: 14px;
  font: inherit;
  font-size: 16px; /* below 16px iOS zooms the viewport on focus */
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  outline: none;
}

.field input::placeholder { color: var(--muted); opacity: .6; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.primary {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 16px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent);
  border: 0;
  cursor: pointer;
  transition: opacity .15s;
}

.primary:hover:not(:disabled) { opacity: .85; }
.primary:disabled { opacity: .3; cursor: not-allowed; }

.link {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link:hover { color: var(--accent); }

.reassure { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.error { margin: 12px 0 0; font-size: 14px; color: var(--danger); }

.done { text-align: center; padding: 16px 4px 8px; }

.tick {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
}

.tick svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--accent-text); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}

.done h2 { font-size: 28px; }
.done .lede { font-size: 16px; margin-bottom: 0; }
.pointer { margin-top: 12px; font-size: 15px; }

/* ═══════════════ Chat widget ═══════════════ */

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.launcher {
  order: 2;
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  flex: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--accent-text);
  background: var(--accent);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .5);
  transition: transform .16s ease;
}

.launcher:hover { transform: scale(1.05); }
.launcher:active { transform: scale(.97); }

.launcher svg {
  grid-area: 1 / 1;
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  transition: opacity .16s, transform .16s;
}

.launcher .ico-close,
.chat-widget.open .launcher .ico-chat { opacity: 0; transform: rotate(-45deg); }
.chat-widget.open .launcher .ico-close { opacity: 1; transform: none; }

.badge {
  position: absolute;
  top: -2px; right: -2px;
  display: grid;
  place-items: center;
  min-width: 21px; height: 21px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #dc2626;
  border: 2px solid var(--bg);
  border-radius: 999px;
}

.panel {
  order: 1;
  display: flex;
  flex-direction: column;
  width: min(370px, calc(100vw - 40px));
  max-height: min(560px, calc(100dvh - 130px));
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .6);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chat-status {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

.chat-status::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.panel-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px; height: 28px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}

.panel-close:hover { background: var(--bg); color: var(--text); }

.panel-close svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px;
}

.intro .msg { max-width: 100%; }

.intro-cta {
  padding: 12px 20px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent);
  border: 0;
  cursor: pointer;
}

.intro-cta:hover { opacity: .85; }

.thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 90px;
  overflow-y: auto;
  padding: 14px 14px 4px;
}

.msg { display: flex; flex-direction: column; max-width: 82%; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg.in { align-self: flex-start; align-items: flex-start; }

.bubble {
  padding: 10px 13px;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.msg.out .bubble { background: var(--accent); color: var(--accent-text); }
.msg.in .bubble { background: var(--bg); border: 1px solid var(--line); }

.msg time { margin-top: 3px; font-size: 11px; color: var(--muted); }

.chat-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  resize: none;
  overflow-y: auto;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  outline: none;
}

.chat-form textarea:focus { border-color: var(--accent); }

.send {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border: 0;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-text);
}

.send:hover { opacity: .85; }

.send svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.chat-widget .error { margin: 0 14px; }

/* On a phone the panel takes the screen, the way every chat widget does. */
@media (max-width: 480px) {
  .chat-widget { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .chat-widget.open { inset: 0; right: 0; bottom: 0; gap: 0; }
  .chat-widget.open .panel {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
  }
  .chat-widget.open .launcher { display: none; }
}

/*
 * Everything condensed-and-uppercase in the source: nav, buttons, labels,
 * captions, stat numbers, FAQ questions.
 *
 * This sits at the end deliberately. The button rules above use `font: inherit`
 * to pick up the body size, and that shorthand also resets font-family — so at
 * equal specificity it wins on order unless this comes last.
 */
.brand, .site-nav a, .phone, .btn-accent, .btn-ghost, .primary, .chip,
.picker, .step-no, .eyebrow, .section-label, .year, .manifesto figcaption,
.ticks li, .num, .cap, summary, .contact-list span, .foot-nav a, .foot-legal,
.intro-cta, .panel-head strong, .modal-box h3, .field > span {
  font-family: var(--font-head);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
