/* =========================================================
   CONSULBUILD — Hand-crafted CSS.
   No utility-class soup. No Inter. No purple gradient buttons.
   Aesthetic tone: industrial / blueprint / work-truck.
   ========================================================= */

:root {
  /* color */
  --ink: #0F1B2A;          /* deep midnight navy (primary dark) */
  --ink-2: #14253A;        /* slightly lifted navy for layered dark cards */
  --ink-3: #1B2E47;        /* dark card surface */
  --paper: #F4F1EC;        /* warm off-white surface */
  --paper-2: #E9E3D6;      /* warm beige for alternating sections */
  --rule: #D9D1C0;         /* warm rule line on paper */
  --rule-dark: #2A3A52;    /* rule on dark sections */
  --accent: #FF6B35;       /* safety orange */
  --accent-2: #E85522;     /* deep orange (hover / shadow) */
  --accent-soft: #FFE8DC;  /* tinted hover bg */
  --text: #14202E;
  --text-dim: #4A5A6E;
  --text-light: #F4F1EC;
  --text-light-dim: #9DAEC2;

  /* type */
  --font-display: "Big Shoulders Display", "Arial Black", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  /* radius — varied, not a single token applied to everything */
  --r-sm: 4px;
  --r-md: 6px;
  --r-card: 18px;

  /* shadow — restrained */
  --shadow-card: 0 1px 0 rgba(15,27,42,.08), 0 10px 30px -16px rgba(15,27,42,.35);
  --shadow-deep: 0 30px 60px -30px rgba(15,27,42,.5);

  /* container */
  --max: 1180px;
  --pad: 28px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
html, body { overflow-x: hidden; max-width: 100%; }

/* CSS Grid fix + text-wrapping safety net for narrow screens.
   1fr columns default to minmax(auto, 1fr) which lets content
   force the column wider than its share. Force min-width: 0 on every direct
   grid child so columns shrink and text wraps cleanly on mobile. */
@media (max-width: 768px) {
  body { width: 100vw; max-width: 100vw; }
  .container { width: 100%; max-width: 100%; }
  .hero__copy, .hero__mascot, .feature__copy, .feature__media,
  .cta__copy, .cta__form-wrap, .lead-form, .step, .why-card,
  .t-card, .trade-card, .partners__row, .footer__grid > * {
    min-width: 0;
    max-width: 100%;
  }
  /* Aggressive: break at any character if the layout still can't fit a word */
  .hero__sub, .feature__title, .checklist li, .why-card p,
  .step__body, .cta__sub, .t-card__quote, .faq__body,
  .display, .section-h, h1, h2, h3, h4, p, li,
  .trade-card__label, .trade-card__sub {
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }
  .hero__sub { max-width: 100%; }
  /* Ensure all grid containers and their children stay capped */
  .trades__grid, .why__grid, .footer__grid, .process__steps,
  .hero__grid, .feature, .cta__grid, .lead-form__row,
  .lead-form__actions, .t-strip__row {
    width: 100%; max-width: 100%;
  }
}

.hero__grid > *,
.feature > *,
.trades__grid > *,
.process__steps > *,
.why__grid > *,
.partners__row > *,
.cta__grid > *,
.lead-form__row > *,
.lead-form__actions > *,
.footer__grid > *,
.t-strip__row > *,
.nav__inner > *,
.nav__links > * {
  min-width: 0;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

/* paper texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(15,27,42,.025) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

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

/* =========================================================
   TYPOGRAPHY PRIMITIVES
   ========================================================= */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--ink);
  text-transform: none;
}
.display--center { text-align: center; }
.display--light { color: var(--text-light); }
.display__accent {
  color: var(--accent);
  font-style: italic;
}

.section-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1;
  color: var(--ink);
}
.section-h--light { color: var(--text-light); }
.section-h--center { text-align: center; }
.section-h__dim {
  font-weight: 700;
  color: var(--text-dim);
}
.section-h--light .section-h__dim { color: var(--text-light-dim); }

