/* Media Max Internacional, shared styles for every page.
   Layout: calm white 12-column grid; the logo red is concentrated in the hero panel, the closing call-to-action panel and the buttons; ink bands give rhythm.
   Unbounded (the logo face) for display, Onest for reading. */
:root {
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);

  /* Brand, identical in both themes */
  --red: #EA443A;
  --red-strong: #D33D34;
  --red-strong-hover: #BC3229;
  --card-red: #EA443A;
  --card-tone: #EE5A51;
  --card-fg: #FFFFFF;
  --card-ink: #151112;
  --card-line: rgba(255, 255, 255, 0.38);
  --band-red: #F06A60;
  --on-red: #FFFFFF;
  --light-btn: #FFFFFF;
  --light-btn-hover: #F5F1F0;
  --light-btn-fg: #151112;

  /* Theme: light */
  --bg: #FFFFFF;
  --surface: #F6F4F3;
  --panel: #FFFFFF;
  --panel-hover: #FDF7F6;
  --fg: #151112;
  --fg-soft: #3E3738;
  --muted: #6B6365;
  --line: #E8E3E1;
  --line-strong: #D6CFCD;
  --field-line: #8F8587;
  --field-bg: #FFFFFF;
  --red-text: #C93A32;
  --red-soft: #FCEEEC;
  --ring: rgba(234, 68, 58, 0.22);
  --focus: #151112;
  --header-bg: rgba(255, 255, 255, 0.86);
  --band-bg: #151112;
  --band-fg: #F5F1F0;
  --band-muted: #ADA3A2;
  --band-line: rgba(245, 241, 240, 0.14);
  --band-border: transparent;
  --foot-bg: #151112;
  --shadow: rgba(21, 17, 18, 0.12);

  /* Type */
  --font-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Space & shape */
  --gutter: clamp(16px, 4.4vw, 56px);
  --maxw: 1280px;
  --section-y: clamp(80px, 9vw, 136px);
  --header-h: 76px;
  --r-sm: 12px;
  --r-lg: 26px;
  --r-pill: 999px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0C0C;
    --surface: #171313;
    --panel: #120F0F;
    --panel-hover: #1A1414;
    --fg: #F5F1F0;
    --fg-soft: #D9D1CF;
    --muted: #ADA3A2;
    --line: #2A2322;
    --line-strong: #3B3231;
    --field-line: #6E6464;
    --field-bg: #0F0C0C;
    --red-text: #F06A60;
    --red-soft: rgba(234, 68, 58, 0.14);
    --ring: rgba(234, 68, 58, 0.35);
    --focus: #F5F1F0;
    --header-bg: rgba(15, 12, 12, 0.82);
    --band-bg: #1A1515;
    --band-line: rgba(245, 241, 240, 0.12);
    --band-border: #2A2322;
    --foot-bg: #0A0808;
    --shadow: rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F0C0C;
  --surface: #171313;
  --panel: #120F0F;
  --panel-hover: #1A1414;
  --fg: #F5F1F0;
  --fg-soft: #D9D1CF;
  --muted: #ADA3A2;
  --line: #2A2322;
  --line-strong: #3B3231;
  --field-line: #6E6464;
  --field-bg: #0F0C0C;
  --red-text: #F06A60;
  --red-soft: rgba(234, 68, 58, 0.14);
  --ring: rgba(234, 68, 58, 0.35);
  --focus: #F5F1F0;
  --header-bg: rgba(15, 12, 12, 0.82);
  --band-bg: #1A1515;
  --band-line: rgba(245, 241, 240, 0.12);
  --band-border: #2A2322;
  --foot-bg: #0A0808;
  --shadow: rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -120px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.h1 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.05rem + 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}