.section-lede {
  text-align: center;
  font-size: 18px;
  color: var(--text-dim);
  margin-top: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow__dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--quiet { color: var(--text-dim); }
.eyebrow--quiet .eyebrow__dot { background: var(--text-dim); }

/* =========================================================
   BUTTONS — solid, hard edges, no gradients
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--accent-2);
}
.btn--accent:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 0 #B43E15;
}
.btn--accent:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 var(--accent-2);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.link-quiet {
  font-weight: 500;
  color: var(--text);
  padding: 8px 4px;
}
.link-quiet:hover { color: var(--accent); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,241,236,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(244,241,236,.96);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.nav__logo--light { color: var(--paper); }
.nav__logo-mark { width: 36px; height: 36px; }
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
  line-height: 1;
}
.nav__logo-text span { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 26px;
  justify-content: center;
}
.nav__links a {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .005em;
  color: var(--ink);
  padding: 6px 2px;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__burger {
  display: none;
  border: 0;
  background: transparent;
  width: 36px; height: 36px;
  position: relative;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  position: absolute;
  left: 7px;
  transition: transform .2s ease, opacity .15s ease;
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 17px; }
.nav__burger span:nth-child(3) { top: 22px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open .nav__links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__cta .link-quiet { display: none; }
  .nav__burger { display: block; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,107,53,.10), transparent 50%),
    var(--ink);
  color: var(--paper);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}
/* blueprint grid */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* diagonal orange beam */
.hero::after {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 50%; height: 140%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,107,53,.18) 50%, transparent 60%);
  transform: rotate(12deg);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  position: relative;
  padding-bottom: 130px;
}

.hero__copy .eyebrow { margin-bottom: 22px; }
.hero .display { color: var(--paper); }
.hero__sub {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-light-dim);
  max-width: 530px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero__actions .btn--ghost {
  color: var(--paper);
  border-color: rgba(244,241,236,.4);
}
.hero__actions .btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hero__trust {
  display: flex;
  gap: 0;
  margin-top: 42px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(244,241,236,.1);
  padding-top: 26px;
  align-items: center;
}
.rating {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "logo label"
    "logo stars";
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  font-size: 12px;
  padding: 0 22px;
  border-right: 1px solid rgba(244,241,236,.1);
}
.rating:first-child { padding-left: 0; }
.rating:last-child { border-right: 0; }
.rating__logo {
  grid-area: logo;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.rating strong {
  grid-area: label;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-light-dim);
  align-self: end;
  line-height: 1;
}
.rating .stars {
  grid-area: stars;
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 1;
  align-self: start;
}

/* mascot */
.hero__mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  height: 100%;
}
.mascot {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.4));
}

.hero__card {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--r-card);
  font-family: var(--font-body);
  box-shadow: var(--shadow-deep);
  min-width: 180px;
}
.hero__card--1 { left: -10px; top: 30px; transform: rotate(-4deg); }
.hero__card--2 { right: -10px; bottom: 70px; transform: rotate(3deg); }
.hero__card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-dim);
}
.hero__card-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  margin-top: 4px;
  color: var(--ink);
}
.hero__card-trend {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1B9D5C;
}

/* hero diagonal divider into next section */
.hero__divider {
  position: relative;
  height: 80px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  margin-top: -1px;
}

@media (max-width: 900px) {
  .hero { padding-top: 50px; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 80px;
  }
  .hero__mascot { max-width: 320px; margin: 0 auto; }
  .hero__card--1 { left: -10px; top: 10px; }
  .hero__card--2 { right: -10px; bottom: 10px; }
}

/* =========================================================
   TESTIMONIAL STRIP
   ========================================================= */
.t-strip {
  background: var(--paper);
  padding: 60px 0 80px;
  position: relative;
}
.t-strip--bottom { padding-top: 80px; }
.t-strip .section-h { text-align: center; margin-bottom: 36px; }

.t-strip__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.t-strip--bottom .t-strip__row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}
.t-strip__nav {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background .15s, color .15s, border-color .15s;
}
.t-strip__nav:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.t-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.t-card__mark {
  width: 36px;
  height: auto;
  color: var(--accent);
  opacity: .85;
}
.t-card__quote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  font-family: var(--font-body);
  margin: 0;
}
.t-card__name {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: .01em;
  border-top: 1px solid var(--rule);
}

.t-strip__divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  display: none; /* used only by sections that transition into ink */
}

@media (max-width: 820px) {
  .t-strip__row { grid-template-columns: 1fr; }
  .t-strip__nav { justify-self: center; }
  .t-card { grid-template-columns: 100px 1fr; }
}

/* =========================================================
   SYSTEMS — features
   ========================================================= */
.systems {
  background: var(--paper);
  padding: 80px 0 120px;
}
.systems .section-lede { margin-bottom: 80px; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px dashed var(--rule);
}
.feature:first-of-type { border-top: 0; padding-top: 30px; }
.feature--reverse .feature__media { order: 2; }
.feature__copy .eyebrow { margin-bottom: 18px; }
.feature__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 22px;
}
.feature__title em {
  font-style: italic;
  color: var(--accent);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 4px;
  clip-path: polygon(20% 50%, 0 65%, 40% 100%, 100% 22%, 80% 8%, 40% 70%);
}
.checklist li strong {
  font-weight: 700;
  color: var(--ink);
}

/* DEVICE MOCKUPS */
.device { position: relative; margin: 0 auto; }
.device__screen {
  background: var(--paper);
  overflow: hidden;
  position: relative;
}

.device--laptop {
  max-width: 480px;
}
.device--laptop .device__screen {
  border: 12px solid var(--ink);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  aspect-ratio: 16/10;
  background: #fff;
}
.device--laptop .device__base {
  height: 14px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  position: relative;
  margin: 0 -12px;
}
.device--laptop .device__base::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 80px; height: 6px;
  background: #14253A;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
}

.device--phone {
  max-width: 280px;
  background: var(--ink);
  padding: 14px;
  border-radius: 38px;
  box-shadow: var(--shadow-card);
}
.device--phone .device__notch {
  width: 104px; height: 28px;
  background: var(--ink);
  border-radius: 18px;
  margin: 4px auto -10px;
  position: relative;
  z-index: 2;
}
.device--phone .device__notch::before {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 8px; height: 8px;
  background: #1B2E47;
  border-radius: 50%;
  transform: translateY(-50%);
}
.device--phone .device__screen {
  aspect-ratio: 9/19;
  border-radius: 24px;
  background: #FAFAFA;
  padding: 28px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* MOCK SITE (inside laptop) */
.mock-site { display: flex; flex-direction: column; padding: 0; height: 100%; }
.mock-site__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: #F0EAE0;
  border-bottom: 1px solid #DDD3C2;
}
.mock-site__dots { display: flex; gap: 5px; }
.mock-site__dots span { width: 9px; height: 9px; border-radius: 50%; background: #DDD3C2; }
.mock-site__dots span:nth-child(1) { background: #FF6B6B; }
.mock-site__dots span:nth-child(2) { background: #FFC93C; }
.mock-site__dots span:nth-child(3) { background: #6BC76B; }
.mock-site__url {
  flex: 1;
  background: #fff;
  border: 1px solid #DDD3C2;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  color: var(--text-dim);
}
.mock-site__topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--paper-2);
  background: #fff;
}
.mock-site__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  color: var(--ink);
  letter-spacing: .04em;
}
.mock-site__nav { display: flex; gap: 12px; }
.mock-site__nav span {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-dim);
}
.mock-site__nav span:last-child {
  background: var(--ink);
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
}
.mock-site__hero {
  margin: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 22px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-site__hero-h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}
.mock-site__hero-sub {
  font-size: 11px;
  color: var(--text-light-dim);
}
.mock-site__btn {
  align-self: start;
  background: var(--accent);
  color: #fff;
  padding: 7px 12px;
  font-size: 11px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 4px;
}
.mock-site__row { display: flex; gap: 8px; padding: 0 12px 12px; }
.mock-site__pill { flex: 1; height: 28px; background: var(--paper-2); border-radius: 4px; position: relative; }
.mock-site__pill::after { content: ""; position: absolute; top: 6px; left: 8px; right: 30%; height: 4px; background: var(--rule); border-radius: 2px; }