.h2 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.1rem + 2.3vw, 3.125rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.h1 .hl, .h1 em, .h2 em { font-style: normal; color: var(--red); }
.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--fg-soft);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .arrow, .link-arrow .arrow, .learn .arrow { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--red-strong); color: var(--on-red); }
.btn-primary:hover { background: var(--red-strong-hover); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: var(--light-btn); color: var(--light-btn-fg); }
.btn-light:hover { background: var(--light-btn-hover); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }
.btn[disabled] { cursor: progress; opacity: 0.7; }
.text-btn {
  appearance: none;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--fg);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
}
.text-btn:hover { color: var(--red-text); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-arrow:hover { color: var(--red-text); border-color: currentColor; }

/* ---------- Language switch ---------- */
.lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}
.lang button {
  appearance: none;
  min-width: 38px;
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.lang--lg button { min-width: 52px; min-height: 40px; font-size: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
:root.is-scrolled .site-header,
:root.menu-open .site-header { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.site-header .brand { margin-right: auto; }
.brand-mark { width: 46px; height: 27px; flex: none; color: var(--red); }
.brand-word { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 30px); margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  color: var(--fg-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--red-text); }
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}
.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 40px -28px var(--shadow);
}
.mobile-panel .wrap { padding-block: 6px 28px; }
.mobile-links { margin: 0; padding: 0; list-style: none; }
.mobile-links li { border-bottom: 1px solid var(--line); }
.mobile-links a {
  display: block;
  padding: 17px 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
}
.mobile-links a[aria-current="page"] { color: var(--red-text); }
.mobile-cta { width: 100%; margin-top: 24px; }
.mobile-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}
@media (min-width: 1081px) {
  .mobile-panel { display: none !important; }
}
@media (max-width: 520px) {
  .btn-header { display: none; }
  .brand-mark { width: 40px; height: 24px; }
  .brand-name { font-size: 0.9375rem; }
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(36px, 5.5vw, 80px) clamp(72px, 8vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px clamp(20px, 3vw, 48px);
  align-items: center;
}
.hero-copy { grid-column: 1 / span 7; min-width: 0; }
.hero-sub {
  margin: 26px 0 0;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--fg-soft);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  max-width: 40rem;
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-points li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9375rem; font-weight: 500; color: var(--fg-soft); }
.hero-points svg { width: 18px; height: 18px; flex: none; color: var(--red-text); }
.hero-card {
  grid-column: 8 / -1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(340px, 38vw, 540px);
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--card-red);
  color: var(--card-fg);
  container-type: inline-size;
}
.card-tone {
  position: absolute;
  z-index: -1;
  right: -30%;
  bottom: 14%;
  width: 104%;
  height: auto;
  aspect-ratio: 959 / 569;
  color: var(--card-tone);
  pointer-events: none;
}
.card-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--card-ink);
}
.card-list {
  display: grid;
  gap: 4px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  font-size: clamp(1.375rem, 7.4cqi, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.card-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--card-line);
}
.card-foot svg { width: 50px; height: 30px; flex: none; color: var(--card-fg); }
.card-foot p { margin: 0; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--card-ink); }
@media (max-width: 960px) {
  .hero-copy, .hero-card { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .card-tone, .cta-tone { animation: tone-in 1.1s cubic-bezier(0.16, 0.8, 0.2, 1) both; }
  @keyframes tone-in { from { transform: translateX(8%); } to { transform: none; } }
}

/* ---------- Inner-page hero ---------- */
.page-hero {
  padding-block: clamp(32px, 4.5vw, 64px) clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(28px, 3.4vw, 44px);
  font-size: 0.875rem;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red-text); }
.crumbs [aria-current="page"] { color: var(--fg); font-weight: 500; }
.page-hero .h1 { margin-top: 18px; font-size: clamp(2.125rem, 1.1rem + 3.3vw, 3.875rem); text-wrap: balance; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(32px, 3.6vw, 48px) 0 0; padding: 0; list-style: none; }
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--fg-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.jump a:hover { border-color: var(--fg); color: var(--fg); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 22px;
  align-items: end;
}
.split-head { grid-column: 1 / span 7; min-width: 0; }
.split-body { grid-column: 8 / -1; min-width: 0; padding-bottom: 4px; }
@media (max-width: 960px) {
  .split-head, .split-body { grid-column: 1 / -1; }
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--red-soft);
  color: var(--red-text);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.icon-tile svg { width: 24px; height: 24px; }

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
  margin: clamp(48px, 5.5vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}