/* MOCK APP — REVIEW FUNNEL */
.mock-app { font-family: var(--font-body); flex: 1; }
.mock-app--reviews { text-align: center; padding-top: 24px; }
.mock-app__top {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 4px;
}
.mock-app__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
  margin: 14px 0 18px;
  color: var(--ink);
}
.mock-app__btns { display: flex; flex-direction: column; gap: 8px; }
.mock-app__btn {
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
}
.mock-app__btn--ok { background: var(--accent); border-color: var(--accent); color: #fff; }
.mock-app__bubble {
  margin-top: 16px;
  background: var(--paper-2);
  padding: 10px;
  border-radius: 12px 12px 12px 2px;
  font-size: 11px;
  color: var(--text);
  text-align: left;
}

/* MOCK APP — SMS */
.mock-app--sms { display: flex; flex-direction: column; gap: 8px; }
.mock-app__sms-h {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-dim);
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.mock-app__sms-bubble {
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 11px;
  line-height: 1.4;
  max-width: 80%;
}
.mock-app__sms-bubble--in {
  background: var(--paper-2);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mock-app__sms-bubble--out {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* MOCK APP — MAP */
.mock-app--map { display: flex; flex-direction: column; gap: 10px; }
.mock-app__map-search {
  background: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  font-size: 11px;
  color: var(--text-dim);
}
.mock-app__map {
  position: relative;
  flex: 1;
  background:
    linear-gradient(rgba(15,27,42,.04) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(15,27,42,.04) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(135deg, #D9E2DA, #E8E0D4);
  border-radius: 8px;
  min-height: 120px;
}
.mock-app__pin {
  position: absolute;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
}
.mock-app__pin--top {
  background: var(--accent);
  left: 14px; top: 14px;
}
.mock-app__pin:nth-child(2) { right: 24px; top: 30px; }
.mock-app__pin:nth-child(3) { left: 40%; bottom: 18px; }
.mock-app__map-result {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 11px;
  border-left: 3px solid var(--accent);
}

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }
  .feature--reverse .feature__media { order: 0; }
  .device--laptop, .device--phone { margin: 0 auto; }
}

/* =========================================================
   TRADES (dark section, diagonal dividers)
   ========================================================= */
.trades {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,107,53,.06), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255,107,53,.04), transparent 50%),
    var(--ink);
  color: var(--paper);
  padding: 50px 0 90px;
  position: relative;
  overflow: hidden;
}
.trades > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.trades > .container > * { position: relative; z-index: 1; }
.trades__divider {
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  background: var(--paper);
}
.trades__divider--top {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.trades__divider--bottom {
  bottom: -1px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}
.trades .container { position: relative; z-index: 1; padding-top: 60px; }
.trades .display { margin-bottom: 50px; }

.trades__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.trade-card {
  background: linear-gradient(180deg, #14253A 0%, #0F1B2A 100%);
  border: 1px solid var(--rule-dark);
  border-radius: 12px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.trade-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,53,0) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,53,0) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  transition: background-image .2s ease;
}
.trade-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -20px rgba(255,107,53,.5);
}
.trade-card:hover::before {
  background-image:
    linear-gradient(rgba(255,107,53,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,53,.05) 1px, transparent 1px);
}

.trade-card__num {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent);
  opacity: .7;
}

.trade-card__icon {
  width: 58px; height: 58px;
  background: rgba(255,107,53,.12);
  border: 1px solid rgba(255,107,53,.18);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 4px;
}
.trade-card__icon svg { width: 32px; height: 32px; }

.trade-card__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--paper);
}
.trade-card__sub {
  font-size: 13px;
  color: var(--text-light-dim);
  letter-spacing: .01em;
  line-height: 1.3;
  margin-top: -8px;
}

/* corner brackets — construction-drawing detail */
.trade-card__corner {
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
}
.trade-card__corner--tl {
  top: 8px; left: 8px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
  opacity: .6;
}
.trade-card__corner--br {
  bottom: 8px; right: 8px;
  border-bottom: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
  opacity: .6;
}
.trade-card:hover .trade-card__corner { opacity: 1; }

.trades__cta {
  text-align: center;
  margin-top: 40px;
}

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

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  background: var(--paper);
  padding: 100px 0;
}
.process .display { margin-bottom: 60px; }
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  position: relative;
}
.process__line {
  position: absolute;
  top: 30px; left: 16%; right: 16%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--rule) 50%, transparent 50%);
  background-size: 14px 2px;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step__num {
  width: 60px; height: 60px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  margin: 0 auto 22px;
  box-shadow: 0 6px 0 var(--accent-2);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 4px;
}
.step__time {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: 20px;
  margin-bottom: 14px;
}
.step__body {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .process__steps { grid-template-columns: 1fr; gap: 50px; }
  .process__line { display: none; }
}

/* =========================================================
   WHY
   ========================================================= */
.why {
  background: var(--paper-2);
  padding: 100px 0;
}
.why .display { margin-bottom: 60px; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.why-card {
  background: var(--ink);
  color: var(--paper);
  padding: 26px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.why-card__icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.why-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-light-dim);
}

@media (max-width: 900px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners {
  background: var(--ink);
  color: var(--paper);
  padding: 50px 0 70px;
  position: relative;
}
.partners__divider {
  position: absolute; left: 0; right: 0; height: 60px;
  background: var(--paper);
}
.partners__divider--top {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.partners__divider--bottom {
  bottom: -1px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}
.partners .container { padding-top: 50px; position: relative; z-index: 1; }
.partners .section-h { margin-bottom: 40px; }
.partners__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.partners__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--text-light-dim);
  opacity: .8;
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  transition: opacity .2s, color .2s, transform .2s;
}
.partners__logo::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.partners__logo:hover {
  opacity: 1;
  color: var(--paper);
  transform: translateY(-1px);
}
.partners__logo:hover::after { transform: scaleX(1); }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--paper);
  padding: 100px 0;
}
.faq .display { margin-bottom: 50px; }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.faq__item[open] {
  border-color: var(--accent);
  box-shadow: 0 6px 24px -12px rgba(255,107,53,.4);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--accent);
  transition: transform .2s ease;
  line-height: 1;
}
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__item:first-of-type[open] summary,
.faq__item:hover summary { background: var(--accent-soft); }
.faq__body {
  padding: 0 22px 22px;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.6;
}

/* =========================================================
   CTA + LEAD FORM
   ========================================================= */
.cta {
  background: var(--paper);
  padding: 40px 0 100px;
}
.cta__card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 50px 56px;
  position: relative;
  overflow: hidden;
}
.cta__card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta__card::after {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 40%; height: 140%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,107,53,.14) 50%, transparent 60%);
  transform: rotate(12deg);
  pointer-events: none;
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.cta__copy { position: relative; }
.cta__copy .eyebrow { margin-bottom: 18px; }
.cta .display { color: var(--paper); }
.cta__sub {
  margin: 22px 0 28px;
  font-size: 17px;
  color: var(--text-light-dim);
  max-width: 460px;
}

.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--rule-dark);
  padding-top: 22px;
  margin-top: 6px;
}
.cta__contact li {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.cta__contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-light-dim);
  min-width: 50px;
}
.cta__contact a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--paper);
  transition: color .15s;
}
.cta__contact a:hover { color: var(--accent); }

/* mascot — positioned as small decoration in corner */
.cta__mascot {
  position: absolute;
  right: -40px; bottom: -30px;
  width: 200px;
  pointer-events: none;
  opacity: .9;
  z-index: 0;
}
.cta__mascot .mascot--sm {
  max-width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.5));
}

/* ============ FORM ============ */
.cta__form-wrap {
  position: relative;
}
.lead-form {
  background: var(--paper);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}

.lead-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
}
.lead-form__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.lead-form__label em {
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  opacity: .7;
}

.lead-form__input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.lead-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,53,.15);
}
.lead-form__input--select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.lead-form__input--textarea {
  resize: vertical;
  min-height: 70px;
  font-family: var(--font-body);
}

.lead-form__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.lead-form__submit { width: 100%; justify-content: center; }

.btn--whatsapp {
  background: #25D366;
  color: #fff;
  border: 0;
  box-shadow: 0 4px 0 0 #128C45;
  justify-content: center;
}
.btn--whatsapp:hover {
  background: #1FB959;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 0 #0D6D34;
}
.btn--whatsapp:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 #128C45;
}
.btn__wa-icon { width: 18px; height: 18px; flex-shrink: 0; }