.principle {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.principle p { margin: 0; max-width: 30rem; color: var(--muted); }
@media (max-width: 820px) {
  .principles { grid-template-columns: 1fr; }
}

/* Services overview (home) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 5vw, 72px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.svc {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: clamp(26px, 2.8vw, 40px);
  background: var(--panel);
}
.svc .h3 { margin-top: 10px; font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem); }
.svc-text { margin: 0; color: var(--muted); }
.svc--link { color: inherit; text-decoration: none; transition: background-color 0.2s ease; }
.svc--link:hover { background: var(--panel-hover); }
.svc--link:hover .icon-tile { background: var(--red-strong); color: var(--on-red); }
.svc--link:focus-visible { outline: 2px solid var(--focus); outline-offset: -6px; }
.learn { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 0.9375rem; font-weight: 600; color: var(--fg); }
.svc--link:hover .learn { color: var(--red-text); }
.svc--link:hover .learn .arrow { transform: translateX(3px); }
.section-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* Services page rows */
.svc-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px clamp(20px, 3vw, 48px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.svc-row:first-child { padding-top: 0; border-top: 0; }
.svc-row:last-child { padding-bottom: 0; }
.svc-row-head { grid-column: 1 / span 5; display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.svc-row-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
.svc-row-body { grid-column: 6 / -1; display: grid; gap: 14px; min-width: 0; }
.svc-row-body p { margin: 0; }
.svc-row-lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--fg-soft); }
.svc-row-more { color: var(--muted); }
.mini-h {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; font-weight: 500; }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 0.15em; color: var(--red-text); }
.check-list--1 { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .svc-row-head, .svc-row-body { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .check-list { grid-template-columns: 1fr; }
}

/* Comparison band */
.band {
  padding-block: var(--section-y);
  background: var(--band-bg);
  color: var(--band-fg);
  border-block: 1px solid var(--band-border);
  --focus: var(--band-fg);
}
.band .eyebrow { color: var(--band-muted); }
.band .h2 { max-width: 17em; }
.cmp {
  width: 100%;
  margin-top: clamp(40px, 5vw, 72px);
  border-collapse: collapse;
  font-size: 1.0625rem;
}
.cmp th, .cmp td {
  padding: 24px 28px 24px 0;
  border-top: 1px solid var(--band-line);
  text-align: left;
  vertical-align: top;
}
.cmp thead th, .cmp thead td {
  padding-block: 0 16px;
  border-top: 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.cmp thead th.is-mm { color: var(--band-red); }
.mm-head { display: inline-flex; align-items: center; gap: 10px; }
.mm-head svg { width: 28px; height: 17px; color: var(--red); }
.cmp tbody th {
  width: 28%;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.cmp td { width: 36%; }
.cell { display: flex; align-items: flex-start; gap: 12px; }
.cell svg { width: 20px; height: 20px; flex: none; margin-top: 0.15em; }
.cmp td.usual { color: var(--band-muted); }
.cmp td.is-mm { font-weight: 500; }
.cmp td.is-mm svg { color: var(--band-red); }
@media (max-width: 760px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tbody tr { padding-block: 24px; border-top: 1px solid var(--band-line); }
  .cmp tbody th, .cmp td { padding: 0; border-top: 0; }
  .cmp tbody th { width: auto; margin-bottom: 16px; }
  .cmp td + td { margin-top: 16px; }
  .cmp td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--band-muted);
  }
  .cmp td.is-mm::before { color: var(--band-red); }
}

/* Process timeline */
.timeline { margin: 0; padding: 0; list-style: none; }
.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px clamp(20px, 3vw, 48px);
  padding-block: clamp(36px, 4.5vw, 56px);
  border-top: 2px solid var(--line);
}
.tl-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  height: 2px;
  background: var(--red);
}
.tl-step:nth-child(1)::before { width: 25%; }
.tl-step:nth-child(2)::before { width: 50%; }
.tl-step:nth-child(3)::before { width: 75%; }
.tl-step:nth-child(4)::before { width: 100%; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
  grid-column: 1 / span 2;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.tl-title {
  grid-column: 3 / span 4;
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  min-width: 0;
}
.tl-body { grid-column: 7 / -1; display: grid; gap: 18px; min-width: 0; }
.tl-body p { margin: 0; font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); color: var(--fg-soft); }
@media (max-width: 860px) {
  .tl-num, .tl-title, .tl-body { grid-column: 1 / -1; }
}

/* ---------- Call to action ---------- */
.cta-section { padding-block: clamp(64px, 7vw, 112px); }
.section:not(.section--surface) + .cta-section { padding-top: 0; }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px 48px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--card-red);
  color: var(--card-fg);
  --focus: var(--card-ink);
}
.cta-tone {
  position: absolute;
  z-index: -1;
  right: -6%;
  top: -34%;
  width: min(60%, 660px);
  height: auto;
  aspect-ratio: 959 / 569;
  color: var(--card-tone);
  pointer-events: none;
}
.cta-copy { min-width: 0; }
.cta-title { margin: 0; max-width: 15em; color: var(--card-fg); font-size: clamp(1.75rem, 1.15rem + 2.2vw, 3rem); }
.cta-text { margin: 16px 0 0; max-width: 34rem; color: var(--card-ink); font-weight: 500; }
@media (max-width: 760px) {
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
  .cta-tone { width: 110%; right: -40%; top: auto; bottom: -20%; }
}