.lead-form__fineprint {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* form-level success/error states */
.lead-form.is-error .lead-form__input:invalid {
  border-color: #D43A2E;
  background: #FFF6F4;
}

@media (max-width: 900px) {
  .cta__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta__mascot { display: none; }
  .cta__card { padding: 36px 28px; }
}
@media (max-width: 560px) {
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__actions { grid-template-columns: 1fr; }
  .cta__contact li { flex-direction: column; gap: 4px; align-items: flex-start; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 0 30px;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__tag {
  margin-top: 18px;
  color: var(--text-light-dim);
  font-size: 14.5px;
  max-width: 320px;
}
.footer__addr {
  margin-top: 14px;
  font-weight: 600;
  color: var(--accent);
}
.footer__contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__contact a {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  transition: color .15s;
}
.footer__contact a:hover { color: var(--paper); }
.footer__h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--paper);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list a {
  color: var(--text-light-dim);
  font-size: 14.5px;
  transition: color .15s;
}
.footer__list a:hover { color: var(--accent); }
.footer__list--quiet {
  margin-top: 22px;
}
.footer__quiet {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-light-dim);
  max-width: 200px;
  line-height: 1.5;
}

.footer__bottom {
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-light-dim);
}

/* ---------- IMPRINT (D.Lgs 70/2003 footer block) ---------- */
.footer__legal {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-light-dim);
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  margin: 0;
  padding: 0;
}
.footer__legal-links a {
  color: var(--text-light-dim);
  font-weight: 500;
  transition: color .15s;
  position: relative;
}
.footer__legal-links a:hover { color: var(--accent); }
.footer__legal-links a[aria-current="page"] { color: var(--accent); }
.footer__legal-links li + li::before {
  content: "·";
  margin-right: 22px;
  margin-left: -22px;
  color: var(--rule-dark);
}
.footer__imprint {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-light-dim);
  max-width: 100%;
}
.footer__imprint strong { color: var(--paper); font-weight: 700; }
.footer__imprint a {
  color: var(--accent);
  text-decoration: none;
}
.footer__imprint a:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }
.footer__copy {
  font-size: 12.5px;
  color: var(--text-light-dim);
  opacity: .8;
}

/* =========================================================
   LEGAL PAGES — reading layout (privacy, terms, cookie, accessibility)
   ========================================================= */
.legal-body {
  background: var(--paper);
  color: var(--text);
}

.legal-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.legal-nav .nav__inner {
  grid-template-columns: auto 1fr auto;
}
.legal-nav__back {
  justify-self: end;
  padding: 10px 16px;
  font-size: 14px;
}
.legal-nav .nav__inner > *:nth-child(2) {
  /* spacer column */
}

.legal {
  padding: 60px 0 100px;
}
.legal__container {
  max-width: 760px;
}

.legal__head {
  margin-bottom: 50px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.legal__head .eyebrow { margin-bottom: 18px; }
.legal__head .display {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 18px;
}
.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}
.legal__notice {
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  border-radius: 0 8px 8px 0;
}
.legal__notice strong { color: var(--accent-2); }

.legal__section {
  margin-bottom: 40px;
}
.legal__section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
}
.legal__section h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--ink);
  letter-spacing: .005em;
}
.legal__section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text);
}
.legal__section ul,
.legal__section ol {
  padding-left: 0;
  margin: 0 0 18px 0;
  list-style: none;
}
.legal__section ul li,
.legal__section ol li {
  font-size: 15.5px;
  line-height: 1.65;
  padding-left: 28px;
  margin-bottom: 8px;
  position: relative;
  color: var(--text);
}
.legal__section ul li::before {
  content: "";
  position: absolute;
  left: 8px; top: 10px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.legal__section ol {
  counter-reset: legal-ol;
}
.legal__section ol li {
  counter-increment: legal-ol;
}
.legal__section ol li::before {
  content: counter(legal-ol) ".";
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
}

.legal__section--callout {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 50px;
}

.legal__dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 20px;
  margin: 0 0 18px;
  font-size: 15px;
}
.legal__dl dt {
  font-weight: 700;
  color: var(--text-dim);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-top: 2px;
}
.legal__dl dd {
  margin: 0;
  color: var(--text);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.legal__table th,
.legal__table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
.legal__table thead th {
  background: var(--paper-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--rule);
}
.legal__table tbody tr:last-child td { border-bottom: 0; }

.legal__quote {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.55;
}

.legal__section a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal__section a:hover { color: var(--accent); }

.legal-footer {
  border-top: 1px solid var(--rule-dark);
}

/* ---- Mobile refinements for legal pages ---- */
@media (max-width: 600px) {
  .legal { padding: 40px 0 70px; }
  .legal__head { margin-bottom: 32px; padding-bottom: 24px; }
  .legal__head .display { font-size: clamp(32px, 8vw, 44px); }
  .legal__notice { padding: 14px 16px; font-size: 13.5px; }
  .legal__section { margin-bottom: 32px; }
  .legal__section h2 { font-size: 20px; }
  .legal__section p,
  .legal__section ul li,
  .legal__section ol li { font-size: 15px; }
  .legal__section--callout { padding: 20px 18px; }
  .legal__dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .legal__dl dt { padding-top: 12px; }
  .legal__dl dt:first-child { padding-top: 0; }
  .legal__table { font-size: 13px; }
  .legal__table th, .legal__table td { padding: 10px 10px; }
  .legal-nav__back { font-size: 12px; padding: 8px 12px; }
}

/* ---- Print-friendly ---- */
@media print {
  .legal-nav, .legal-footer { display: none; }
  .legal { padding: 0; }
  body { background: #fff; color: #000; }
  .legal__section a { color: #000; text-decoration: underline; }
}

@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px 28px;
  }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   UTILITY: scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

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

/* =========================================================
   MOBILE REFINEMENTS — tight, tested across 320-768px
   ========================================================= */

/* Tighter container padding on small screens (more content room) */
@media (max-width: 600px) {
  :root { --pad: 20px; }
  [id] { scroll-margin-top: 76px; }
}
@media (max-width: 380px) {
  :root { --pad: 16px; }
}

/* ---- DISPLAY TYPOGRAPHY ---- */
@media (max-width: 600px) {
  .display { font-size: clamp(34px, 9vw, 52px); line-height: .95; }
  .section-h { font-size: clamp(24px, 6.5vw, 36px); }
  .feature__title { font-size: clamp(24px, 6vw, 32px); }
  .section-lede { font-size: 16px; }
}

/* ---- NAV ---- */
@media (max-width: 600px) {
  .nav__inner { padding: 12px 0; gap: 12px; }
  .nav__logo-text { font-size: 18px; }
  .nav__logo-mark { width: 30px; height: 30px; }
  .nav__cta .btn { padding: 10px 14px; font-size: 13px; }
}

/* ---- HERO ---- */
@media (max-width: 600px) {
  .hero { padding: 40px 0 0; }
  .hero__grid { gap: 24px; padding-bottom: 60px; }
  .hero__sub { font-size: 16px; margin-top: 18px; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn--lg { padding: 14px 20px; font-size: 14px; }
  .hero__trust {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 0;
    margin-top: 32px;
    padding-top: 20px;
  }
  .rating {
    padding: 0 14px;
    column-gap: 8px;
  }
  .rating:first-child { padding-left: 0; }
  .rating__logo { width: 18px; height: 18px; }
  .rating strong { font-size: 10px; letter-spacing: .08em; }
  .rating .stars { font-size: 12px; }
  .hero__mascot { max-width: 260px; }
  .hero__card { padding: 10px 14px; min-width: 140px; }
  .hero__card-value { font-size: 26px; }
  .hero__card-label { font-size: 10px; }
  .hero__card--1 { left: -6px; top: 10px; }
  .hero__card--2 { right: -6px; bottom: 10px; }
}
@media (max-width: 380px) {
  .hero__card { display: none; }
  .rating { padding: 0 10px; }
}

/* ---- DEVICE MOCKUPS — never wider than parent ---- */
.device--laptop, .device--phone { width: 100%; }
@media (max-width: 600px) {
  .device--laptop { max-width: 340px; }
  .device--phone { max-width: 240px; }
}

/* ---- FEATURE BLOCKS ---- */
@media (max-width: 600px) {
  .feature { padding: 30px 0; gap: 28px; }
  .checklist li { padding-left: 28px; font-size: 15px; }
  .checklist li::before { width: 18px; height: 18px; }
  .systems { padding: 60px 0 80px; }
  .systems .section-lede { margin-bottom: 50px; }
}

/* ---- TRADES ---- */
@media (max-width: 600px) {
  .trades { padding: 30px 0 70px; }
  .trades .display { margin-bottom: 36px; }
  .trades__grid { grid-template-columns: calc(50% - 6px) calc(50% - 6px); gap: 12px; }
  .trade-card { padding: 22px 16px 18px; gap: 10px; }
  .trade-card__icon { width: 48px; height: 48px; }
  .trade-card__icon svg { width: 26px; height: 26px; }
  .trade-card__label { font-size: 18px; }
  .trade-card__sub { font-size: 12px; }
  .trade-card__num { font-size: 11px; top: 12px; right: 14px; }
  .trades__cta .btn--lg { padding: 14px 18px; font-size: 14px; }
}
@media (max-width: 360px) {
  .trades__grid { grid-template-columns: 1fr; }
}

/* ---- PROCESS ---- */
@media (max-width: 600px) {
  .process { padding: 70px 0; }
  .step__title { font-size: 22px; }
  .step__body { font-size: 14px; }
}

/* ---- WHY ---- */
@media (max-width: 900px) {
  .why { padding: 70px 0; }
}
@media (max-width: 600px) {
  .why-card { padding: 22px 20px; }
  .why-card__title { font-size: 20px; }
  .why-card p { font-size: 14px; }
}

/* ---- TESTIMONIALS ---- */
@media (max-width: 600px) {
  .t-strip { padding: 50px 0 60px; }
  .t-strip .section-h { margin-bottom: 26px; }
  .t-card { padding: 22px 20px; }
  .t-card__quote { font-size: 15px; }
}
@media (max-width: 600px) {
  .t-strip__row { gap: 14px; }
  .t-strip__nav { width: 36px; height: 36px; font-size: 18px; }
}

/* ---- PARTNERS ---- */
@media (max-width: 600px) {
  .partners { padding: 30px 0 50px; }
  .partners .container { padding-top: 40px; }
  .partners__row { gap: 22px 32px; }
  .partners__logo { font-size: 16px; }
}

/* ---- FAQ ---- */
@media (max-width: 600px) {
  .faq { padding: 70px 0; }
  .faq .display { margin-bottom: 36px; }
  .faq__item summary { padding: 16px 48px 16px 18px; font-size: 16px; }
  .faq__item summary::after { right: 18px; font-size: 22px; }
  .faq__body { padding: 0 18px 18px; font-size: 14.5px; }
}

/* ---- CTA + FORM ---- */
@media (max-width: 900px) {
  .cta { padding: 30px 0 70px; }
  .cta__card { border-radius: 18px; padding: 30px 22px; }
}
@media (max-width: 600px) {
  .cta__grid { gap: 26px; }
  .cta__sub { font-size: 15px; margin: 16px 0 22px; }
  .cta__contact li { gap: 2px; }
  .cta__contact a { font-size: 16px; }
  .lead-form { padding: 22px 18px; gap: 14px; }
  .lead-form__input { padding: 11px 12px; font-size: 14.5px; }
  .lead-form__label { font-size: 11px; }
  .lead-form__actions { grid-template-columns: 1fr; gap: 10px; }
  .lead-form__submit, .btn--whatsapp { padding: 14px; font-size: 14px; }
  .lead-form__fineprint { font-size: 11.5px; }
}

/* ---- FOOTER ---- */
@media (max-width: 600px) {
  .footer { padding: 50px 0 24px; }
  .footer__grid { padding-bottom: 36px; gap: 28px 24px; }
  .footer__h { font-size: 14px; margin-bottom: 14px; }
  .footer__list a { font-size: 14px; }
  .footer__tag { font-size: 14px; }
}