/* ---------- Apply page ---------- */
.apply-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 48px);
  align-items: start;
}
.apply-intro {
  grid-column: 1 / span 5;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 36px);
}
.apply-main { grid-column: 6 / -1; min-width: 0; }
.next { display: grid; margin: 18px 0 0; padding: 0; list-style: none; }
.next li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.next li:last-child { border-bottom: 1px solid var(--line); }
.next-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
}
.next-title { font-weight: 600; }
.next-text { color: var(--muted); font-size: 0.9375rem; }
.contact { margin-top: clamp(36px, 4vw, 52px); }
.contact .h3 { margin-bottom: 10px; }
.contact-list { display: grid; margin: 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}
.contact-list > div:first-child { border-top: 1px solid var(--line); }
.contact-list dt { font-size: 0.875rem; color: var(--muted); }
.contact-list dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.val { font-weight: 600; user-select: all; -webkit-user-select: all; }
.ph {
  display: inline-block;
  max-width: 100%;
  padding: 3px 12px;
  overflow: hidden;
  border: 1px dashed var(--field-line);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
}
.copy-btn {
  appearance: none;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--red-text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 1000px) {
  .apply-intro, .apply-main { grid-column: 1 / -1; position: static; }
  .apply-main { order: -1; }
}
@media (max-width: 420px) {
  .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* Form */
.panel {
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 32px 64px -44px var(--shadow);
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.panel-head .h3 { font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem); }
.panel-meta { font-size: 0.875rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
fieldset.field { display: block; margin: 0; padding: 0; border: 0; }
fieldset.field legend { margin-bottom: 10px; padding: 0; }
.label { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.req { margin-left: 3px; color: var(--red-text); }
.opt { margin-left: 6px; color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background: var(--field-bg);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder { color: var(--muted); opacity: 0.8; }
.input:hover { border-color: var(--fg); }
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--ring); }
.input[aria-invalid="true"] { border-color: var(--red-text); }
textarea.input { min-height: 150px; resize: vertical; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.75px solid var(--fg);
  border-bottom: 1.75px solid var(--fg);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.err { margin: 0; color: var(--red-text); font-size: 0.875rem; font-weight: 500; line-height: 1.4; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip-box {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.tick {
  width: 18px;
  height: 18px;
  flex: none;
  padding: 2px;
  border: 1px solid var(--field-line);
  border-radius: 50%;
  color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover .chip-box { border-color: var(--fg); }
.chip input:checked + .chip-box { border-color: var(--red); background: var(--red-soft); }
.chip input:checked + .chip-box .tick { border-color: var(--red-strong); background: var(--red-strong); color: var(--on-red); }
.chip input:focus-visible + .chip-box { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 6px;
}
.fine { margin: 0; color: var(--muted); font-size: 0.875rem; }
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}
.ready { display: grid; gap: 18px; }
.ready-head { display: flex; align-items: center; gap: 14px; }
.ready-head .h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); }
.ready-head .h3:focus { outline: none; }
.ready > p { margin: 0; color: var(--muted); }
.sendto { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 600; }
.ready textarea { min-height: 250px; background: var(--surface); font-size: 0.875rem; line-height: 1.7; }
.ready-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.status { min-height: 1.4em; margin: 0; font-size: 0.875rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(64px, 7vw, 104px) 28px;
  background: var(--foot-bg);
  color: var(--band-fg);
  --focus: var(--band-fg);
}
.foot-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 44px clamp(20px, 3vw, 48px);
}
.foot-brand { grid-column: 1 / span 5; min-width: 0; }
.foot-tag {
  max-width: 14em;
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.375rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.foot-tag .hl { color: var(--red); }
.foot-cols {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 32px 24px;
  min-width: 0;
}
.foot-col { min-width: 0; }
.foot-h {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.foot-col ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.foot-col li { font-size: 0.9375rem; overflow-wrap: anywhere; }
.foot-col a { color: var(--band-fg); text-decoration: none; }
.foot-col a:hover { color: var(--band-red); }
.site-footer .ph { border-color: var(--band-muted); color: var(--band-muted); }
.site-footer .copy-btn { color: var(--band-red); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 22px;
  border-top: 1px solid var(--band-line);
  color: var(--band-muted);
  font-size: 0.875rem;
}
.foot-bottom p { margin: 0; }
.site-footer .lang { border-color: var(--band-line); }
.site-footer .lang button { color: var(--band-muted); }
.site-footer .lang button:hover { color: var(--band-fg); }
.site-footer .lang button[aria-pressed="true"] { background: var(--band-fg); color: var(--foot-bg); }
@media (max-width: 900px) {
  .foot-brand, .foot-cols { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col--contact { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.page-hero--404 { padding-block: clamp(64px, 10vw, 160px); border-bottom: 0; }
.page-hero--404 .h1 { max-width: 14em; }
.nf-lead { margin-top: 22px; }
.page-hero--404 .hero-ctas { margin-top: 32px; }

/* ---------- Motion ---------- */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Headline words are wrapped at build time so they can rise in one by one. */
.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.12em 0.04em 0.14em;
  margin: -0.12em -0.04em -0.14em;
}
.split-words .wi { display: inline-block; }
.btn:active { transform: scale(0.97); }

@media (prefers-reduced-motion: no-preference) {
  /* Smooth fade between pages (Chrome, Edge, Safari 18.2+) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 0.2s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.5s var(--ease-out) both; }
  .site-header { view-transition-name: site-header; }

  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes word-up { from { transform: translateY(110%); } }
  @keyframes card-in { from { opacity: 0; transform: translateY(28px) scale(0.97); } }
  @keyframes pop { from { transform: scale(0.5); } to { transform: scale(1); } }
  @keyframes shake {
    15%, 85% { transform: translateX(-2px); }
    30%, 70% { transform: translateX(4px); }
    45%, 55% { transform: translateX(-5px); }
  }
  @keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, 3%) rotate(-2deg); }
  }

  /* Page load */
  .split-words .wi { animation: word-up 0.95s var(--ease-out) both; animation-delay: calc(0.1s + var(--i, 0) * 0.06s); }
  .hero-copy > .eyebrow, .page-hero .crumbs, .page-hero .eyebrow { animation: rise 0.7s var(--ease-out) 0.02s both; }
  .hero-sub, .page-hero .lead { animation: rise 0.9s var(--ease-out) 0.45s both; }
  .hero-ctas { animation: rise 0.9s var(--ease-out) 0.55s both; }
  .hero-points { animation: rise 0.9s var(--ease-out) 0.65s both; }
  .hero-card { animation: card-in 1.1s var(--ease-out) 0.2s both; }
  .card-list li { animation: rise 0.8s var(--ease-out) both; animation-delay: calc(0.55s + var(--i, 0) * 0.08s); }
  .card-foot { animation: rise 0.8s var(--ease-out) 0.95s both; }
  .card-tone { animation: tone-in 1.4s var(--ease-out) 0.2s both, drift 16s ease-in-out 1.6s infinite; }
  .page-hero .jump li { animation: rise 0.7s var(--ease-out) both; animation-delay: calc(0.55s + var(--i, 0) * 0.05s); }

  /* Reveal on scroll (the script adds .reveal-ready to <html>) */
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .reveal-ready [data-reveal="fade"] { transform: none; }
  .reveal-ready [data-reveal="scale"] { transform: translateY(24px) scale(0.97); }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal-ready .tl-step::before { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease-out) 0.25s; }
  .reveal-ready .tl-step.is-in::before { transform: none; }

  /* Small interactions */
  .chip input:checked + .chip-box .tick { animation: pop 0.35s var(--ease-spring); }
  .input[aria-invalid="true"] { animation: shake 0.4s ease; }
  .ready:not([hidden]) { animation: rise 0.6s var(--ease-out) both; }
  .mobile-panel:not([hidden]) { animation: rise 0.35s var(--ease-out) both; }
  .mobile-panel:not([hidden]) .mobile-links li { animation: rise 0.5s var(--ease-out) both; animation-delay: calc(0.04s + var(--i, 0) * 0.05s); }
  .site-header { transition: border-color 0.25s ease, transform 0.45s var(--ease-out); }
  :root.header-hidden .site-header { transform: translateY(calc(-100% - 2px)); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(0.97); }
  .btn-primary:hover { box-shadow: 0 14px 26px -14px rgba(211, 61, 52, 0.7); }
  .btn-light:hover { box-shadow: 0 14px 26px -14px rgba(21, 17, 18, 0.5); }
  .icon-tile { transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease-spring); }
  .svc--link:hover .icon-tile, .svc-row:hover .icon-tile, .principle:hover .icon-tile { transform: rotate(-8deg) scale(1.08); }
  .jump a { transition: border-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-spring); }
  .jump a:hover { transform: translateY(-2px); }
}

/* Reading progress line under the header, where the browser supports scroll timelines */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      background: var(--red);
      transform: scaleX(0);
      transform-origin: left;
      animation: scroll-progress linear both;
      animation-timeline: scroll(root);
    }
    @keyframes scroll-progress { to { transform: scaleX(1); } }
  }
}

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