:root {
  --bg: #080b0d;
  --bg-soft: #0d1215;
  --surface: #11181c;
  --surface-2: #172126;
  --surface-3: #1d2b31;
  --text: #f3f7f5;
  --muted: #91a09c;
  --line: rgba(84, 216, 255, .20);
  --primary: #54d8ff;
  --primary-strong: #3984ff;
  --accent: #a970ff;
  --danger: #ff6b6b;
  --success: #4dc796;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --radius: 22px;
  --radius-sm: 13px;
  --max: 1180px;
  --site-header-height: 69px;
}

html[data-theme="dark"] {
  --success: #55ff9a;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  padding-top: var(--site-header-height);
  color: var(--text);
  background:
    radial-gradient(circle at 87% 6%, rgba(84, 216, 255, .13), transparent 28rem),
    radial-gradient(circle at 4% 12%, rgba(169, 112, 255, .10), transparent 25rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #081018;
  background: var(--primary);
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 32px), 820px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  color: #000;
  background: var(--primary);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand img {
  width: 44px;
  height: 44px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  content: "";
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.desktop-nav a[aria-current="page"]::after {
  background: #25d366;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone-plate {
  display: none;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  border-radius: 13px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 15px;
}

.btn {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.012em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(45, 212, 223, 0.55);
  outline-offset: 3px;
}

.btn--primary {
  color: #071006;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 14px 32px rgba(84, 216, 255, .20);
}

.btn--primary:hover {
  box-shadow: 0 16px 34px rgba(84, 216, 255, .30);
}

.btn--secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

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

.btn--whatsapp {
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.15);
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 88px 0 74px;
}

.hero--diagnostic {
  min-height: auto;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-index {
  margin-bottom: 24px;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .78rem;
  letter-spacing: .16em;
}

.hero-index::before {
  content: "●";
  margin-right: 10px;
  color: var(--accent);
}

.hero::after {
  position: absolute;
  top: -260px;
  right: -240px;
  width: 690px;
  height: 690px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(145, 227, 209, .20);
  border-radius: 50%;
  box-shadow:
    0 0 0 62px rgba(145, 227, 209, .045),
    0 0 0 126px rgba(145, 227, 209, .022);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 82px;
}

.hero-grid > [data-reveal]:first-child {
  max-width: 650px;
}

.hero-copy .eyebrow {
  border: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border-radius: 0;
  font-family: "Cascadia Code", Consolas, monospace;
}

.hero-copy h1 {
  font-weight: 800;
  letter-spacing: -.022em;
}

.hero-copy .gradient-text {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--accent);
  background: rgba(145, 227, 209, .08);
  border: 1px solid rgba(145, 227, 209, .24);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(66, 211, 146, 0.12);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -0.022em;
}

html[data-language="ru"] h1,
html[data-language="ru"] h2,
html[data-language="ru"] h3 {
  line-height: 1.12;
  letter-spacing: -.008em;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.4vw, 4.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(105deg, var(--primary), #75a8ff 48%, var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
}

/* Главный заголовок: смысловые части больше не ломаются случайным переносом. */
.hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero h1 .gradient-text {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 0.08em;
  font-size: clamp(1.65rem, 3.2vw, 3.3rem);
  line-height: 1.06;
  white-space: normal;
}

.lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.check {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: #08110c;
  background: var(--success);
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual::after {
  top: 15%;
  right: 5%;
  width: 84%;
  height: 70%;
  border-radius: 50%;
}

.hero-visual::before {
  position: absolute;
  width: 390px;
  height: 390px;
  content: "";
  background: radial-gradient(circle, rgba(240,139,85,.22), rgba(145,227,209,.08) 52%, transparent 72%);
  border-radius: 50%;
  filter: blur(8px);
  animation: pulseGlow 5s ease-in-out infinite;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 530px);
  filter: drop-shadow(0 34px 50px rgba(0,0,0,0.38));
  animation: floatVisual 6s ease-in-out infinite;
}

.hero-console {
  min-height: 540px;
  padding: 62px 34px 28px;
  border: 1px solid rgba(96, 185, 209, .28);
  border-radius: 4px;
  background:
    linear-gradient(rgba(66,217,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,217,255,.055) 1px, transparent 1px),
    linear-gradient(145deg, #10191d, #091013);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 18px 18px 0 rgba(169, 112, 255, .09), var(--shadow);
}

html[data-theme="dark"] .hero-console {
  box-shadow:
    16px 16px 0 rgba(169, 112, 255, .08),
    0 0 30px rgba(84, 216, 255, .14),
    0 0 70px rgba(169, 112, 255, .09),
    var(--shadow);
}

.console-head {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 14px 17px;
  border-bottom: 1px solid rgba(96, 185, 209, .22);
  color: var(--muted);
  background: rgba(8, 11, 13, .82);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .7rem;
  letter-spacing: .13em;
}

.console-head strong { color: var(--primary); }

.hero-console .floating-card {
  border-radius: 2px;
  border-color: rgba(84, 216, 255, .30);
  font-family: "Cascadia Code", Consolas, monospace;
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 190px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-card strong {
  display: block;
  font-size: 0.96rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-card--top {
  top: 50px;
  right: 0;
}

.floating-card--bottom {
  bottom: 58px;
  left: 0;
}

.status-light {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 13px rgba(66, 211, 146, 0.75);
}

.trust-strip {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-block: 1px solid var(--line);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(169,112,255,.09), transparent 32%, rgba(84,216,255,.10) 76%, transparent),
    var(--surface-2);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.trust-strip::before,
.trust-strip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(8vw, 120px);
  content: "";
  pointer-events: none;
}

html[data-theme="dark"] .trust-strip {
  box-shadow:
    inset 0 1px rgba(255,255,255,.035),
    0 0 24px rgba(84, 216, 255, .08),
    0 0 42px rgba(169, 112, 255, .05);
}

.trust-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface-2), transparent);
}

.trust-strip::after {
  right: 0;
  background: linear-gradient(-90deg, var(--surface-2), transparent);
}

.trust-item strong { color: var(--primary); }

.trust-row {
  width: max-content;
  display: flex;
  animation: trustMarquee 30s linear infinite;
}

.trust-group {
  display: flex;
  flex-shrink: 0;
}

.trust-item {
  width: 310px;
  min-height: 104px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-content: center;
  column-gap: 14px;
  padding: 20px 30px;
  border-right: 1px solid var(--line);
}

.systems-rail .trust-group { counter-reset: system; }

.systems-rail .trust-item {
  counter-increment: system;
  text-align: left;
}

.systems-rail .trust-item::before {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent);
  content: "0" counter(system);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow:
    0 0 8px rgba(169, 112, 255, .46),
    0 0 18px rgba(169, 112, 255, .22);
}

.trust-item strong {
  align-self: end;
  font-size: 1.02rem;
}

.trust-item span {
  color: var(--muted);
  font-size: .82rem;
}

@keyframes trustMarquee {
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  padding: 94px 0;
}

.section--compact {
  padding: 68px 0;
}

.section--soft {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, transparent), color-mix(in srgb, var(--primary) 5%, transparent));
  border-block: 1px solid rgba(255,255,255,0.045);
}

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header p,
.muted,
.card p,
.step p,
.article-card p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  border-color: color-mix(in srgb, var(--primary) 56%, var(--line));
  transform: translateY(-4px);
}

.card,
.card:hover {
  transition:
    transform .28s cubic-bezier(.2, .8, .2, 1),
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #ffffff;
  background: linear-gradient(145deg, #21cfff, #287dff);
  border: 1px solid rgba(151, 232, 255, .72);
  border-radius: 2px;
  box-shadow:
    0 0 13px rgba(33, 207, 255, .38),
    0 0 28px rgba(40, 125, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1rem;
  font-weight: 950;
  text-shadow: 0 1px 2px rgba(0, 20, 50, .42);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--primary);
  font-weight: 850;
}

.card-link::after {
  content: "→";
  transition: transform 0.18s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

.service-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card .card-link {
  margin-top: auto;
}

.service-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: var(--accent);
  background: rgba(45,212,223,0.08);
  border: 1px solid rgba(45,212,223,0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: stretch;
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.problem-item strong {
  display: block;
  margin-bottom: 2px;
}

.problem-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.problem-num {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
  background: var(--primary);
  border-radius: 11px;
  font-weight: 950;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 30px;
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.step::after {
  position: absolute;
  top: 48px;
  right: -13px;
  width: 26px;
  height: 1px;
  content: "";
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

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

.stat {
  padding: 28px;
  text-align: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.stat span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
}

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

.feature-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
}

.feature-list .check {
  margin-top: 2px;
}

.quote-box {
  position: relative;
  padding: 38px;
  background:
    radial-gradient(circle at 100% 0, rgba(169,112,255,.14), transparent 20rem),
    var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.quote-box blockquote {
  margin: 0 0 24px;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.quote-author {
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 0 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

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

.faq summary::after {
  float: right;
  content: "+";
  color: var(--primary);
  font-size: 1.35rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0;
  padding-bottom: 20px;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 46px;
  background:
    linear-gradient(120deg, rgba(169,112,255,.14), rgba(84,216,255,.10)),
    var(--surface-2);
  border: 1px solid rgba(84,216,255,.24);
  border-radius: 28px;
}

.cta-band::before {
  position: absolute;
  right: 10%;
  bottom: -100px;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(45,212,223,0.18);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero {
  padding: 78px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
}

.breadcrumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--primary);
}

.form-card {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  font-size: 0.9rem;
  font-weight: 850;
}

.field small {
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--text);
  background: #08141e;
  border: 1px solid var(--line);
  border-radius: 12px;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #728391;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status--warning {
  color: #ffd36f;
}

.notice {
  padding: 18px;
  color: var(--muted);
  background: rgba(45,212,223,0.055);
  border: 1px solid rgba(45,212,223,0.17);
  border-radius: 14px;
}

.contact-section {
  padding-top: 34px;
  padding-bottom: 52px;
}

.contact-section__intro {
  max-width: 720px;
  margin-bottom: 16px;
}

.contact-section__intro h2 {
  margin: 7px 0 7px;
  font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.contact-section__intro p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.4;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.5fr);
  gap: clamp(26px, 3vw, 44px);
  align-items: start;
}

.contact-panel {
  min-width: 0;
}

.contact-methods {
  border-top: 1px solid var(--line);
}

.contact-method {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s ease, color .2s ease, border-color .2s ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  padding-left: 7px;
  border-bottom-color: rgba(84, 216, 255, .34);
}

.contact-method--static {
  grid-template-columns: 46px minmax(0, 1fr);
  cursor: default;
}

.contact-method--static:hover {
  padding-left: 0;
  border-bottom-color: var(--line);
}

.contact-method__icon,
.contact-hours__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 9%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.contact-method__icon svg,
.contact-hours__icon svg {
  width: 20px;
  height: 20px;
}

.contact-method--whatsapp .contact-method__icon svg {
  width: 22px;
  height: 22px;
}

.contact-method--telegram .contact-method__icon svg {
  width: 24px;
  height: 24px;
  transform: translate(-2px, .5px);
}

.contact-hours .contact-hours__icon svg {
  width: 24px;
  height: 24px;
}

.contact-method--phone { color: #52cfff; }
.contact-method--whatsapp { color: #25d366; }
.contact-method--telegram { color: #2aabee; }
.contact-method--email { color: #6dafff; }

.contact-method__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.contact-method__label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.contact-method__copy strong {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-method__arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .52;
  transition: transform .2s ease, opacity .2s ease;
}

.contact-method:hover .contact-method__arrow,
.contact-method:focus-visible .contact-method__arrow {
  transform: translateX(4px);
  opacity: 1;
}

.contact-hours {
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-hours summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  color: inherit;
}

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

.contact-hours__icon {
  color: #efb642;
}

.contact-hours__summary-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.contact-hours__summary-copy > span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact-hours__summary-copy strong {
  color: var(--text);
  font-size: .93rem;
  line-height: 1.35;
}

.contact-hours__chevron {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease, stroke .2s ease;
}

.contact-hours[open] .contact-hours__chevron {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.contact-hours__details {
  margin-left: 60px;
  padding: 0 0 14px;
}

.contact-hours__details strong {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-map {
  min-width: 0;
}

.contact-map__topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}

.contact-map__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-map__topline h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.contact-map__location-address {
  color: var(--text);
  font-size: .8em;
  font-weight: 750;
  letter-spacing: -.015em;
}

.contact-map__location-separator {
  color: var(--muted);
}

.contact-map__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 850;
  border-bottom: 1px solid rgba(84,216,255,.32);
}

.contact-map__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.contact-map__link:hover,
.contact-map__link:focus-visible {
  color: var(--primary-strong);
}

.contact-map__link:hover svg,
.contact-map__link:focus-visible svg {
  transform: translateX(3px);
}

.contact-map__frame {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: 28px;
  box-shadow:
    0 24px 54px rgba(4, 13, 25, .14),
    16px 20px 36px rgba(84, 216, 255, .06);
}

.contact-map__frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(125, 171, 229, .18);
  border-radius: inherit;
}

.contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map__frame iframe[hidden],
.contact-map__placeholder[hidden] {
  display: none;
}

.contact-map__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
  color: #f3f8ff;
  background: radial-gradient(circle at 50% 35%, rgba(84,216,255,.18), transparent 58%),
    linear-gradient(145deg, #132537, #243a56);
}

.contact-map__placeholder strong {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.2;
}

.contact-map__placeholder p {
  max-width: 420px;
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: inherit;
}

.contact-map__load {
  min-width: 175px;
}

html[data-theme="light"] .contact-map__placeholder {
  color: #172a40;
  background: radial-gradient(circle at 50% 35%, rgba(39,124,240,.13), transparent 58%),
    linear-gradient(145deg, #edf4fc, #dce9f8);
}

.contact-map__privacy[hidden] {
  display: none;
}

.contact-map__privacy {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.contact-map__revoke {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.contact-map__revoke:hover,
.contact-map__revoke:focus-visible {
  color: var(--primary);
}

.contact-map__revoke:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

html[data-theme="dark"] .contact-methods,
html[data-theme="dark"] .contact-method {
  border-color: rgba(107, 166, 220, .18);
}

html[data-theme="dark"] .contact-map__frame {
  background: #111b28;
  box-shadow:
    0 28px 58px rgba(3, 10, 20, .34),
    16px 22px 34px rgba(84, 216, 255, .10),
    0 0 24px rgba(84, 216, 255, .06);
}

html[data-theme="dark"] .contact-map__frame iframe {
  filter: brightness(.76) saturate(.78) contrast(1.08);
}

html[data-theme="light"] .contact-map__frame {
  background: #e8eef6;
  box-shadow:
    0 24px 54px rgba(31, 63, 112, .12),
    16px 20px 34px rgba(96, 153, 255, .08);
}

@media (max-width: 1040px) {
  .contact-layout {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 34px;
  }

  .contact-map__frame {
    min-height: 440px;
  }
}

@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
    gap: 30px;
    align-items: end;
  }

  .contact-section__intro {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .contact-methods { grid-column: 1; }

  .contact-hours {
    grid-column: 2;
    margin-top: 0;
  }

  .contact-map__frame {
    min-height: 400px;
  }
}

@media (max-width: 620px) {
  .contact-section {
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .contact-section__intro {
    margin-bottom: 24px;
  }

  .contact-panel {
    display: block;
  }

  .contact-method {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    min-height: 78px;
    gap: 13px;
    padding-block: 14px;
  }

  .contact-method__icon,
  .contact-hours__icon {
    width: 40px;
    height: 40px;
  }

  .contact-method__icon svg,
  .contact-hours__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-method--static {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .contact-hours {
    margin-top: 18px;
  }

  .contact-hours summary {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: 13px;
  }

  .contact-hours__details {
    margin-left: 57px;
  }

  .contact-map__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .contact-map__frame {
    min-height: 340px;
    border-radius: 22px;
  }
}

/* Consultation / describe-problem page */
.consultation-symptoms {
  padding: 40px 0 46px;
}

.consultation-symptoms__header {
  max-width: 820px;
  margin-bottom: 18px;
}

.consultation-symptoms__header h2 {
  margin-bottom: 8px;
}

.symptom-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
}

.symptom-selector__toggle {
  display: none;
}

.symptom-option {
  --symptom-accent: var(--primary);
  position: relative;
  min-width: 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--surface) 98%, var(--primary) 2%),
      color-mix(in srgb, var(--surface) 96%, var(--primary-strong) 4%)
    );
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--primary) 12%);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.symptom-option[data-symptom-id="key-not-recognised"] {
  --symptom-accent: #ffbf3c;
}

.symptom-option[data-symptom-id="all-keys-lost"] {
  --symptom-accent: #ff5f57;
}

.symptom-option[data-symptom-id="remote"] {
  --symptom-accent: #46b8ff;
}

.symptom-option[data-symptom-id="no-start"] {
  --symptom-accent: #ff9f43;
}

.symptom-option[data-symptom-id="immobilizer"] {
  --symptom-accent: #ff5a70;
}

.symptom-option[data-symptom-id="instrument-cluster"] {
  --symptom-accent: #a98cff;
}

.symptom-option[data-symptom-id="transmission"] {
  --symptom-accent: #ffb347;
}

.symptom-option[data-symptom-id="srs"] {
  --symptom-accent: #ff6b7d;
}

.symptom-option[data-symptom-id="body-electronics"] {
  --symptom-accent: #5ce0a4;
}

.symptom-option[data-symptom-id="after-module-change"] {
  --symptom-accent: #ffc451;
}

.symptom-option[data-symptom-id="module"] {
  --symptom-accent: #52d5ff;
}

.symptom-option[data-symptom-id="other"] {
  --symptom-accent: #8a7dff;
}

.symptom-option::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  opacity: 0;
  transition: opacity .2s ease;
}

.symptom-option::after {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  content: "✓";
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--primary) 32%, transparent);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: scale(.72);
  transition: opacity .18s ease, transform .18s ease;
}

.symptom-option:hover,
.symptom-option:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--surface) 95%, var(--primary) 5%),
      color-mix(in srgb, var(--surface) 96%, var(--primary-strong) 4%)
    );
  box-shadow: 0 11px 26px rgba(0, 0, 0, .1);
  transform: translateY(-2px);
}

html[data-theme="dark"] .symptom-option:hover {
  z-index: 2;
  transform: translate(-2px, -4px);
  border-color: rgba(220, 244, 255, .58);
  background:
    linear-gradient(145deg, rgba(84, 216, 255, .06), rgba(169, 112, 255, .04)),
    var(--surface);
  box-shadow:
    7px 9px 12px rgba(229, 247, 255, .16),
    12px 16px 22px rgba(192, 231, 255, .09),
    5px 7px 16px rgba(255, 255, 255, .06),
    0 14px 24px rgba(0, 0, 0, .36),
    0 0 12px color-mix(in srgb, var(--symptom-accent) 12%, transparent),
    inset 0 0 0 1px rgba(224, 247, 255, .09);
}

.symptom-option:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 24%, transparent);
  outline-offset: 2px;
}

.symptom-option.is-active {
  border-color: color-mix(in srgb, var(--primary) 68%, var(--line));
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--surface) 91%, var(--primary) 9%),
      color-mix(in srgb, var(--surface) 96%, var(--primary-strong) 4%)
    );
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .1),
    inset 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent);
}

.symptom-option.is-active::before,
.symptom-option.is-active::after {
  opacity: 1;
}

.symptom-option.is-active::after {
  transform: scale(1);
}

.symptom-option__icon {
  position: relative;
  isolation: isolate;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--symptom-accent);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .11), transparent 55%),
    linear-gradient(180deg, rgba(18, 28, 42, .98), rgba(8, 13, 22, .98));
  border: 1px solid color-mix(in srgb, var(--symptom-accent) 42%, rgba(255, 255, 255, .08));
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -8px 16px rgba(0, 0, 0, .28),
    0 10px 18px rgba(6, 11, 19, .18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.symptom-option__icon::before {
  position: absolute;
  inset: 5px;
  content: "";
  border-radius: 10px;
  background: radial-gradient(circle, color-mix(in srgb, var(--symptom-accent) 22%, transparent), transparent 72%);
  opacity: .95;
}

.symptom-option__icon svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--symptom-accent) 52%, transparent));
}

.symptom-option:hover .symptom-option__icon,
.symptom-option:focus-visible .symptom-option__icon,
.symptom-option.is-active .symptom-option__icon {
  transform: translateY(-1px) scale(1.03);
  border-color: color-mix(in srgb, var(--symptom-accent) 56%, rgba(255, 255, 255, .1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -8px 16px rgba(0, 0, 0, .32),
    0 12px 22px rgba(6, 11, 19, .22),
    0 0 0 1px color-mix(in srgb, var(--symptom-accent) 22%, transparent);
}

.symptom-option__title {
  padding-right: 5px;
  font-size: .94rem;
  font-weight: 850;
  line-height: 1.23;
}

.symptom-detail[hidden] {
  display: none;
}

.symptom-detail {
  position: relative;
  max-height: 0;
  margin-top: 0;
  padding: 0 22px;
  overflow: hidden;
  opacity: 0;
  transform-origin: top center;
  transform: translateY(-8px) perspective(960px) rotateX(-10deg) scaleY(.92);
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--surface) 97%, var(--primary) 3%),
      color-mix(in srgb, var(--surface) 98%, var(--primary-strong) 2%)
    );
  border: 0 solid color-mix(in srgb, var(--primary) 24%, var(--line));
  border-radius: 16px;
  box-shadow: none;
  transition:
    max-height .5s cubic-bezier(.22,.7,.16,1),
    margin-top .28s ease,
    padding .28s ease,
    opacity .24s ease,
    transform .44s cubic-bezier(.22,.7,.16,1),
    border-width .16s ease,
    box-shadow .3s ease;
}

.symptom-detail::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  border-radius: 0 999px 999px 0;
}

.symptom-detail.is-open {
  max-height: var(--symptom-detail-open-height, 320px);
  margin-top: 14px;
  padding: 18px 20px 20px 22px;
  opacity: 1;
  transform: translateY(0) perspective(960px) rotateX(0) scaleY(1);
  border-width: 1px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}

.symptom-detail__panel {
  max-width: 1040px;
}

.symptom-detail__panel.is-active {
  animation: symptom-detail-panel-in .28s ease both;
}

.symptom-detail__guide {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 0;
  overflow: visible;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    height .38s cubic-bezier(.22,.74,.2,1),
    opacity .22s ease,
    transform .34s cubic-bezier(.22,.74,.2,1),
    visibility 0s linear .34s;
}

.symptom-detail.is-open + .symptom-detail__guide {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    height .4s cubic-bezier(.22,.74,.2,1),
    opacity .3s .08s ease,
    transform .4s .06s cubic-bezier(.22,.74,.2,1),
    visibility 0s linear 0s;
}

.symptom-detail__guide-arrow {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 132px;
  height: 148px;
  background:
    linear-gradient(
      180deg,
      #74e7ff 0%,
      #5aa7ff 22%,
      var(--primary) 44%,
      #7b66ff 62%,
      #55d9ff 80%,
      var(--primary-strong) 100%
    );
  background-size: 100% 260%;
  clip-path: polygon(37% 0, 63% 0, 63% 54%, 96% 54%, 50% 100%, 4% 54%, 37% 54%);
  filter:
    drop-shadow(0 10px 14px color-mix(in srgb, var(--primary) 28%, transparent))
    drop-shadow(0 0 18px color-mix(in srgb, #58d7ff 24%, transparent));
  transform: translateX(-50%);
  animation: symptom-guide-flow 2.35s linear .2s infinite;
}

.symptom-detail__guide-arrow::before {
  position: absolute;
  inset: 5px 7px 10px;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.04) 45%, rgba(255,255,255,0) 68%);
  clip-path: inherit;
  opacity: .76;
}

.symptom-detail h3 {
  display: block;
  margin: 0 0 5px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 900;
}

.symptom-detail p {
  margin: 0;
  color: var(--text);
  font-size: .95rem;
  font-weight: 550;
  line-height: 1.5;
  opacity: .88;
}

@keyframes symptom-detail-panel-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes symptom-guide-flow {
  0% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 50% 100%;
  }
}

@keyframes symptom-extra-option-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.is-consultation-scrolling {
  scroll-behavior: auto;
  overflow-anchor: none;
}

.consultation-form-section {
  padding: 46px 0 70px;
}

#situaciones,
#consulta {
  scroll-margin-top: 104px;
}

.consultation-layout {
  display: block;
}

.form-card.consultation-card {
  width: 100%;
  padding: 0;
  overflow: visible;
  border-radius: 22px;
}

.consultation-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  column-gap: 22px;
  align-items: end;
  padding: 20px 24px 0;
}

.consultation-card__header > .eyebrow,
.consultation-card__header > h2,
.consultation-card__header > .muted {
  grid-column: 1;
}

.consultation-card__header > .eyebrow {
  width: max-content;
  max-width: 100%;
  justify-self: start;
}

.consultation-card__header h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
}

.consultation-card__header > .muted {
  max-width: 760px;
  margin: 0;
  font-size: .93rem;
  line-height: 1.45;
}

.consultation-selection {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  min-width: 0;
  display: grid;
  gap: 3px;
  margin: 0 0 1px;
  padding: 9px 11px;
  color: color-mix(in srgb, var(--text) 68%, var(--muted));
  background: color-mix(in srgb, var(--surface) 94%, var(--line) 6%);
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--text) 12%);
  border-radius: 11px;
  box-shadow: none;
  font-size: .8rem;
  line-height: 1.25;
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.consultation-selection strong {
  min-width: 0;
  color: var(--text);
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.28;
  white-space: normal;
  overflow-wrap: anywhere;
}

.consultation-selection strong:empty {
  display: none;
}

.consultation-selection.has-selection {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--primary) 15%, var(--surface)),
      color-mix(in srgb, #8a7dff 10%, var(--surface))
    );
  border-color: color-mix(in srgb, var(--primary) 68%, #8a7dff 32%);
  box-shadow:
    inset 3px 0 0 color-mix(in srgb, var(--primary) 88%, #8a7dff),
    0 0 0 1px color-mix(in srgb, var(--primary) 10%, transparent),
    0 8px 20px color-mix(in srgb, var(--primary) 10%, transparent);
}

.consultation-selection.has-selection strong {
  color: color-mix(in srgb, var(--primary) 82%, var(--text));
}

html[data-theme="dark"] .consultation-selection {
  color: color-mix(in srgb, var(--text) 70%, var(--muted));
  background: color-mix(in srgb, var(--surface) 91%, #ffffff 9%);
  border-color: color-mix(in srgb, var(--line) 82%, #ffffff 18%);
  box-shadow: none;
}

html[data-theme="dark"] .consultation-selection.has-selection {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--primary) 19%, var(--surface)),
      color-mix(in srgb, #8a7dff 14%, var(--surface))
    );
  border-color: color-mix(in srgb, var(--primary) 72%, #8a7dff 28%);
  box-shadow:
    inset 3px 0 0 color-mix(in srgb, var(--primary) 78%, #9a88ff),
    0 0 0 1px color-mix(in srgb, var(--primary) 15%, transparent),
    0 8px 22px color-mix(in srgb, var(--primary) 13%, transparent);
}

.consultation-form {
  padding: 16px 24px 28px;
}

.consultation-form .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
}

.consultation-form .field {
  gap: 4px;
}

.consultation-form .field--wide {
  grid-column: span 2;
}

.consultation-form .field label {
  font-size: .9rem;
  line-height: 1.25;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: .98rem;
}

html[data-theme="dark"] .consultation-form input,
html[data-theme="dark"] .consultation-form select,
html[data-theme="dark"] .consultation-form textarea {
  color: #f3f7f5;
  background: #3d4b58;
  border-color: rgba(151, 193, 211, .28);
}

html[data-theme="dark"] .consultation-form input::placeholder,
html[data-theme="dark"] .consultation-form textarea::placeholder {
  color: #b5c0c8;
}

html[data-theme="dark"] .consultation-form input:focus,
html[data-theme="dark"] .consultation-form select:focus,
html[data-theme="dark"] .consultation-form textarea:focus {
  background: #435360;
  border-color: rgba(84, 216, 255, .52);
  box-shadow: 0 0 0 3px rgba(84, 216, 255, .10);
}

.consultation-form textarea {
  min-height: 88px;
  max-height: 150px;
  line-height: 1.4;
}

/* Mobile-only custom select controls are created by main.js but stay hidden on desktop. */
.mobile-select-trigger,
.mobile-select-menu {
  display: none;
}

.vehicle-picker {
  position: relative;
  min-width: 0;
}

.vehicle-picker__input {
  padding-right: 42px !important;
}

.vehicle-picker__input[readonly] {
  cursor: pointer;
  caret-color: transparent;
}

.vehicle-picker__input[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .72;
}

.vehicle-picker__toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .2s ease, background .2s ease;
}

.vehicle-picker__toggle:hover,
.vehicle-picker__toggle:focus-visible {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.vehicle-picker__toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 1px;
}

.vehicle-picker__toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.vehicle-picker.is-open .vehicle-picker__toggle svg {
  transform: rotate(180deg);
}

.vehicle-picker__panel {
  position: absolute;
  z-index: 70;
  top: calc(100% + 8px);
  left: 0;
  width: min(430px, calc(100vw - 48px));
  padding: 12px;
  background: color-mix(in srgb, var(--surface) 97%, var(--primary) 3%);
  border: 1px solid color-mix(in srgb, var(--line) 76%, var(--primary) 24%);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(11, 25, 45, .18);
  animation: vehicle-picker-in .2s ease both;
}

.vehicle-picker__panel[hidden] {
  display: none;
}

.vehicle-picker__panel--model {
  right: 0;
  left: auto;
}

.vehicle-picker__alphabet {
  display: flex;
  gap: 5px;
  padding: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.vehicle-picker__letter {
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 94%, var(--line) 6%);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.vehicle-picker__letter:hover,
.vehicle-picker__letter:focus-visible,
.vehicle-picker__letter.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: transparent;
  transform: translateY(-1px);
}

.vehicle-picker__letter:focus-visible,
.vehicle-picker__option:focus-visible,
.vehicle-picker__manual:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 22%, transparent);
  outline-offset: 2px;
}

.vehicle-picker__context {
  margin: 0 0 9px;
  color: color-mix(in srgb, var(--text) 80%, var(--muted));
  font-size: .82rem;
  font-weight: 850;
}

.vehicle-picker__options {
  max-height: 238px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.vehicle-picker__option {
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 95%, var(--line) 5%);
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--primary) 12%);
  border-radius: 9px;
  font: inherit;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.vehicle-picker__option:hover,
.vehicle-picker__option:focus-visible,
.vehicle-picker__option[aria-selected="true"] {
  color: color-mix(in srgb, var(--primary) 84%, var(--text));
  background: color-mix(in srgb, var(--surface) 90%, var(--primary) 10%);
  border-color: color-mix(in srgb, var(--primary) 46%, var(--line));
  transform: translateY(-1px);
}

.vehicle-picker__footer {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.vehicle-picker__manual {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--primary);
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--primary) 42%, var(--line));
  border-radius: 9px;
  font: inherit;
  font-size: .8rem;
  font-weight: 850;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.vehicle-picker__manual:hover,
.vehicle-picker__manual:focus-visible {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-color: color-mix(in srgb, var(--primary) 68%, var(--line));
}

html[data-theme="dark"] .vehicle-picker__panel {
  background: #2f3d4a;
  border-color: rgba(92, 196, 255, .26);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .36);
}

html[data-theme="dark"] .vehicle-picker__letter,
html[data-theme="dark"] .vehicle-picker__option {
  background: #394957;
  border-color: rgba(151, 193, 211, .22);
}

html[data-theme="dark"] .vehicle-picker__option:hover,
html[data-theme="dark"] .vehicle-picker__option:focus-visible,
html[data-theme="dark"] .vehicle-picker__option[aria-selected="true"] {
  background: #425565;
  border-color: rgba(84, 216, 255, .5);
}

@keyframes vehicle-picker-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.consultation-form .field small {
  font-size: .76rem;
  line-height: 1.3;
}

.consultation-form .field-error {
  margin-top: 2px;
  color: #d94d5d;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
}

.consultation-form .field-error:empty {
  display: none;
}

.consultation-form .field.is-invalid input,
.consultation-form .field.is-invalid select,
.consultation-form .field.is-invalid textarea {
  border-color: #d94d5d;
  box-shadow: 0 0 0 3px color-mix(in srgb, #d94d5d 12%, transparent);
}

html[data-theme="dark"] .consultation-form .field-error {
  color: #ff98a4;
}

html[data-theme="dark"] .consultation-form .field.is-invalid input,
html[data-theme="dark"] .consultation-form .field.is-invalid select,
html[data-theme="dark"] .consultation-form .field.is-invalid textarea {
  border-color: rgba(255, 120, 137, .72);
  box-shadow: 0 0 0 3px rgba(255, 120, 137, .12);
}

.consultation-privacy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.4;
}

.consultation-draft-clear {
  grid-column: 2;
  justify-self: start;
  padding: 0;
  color: var(--primary);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.consultation-draft-clear:hover,
.consultation-draft-clear:focus-visible {
  color: var(--text);
}

.consultation-privacy .check {
  flex: 0 0 auto;
  margin-top: 1px;
}

.consultation-privacy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consultation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.consultation-actions .btn {
  min-height: 42px;
  padding-block: 10px;
}

.consultation-call-option {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--line) 84%, var(--primary) 16%);
}

.consultation-call-option__desktop-copy {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.42;
  text-align: right;
}

.consultation-call-option__desktop-copy strong {
  margin-left: 5px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 900;
  white-space: nowrap;
}

.consultation-call-option__mobile-copy,
.consultation-call-option__button {
  display: none;
}

.consultation-form .form-status:empty {
  display: none;
}

.consultation-form .form-status:not(:empty) {
  margin-top: 12px;
}

.form-status--success {
  color: var(--success);
}

.article-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 251, 255, .98));
  border: 1px solid rgba(126, 156, 199, .18);
  border-radius: calc(var(--radius) + 10px);
  box-shadow:
    0 22px 54px rgba(16, 34, 64, .08),
    10px 16px 30px rgba(76, 128, 215, .06);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.article-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -36px;
  width: 180px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(84, 216, 255, .20) 0%, rgba(84, 216, 255, 0) 72%);
  filter: blur(18px);
  opacity: .5;
  pointer-events: none;
}

.article-card__visual {
  position: relative;
  min-height: 172px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(143, 179, 255, .12);
  background:
    linear-gradient(135deg, rgba(7, 17, 34, .98), rgba(10, 27, 50, .96) 56%, rgba(12, 32, 58, .92) 100%),
    var(--surface-3);
}

.article-card__visual::before,
.article-card__visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.article-card__visual::before {
  inset: 0;
  background:
    radial-gradient(circle at 84% 20%, rgba(84, 216, 255, .22) 0, rgba(84, 216, 255, 0) 28%),
    radial-gradient(circle at 16% 86%, rgba(114, 106, 255, .18) 0, rgba(114, 106, 255, 0) 26%),
    linear-gradient(90deg, rgba(255,255,255,.05) 0, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, rgba(255,255,255,.04) 100%);
  opacity: .92;
  transition: transform .3s ease, opacity .3s ease;
}

.article-card__visual::after {
  inset: 22px 26px auto auto;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  border: 1px solid rgba(154, 204, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  opacity: .42;
}

.article-card__visual--key {
  background:
    linear-gradient(135deg, rgba(7, 17, 34, .98), rgba(15, 30, 58, .96) 56%, rgba(30, 39, 79, .92) 100%);
}

.article-card__visual--rf {
  background:
    linear-gradient(135deg, rgba(7, 17, 34, .98), rgba(8, 34, 62, .96) 56%, rgba(0, 79, 119, .88) 100%);
}

.article-card__visual--ecu {
  background:
    linear-gradient(135deg, rgba(7, 17, 34, .98), rgba(12, 29, 52, .96) 52%, rgba(12, 57, 76, .90) 100%);
}

.article-card__visual-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(175, 211, 255, .22);
  border-radius: 999px;
  color: rgba(248, 251, 255, .96);
  background: rgba(9, 20, 37, .34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    0 12px 28px rgba(5, 13, 25, .18);
  font-size: .88rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
}

.article-card__visual-grid {
  position: absolute;
  inset: auto 20px 18px 20px;
  z-index: 1;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(143, 179, 255, .1);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    linear-gradient(90deg, rgba(124, 162, 255, .18), rgba(124, 162, 255, 0) 42%, rgba(84, 216, 255, .12) 100%),
    repeating-linear-gradient(90deg, rgba(143, 179, 255, .14) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(180deg, rgba(143, 179, 255, .08) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  opacity: .82;
}

.article-card__visual-icon {
  position: absolute;
  right: 20px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 84px;
  border: 1px solid rgba(143, 179, 255, .16);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 18px 34px rgba(4, 12, 24, .28);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.article-card__visual-icon::before,
.article-card__visual-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.article-card__visual-icon::before {
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(205, 230, 255, .08);
}

.article-card__visual-icon::after {
  right: 14px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 74%);
  opacity: .8;
}

.article-card__visual-icon svg {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  fill: none;
  stroke: rgba(244, 249, 255, .92);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-card__visual-icon--key svg {
  stroke: #ffd978;
  filter: drop-shadow(0 0 18px rgba(255, 216, 117, .26));
}

.article-card__visual-icon--rf svg {
  stroke: #78ddff;
  filter: drop-shadow(0 0 18px rgba(103, 212, 255, .24));
}

.article-card__visual-icon--ecu svg {
  stroke: #8fe3ff;
  filter: drop-shadow(0 0 18px rgba(139, 225, 255, .24));
}

.article-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  padding: 24px 26px 26px;
}

.article-card__body h2 {
  margin: 0;
  font-size: clamp(1.85rem, 2.2vw, 2.28rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.article-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.article-meta::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(61, 125, 255, .10);
}

.legal-content h2 {
  margin-top: 40px;
  font-size: 1.65rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.site-footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--line);
  background: #050d14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 32px;
}

.footer-brand p {
  max-width: 360px;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 13px;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  background: #25d366;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 5px 15px rgba(37, 211, 102, 0.26);
  font-size: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.floating-contact::before {
  width: 34px;
  height: 34px;
  content: "";
  background: url("../img/whatsapp.svg") center / 100% 100% no-repeat;
  transform: translate(0.5px, 0.5px);
}

.floating-contact:hover {
  background: #20c85a;
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.32),
    0 0 0 7px rgba(37, 211, 102, 0.12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatVisual {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.96); opacity: 0.72; }
  50% { transform: scale(1.06); opacity: 1; }
}

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

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .header-actions .btn--secondary {
    display: none;
  }

  .hero-grid,
  .problem-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-grid > [data-reveal]:first-child {
    max-width: none;
  }

  .grid--4,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .symptom-option,
  .symptom-option__icon,
  .symptom-detail,
  .symptom-detail__guide,
  .symptom-detail__guide-arrow,
  .symptom-detail__panel.is-active {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .symptom-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-card__header {
    grid-template-columns: 1fr;
  }

  .consultation-selection {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 8px;
  }

  .consultation-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-form .field--wide {
    grid-column: span 1;
  }

  .vehicle-picker__panel,
  .vehicle-picker__panel--model {
    right: auto;
    left: 0;
    width: min(430px, calc(100vw - 56px));
  }

  .vehicle-picker__options {
    grid-template-columns: 1fr;
    max-height: 220px;
  }
}

@media (max-width: 760px) {
  .symptom-detail {
    --symptom-detail-open-height: 420px;
  }

  .section.consultation-symptoms {
    padding: 30px 0 0;
  }

  .section-header.consultation-symptoms__header {
    margin-bottom: 14px;
  }

  .symptom-selector {
    gap: 8px;
  }

  .symptom-selector:not(.is-expanded) .symptom-option[data-symptom-extra] {
    display: none;
  }

  .symptom-selector.is-expanded .symptom-option[data-symptom-extra] {
    display: grid;
    animation: symptom-extra-option-in .24s ease both;
  }

  .symptom-option {
    min-height: 56px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .symptom-option__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .symptom-option__icon::before {
    inset: 4px;
    border-radius: 8px;
  }

  .symptom-option__icon svg {
    width: 20px;
    height: 20px;
  }

  .symptom-option__title {
    padding-right: 20px;
    font-size: .86rem;
    line-height: 1.22;
  }

  .symptom-selector__toggle {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 14px;
    color: color-mix(in srgb, var(--primary) 82%, var(--text));
    background: color-mix(in srgb, var(--surface) 94%, var(--primary) 6%);
    border: 1px solid color-mix(in srgb, var(--line) 72%, var(--primary) 28%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(27, 64, 108, .06);
    font: inherit;
    font-size: .84rem;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .symptom-selector__toggle:hover,
  .symptom-selector__toggle:focus-visible {
    outline: none;
    border-color: color-mix(in srgb, var(--primary) 50%, var(--line));
    background: color-mix(in srgb, var(--surface) 90%, var(--primary) 10%);
  }

  .symptom-selector__toggle:active {
    transform: translateY(1px);
  }

  .symptom-selector__toggle-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .24s ease;
  }

  .symptom-selector__toggle[aria-expanded="true"] .symptom-selector__toggle-chevron {
    transform: translateY(2px) rotate(225deg);
  }

  html[data-theme="dark"] .symptom-selector__toggle {
    color: #8fdcff;
    background: rgba(79, 119, 163, .16);
    border-color: rgba(102, 166, 216, .3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
  }

  .symptom-detail.is-open {
    margin-top: 8px;
    padding: 13px 15px 14px 18px;
  }

  .symptom-detail.is-open + .symptom-detail__guide {
    height: 38px;
  }

  .symptom-detail__guide-arrow {
    top: 2px;
    width: 32px;
    height: 36px;
  }

  .section.consultation-form-section {
    padding: 0 0 24px;
  }

  .form-card.consultation-card {
    overflow: visible;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--line) 82%, var(--primary) 18%);
    box-shadow: 0 14px 34px rgba(25, 55, 96, .08);
  }

  .consultation-card__header {
    padding: 16px 16px 0;
  }

  .consultation-card__header > .eyebrow {
    margin-bottom: 7px;
  }

  .consultation-card__header h2 {
    margin: 0 0 4px;
    font-size: 1.42rem;
    line-height: 1.14;
  }

  .consultation-card__header > .muted {
    font-size: .86rem;
    line-height: 1.42;
  }

  .consultation-selection {
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 10px;
  }

  .consultation-selection:not(.has-selection) {
    display: none;
  }

  .consultation-selection.has-selection {
    display: grid;
  }

  .consultation-form {
    padding: 12px 16px 16px;
  }

  .consultation-form .form-grid {
    grid-template-columns: minmax(0, .70fr) minmax(0, 1.30fr);
    row-gap: 10px;
    column-gap: 12px;
  }

  .consultation-form .field {
    position: relative;
    min-width: 0;
    gap: 4px;
  }

  .consultation-form .field:nth-child(1),
  .consultation-form .field:nth-child(2),
  .consultation-form .field:nth-child(3),
  .consultation-form .field:nth-child(4),
  .consultation-form .field:nth-child(5),
  .consultation-form .field:nth-child(8) {
    grid-column: 1 / -1;
  }

  .consultation-form .field:nth-child(6) {
    grid-column: 1;
  }

  .consultation-form .field:nth-child(7) {
    grid-column: 2;
  }

  .consultation-form .field--wide,
  .consultation-form .field--full {
    grid-column: auto;
  }

  .consultation-form .field label {
    font-size: .84rem;
    line-height: 1.22;
  }

  .consultation-form input,
  .consultation-form select,
  .consultation-form textarea {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: .91rem;
  }

  /* Native desktop-style select popups do not fit a phone viewport reliably.
     Keep the real selects for values/validation, but use a contained mobile UI. */
  .consultation-form .mobile-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .mobile-select-trigger {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    color: var(--text);
    background: color-mix(in srgb, var(--surface) 97%, var(--primary) 3%);
    border: 1px solid var(--line);
    border-radius: 9px;
    box-shadow: none;
    font: inherit;
    font-size: .91rem;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .mobile-select-trigger:hover,
  .mobile-select-trigger:focus-visible,
  .field.is-mobile-select-open .mobile-select-trigger {
    outline: none;
    border-color: #43c7d7;
    box-shadow: 0 0 0 2px rgba(67, 199, 215, .14);
  }

  .mobile-select-trigger__value {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-select-trigger__chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin: -4px 3px 0 2px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: rotate(45deg);
    opacity: .72;
    transition: transform .18s ease, margin .18s ease;
  }

  .field.is-mobile-select-open .mobile-select-trigger__chevron {
    margin-top: 4px;
    transform: rotate(225deg);
  }

  .mobile-select-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: min(278px, 43vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    gap: 3px;
    padding: 6px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px) scale(.985);
    transform-origin: top center;
    color: var(--text);
    background: rgba(250, 252, 255, .985);
    border: 1px solid color-mix(in srgb, var(--line) 76%, var(--primary) 24%);
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(22, 45, 78, .18), 0 3px 10px rgba(22, 45, 78, .08);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }

  .field.is-mobile-select-open .mobile-select-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-select-option {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 9px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    cursor: pointer;
  }

  .mobile-select-option:hover,
  .mobile-select-option:focus-visible {
    outline: none;
    background: rgba(52, 125, 255, .08);
  }

  .mobile-select-option.is-selected {
    color: #175fcf;
    background: linear-gradient(90deg, rgba(52, 125, 255, .13), rgba(96, 87, 255, .06));
    font-weight: 800;
  }

  .consultation-form .field.is-invalid .mobile-select-trigger {
    border-color: #e86868;
    box-shadow: 0 0 0 2px rgba(232, 104, 104, .10);
  }

  /* Year and key status share one row, but their menus stay readable. */
  .consultation-form .field:nth-child(6) .mobile-select-menu {
    width: min(190px, calc(100vw - 42px));
  }

  .consultation-form .field:nth-child(7) .mobile-select-menu {
    right: 0;
    left: auto;
    width: min(230px, calc(100vw - 42px));
  }

  html[data-theme="dark"] .mobile-select-trigger {
    background: rgba(20, 31, 48, .96);
    border-color: rgba(130, 155, 192, .26);
  }

  html[data-theme="dark"] .mobile-select-menu {
    color: #eaf2ff;
    background: rgba(31, 43, 61, .99);
    border-color: rgba(132, 158, 199, .28);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .38), 0 3px 10px rgba(0, 0, 0, .2);
  }

  html[data-theme="dark"] .mobile-select-option:hover,
  html[data-theme="dark"] .mobile-select-option:focus-visible {
    background: rgba(86, 145, 255, .12);
  }

  html[data-theme="dark"] .mobile-select-option.is-selected {
    color: #9ac9ff;
    background: linear-gradient(90deg, rgba(69, 136, 255, .2), rgba(120, 91, 255, .09));
  }

  .consultation-form textarea {
    min-height: 76px;
    max-height: 125px;
  }

  .vehicle-picker__panel,
  .vehicle-picker__panel--model {
    width: min(430px, calc(100vw - 54px));
  }

  .vehicle-picker__alphabet {
    padding-bottom: 8px;
  }

  .vehicle-picker__letter {
    flex-basis: 32px;
    height: 32px;
  }

  .vehicle-picker__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 210px;
    gap: 6px;
  }

  .vehicle-picker__option {
    min-height: 39px;
    padding: 7px 9px;
    font-size: .82rem;
  }

  .consultation-privacy {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 5px 8px;
    align-items: start;
    margin-top: 11px;
    padding: 10px 11px;
    border: 1px solid color-mix(in srgb, var(--line) 82%, var(--primary) 18%);
    border-radius: 11px;
    background: color-mix(in srgb, var(--surface) 96%, var(--primary) 4%);
    font-size: .74rem;
    line-height: 1.38;
  }

  .consultation-privacy .check {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
  }

  .consultation-privacy p {
    grid-column: 2 / -1;
    grid-row: 1;
    margin: 0;
  }

  .consultation-draft-clear {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-self: start;
    margin-top: 2px;
    font-size: .77rem;
  }

  .consultation-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 11px;
  }

  .consultation-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 9px 5px;
    font-size: .76rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .consultation-call-option {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: stretch;
    margin-top: 10px;
    padding-top: 10px;
  }

  .consultation-call-option__desktop-copy {
    display: none;
  }

  .consultation-call-option__mobile-copy {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 650;
    line-height: 1.36;
    text-align: center;
  }

  .consultation-call-option__button {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 12px;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 800;
    border-radius: 10px;
  }

  .consultation-call-option__button svg,
  .consultation-call-option__button svg path {
    color: #fff;
    fill: currentColor;
  }


  .hero {
    padding: 68px 0 54px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-grid > [data-reveal]:first-child {
    padding: 28px 0 8px 22px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.35rem);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3.05rem);
    line-height: 1.06;
  }

  .hero h1 .gradient-text {
    margin-top: 0.12em;
    font-size: clamp(1.55rem, 7.2vw, 2.25rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 28px;
  }

  .floating-card {
    min-width: 155px;
    padding: 11px 12px;
  }

  .floating-card--top {
    top: 8px;
  }

  .floating-card--bottom {
    bottom: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .stats,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  .cta-band {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .form-card {
    padding: 22px;
  }
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .floating-contact {
    display: none;
  }
}

@media (max-width: 460px) {
  .consultation-call-option {
    grid-template-columns: 1fr;
  }

  .consultation-call-option__button {
    width: 100%;
  }

  .symptom-detail {
    --symptom-detail-open-height: 450px;
  }

  .symptom-selector {
    grid-template-columns: 1fr;
  }


  .header-actions .btn--primary {
    display: none;
  }

  .hero-note {
    display: grid;
    gap: 10px;
  }

  .floating-card {
    display: none;
  }

  .hero-visual {
    min-height: 300px;
  }
}

/* ================================================================
   Theme and language controls
   ================================================================ */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #edf1ef;
  --bg-soft: #e3e9e6;
  --surface: #f9fbfa;
  --surface-2: #eef3f1;
  --surface-3: #dce5e1;
  --text: #0b1418;
  --muted: #5d6c69;
  --line: rgba(9, 64, 78, .16);
  --primary: #087ea4;
  --primary-strong: #315dd8;
  --accent: #7c3aed;
  --success: #268a66;
  --shadow: 0 24px 70px rgba(11, 35, 42, .14);
}

.site-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.language-switcher {
  position: relative;
}

.language-button,
.theme-toggle {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(84, 216, 255, .40);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.language-button {
  min-width: 56px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-inline: 9px;
  border-radius: 6px;
  font-size: .91rem;
  font-weight: 750;
  letter-spacing: 0;
}

.language-chevron {
  position: relative;
  width: 13px;
  height: 8px;
  display: inline-block;
  flex: 0 0 13px;
  margin-left: 5px;
  border: 0;
  color: #27d8ff;
  font-size: 0;
  line-height: 0;
  filter: drop-shadow(0 0 3px rgba(39, 216, 255, .34));
  transform: translateY(1px);
  transform-origin: center;
}

.language-chevron::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: currentColor;
  --chevron-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 13 9%27%3E%3Cpath d=%27M1 3 6.5 7.5 12 3%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: var(--chevron-mask);
  mask: var(--chevron-mask);
}

.language-switcher.is-open .language-chevron {
  transform: translateY(-1px) rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  z-index: 90;
  width: 218px;
  display: grid;
  gap: 4px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px) scale(.98);
  transform-origin: top right;
  background: rgba(14, 29, 41, .97);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.language-switcher.is-open .language-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.language-menu [data-language-option] {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 0;
  color: var(--text);
  background: transparent;
  border-radius: 5px;
  text-align: left;
  cursor: pointer;
}

.language-menu [data-language-option]:hover,
.language-menu [data-language-option].is-active {
  background: rgba(84, 216, 255, .11);
}

.language-flag {
  position: relative;
  width: 24px;
  height: 16px;
  display: inline-block;
  flex: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  box-sizing: border-box;
}

.language-flag--es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.language-flag--va {
  background: repeating-linear-gradient(to bottom, #f4c300 0 11.11%, #d71920 11.11% 22.22%);
}

.language-flag--va::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 29%;
  content: "";
  background: #0755a5;
  border-right: 2px solid #f4c300;
}

.language-flag--en {
  border-color: rgba(0, 0, 0, .18);
  background-color: #012169;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0L60 40M60 0L0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0L60 40M60 0L0 40' stroke='%23C8102E' stroke-width='3'/%3E%3Cpath d='M30 0V40M0 20H60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M30 0V40M0 20H60' stroke='%23C8102E' stroke-width='7'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.language-flag--ru {
  border: 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0 35%,
    #0039a6 35% 66%,
    #d52b1e 66% 100%
  );
  box-shadow: none;
}

/* The root language is restored in <head> before first paint. These rules make
   the closed switcher show that language immediately instead of flashing ES. */
html[data-language="es"] [data-language-flag] {
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

html[data-language="va"] [data-language-flag] {
  border: 1px solid rgba(255, 255, 255, .28);
  background: repeating-linear-gradient(to bottom, #f4c300 0 11.11%, #d71920 11.11% 22.22%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

html[data-language="va"] [data-language-flag]::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 29%;
  content: "";
  background: #0755a5;
  border-right: 2px solid #f4c300;
}

html[data-language="en"] [data-language-flag] {
  border: 1px solid rgba(0, 0, 0, .18);
  background-color: #012169;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0L60 40M60 0L0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0L60 40M60 0L0 40' stroke='%23C8102E' stroke-width='3'/%3E%3Cpath d='M30 0V40M0 20H60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M30 0V40M0 20H60' stroke='%23C8102E' stroke-width='7'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

html[data-language="ru"] [data-language-flag] {
  border: 0;
  background: linear-gradient(to bottom, #ffffff 0 35%, #0039a6 35% 66%, #d52b1e 66% 100%);
  box-shadow: none;
}

.language-option__check {
  color: var(--success);
  opacity: 0;
  font-weight: 950;
}

.language-menu [data-language-option].is-active .language-option__check {
  opacity: 1;
}

.theme-toggle {
  width: 78px;
  height: 40px;
  padding: 0;
  border-radius: 15px;
  background: transparent;
  box-shadow: none;
}

.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 207, 255, .18);
}

.theme-toggle__track {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(95, 122, 154, .24);
  border-radius: 15px;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(33, 54, 78, .05);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.theme-toggle__track::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 5px);
  content: "";
  border: 1px solid rgba(42, 69, 94, .10);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow:
    0 3px 9px rgba(28, 50, 72, .10),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  transition: left .30s cubic-bezier(.22, .8, .2, 1), background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  fill: none;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  transform-origin: center;
  transition: opacity .22s ease, stroke .22s ease, transform .22s ease, filter .22s ease;
}

.theme-toggle__sun {
  left: 25%;
  stroke: #f2b52b;
  transform: translate(-50%, -50%) scale(1.04);
  filter: drop-shadow(0 0 2px rgba(242, 181, 43, .20));
}

.theme-toggle__moon {
  left: 75%;
  stroke: #4d6b82;
  transform: translate(-50%, -50%) scale(.98);
  filter: none;
}

.theme-toggle__thumb {
  display: none;
}

html[data-theme="light"] .theme-toggle {
  background: transparent;
}

html[data-theme="light"] .theme-toggle__track {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f6 100%);
  border-color: rgba(65, 92, 118, .20);
}

html[data-theme="light"] .theme-toggle__sun {
  stroke: #f2b52b;
  transform: translate(-50%, -50%) scale(1.06);
  filter: drop-shadow(0 0 2px rgba(242, 181, 43, .22));
}

html[data-theme="light"] .theme-toggle__moon {
  stroke: #60788d;
  opacity: .86;
}

html[data-theme="dark"] .theme-toggle {
  background: transparent;
}

html[data-theme="dark"] .theme-toggle__track {
  border-color: rgba(109, 164, 207, .30);
  background: linear-gradient(180deg, #263446 0%, #1c2939 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.22),
    0 0 10px rgba(56, 166, 230, .06);
}

html[data-theme="dark"] .theme-toggle__track::before {
  left: calc(50% + 2px);
  border-color: rgba(119, 211, 255, .34);
  background: linear-gradient(180deg, #2a6488 0%, #173f5d 100%);
  box-shadow:
    0 5px 12px rgba(0, 0, 0, .22),
    0 0 12px rgba(65, 190, 255, .20),
    inset 0 1px 0 rgba(255,255,255,.16);
}

html[data-theme="dark"] .theme-toggle__sun {
  stroke: #f2b52b;
  opacity: .92;
  transform: translate(-50%, -50%) scale(.98);
  filter: drop-shadow(0 0 2px rgba(242, 181, 43, .18));
}

html[data-theme="dark"] .theme-toggle__moon {
  stroke: #f7fcff;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.04);
  filter:
    drop-shadow(0 0 3px rgba(212, 242, 255, .58))
    drop-shadow(0 0 7px rgba(77, 190, 255, .34));
}

.theme-toggle:hover .theme-toggle__track {
  border-color: rgba(61, 164, 226, .42);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 88% 8%, rgba(45, 212, 223, .16), transparent 28rem),
    radial-gradient(circle at 12% 4%, rgba(169, 112, 255, .14), transparent 27rem),
    var(--bg);
}

html[data-theme="light"] body::before {
  opacity: .42;
  background-image:
    linear-gradient(rgba(15, 41, 57, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 41, 57, .045) 1px, transparent 1px);
}

html[data-theme="light"] .site-header {
  background: rgba(247, 250, 252, .88);
  box-shadow: 0 8px 30px rgba(65, 86, 99, .06);
}

html[data-theme="light"] .language-button,
html[data-theme="light"] .menu-button,
html[data-theme="light"] .btn--secondary,
html[data-theme="light"] .btn--ghost {
  background: rgba(255, 255, 255, .82);
}

html[data-theme="light"] .theme-toggle__track {
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(245, 248, 251, .92));
  border-color: rgba(7, 21, 31, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(12, 32, 48, .05);
}

html[data-theme="light"] .language-menu {
  background: rgba(255, 255, 255, .97);
}

html[data-theme="light"] .card,
html[data-theme="light"] .step,
html[data-theme="light"] .form-card,
html[data-theme="light"] .article-card,
html[data-theme="light"] .faq details,
html[data-theme="light"] .quote-box,
html[data-theme="light"] .stat {
  background: rgba(255, 255, 255, .88);
}

html[data-theme="light"] .section--soft {
  background: rgba(255, 255, 255, .36);
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  color: var(--text);
  background: #f8fbfd;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #84949f;
}

html[data-theme="light"] .floating-card {
  background: rgba(255, 255, 255, .91);
}




html[data-theme="light"] .site-footer {
  color: #f4f8fb;
  background: #07121a;
}

html[data-theme="light"] .site-footer .footer-links,
html[data-theme="light"] .site-footer .footer-brand p,
html[data-theme="light"] .site-footer .footer-bottom {
  color: #a8b7c3;
}


/* ================================================================
   Brand mark and wordmark
   ================================================================ */
[data-business-name] {
  white-space: nowrap;
}

.brand-mark {
  width: 88px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand [data-business-name] {
  display: inline-flex;
  align-items: baseline;
  gap: .22em;
  max-width: none;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
  font-size: 1.02rem;
  letter-spacing: -.035em;
}

.brand-name__max,
.brand-name__keycode {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.brand-copy-text {
  display: inline;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.brand-wordmark__clau {
  color: currentColor;
  -webkit-text-fill-color: currentColor;
}

.brand-wordmark__chip {
  color: #00cfff;
  -webkit-text-fill-color: #00cfff;
}

.brand .brand-name__keycode {
  color: transparent !important;
  background: linear-gradient(90deg, #30d9ff 0%, #6e8cff 48%, #b96cff 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 8px rgba(84, 216, 255, .16));
}

html[data-theme="dark"] .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] .brand .brand-name__keycode {
  filter:
    drop-shadow(0 0 5px rgba(48, 217, 255, .54))
    drop-shadow(0 0 13px rgba(185, 108, 255, .30));
}

html[data-theme="light"] .brand .brand-name__max {
  color: #102331 !important;
  -webkit-text-fill-color: #102331 !important;
}

.site-footer .brand-mark {
  width: 96px;
  height: 37px;
}

.site-footer .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .38);
}

/* ================================================================
   Buttons and service cards
   ================================================================ */
.header-actions .btn {
  font-size: .94rem;
}

.btn--primary,
.btn--whatsapp {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .btn--primary {
  box-shadow:
    0 0 14px rgba(84, 216, 255, .32),
    0 0 30px rgba(169, 112, 255, .16);
}

html[data-theme="dark"] .btn--primary:hover {
  box-shadow:
    0 0 18px rgba(84, 216, 255, .48),
    0 0 42px rgba(169, 112, 255, .24);
}

html[data-theme="light"] .btn--secondary {
  color: #101820 !important;
  -webkit-text-fill-color: #101820 !important;
  text-shadow: none;
}

.card-icon--wide,
.card-icon.card-icon--wide {
  width: 58px;
  min-width: 58px;
  padding-inline: 4px;
  overflow: hidden;
  font-size: .94rem;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}

html[data-theme="dark"] .card:hover {
  z-index: 2;
  transform: translate(-3px, -10px);
  border-color: rgba(220, 244, 255, .72);
  background: linear-gradient(145deg, rgba(84, 216, 255, .055), rgba(169, 112, 255, .035)), var(--surface);
  box-shadow:
    12px 16px 20px rgba(229, 247, 255, .22),
    22px 30px 44px rgba(192, 231, 255, .13),
    7px 10px 30px rgba(255, 255, 255, .10),
    0 24px 42px rgba(0, 0, 0, .42),
    0 0 20px rgba(84, 216, 255, .14),
    inset 0 0 0 1px rgba(224, 247, 255, .12);
}

html[data-theme="dark"] .card::before {
  width: 2px;
  background: linear-gradient(to bottom, transparent 4%, #54d8ff 28%, #a970ff 68%, #4ee0a0 88%, transparent 96%);
  box-shadow: 0 0 9px rgba(84, 216, 255, .58), 0 0 20px rgba(169, 112, 255, .28);
}

/* ================================================================
   Floating contact launcher
   ================================================================ */
.header-actions > a[data-whatsapp-link],
.mobile-nav > a[data-whatsapp-link],
.floating-contact {
  display: none !important;
}

.contact-launcher {
  position: fixed;
  right: 20px;
  bottom: 72px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-launcher__items {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.contact-launcher__item,
.contact-launcher__toggle {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease, filter .2s ease;
}

.contact-launcher__item {
  opacity: 0;
  transform: translateY(18px) scale(.72);
}

.contact-launcher__item img,
.contact-launcher__toggle img {
  width: 106%;
  height: 106%;
  max-width: none;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.contact-launcher__toggle {
  width: 48px;
  height: 48px;
  cursor: pointer;
  will-change: transform, box-shadow;
}

.contact-launcher__toggle .contact-launcher__icon--close {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: rotate(-90deg) scale(.72);
  transition: opacity .18s ease, transform .24s ease;
}

.contact-launcher__toggle .contact-launcher__icon--message {
  opacity: 1;
  transform: rotate(0) scale(1);
  transition: opacity .18s ease, transform .24s ease;
}

.contact-launcher.is-open .contact-launcher__toggle .contact-launcher__icon--message {
  opacity: 0;
  transform: rotate(90deg) scale(.72);
}

.contact-launcher.is-open .contact-launcher__toggle .contact-launcher__icon--close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.contact-launcher.is-open .contact-launcher__items {
  pointer-events: auto;
}

.contact-launcher.is-open .contact-launcher__item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-launcher.is-open .contact-launcher__item:nth-child(1) { transition-delay: .08s; }
.contact-launcher.is-open .contact-launcher__item:nth-child(2) { transition-delay: .05s; }
.contact-launcher.is-open .contact-launcher__item:nth-child(3) { transition-delay: .02s; }

.contact-launcher__item:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
}

.contact-launcher:not(.is-open) .contact-launcher__toggle:hover,
.contact-launcher:not(.is-open) .contact-launcher__toggle:focus-visible {
  transform: translateY(-4px) scale(1.13);
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .30), 0 0 0 8px rgba(82, 110, 211, .14), 0 0 24px rgba(82, 110, 211, .34);
  animation: contact-toggle-hover-pulse 1.15s ease-in-out infinite alternate;
}

.contact-launcher.is-open .contact-launcher__toggle:hover,
.contact-launcher.is-open .contact-launcher__toggle:focus-visible {
  transform: none;
  filter: none;
  animation: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.contact-launcher__label,
.contact-launcher__toggle::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  min-width: max-content;
  padding: 9px 16px;
  background: rgba(255, 255, 255, .97);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .16s ease, transform .16s ease;
}

.contact-launcher__label {
  color: #2048a7;
}

.contact-launcher__toggle::before {
  content: attr(data-close-label);
  color: #526ed3;
  font-size: .95rem;
}

.contact-launcher__item:hover .contact-launcher__label,
.contact-launcher__item:focus-visible .contact-launcher__label,
.contact-launcher.is-open .contact-launcher__toggle:hover::before,
.contact-launcher.is-open .contact-launcher__toggle:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.contact-launcher__item--telegram .contact-launcher__label { color: #168bd2; }
.contact-launcher__item--email .contact-launcher__label { color: #30488f; }
.contact-launcher__item--whatsapp .contact-launcher__label { color: #159d4c; }

@keyframes contact-toggle-hover-pulse {
  from {
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28), 0 0 0 6px rgba(82, 110, 211, .11), 0 0 18px rgba(82, 110, 211, .25);
  }
  to {
    box-shadow: 0 21px 44px rgba(0, 0, 0, .32), 0 0 0 10px rgba(82, 110, 211, .17), 0 0 30px rgba(82, 110, 211, .42);
  }
}

/* ================================================================
   Advice article pages
   ================================================================ */
.article-card:hover {
  transform: translate(-2px, -8px);
  border-color: rgba(84, 216, 255, .34);
  box-shadow:
    0 30px 60px rgba(3, 12, 24, .18),
    12px 18px 34px rgba(84, 216, 255, .10);
}

.article-card:hover .article-card__visual::before {
  opacity: 1;
  transform: scale(1.04);
}

.article-card:hover .article-card__visual-icon {
  transform: translateY(-2px);
  border-color: rgba(180, 219, 255, .30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 22px 36px rgba(4, 12, 24, .34),
    0 0 0 1px rgba(195, 231, 255, .06);
}

.article-card__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(98, 139, 255, .16);
  color: var(--primary-strong);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.35;
  transition: color .22s ease, border-color .22s ease;
}

.article-card__cta span {
  display: block;
}

.article-card__cta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.article-card__cta:hover,
.article-card:hover .article-card__cta {
  color: var(--primary);
  border-top-color: rgba(98, 139, 255, .28);
}

.article-card__cta:hover svg,
.article-card:hover .article-card__cta svg {
  transform: translateX(4px);
}

.article-reading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 50px;
  background:
    radial-gradient(circle at 88% 20%, rgba(74, 158, 255, .11), transparent 22rem),
    radial-gradient(circle at 76% 88%, rgba(130, 92, 255, .08), transparent 23rem),
    linear-gradient(105deg, #fbfdff 0%, #f8fbff 58%, #eef5ff 100%);
  border-bottom: 1px solid rgba(116, 151, 198, .17);
}

.article-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  content: "";
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(82, 113, 160, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 113, 160, .10) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 100%);
}

.article-hero__layout {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1280px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.article-hero__content {
  min-width: 0;
}

.article-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.1vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.article-hero .lead {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 1.03rem;
  line-height: 1.72;
}

.article-hero__visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  isolation: isolate;
  color: #5166ef;
}

.article-hero__visual::before,
.article-hero__visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.article-hero__visual::before {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(80, 113, 255, .14) 0%, rgba(80, 113, 255, 0) 69%);
  filter: blur(2px);
}

.article-hero__visual::after {
  width: 210px;
  height: 210px;
  border: 1px solid rgba(75, 116, 229, .12);
  box-shadow:
    0 0 0 28px rgba(73, 145, 255, .025),
    0 0 0 58px rgba(112, 81, 255, .018);
}

.article-hero__svg {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 30px rgba(43, 76, 135, .10));
}

.article-hero__svg g {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-hero__svg .article-hero__circuit,
.article-hero__svg .article-hero__data-lines {
  opacity: .42;
  stroke-width: 1.5;
}

.article-hero__svg .article-hero__device,
.article-hero__svg .article-hero__ecu-box {
  stroke-width: 2.35;
}

.article-hero__svg .article-hero__device-inner {
  fill: rgba(91, 105, 236, .035);
  stroke-opacity: .46;
}

.article-hero__svg .article-hero__microchip,
.article-hero__svg .article-hero__sensor {
  opacity: .78;
}

.article-hero__svg .article-hero__waves {
  opacity: .64;
}

.article-hero__visual--key {
  color: #5a5fe6;
}

.article-hero__visual--rf {
  color: #2d91dc;
}

.article-hero__visual--ecu {
  color: #3f77d9;
}

html[data-theme="dark"] .article-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(70, 181, 255, .13), transparent 22rem),
    radial-gradient(circle at 76% 88%, rgba(124, 91, 255, .11), transparent 23rem),
    linear-gradient(105deg, #202a37 0%, #202a37 55%, #1c2a39 100%);
  border-bottom-color: rgba(113, 170, 222, .18);
}

html[data-theme="dark"] .article-hero::before {
  opacity: .18;
  background-image:
    linear-gradient(rgba(148, 193, 231, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 193, 231, .12) 1px, transparent 1px);
}

html[data-theme="dark"] .article-hero__visual {
  color: #7bdcff;
}

html[data-theme="dark"] .article-hero__visual--key {
  color: #a39bff;
}

html[data-theme="dark"] .article-hero__visual--ecu {
  color: #79cfff;
}

html[data-theme="dark"] .article-hero__visual::before {
  background: radial-gradient(circle, rgba(72, 188, 255, .17) 0%, rgba(72, 188, 255, 0) 70%);
}

html[data-theme="dark"] .article-hero__visual::after {
  border-color: rgba(126, 204, 255, .15);
  box-shadow:
    0 0 0 28px rgba(77, 168, 255, .025),
    0 0 0 58px rgba(130, 94, 255, .018);
}

html[data-theme="dark"] .article-hero__svg {
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, .22))
    drop-shadow(0 0 16px rgba(93, 198, 255, .10));
}

html[data-theme="dark"] .article-hero__svg .article-hero__device-inner {
  fill: rgba(105, 178, 255, .035);
}

.article-section { padding-top: 72px; }

.article-page {
  width: min(calc(100% - 32px), 850px);
  margin-inline: auto;
}

.article-intro {
  margin: 0 0 34px;
  color: var(--text);
  font-size: clamp(1.12rem, 2.1vw, 1.32rem);
  line-height: 1.75;
}

.article-toc {
  display: grid;
  gap: 8px;
  margin: 0 0 44px;
  padding: 24px 26px;
  background: linear-gradient(145deg, rgba(84, 216, 255, .07), rgba(169, 112, 255, .06)), var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.article-toc strong { margin-bottom: 5px; }
.article-toc a { color: var(--muted); font-weight: 700; }
.article-toc a:hover { color: var(--primary); }
.article-content-section { scroll-margin-top: 110px; margin-bottom: 46px; }

.article-content-section h2,
.article-conclusion h2,
.article-related h2 {
  margin-bottom: 17px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.article-content-section p,
.article-content-section li,
.article-conclusion p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.82;
}

.article-content-section ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 23px;
}

.article-content-section li::marker { color: var(--primary); }

.article-callout {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 17px;
  row-gap: 5px;
  margin: 12px 0 46px;
  padding: 24px 26px 24px 23px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(119, 91, 255, .13), transparent 17rem),
    linear-gradient(135deg, rgba(71, 126, 255, .075), rgba(89, 202, 255, .045)),
    var(--surface-2);
  border: 1px solid rgba(79, 142, 255, .30);
  border-left: 4px solid #5367ef;
  border-radius: 18px;
  box-shadow:
    0 16px 34px rgba(37, 67, 117, .08),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.article-callout::before {
  grid-row: 1 / span 2;
  align-self: start;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  content: "!";
  color: #fff;
  background: linear-gradient(135deg, #3d82f2, #6b54ee);
  border-radius: 14px;
  box-shadow:
    0 10px 24px rgba(74, 91, 232, .24),
    inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1;
}

.article-callout strong {
  display: block;
  align-self: end;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.25;
}

.article-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

html[data-theme="dark"] .article-callout {
  background:
    radial-gradient(circle at 100% 0, rgba(126, 91, 255, .12), transparent 17rem),
    linear-gradient(135deg, rgba(63, 118, 206, .15), rgba(54, 178, 215, .07)),
    #273342;
  border-color: rgba(104, 185, 255, .32);
  border-left-color: #69b8ff;
  box-shadow:
    12px 15px 28px rgba(7, 13, 22, .20),
    0 0 22px rgba(71, 174, 255, .07),
    inset 0 1px 0 rgba(255,255,255,.04);
}

html[data-theme="dark"] .article-callout::before {
  background: linear-gradient(135deg, #338eea, #6d5cf0);
  box-shadow:
    0 10px 24px rgba(46, 144, 235, .18),
    0 0 18px rgba(105, 184, 255, .13),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }

.article-disclaimer {
  margin: 38px 0 0;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .88rem;
}

.article-related { margin-top: 62px; }
.article-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }

.article-related-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.article-related-card span {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.article-related-card strong { line-height: 1.35; }

.article-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(84, 216, 255, .32);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}

html[data-theme="light"] .article-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247, 250, 255, .98));
  border-color: rgba(126, 156, 199, .18);
  box-shadow:
    0 22px 52px rgba(31, 63, 112, .10),
    12px 18px 32px rgba(96, 153, 255, .08);
}

html[data-theme="light"] .article-card__body p {
  color: #5f7085;
}

html[data-theme="light"] .article-card__cta {
  color: #425ae8;
  border-top-color: rgba(98, 139, 255, .16);
}

html[data-theme="dark"] .article-card {
  background: linear-gradient(180deg, #293544 0%, #263140 100%);
  border-color: rgba(73, 176, 255, .27);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    16px 22px 36px rgba(7, 13, 22, .24),
    10px 14px 28px rgba(50, 157, 255, .10);
}

html[data-theme="dark"] .article-card::after {
  opacity: .82;
}

html[data-theme="dark"] .article-card__body p {
  color: #b9c8d9;
}

html[data-theme="dark"] .article-card__cta {
  color: #9fcdff;
  border-top-color: rgba(88, 169, 255, .24);
}

html[data-theme="dark"] .article-card:hover,
html[data-theme="dark"] .article-related-card:hover {
  border-color: rgba(220, 244, 255, .72);
  box-shadow:
    12px 16px 20px rgba(229, 247, 255, .22),
    22px 30px 44px rgba(192, 231, 255, .13),
    7px 10px 30px rgba(255, 255, 255, .10),
    0 24px 42px rgba(0, 0, 0, .42),
    0 0 20px rgba(84, 216, 255, .14),
    inset 0 0 0 1px rgba(224, 247, 255, .12);
}

/* ================================================================
   Responsive refinements
   ================================================================ */
@media (max-width: 1050px) {
  .header-row { gap: 12px; }
  .header-actions { gap: 8px; }
}

@media (max-width: 760px) {
  .language-menu {
    position: fixed;
    top: 72px;
    right: 14px;
    width: min(240px, calc(100vw - 28px));
  }

  .brand { gap: 8px; }
  .brand-mark { width: 54px; height: 30px; }
  .brand [data-business-name] { font-size: .92rem; letter-spacing: -.04em; }
  .site-footer .brand-mark { width: 64px; height: 30px; }

  .contact-launcher { right: 14px; bottom: 18px; }
  .contact-launcher__item { width: 46px; height: 46px; }
  .contact-launcher__toggle { width: 50px; height: 50px; }
  .contact-launcher__toggle img { width: 106%; height: 106%; max-width: none; }
  .contact-launcher__label,
  .contact-launcher__toggle::before { display: none; }
}

@media (max-width: 700px) {
  .article-related-grid { grid-template-columns: 1fr; }
  .article-actions .btn { width: 100%; }
  .article-toc { padding: 21px; }
}

@media (max-width: 900px) {
  .article-hero {
    padding: 48px 0 44px;
  }

  .article-hero__layout {
    width: min(calc(100% - 42px), 860px);
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 28px;
  }

  .article-hero__visual {
    min-height: 215px;
  }

  .article-hero h1 {
    font-size: clamp(2.15rem, 5.8vw, 3.15rem);
  }

  .article-card__visual {
    min-height: 156px;
  }

  .article-card__visual-icon {
    width: 96px;
    height: 76px;
    right: 18px;
    bottom: 28px;
  }

  .article-card__visual-icon svg {
    width: 50px;
    height: 50px;
  }

  .article-card__body {
    padding: 22px 22px 24px;
  }

  .article-card__body h2 {
    font-size: clamp(1.74rem, 5vw, 2.05rem);
  }
}

@media (max-width: 620px) {
  .article-hero {
    padding: 28px 0 24px;
  }

  .article-hero::before {
    width: 100%;
    opacity: .14;
  }

  .article-hero__layout {
    width: min(calc(100% - 28px), 620px);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-hero .breadcrumbs {
    margin-bottom: 9px;
    font-size: .74rem;
    line-height: 1.4;
  }

  .article-hero .eyebrow {
    margin-bottom: 10px;
  }

  .article-hero__visual {
    min-height: 108px;
    margin-top: 0;
  }

  .article-hero__svg {
    width: min(100%, 230px);
    max-height: 108px;
  }

  .article-hero__visual::before {
    width: 160px;
    height: 160px;
  }

  .article-hero__visual::after {
    width: 112px;
    height: 112px;
  }

  .article-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(1.72rem, 7.8vw, 2.12rem);
    line-height: 1.1;
  }

  .article-hero .lead {
    margin-bottom: 12px;
    font-size: .97rem;
    line-height: 1.6;
  }

  .article-reading-meta {
    gap: 6px;
    font-size: .82rem;
    line-height: 1.4;
  }

  .article-section {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .article-page {
    width: min(calc(100% - 28px), 850px);
  }

  .article-intro {
    margin-bottom: 20px;
    font-size: 1.03rem;
    line-height: 1.68;
  }

  .article-toc {
    gap: 7px;
    margin-bottom: 28px;
    padding: 16px 17px;
    border-radius: 15px;
  }

  .article-toc strong {
    margin-bottom: 3px;
    font-size: 1rem;
  }

  .article-toc a {
    font-size: .94rem;
    line-height: 1.45;
  }

  .article-content-section {
    scroll-margin-top: 84px;
    margin-bottom: 30px;
  }

  .article-content-section h2,
  .article-conclusion h2,
  .article-related h2 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    line-height: 1.18;
  }

  .article-content-section p,
  .article-content-section li,
  .article-conclusion p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .article-content-section ul {
    gap: 8px;
    margin-top: 14px;
    padding-left: 20px;
  }

  .article-callout {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    margin: 8px 0 30px;
    padding: 16px 15px;
    border-radius: 15px;
  }

  .article-callout::before {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 1rem;
  }

  .article-callout strong {
    font-size: 1rem;
    line-height: 1.28;
  }

  .article-callout p {
    font-size: .96rem;
    line-height: 1.58;
  }

  .article-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .article-disclaimer {
    margin-top: 28px;
    padding-top: 16px;
    font-size: .86rem;
    line-height: 1.55;
  }

  .article-related {
    margin-top: 36px;
  }

  .article-related-grid {
    gap: 10px;
  }

  .article-related-card {
    gap: 6px;
    padding: 16px;
    border-radius: 15px;
  }

  .article-card {
    border-radius: 18px;
  }

  html[data-theme="light"] .article-card {
    background: linear-gradient(180deg, #f3f8fc 0%, #eaf3f9 100%);
    border-color: rgba(55, 114, 164, .28);
    box-shadow:
      0 12px 28px rgba(31, 76, 116, .12),
      0 0 0 1px rgba(255,255,255,.58) inset;
  }

  html[data-theme="light"] .article-card__visual {
    border-bottom-color: rgba(45, 111, 158, .28);
    background: linear-gradient(135deg, #d7e6f4 0%, #b8d5e9 54%, #b6dde0 100%);
    box-shadow:
      inset 0 3px 0 rgba(48, 126, 191, .28),
      inset 0 1px 0 rgba(255,255,255,.78),
      inset 0 -1px 0 rgba(45,102,145,.11);
  }

  html[data-theme="light"] .article-card__visual--key {
    background: linear-gradient(135deg, #dce8f7 0%, #b9d3ec 56%, #c5d5ee 100%);
  }

  html[data-theme="light"] .article-card__visual--rf {
    background: linear-gradient(135deg, #d5e9f3 0%, #add5e8 56%, #afe1df 100%);
  }

  html[data-theme="light"] .article-card__visual--ecu {
    background: linear-gradient(135deg, #d6e7f0 0%, #b3d3e3 54%, #a9d8d5 100%);
  }

  html[data-theme="light"] .article-card__visual::before {
    background:
      radial-gradient(circle at 86% 20%, rgba(38, 155, 207, .25) 0, rgba(38, 155, 207, 0) 30%),
      radial-gradient(circle at 14% 88%, rgba(86, 111, 222, .16) 0, rgba(86, 111, 222, 0) 28%),
      linear-gradient(90deg, rgba(255,255,255,.42) 0, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 72%, rgba(31,125,165,.08) 100%);
    opacity: .92;
  }

  html[data-theme="light"] .article-card__visual::after {
    border-color: rgba(53, 119, 164, .22);
    background: linear-gradient(145deg, rgba(255,255,255,.46), rgba(57,145,181,.10));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72),
      0 8px 24px rgba(38, 103, 145, .09);
  }

  html[data-theme="light"] .article-card__visual-badge {
    color: #183d5c;
    border-color: rgba(45, 107, 153, .30);
    background: rgba(250,253,255,.88);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.92),
      0 7px 18px rgba(38, 88, 125, .12);
    text-shadow: none;
  }

  html[data-theme="light"] .article-card__visual-grid {
    border-color: rgba(43, 113, 158, .24);
    background:
      linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.07)),
      linear-gradient(90deg, rgba(46, 105, 195, .18), rgba(46, 105, 195, 0) 42%, rgba(24, 151, 172, .20) 100%),
      repeating-linear-gradient(90deg, rgba(48, 107, 148, .18) 0 1px, transparent 1px 28px),
      repeating-linear-gradient(180deg, rgba(48, 107, 148, .12) 0 1px, transparent 1px 18px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.58),
      0 4px 12px rgba(39, 95, 132, .06);
  }

  html[data-theme="light"] .article-card__visual-icon {
    border-color: rgba(255,255,255,.56);
    background:
      linear-gradient(145deg, rgba(46, 105, 165, .78), rgba(39, 145, 166, .66)),
      linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.34),
      0 10px 22px rgba(32, 91, 128, .18),
      0 0 0 1px rgba(50,118,159,.08);
  }

  html[data-theme="light"] .article-card__body {
    background: linear-gradient(180deg, rgba(234,242,249,.98), rgba(229,239,248,.98));
  }

  html[data-theme="light"] .article-card__body p {
    color: #52687d;
  }

  html[data-theme="light"] .article-card__cta {
    color: #2459b8;
    border-color: rgba(64, 120, 182, .22);
    background: linear-gradient(135deg, rgba(89, 145, 211, .12), rgba(72, 168, 204, .09));
  }

  html[data-theme="dark"] .article-card {
    background: linear-gradient(180deg, #344457 0%, #303e50 100%);
    border-color: rgba(103, 188, 255, .34);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.05),
      0 12px 28px rgba(7, 13, 22, .20),
      0 0 0 1px rgba(82, 162, 230, .04);
  }

  html[data-theme="dark"] .article-card__body p {
    color: #c8d5e4;
  }

  .article-card__visual {
    min-height: 104px;
  }

  .article-card__visual-badge {
    top: 12px;
    left: 12px;
    min-height: 29px;
    padding-inline: 11px;
    font-size: .7rem;
    letter-spacing: .14em;
  }

  .article-card__visual-grid {
    inset: auto 12px 10px 12px;
    height: 34px;
    border-radius: 12px;
  }

  .article-card__visual-icon {
    width: 64px;
    height: 51px;
    border-radius: 16px;
    right: 12px;
    bottom: 17px;
  }

  .article-card__visual-icon::before {
    inset: 7px;
    border-radius: 12px;
  }

  .article-card__visual-icon svg {
    width: 32px;
    height: 32px;
  }

  .article-card__body {
    gap: 9px;
    padding: 15px 15px 16px;
  }

  .article-meta {
    gap: 6px;
    font-size: .72rem;
  }

  .article-meta::before {
    width: 7px;
    height: 7px;
  }

  .article-card__body h2 {
    font-size: 1.3rem;
    line-height: 1.14;
  }

  .article-card__body p {
    font-size: .94rem;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .article-card__cta {
    min-height: 44px;
    gap: 10px;
    margin-top: 2px;
    padding: 10px 11px;
    border: 1px solid rgba(82, 123, 255, .18);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(74, 118, 255, .075), rgba(80, 196, 255, .045));
    font-size: .92rem;
    line-height: 1.35;
  }

  html[data-theme="dark"] .article-card__cta {
    background: linear-gradient(135deg, rgba(79, 136, 255, .12), rgba(68, 191, 255, .07));
    border-color: rgba(112, 187, 255, .22);
  }

  .article-card__cta svg {
    width: 18px;
    height: 18px;
  }

  .page-hero--blog + .section {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .page-hero--blog + .section > .container.grid--3 {
    width: min(calc(100% - 28px), var(--max));
    gap: 14px;
  }
}

@media (max-width: 430px) {
  .site-tools { gap: 5px; }

  .language-button {
    min-width: 60px;
    height: 36px;
    padding-inline: 8px;
  }

  .language-button svg { display: none; }

  .theme-toggle {
    width: 66px;
    height: 36px;
  }

  .theme-toggle__track { border-radius: 12px; }
  .theme-toggle__track::before { border-radius: 9px; }
}

@media (max-width: 390px) {
  .brand [data-business-name] { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] .card:hover,
  .article-card:hover,
  .article-card:hover .article-card__visual-icon,
  .article-card:hover .article-card__visual::before,
  .article-card__cta:hover svg { transform: none; }
  .contact-launcher:not(.is-open) .contact-launcher__toggle:hover,
  .contact-launcher:not(.is-open) .contact-launcher__toggle:focus-visible { animation: none; }
  .trust-strip { overflow-x: auto; }
  .trust-row { animation: none; }
  .trust-group[aria-hidden="true"] { display: none; }
}

/* ================================================================
   K Lab homepage redesign — Stage 2
   ================================================================ */
:root {
  --radius: 18px;
  --radius-sm: 12px;
}

html[data-theme="dark"] {
  --bg: #101723;
  --bg-soft: #151f2d;
  --surface: #182334;
  --surface-2: #1d2a3c;
  --surface-3: #243449;
  --text: #f4f7fb;
  --muted: #aab6c7;
  --line: rgba(124, 183, 255, .18);
  --primary: #58b9ff;
  --primary-strong: #5b67ff;
  --accent: #9b67ff;
  --shadow: 0 24px 70px rgba(1, 7, 18, .28);
}

html[data-theme="light"] {
  --bg: #f6f8fb;
  --bg-soft: #f0f4f9;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --surface-3: #eef3f9;
  --text: #101827;
  --muted: #657184;
  --line: rgba(53, 78, 116, .12);
  --primary: #287cf0;
  --primary-strong: #5d52ef;
  --accent: #7c4dff;
  --shadow: 0 18px 55px rgba(24, 46, 78, .10);
}

html[data-theme="light"] body {
  background: #f7f9fc;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 82% 8%, rgba(88, 185, 255, .10), transparent 32rem),
    radial-gradient(circle at 12% 20%, rgba(155, 103, 255, .08), transparent 30rem),
    var(--bg);
}

body::before { opacity: .10; }

.site-header {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 8px 30px rgba(18, 35, 55, .04);
}

html[data-theme="light"] .site-header { background: rgba(255,255,255,.93); }
html[data-theme="dark"] .site-header { background: rgba(16,23,35,.90); }

.header-row { min-height: 72px; }
.brand-mark { width: 76px; height: 31px; }
.brand [data-business-name] { font-size: 1.08rem; }

.brand .brand-name__max {
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
}
.brand .brand-name__keycode {
  color: transparent !important;
  background: linear-gradient(90deg,#2a82ef 0%,#5b68ef 48%,#814cff 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.btn { border-radius: 10px; min-height: 44px; padding: 10px 17px; }
.btn--primary {
  background: linear-gradient(135deg,#1e78e8 0%,#5d50ef 100%);
  box-shadow: 0 10px 24px rgba(55, 98, 231, .22);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(55, 98, 231, .30); }

/* Premium hero */
.hero--keylab {
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: stretch;
  color: #fff;
  background:
    radial-gradient(circle at 72% 35%, rgba(43,120,255,.24), transparent 26rem),
    linear-gradient(105deg,#081523 0%,#0a1929 54%,#10253c 100%);
  border-bottom: 0;
}
.hero--keylab::after { display: none; }
.hero-grid--premium {
  width: min(100%, 1440px);
  min-height: 500px;
  grid-template-columns: .93fr 1.07fr;
  gap: 24px;
}
.hero--keylab .hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 620px;
  padding: 56px 8px 56px 0;
}
.hero--keylab .eyebrow {
  margin-bottom: 18px;
  color: #cbd7e8;
  border: 0;
  padding: 0;
}
.hero--keylab .eyebrow-dot { box-shadow: 0 0 18px rgba(72,217,255,.75); }
.hero--keylab h1 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.65rem, 4.5vw, 4.45rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.hero--keylab .hero-accent {
  color: transparent;
  background: linear-gradient(90deg,#35a8ff,#6a65ff 55%,#8c5cff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero--keylab .hero-accent--alt { background-image: linear-gradient(90deg,#41c4ff,#875cff); }
.hero--keylab .lead {
  max-width: 590px;
  margin-bottom: 27px;
  color: #c4cfdd;
  font-size: 1.02rem;
  line-height: 1.7;
}
.hero--keylab .hero-actions { margin-top: 0; }
.hero--keylab .btn--secondary {
  color: #101827 !important;
  background: #fff;
  border-color: rgba(255,255,255,.72);
}
.hero--keylab .hero-note { margin-top: 25px; color: #c3cedb; }
.hero--keylab .hero-note .check { color: #58dca1; }
.hero-media {
  position: relative;
  min-height: 500px;
  align-self: stretch;
  overflow: hidden;
}
.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg,#091725 0%,rgba(9,23,37,.58) 11%,transparent 36%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

/* Section rhythm */
.section { padding: 74px 0; }
.section-header { margin-bottom: 30px; max-width: 760px; }
.section-header h2 { margin-bottom: 8px; }
.section-header .eyebrow,
.diagnostic-showcase .eyebrow,
.cta-band--premium .eyebrow {
  display: inline-flex;
  padding: 5px 10px;
  color: #326fe4;
  background: rgba(68,122,243,.08);
  border: 1px solid rgba(68,122,243,.10);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .07em;
}

/* Service cards */
.section--services { background: var(--bg); }
.service-grid-premium { gap: 14px; }
.service-grid-premium .service-card {
  min-height: 286px;
  padding: 24px 22px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(28, 48, 78, .065);
}
.service-grid-premium .service-card::before { display: none; }
.service-grid-premium .service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(54,118,239,.24);
  box-shadow: 0 18px 42px rgba(35,64,108,.12);
}
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #327de9;
  background: #eaf3ff;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card--immo .service-icon { color: #7358ed; background: #f0ebff; }
.service-card--ecu .service-icon { color: #306fe5; background: #edf2ff; }
.service-card--diag .service-icon { color: #16a6b7; background: #e9f9fa; }
html[data-theme="dark"] .service-icon { background: rgba(70,145,255,.12); }
html[data-theme="dark"] .service-card--immo .service-icon { background: rgba(148,94,255,.12); }
html[data-theme="dark"] .service-card--diag .service-icon { background: rgba(40,207,218,.11); }
.service-grid-premium .service-card h3 { font-size: 1.05rem; margin-bottom: 11px; }
.service-grid-premium .service-card p { font-size: .91rem; line-height: 1.7; }
.service-grid-premium .card-link { font-size: .88rem; }

/* Diagnostic showcase */
.section--diagnostic-showcase { padding-top: 4px; }
.diagnostic-showcase {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.diagnostic-showcase__image { overflow: hidden; }
.diagnostic-showcase__image img { width: 100%; height: 100%; object-fit: cover; }
.diagnostic-showcase__content { align-self: center; padding: 38px 42px; }
.diagnostic-showcase__content h2 { font-size: clamp(1.55rem,2.5vw,2.25rem); margin: 12px 0 12px; }
.diagnostic-showcase__content p { color: var(--muted); }
.diagnostic-points { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 22px; }
.diagnostic-points span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .84rem; }
.diagnostic-points b { color: var(--primary); }

/* Process */
.section--process { background: var(--bg); }
.process-grid { gap: 18px; }
.process-step {
  min-height: 230px;
  padding: 25px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(28,48,78,.06);
}
.process-step::before,
.process-step::after { display: none; }
.process-step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.step-number { color: #7db5fb; font-size: 2rem; font-weight: 900; letter-spacing: -.06em; }
.process-step:nth-child(2) .step-number { color: #a88aef; }
.process-step:nth-child(3) .step-number { color: #79c8d3; }
.step-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #357fea;
  background: #edf4ff;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
}
.process-step:nth-child(2) .step-symbol { color: #7654ed; background: #f1ecff; }
.process-step:nth-child(3) .step-symbol { color: #0d9cad; background: #e9f8fa; }
html[data-theme="dark"] .step-symbol { background: rgba(79,145,255,.13); }

/* FAQ */
.section--faq-premium { padding-top: 42px; background: var(--bg-soft); }
.faq--wide { width: 100%; max-width: none; gap: 8px; }
.faq--wide details { border-radius: 11px; box-shadow: none; }
.faq--wide summary { padding: 17px 0; font-size: .96rem; }
.faq--wide details p { max-width: 940px; line-height: 1.72; }

/* Final CTA */
.cta-band--premium {
  color: #fff;
  background: linear-gradient(105deg,#176ee1 0%,#3f66eb 48%,#7348ee 100%);
  border: 0;
  border-radius: 14px;
  padding: 32px 34px;
  box-shadow: 0 20px 45px rgba(63,87,220,.20);
}
.cta-band--premium::before { opacity: .16; border-color: #fff; }
.cta-band--premium .eyebrow { color: rgba(255,255,255,.82); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.14); }
.cta-band--premium h2 { max-width: 640px; margin: 10px 0 7px; color: #fff; font-size: clamp(1.5rem,2.5vw,2.15rem); }
.cta-band--premium p { margin: 0; color: rgba(255,255,255,.78); }
.btn--light { color: #1b2a44 !important; background: #fff; border-color: rgba(255,255,255,.76); }
.btn--with-whatsapp { color: #159d55 !important; }

/* Footer becomes lighter and cleaner in light mode */
html[data-theme="light"] .site-footer {
  color: #1a2636;
  background: #fff;
  border-top: 1px solid var(--line);
}
html[data-theme="light"] .site-footer .footer-links,
html[data-theme="light"] .site-footer .footer-brand p,
html[data-theme="light"] .site-footer .footer-bottom { color: #697588; }
html[data-theme="light"] .site-footer .footer-title { color: #1a2636; }
html[data-theme="light"] .site-footer .brand .brand-name__max { color: #162235 !important; -webkit-text-fill-color: #162235 !important; text-shadow: none; }

html[data-theme="dark"] .site-footer { background: #0d1521; }

@media (max-width: 1120px) {
  .hero-grid--premium { grid-template-columns: 1fr 1fr; }
  .hero--keylab h1 { font-size: clamp(2.5rem,5vw,3.8rem); }
  .service-grid-premium { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  .hero--keylab { min-height: auto; }
  .hero-grid--premium { grid-template-columns: 1fr; gap: 0; }
  .hero--keylab .hero-copy { max-width: none; padding: 48px 0 22px; }
  .hero-media { min-height: 370px; margin-inline: -16px; }
  .hero-media::before { background: linear-gradient(180deg,#0a1929 0%,transparent 22%); }
  .hero-media img { min-height: 370px; }
  .diagnostic-showcase { grid-template-columns: 1fr; }
  .diagnostic-showcase__image { max-height: 280px; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-band--premium { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero--keylab .hero-copy { padding-top: 36px; }
  .hero--keylab h1 { font-size: clamp(2.15rem,10vw,3rem); }
  .hero--keylab .lead { font-size: .95rem; }
  .hero-media { min-height: 290px; }
  .hero-media img { min-height: 290px; }
  .service-grid-premium { grid-template-columns: 1fr; }
  .service-grid-premium .service-card { min-height: 0; }
  .diagnostic-showcase__content { padding: 28px 24px; }
  .diagnostic-points { display: grid; }
  .cta-band--premium { padding: 27px 22px; }
  .cta-band--premium .inline-actions { display: grid; grid-template-columns: 1fr; }
}

/* ================================================================
   K Lab homepage refresh
   ================================================================ */
:root {
  --bg: #0b1220;
  --bg-soft: #10192a;
  --surface: #121c2d;
  --surface-2: #172334;
  --surface-3: #203047;
  --text: #eef5ff;
  --muted: #9fb0c5;
  --line: rgba(111, 147, 198, .20);
  --primary: #3db8ff;
  --primary-strong: #3d6eff;
  --accent: #8b5cff;
  --success: #3ddc84;
  --shadow: 0 30px 80px rgba(4, 10, 20, .38);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 86% 6%, rgba(61, 184, 255, .15), transparent 28rem),
    radial-gradient(circle at 6% 5%, rgba(139, 92, 255, .11), transparent 24rem),
    linear-gradient(180deg, #0b1220 0%, #0d1524 100%);
}

html[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-soft: #edf2f8;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #e6edf7;
  --text: #0e1a2d;
  --muted: #687689;
  --line: rgba(38, 74, 118, .12);
  --primary: #2d74ff;
  --primary-strong: #6d47ff;
  --accent: #7a59ff;
  --success: #22b75f;
  --shadow: 0 24px 64px rgba(28, 59, 105, .10);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 84% 4%, rgba(61, 184, 255, .10), transparent 28rem),
    radial-gradient(circle at 8% 3%, rgba(139, 92, 255, .09), transparent 26rem),
    linear-gradient(180deg, #f5f8fc 0%, #f1f5fa 100%);
}

html[data-theme="light"] .site-header {
  background: rgba(255,255,255,.9);
}

html[data-theme="light"] .site-footer {
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

html[data-theme="light"] .site-footer .footer-links,
html[data-theme="light"] .site-footer .footer-brand p,
html[data-theme="light"] .site-footer .footer-bottom {
  color: var(--muted);
}

html[data-theme="light"] .site-footer .brand .brand-name__max {
  color: #102331 !important;
  -webkit-text-fill-color: #102331 !important;
  text-shadow: none;
}

.site-footer {
  padding-top: 48px;
  background: linear-gradient(180deg, rgba(8, 15, 29, .9) 0%, rgba(8, 13, 24, 1) 100%);
}

.hero--keylab {
  padding: 28px 0 34px;
  background: transparent;
}

.hero--keylab::after,
.hero--keylab::before {
  display: none;
}

.hero-keylab__inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(9, 19, 41, .96), rgba(12, 27, 54, .94)),
    radial-gradient(circle at 82% 34%, rgba(61, 184, 255, .18), transparent 22rem),
    radial-gradient(circle at 8% 0%, rgba(139, 92, 255, .14), transparent 18rem);
  box-shadow: 0 40px 90px rgba(9, 18, 34, .24);
}

.hero-title {
  max-width: 660px;
  margin-bottom: 18px;
}

.hero-title span {
  display: block;
}

.hero-title .gradient-text {
  width: auto;
  margin-top: .06em;
}

.eyebrow--clean {
  padding-inline: 0;
  border: 0;
  background: transparent;
  color: rgba(232, 241, 255, .86);
  letter-spacing: .08em;
}

.hero--keylab .lead {
  max-width: 630px;
  margin-bottom: 30px;
  color: rgba(230, 239, 252, .76);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero--keylab .btn--secondary,
.hero--keylab .btn--ghost {
  color: #09111f;
  background: rgba(255,255,255,.98);
  border-color: rgba(255,255,255,.42);
}

.hero--keylab .btn--secondary:hover,
.hero--keylab .btn--ghost:hover {
  background: #ffffff;
}

.hero-stage {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: center;
}

.hero-stage__visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(0,0,0,.18);
}

.hero-chip {
  position: absolute;
  max-width: 220px;
  padding: 14px 16px;
  color: #eef6ff;
  background: rgba(11, 20, 36, .84);
  border: 1px solid rgba(103, 136, 181, .45);
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(1, 7, 17, .26);
  backdrop-filter: blur(14px);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-chip--top { top: 18px; right: 18px; }
.hero-chip--mid { top: 170px; left: -18px; }
.hero-chip--bottom { right: 12px; bottom: 20px; max-width: 245px; }

.section--home-services {
  padding-top: 52px;
}

.home-card-grid {
  align-items: stretch;
}

.service-card--home {
  padding: 26px 24px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(250,252,255,.88));
  border: 1px solid rgba(108, 136, 177, .14);
  box-shadow: 0 18px 42px rgba(33, 69, 119, .08);
}

html[data-theme="dark"] .service-card--home {
  background: linear-gradient(180deg, rgba(18, 28, 45, .95), rgba(20, 32, 50, .92));
  border-color: rgba(108, 136, 177, .16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.service-card--home::before {
  display: none;
}

.service-card--home:hover {
  transform: translateY(-8px);
  border-color: rgba(61, 116, 255, .24);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 20px rgba(67, 110, 173, .10);
}

.service-card__icon svg {
  width: 25px;
  height: 25px;
}

.service-card__icon--blue { color: #347dff; background: linear-gradient(180deg, #eaf2ff, #dce8ff); }
.service-card__icon--violet { color: #7253ff; background: linear-gradient(180deg, #f2edff, #e5dcff); }
.service-card__icon--indigo { color: #4860ff; background: linear-gradient(180deg, #ecf0ff, #d9e1ff); }
.service-card__icon--teal { color: #19a9c8; background: linear-gradient(180deg, #e9fafd, #d8f1f7); }

.service-card--home h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.service-card--home p {
  min-height: 104px;
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.7;
}

.service-card--home .card-link {
  margin-top: auto;
  font-weight: 800;
}

.diagnostic-strip {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,249,252,.88));
  border: 1px solid rgba(108, 136, 177, .14);
  box-shadow: 0 20px 46px rgba(33, 69, 119, .08);
}

html[data-theme="dark"] .diagnostic-strip {
  background: linear-gradient(180deg, rgba(18, 28, 45, .94), rgba(20, 32, 50, .92));
  border-color: rgba(108, 136, 177, .16);
}

.diagnostic-strip__media img {
  width: 100%;
  border-radius: 22px;
}

.diagnostic-strip__content h2 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.diagnostic-strip__content p {
  margin: 0 0 24px;
  color: var(--muted);
}

.diagnostic-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.diagnostic-features strong {
  display: block;
  margin-bottom: 5px;
  font-size: .98rem;
}

.diagnostic-features span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.section--process {
  padding-top: 82px;
  padding-bottom: 82px;
}

.section--process .section-header {
  max-width: 580px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.process-step {
  position: relative;
  padding: 28px 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(113, 141, 182, .12);
  box-shadow: 0 18px 40px rgba(34, 61, 103, .08);
}

html[data-theme="dark"] .process-step {
  background: rgba(17, 26, 40, .92);
  border-color: rgba(113, 141, 182, .16);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.process-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.process-step__num {
  color: rgba(61, 116, 255, .55);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
}

.process-step__arrow {
  color: rgba(91, 119, 164, .72);
  font-size: 1.35rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.section--faq {
  padding-top: 72px;
}

.faq--wide {
  display: grid;
  gap: 14px;
}

.faq--wide details {
  padding: 0 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(113, 141, 182, .12);
}

html[data-theme="dark"] .faq--wide details {
  background: rgba(18, 28, 45, .92);
  border-color: rgba(113, 141, 182, .16);
}

.faq--wide summary {
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 760;
}

.faq--wide details p {
  padding-bottom: 18px;
  line-height: 1.7;
}

.cta-band--home {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  color: #fff;
  background: linear-gradient(120deg, #2a63ff 0%, #5b61ff 45%, #7b54ff 100%);
  border: 0;
  box-shadow: 0 28px 60px rgba(69, 85, 196, .26);
}

.cta-band--home::before {
  opacity: .22;
  right: 5%;
  border-color: rgba(255,255,255,.28);
}

.cta-band--home h2 {
  max-width: 610px;
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
}

.cta-band--home p {
  max-width: 520px;
  color: rgba(255,255,255,.82);
}

.eyebrow--light {
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.16);
}

.inline-actions--stacked {
  align-items: center;
}

.inline-actions--stacked .btn--secondary {
  color: #14254a;
  background: #fff;
  border-color: rgba(255,255,255,.4);
}

.inline-actions--stacked .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
}

.inline-actions--stacked .btn--ghost:hover {
  background: rgba(255,255,255,.16);
}

@media (max-width: 1120px) {
  .hero-keylab__inner,
  .diagnostic-strip {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 420px;
  }

  .diagnostic-features,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band--home {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero--keylab {
    padding-top: 20px;
  }

  .hero-keylab__inner {
    padding: 22px;
    gap: 20px;
    border-radius: 26px;
  }

  .hero-title .gradient-text {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .hero-stage {
    min-height: 300px;
  }

  .hero-chip {
    max-width: 190px;
    padding: 10px 12px;
    font-size: .84rem;
  }

  .hero-chip--mid {
    left: 8px;
    top: 126px;
  }

  .service-card--home p {
    min-height: 0;
  }

  .diagnostic-features,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .inline-actions--stacked {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-band--home {
    padding: 28px 22px;
  }
}

.brand [data-business-name][aria-label="K Lab"] {
  gap: 0;
}

.brand [data-business-name][aria-label="K Lab"] .brand-name__keycode {
  margin-left: -.01em;
}


/* ================================================================
   Stage 2 homepage polish
   ================================================================ */
html[data-theme="dark"] {
  --bg: #111827;
  --bg-soft: #161f31;
  --surface: #172133;
  --surface-2: #1d2940;
  --surface-3: #23324d;
  --text: #edf4ff;
  --muted: #a6b7cb;
  --line: rgba(143, 171, 211, .18);
  --shadow: 0 28px 80px rgba(3, 10, 22, .34);
}

.hero-keylab__inner {
  grid-template-columns: minmax(0, .93fr) minmax(430px, 1.07fr);
  gap: 34px;
  padding: clamp(26px, 4.6vw, 46px);
  border-radius: 28px;
}

.hero-stage {
  min-height: 485px;
  overflow: hidden;
  border-radius: 26px;
  background: #0c1628;
  box-shadow: inset 0 0 0 1px rgba(109, 140, 186, .18), 0 24px 56px rgba(0, 0, 0, .22);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 28, .18) 0%, rgba(8, 15, 28, .03) 38%, rgba(8, 15, 28, .14) 100%),
    radial-gradient(circle at 68% 28%, rgba(52, 151, 255, .22), transparent 22rem),
    radial-gradient(circle at 20% 78%, rgba(124, 88, 255, .14), transparent 18rem);
  z-index: 1;
  pointer-events: none;
}

.hero-stage__bg,
.hero-stage__keys {
  position: absolute;
  inset: 0;
}

.hero-stage__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) blur(.2px);
}

.hero-stage__keys {
  inset: auto 18px -4px auto;
  width: min(78%, 470px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.38));
  animation: floatVisual 6.5s ease-in-out infinite;
}

.hero-chip {
  z-index: 3;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(10, 19, 33, .78);
  border: 1px solid rgba(119, 151, 197, .36);
  box-shadow: 0 18px 32px rgba(4, 8, 18, .28);
  font-size: .92rem;
}

.hero-chip--top { top: 22px; right: 20px; }
.hero-chip--mid { top: 176px; left: 16px; }
.hero-chip--bottom { right: 18px; bottom: 24px; max-width: 232px; }

.hero--keylab .btn--secondary,
.hero--keylab .btn--ghost {
  color: #11203d;
}

.hero-title .gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #3b9eff 0%, #5c7bff 44%, #8d5dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section--home-services { padding-top: 50px; }

.service-card--home p {
  min-height: 112px;
}

.diagnostic-strip {
  gap: 34px;
  padding: 18px;
  border-radius: 26px;
}

.diagnostic-strip__media img {
  display: block;
  min-height: 280px;
  object-fit: cover;
}

.diagnostic-features {
  gap: 18px;
}

.diagnostic-features div {
  padding-top: 8px;
}

.process-step__arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5f81bf;
  background: rgba(100, 127, 173, .11);
}

.process-step:last-child .process-step__arrow {
  color: #28a3bf;
  background: rgba(40, 163, 191, .12);
}

html[data-theme="dark"] .faq--wide summary,
html[data-theme="dark"] .faq--wide details p {
  color: var(--text);
}

@media (max-width: 1120px) {
  .hero-stage__keys {
    width: min(72%, 420px);
    right: 6px;
  }
}

@media (max-width: 760px) {
  .hero-stage {
    min-height: 330px;
  }

  .hero-stage__keys {
    inset: auto 0 -6px auto;
    width: min(82%, 350px);
  }

  .hero-chip {
    font-size: .82rem;
    padding: 10px 11px;
  }

  .hero-chip--top { top: 14px; right: 12px; }
  .hero-chip--mid { top: 126px; left: 10px; }
  .hero-chip--bottom { right: 12px; bottom: 16px; }

  .service-card--home p {
    min-height: 0;
  }

  .diagnostic-strip__media img {
    min-height: 220px;
  }
}


/* ================================================================
   Stage 2B — homepage mockup parity
   ================================================================ */

/* Light is the polished commercial presentation; dark remains softer, not pitch-black. */
html[data-theme="dark"] {
  --bg: #121a28;
  --bg-soft: #182233;
  --surface: #1b2738;
  --surface-2: #213047;
  --surface-3: #293a55;
  --text: #eef5ff;
  --muted: #a8b8cb;
  --line: rgba(142, 171, 211, .17);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 86% 5%, rgba(70, 157, 255, .13), transparent 27rem),
    radial-gradient(circle at 8% 6%, rgba(132, 91, 255, .09), transparent 24rem),
    linear-gradient(180deg, #121a28 0%, #151f2f 100%);
}

/* Header: cleaner and closer to the approved mockup. */
.header-row { min-height: 68px; }
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme="light"] .site-header {
  background: rgba(255,255,255,.96);
  border-bottom-color: rgba(34, 71, 118, .10);
  box-shadow: 0 7px 24px rgba(35, 65, 107, .055);
}
html[data-theme="dark"] .site-header {
  background: rgba(22, 31, 47, .94);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

/* Full-width photographic hero like the accepted design concept. */
.hero--keylab {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 13, 26, .96) 0%, rgba(5, 14, 29, .90) 36%, rgba(6, 16, 33, .47) 66%, rgba(6, 16, 33, .30) 100%),
    url("../img/hero-cabin-keylab.webp") center 47% / cover no-repeat;
  border-bottom: 0;
}

.hero--keylab::before {
  display: block;
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 73% 22%, rgba(61, 164, 255, .18), transparent 23rem),
    radial-gradient(circle at 56% 79%, rgba(117, 78, 255, .12), transparent 22rem),
    linear-gradient(180deg, rgba(4, 12, 24, .10), rgba(4, 12, 24, .34));
}

.hero--keylab::after { display: none; }

.hero-keylab__inner {
  position: relative;
  z-index: 2;
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 32px;
  padding: 54px 0 52px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero--keylab .hero-copy {
  align-self: center;
  max-width: 600px;
}

.hero--keylab .eyebrow--clean {
  margin-bottom: 14px;
  color: rgba(212, 228, 247, .78);
  font-size: .74rem;
  letter-spacing: .085em;
}

.hero--keylab .hero-title {
  max-width: 610px;
  margin-bottom: 17px;
  font-size: clamp(2.55rem, 4.2vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hero-title span { display: block; }

.hero-title .gradient-text {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: transparent;
  background: linear-gradient(90deg, #2f9dff 0%, #4f7cff 46%, #955dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero--keylab .lead {
  max-width: 590px;
  margin-bottom: 27px;
  color: rgba(224, 234, 247, .82);
  font-size: 1rem;
  line-height: 1.72;
}

.hero--keylab .hero-actions { gap: 13px; }

.hero-mobile-cta {
  display: none;
}

.hero-phone-contact {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 5px;
  width: min(100%, 760px);
  margin-top: clamp(28px, 3.5vh, 38px);
  color: rgba(220, 231, 245, .82);
  line-height: 1.35;
}

.hero-phone-contact > svg {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  width: 25px;
  height: 25px;
  color: #65dcff;
  filter: drop-shadow(0 0 10px rgba(101, 220, 255, .22));
}

.hero-phone-contact__prompt {
  grid-column: 1 / -1;
  grid-row: 1;
  width: max-content;
  max-width: none;
  color: rgba(220, 231, 245, .82);
  font-size: .91rem;
  font-weight: 650;
  white-space: nowrap;
}

.hero-phone-contact__desktop,
.hero-phone-contact__mobile {
  grid-column: 2;
  grid-row: 2;
  width: fit-content;
  color: #fff;
  font-size: clamp(1.52rem, 2vw, 1.86rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .012em;
  text-shadow: 0 5px 20px rgba(0, 0, 0, .28);
}

.hero-phone-contact__mobile {
  display: none;
  text-decoration: none;
}

.hero--keylab .btn { min-height: 45px; }
.hero--keylab .btn--secondary {
  color: #16233a;
  background: rgba(255,255,255,.97);
  border-color: rgba(255,255,255,.68);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.hero-stage {
  position: relative;
  min-height: 440px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.hero-stage::before { display: none; }

.hero-stage__keys {
  position: absolute;
  z-index: 2;
  width: min(84%, 500px);
  height: auto;
  inset: 14px 10px auto auto;
  filter: drop-shadow(0 30px 34px rgba(0,0,0,.43));
  animation: floatVisual 6.5s ease-in-out infinite;
}

.hero-chip {
  z-index: 3;
  max-width: 220px;
  padding: 13px 15px;
  color: #eef6ff;
  background: rgba(10, 20, 36, .77);
  border: 1px solid rgba(118, 157, 211, .35);
  border-radius: 13px;
  box-shadow: 0 16px 32px rgba(1, 7, 17, .26);
  backdrop-filter: blur(13px);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.28;
}
.hero-chip--top { top: 36px; right: 6px; }
.hero-chip--mid { top: 190px; left: 0; }
.hero-chip--bottom { right: 2px; bottom: 34px; max-width: 228px; }

/* The rest of the light homepage uses quiet white surfaces and tight vertical rhythm. */
html[data-theme="light"] .section--home-services,
html[data-theme="light"] .section--process,
html[data-theme="light"] .section--faq,
html[data-theme="light"] main > .section.section--compact {
  background: #f7f9fc;
}

.section--home-services {
  padding-top: 48px;
  padding-bottom: 42px;
}
.section--home-services .section-header { margin-bottom: 24px; }
.section--home-services .section-header h2 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); }

.home-card-grid { gap: 16px; }
.service-card--home {
  min-height: 288px;
  padding: 25px 22px 23px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(37, 66, 106, .07);
}
html[data-theme="light"] .service-card--home {
  background: #fff;
  border-color: rgba(72, 103, 146, .13);
}
.service-card--home p {
  min-height: 106px;
  margin-bottom: 18px;
  font-size: .94rem;
  line-height: 1.68;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border-radius: 16px;
}
.service-card--home h3 { font-size: 1.08rem; }
.service-card--home .card-link { font-size: .88rem; }

/* Diagnostic block mirrors the approved concept: image left, concise proof points right. */
main > .section.section--compact:has(.diagnostic-strip) {
  padding-top: 22px;
  padding-bottom: 40px;
}
.diagnostic-strip {
  grid-template-columns: minmax(300px, .93fr) minmax(0, 1.07fr);
  gap: 28px;
  padding: 10px;
  overflow: hidden;
  border-radius: 19px;
  box-shadow: 0 15px 38px rgba(36, 64, 101, .07);
}
html[data-theme="light"] .diagnostic-strip {
  background: #fff;
  border-color: rgba(73, 105, 149, .13);
}
.diagnostic-strip__media {
  min-height: 258px;
  overflow: hidden;
  border-radius: 15px;
}
.diagnostic-strip__media img {
  width: 100%;
  height: 100%;
  min-height: 258px;
  object-fit: cover;
  border-radius: 15px;
}
.diagnostic-strip__content { padding: 20px 26px 20px 8px; }
.diagnostic-strip__content h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}
.diagnostic-strip__content p { font-size: .92rem; line-height: 1.65; }
.diagnostic-features { gap: 16px; margin-top: 6px; }
.diagnostic-features strong { font-size: .9rem; }
.diagnostic-features span { font-size: .8rem; }

/* Process cards: explicit 01 / 02 / 03 and real visual progression. */
.section--process {
  padding-top: 34px;
  padding-bottom: 48px;
}
.section--process .section-header { margin-bottom: 24px; }
.process-grid { gap: 20px; }
.process-step {
  min-height: 226px;
  padding: 25px 24px;
  border-radius: 18px;
}
html[data-theme="light"] .process-step { background: #fff; }
.process-step__num {
  font-size: 2.45rem;
  color: #8ab7ff;
}
.process-step:nth-child(2) .process-step__num { color: #b3a1ff; }
.process-step:nth-child(3) .process-step__num { color: #8bcbd5; }
.process-step__arrow {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6186c0;
  background: rgba(91, 127, 184, .09);
}
.process-step:last-child .process-step__arrow {
  color: #169caf;
  background: rgba(22, 156, 175, .11);
}
.process-step p { font-size: .92rem; line-height: 1.67; }

/* FAQ closer to the slim accordion in the concept. */
.section--faq {
  padding-top: 42px;
  padding-bottom: 46px;
}
.section--faq .section-header { margin-bottom: 20px; }
.faq--wide { gap: 6px; }
.faq--wide details {
  padding: 0 20px;
  border-radius: 10px;
  box-shadow: none;
}
html[data-theme="light"] .faq--wide details { background: #fff; }
.faq--wide summary { padding: 15px 0; font-size: .93rem; }
.faq--wide details p { max-width: 930px; padding-bottom: 17px; font-size: .91rem; }

/* Approved blue-violet CTA. */
main > .section.section--compact:has(.cta-band--home) {
  padding-top: 12px;
  padding-bottom: 42px;
}
.cta-band--home {
  padding: 27px 30px;
  border-radius: 13px;
  background: linear-gradient(105deg, #1769e8 0%, #405fe8 48%, #7446ec 100%);
  box-shadow: 0 20px 44px rgba(67, 82, 199, .22);
}
.cta-band--home h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.cta-band--home p { margin-bottom: 0; }

/* Light footer is intentionally light — no hard black block. */
html[data-theme="light"] .site-footer {
  color: #17253a;
  background: #fff;
  border-top: 1px solid rgba(69, 100, 141, .10);
}
html[data-theme="light"] .site-footer .footer-title { color: #17253a; }
html[data-theme="light"] .site-footer .footer-links,
html[data-theme="light"] .site-footer .footer-brand p,
html[data-theme="light"] .site-footer .footer-bottom { color: #6e7c8f; }

html[data-theme="dark"] .site-footer {
  background: #121b2a;
  border-top: 1px solid rgba(139, 171, 213, .12);
}

@media (max-width: 1120px) {
  .hero-keylab__inner {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }
  .hero-stage__keys { width: min(88%, 450px); }
  .diagnostic-strip { grid-template-columns: 1fr; }
  .diagnostic-strip__content { padding: 18px 18px 22px; }
}

@media (max-width: 860px) {
  .hero--keylab {
    background-position: 62% center;
  }
  .hero-keylab__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 0 26px;
  }
  .hero--keylab .hero-copy { max-width: 650px; }
  .hero-stage { min-height: 330px; }
  .hero-stage__keys { inset: 0 1% auto auto; width: min(72%, 390px); }
  .hero-chip--mid { left: 8%; top: 138px; }
  .hero-chip--top { right: 2%; }
  .hero-chip--bottom { right: 3%; bottom: 22px; }
  .diagnostic-features { grid-template-columns: 1fr; }
}



/* ================================================================
   Stage 3 homepage refinements from visual review
   ================================================================ */

/* Keep the desktop hero physically stable while translations change. */
.hero--keylab {
  background: #071426;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(1.22) saturate(1.06) contrast(.98);
  transform: scale(1.01);
}

html[data-theme="light"] .hero--keylab {
  background: #dce5ef;
}

html[data-theme="light"] .hero-backdrop {
  opacity: .84;
  filter: brightness(1.56) saturate(.96) contrast(.88);
}

html[data-theme="dark"] .hero-backdrop {
  opacity: 1;
  filter: brightness(1.22) saturate(1.06) contrast(.98);
}

.hero--keylab::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 12, 25, .80) 0%, rgba(5, 14, 28, .64) 35%, rgba(6, 16, 33, .18) 64%, rgba(6, 16, 33, .05) 100%),
    radial-gradient(circle at 76% 24%, rgba(72, 174, 255, .13), transparent 24rem),
    linear-gradient(180deg, rgba(4, 12, 24, .02), rgba(4, 12, 24, .09));
}

html[data-theme="light"] .hero--keylab::before {
  background:
    linear-gradient(90deg, rgba(4, 12, 25, .84) 0%, rgba(5, 14, 28, .66) 35%, rgba(6, 16, 33, .13) 64%, rgba(6, 16, 33, .02) 100%),
    radial-gradient(circle at 76% 24%, rgba(72, 174, 255, .09), transparent 24rem),
    linear-gradient(180deg, rgba(4, 12, 24, .01), rgba(4, 12, 24, .08));
}

@media (min-width: 861px) {
  .hero--keylab {
    height: 560px;
    min-height: 560px;
  }

  .hero-keylab__inner {
    height: 100%;
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-stage {
    min-height: 0;
    height: 100%;
  }
}

/* More visible but still restrained movement for the two key fobs. */
.hero-stage__keys {
  animation: keyFloatWide 7.2s ease-in-out infinite;
  transform-origin: 55% 55%;
  will-change: transform;
}

@keyframes keyFloatWide {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  25% { transform: translate3d(-13px, -18px, 0) rotate(1.2deg); }
  50% { transform: translate3d(11px, -7px, 0) rotate(2.1deg); }
  75% { transform: translate3d(-5px, 14px, 0) rotate(.1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage__keys { animation: none; }
}

/* Service abbreviations are deliberate technical labels, not abstract pictograms. */
.service-card__code {
  width: auto;
  min-width: 54px;
  height: 48px;
  padding: 0 10px;
  border-radius: 14px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1;
  white-space: nowrap;
}

.service-card__icon--blue.service-card__code {
  color: #246eea;
  background: linear-gradient(180deg, #edf5ff 0%, #ddeaff 100%);
}
.service-card__icon--violet.service-card__code {
  color: #6d4be9;
  background: linear-gradient(180deg, #f3efff 0%, #e6ddff 100%);
}
.service-card__icon--indigo.service-card__code {
  color: #4259e7;
  background: linear-gradient(180deg, #eef1ff 0%, #dfe5ff 100%);
}
.service-card__icon--teal.service-card__code {
  color: #108ca8;
  background: linear-gradient(180deg, #ecfbfd 0%, #daf3f7 100%);
}

html[data-theme="dark"] .service-card__code {
  border: 1px solid rgba(140, 174, 226, .13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
html[data-theme="dark"] .service-card__icon--blue.service-card__code { color: #79b6ff; background: rgba(48, 111, 218, .16); }
html[data-theme="dark"] .service-card__icon--violet.service-card__code { color: #b29aff; background: rgba(113, 78, 213, .16); }
html[data-theme="dark"] .service-card__icon--indigo.service-card__code { color: #9eacff; background: rgba(65, 82, 207, .16); }
html[data-theme="dark"] .service-card__icon--teal.service-card__code { color: #74d9e7; background: rgba(22, 143, 162, .15); }

/* Diagnostic photo belongs to the card itself: no nested framed-photo effect. */
.diagnostic-strip {
  grid-template-columns: minmax(330px, .96fr) minmax(0, 1.04fr);
  gap: 0;
  padding: 0;
  min-height: 314px;
}

.diagnostic-strip__media {
  position: relative;
  min-height: 314px;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface);
}

.diagnostic-strip__media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, transparent 72%, color-mix(in srgb, var(--surface) 84%, transparent) 94%, var(--surface) 100%);
}

.diagnostic-strip__media img {
  width: 100%;
  height: 100%;
  min-height: 314px;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.025);
  filter: saturate(.95) contrast(.98);
}

.diagnostic-strip__content {
  align-self: center;
  padding: 34px 34px 34px 20px;
}

.diagnostic-strip__content h2 {
  font-size: clamp(1.72rem, 2.7vw, 2.35rem);
  line-height: 1.14;
}

.diagnostic-strip__content p {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.72;
}

.diagnostic-features {
  gap: 20px;
}

.diagnostic-features strong { font-size: .96rem; }
.diagnostic-features span { font-size: .86rem; line-height: 1.55; }

/* Four real stages now finish with execution of the agreed work. */
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  min-height: 248px;
  padding: 24px 21px;
}

.process-step:nth-child(4) .process-step__num { color: #62bdd0; }
.process-step__arrow--done {
  color: #0e9db4 !important;
  background: rgba(15, 157, 180, .12) !important;
}

/* FAQ answers are intentionally substantive, but stay visually compact. */
.faq--wide details p {
  max-width: 1000px;
  font-size: .96rem;
  line-height: 1.78;
}

/* Telegram should read immediately as Telegram next to WhatsApp. */
.btn--telegram {
  color: #fff !important;
  background: #229ed9;
  border-color: #229ed9;
  box-shadow: 0 12px 28px rgba(34, 158, 217, .24);
}

.btn--telegram:hover {
  background: #168fca;
  border-color: #168fca;
  box-shadow: 0 15px 32px rgba(34, 158, 217, .32);
}

[data-telegram-link][aria-disabled="true"],
[data-telegram-form]:disabled,
.contact-launcher.is-open [data-contact-telegram][aria-disabled="true"],
[data-footer-telegram][aria-disabled="true"] {
  opacity: .72;
  cursor: default;
}

.btn--telegram svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

@media (max-width: 860px) {
  .hero--keylab {
    height: auto;
    min-height: 0;
  }

  .hero-backdrop {
    object-position: 63% center;
    filter: brightness(1.15) saturate(1.03);
  }

  .hero--keylab::before {
    background: linear-gradient(180deg, rgba(4, 12, 25, .82) 0%, rgba(5, 14, 28, .67) 48%, rgba(6, 16, 33, .30) 100%);
  }

  .diagnostic-strip { grid-template-columns: 1fr; }
  .diagnostic-strip__media,
  .diagnostic-strip__media img { min-height: 270px; }
  .diagnostic-strip__media::after {
    background: linear-gradient(180deg, transparent 0%, transparent 68%, color-mix(in srgb, var(--surface) 85%, transparent) 94%, var(--surface) 100%);
  }
  .diagnostic-strip__content { padding: 14px 24px 28px; }
}


/* ================================================================
   K Lab brand asset integration
   ================================================================ */
.brand {
  gap: 12px;
}

.brand-mark {
  width: 96px;
  height: 34px;
  overflow: visible;
}

.brand-mark img {
  object-fit: contain;
  object-position: left center;
}

.brand [data-business-name] {
  gap: 0;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.brand .brand-name__max {
  color: #102331 !important;
  -webkit-text-fill-color: #102331 !important;
  background: none !important;
  text-shadow: none;
}

.brand .brand-name__keycode {
  color: #00cfff !important;
  background: none !important;
  -webkit-text-fill-color: #00cfff !important;
  filter: none !important;
  text-shadow: 0 0 10px rgba(0, 207, 255, .18);
}

html[data-theme="dark"] .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] .brand .brand-name__keycode {
  color: #00cfff !important;
  -webkit-text-fill-color: #00cfff !important;
  text-shadow:
    0 0 7px rgba(0, 207, 255, .52),
    0 0 16px rgba(0, 207, 255, .22);
}

/* The footer is intentionally dark in both themes. */
.site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="dark"] .site-footer {
  color: #f3f7fb;
  background: linear-gradient(180deg, #1c222b 0%, #151a21 100%);
  border-top: 1px solid rgba(122, 151, 187, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.site-footer .footer-title,
html[data-theme="light"] .site-footer .footer-title,
html[data-theme="dark"] .site-footer .footer-title {
  color: #ffffff;
}

.site-footer .footer-links,
.site-footer .footer-brand p,
.site-footer .footer-bottom,
html[data-theme="light"] .site-footer .footer-links,
html[data-theme="light"] .site-footer .footer-brand p,
html[data-theme="light"] .site-footer .footer-bottom,
html[data-theme="dark"] .site-footer .footer-links,
html[data-theme="dark"] .site-footer .footer-brand p,
html[data-theme="dark"] .site-footer .footer-bottom {
  color: #aeb9c8;
}

.site-footer .footer-links a:hover {
  color: #00cfff;
}

.site-footer .footer-bottom {
  border-top-color: rgba(122, 151, 187, .16);
}

.site-footer .brand-mark {
  width: 106px;
  height: 38px;
}

.site-footer .brand .brand-name__max,
html[data-theme="light"] .site-footer .brand .brand-name__max,
html[data-theme="dark"] .site-footer .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}

.site-footer .brand .brand-name__keycode,
html[data-theme="light"] .site-footer .brand .brand-name__keycode,
html[data-theme="dark"] .site-footer .brand .brand-name__keycode {
  color: #00cfff !important;
  -webkit-text-fill-color: #00cfff !important;
  text-shadow: 0 0 10px rgba(0,207,255,.34);
}

@media (max-width: 640px) {
  .brand {
    gap: 9px;
  }

  .brand-mark,
  .site-footer .brand-mark {
    width: 52px;
    height: 34px;
  }

  .brand [data-business-name] {
    font-size: .98rem;
  }
}


/* ================================================================
   Stage 5 visual corrections after desktop review
   ================================================================ */

/* Hero occupies the full visible area under the sticky header.
   It no longer changes height when a translation has different line breaks. */
@media (min-width: 861px) {
  .hero--keylab {
    /* Keep the photographic first screen strictly inside the visible viewport.
       The current desktop header is 90px high; narrower desktop layouts override
       this variable to their actual 84px header height. */
    --keylab-desktop-header-height: 90px;
    height: calc(100vh - var(--keylab-desktop-header-height));
    height: calc(100dvh - var(--keylab-desktop-header-height));
    min-height: 0;
    max-height: calc(100vh - var(--keylab-desktop-header-height));
    max-height: calc(100dvh - var(--keylab-desktop-header-height));
    overflow: hidden;
  }

  .hero-keylab__inner {
    height: 100%;
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-stage {
    min-height: 0;
    height: min(72vh, 650px);
    max-height: 100%;
    align-self: center;
  }
}

/* Compact neon technical labels in the top-left corner of each service card. */
.service-card__icon.service-card__code,
.service-card__icon--blue.service-card__code,
.service-card__icon--violet.service-card__code,
.service-card__icon--indigo.service-card__code,
.service-card__icon--teal.service-card__code,
html[data-theme="dark"] .service-card__icon--blue.service-card__code,
html[data-theme="dark"] .service-card__icon--violet.service-card__code,
html[data-theme="dark"] .service-card__icon--indigo.service-card__code,
html[data-theme="dark"] .service-card__icon--teal.service-card__code {
  align-self: flex-start;
  width: auto;
  min-width: 58px;
  height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #00cfff 0%, #079de8 100%);
  border: 1px solid rgba(0, 207, 255, .42);
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(0, 174, 233, .18), inset 0 1px 0 rgba(255,255,255,.22);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-shadow: 0 1px 2px rgba(0, 61, 96, .35);
}

/* Diagnostic photograph fills the full card height and dissolves into the card
   at the top, bottom and text side instead of sitting inside a second frame. */
.diagnostic-strip {
  grid-template-columns: minmax(390px, .98fr) minmax(0, 1.02fr);
  min-height: 390px;
}

.diagnostic-strip__media {
  position: relative;
  min-height: 390px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 0;
}

.diagnostic-strip__media img {
  position: absolute;
  inset: -7% -5%;
  width: 110%;
  height: 114%;
  min-height: 0;
  max-width: none;
  object-fit: cover;
  object-position: 50% 54%;
  border-radius: 0;
  transform: none;
  filter: saturate(.97) contrast(1.01);
}

.diagnostic-strip__media::before,
.diagnostic-strip__media::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.diagnostic-strip__media::before {
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--surface) 0%,
    color-mix(in srgb, var(--surface) 62%, transparent) 5%,
    transparent 15%,
    transparent 85%,
    color-mix(in srgb, var(--surface) 62%, transparent) 95%,
    var(--surface) 100%
  );
}

.diagnostic-strip__media::after {
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 68%,
    color-mix(in srgb, var(--surface) 24%, transparent) 78%,
    color-mix(in srgb, var(--surface) 74%, transparent) 92%,
    var(--surface) 100%
  );
}

.diagnostic-strip__content {
  padding: 38px 40px 38px 20px;
}

.diagnostic-strip__content p {
  font-size: 1.02rem;
}

.diagnostic-features strong {
  font-size: 1rem;
}

.diagnostic-features span {
  font-size: .9rem;
}

/* Process: four visually distinct stages, with bold arrows and no circular badges. */
.process-step__num { color: #5e9cff; }
.process-step:nth-child(2) .process-step__num { color: #9d79ff; }
.process-step:nth-child(3) .process-step__num { color: #31b8d1; }
.process-step:nth-child(4) .process-step__num { color: #35bd83; }

.process-step__arrow,
.process-step__arrow--done {
  width: auto;
  height: auto;
  display: block;
  padding: 0;
  border-radius: 0;
  background: none !important;
  box-shadow: none;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #4b83f5 !important;
  text-shadow: 0 2px 10px rgba(61, 116, 255, .15);
}

.process-step:nth-child(2) .process-step__arrow { color: #865ff0 !important; }
.process-step:nth-child(3) .process-step__arrow { color: #16a9c0 !important; }
.process-step:nth-child(4) .process-step__arrow { color: #28ae76 !important; }

@media (max-width: 1120px) {
  .diagnostic-strip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .diagnostic-strip__media {
    min-height: 330px;
  }

  .diagnostic-strip__media::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 62%,
      color-mix(in srgb, var(--surface) 25%, transparent) 74%,
      color-mix(in srgb, var(--surface) 75%, transparent) 91%,
      var(--surface) 100%
    );
  }

  .diagnostic-strip__content {
    padding: 12px 28px 30px;
  }
}

@media (max-width: 860px) {
  .hero--keylab,
  .hero-keylab__inner {
    min-height: 0;
  }

  .diagnostic-strip__media {
    min-height: 285px;
  }
}

/* ================================================================
   Stage 6 — readable K Lab branding and favicon correction
   ================================================================ */
.brand {
  gap: 14px;
  flex-shrink: 0;
}

/* The supplied horizontal logo contains fine details. At the old 96px width
   the key and microchip were visually lost, so desktop now gives the artwork
   enough real pixels to remain recognizable. */
.site-header .brand-mark {
  width: 188px;
  height: 44px;
}

.site-header .brand-mark img,
.site-footer .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Header logo follows the selected theme. The footer always keeps the
   white-car artwork because the footer surface is permanently graphite. */
html[data-theme="dark"] .site-header .brand-mark,
.site-footer .brand-mark {
  background: url("../img/brand/logo-white-transparent.png") left center / contain no-repeat;
}

html[data-theme="dark"] .site-header .brand-mark img,
.site-footer .brand-mark img {
  opacity: 0;
}

.brand [data-business-name] {
  display: inline-flex;
  align-items: baseline;
  gap: .24em;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
}

/* K is dark on the light header and white in dark contexts. Lab is always
   the neon cyan from the supplied brand pack. */
html[data-theme="light"] .site-header .brand .brand-name__max {
  color: #102331 !important;
  -webkit-text-fill-color: #102331 !important;
}

html[data-theme="dark"] .site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max,
html[data-theme="light"] .site-footer .brand .brand-name__max,
html[data-theme="dark"] .site-footer .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.brand .brand-name__keycode,
html[data-theme="light"] .brand .brand-name__keycode,
html[data-theme="dark"] .brand .brand-name__keycode,
.site-footer .brand .brand-name__keycode {
  color: #00cfff !important;
  background: none !important;
  -webkit-text-fill-color: #00cfff !important;
  text-shadow: 0 0 9px rgba(0, 207, 255, .30);
}

.site-footer .brand-mark {
  width: 210px;
  height: 48px;
}

.site-footer .brand [data-business-name] {
  font-size: 1.2rem;
}

@media (max-width: 1180px) {
  .site-header .brand-mark {
    width: 154px;
    height: 40px;
  }

  .brand [data-business-name] {
    font-size: 1.08rem;
  }
}

@media (max-width: 760px) {
  .site-header .brand-mark,
  .site-footer .brand-mark {
    width: 88px;
    height: 44px;
  }

  .brand {
    gap: 9px;
  }

  .brand [data-business-name],
  .site-footer .brand [data-business-name] {
    font-size: 1rem;
  }
}

/* ================================================================
   Stage 7 — stable multilingual hero and softer dark theme
   ================================================================ */

/* Keep the text block anchored in the same place on desktop. Different
   translations no longer recenter the whole hero copy vertically. */
@media (min-width: 861px) {
  .hero--keylab .hero-copy {
    align-self: stretch;
    padding-top: clamp(48px, 7vh, 68px);
  }

  /* Spanish and Valencian are shorter than Russian in this headline.
     Give the key phrase a controlled line break so the composition keeps
     approximately the same five-line rhythm as the Russian version. */
  html[data-language="es"] .hero-title > .gradient-text:nth-child(2),
  html[data-language="va"] .hero-title > .gradient-text:nth-child(2) {
    max-width: 430px;
  }

  /* English is especially compact, so the opening phrase intentionally
     occupies two lines instead of collapsing the whole title upward. */
  html[data-language="en"] .hero-title > span:first-child {
    max-width: 345px;
  }

  html[data-language="es"] .hero--keylab .hero-title,
  html[data-language="va"] .hero--keylab .hero-title,
  html[data-language="en"] .hero--keylab .hero-title,
  html[data-language="ru"] .hero--keylab .hero-title {
    min-height: 5.28em;
  }
}

/* More vertical travel for the floating key pair. Horizontal motion stays
   restrained so the composition does not drift away from its focal area. */
.hero-stage__keys {
  animation: keyFloatVertical 7.8s ease-in-out infinite;
}

@keyframes keyFloatVertical {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  23%      { transform: translate3d(-8px, -38px, 0) rotate(1.1deg); }
  50%      { transform: translate3d(7px, -8px, 0) rotate(2deg); }
  76%      { transform: translate3d(-5px, 32px, 0) rotate(.1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage__keys { animation: none; }
}

.hero-stage__keys[data-hero-keys-toggle] {
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-stage__keys[data-hero-keys-toggle].is-paused {
  animation-play-state: paused;
}

.hero-stage__keys[data-hero-keys-toggle]:focus-visible {
  outline: 2px solid rgba(84, 216, 255, .82);
  outline-offset: 7px;
  border-radius: 24px;
}

/* A graphite-blue dark theme instead of near-black surfaces. */
html[data-theme="dark"] {
  --bg: #202733;
  --bg-soft: #252e3a;
  --surface: #293442;
  --surface-2: #303c4c;
  --surface-3: #374557;
  --text: #f2f6fb;
  --muted: #b6c1cf;
  --line: rgba(111, 193, 255, .20);
  --shadow: 0 26px 70px rgba(8, 15, 25, .28);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 86% 5%, rgba(61, 170, 255, .13), transparent 29rem),
    radial-gradient(circle at 8% 7%, rgba(137, 99, 255, .10), transparent 26rem),
    linear-gradient(180deg, #202733 0%, #242c38 100%);
}

html[data-theme="dark"] .site-header {
  background: rgba(32, 39, 51, .94);
  border-bottom-color: rgba(112, 181, 235, .16);
  box-shadow: 0 8px 28px rgba(7, 12, 20, .16);
}

html[data-theme="dark"] .section--home-services,
html[data-theme="dark"] .section--faq,
html[data-theme="dark"] main > .section.section--compact {
  background: #202733;
}

html[data-theme="dark"] .section--process {
  background: #242c38;
}

/* Cards stay visually separated even before hover. The glow is deliberately
   restrained at rest and becomes stronger when the pointer moves over them. */
html[data-theme="dark"] .service-card--home {
  background: linear-gradient(180deg, #293544 0%, #263140 100%);
  border-color: rgba(73, 176, 255, .27);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 16px 34px rgba(7, 13, 22, .18),
    0 10px 28px rgba(50, 157, 255, .07);
}

html[data-theme="dark"] .service-card--home:hover {
  border-color: rgba(90, 197, 255, .52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 24px 44px rgba(7, 13, 22, .25),
    0 15px 34px rgba(52, 174, 255, .18),
    0 0 24px rgba(104, 91, 255, .08);
}

html[data-theme="dark"] .diagnostic-strip {
  background: #293442;
  border-color: rgba(84, 184, 255, .24);
  box-shadow:
    0 18px 42px rgba(7, 13, 22, .18),
    0 10px 32px rgba(61, 164, 255, .07);
}

html[data-theme="dark"] .process-step {
  background: linear-gradient(180deg, #293544 0%, #263140 100%);
  border-color: rgba(105, 165, 225, .24);
  box-shadow: 0 16px 34px rgba(7, 13, 22, .16);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

html[data-theme="dark"] .process-step:nth-child(1) {
  border-color: rgba(94, 156, 255, .32);
  box-shadow: 0 16px 34px rgba(7,13,22,.16), 0 12px 28px rgba(94,156,255,.07);
}
html[data-theme="dark"] .process-step:nth-child(2) {
  border-color: rgba(157, 121, 255, .30);
  box-shadow: 0 16px 34px rgba(7,13,22,.16), 0 12px 28px rgba(157,121,255,.07);
}
html[data-theme="dark"] .process-step:nth-child(3) {
  border-color: rgba(49, 184, 209, .30);
  box-shadow: 0 16px 34px rgba(7,13,22,.16), 0 12px 28px rgba(49,184,209,.07);
}
html[data-theme="dark"] .process-step:nth-child(4) {
  border-color: rgba(53, 189, 131, .30);
  box-shadow: 0 16px 34px rgba(7,13,22,.16), 0 12px 28px rgba(53,189,131,.07);
}

html[data-theme="dark"] .process-step:hover {
  transform: translateY(-7px);
}
html[data-theme="dark"] .process-step:nth-child(1):hover {
  border-color: rgba(94,156,255,.55);
  box-shadow: 0 24px 44px rgba(7,13,22,.24), 0 16px 34px rgba(94,156,255,.18);
}
html[data-theme="dark"] .process-step:nth-child(2):hover {
  border-color: rgba(157,121,255,.54);
  box-shadow: 0 24px 44px rgba(7,13,22,.24), 0 16px 34px rgba(157,121,255,.17);
}
html[data-theme="dark"] .process-step:nth-child(3):hover {
  border-color: rgba(49,184,209,.54);
  box-shadow: 0 24px 44px rgba(7,13,22,.24), 0 16px 34px rgba(49,184,209,.17);
}
html[data-theme="dark"] .process-step:nth-child(4):hover {
  border-color: rgba(53,189,131,.54);
  box-shadow: 0 24px 44px rgba(7,13,22,.24), 0 16px 34px rgba(53,189,131,.17);
}

html[data-theme="dark"] .faq--wide details {
  background: #293442;
  border-color: rgba(100, 172, 232, .20);
}

/* Footer remains dark in both themes, but moves from almost black to a
   clearly visible graphite gray. */
.site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #30353d 0%, #292e36 100%);
  border-top-color: rgba(143, 164, 190, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.site-footer .footer-links,
.site-footer .footer-brand p,
.site-footer .footer-bottom,
html[data-theme="light"] .site-footer .footer-links,
html[data-theme="light"] .site-footer .footer-brand p,
html[data-theme="light"] .site-footer .footer-bottom,
html[data-theme="dark"] .site-footer .footer-links,
html[data-theme="dark"] .site-footer .footer-brand p,
html[data-theme="dark"] .site-footer .footer-bottom {
  color: #c0cad6;
}

@media (max-width: 860px) {
  .hero--keylab .hero-copy {
    padding-top: 0;
  }

  .hero--keylab .hero-title {
    min-height: 0 !important;
  }
}


/* ================================================================
   Stage 8 — brand placement, favicon visibility, footer and FAQ polish
   ================================================================ */
@media (min-width: 861px) {
  .site-header .header-row,
  .site-header .mobile-nav,
  .site-footer > .container {
    width: calc(100% - 64px);
    max-width: 1680px;
  }

  .site-header .brand-mark {
    width: 228px;
    height: 50px;
  }

  .site-footer .brand-mark {
    width: 220px;
    height: 47px;
  }

  .site-header .brand [data-business-name] { font-size: 1.24rem; }
  .site-footer .brand [data-business-name] { font-size: 1.26rem; }
}

.brand [data-business-name] {
  gap: 0;
  white-space: nowrap;
}

html[data-theme="light"] .site-header .brand .brand-name__max {
  color: #122033 !important;
  -webkit-text-fill-color: #122033 !important;
}

html[data-theme="dark"] .site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.brand .brand-name__keycode,
.site-footer .brand .brand-name__keycode {
  color: #00cfff !important;
  -webkit-text-fill-color: #00cfff !important;
  text-shadow: 0 0 8px rgba(0,207,255,.42), 0 0 16px rgba(0,207,255,.16);
}

.site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="dark"] .site-footer {
  color: #f9fafb;
  background: linear-gradient(180deg, #62666b 0%, #555a60 100%);
  border-top: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.site-footer .footer-title,
html[data-theme="light"] .site-footer .footer-title,
html[data-theme="dark"] .site-footer .footer-title { color: #ffffff; }

.site-footer .footer-links,
.site-footer .footer-brand p,
.site-footer .footer-bottom,
html[data-theme="light"] .site-footer .footer-links,
html[data-theme="light"] .site-footer .footer-brand p,
html[data-theme="light"] .site-footer .footer-bottom,
html[data-theme="dark"] .site-footer .footer-links,
html[data-theme="dark"] .site-footer .footer-brand p,
html[data-theme="dark"] .site-footer .footer-bottom { color: #e1e5e8; }

.site-footer .footer-bottom { border-top-color: rgba(255,255,255,.18); }

html[data-theme="dark"] .faq--wide { gap: 12px; }

html[data-theme="dark"] .faq--wide details {
  background: linear-gradient(180deg, #2e3948 0%, #2a3543 100%);
  border: 1px solid rgba(0,207,255,.38);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 8px 24px rgba(4,11,19,.12), 0 0 18px rgba(0,207,255,.07);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

html[data-theme="dark"] .faq--wide details:hover,
html[data-theme="dark"] .faq--wide details[open] {
  border-color: rgba(0,207,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 28px rgba(4,11,19,.18), 0 0 26px rgba(0,207,255,.16);
}

html[data-theme="dark"] .faq--wide summary {
  padding: 18px 2px;
  color: #f5f8fc;
  font-size: 1rem;
  font-weight: 800;
}

html[data-theme="dark"] .faq--wide summary::after {
  min-width: 30px;
  margin-left: 18px;
  color: #00cfff;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: .9;
  text-align: center;
  text-shadow: 0 0 11px rgba(0,207,255,.62);
}

html[data-theme="dark"] .faq--wide details[open] summary::after { color: #79ecff; }
html[data-theme="dark"] .faq--wide details p { color: #c7d3df; font-size: .96rem; }

@media (max-width: 860px) {
  .site-header .header-row,
  .site-footer > .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header .brand-mark,
  .site-footer .brand-mark { width: 112px; height: 40px; }
}

/* ================================================================
   Stage 9 — desktop width repair and diagnostic card refinement
   ================================================================ */

/* The header/footer use the viewport safely. The brand is moved left by
   layout, never by making the page wider than the viewport. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (min-width: 861px) {
  .site-header .header-row {
    width: 100%;
    max-width: none;
    padding-inline: 26px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }

  .site-header .brand {
    justify-self: start;
    min-width: 0;
  }

  .site-header .brand-mark {
    width: 205px;
    height: 48px;
  }

  .site-header .desktop-nav {
    justify-self: center;
    min-width: 0;
  }

  .site-header .header-actions {
    justify-self: end;
    min-width: 0;
  }

  .site-footer > .container {
    width: min(calc(100% - 52px), var(--max));
    max-width: var(--max);
  }

  .site-footer .brand-mark {
    width: 220px;
    height: 50px;
  }
}

/* Medium graphite footer: clearly gray, but not the pale gray from Stage 8
   and not near-black either. */
.site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #454a50 0%, #3b4046 100%);
  border-top-color: rgba(255,255,255,.14);
}

/* Diagnostic showcase: lower height, native-looking image proportions and
   a single mist transition only toward the text on the right. */
.diagnostic-strip {
  grid-template-columns: minmax(390px, .98fr) minmax(0, 1.02fr);
  min-height: 305px;
  overflow: hidden;
  padding: 0;
}

.diagnostic-strip__media {
  position: relative;
  min-height: 305px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 0;
}

.diagnostic-strip__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  object-fit: cover;
  object-position: 48% 52%;
  border-radius: 0;
  transform: none;
  filter: saturate(1.01) contrast(1.02);
}

/* No fog at top, bottom or left. */
.diagnostic-strip__media::before {
  display: none;
}

/* Fog exists only where the photo approaches the copy. */
.diagnostic-strip__media::after {
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 70%,
    color-mix(in srgb, var(--surface) 15%, transparent) 78%,
    color-mix(in srgb, var(--surface) 58%, transparent) 91%,
    var(--surface) 100%
  );
}

.diagnostic-strip__content {
  align-self: center;
  padding: 28px 38px 28px 18px;
}

.diagnostic-strip__content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.35vw, 2.2rem);
}

.diagnostic-strip__content p {
  margin-bottom: 19px;
  font-size: .98rem;
  line-height: 1.65;
}

.diagnostic-features {
  gap: 15px;
}

.diagnostic-features strong { font-size: .96rem; }
.diagnostic-features span { font-size: .86rem; }

/* Keep dark FAQ visibly separated with a stronger, clean neon outline. */
html[data-theme="dark"] .faq--wide details {
  border-color: rgba(0,207,255,.50);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 8px 24px rgba(4,11,19,.12),
    0 0 16px rgba(0,207,255,.10);
}

html[data-theme="dark"] .faq--wide summary::after {
  font-size: 2rem;
  text-shadow: 0 0 12px rgba(0,207,255,.72);
}

@media (max-width: 1120px) and (min-width: 861px) {
  .site-header .header-row {
    padding-inline: 20px;
    gap: 18px;
  }

  .site-header .brand-mark {
    width: 154px;
    height: 40px;
  }

  .diagnostic-strip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .diagnostic-strip__media {
    min-height: 270px;
  }

  .diagnostic-strip__media::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 72%,
      color-mix(in srgb, var(--surface) 18%, transparent) 80%,
      color-mix(in srgb, var(--surface) 64%, transparent) 93%,
      var(--surface) 100%
    );
  }

  .diagnostic-strip__content {
    padding: 26px 28px 30px;
  }
}

@media (max-width: 860px) {
  html,
  body { overflow-x: hidden; }

  .diagnostic-strip {
    min-height: 0;
    padding: 0;
  }

  .diagnostic-strip__media {
    min-height: 245px;
  }

  .diagnostic-strip__media::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 70%,
      color-mix(in srgb, var(--surface) 18%, transparent) 80%,
      color-mix(in srgb, var(--surface) 64%, transparent) 93%,
      var(--surface) 100%
    );
  }

  .diagnostic-strip__content {
    padding: 24px 22px 28px;
  }
}


/* ================================================================
   Stage 10 — header/footer geometry, KeyLab wordmark and FAQ alignment
   ================================================================ */

/* Safety: nothing on the page is allowed to create a horizontal viewport. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Move the brand to the left with normal layout, not by widening the page. */
@media (min-width: 861px) {
  .site-header .header-row {
    width: 100%;
    max-width: 100%;
    padding-inline: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
  }

  .site-header .brand {
    justify-self: start;
    min-width: 0;
  }

  .site-header .desktop-nav {
    justify-self: center;
    min-width: 0;
  }

  .site-header .header-actions {
    justify-self: end;
    min-width: 0;
  }

  .site-header .brand-mark {
    width: clamp(170px, 14vw, 250px);
    height: 50px;
    flex: 0 0 auto;
  }

  /* Footer containers are full-width-safe so the logo can sit near the left edge. */
  .site-footer .footer-grid,
  .site-footer .footer-bottom {
    width: 100%;
    max-width: 100%;
    padding-inline: 24px;
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(300px, 1.3fr) minmax(150px, .72fr) minmax(170px, .76fr) minmax(230px, 1fr);
    gap: clamp(24px, 3vw, 52px);
  }

  .site-footer .brand-mark {
    width: clamp(210px, 15vw, 270px);
    height: 54px;
    flex: 0 0 auto;
  }
}

/* Correct brand split: Key = white, Lab = neon cyan. The tiny dark outline keeps
   the white word readable even in the light header without changing its fill. */
.site-header .brand .brand-name__max,
html[data-theme="light"] .site-header .brand .brand-name__max,
html[data-theme="dark"] .site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max,
html[data-theme="light"] .site-footer .brand .brand-name__max,
html[data-theme="dark"] .site-footer .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="light"] .site-header .brand .brand-name__max {
  -webkit-text-stroke: .55px rgba(15, 29, 45, .95);
  paint-order: stroke fill;
  text-shadow: 0 1px 2px rgba(13, 28, 45, .28);
}

html[data-theme="dark"] .site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max {
  -webkit-text-stroke: 0;
  text-shadow: 0 0 10px rgba(255,255,255,.08);
}

.site-header .brand .brand-name__keycode,
.site-footer .brand .brand-name__keycode,
html[data-theme="light"] .site-header .brand .brand-name__keycode,
html[data-theme="dark"] .site-header .brand .brand-name__keycode {
  color: #00cfff !important;
  -webkit-text-fill-color: #00cfff !important;
  text-shadow: 0 0 8px rgba(0,207,255,.46), 0 0 18px rgba(0,207,255,.18);
}

.site-header .brand [data-business-name] {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.site-footer .brand [data-business-name] {
  font-size: 1.3rem;
  font-weight: 900;
}

/* Warm medium graphite: darker than the previous footer, but clearly gray. */
.site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #4b4a47 0%, #403f3c 100%);
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

.site-footer .footer-title { color: #ffffff; }
.site-footer .footer-links,
.site-footer .footer-brand p,
.site-footer .footer-bottom {
  color: #e2e1dd;
}

/* FAQ: true vertical centering of the +/- glyph and a clearer neon slot in dark mode. */
.faq--wide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq--wide summary::after {
  float: none !important;
  flex: 0 0 auto;
  min-width: 32px;
  display: grid;
  place-items: center;
  margin: 0 0 0 auto !important;
  line-height: 1 !important;
  transform: none !important;
}

html[data-theme="dark"] .faq--wide details {
  border-color: rgba(0, 207, 255, .54);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 8px 24px rgba(4,11,19,.12),
    0 0 18px rgba(0,207,255,.11);
}

html[data-theme="dark"] .faq--wide summary::after {
  color: #4fe6ff;
  font-size: 2.05rem;
  font-weight: 900;
  text-shadow: 0 0 11px rgba(0,207,255,.78), 0 0 22px rgba(0,207,255,.24);
}

@media (max-width: 1200px) and (min-width: 861px) {
  .site-header .header-row {
    padding-inline: 14px;
    gap: 14px;
  }

  .site-header .brand-mark {
    width: 170px;
    height: 42px;
  }

  .site-header .brand [data-business-name] {
    font-size: 1.08rem;
  }

  .site-footer .footer-grid,
  .site-footer .footer-bottom {
    padding-inline: 18px;
  }
}

@media (max-width: 860px) {
  .site-header .header-row,
  .site-footer .footer-grid,
  .site-footer .footer-bottom {
    width: min(calc(100% - 28px), var(--max));
    max-width: var(--max);
    padding-inline: 0;
  }

  .site-header .brand-mark,
  .site-footer .brand-mark {
    width: 118px;
    height: 40px;
  }
}

/* The public wordmark is one brand name: KeyLab, without an artificial gap. */
.site-header .brand [data-business-name],
.site-footer .brand [data-business-name] {
  gap: 0;
}


/* ================================================================
   Stage 11 — final homepage polish: header scale, wordmark clarity,
   diagnostic proportions and footer tone
   ================================================================ */

@media (min-width: 861px) {
  .site-header .header-row {
    min-height: 90px;
    padding-block: 8px;
  }

  /* Header and footer use the same brand proportions. */
  .site-header .brand-mark,
  .site-footer .brand-mark {
    width: clamp(210px, 15vw, 270px);
    height: 54px;
  }

  .site-header .brand [data-business-name],
  .site-footer .brand [data-business-name] {
    font-size: 1.50rem;
    line-height: 1;
  }
}

/* Crisp wordmark: black Key on the white header, white Key in dark UI/footer,
   Lab stays neon cyan everywhere. No glow or blur on the lettering. */
html[data-theme="light"] .site-header .brand .brand-name__max {
  color: #111820 !important;
  -webkit-text-fill-color: #111820 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  filter: none !important;
}

html[data-theme="dark"] .site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max,
html[data-theme="light"] .site-footer .brand .brand-name__max,
html[data-theme="dark"] .site-footer .brand .brand-name__max {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  filter: none !important;
}

.site-header .brand .brand-name__keycode,
.site-footer .brand .brand-name__keycode,
html[data-theme="light"] .site-header .brand .brand-name__keycode,
html[data-theme="dark"] .site-header .brand .brand-name__keycode,
html[data-theme="light"] .site-footer .brand .brand-name__keycode,
html[data-theme="dark"] .site-footer .brand .brand-name__keycode {
  color: #00cfff !important;
  -webkit-text-fill-color: #00cfff !important;
  background: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Cooler graphite footer: still clearly gray, but better aligned with the site's blue technical palette. */
.site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #3c4146 0%, #32373c 100%);
}

/* Diagnostic block: a little shorter; image touches top/bottom/left edges.
   The only fade is the transition toward the copy on the right. */
.diagnostic-strip {
  min-height: 286px;
}

.diagnostic-strip__media {
  min-height: 286px;
}

.diagnostic-strip__media img {
  object-position: left center;
  filter: saturate(1.02) contrast(1.025);
}

.diagnostic-strip__media::before {
  display: none !important;
}

.diagnostic-strip__media::after {
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 72%,
    color-mix(in srgb, var(--surface) 12%, transparent) 79%,
    color-mix(in srgb, var(--surface) 54%, transparent) 91%,
    var(--surface) 100%
  );
}

.diagnostic-strip__content {
  padding: 20px 34px 20px 16px;
}

.diagnostic-strip__content .eyebrow {
  margin-bottom: 12px;
}

.diagnostic-strip__content h2 {
  margin-bottom: 10px;
  font-size: clamp(1.58rem, 2.15vw, 2.06rem);
}

.diagnostic-strip__content p {
  margin-bottom: 14px;
  font-size: .94rem;
  line-height: 1.58;
}

.diagnostic-features {
  gap: 12px;
}

.diagnostic-features strong {
  font-size: .92rem;
}

.diagnostic-features span {
  font-size: .82rem;
  line-height: 1.48;
}

@media (max-width: 1200px) and (min-width: 861px) {
  .site-header .brand-mark,
  .site-footer .brand-mark {
    width: 210px;
    height: 50px;
  }

  .site-header .brand [data-business-name],
  .site-footer .brand [data-business-name] {
    font-size: 1.34rem;
  }

  .site-header .header-row {
    min-height: 84px;
  }

  .hero--keylab {
    --keylab-desktop-header-height: 84px;
  }
}

/* ================================================================
   Stage 13 — true 100% browser-scale desktop fit
   The hero is sized against the current 90px desktop header, not the old
   68px header. Vertical spacing is compacted on normal laptop-height
   viewports so the CTA row stays fully visible at 100% browser zoom.
   ================================================================ */
@media (min-width: 861px) {
  .hero--keylab {
    min-height: calc(100svh - var(--keylab-desktop-header-height, 90px));
  }

  .hero-keylab__inner {
    min-height: calc(100svh - var(--keylab-desktop-header-height, 90px));
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero--keylab .hero-copy {
    align-self: center;
    padding-top: 0;
  }
}

/* Typical 900px-class laptop screens have only ~780–820 CSS px of page
   height once browser chrome is accounted for. Keep the approved visual
   proportions, but remove needless vertical air rather than clipping CTA. */
@media (min-width: 861px) and (max-height: 830px) {
  .hero-keylab__inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero--keylab .eyebrow--clean {
    margin-bottom: 10px;
  }

  .hero--keylab .hero-title {
    margin-bottom: 12px;
  }

  .hero--keylab .lead {
    margin-bottom: 18px;
    line-height: 1.62;
  }

  .hero-stage {
    min-height: 520px;
    height: min(68vh, 600px);
  }
}

@media (min-width: 861px) and (max-height: 740px) {
  .hero--keylab .hero-title {
    font-size: clamp(2.45rem, 3.8vw, 3.75rem);
  }

  .hero--keylab .lead {
    font-size: .95rem;
  }

  .hero-stage {
    min-height: 480px;
  }
}

/* ================================================================
   Stage 14 — unified header controls
   Language, theme switch and phone plate share one visual rhythm.
   ================================================================ */
@media (min-width: 861px) {
  .site-header .header-actions {
    gap: 12px;
    align-items: center;
  }

  .site-header .site-tools {
    gap: 8px;
    align-items: center;
  }

  .site-header .language-button,
  .site-header .theme-toggle {
    height: 44px;
    min-height: 44px;
  }

  .site-header .header-phone-plate {
    height: 40px;
    min-height: 40px;
  }

  /* Utility controls intentionally share the same outer footprint. */
  .site-header .language-button,
  .site-header .theme-toggle {
    width: 82px;
    min-width: 82px;
  }

  .site-header .language-button {
    width: 68px;
    min-width: 68px;
    height: 40px;
    min-height: 40px;
    padding: 0 7px;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(94, 120, 151, .18);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(33, 55, 82, .055);
  }

  .site-header .language-chevron {
    margin-left: 6px;
  }

  .site-header .theme-toggle {
    padding: 0;
    box-shadow: 0 5px 14px rgba(33, 55, 82, .06);
  }

  .site-header .theme-toggle__track {
    width: 100%;
    height: 100%;
    border-radius: 13px;
  }

  .site-header .theme-toggle__track::before {
    top: 3px;
    bottom: 3px;
    border-radius: 10px;
  }

  .site-header .header-phone-plate {
    display: flex;
    align-items: stretch;
    width: max-content;
    min-width: 166px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(35, 46, 57, .26);
    border-radius: 5px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f5f2 100%);
    box-shadow:
      0 4px 12px rgba(33, 55, 82, .07),
      inset 0 0 0 1px rgba(255,255,255,.82),
      inset 0 -1px 0 rgba(23, 31, 40, .06);
    line-height: 1;
  }

  .site-header .header-phone-plate__eu {
    flex: 0 0 24px;
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    padding: 2px 0 3px;
    color: #ffffff;
    background: #0648ad;
    border-right: 1px solid rgba(0, 24, 86, .38);
  }

  .site-header .header-phone-plate__stars {
    width: 20px;
    height: 20px;
    transform: translateY(-1px) scale(1.05);
    transform-origin: center;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpolygon%20points%3D%2212.00,3.65%2012.31,4.48%2013.19,4.51%2012.49,5.06%2012.73,5.91%2012.00,5.42%2011.27,5.91%2011.51,5.06%2010.81,4.51%2011.69,4.48%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%2215.55,4.60%2015.86,5.43%2016.74,5.46%2016.04,6.01%2016.28,6.86%2015.55,6.37%2014.82,6.86%2015.06,6.01%2014.36,5.46%2015.24,5.43%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%2218.15,7.20%2018.45,8.03%2019.34,8.06%2018.64,8.61%2018.88,9.46%2018.15,8.97%2017.41,9.46%2017.65,8.61%2016.96,8.06%2017.84,8.03%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%2219.10,10.75%2019.41,11.58%2020.29,11.61%2019.59,12.16%2019.83,13.01%2019.10,12.52%2018.37,13.01%2018.61,12.16%2017.91,11.61%2018.79,11.58%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%2218.15,14.30%2018.45,15.13%2019.34,15.16%2018.64,15.71%2018.88,16.56%2018.15,16.07%2017.41,16.56%2017.65,15.71%2016.96,15.16%2017.84,15.13%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%2215.55,16.90%2015.86,17.73%2016.74,17.76%2016.04,18.31%2016.28,19.16%2015.55,18.67%2014.82,19.16%2015.06,18.31%2014.36,17.76%2015.24,17.73%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%2212.00,17.85%2012.31,18.68%2013.19,18.71%2012.49,19.26%2012.73,20.11%2012.00,19.62%2011.27,20.11%2011.51,19.26%2010.81,18.71%2011.69,18.68%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%228.45,16.90%208.76,17.73%209.64,17.76%208.94,18.31%209.18,19.16%208.45,18.67%207.72,19.16%207.96,18.31%207.26,17.76%208.14,17.73%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%225.85,14.30%206.16,15.13%207.04,15.16%206.35,15.71%206.59,16.56%205.85,16.07%205.12,16.56%205.36,15.71%204.66,15.16%205.55,15.13%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%224.90,10.75%205.21,11.58%206.09,11.61%205.39,12.16%205.63,13.01%204.90,12.52%204.17,13.01%204.41,12.16%203.71,11.61%204.59,11.58%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%225.85,7.20%206.16,8.03%207.04,8.06%206.35,8.61%206.59,9.46%205.85,8.97%205.12,9.46%205.36,8.61%204.66,8.06%205.55,8.03%22%20fill%3D%22%23ffd83d%22%2F%3E%3Cpolygon%20points%3D%228.45,4.60%208.76,5.43%209.64,5.46%208.94,6.01%209.18,6.86%208.45,6.37%207.72,6.86%207.96,6.01%207.26,5.46%208.14,5.43%22%20fill%3D%22%23ffd83d%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  }

  .site-header .header-phone-plate__country {
    margin-top: -3px;
    color: #ffffff;
    font-size: .66rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .045em;
  }

  .site-header .header-phone-plate__number {
    flex: 1 0 auto;
    display: grid;
    place-items: center;
    min-width: max-content;
    padding: 0 9px;
    color: #15191e;
    font-family: "Arial Narrow", Arial, "Helvetica Neue", sans-serif;
    font-size: 1.28rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: .012em;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255,255,255,.72);
  }

  html[data-theme="light"] .site-header .header-phone-plate {
    border-color: rgba(50, 63, 76, .30);
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f3 100%);
    box-shadow:
      0 0 0 1px rgba(138, 149, 160, .18),
      0 4px 12px rgba(33, 55, 82, .07),
      inset 0 0 0 1px rgba(255,255,255,.84),
      inset 0 -1px 0 rgba(23, 31, 40, .05);
  }

  /* In the light header, utility controls need a little more separation
     from the white bar so they read clearly as interactive buttons. */
  html[data-theme="light"] .site-header .language-button,
  html[data-theme="light"] .site-header .theme-toggle {
    border-color: rgba(66, 88, 110, .25);
    background: linear-gradient(180deg, #f7f9fb 0%, #edf2f6 100%);
    box-shadow:
      0 4px 12px rgba(34, 55, 76, .075),
      inset 0 1px 0 rgba(255,255,255,.92),
      inset 0 -1px 0 rgba(35, 55, 74, .055);
  }

  html[data-theme="light"] .site-header .language-button {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
    border-color: rgba(65, 84, 104, .21);
    box-shadow:
      0 3px 8px rgba(33, 55, 82, .055),
      inset 0 1px 0 rgba(255,255,255,.96);
  }

  .site-header .language-button .language-flag {
    width: 30px;
    height: 20px;
    flex: 0 0 30px;
    border-radius: 3px;
    border-color: rgba(40, 55, 70, .18);
    box-shadow:
      0 1px 2px rgba(20, 32, 44, .16),
      inset 0 0 0 1px rgba(255,255,255,.10);
  }

  html[data-theme="light"] .site-header .language-button .language-flag--ru {
    border: 0;
    box-shadow:
      inset 0 0 0 1px rgba(45, 57, 68, .18);
  }

  html[data-theme="light"] .site-header .theme-toggle:hover {
    border-color: rgba(54, 104, 151, .34);
    background: linear-gradient(180deg, #fbfcfd 0%, #e9f0f5 100%);
    box-shadow:
      0 7px 16px rgba(34, 55, 76, .10),
      inset 0 1px 0 rgba(255,255,255,.96);
  }

  html[data-theme="light"] .site-header .theme-toggle__track {
    border-color: rgba(67, 89, 111, .20);
    background: linear-gradient(180deg, #f1f5f8 0%, #e7edf2 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.88),
      inset 0 -1px 0 rgba(35, 55, 74, .07);
  }

  html[data-theme="light"] .site-header .theme-toggle__track::before {
    border-color: rgba(59, 82, 103, .15);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
    box-shadow:
      0 3px 8px rgba(31, 51, 70, .13),
      inset 0 1px 0 rgba(255,255,255,.96);
  }

  html[data-theme="dark"] .site-header .header-phone-plate {
    border-color: rgba(132, 151, 169, .22);
    background: linear-gradient(180deg, #d8dee2 0%, #cbd3d8 100%);
    box-shadow:
      0 2px 8px rgba(0, 0, 0, .14),
      inset 0 1px 0 rgba(255,255,255,.42),
      inset 0 -1px 0 rgba(7, 16, 25, .08);
  }

  html[data-theme="dark"] .site-header .header-phone-plate__number {
    color: #151a1f;
    text-shadow: 0 1px 0 rgba(255,255,255,.46);
  }

  html[data-theme="dark"] .site-header .language-button,
  html[data-theme="dark"] .site-header .theme-toggle {
    border-color: rgba(111, 154, 197, .24);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
  }
}

/* ================================================================
   Stage 15 — more compact footer
   Preserve the current composition and branding, but reduce excess
   vertical whitespace so the footer feels proportional to the page.
   ================================================================ */
.site-footer {
  padding-top: 26px;
  padding-bottom: 12px;
}

.site-footer .footer-grid {
  gap: 22px;
  align-items: start;
}

.site-footer .footer-brand p {
  margin-top: 9px;
  font-size: .91rem;
  line-height: 1.42;
}

.site-footer .footer-title {
  margin-bottom: 5px;
  font-size: .95rem;
}

.site-footer .footer-links {
  gap: 4px;
  font-size: .91rem;
  line-height: 1.4;
}

.site-footer .footer-bottom {
  margin-top: 18px;
  padding-top: 10px;
  font-size: .79rem;
}

@media (max-width: 860px) {
  .site-footer {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .site-footer .footer-grid {
    gap: 18px;
  }

  .site-footer .footer-bottom {
    margin-top: 16px;
    padding-top: 10px;
  }
}


/* ================================================================
   Stage 16 — CTA contact options and laboratory positioning
   Keep the approved CTA composition, add a direct-call path and move
   the copy a few pixels left for better balance with four actions.
   ================================================================ */
.cta-band--home > :first-child {
  margin-left: -8px;
}

.cta-band--home .inline-actions--stacked {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 610px;
}

.btn--phone {
  color: #fff !important;
  background: #13365f;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 12px 28px rgba(13, 43, 82, .25);
}

.btn--phone:hover {
  color: #fff !important;
  background: #0d2c51;
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 15px 32px rgba(13, 43, 82, .34);
}

.btn--phone svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #fff;
  fill: currentColor;
}

/* Direct phone-call controls are useful on touch devices, but on desktop
   the phone number remains informational instead of behaving like a CTA. */
@media (min-width: 1201px) and (hover: hover) {
  .btn[data-phone-link],
  .footer-quick-link--phone,
  .contact-launcher__item--phone {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .hero-phone-contact {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 7px;
    width: 100%;
    margin-top: 28px;
  }

  .hero-phone-contact > svg {
    width: 22px;
    height: 22px;
  }

  .hero-phone-contact__prompt {
    width: auto;
    max-width: 100%;
    font-size: .84rem;
    white-space: normal;
  }

  .hero-phone-contact__desktop {
    display: none;
  }

  .hero-phone-contact__mobile {
    display: inline-flex;
    font-size: 1.42rem;
  }
}

@media (max-width: 1120px) {
  .cta-band--home .inline-actions--stacked {
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .cta-band--home > :first-child {
    margin-left: 0;
  }
}

/* ================================================================
   Homepage mobile layout — compact phone-first composition
   Scoped to .page-home so the other pages keep their current mobile layout.
   ================================================================ */
@media (max-width: 620px) {
  .page-home .hero--keylab {
    height: auto;
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    overflow: hidden;
  }

  .page-home .hero-backdrop {
    object-position: 62% center;
    transform: none;
  }

  .page-home .hero--keylab::before {
    background: linear-gradient(180deg, rgba(4, 12, 25, .88) 0%, rgba(5, 14, 28, .72) 49%, rgba(6, 16, 33, .38) 100%);
  }

  .page-home .hero-keylab__inner {
    width: min(calc(100% - 28px), var(--max));
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 27px 0 20px;
  }

  .page-home .hero--keylab .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  /* RU title is taller. Shorter ES/VA/EN titles sit a little lower so the
     visual gap before the floating keys stays balanced without changing
     the fixed first-screen height. */
  html[data-language="es"] .page-home .hero--keylab .hero-copy,
  html[data-language="va"] .page-home .hero--keylab .hero-copy,
  html[data-language="en"] .page-home .hero--keylab .hero-copy {
    padding-top: 22px;
  }

  .page-home .hero--keylab .eyebrow--clean {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: .64rem;
    line-height: 1.42;
    letter-spacing: .07em;
  }

  .page-home .hero--keylab .hero-title {
    width: 100%;
    max-width: 100%;
    margin-bottom: 13px;
    font-size: clamp(1.88rem, 8.7vw, 2.12rem);
    line-height: 1.06;
    letter-spacing: -.02em;
  }

  .page-home .hero--keylab .hero-title > span {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .page-home .hero--keylab .hero-title .gradient-text,
  .page-home .hero h1 .gradient-text {
    width: 100%;
    max-width: 100%;
    margin-top: .04em;
    font-size: .84em;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .page-home .hero--keylab .lead {
    display: none;
  }

  .page-home .hero-copy > .hero-actions,
  .page-home .hero-copy > .hero-phone-contact {
    display: none;
  }

  .page-home .hero-mobile-cta {
    position: relative;
    z-index: 4;
    display: block;
    width: 100%;
    margin-top: 1px;
  }

  .page-home .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-home .hero-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 10px;
    font-size: .86rem;
    border-radius: 11px;
  }

  .page-home .hero-actions .btn:first-child {
    grid-column: 1 / -1;
    min-height: 45px;
    font-size: .9rem;
  }

  .page-home .hero-phone-contact {
    grid-template-columns: 21px minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 0;
    margin-top: 11px;
  }

  .page-home .hero-phone-contact > svg {
    width: 19px;
    height: 19px;
  }

  .page-home .hero-phone-contact__prompt {
    display: none;
  }

  .page-home .hero-phone-contact__mobile {
    font-size: 1.28rem;
  }

  .page-home .hero-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 178px;
    min-height: 178px;
    flex: 0 0 178px;
    margin-top: auto;
    overflow: visible;
  }

  .page-home .hero-stage__keys {
    width: min(73%, 252px);
    inset: -18px -2px auto auto;
    outline: none;
    animation-name: keyFloatVerticalMobile;
  }

  @keyframes keyFloatVerticalMobile {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
    23%      { transform: translate3d(-8px, -58px, 0) rotate(1.1deg); }
    50%      { transform: translate3d(7px, -12px, 0) rotate(2deg); }
    76%      { transform: translate3d(-5px, 30px, 0) rotate(.1deg); }
  }

  .page-home .hero-stage__keys[data-hero-keys-toggle]:focus,
  .page-home .hero-stage__keys[data-hero-keys-toggle]:focus-visible {
    outline: none;
    box-shadow: none;
  }

  .page-home .hero-chip {
    max-width: 138px;
    padding: 7px 8px;
    border-radius: 9px;
    font-size: .66rem;
    line-height: 1.28;
  }

  .page-home .hero-chip--top { top: -9px; right: 2px; }
  .page-home .hero-chip--mid { top: 62px; left: 1px; }
  .page-home .hero-chip--bottom { right: 2px; bottom: 15px; max-width: 150px; }

  .page-home .section--home-services {
    padding-top: 28px;
    padding-bottom: 10px;
  }

  .page-home .section--home-services .section-header {
    margin-bottom: 13px;
  }

  .page-home .section--home-services .section-header h2 {
    font-size: 1.48rem;
    line-height: 1.12;
  }

  .page-home .section--home-services .section-header p {
    margin-bottom: 0;
    font-size: .83rem;
    line-height: 1.45;
  }

  .page-home .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-home .service-card--home {
    min-height: 118px;
    padding: 12px 11px 11px;
    border-radius: 14px;
  }

  .page-home .service-card__icon.service-card__code {
    min-width: 43px;
    height: 27px;
    margin-bottom: 8px;
    padding-inline: 8px;
    border-radius: 7px;
    font-size: .61rem;
  }

  .page-home .service-card--home h3 {
    margin-bottom: 8px;
    font-size: .91rem;
    line-height: 1.22;
  }

  .page-home .service-card--home p {
    display: none;
  }

  .page-home .service-card--home .card-link {
    margin-top: auto;
    font-size: .73rem;
    line-height: 1.3;
  }

  .page-home main > .section.section--compact:has(.diagnostic-strip) {
    padding-top: 0;
    padding-bottom: 24px;
  }

  .page-home .diagnostic-strip {
    width: min(calc(100% - 28px), var(--max));
    min-height: 0;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 15px;
  }

  .page-home .diagnostic-strip__media {
    width: 104px;
    height: 100%;
    min-height: 132px;
  }

  .page-home .diagnostic-strip__media img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    object-position: 56% center;
  }

  .page-home .diagnostic-strip__media::after {
    background: linear-gradient(90deg, transparent 0%, transparent 54%, color-mix(in srgb, var(--surface) 54%, transparent) 82%, var(--surface) 100%);
  }

  .page-home .diagnostic-strip__content {
    width: 100%;
    padding: 11px 12px 12px;
  }

  .page-home .diagnostic-strip__content .eyebrow {
    display: none;
  }

  .page-home .diagnostic-strip__content h2 {
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.2;
  }

  .page-home .diagnostic-strip__content p {
    margin: 0;
    font-size: .75rem;
    line-height: 1.45;
  }

  .page-home .diagnostic-features {
    display: none;
  }

  .page-home .section--process {
    display: none;
  }

  .page-home .section--faq {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .page-home .section--faq .section-header {
    margin-bottom: 15px;
  }

  .page-home .section--faq .section-header h2 {
    font-size: 1.5rem;
  }

  .page-home .faq--wide { gap: 7px; }

  .page-home .faq--wide details {
    padding: 0 15px;
    border-radius: 11px;
  }

  .page-home .faq--wide summary {
    gap: 12px;
    padding: 14px 0;
    font-size: .94rem;
    line-height: 1.4;
  }

  .page-home .faq--wide summary::after {
    min-width: 24px;
    font-size: 1.55rem;
  }

  .page-home .faq--wide details p {
    padding-bottom: 15px;
    font-size: .92rem;
    line-height: 1.62;
  }

  .page-home main > .section.section--compact:has(.cta-band--home) {
    padding-top: 8px;
    padding-bottom: 28px;
  }

  .page-home .cta-band--home {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding: 19px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: linear-gradient(135deg, #315b86 0%, #46567f 52%, #594b7c 100%);
    box-shadow: 0 12px 28px rgba(37, 50, 78, .16);
  }

  .page-home .cta-band--home h2 {
    margin-bottom: 8px;
    font-size: 1.34rem;
    line-height: 1.14;
  }

  .page-home .cta-band--home p {
    font-size: .84rem;
    line-height: 1.5;
  }

  .page-home .cta-band--home .inline-actions--stacked {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-home .cta-band--home .inline-actions--stacked .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 9px;
    font-size: .9rem;
    font-weight: 800;
    border-radius: 10px;
  }

  .page-home .cta-band--home .inline-actions--stacked .btn:first-child,
  .page-home .cta-band--home .inline-actions--stacked .btn:last-child {
    grid-column: 1 / -1;
  }

}

/* ================================================================
   Services page: full-screen hero + transparent service cutouts
   ================================================================ */
.page-hero--services {
  position: relative;
  min-height: calc(100svh - 90px);
  padding: 0;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background-color: #091625;
  background-image: url("../img/services-hero-workshop.webp");
  background-position: center 46%;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
}

html[data-theme="dark"] .page-hero--services {
  background-image:
    linear-gradient(90deg, rgba(5, 13, 26, .92) 0%, rgba(5, 14, 29, .83) 38%, rgba(6, 16, 33, .46) 67%, rgba(6, 16, 33, .24) 100%),
    linear-gradient(180deg, rgba(4, 12, 24, .07), rgba(4, 12, 24, .28)),
    url("../img/services-hero-workshop.webp");
}

html[data-theme="light"] .page-hero--services {
  background-image:
    linear-gradient(90deg, rgba(5, 13, 26, .88) 0%, rgba(5, 14, 29, .70) 38%, rgba(6, 16, 33, .18) 67%, rgba(6, 16, 33, .03) 100%),
    linear-gradient(180deg, rgba(4, 12, 24, .02), rgba(4, 12, 24, .12)),
    url("../img/services-hero-workshop.webp");
}

.page-hero--services::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 26%, rgba(48, 159, 255, .18), transparent 26rem),
    radial-gradient(circle at 53% 80%, rgba(125, 83, 255, .12), transparent 25rem);
}

html[data-theme="light"] .page-hero--services::before {
  background:
    radial-gradient(circle at 72% 26%, rgba(48, 159, 255, .08), transparent 26rem),
    radial-gradient(circle at 53% 80%, rgba(125, 83, 255, .05), transparent 25rem);
}

.page-hero--services > .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1280px);
  margin-inline: auto;
  min-height: calc(100svh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 78px;
  padding-bottom: 70px;
}

.page-hero--services .breadcrumbs {
  margin-bottom: 20px;
  color: rgba(213, 226, 243, .67);
}

.page-hero--services .breadcrumbs a {
  color: #68baff;
}

.page-hero--services .eyebrow {
  margin-bottom: 18px;
  color: #a48cff;
  background: rgba(11, 29, 50, .58);
  border-color: rgba(99, 203, 255, .24);
  backdrop-filter: blur(8px);
}

.page-hero--services h1 {
  max-width: 700px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.5rem, 4.45vw, 4.05rem);
  line-height: 1.07;
  letter-spacing: -.04em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .26);
}

.page-hero--services .lead {
  max-width: 650px;
  margin: 0;
  color: rgba(226, 236, 248, .84);
  font-size: 1rem;
  line-height: 1.62;
}

.services-overview {
  padding-top: 18px;
  padding-bottom: 46px;
}

.services-overview > .container {
  width: min(calc(100vw - 40px), 1840px);
}

.services-overview__header {
  max-width: 860px;
}

.services-overview__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.95rem, 2.7vw, 2.85rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}


.services-explorer {
  margin-top: 16px;
}

.services-explorer__desktop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 144px 322px 144px;
  column-gap: 12px;
  row-gap: 12px;
  align-items: center;
}

.service-card--1 { grid-column: 1 / span 4; grid-row: 1; }
.service-card--2 { grid-column: 5 / span 4; grid-row: 1; }
.service-card--3 { grid-column: 9 / span 4; grid-row: 1; }
.service-card--4 { grid-column: 1 / span 3; grid-row: 2; }
.service-card--5 { grid-column: 10 / span 3; grid-row: 2; }
.service-card--6 { grid-column: 1 / span 4; grid-row: 3; }
.service-card--7 { grid-column: 5 / span 4; grid-row: 3; }
.service-card--8 { grid-column: 9 / span 4; grid-row: 3; }

.services-explorer__mobile {
  display: none;
}

:where(.services-explorer__desktop) > .service-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  box-shadow: 0 12px 30px rgba(9, 22, 38, .08);
  cursor: pointer;
  text-align: left;
  appearance: none;
  overflow: hidden;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.service-card--4,
.service-card--5 {
  height: 166px;
  align-self: center;
}

:where(.services-explorer__desktop) > .service-card:hover,
:where(.services-explorer__desktop) > .service-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  box-shadow: 0 18px 42px rgba(9, 22, 38, .12);
  outline: 0;
}

:where(.services-explorer__desktop) > .service-card.is-active {
  border-color: color-mix(in srgb, #63d995 76%, var(--line));
  background:
    linear-gradient(180deg, rgba(69, 198, 126, .16), rgba(69, 198, 126, .055)),
    color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow:
    0 0 0 1px rgba(99, 217, 149, .20),
    0 22px 48px rgba(32, 132, 83, .16);
}

/* Four desktop corner cards use one canonical geometry mirrored around the tablet.
   The desktop grid gap is 12px in both axes. The tablet radius is 34px, so the
   inner card curve is a concentric 46px radius: the visible gap stays 12px
   through the entire straight-to-curve-to-straight transition. */
.service-card--1,
.service-card--3,
.service-card--6,
.service-card--8 {
  z-index: 2;
  height: 218px;
  border: 0;
  border-radius: 0;
  --service-shape-border: var(--line);
  --service-shape-surface: color-mix(in srgb, var(--surface) 93%, transparent);
  --service-shape-shadow: rgba(9, 22, 38, .08);
  background: var(--service-shape-border);
  box-shadow: none;
  filter: drop-shadow(0 12px 24px var(--service-shape-shadow));
}

.service-card--1,
.service-card--3 {
  align-self: start;
}

.service-card--6,
.service-card--8 {
  align-self: end;
}

.service-card--1 {
  clip-path: polygon(
    24px 0,
    calc(100% - 24px) 0,
    calc(100% - 17.79px) 0.82px,
    calc(100% - 12px) 3.22px,
    calc(100% - 7.03px) 7.03px,
    calc(100% - 3.22px) 12px,
    calc(100% - 0.82px) 17.79px,
    100% 24px,
    100% 120px,
    calc(100% - 0.82px) 126.21px,
    calc(100% - 3.22px) 132px,
    calc(100% - 7.03px) 136.97px,
    calc(100% - 12px) 140.78px,
    calc(100% - 17.79px) 143.18px,
    calc(100% - 24px) 144px,
    calc(75% + 43px) 144px,
    calc(75% + 31.09px) 145.57px,
    calc(75% + 20px) 150.16px,
    calc(75% + 10.47px) 157.47px,
    calc(75% + 3.16px) 167px,
    calc(75% - 1.43px) 178.09px,
    calc(75% - 3px) 190px,
    calc(75% - 3px) 194px,
    calc(75% - 3.82px) 200.21px,
    calc(75% - 6.22px) 206px,
    calc(75% - 10.03px) 210.97px,
    calc(75% - 15px) 214.78px,
    calc(75% - 20.79px) 217.18px,
    calc(75% - 27px) 100%,
    24px 100%,
    17.79px 217.18px,
    12px 214.78px,
    7.03px 210.97px,
    3.22px 206px,
    0.82px 200.21px,
    0 194px,
    0 24px,
    0.82px 17.79px,
    3.22px 12px,
    7.03px 7.03px,
    12px 3.22px,
    17.79px 0.82px
  );
}

.service-card--3 {
  clip-path: polygon(
    calc(100% - 24px) 0,
    24px 0,
    17.79px 0.82px,
    12px 3.22px,
    7.03px 7.03px,
    3.22px 12px,
    0.82px 17.79px,
    0 24px,
    0 120px,
    0.82px 126.21px,
    3.22px 132px,
    7.03px 136.97px,
    12px 140.78px,
    17.79px 143.18px,
    24px 144px,
    calc(25% - 43px) 144px,
    calc(25% - 31.09px) 145.57px,
    calc(25% - 20px) 150.16px,
    calc(25% - 10.47px) 157.47px,
    calc(25% - 3.16px) 167px,
    calc(25% + 1.43px) 178.09px,
    calc(25% + 3px) 190px,
    calc(25% + 3px) 194px,
    calc(25% + 3.82px) 200.21px,
    calc(25% + 6.22px) 206px,
    calc(25% + 10.03px) 210.97px,
    calc(25% + 15px) 214.78px,
    calc(25% + 20.79px) 217.18px,
    calc(25% + 27px) 100%,
    calc(100% - 24px) 100%,
    calc(100% - 17.79px) 217.18px,
    calc(100% - 12px) 214.78px,
    calc(100% - 7.03px) 210.97px,
    calc(100% - 3.22px) 206px,
    calc(100% - 0.82px) 200.21px,
    100% 194px,
    100% 24px,
    calc(100% - 0.82px) 17.79px,
    calc(100% - 3.22px) 12px,
    calc(100% - 7.03px) 7.03px,
    calc(100% - 12px) 3.22px,
    calc(100% - 17.79px) 0.82px
  );
}

.service-card--6 {
  clip-path: polygon(
    24px 100%,
    calc(100% - 24px) 100%,
    calc(100% - 17.79px) 217.18px,
    calc(100% - 12px) 214.78px,
    calc(100% - 7.03px) 210.97px,
    calc(100% - 3.22px) 206px,
    calc(100% - 0.82px) 200.21px,
    100% 194px,
    100% 98px,
    calc(100% - 0.82px) 91.79px,
    calc(100% - 3.22px) 86px,
    calc(100% - 7.03px) 81.03px,
    calc(100% - 12px) 77.22px,
    calc(100% - 17.79px) 74.82px,
    calc(100% - 24px) 74px,
    calc(75% + 43px) 74px,
    calc(75% + 31.09px) 72.43px,
    calc(75% + 20px) 67.84px,
    calc(75% + 10.47px) 60.53px,
    calc(75% + 3.16px) 51px,
    calc(75% - 1.43px) 39.91px,
    calc(75% - 3px) 28px,
    calc(75% - 3px) 24px,
    calc(75% - 3.82px) 17.79px,
    calc(75% - 6.22px) 12px,
    calc(75% - 10.03px) 7.03px,
    calc(75% - 15px) 3.22px,
    calc(75% - 20.79px) 0.82px,
    calc(75% - 27px) 0,
    24px 0,
    17.79px 0.82px,
    12px 3.22px,
    7.03px 7.03px,
    3.22px 12px,
    0.82px 17.79px,
    0 24px,
    0 194px,
    0.82px 200.21px,
    3.22px 206px,
    7.03px 210.97px,
    12px 214.78px,
    17.79px 217.18px
  );
}

.service-card--8 {
  clip-path: polygon(
    calc(100% - 24px) 100%,
    24px 100%,
    17.79px 217.18px,
    12px 214.78px,
    7.03px 210.97px,
    3.22px 206px,
    0.82px 200.21px,
    0 194px,
    0 98px,
    0.82px 91.79px,
    3.22px 86px,
    7.03px 81.03px,
    12px 77.22px,
    17.79px 74.82px,
    24px 74px,
    calc(25% - 43px) 74px,
    calc(25% - 31.09px) 72.43px,
    calc(25% - 20px) 67.84px,
    calc(25% - 10.47px) 60.53px,
    calc(25% - 3.16px) 51px,
    calc(25% + 1.43px) 39.91px,
    calc(25% + 3px) 28px,
    calc(25% + 3px) 24px,
    calc(25% + 3.82px) 17.79px,
    calc(25% + 6.22px) 12px,
    calc(25% + 10.03px) 7.03px,
    calc(25% + 15px) 3.22px,
    calc(25% + 20.79px) 0.82px,
    calc(25% + 27px) 0,
    calc(100% - 24px) 0,
    calc(100% - 17.79px) 0.82px,
    calc(100% - 12px) 3.22px,
    calc(100% - 7.03px) 7.03px,
    calc(100% - 3.22px) 12px,
    calc(100% - 0.82px) 17.79px,
    100% 24px,
    100% 194px,
    calc(100% - 0.82px) 200.21px,
    calc(100% - 3.22px) 206px,
    calc(100% - 7.03px) 210.97px,
    calc(100% - 12px) 214.78px,
    calc(100% - 17.79px) 217.18px
  );
}

.service-card--1::before,
.service-card--3::before,
.service-card--6::before,
.service-card--8::before {
  position: absolute;
  inset: 1px;
  content: "";
  z-index: 0;
  clip-path: inherit;
  background: var(--service-shape-surface);
  pointer-events: none;
}

.service-card--1 .service-card__media {
  width: 186px;
  height: 154px;
  transform: translate(-6px, -43px);
}

@media (min-width: 1201px) {
  /* Corner cards keep their labels in the outer corners, away from the tablet
     cut-outs. Right-hand cards mirror the media/copy layout for the same reason. */
  .service-card--1 .service-card__copy,
  .service-card--3 .service-card__copy,
  .service-card--5 .service-card__copy,
  .service-card--6 .service-card__copy,
  .service-card--8 .service-card__copy {
    position: static;
  }

  .service-card--1 .service-card__topline,
  .service-card--3 .service-card__topline,
  .service-card--5 .service-card__topline,
  .service-card--6 .service-card__topline,
  .service-card--8 .service-card__topline {
    position: absolute;
    z-index: 3;
    margin-bottom: 0;
  }

  .service-card--1 .service-card__topline {
    top: 16px;
    left: 18px;
  }

  .service-card--3 .service-card__topline {
    top: 16px;
    right: 18px;
    flex-direction: row-reverse;
  }

  .service-card--6 .service-card__topline {
    top: 16px;
    left: 18px;
  }

  .service-card--5 .service-card__topline,
  .service-card--8 .service-card__topline {
    top: 16px;
    right: 18px;
    flex-direction: row-reverse;
  }

  .service-card--3,
  .service-card--5,
  .service-card--8 {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .service-card--3 .service-card__copy,
  .service-card--5 .service-card__copy,
  .service-card--8 .service-card__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .service-card--3 .service-card__media,
  .service-card--5 .service-card__media,
  .service-card--8 .service-card__media {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .service-card--3 .service-card__media {
    align-self: start;
  }

  .service-card--5 .service-card__media {
    align-self: center;
    width: 132px;
    height: 96px;
  }

  .service-card--8 .service-card__media {
    align-self: end;
  }

  .service-card--3 .service-card__title,
  .service-card--3 .service-card__summary {
    transform: translateY(10px);
  }

  .service-card--5 .service-card__title,
  .service-card--5 .service-card__summary {
    transform: translateY(30px);
  }

  .service-card--6 .service-card__title,
  .service-card--6 .service-card__summary {
    transform: translateY(14px);
  }

  .service-card--8 .service-card__title,
  .service-card--8 .service-card__summary {
    transform: translateY(14px);
  }
}

.service-card--1:hover,
.service-card--1:focus-visible,
.service-card--3:hover,
.service-card--3:focus-visible,
.service-card--6:hover,
.service-card--6:focus-visible,
.service-card--8:hover,
.service-card--8:focus-visible {
  --service-shape-border: color-mix(in srgb, var(--primary) 40%, var(--line));
  --service-shape-shadow: rgba(9, 22, 38, .12);
  background: var(--service-shape-border);
  box-shadow: none;
}

.service-card--1.is-active,
.service-card--3.is-active,
.service-card--6.is-active,
.service-card--8.is-active {
  --service-shape-border: color-mix(in srgb, #63d995 78%, var(--line));
  --service-shape-surface:
    linear-gradient(180deg, rgba(69, 198, 126, .16), rgba(69, 198, 126, .055)),
    color-mix(in srgb, var(--surface) 94%, transparent);
  --service-shape-shadow: rgba(32, 132, 83, .22);
  background: var(--service-shape-border);
  box-shadow: none;
}

.service-card__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.service-card__topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.service-card__number {
  min-width: 46px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 10px;
  border-radius: 13px;
  color: var(--primary-strong);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.service-card.is-active .service-card__number {
  color: #7ce7aa;
  background: color-mix(in srgb, #43c97d 17%, var(--surface));
  box-shadow: 0 0 18px rgba(77, 221, 139, .20);
}

.service-card__line {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  opacity: .9;
  transition: background .18s ease, box-shadow .18s ease;
}

.service-card.is-active .service-card__line {
  background: linear-gradient(90deg, #45c97d, #83e9ae);
  box-shadow: 0 0 10px rgba(77, 221, 139, .22);
}

.service-card__title {
  display: block;
  margin-bottom: 7px;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.11;
  letter-spacing: .012em;
}

.service-card__summary {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.34;
}

.service-card__media {
  position: relative;
  z-index: 2;
  margin: 0;
  width: clamp(86px, 18vw, 136px);
  height: clamp(78px, 15vw, 116px);
  display: grid;
  place-items: center;
  align-self: end;
  justify-self: end;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter:
    brightness(.72)
    saturate(.80)
    contrast(.95)
    drop-shadow(0 14px 22px rgba(6, 18, 30, .16));
  transition: filter .18s ease;
}

.service-card.is-active .service-card__media img {
  filter:
    brightness(.80)
    saturate(.88)
    contrast(.97)
    drop-shadow(0 14px 22px rgba(6, 18, 30, .18));
}

.service-card--2 .service-card__media {
  width: 146px;
  height: 108px;
}

.service-card--4 .service-card__media {
  width: 116px;
  height: 116px;
}

.service-card--5 .service-card__media {
  width: 132px;
  height: 96px;
}

.service-card--7 .service-card__media {
  width: 126px;
  height: 98px;
}

.service-card--2 .service-card__media img {
  transform: translateX(-14px) translateY(-20px) scale(1.03);
}

.service-card--4 .service-card__media img {
  transform: translateX(8px) translateY(2px) rotate(28deg) scale(1.14);
  transform-origin: center;
}

.service-card--5 .service-card__media img {
  transform: translateX(-2px) translateY(0) scale(.96);
}

.service-card--6 .service-card__media img {
  transform: translateY(-10px);
}

.service-card--7 .service-card__media img {
  transform: translateX(4px) translateY(-20px) scale(1.03);
}

.service-visual-symbol {
  position: relative;
  width: 126px;
  height: 92px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--primary) 78%, #8e7dff 22%);
  filter: drop-shadow(0 16px 22px rgba(5, 19, 35, .22));
}

.service-visual-symbol__core {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 15px;
  background:
    linear-gradient(135deg, color-mix(in srgb, currentColor 11%, transparent), transparent 58%),
    color-mix(in srgb, var(--surface-2) 78%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, currentColor 18%, transparent),
    inset 0 -12px 22px rgba(4, 12, 22, .12);
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .045em;
}

.service-visual-symbol::before,
.service-visual-symbol::after {
  position: absolute;
  z-index: 0;
  content: "";
  width: 114px;
  height: 8px;
  border-left: 12px dotted currentColor;
  border-right: 12px dotted currentColor;
  opacity: .64;
}

.service-visual-symbol::before { top: 6px; }
.service-visual-symbol::after { bottom: 6px; }

.service-visual-symbol--tcu .service-visual-symbol__core {
  width: 94px;
  height: 74px;
  border-radius: 26px 13px 20px 13px;
}

.service-visual-symbol--tcu .service-visual-symbol__core::after {
  position: absolute;
  right: -18px;
  top: 19px;
  width: 28px;
  height: 28px;
  content: "";
  border: 3px solid currentColor;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-2) 88%, transparent);
}

.service-visual-symbol--cluster .service-visual-symbol__core {
  width: 112px;
  height: 64px;
  border-radius: 34px 34px 13px 13px;
}

.service-visual-symbol--cluster .service-visual-symbol__core::before,
.service-visual-symbol--cluster .service-visual-symbol__core::after {
  position: absolute;
  top: 15px;
  width: 24px;
  height: 24px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: .68;
}

.service-visual-symbol--cluster .service-visual-symbol__core::before { left: 14px; }
.service-visual-symbol--cluster .service-visual-symbol__core::after { right: 14px; }

.service-visual-symbol--srs .service-visual-symbol__core {
  width: 76px;
  height: 76px;
  border-radius: 50%;
}

.service-visual-symbol--srs::before,
.service-visual-symbol--srs::after {
  display: none;
}

.service-visual-symbol--bcm .service-visual-symbol__core {
  border-radius: 10px;
}

.service-visual-symbol--mobile {
  width: 150px;
  height: 108px;
}

:where(.services-explorer__desktop) > .service-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
  opacity: .82;
}

.service-card--1::after,
.service-card--2::after,
.service-card--3::after {
  left: calc(50% - .5px);
  bottom: -26px;
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 70%, transparent), rgba(40, 124, 240, 0));
}

.service-card--4::after,
.service-card--5::after {
  top: calc(50% - .5px);
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 70%, transparent), rgba(40, 124, 240, 0));
}

.service-card--4::after {
  right: -24px;
}

.service-card--5::after {
  left: -24px;
  background: linear-gradient(270deg, color-mix(in srgb, var(--primary) 70%, transparent), rgba(40, 124, 240, 0));
}

.service-card--6::after,
.service-card--7::after,
.service-card--8::after {
  left: calc(50% - .5px);
  top: -26px;
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, rgba(40, 124, 240, 0), color-mix(in srgb, var(--primary) 72%, transparent));
}

.service-card--1::after,
.service-card--3::after,
.service-card--6::after,
.service-card--8::after {
  display: none;
}

.services-hub {
  grid-column: 4 / span 6;
  grid-row: 2;
  position: relative;
  align-self: stretch;
}

.services-hub__frame {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 14px;
  padding: 12px 12px 12px 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, #495463 0%, #2d3642 100%);
  border: 1px solid rgba(63, 73, 84, .35);
  box-shadow: 0 28px 58px rgba(7, 15, 28, .26);
}

.services-hub__frame::before,
.services-hub__frame::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #778392, #2a313b 72%);
  box-shadow:
    0 0 0 2px rgba(14, 17, 24, .35),
    inset 0 1px 1px rgba(255,255,255,.18);
}

.services-hub__frame::before {
  top: 14px;
  left: 14px;
}

.services-hub__frame::after {
  right: 14px;
  bottom: 14px;
}

.services-hub__edge {
  position: absolute;
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
  z-index: 2;
}

.services-hub__edge span {
  width: 8px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(18, 25, 34, .18));
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.18),
    inset 0 -1px 1px rgba(0,0,0,.28),
    0 1px 3px rgba(3, 10, 18, .24);
}

.services-hub__edge--left {
  left: 10px;
}

.services-hub__screen {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(68, 145, 255, .18), transparent 12rem),
    radial-gradient(circle at 18% 82%, rgba(66, 210, 255, .10), transparent 10rem),
    linear-gradient(180deg, #10263f 0%, #0d1b2d 100%);
  border: 1px solid rgba(138, 175, 227, .24);
}

.services-hub__screen::before {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 2px;
  content: "";
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scaleX(.08);
  transform-origin: center;
  border-radius: 999px;
  background: rgba(238, 248, 255, .96);
  box-shadow:
    0 0 7px rgba(225, 244, 255, .95),
    0 0 18px rgba(99, 180, 255, .72);
}

.services-hub__screen::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  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: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 92%);
}

.services-hub__brand-strip {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 76px;
  bottom: 12px;
  width: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 42%, rgba(0,0,0,.22)),
    linear-gradient(180deg, #3d4651 0%, #2e3741 100%);
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,.045),
    inset -1px 0 0 rgba(0,0,0,.42);
}

.services-hub__brand-strip::after {
  position: absolute;
  top: 8%;
  left: 3px;
  width: 1px;
  height: 84%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.16) 24%, rgba(255,255,255,.04) 72%, transparent);
  opacity: .72;
}

.services-hub__brand-strip span {
  display: block;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .61rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .17em;
  word-spacing: 1.02em;
  text-transform: uppercase;
  color: #aeb6bc;
  background:
    linear-gradient(90deg,
      #556069 0%,
      #7c8790 18%,
      #c3cacf 38%,
      #d5dce0 48%,
      #b0b8bf 60%,
      #c8d0d5 74%,
      #5f6972 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .05px rgba(230, 235, 238, .24);
  text-shadow: none;
  filter: none;
  opacity: .92;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.services-hub__hardware {
  position: relative;
  z-index: 3;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 7px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045), transparent 24%, transparent 76%, rgba(255,255,255,.03)),
    linear-gradient(180deg, #3b4551 0%, #28313b 100%);
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,.05),
    inset -1px 0 0 rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.045),
    0 8px 20px rgba(0,0,0,.18);
}

.services-hub__hardware::before {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 26px;
  height: 5px;
  content: "";
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 3px 2.5px, #55efae 0 2px, transparent 2.4px),
    radial-gradient(circle at 13px 2.5px, #5ea9ff 0 2px, transparent 2.4px),
    radial-gradient(circle at 23px 2.5px, #f4b650 0 2px, transparent 2.4px);
  opacity: .82;
}

.services-hub__hardware-button {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 9px;
  color: rgba(226, 233, 240, .88);
  background: linear-gradient(180deg, #303944 0%, #1c242d 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.10),
    inset 0 -2px 4px rgba(0,0,0,.42),
    0 2px 4px rgba(0,0,0,.30);
  padding: 0;
  appearance: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  cursor: pointer;
  transition:
    transform .14s ease,
    border-color .14s ease,
    background .14s ease,
    opacity .14s ease;
}

.services-hub__hardware-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
  background: linear-gradient(180deg, #39434f 0%, #222b35 100%);
}

.services-hub__hardware-button:active:not(:disabled) {
  transform: translateY(1px);
}

.services-hub__hardware-button:focus-visible {
  outline: 2px solid rgba(101, 179, 255, .72);
  outline-offset: 2px;
}

.services-hub__hardware-button:disabled {
  opacity: .38;
  cursor: default;
}

.services-hub__hardware-button--power {
  color: #ff7676;
  border-color: rgba(225, 80, 80, .34);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.10),
    inset 0 -2px 4px rgba(0,0,0,.42),
    0 0 0 1px rgba(155, 38, 38, .14),
    0 2px 4px rgba(0,0,0,.30);
}

.services-hub__hardware-button--previous,
.services-hub__hardware-button--next {
  font-size: 1.65rem;
  font-weight: 700;
  padding-bottom: 2px;
}

.services-hub__hardware-button--home {
  font-size: 1.08rem;
}

.services-hub.is-turning-off .services-hub__content {
  transform-origin: center;
  animation: servicesHubCrtOff .62s cubic-bezier(.55, .02, .30, 1) forwards;
}

.services-hub.is-turning-off .services-hub__screen::before {
  animation: servicesHubCrtLineOff .62s ease-out forwards;
}

.services-hub.is-turning-on .services-hub__content {
  transform-origin: center;
  animation: servicesHubCrtOn .64s cubic-bezier(.20, .72, .22, 1) forwards;
}

.services-hub.is-turning-on .services-hub__screen::before {
  animation: servicesHubCrtLineOn .64s ease-out forwards;
}

.services-hub.is-powered-off .services-hub__screen {
  background:
    radial-gradient(ellipse at center, rgba(25, 31, 38, .32), transparent 48%),
    linear-gradient(180deg, #06090d 0%, #020406 100%);
  border-color: rgba(103, 119, 136, .16);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, .72);
}

.services-hub.is-powered-off .services-hub__screen::after {
  opacity: .08;
}

.services-hub.is-powered-off .services-hub__content {
  visibility: hidden;
  opacity: 0;
  transform: scaleX(.08) scaleY(.004);
  pointer-events: none;
}

.services-hub.is-powered-off .services-hub__hardware::before {
  opacity: .28;
}

@keyframes servicesHubCrtOff {
  0% {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    filter: brightness(1);
  }
  52% {
    opacity: .96;
    transform: scaleX(1) scaleY(.075);
    filter: brightness(1.3);
  }
  76% {
    opacity: 1;
    transform: scaleX(.72) scaleY(.012);
    filter: brightness(1.9);
  }
  100% {
    opacity: 0;
    transform: scaleX(.08) scaleY(.004);
    filter: brightness(2.2);
  }
}

@keyframes servicesHubCrtLineOff {
  0%, 42% {
    opacity: 0;
    transform: translateY(-50%) scaleX(.08);
  }
  68% {
    opacity: 1;
    transform: translateY(-50%) scaleX(.82);
  }
  86% {
    opacity: .92;
    transform: translateY(-50%) scaleX(.28);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scaleX(.04);
  }
}

@keyframes servicesHubCrtOn {
  0% {
    opacity: 0;
    transform: scaleX(.08) scaleY(.004);
    filter: brightness(2.1);
  }
  24% {
    opacity: 1;
    transform: scaleX(.68) scaleY(.012);
    filter: brightness(1.8);
  }
  52% {
    opacity: 1;
    transform: scaleX(1) scaleY(.08);
    filter: brightness(1.25);
  }
  100% {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    filter: brightness(1);
  }
}

@keyframes servicesHubCrtLineOn {
  0% {
    opacity: 0;
    transform: translateY(-50%) scaleX(.04);
  }
  18% {
    opacity: 1;
    transform: translateY(-50%) scaleX(.22);
  }
  42% {
    opacity: .9;
    transform: translateY(-50%) scaleX(.88);
  }
  72%, 100% {
    opacity: 0;
    transform: translateY(-50%) scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hub.is-turning-off .services-hub__content,
  .services-hub.is-turning-on .services-hub__content,
  .services-hub.is-turning-off .services-hub__screen::before,
  .services-hub.is-turning-on .services-hub__screen::before {
    animation: none;
  }
}

.services-hub__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px 20px 10px;
}

.services-hub__active-number {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 13px;
  pointer-events: none;
  color: #79e5a7;
  font-size: 1.52rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  text-shadow:
    0 0 8px rgba(74, 218, 134, .28),
    0 0 18px rgba(74, 218, 134, .12);
  opacity: .94;
}

.services-hub__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.services-hub__kicker {
  color: rgba(226, 238, 251, .82);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.services-hub__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  color: rgba(230, 240, 251, .85);
  background: rgba(255,255,255,.08);
  font-size: .8rem;
  font-weight: 700;
  border: 1px solid rgba(111, 141, 190, .16);
}

.services-hub__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5cffb4;
  box-shadow: 0 0 12px rgba(92, 255, 180, .72);
}

.services-hub__body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.services-hub__copy {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.services-hub__copy h3 {
  margin: 0 0 5px;
  color: #f5f8ff;
  font-size: clamp(1.42rem, 1.65vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.services-hub__section-title {
  margin: 0 0 4px;
  color: rgba(222, 234, 249, .9);
  font-size: .94rem;
  line-height: 1.32;
}

.services-hub__copy ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  list-style: none;
}

.services-hub__copy li {
  position: relative;
  padding-left: 16px;
  color: rgba(234, 241, 251, .94);
  font-size: .94rem;
  line-height: 1.23;
}

.services-hub__copy li::before {
  position: absolute;
  left: 0;
  top: .48em;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #5cc2ff;
  box-shadow: 0 0 0 4px rgba(83, 191, 255, .14);
}

.services-hub__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.services-hub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.services-hub__chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  color: rgba(232, 241, 252, .92);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(111, 141, 190, .18);
  font-size: .78rem;
  font-weight: 700;
}

.services-overview__note {
  margin-top: 18px;
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.services-overview__note p {
  margin: 0;
  font-size: .96rem;
}

.services-overview__note-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-strong);
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--line));
  font-size: .9rem;
  font-weight: 800;
  font-style: normal;
  text-transform: lowercase;
}

/* Services page: quick links and additional service categories */
.services-jump-nav {
  width: fit-content;
  max-width: 100%;
  margin-top: 34px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.services-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  padding: 2px 0;
  color: #79d9ff;
  font-size: clamp(1.14rem, 1.35vw, 1.34rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: .018em;
  text-decoration: none;
  text-shadow: 0 0 22px rgba(42, 155, 255, .34);
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}

.services-jump-link:hover,
.services-jump-link:focus-visible {
  color: #c5f1ff;
  transform: translateX(5px);
  text-shadow: 0 0 24px rgba(72, 178, 255, .52);
}

.services-jump-link:focus-visible {
  outline: 2px solid rgba(126, 216, 255, .72);
  outline-offset: 5px;
  border-radius: 4px;
}

.services-jump-link__arrow {
  flex: 0 0 auto;
  color: #a58fff;
  font-size: 1.15em;
  font-weight: 900;
  transition: transform .2s ease;
}

.services-jump-link:hover .services-jump-link__arrow,
.services-jump-link:focus-visible .services-jump-link__arrow {
  transform: translate(3px, 3px);
}

#servicios-automocion,
#servicios-moto,
#servicios-cerrajeria {
  scroll-margin-top: 0;
}

.services-category-section {
  position: relative;
  padding: 82px 0 86px;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.services-category-section--moto {
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--primary) 11%, transparent), transparent 31rem),
    color-mix(in srgb, var(--surface) 30%, transparent);
}

.services-category-section--lock {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 30rem),
    color-mix(in srgb, var(--surface-2) 38%, transparent);
}

.services-category-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.services-category-heading .eyebrow {
  margin-bottom: 13px;
}

.services-category-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 3.5vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.services-category-heading p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.services-feature-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: stretch;
}

.services-feature-stage--lock {
  grid-template-columns: minmax(340px, .92fr) minmax(0, 1.08fr);
}

.services-feature-photo {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
  box-shadow: 0 26px 65px rgba(5, 16, 29, .15);
  background: #111827;
}

.services-feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(6, 14, 28, .64) 100%);
}

.services-feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}

.services-feature-stage:hover .services-feature-photo img {
  transform: scale(1.025);
}

.services-feature-stage--moto .services-feature-photo img {
  object-position: center 54%;
}

.services-feature-stage--lock .services-feature-photo img {
  object-position: center 50%;
}

.services-feature-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 18, 34, .66);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.services-feature-copy {
  align-self: center;
  padding: 24px 0;
}

.services-feature-kicker {
  display: inline-flex;
  margin-bottom: 15px;
  color: var(--primary-strong);
  font-size: .83rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.services-feature-copy h3 {
  max-width: 620px;
  margin: 0 0 17px;
  color: var(--text);
  font-size: clamp(1.72rem, 2.4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.services-feature-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.services-feature-points {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-feature-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--text) 90%, var(--primary));
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  font-size: .88rem;
  font-weight: 800;
}

.services-help-line {
  padding: 32px 0 46px;
}

.services-help-line .container {
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  padding-top: 24px;
}

.services-help-line p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.services-help-line strong { color: var(--text); }

.services-help-line a {
  color: var(--primary-strong);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.services-help-line a:hover,
.services-help-line a:focus-visible { color: var(--accent); }

@media (min-width: 900px) {
  .services-category-section {
    min-height: calc(100svh - 72px);
  }
}

@media (max-width: 1024px) {
  .services-feature-stage,
  .services-feature-stage--lock {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-feature-stage--lock .services-feature-copy { order: 2; }
  .services-feature-stage--lock .services-feature-photo { order: 1; }
  .services-feature-photo,
  .services-feature-photo img { min-height: 360px; }
  .services-feature-copy { padding: 2px 0 0; }
}

@media (max-width: 640px) {
  .services-jump-nav {
    margin-top: 26px;
    gap: 10px;
  }

  .services-jump-link {
    font-size: 1.05rem;
    line-height: 1.34;
    letter-spacing: .012em;
  }

  .services-category-section {
    min-height: 0;
    padding: 56px 0 60px;
  }

  .services-category-heading { margin-bottom: 24px; }
  .services-category-heading h2 { font-size: clamp(1.9rem, 8.3vw, 2.4rem); }
  .services-category-heading p { font-size: .96rem; }

  .services-feature-photo,
  .services-feature-photo img {
    min-height: 265px;
    border-radius: 21px;
  }

  .services-feature-photo figcaption {
    left: 15px;
    bottom: 14px;
    font-size: .62rem;
  }

  .services-feature-copy h3 { font-size: clamp(1.55rem, 7.2vw, 2rem); }
  .services-feature-copy > p { font-size: .96rem; }
  .services-feature-points { gap: 8px; margin-top: 21px; }
  .services-feature-points span { min-height: 35px; padding: 7px 11px; font-size: .8rem; }
  .services-help-line { padding: 26px 0 38px; }
}

html[data-theme="light"] :where(.services-explorer__desktop) > .service-card {
  background: rgba(255,255,255,.94);
}

html[data-theme="light"] .service-card--1,
html[data-theme="light"] .service-card--3,
html[data-theme="light"] .service-card--6,
html[data-theme="light"] .service-card--8 {
  --service-shape-surface: rgba(255,255,255,.94);
  background: var(--service-shape-border);
}

html[data-theme="light"] :where(.services-explorer__desktop) > .service-card.is-active {
  background:
    linear-gradient(180deg, rgba(69, 198, 126, .14), rgba(69, 198, 126, .045)),
    rgba(255,255,255,.98);
}

html[data-theme="light"] .service-card.is-active .service-card__number {
  color: #218b53;
  background: rgba(69, 198, 126, .14);
  box-shadow: 0 0 14px rgba(54, 177, 105, .14);
}

html[data-theme="light"] .service-card--1.is-active,
html[data-theme="light"] .service-card--3.is-active,
html[data-theme="light"] .service-card--6.is-active,
html[data-theme="light"] .service-card--8.is-active {
  --service-shape-surface:
    linear-gradient(180deg, rgba(69, 198, 126, .14), rgba(69, 198, 126, .045)),
    rgba(255,255,255,.98);
  background: var(--service-shape-border);
}

html[data-theme="light"] .services-hub__frame {
  background: linear-gradient(180deg, #596575 0%, #394351 100%);
  box-shadow: 0 30px 60px rgba(27, 49, 79, .18);
}

html[data-theme="light"] .services-hub__screen {
  background:
    radial-gradient(circle at 82% 18%, rgba(68, 145, 255, .15), transparent 12rem),
    radial-gradient(circle at 18% 82%, rgba(66, 210, 255, .08), transparent 10rem),
    linear-gradient(180deg, #143151 0%, #11263e 100%);
}

@media (max-width: 1200px) {

  .service-card--1,
  .service-card--3,
  .service-card--6,
  .service-card--8 {
    height: 100%;
    align-self: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    clip-path: none;
    background: color-mix(in srgb, var(--surface) 93%, transparent);
    filter: none;
  }

  .service-card--1::before,
  .service-card--3::before,
  .service-card--6::before,
  .service-card--8::before {
    display: none;
  }

  .service-card--1 .service-card__media {
    width: 160px;
    height: 132px;
    transform: none;
  }
  .services-overview > .container {
    width: min(calc(100% - 40px), 1160px);
  }

  .services-explorer__desktop {
    grid-template-rows: 166px 396px 166px;
    column-gap: 13px;
    row-gap: 14px;
  }

  :where(.services-explorer__desktop) > .service-card {
    min-height: 136px;
    gap: 10px;
    padding: 14px;
  }

  .service-card--4,
  .service-card--5 {
    height: 280px;
  }

  .service-card__title {
    font-size: 1.04rem;
  }

  .service-card__summary {
    font-size: .82rem;
    line-height: 1.38;
  }

  .service-card__media {
    width: 110px;
    height: 100px;
  }

  .services-hub__content {
    padding: 20px 20px 16px;
  }

  .services-hub__copy h3 {
    font-size: clamp(1.42rem, 1.8vw, 1.8rem);
  }

  .services-hub__copy li {
    font-size: .92rem;
  }
}

@media (max-width: 1024px) {
  .page-hero--services,
  .page-hero--services > .container {
    min-height: calc(100svh - 62px);
  }

  .page-hero--services {
    background-position: 62% center;
  }

  .page-hero--services > .container {
    width: min(calc(100% - 40px), 1280px);
    justify-content: center;
    padding-top: 52px;
    padding-bottom: 92px;
  }

  .page-hero--services h1 {
    max-width: 620px;
    font-size: clamp(2.25rem, 8vw, 3.75rem);
  }

  .page-hero--services .lead {
    max-width: 610px;
  }

  .services-overview {
    padding-top: 28px;
  }

  .services-overview__header h2 {
    font-size: clamp(1.88rem, 4.2vw, 2.35rem);
  }

}

@media (max-width: 860px) {
  .page-hero--services,
  .page-hero--services > .container {
    min-height: calc(100svh - 62px);
  }

  .page-hero--services {
    background-position: 62% center;
  }

  .page-hero--services > .container {
    width: min(calc(100% - 40px), 1280px);
    justify-content: center;
    padding-top: 52px;
    padding-bottom: 92px;
  }

  .page-hero--services h1 {
    max-width: 620px;
    font-size: clamp(2.25rem, 8vw, 3.75rem);
  }

  .page-hero--services .lead {
    max-width: 610px;
  }
}

@media (max-width: 1080px) {
  .services-overview > .container {
    width: min(calc(100% - 40px), var(--max));
  }

  .services-explorer__desktop {
    display: none;
  }

  .services-explorer__mobile {
    display: grid;
    gap: 12px;
  }

  .service-accordion__item {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: 0 14px 34px rgba(8, 20, 34, .08);
    overflow: hidden;
  }

  .service-accordion__trigger {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 0;
    color: var(--text);
    background: transparent;
    text-align: left;
    cursor: pointer;
  }

  .service-accordion__number {
    min-width: 44px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary-strong);
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
  }

  .service-accordion__title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .service-accordion__chevron {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: transform .32s ease, color .24s ease;
  }

  .service-accordion__item.is-open .service-accordion__chevron {
    transform: rotate(180deg);
    color: var(--primary-strong);
  }

  .service-accordion__panel {
    height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 18px;
    transition: height .48s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
    will-change: height;
  }

  .service-accordion__item.is-open .service-accordion__panel {
    opacity: 1;
  }

  .service-accordion__inner {
    padding: 4px 0 18px;
    border-top: 1px solid var(--line);
  }

  .service-accordion__visual {
    margin: 14px 0 10px;
    width: min(100%, 180px);
    height: 132px;
  }

  .service-accordion__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(6, 18, 30, .18));
  }

  .service-accordion__description {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.52;
  }

  .service-accordion__list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    display: grid;
    gap: 8px;
  }

  .service-accordion__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }

  .service-accordion__chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--primary-strong);
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--line));
    font-size: .8rem;
    font-weight: 700;
  }

  .service-accordion__cta {
    width: 100%;
    margin-top: 16px;
  }

}

@media (max-width: 640px) {
  .page-hero--services,
  .page-hero--services > .container {
    min-height: clamp(330px, 43svh, 390px);
  }

  .page-hero--services {
    background-position: 58% center;
  }

  .page-hero--services > .container {
    width: min(calc(100% - 28px), 1280px);
    justify-content: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-hero--services .breadcrumbs {
    margin-bottom: 8px;
    font-size: .72rem;
  }

  .page-hero--services .eyebrow {
    margin-bottom: 9px;
    padding: 6px 9px;
    font-size: .68rem;
  }

  .page-hero--services h1 {
    width: min(68vw, 258px);
    max-width: 100%;
    margin-bottom: 0;
    font-size: clamp(1.55rem, 6.8vw, 1.82rem);
    line-height: 1.08;
  }

  .page-hero--services .lead {
    display: none;
  }

  .services-overview {
    padding-top: 15px;
  }

  .services-overview > .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .services-overview__header h2 {
    margin-bottom: 12px;
  }


  .services-explorer {
    margin-top: 22px;
  }

  .services-explorer__mobile {
    gap: 9px;
  }

  .service-accordion__item {
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(8, 20, 34, .07);
  }

  .service-accordion__trigger {
    gap: 10px;
    padding: 12px 13px;
  }

  .service-accordion__number {
    min-width: 38px;
    height: 34px;
    border-radius: 10px;
    font-size: 1.12rem;
  }

  .service-accordion__title {
    font-size: .96rem;
    line-height: 1.28;
  }

  .service-accordion__chevron {
    width: 30px;
    height: 30px;
    color: var(--primary-strong);
    background: none;
    border: 0;
    box-shadow: none;
  }

  .service-accordion__chevron svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .service-accordion__item.is-open .service-accordion__chevron {
    color: var(--primary-strong);
    background: none;
    border: 0;
    box-shadow: none;
  }

  .service-accordion__panel {
    padding: 0 13px;
  }

  .service-accordion__inner {
    padding: 0 0 13px;
  }

  .service-accordion__visual {
    width: min(52vw, 168px);
    height: 116px;
    margin: 12px auto 10px;
  }

  .service-accordion__description {
    margin-bottom: 10px;
    color: color-mix(in srgb, var(--text) 72%, var(--muted));
    font-size: .95rem;
    line-height: 1.55;
  }

  .service-accordion__list {
    padding-left: 19px;
    gap: 7px;
    color: color-mix(in srgb, var(--text) 70%, var(--muted));
    font-size: .91rem;
    line-height: 1.55;
  }

  .service-accordion__chips {
    gap: 6px;
    margin-top: 10px;
  }

  .service-accordion__chip {
    min-height: 27px;
    padding: 5px 9px;
    font-size: .76rem;
  }

  .service-accordion__cta {
    min-height: 39px;
    margin-top: 11px;
    padding-block: 9px;
    font-size: .82rem;
  }

  .services-overview__note {
    display: none;
  }

  #contacto-directo {
    scroll-margin-top: 74px;
  }

}



/* ================================================================
   Advice page — photographic hero with theme-aware overlay
   ================================================================ */
.page-hero--blog {
  position: relative;
  min-height: calc(100svh - 90px);
  padding: 0;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background-color: #091625;
  background-image: url("../img/blog-hero-electronics.webp");
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
}

html[data-theme="dark"] .page-hero--blog {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 25, .91) 0%, rgba(4, 14, 29, .81) 38%, rgba(5, 17, 33, .40) 65%, rgba(5, 17, 33, .18) 100%),
    linear-gradient(180deg, rgba(3, 10, 21, .06), rgba(3, 10, 21, .24)),
    url("../img/blog-hero-electronics.webp");
}

html[data-theme="light"] .page-hero--blog {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 25, .86) 0%, rgba(4, 14, 29, .66) 38%, rgba(5, 17, 33, .14) 65%, rgba(5, 17, 33, .01) 100%),
    linear-gradient(180deg, rgba(3, 10, 21, .01), rgba(3, 10, 21, .08)),
    url("../img/blog-hero-electronics.webp");
}

.page-hero--blog::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 26%, rgba(47, 170, 255, .14), transparent 25rem),
    radial-gradient(circle at 55% 82%, rgba(125, 84, 255, .09), transparent 24rem);
}

html[data-theme="light"] .page-hero--blog::before {
  background:
    radial-gradient(circle at 74% 26%, rgba(47, 170, 255, .06), transparent 25rem),
    radial-gradient(circle at 55% 82%, rgba(125, 84, 255, .04), transparent 24rem);
}

.page-hero--blog > .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1280px);
  min-height: calc(100svh - 90px);
  margin-inline: auto;
  padding-top: 78px;
  padding-bottom: 70px;
}

.page-hero--blog .breadcrumbs {
  color: rgba(213, 226, 243, .72);
}

.page-hero--blog .breadcrumbs a {
  color: #68baff;
}

.page-hero--blog .eyebrow {
  color: #a58dff;
  background: rgba(11, 29, 50, .58);
  border-color: rgba(99, 203, 255, .24);
  backdrop-filter: blur(8px);
}

.page-hero--blog h1 {
  max-width: 620px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.55rem, 4.35vw, 4rem);
  line-height: 1.07;
  letter-spacing: -.04em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .25);
}

.page-hero--blog .lead {
  max-width: 610px;
  margin: 0;
  color: rgba(226, 236, 248, .86);
  font-size: 1.04rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .page-hero--blog,
  .page-hero--blog > .container {
    min-height: calc(100svh - 62px);
  }

  .page-hero--blog {
    background-position: 60% center;
  }

  .page-hero--blog > .container {
    width: min(calc(100% - 40px), 1280px);
    padding-top: 62px;
    padding-bottom: 58px;
  }
}

@media (max-width: 640px) {
  .page-hero--blog,
  .page-hero--blog > .container {
    min-height: 410px;
  }

  .page-hero--blog {
    align-items: start;
    background-position: 62% 58%;
  }

  .page-hero--blog > .container {
    width: min(calc(100% - 28px), 1280px);
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .page-hero--blog .breadcrumbs {
    margin-bottom: 10px;
    font-size: .74rem;
    line-height: 1.4;
  }

  .page-hero--blog .eyebrow {
    width: max-content;
    max-width: 100%;
    align-self: flex-start;
    margin-bottom: 12px;
  }

  .page-hero--blog h1 {
    max-width: 318px;
    margin-bottom: 12px;
    font-size: clamp(1.82rem, 8.3vw, 2.18rem);
    line-height: 1.08;
    letter-spacing: -.025em;
  }

  .page-hero--blog .lead {
    max-width: 310px;
    font-size: .96rem;
    line-height: 1.55;
  }
}

/* ================================================================
   Consultation page — photographic hero aligned with the main site
   ================================================================ */
.consultation-hero {
  position: relative;
  min-height: calc(100svh - 90px);
  padding: 0;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background-color: #091625;
  background-image: url("../img/consultation-hero-diagnostic.webp");
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
}

html[data-theme="dark"] .consultation-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 25, .92) 0%, rgba(4, 14, 29, .85) 38%, rgba(5, 17, 33, .54) 64%, rgba(5, 17, 33, .26) 100%),
    linear-gradient(180deg, rgba(3, 10, 21, .07), rgba(3, 10, 21, .30)),
    url("../img/consultation-hero-diagnostic.webp");
}

html[data-theme="light"] .consultation-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 25, .87) 0%, rgba(4, 14, 29, .68) 38%, rgba(5, 17, 33, .16) 64%, rgba(5, 17, 33, .02) 100%),
    linear-gradient(180deg, rgba(3, 10, 21, .02), rgba(3, 10, 21, .10)),
    url("../img/consultation-hero-diagnostic.webp");
}

.consultation-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 28%, rgba(47, 170, 255, .18), transparent 27rem),
    radial-gradient(circle at 54% 82%, rgba(125, 84, 255, .11), transparent 25rem);
}

html[data-theme="light"] .consultation-hero::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(47, 170, 255, .08), transparent 27rem),
    radial-gradient(circle at 54% 82%, rgba(125, 84, 255, .05), transparent 25rem);
}

.consultation-hero > .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1280px);
  min-height: calc(100svh - 90px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 78px;
  padding-bottom: 70px;
}

.consultation-hero .breadcrumbs {
  margin-bottom: 20px;
  color: rgba(213, 226, 243, .68);
}

.consultation-hero .breadcrumbs a {
  color: #68baff;
}

.consultation-hero .eyebrow {
  margin-bottom: 18px;
  color: #a58dff;
  background: rgba(11, 29, 50, .58);
  border-color: rgba(99, 203, 255, .24);
  backdrop-filter: blur(8px);
}

.consultation-hero h1 {
  max-width: 700px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.65rem, 4.65vw, 4.2rem);
  line-height: 1.07;
  letter-spacing: -.04em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .27);
}

.consultation-hero .lead {
  max-width: 600px;
  margin: 0;
  color: rgba(226, 236, 248, .86);
  font-size: 1.04rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .consultation-hero,
  .consultation-hero > .container {
    min-height: calc(100svh - 72px);
  }

  .consultation-hero {
    background-position: 57% center;
  }

  .consultation-hero > .container {
    width: min(calc(100% - 40px), 1280px);
    padding-top: 48px;
    padding-bottom: 78px;
  }

  .consultation-hero h1 {
    max-width: 700px;
    font-size: clamp(2.25rem, 8vw, 3.65rem);
  }

  .consultation-hero .lead {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  /* Mobile only: compact consultation hero, matching the denser mobile
     treatment used on the other main pages. Desktop remains unchanged. */
  .consultation-hero,
  .consultation-hero > .container {
    min-height: clamp(390px, 49svh, 445px);
  }

  .consultation-hero {
    background-position: 62% 58%;
  }

  .consultation-hero > .container {
    width: min(calc(100% - 28px), 1280px);
    justify-content: flex-start;
    padding-top: 19px;
    padding-bottom: 22px;
  }

  .consultation-hero .breadcrumbs {
    margin-bottom: 8px;
    font-size: .72rem;
    line-height: 1.35;
  }

  .consultation-hero .eyebrow {
    margin-bottom: 10px;
    padding: 6px 9px;
    font-size: .68rem;
    line-height: 1.2;
  }

  .consultation-hero h1 {
    width: min(76vw, 286px);
    max-width: 100%;
    margin-bottom: 11px;
    font-size: clamp(1.78rem, 8.2vw, 2.04rem);
    line-height: 1.06;
    letter-spacing: -.025em;
  }

  .consultation-hero .lead {
    width: min(78vw, 292px);
    max-width: 100%;
    margin: 0;
    font-size: .82rem;
    line-height: 1.48;
  }
}


/* ================================================================
   Contact page — compact photographic hero
   ================================================================ */
.page-hero--contact {
  position: relative;
  min-height: calc(100svh - 90px);
  padding: 0;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background-color: #0b1725;
  background-image: url("../img/clauchip-contact-hero-heading-aligned.jpg");
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
}

html[data-theme="dark"] .page-hero--contact {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 25, .90) 0%, rgba(4, 14, 29, .78) 40%, rgba(5, 17, 33, .32) 68%, rgba(5, 17, 33, .10) 100%),
    linear-gradient(180deg, rgba(3, 10, 21, .03), rgba(3, 10, 21, .20)),
    url("../img/clauchip-contact-hero-heading-aligned.jpg");
}

html[data-theme="light"] .page-hero--contact {
  background-image:
    linear-gradient(90deg, rgba(4, 12, 25, .82) 0%, rgba(4, 14, 29, .62) 40%, rgba(5, 17, 33, .12) 68%, rgba(245, 250, 255, .05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(3, 10, 21, .07)),
    url("../img/clauchip-contact-hero-heading-aligned.jpg");
}

.page-hero--contact::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 28%, rgba(47, 170, 255, .12), transparent 25rem),
    radial-gradient(circle at 58% 82%, rgba(125, 84, 255, .08), transparent 24rem);
}

html[data-theme="light"] .page-hero--contact::before {
  background:
    radial-gradient(circle at 76% 28%, rgba(47, 170, 255, .05), transparent 25rem),
    radial-gradient(circle at 58% 82%, rgba(125, 84, 255, .03), transparent 24rem);
}

.page-hero--contact > .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1280px);
  min-height: calc(100svh - 90px);
  margin-inline: auto;
  padding-top: 78px;
  padding-bottom: 70px;
}

.page-hero--contact .breadcrumbs {
  margin-bottom: 18px;
  color: rgba(213, 226, 243, .72);
}

.page-hero--contact .breadcrumbs a {
  color: #68baff;
}

.page-hero--contact .eyebrow {
  margin-bottom: 16px;
  color: #b8a8ff;
  background: rgba(11, 29, 50, .58);
  border-color: rgba(99, 203, 255, .24);
  backdrop-filter: blur(8px);
}

.page-hero--contact h1 {
  max-width: 680px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.55rem, 4.3vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .25);
}

.page-hero--contact .lead {
  max-width: 590px;
  margin: 0;
  color: rgba(226, 236, 248, .88);
  font-size: 1.03rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .page-hero--contact,
  .page-hero--contact > .container {
    min-height: calc(100svh - 62px);
  }

  .page-hero--contact {
    background-position: 61% center;
  }

  .page-hero--contact > .container {
    width: min(calc(100% - 40px), 1280px);
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .page-hero--contact h1 {
    font-size: clamp(2.2rem, 8vw, 3.35rem);
  }
}

@media (max-width: 640px) {
  .page-hero--contact,
  .page-hero--contact > .container {
    min-height: 410px;
  }

  .page-hero--contact {
    align-items: start;
    background-position: 64% 56%;
  }

  .page-hero--contact > .container {
    width: min(calc(100% - 28px), 1280px);
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .page-hero--contact .breadcrumbs {
    margin-bottom: 10px;
    font-size: .74rem;
    line-height: 1.4;
  }

  .page-hero--contact .eyebrow {
    width: max-content;
    max-width: 100%;
    align-self: flex-start;
    margin-bottom: 12px;
  }

  .page-hero--contact h1 {
    max-width: 318px;
    margin-bottom: 12px;
    font-size: clamp(1.82rem, 8.3vw, 2.18rem);
    line-height: 1.08;
    letter-spacing: -.025em;
  }

  .page-hero--contact .lead {
    max-width: 310px;
    font-size: .96rem;
    line-height: 1.55;
  }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ================================================================
   Home — multi-brand marquee, workshop gallery and Google review
   ================================================================ */
.section--brands {
  padding: 24px 0 0;
  overflow: hidden;
}

.brand-strip__header {
  margin-bottom: 32px;
  text-align: center;
}

.brand-strip__header .eyebrow {
  margin-bottom: 10px;
}

.brand-strip__header h2 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(84,216,255,.14);
  border-bottom: 1px solid rgba(84,216,255,.14);
  background:
    linear-gradient(90deg, #b9c4cd, #cbd3da 50%, #b9c4cd),
    #c3ccd4;
  box-shadow:
    inset 0 1px rgba(255,255,255,.045),
    inset 0 -1px rgba(0,0,0,.30);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.brand-marquee__track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: brand-marquee-scroll 72s linear infinite;
  will-change: transform;
}

.brand-marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  flex: 0 0 auto;
}

.brand-marquee__item {
  width: 190px;
  height: 126px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-marquee__item img {
  --brand-scale: 1;
  --brand-y: 0px;
  display: block;
  width: 180px;
  height: auto;
  max-height: 118px;
  object-fit: contain;
  transform: translateY(var(--brand-y)) scale(var(--brand-scale));
  transform-origin: center;
  filter: drop-shadow(0 4px 8px rgba(18,34,48,.12));
}

/* Small optical corrections compensate for the different native proportions
   of the supplied manufacturer lockups without changing their artwork. */
.brand-marquee__item img[src$="/audi.png"] { --brand-scale: .98; }
.brand-marquee__item img[src$="/bmw.png"] { --brand-scale: 1.10; --brand-y: 1px; }
.brand-marquee__item img[src$="/mercedes-benz.png"] { --brand-scale: 1.03; }
.brand-marquee__item img[src$="/volkswagen.png"] { --brand-scale: 1.05; --brand-y: 2px; }
.brand-marquee__item img[src$="/porsche.png"] { --brand-scale: 1.02; }
.brand-marquee__item img[src$="/seat.png"] { --brand-scale: 1.03; }
.brand-marquee__item img[src$="/cupra.png"] { --brand-scale: 1.01; }
.brand-marquee__item img[src$="/citroen.png"] { --brand-scale: 1.03; }
.brand-marquee__item img[src$="/peugeot.png"] { --brand-scale: 1.02; }
.brand-marquee__item img[src$="/renault.png"] { --brand-scale: 1.07; }
.brand-marquee__item img[src$="/ford.png"] { --brand-scale: .96; --brand-y: -10px; }
.brand-marquee__item img[src$="/opel.png"] { --brand-scale: 1.10; }
.brand-marquee__item img[src$="/skoda.png"] { --brand-scale: 1.04; }
.brand-marquee__item img[src$="/toyota.png"] { --brand-scale: 1.12; }
.brand-marquee__item img[src$="/nissan.png"] { --brand-scale: 1.03; }
.brand-marquee__item img[src$="/hyundai.png"] { --brand-scale: 1.10; }
.brand-marquee__item img[src$="/kia.png"] { --brand-scale: .94; --brand-y: -5px; }
.brand-marquee__item img[src$="/fiat.png"] { --brand-scale: 1.04; }
.brand-marquee__item img[src$="/volvo.png"] { --brand-scale: 1.04; }
.brand-marquee__item img[src$="/dacia.png"] { --brand-scale: .95; --brand-y: -4px; }
.brand-marquee__item img[src$="/mazda.png"] { --brand-scale: 1.05; }
.brand-marquee__item img[src$="/honda.png"] { --brand-scale: 1.10; }

.brand-marquee:hover .brand-marquee__track {
  animation-play-state: paused;
}

html[data-theme="light"] .brand-marquee {
  border-color: rgba(31,83,110,.10);
  background:
    linear-gradient(90deg, rgba(224,232,239,.96), rgba(244,247,249,.99) 50%, rgba(224,232,239,.96)),
    #edf2f5;
  box-shadow:
    inset 0 1px rgba(255,255,255,.84),
    inset 0 -1px rgba(58,86,104,.05);
}

html[data-theme="light"] .brand-marquee__item img {
  filter: drop-shadow(0 4px 8px rgba(23,45,61,.10));
}

html[data-theme="dark"] .brand-marquee__item img {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.22));
}

@keyframes brand-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Home — KeyLab gallery */
.section--showcase {
  padding: 32px 0 30px;
}

/* Width is controlled only by the shared .container rule. */
.showcase-layout {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.section-header--left {
  text-align: left;
  justify-items: start;
}

.showcase-header {
  max-width: 850px;
  margin-bottom: 2px;
}

.showcase-header p {
  max-width: 720px;
  margin-bottom: 0;
}

.showcase-slider,
.google-review-cta {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.showcase-slider {
  position: relative;
}

.showcase-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(84,216,255,.14);
  border-radius: 22px;
  background: #07101d;
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}

.showcase-slider__track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.showcase-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.showcase-slide__visual {
  position: relative;
  width: 100%;
  height: clamp(320px, 30vw, 420px);
  min-height: 0;
  overflow: hidden;
  background: #07101d;
}

.showcase-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.showcase-slide:nth-child(2) .showcase-slide__image {
  object-position: center 54%;
}

.showcase-slide:nth-child(4) .showcase-slide__image {
  object-position: center 50%;
}

.showcase-slide__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4,10,18,0) 58%, rgba(4,10,18,.76) 100%);
}

.showcase-slide__caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 16px;
  color: #fff;
}

.showcase-slide__caption strong {
  font-size: clamp(.94rem, 1.5vw, 1.08rem);
  letter-spacing: -.01em;
}

.showcase-slide__caption span {
  color: rgba(255,255,255,.65);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.showcase-slider__footer {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
  padding: 8px 2px 0;
}

.showcase-slider__signature {
  grid-column: 1;
  justify-self: start;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.showcase-slider__controls {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  width: auto;
  gap: 10px;
}

.showcase-slider__arrow,
.showcase-slider__dot {
  border: 0;
  cursor: pointer;
}

.showcase-slider__arrow {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #c6a4ff;
  border: 1.5px solid rgba(169, 112, 255, .82);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(45, 34, 66, .86), rgba(28, 22, 43, .94));
  box-shadow:
    inset 0 0 0 1px rgba(207, 176, 255, .06),
    0 0 10px rgba(169, 112, 255, .28),
    0 0 22px rgba(169, 112, 255, .10);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, background .18s ease;
}

.showcase-slider__arrow:hover,
.showcase-slider__arrow:focus-visible {
  color: #eadcff;
  border-color: rgba(190, 145, 255, 1);
  background: linear-gradient(180deg, rgba(57, 41, 84, .98), rgba(35, 26, 53, .98));
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(223, 201, 255, .10),
    0 0 13px rgba(169, 112, 255, .52),
    0 0 28px rgba(169, 112, 255, .18);
}

.showcase-slider__arrow svg {
  width: 23px;
  height: 23px;
}

.showcase-slider__arrow svg[hidden] {
  display: none;
}

.showcase-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.showcase-slider__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  transition: width .18s ease, background .18s ease;
}

.showcase-slider__dot.is-active {
  width: 24px;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(169, 112, 255, .42);
}

html[data-theme="light"] .showcase-slider__viewport {
  border-color: rgba(17,38,66,.10);
  box-shadow: 0 18px 42px rgba(22,45,76,.12);
}

html[data-theme="light"] .showcase-slider__dot {
  background: rgba(24,47,76,.38);
  box-shadow: 0 0 0 1px rgba(24,47,76,.06);
}

html[data-theme="light"] .showcase-slider__dot.is-active {
  background: #7c4dff;
  box-shadow: 0 0 10px rgba(124,77,255,.38);
}

html[data-theme="light"] .showcase-slider__arrow {
  color: #7137c4;
  border-color: rgba(122, 62, 202, .68);
  background: rgba(255, 255, 255, .96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .78),
    0 0 10px rgba(140, 78, 220, .20),
    0 6px 16px rgba(74, 48, 112, .10);
}

html[data-theme="light"] .showcase-slider__arrow:hover,
html[data-theme="light"] .showcase-slider__arrow:focus-visible {
  color: #5e24ad;
  border-color: rgba(112, 48, 193, .92);
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .95),
    0 0 13px rgba(140, 78, 220, .32),
    0 8px 20px rgba(74, 48, 112, .12);
}

/* Home — Google review CTA */
.google-review-cta {
  margin-top: 62px;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 420px);
  align-items: center;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 18%, rgba(66,133,244,.13), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.012)),
    var(--surface);
}

.google-review-cta__copy {
  min-width: 0;
  max-width: 760px;
}

.google-review-cta__copy .eyebrow {
  margin-bottom: 7px;
}

.google-review-cta__copy h3 {
  margin: 0 0 6px;
  font-size: clamp(1.36rem, 2.2vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.google-review-cta__copy p {
  margin: 0;
  color: var(--muted);
}

.google-review-cta__action {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.google-review-cta__prompt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  align-items: end;
  gap: 8px;
}

.google-review-cta__action p {
  margin: 0;
  color: var(--text);
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.38;
}

.google-review-cta__pointer {
  width: 50px;
  height: 38px;
  align-self: end;
  color: #7c4dff;
  filter: drop-shadow(0 4px 8px rgba(124,77,255,.22));
  transform: translateY(5px);
}

.btn--google-review,
.btn--google-review.is-disabled {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  opacity: 1;
  visibility: visible;
  color: #202124;
  border: 1px solid rgba(60,64,67,.20);
  background: linear-gradient(180deg, #fff, #f7f9fc);
  box-shadow: 0 10px 24px rgba(31,55,86,.10);
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  text-align: center;
}

.btn--google-review::before {
  content: "G";
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex: 0 0 auto;
}

.btn--google-review::after {
  content: "↗";
  color: #4285f4;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}

.btn--google-review:hover {
  border-color: rgba(66,133,244,.46);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(66,133,244,.16);
}

.btn--google-review.is-disabled {
  cursor: default;
}

.btn--google-review.is-disabled:hover {
  transform: none;
}

html[data-theme="light"] .google-review-cta {
  background:
    radial-gradient(circle at 92% 18%, rgba(66,133,244,.10), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(247,250,255,.97));
}

html[data-theme="light"] .google-review-cta__action {
  padding: 18px;
  border: 1px solid rgba(66, 133, 244, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(232, 242, 255, .96), rgba(243, 238, 255, .92));
  box-shadow: 0 10px 26px rgba(49, 92, 150, .08);
}

html[data-theme="light"] .btn--google-review,
html[data-theme="light"] .btn--google-review.is-disabled {
  border-color: rgba(66, 133, 244, .38);
  box-shadow: 0 10px 24px rgba(42, 89, 150, .13);
}

@media (min-width: 1201px) and (hover: hover) and (pointer: fine) {
  .page-home .google-review-cta__prompt p {
    min-height: 5.52em;
  }
}

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

  .brand-strip__header {
    margin-bottom: 14px;
  }

  .brand-strip__header .eyebrow {
    margin-bottom: 7px;
    font-size: .68rem;
  }

  .brand-strip__header h2 {
    font-size: 1.42rem;
    line-height: 1.12;
  }

  .brand-marquee {
    padding: 4px 0;
  }

  .brand-marquee__track {
    animation-duration: 54s;
  }

  .brand-marquee__group {
    gap: 14px;
    padding-right: 14px;
  }

  .brand-marquee__item {
    width: 94px;
    height: 62px;
  }

  .brand-marquee__item img {
    width: 88px;
    max-height: 56px;
  }

  .section--showcase {
    padding: 18px 0 28px;
  }

  .showcase-layout {
    gap: 15px;
  }

  .showcase-slider__viewport {
    border-radius: 17px;
  }

  .showcase-slide__visual {
    height: clamp(188px, 54vw, 220px);
  }

  .showcase-slide__caption {
    min-height: 44px;
    padding: 8px 12px;
  }

  .showcase-slide__caption span,
  .showcase-slider__signature {
    display: none;
  }

  .showcase-slider__footer {
    min-height: 45px;
    padding-top: 7px;
  }

  .showcase-slider__controls {
    width: auto;
  }

  .showcase-slider__arrow {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .showcase-slider__arrow svg {
    width: 19px;
    height: 19px;
  }

  .google-review-cta {
    margin-top: 24px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .google-review-cta__action {
    width: 100%;
    gap: 9px;
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .google-review-cta__prompt {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .google-review-cta__pointer {
    width: 40px;
    height: 30px;
    filter:
      drop-shadow(0 2px 3px rgba(124, 77, 255, .30))
      drop-shadow(0 5px 10px rgba(124, 77, 255, .18));
  }

  .google-review-cta__pointer path {
    stroke-width: 4.8;
  }

  .google-review-cta__copy h3 {
    margin-bottom: 5px;
    font-size: 1.12rem;
  }

  .google-review-cta__copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: .82rem;
    line-height: 1.5;
  }

  .google-review-cta__action p {
    font-size: .8rem;
    line-height: 1.38;
  }

  .btn--google-review,
  .btn--google-review.is-disabled {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding-inline: 10px;
    font-size: .78rem;
  }

  html[data-theme="light"] .google-review-cta__action {
    padding: 12px;
    border: 1px solid rgba(82, 92, 232, .28);
    border-radius: 14px;
    background:
      radial-gradient(circle at 92% 8%, rgba(124, 77, 255, .13), transparent 8rem),
      linear-gradient(135deg, rgba(232, 242, 255, .98), rgba(241, 237, 255, .97));
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .72),
      0 10px 24px rgba(49, 92, 150, .11);
  }

  html[data-theme="light"] .btn--google-review,
  html[data-theme="light"] .btn--google-review.is-disabled {
    min-height: 44px;
    color: #172449;
    border-color: rgba(72, 91, 226, .58);
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 48%, #f2efff 100%);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .90),
      0 8px 20px rgba(64, 91, 194, .18),
      0 0 0 2px rgba(91, 97, 255, .06);
    font-weight: 850;
  }

  html[data-theme="light"] .btn--google-review::after {
    color: #5b61ff;
    font-size: 1.08rem;
    font-weight: 900;
  }
}

/* ================================================================
   Global footer quick links + back-to-top control
   ================================================================ */
.footer-quick-links {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-quick-links__inner {
  display: flex;
  width: min(100%, 244px);
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-inline: 4px;
}

.footer-quick-link {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transition: transform .18s ease, filter .18s ease;
}

.footer-quick-link img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  filter: none;
}

.footer-quick-link:hover,
.footer-quick-link:focus-visible {
  z-index: 2;
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.03);
}

.footer-quick-link.is-disabled {
  cursor: default;
  opacity: 1;
  filter: none;
}

.footer-quick-link.is-disabled:hover,
.footer-quick-link.is-disabled:focus-visible {
  transform: none;
}

.footer-quick-link__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 220px;
  padding: 6px 9px;
  color: #132033;
  background: rgba(255,255,255,.98);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  font-size: .73rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity .15s ease, transform .15s ease;
}

.footer-quick-link:hover .footer-quick-link__tooltip,
.footer-quick-link:focus-visible .footer-quick-link__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer-quick-links + .footer-bottom {
  margin-top: 14px;
}

.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 72px;
  z-index: 119;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #63dcff;
  border: 1.5px solid rgba(84,216,255,.78);
  border-radius: 999px;
  background: rgba(6,17,29,.86);
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    0 0 10px rgba(84,216,255,.34),
    inset 0 0 12px rgba(84,216,255,.06);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.9);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}

.back-to-top::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 0;
  border-radius: inherit;
  pointer-events: none;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(84,216,255,.55));
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: #9bf0ff;
  border-color: #78e6ff;
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 12px 30px rgba(0,0,0,.30),
    0 0 13px rgba(84,216,255,.62),
    0 0 30px rgba(84,216,255,.20),
    inset 0 0 14px rgba(84,216,255,.10);
}

html[data-theme="light"] .back-to-top {
  color: #277cf0;
  background: rgba(255,255,255,.94);
  border-color: rgba(39,124,240,.64);
  box-shadow:
    0 10px 25px rgba(26,66,111,.15),
    0 0 0 3px rgba(39,124,240,.055),
    0 0 18px rgba(39,124,240,.12);
}

html[data-theme="light"] .back-to-top::after {
  border-color: rgba(39,124,240,.10);
}

html[data-theme="light"] .back-to-top svg {
  filter: drop-shadow(0 0 4px rgba(39,124,240,.22));
}

html[data-theme="light"] .back-to-top:hover,
html[data-theme="light"] .back-to-top:focus-visible {
  color: #1269d8;
  border-color: rgba(18,105,216,.78);
  box-shadow:
    0 12px 28px rgba(26,66,111,.18),
    0 0 0 4px rgba(39,124,240,.07),
    0 0 22px rgba(39,124,240,.16);
}

@media (max-width: 760px) {
  .footer-quick-links {
    margin-top: 16px;
    padding-top: 13px;
  }

  .footer-quick-links__inner {
    width: min(100%, 196px);
    gap: 0;
    padding-inline: 0;
  }

  /* The phone number is already available in the footer contact column. */
  .footer-quick-link--phone {
    display: none;
  }

  .footer-quick-link,
  .footer-quick-link img {
    width: 32px;
    height: 32px;
  }

  .footer-quick-link__tooltip {
    display: none;
  }

  .back-to-top {
    left: 14px;
    bottom: 25px;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    border-width: 1px;
    box-shadow:
      0 7px 18px rgba(26,66,111,.13),
      0 0 10px rgba(39,124,240,.08);
  }

  .back-to-top svg {
    width: 17px;
    height: 17px;
  }

  .back-to-top::after {
    inset: 0;
    border: 0;
  }
}

/* Continuous decorative animations only run while their section is near the viewport. */
.hero--keylab:not(.is-viewport-active) .hero-stage__keys,
.brand-marquee:not(.is-viewport-active) .brand-marquee__track {
  animation-play-state: paused;
  will-change: auto;
}

.hero--keylab.is-viewport-active .hero-stage__keys:not(.is-paused),
.brand-marquee.is-viewport-active .brand-marquee__track {
  animation-play-state: running;
  will-change: transform;
}

.brand-marquee.is-viewport-active:hover .brand-marquee__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track {
    animation: none;
  }

  .back-to-top,
  .footer-quick-link,
  .showcase-slider__arrow,
  .showcase-slider__dot {
    transition: none;
  }
}

/* The FAQ +/- used to look heavy. Keep the same geometry and glow, but use
   a visibly lighter stroke. */
.faq--wide summary::after {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.82rem;
  font-weight: 400;
  line-height: 1;
}

html[data-theme="dark"] .faq--wide summary::after {
  font-size: 1.88rem;
  font-weight: 400;
  text-shadow:
    0 0 8px rgba(0, 207, 255, .72),
    0 0 18px rgba(0, 207, 255, .20);
}
/* Final desktop balance for the services explorer. Kept at the end of the
   cascade so the optical adjustments win over the card-shape base rules. */
@media (min-width: 1201px) {
  .services-explorer__desktop {
    --services-tablet-height: clamp(322px, 24vw, 440px);
    grid-template-rows: 144px var(--services-tablet-height) 144px;
  }

  .service-card--4,
  .service-card--5 {
    /* Preserve the gaps beside the 74px overhangs of the corner cards. */
    height: calc(var(--services-tablet-height) - 156px);
  }

  .service-card--1,
  .service-card--4,
  .service-card--6,
  .service-card--7 { grid-template-columns: auto minmax(0, 1fr); }
  .service-card--1 .service-card__copy,
  .service-card--4 .service-card__copy,
  .service-card--6 .service-card__copy,
  .service-card--7 .service-card__copy { grid-column: 2; grid-row: 1; }
  .service-card--1 .service-card__media,
  .service-card--4 .service-card__media,
  .service-card--6 .service-card__media,
  .service-card--7 .service-card__media { grid-column: 1; grid-row: 1; justify-self: start; }
  .service-card--2,
  .service-card--3,
  .service-card--5,
  .service-card--8 { grid-template-columns: minmax(0, 1fr) auto; }
  .service-card--2 .service-card__copy,
  .service-card--3 .service-card__copy,
  .service-card--5 .service-card__copy,
  .service-card--8 .service-card__copy { grid-column: 1; grid-row: 1; }
  .service-card--2 .service-card__media,
  .service-card--3 .service-card__media,
  .service-card--5 .service-card__media,
  .service-card--8 .service-card__media { grid-column: 2; grid-row: 1; justify-self: end; }
  .service-card--1 .service-card__media,
  .service-card--3 .service-card__media,
  .service-card--6 .service-card__media,
  .service-card--8 .service-card__media {
    width: 132px; height: 108px; align-self: end; transform: translateY(8px);
  }
  .service-card--1 .service-card__media img,
  .service-card--3 .service-card__media img,
  .service-card--6 .service-card__media img,
  .service-card--8 .service-card__media img { transform: none; }
  .service-card--1 .service-card__copy { padding-left: 4px; }
  .service-card--3 .service-card__copy,
  .service-card--8 .service-card__copy { padding-right: 4px; }
  .service-card--6 .service-card__title,
  .service-card--6 .service-card__summary { transform: translateY(14px); }
  .service-card--4 .service-card__media,
  .service-card--5 .service-card__media {
    align-self: center;
    transform: none;
  }
  .service-card--4 .service-card__media {
    width: 106px;
    height: 97px;
    transform: translateY(-10px);
  }
  .service-card--4 .service-card__media img {
    filter: brightness(1.24) contrast(1.08) drop-shadow(0 10px 16px rgba(15, 23, 42, .18));
    transform: rotate(-25deg) scale(1.06);
  }
  .service-card--5 .service-card__media {
    width: 126px;
    height: 102px;
  }
  .service-card--5 .service-card__media img { transform: rotate(32deg) scale(1.06); }
  .service-card--4 .service-card__copy,
  .service-card--5 .service-card__copy { align-self: center; }
  .service-card--4 .service-card__title,
  .service-card--4 .service-card__summary { transform: translateY(16px); }
  .service-card--5 .service-card__title,
  .service-card--5 .service-card__summary { transform: translateY(21px); }
  .service-card--7 .service-card__media {
    width: 102px; height: 82px; align-self: end;
  }
  .service-card--7 .service-card__media img { transform: translateY(-22px) scale(.94); }

  .service-card--6 .service-card__media,
  .service-card--8 .service-card__media {
    width: 108px;
    height: 88px;
  }

  .service-card--1 .service-card__media { transform: translateY(-20px); }
  .service-card--1 .service-card__media img { transform: scale(1.13); }
  .service-card--3 .service-card__media { transform: translateY(-33px); }
  .service-card--6 .service-card__media { transform: translateY(-36px); }
  .service-card--8 .service-card__media { transform: translateY(-26px); }

  .service-card--1 .service-card__title,
  .service-card--1 .service-card__summary { transform: translateY(-22px); }

  .service-card--3 .service-card__title,
  .service-card--3 .service-card__summary { transform: translateY(-32px); }

  .service-card--6 .service-card__copy { padding-left: 18px; }

  .service-card--8 .service-card__title,
  .service-card--8 .service-card__summary { transform: translateY(22px); }

  .service-card--8 .service-card__media {
    width: 119px;
    height: 97px;
  }

  .service-card--2 .service-card__media {
    width: 136px;
    height: 100px;
  }

  .service-card--2 .service-card__media img {
    transform: translateX(-8px) translateY(-14px) scale(1.01);
  }

  .service-card--4 .service-card__copy,
  .service-card--5 .service-card__copy,
  .service-card--7 .service-card__copy {
    position: static;
  }

  .service-card--4 .service-card__topline,
  .service-card--5 .service-card__topline,
  .service-card--7 .service-card__topline {
    position: absolute;
    z-index: 3;
    top: 16px;
    margin: 0;
  }

  .service-card--4 .service-card__topline {
    right: 18px;
    left: auto;
    flex-direction: row-reverse;
  }

  .service-card--5 .service-card__topline {
    right: auto;
    left: 18px;
    flex-direction: row;
  }

  .service-card--7 .service-card__topline {
    right: 18px;
    left: auto;
    flex-direction: row-reverse;
  }
}

/* ================================================================
   Mobile homepage readability — review card + FAQ line wrapping
   ================================================================ */
@media (max-width: 760px) {
  .page-home .google-review-cta__copy p {
    -webkit-line-clamp: 5;
    font-size: .91rem;
    line-height: 1.55;
  }

  .page-home .google-review-cta__action p {
    font-size: .88rem;
    line-height: 1.42;
  }

  .page-home .btn--google-review,
  .page-home .btn--google-review.is-disabled {
    font-size: .84rem;
  }

  .page-home .faq--wide details {
    padding-inline: 12px;
  }

  .page-home .faq--wide summary {
    gap: 8px;
    font-size: .93rem;
    line-height: 1.34;
    text-wrap: balance;
  }

  .page-home .faq--wide summary::after {
    min-width: 20px;
    width: 20px;
    font-size: 1.48rem;
  }
  /* The diagnostic promo duplicates the consultation route on phones. */
  .page-home .home-diagnostic-block {
    display: none !important;
  }
}

/* ================================================================
   Touch shell normalization — shared menu mechanics for phones/tablets.
   Phone dimensions remain controlled by the existing <=760px rules;
   tablet-specific sizing is defined in the dedicated block below.
   ================================================================ */
@media (max-width: 1200px),
       (min-width: 1201px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  /* Header: use the same proportions that were already used on inner pages.
     This deliberately overrides the smaller homepage-only header. */
  body .site-header .header-row {
    width: min(calc(100% - 20px), var(--max));
    max-width: var(--max);
    min-height: 68px;
    padding-inline: 0;
    gap: 5px;
  }

  body .site-header .brand {
    min-width: 0;
    gap: 5px;
    flex: 1 1 auto;
  }

  body .site-header .brand-mark {
    width: clamp(92px, 27vw, 118px);
    height: 40px;
    flex: 0 1 clamp(92px, 27vw, 118px);
  }

  body .site-header .brand [data-business-name] {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(.82rem, 2.65vw, 1rem);
    line-height: 1;
    white-space: nowrap;
  }

  body .site-header .header-actions {
    flex: 0 0 auto;
    gap: 4px;
  }

  body .site-header .site-tools {
    gap: 4px;
  }

  body .site-header .language-button {
    min-width: clamp(48px, 14vw, 60px);
    width: clamp(48px, 14vw, 60px);
    height: 36px;
    padding-inline: 6px;
    gap: 3px;
  }

  body .site-header .language-chevron {
    margin-left: 2px;
  }

  body .site-header .theme-toggle {
    width: clamp(54px, 15vw, 66px);
    height: 36px;
  }

  body .site-header {
    overflow: visible;
  }

  body .site-header .menu-button {
    position: relative;
    width: clamp(42px, 11.5vw, 46px);
    height: 46px;
    flex: 0 0 clamp(42px, 11.5vw, 46px);
    padding: 0;
    overflow: hidden;
    border-radius: 13px;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
  }

  body .site-header .menu-button span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    margin: 0;
    transform-origin: center;
    transition: width .28s cubic-bezier(.2,.8,.2,1), transform .34s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  }

  /* Until the visitor opens the mobile menu for the first time, gently
     draw attention to the hamburger. JS removes this class permanently
     for this browser after the first press. */
  body .site-header .menu-button.menu-attention[aria-expanded="false"] {
    animation: keylabMenuAttention 4.2s ease-in-out 1s infinite;
  }

  @keyframes keylabMenuAttention {
    0%, 58%, 100% {
      transform: scale(1);
      border-color: var(--line);
      box-shadow: none;
    }
    10% {
      transform: scale(1.035);
      border-color: rgba(50, 143, 255, .44);
      box-shadow: 0 0 0 4px rgba(50, 143, 255, .10), 0 8px 22px rgba(47, 113, 244, .16);
    }
    17% {
      transform: scale(1.055);
      border-color: rgba(87, 112, 255, .60);
      box-shadow: 0 0 0 7px rgba(71, 127, 255, .13), 0 10px 28px rgba(52, 103, 236, .22);
    }
    26% {
      transform: scale(1.025);
      border-color: rgba(50, 143, 255, .36);
      box-shadow: 0 0 0 3px rgba(50, 143, 255, .08), 0 6px 18px rgba(47, 113, 244, .12);
    }
    36% {
      transform: scale(1);
      border-color: var(--line);
      box-shadow: none;
    }
  }

  body .site-header .menu-button.menu-attention[aria-expanded="false"] span {
    animation: keylabMenuLines 4.2s ease-in-out 1s infinite;
  }

  @keyframes keylabMenuLines {
    0%, 58%, 100% {
      background-color: currentColor;
      filter: none;
    }
    12%, 25% {
      background-color: #2f86ff;
      filter: drop-shadow(0 0 3px rgba(69, 137, 255, .42));
    }
    36% {
      background-color: currentColor;
      filter: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    body .site-header .menu-button.menu-attention[aria-expanded="false"],
    body .site-header .menu-button.menu-attention[aria-expanded="false"] span {
      animation: none;
    }

    body .site-header .menu-button.menu-attention[aria-expanded="false"] {
      border-color: rgba(50, 143, 255, .48);
      box-shadow: 0 0 0 5px rgba(50, 143, 255, .10), 0 8px 22px rgba(47, 113, 244, .15);
    }
  }

  body .site-header .menu-button span:nth-child(1) {
    transform: translate(-50%, -50%) translateY(-6px);
  }

  body .site-header .menu-button span:nth-child(2) {
    transform: translate(-50%, -50%);
  }

  body .site-header .menu-button span:nth-child(3) {
    transform: translate(-50%, -50%) translateY(6px);
  }

  /* Open state: the three hamburger strokes fold into an upward arrow,
     visually indicating that the floating menu can be collapsed. */
  body .site-header .menu-button[aria-expanded="true"] {
    color: #347dff;
    border-color: rgba(52, 125, 255, .28);
    background: color-mix(in srgb, #347dff 9%, var(--surface));
    box-shadow: 0 8px 22px rgba(52, 125, 255, .14);
  }

  body .site-header .menu-button[aria-expanded="true"] span:nth-child(1) {
    width: 11px;
    transform: translate(-50%, -50%) translate(-3.5px, -5px) rotate(-45deg);
  }

  body .site-header .menu-button[aria-expanded="true"] span:nth-child(2) {
    width: 12px;
    transform: translate(-50%, -50%) translateY(2px) rotate(90deg);
  }

  body .site-header .menu-button[aria-expanded="true"] span:nth-child(3) {
    width: 11px;
    transform: translate(-50%, -50%) translate(3.5px, -5px) rotate(45deg);
  }

  body .site-header .language-menu {
    top: 72px;
    right: 14px;
  }

  /* Floating mobile menu: overlays the page instead of changing document flow. */
  body .site-header .mobile-nav {
    position: absolute;
    z-index: 64;
    top: calc(100% + 9px);
    left: 50%;
    width: min(calc(100% - 28px), 420px);
    max-width: 420px;
    margin: 0;
    padding: 9px;
    display: grid;
    gap: 3px;
    border: 1px solid rgba(93, 125, 171, .24);
    border-radius: 18px;
    background: rgba(239, 245, 252, .96);
    box-shadow: 0 20px 46px rgba(16, 34, 58, .17), 0 2px 10px rgba(16, 34, 58, .06);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -10px) scale(.985);
    transform-origin: top center;
    transition: opacity .22s ease, visibility .22s ease, transform .28s cubic-bezier(.2,.8,.2,1);
  }

  body .site-header .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }

  body .site-header .mobile-nav > a:not(.btn) {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #33435a;
    font-size: .96rem;
    font-weight: 760;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(-4px);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .24s ease, opacity .2s ease;
  }

  body .site-header .mobile-nav > a:not(.btn)::after {
    content: "›";
    flex: 0 0 auto;
    color: #7d8da4;
    font-size: 1.34rem;
    font-weight: 500;
    line-height: 1;
    transform: translateX(-2px);
    transition: color .18s ease, transform .18s ease;
  }

  body .site-header .mobile-nav.is-open > a:not(.btn) {
    opacity: 1;
    transform: translateY(0);
  }

  body .site-header .mobile-nav.is-open > a:nth-child(1) { transition-delay: .02s; }
  body .site-header .mobile-nav.is-open > a:nth-child(2) { transition-delay: .045s; }
  body .site-header .mobile-nav.is-open > a:nth-child(3) { transition-delay: .07s; }
  body .site-header .mobile-nav.is-open > a:nth-child(4) { transition-delay: .095s; }
  body .site-header .mobile-nav.is-open > a:nth-child(5) { transition-delay: .12s; }

  body .site-header .mobile-nav > a:not(.btn):hover,
  body .site-header .mobile-nav > a:not(.btn):focus-visible {
    color: #14284a;
    background: rgba(52, 125, 255, .07);
    border-color: rgba(52, 125, 255, .10);
  }

  body .site-header .mobile-nav > a:not(.btn):hover::after,
  body .site-header .mobile-nav > a:not(.btn):focus-visible::after {
    color: #347dff;
    transform: translateX(1px);
  }

  body .site-header .mobile-nav > a[aria-current="page"]:not(.btn) {
    color: #185fd1;
    background: linear-gradient(90deg, rgba(52, 125, 255, .12), rgba(116, 91, 255, .055));
    border-color: rgba(52, 125, 255, .15);
    box-shadow: inset 3px 0 0 #347dff;
  }

  body .site-header .mobile-nav > a[aria-current="page"]:not(.btn)::after {
    color: #347dff;
  }

  /* The extra large "Describe problem" button duplicated the menu item above. */
  body .site-header .mobile-nav > .btn {
    display: none;
  }

  html[data-theme="dark"] body .site-header .mobile-nav {
    border-color: rgba(137, 166, 207, .28);
    background: rgba(34, 46, 63, .97);
    box-shadow: 0 22px 52px rgba(0, 0, 0, .34), 0 3px 12px rgba(0, 0, 0, .18);
  }

  html[data-theme="dark"] body .site-header .mobile-nav > a:not(.btn) {
    color: #dce7f7;
  }

  html[data-theme="dark"] body .site-header .mobile-nav > a:not(.btn)::after {
    color: #8093ad;
  }

  html[data-theme="dark"] body .site-header .mobile-nav > a:not(.btn):hover,
  html[data-theme="dark"] body .site-header .mobile-nav > a:not(.btn):focus-visible {
    color: #fff;
    background: rgba(74, 132, 255, .12);
    border-color: rgba(74, 132, 255, .14);
  }

  html[data-theme="dark"] body .site-header .mobile-nav > a[aria-current="page"]:not(.btn) {
    color: #8fc2ff;
    background: linear-gradient(90deg, rgba(54, 126, 255, .18), rgba(126, 91, 255, .08));
    border-color: rgba(86, 144, 255, .18);
  }

  .mobile-menu-backdrop {
    position: fixed;
    z-index: 55;
    inset: 68px 0 0;
    background: rgba(13, 24, 39, .15);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  html[data-theme="dark"] .mobile-menu-backdrop {
    background: rgba(2, 7, 15, .28);
  }

  html.mobile-menu-open,
  html.mobile-menu-open body {
    overflow: hidden;
  }

  /* Footer: one compact mobile composition on every page.
     Navigation is duplicated by the header menu, so mobile keeps only
     the brand, Legal and Contact. The desktop footer is unchanged. */
  body .site-footer {
    padding-top: 14px;
    padding-bottom: 8px;
  }

  body .site-footer .footer-grid {
    width: min(calc(100% - 28px), var(--max));
    max-width: var(--max);
    display: grid;
    grid-template-columns: minmax(88px, .68fr) minmax(0, 1.32fr);
    gap: 11px 16px;
    align-items: start;
    padding-inline: 0;
  }

  /* Footer DOM order: 1 brand, 2 navigation, 3 Legal, 4 Contact. */
  body .site-footer .footer-grid > div:nth-child(2) {
    display: none;
  }

  body .site-footer .footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  body .site-footer .footer-brand .brand {
    min-width: 0;
    gap: 9px;
  }

  body .site-footer .brand-mark {
    width: 118px;
    height: 40px;
    flex: 0 0 118px;
  }

  body .site-footer .brand [data-business-name] {
    font-size: 1rem;
    line-height: 1;
  }

  body .site-footer .footer-brand p {
    max-width: none;
    margin: 0;
    font-size: .72rem;
    line-height: 1.34;
  }

  body .site-footer .footer-grid > div:nth-child(3) {
    grid-column: 1;
    min-width: 0;
    padding-left: 7px;
  }

  body .site-footer .footer-grid > div:nth-child(4) {
    grid-column: 2;
    width: min(100%, 220px);
    min-width: 0;
    justify-self: end;
  }

  body .site-footer .footer-title {
    margin: 0 0 4px;
    font-size: .78rem;
    line-height: 1.2;
  }

  body .site-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: .72rem;
    line-height: 1.3;
  }

  body .site-footer .footer-grid > div:nth-child(4) .footer-links > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body .site-footer [data-schedule] {
    display: none;
  }

  body .footer-quick-links {
    margin-top: 8px;
    padding-top: 7px;
  }

  body .footer-quick-links__inner {
    width: min(100%, 172px);
  }

  body .footer-quick-link,
  body .footer-quick-link img {
    width: 27px;
    height: 27px;
  }

  body .site-footer .footer-bottom {
    width: min(calc(100% - 28px), var(--max));
    max-width: var(--max);
    margin-top: 7px;
    padding-top: 6px;
    padding-inline: 0;
    gap: 0;
    font-size: .67rem;
  }

  body .site-footer .footer-bottom > span:last-child {
    display: none;
  }
}

/* ================================================================
   Homepage mobile section-heading composition
   Use the same centered, balanced rhythm as the multi-brand heading.
   Mobile only; desktop remains unchanged.
   ================================================================ */
@media (max-width: 620px) {
  .page-home .section--home-services .section-header,
  .page-home .section--showcase .showcase-header {
    text-align: center;
  }

  .page-home .section--home-services .section-header h2,
  .page-home .section--showcase .showcase-header h2 {
    width: min(100%, 300px);
    max-width: 300px;
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    font-size: 1.42rem;
    line-height: 1.12;
    letter-spacing: -.025em;
  }

  .page-home .section--home-services .section-header p,
  .page-home .section--showcase .showcase-header p {
    max-width: 320px;
    margin-inline: auto;
    text-align: center;
  }
  /* Keep short descriptions readable and prevent a single orphan word. */
  .page-home .section--home-services .section-header p {
    width: min(100%, 292px);
    max-width: 292px;
    margin: 9px auto 0;
    font-size: .9rem;
    line-height: 1.48;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .page-home .section--showcase .showcase-header p {
    width: min(100%, 292px);
    max-width: 292px;
    margin: 9px auto 0;
    font-size: .9rem;
    line-height: 1.48;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}


/* ================================================================
   Tablet UI — 580–1200 CSS px
   A dedicated intermediate layout for tablet-class viewports. Phone rules
   remain untouched below 580px; full desktop starts from 1201px.
   ================================================================ */
@media (min-width: 580px) and (max-width: 1200px) and (min-height: 500px),
       (min-width: 1201px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  :root {
    --site-header-height: 77px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 48px), var(--max));
  }

  /* Header: preserve the floating-menu UX instead of squeezing five
     navigation labels between the brand and the utility controls. */
  body .site-header .header-row {
    width: min(calc(100% - 36px), var(--max));
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 0;
    gap: 16px;
  }

  body .site-header .brand {
    min-width: 0;
    gap: 9px;
  }

  body .site-header .brand-mark {
    width: clamp(132px, 17vw, 176px);
    height: 44px;
    flex: 0 0 clamp(132px, 17vw, 176px);
  }

  body .site-header .brand [data-business-name] {
    font-size: clamp(1.02rem, 1.8vw, 1.22rem);
    white-space: nowrap;
  }

  body .site-header .desktop-nav {
    display: none;
  }

  body .site-header .header-actions {
    gap: 8px;
  }

  body .site-header .site-tools {
    gap: 7px;
  }

  body .site-header .language-button {
    width: 62px;
    min-width: 62px;
    height: 40px;
    padding-inline: 8px;
  }

  body .site-header .theme-toggle {
    width: 68px;
    height: 40px;
  }

  body .site-header .menu-button {
    display: block;
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body .site-header .language-menu {
    position: fixed;
    top: 82px;
    right: 24px;
    width: min(250px, calc(100vw - 48px));
  }

  body .site-header .mobile-nav {
    left: auto;
    right: 24px;
    width: min(390px, calc(100vw - 48px));
    max-width: 390px;
    transform: translateY(-10px) scale(.985);
    transform-origin: top right;
  }

  body .site-header .mobile-nav.is-open {
    transform: translateY(0) scale(1);
  }

  .mobile-menu-backdrop {
    inset: 76px 0 0;
    background: rgba(13, 24, 39, .18);
    backdrop-filter: blur(2px);
  }

  html[data-theme="dark"] .mobile-menu-backdrop {
    background: rgba(2, 7, 15, .34);
  }

  /* The number plate is useful on larger tablets but competes with the
     controls on 768–899px portrait widths. */
  body .site-header .header-phone-plate {
    display: none;
  }

  /* Shared tablet section rhythm. */
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section--compact {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  /* Home hero: a deliberately bounded composition instead of the nearly
     full-screen desktop hero or a simply enlarged phone stack. */
  .page-home .hero--keylab {
    height: auto;
    min-height: calc(100svh - 76px);
  }

  .page-home .hero-keylab__inner {
    min-height: calc(100svh - 76px);
    padding-top: 48px;
    padding-bottom: 44px;
    grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
    gap: 18px;
    align-items: center;
  }

  .page-home .hero--keylab .hero-copy {
    max-width: 520px;
    padding: 0;
  }

  .page-home .hero--keylab .hero-title {
    max-width: 500px;
    font-size: clamp(2.45rem, 5.1vw, 3.45rem);
    line-height: 1.05;
  }

  .page-home .hero--keylab .lead {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: .98rem;
    line-height: 1.62;
  }

  .page-home .hero-actions {
    gap: 10px;
    flex-wrap: wrap;
  }

  .page-home .hero-phone-contact {
    width: min(100%, 540px);
    margin-top: 24px;
  }

  .page-home .hero-phone-contact__prompt {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .page-home .hero-stage {
    min-height: 430px;
    height: 100%;
  }

  .page-home .hero-stage__keys {
    width: min(94%, 470px);
    inset: 3% -2% auto auto;
  }

  .page-home .hero-chip {
    max-width: 205px;
  }

  .page-home .hero-chip--top {
    right: -1%;
    top: 20%;
  }

  .page-home .hero-chip--mid {
    left: -2%;
    top: 53%;
  }

  .page-home .hero-chip--bottom {
    right: 0;
    bottom: 5%;
  }

  .page-home .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .service-card--home {
    min-height: 0;
    padding: 20px 18px 18px;
  }

  .page-home .service-card--home h3 {
    font-size: 1.14rem;
    line-height: 1.24;
  }

  .page-home .service-card--home p {
    font-size: .94rem;
    line-height: 1.52;
  }

  .page-home .service-card--home .card-link {
    font-size: .86rem;
  }

  .page-home .diagnostic-strip {
    grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
    min-height: 310px;
  }

  .page-home .diagnostic-strip__media {
    min-height: 310px;
  }

  .page-home .diagnostic-strip__media::after {
    background: linear-gradient(90deg, transparent 0%, transparent 67%, color-mix(in srgb, var(--surface) 20%, transparent) 78%, var(--surface) 100%);
  }

  .page-home .diagnostic-strip__content {
    padding: 26px 26px 28px;
  }

  .page-home .diagnostic-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .process-step {
    min-height: 210px;
  }

  .page-home .google-review-cta {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .95fr);
    gap: 24px;
    padding: 28px;
  }

  .page-home .cta-band--home {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .page-home .cta-band--home .inline-actions--stacked {
    justify-content: flex-start;
  }

  /* Shared photographic page heroes: enough image presence for a tablet,
     without consuming an entire 1180/1366px portrait screen. */
  .page-hero--services,
  .page-hero--services > .container,
  .page-hero--blog,
  .page-hero--blog > .container,
  .consultation-hero,
  .consultation-hero > .container,
  .page-hero--contact,
  .page-hero--contact > .container {
    min-height: clamp(520px, 62svh, 700px);
  }

  .page-hero--services > .container,
  .page-hero--blog > .container,
  .consultation-hero > .container,
  .page-hero--contact > .container {
    width: min(calc(100% - 56px), 1280px);
    justify-content: center;
    padding-top: 46px;
    padding-bottom: 50px;
  }

  .page-hero--services h1,
  .page-hero--blog h1,
  .consultation-hero h1,
  .page-hero--contact h1 {
    max-width: 650px;
    font-size: clamp(2.8rem, 5.8vw, 3.8rem);
    line-height: 1.035;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .page-hero--services .lead,
  .page-hero--blog .lead,
  .consultation-hero .lead,
  .page-hero--contact .lead {
    max-width: 610px;
    font-size: 1.08rem;
    line-height: 1.58;
  }

  .page-hero--services .eyebrow,
  .page-hero--blog .eyebrow,
  .consultation-hero .eyebrow,
  .page-hero--contact .eyebrow {
    font-size: .78rem;
  }

  .page-hero--services { background-position: 59% center; }
  .page-hero--blog { background-position: 58% center; }
  .consultation-hero { background-position: 58% center; }
  .page-hero--contact { background-position: 60% center; }

  /* Services: accordion remains the touch-first interaction, but the open
     content uses tablet width for a real visual/text split. */
  .services-overview > .container {
    width: min(calc(100% - 48px), var(--max));
  }

  .services-explorer__mobile {
    gap: 14px;
  }

  .service-accordion__trigger {
    min-height: 72px;
    padding: 14px 18px;
  }

  .service-accordion__inner {
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    column-gap: 22px;
    align-items: start;
    padding: 12px 0 20px;
  }

  .service-accordion__visual {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 100%;
    height: 170px;
    margin: 6px 0 0;
    align-self: center;
  }

  .service-accordion__description,
  .service-accordion__list,
  .service-accordion__chips,
  .service-accordion__cta {
    grid-column: 2;
  }

  .service-accordion__description {
    margin-top: 4px;
  }

  .service-accordion__cta {
    width: fit-content;
    min-width: 220px;
  }

  /* Consultation: 3 columns waste space at tablet widths. Two columns keep
     labels readable while preserving the custom make/model pickers. */
  .consultation-symptoms {
    padding: 44px 0 46px;
  }

  .symptom-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .symptom-option {
    min-height: 78px;
  }

  .symptom-detail.is-open + .symptom-detail__guide {
    height: 58px;
  }

  .symptom-detail__guide-arrow {
    top: 4px;
    width: 42px;
    height: 50px;
  }

  .consultation-form-section {
    padding: 30px 0 56px;
  }

  .consultation-card__header {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
    padding: 22px 22px 0;
  }

  .consultation-form {
    padding: 18px 22px 26px;
  }

  .consultation-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .consultation-form .field--wide {
    grid-column: span 1;
  }

  .consultation-form .field--full {
    grid-column: 1 / -1;
  }

  .vehicle-picker__panel,
  .vehicle-picker__panel--model {
    right: auto;
    left: 0;
    width: 100%;
    max-width: 100%;
  }

  .vehicle-picker__options {
    max-height: 260px;
  }

  .consultation-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .consultation-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .consultation-call-option {
    width: 100%;
  }

  .consultation-call-option__desktop-copy {
    display: none;
  }

  .consultation-call-option__mobile-copy,
  .consultation-call-option__button {
    display: flex;
  }

  /* Advice cards: two columns are more useful than stretching a single
     mobile card across 800–1000px. */
  .page-hero--blog + .section > .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .article-card {
    min-width: 0;
  }

  .article-card__visual {
    min-height: 176px;
  }

  .article-card__body {
    padding: 22px 22px 24px;
  }

  /* Article reading width stays deliberately constrained. */
  .article-hero {
    padding: 46px 0 40px;
  }

  .article-hero__layout {
    width: min(calc(100% - 48px), 920px);
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 30px;
  }

  .article-section > .narrow,
  .article-related > .narrow,
  .article-conclusion > .narrow {
    width: min(calc(100% - 56px), 780px);
  }

  .article-content-section p,
  .article-content-section li {
    font-size: 1rem;
    line-height: 1.72;
  }

  /* Contacts: preserve a useful two-column composition on wide tablets,
     and give the real Google map enough height for touch interaction. */
  .contact-layout {
    grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
    gap: 30px;
  }

  .contact-panel {
    display: block;
  }

  .contact-map__frame {
    min-height: 430px;
  }

  .contact-map__topline {
    align-items: flex-start;
    gap: 16px;
  }

  /* Tablet footer: use the available width as a true intermediate layout.
     Brand + service description form the first row; navigation, legal and
     contact information form a balanced second row. Phone and desktop stay
     on their own existing footer compositions. */
  body .site-footer {
    padding-top: 26px;
    padding-bottom: 12px;
  }

  body .site-footer .footer-grid {
    width: min(calc(100% - 52px), var(--max));
    display: grid;
    grid-template-columns: minmax(110px, .82fr) minmax(110px, .78fr) minmax(220px, 1.4fr);
    gap: 22px 24px;
    align-items: start;
  }

  body .site-footer .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  body .site-footer .footer-brand .brand {
    min-width: 0;
    gap: 10px;
    flex: 0 0 auto;
  }

  body .site-footer .brand-mark {
    width: 164px;
    height: 48px;
    flex: 0 0 164px;
  }

  body .site-footer .brand [data-business-name] {
    font-size: 1.18rem;
    line-height: 1;
  }

  body .site-footer .footer-brand p {
    display: block;
    max-width: 390px;
    margin: 0;
    font-size: .86rem;
    line-height: 1.45;
    text-align: right;
  }

  /* Footer DOM order: 1 brand, 2 navigation, 3 Legal, 4 Contact. */
  body .site-footer .footer-grid > div:nth-child(2) {
    display: block;
    grid-column: 1;
    min-width: 0;
  }

  body .site-footer .footer-grid > div:nth-child(3) {
    grid-column: 2;
    min-width: 0;
    padding-left: 0;
  }

  body .site-footer .footer-grid > div:nth-child(4) {
    grid-column: 3;
    width: min(100%, 350px);
    min-width: 0;
    justify-self: end;
  }

  body .site-footer .footer-title {
    margin: 0 0 7px;
    font-size: .93rem;
    line-height: 1.2;
  }

  body .site-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: .84rem;
    line-height: 1.42;
  }

  body .site-footer .footer-grid > div:nth-child(4) .footer-links > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body .site-footer [data-schedule] {
    display: none;
  }

  body .footer-quick-links {
    margin-top: 14px;
    padding-top: 11px;
  }

  body .footer-quick-links__inner {
    width: min(100%, 214px);
  }

  body .footer-quick-link,
  body .footer-quick-link img {
    width: 34px;
    height: 34px;
  }

  body .site-footer .footer-bottom {
    width: min(calc(100% - 52px), var(--max));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: .32rem;
    margin-top: 11px;
    padding-top: 9px;
    font-size: .74rem;
    white-space: nowrap;
  }

  body .site-footer .footer-bottom > span:last-child {
    display: inline;
  }

  /* Floating controls share one visual baseline. */
  .back-to-top {
    left: 24px;
    bottom: 72px;
    width: 48px;
    height: 48px;
  }

  .contact-launcher {
    right: 24px;
    bottom: 72px;
  }

  .contact-launcher__toggle {
    width: 48px;
    height: 48px;
  }

  .contact-launcher__item {
    width: 46px;
    height: 46px;
  }
}

@media (min-width: 900px) and (max-width: 1200px),
       (min-width: 1201px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  body .site-header .header-phone-plate {
    display: inline-flex;
  }
}

@media (min-width: 580px) and (max-width: 899px) and (min-height: 500px) {
  /* Portrait / compact tablets: deliberately recompose the home hero instead
     of inheriting the phone stack. */
  .page-home .hero--keylab {
    min-height: 0;
  }

  .page-home .hero-keylab__inner {
    width: min(calc(100% - 44px), var(--max));
    min-height: 780px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 338px auto;
    align-content: center;
    gap: 12px;
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .page-home .hero--keylab .hero-copy {
    width: 100%;
    max-width: 720px;
    padding: 0;
  }

  .page-home .hero-backdrop {
    object-position: 58% center;
    transform: none;
  }

  .page-home .hero--keylab::before {
    background: linear-gradient(90deg, rgba(4, 12, 25, .90) 0%, rgba(5, 14, 28, .68) 54%, rgba(6, 16, 33, .30) 100%);
  }

  html[data-language="es"] .page-home .hero--keylab .hero-copy,
  html[data-language="va"] .page-home .hero--keylab .hero-copy,
  html[data-language="en"] .page-home .hero--keylab .hero-copy {
    padding-top: 0;
  }

  .page-home .hero--keylab .eyebrow--clean {
    max-width: 650px;
    margin-bottom: 12px;
    font-size: .72rem;
    line-height: 1.45;
    letter-spacing: .075em;
  }

  .page-home .hero--keylab .hero-title {
    max-width: 660px;
    margin-bottom: 0;
    font-size: clamp(3rem, 7.1vw, 3.85rem);
    line-height: 1.025;
    letter-spacing: -.035em;
  }

  .page-home .hero--keylab .hero-title .gradient-text,
  .page-home .hero h1 .gradient-text {
    font-size: 1em;
    line-height: inherit;
    margin-top: 0;
  }

  .page-home .hero--keylab .lead {
    display: none;
  }

  .page-home .hero-copy > .hero-actions,
  .page-home .hero-copy > .hero-phone-contact {
    display: none;
  }

  .page-home .hero-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 338px;
    min-height: 338px;
    margin: 0;
    overflow: visible;
  }

  .page-home .hero-stage__keys {
    width: min(58%, 405px);
    inset: -20px 6% auto auto;
  }

  .page-home .hero-chip {
    max-width: 205px;
    padding: 10px 13px;
    font-size: .8rem;
    line-height: 1.28;
  }

  .page-home .hero-chip--top { right: 1%; top: 13%; }
  .page-home .hero-chip--mid { left: 8%; top: 52%; }
  .page-home .hero-chip--bottom { right: 2%; bottom: 3%; }

  .page-home .hero-mobile-cta {
    position: relative;
    z-index: 4;
    display: grid;
    width: min(100%, 700px);
    gap: 12px;
    margin: 0 auto;
  }

  .page-home .hero-mobile-cta .hero-actions {
    display: grid;
    grid-template-columns: 1.18fr 1fr .86fr;
    gap: 10px;
    width: 100%;
  }

  .page-home .hero-mobile-cta .hero-actions .btn,
  .page-home .hero-mobile-cta .hero-actions .btn:first-child {
    grid-column: auto;
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: .92rem;
    white-space: normal;
  }

  .page-home .hero-mobile-cta .hero-phone-contact {
    display: grid;
    grid-template-columns: 24px auto;
    width: fit-content;
    margin: 0;
    column-gap: 9px;
    align-items: center;
  }

  .page-home .hero-mobile-cta .hero-phone-contact > svg {
    width: 21px;
    height: 21px;
  }

  .page-home .hero-mobile-cta .hero-phone-contact__prompt {
    display: none;
  }

  .page-home .hero-mobile-cta .hero-phone-contact__mobile {
    display: inline-flex;
    font-size: 1.42rem;
    line-height: 1;
  }

  /* Home sections on real compact tablets: undo the phone-sized type and the
     over-tall service cards while keeping the approved card design. */
  .page-home .section--home-services {
    padding-top: 46px;
    padding-bottom: 32px;
  }

  .page-home .section--home-services .section-header {
    width: min(100%, 610px);
    margin: 0 auto 22px;
  }

  .page-home .section--home-services .section-header .eyebrow {
    font-size: .82rem;
  }

  .page-home .section--home-services .section-header h2 {
    width: min(100%, 560px);
    max-width: 560px;
    font-size: clamp(2rem, 5.2vw, 2.45rem);
    line-height: 1.08;
  }

  .page-home .section--home-services .section-header p {
    width: min(100%, 540px);
    max-width: 540px;
    margin: 10px auto 0;
    font-size: 1.02rem;
    line-height: 1.52;
  }

  .page-home .home-card-grid {
    gap: 14px;
  }

  .page-home .service-card--home {
    min-height: 166px;
    padding: 16px 15px 14px;
    border-radius: 16px;
  }

  .page-home .service-card__icon.service-card__code {
    min-width: 54px;
    height: 34px;
    margin-bottom: 12px;
    padding-inline: 10px;
    border-radius: 9px;
    font-size: .72rem;
  }

  .page-home .service-card--home h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .page-home .service-card--home p {
    display: none;
  }

  .page-home .service-card--home .card-link {
    margin-top: auto;
    font-size: .84rem;
    line-height: 1.3;
  }

  .page-home .brand-strip__header {
    width: min(calc(100% - 44px), 650px);
    margin: 0 auto 24px;
  }

  .page-home .brand-strip__header .eyebrow {
    font-size: .82rem;
  }

  .page-home .brand-strip__header h2 {
    max-width: 620px;
    font-size: clamp(2rem, 5.25vw, 2.45rem);
    line-height: 1.08;
  }

  /* Real tablets that report ~600 CSS px were still inheriting the phone-size
     marquee. Give the strip and manufacturer lockups proper tablet scale. */
  .page-home .brand-marquee {
    padding: 10px 0;
  }

  .page-home .brand-marquee__group {
    gap: 24px;
    padding-right: 24px;
  }

  .page-home .brand-marquee__item {
    width: 138px;
    height: 92px;
  }

  .page-home .brand-marquee__item img {
    width: 128px;
    max-height: 84px;
  }

  .page-home .section--showcase {
    padding-top: 50px;
  }

  .page-home .section--showcase .showcase-header {
    width: min(100%, 620px);
    max-width: 620px;
    margin: 0 auto 20px;
  }

  .page-home .section--showcase .showcase-header .eyebrow {
    font-size: .82rem;
  }

  .page-home .section--showcase .showcase-header h2 {
    width: min(100%, 590px);
    max-width: 590px;
    font-size: clamp(2rem, 5.3vw, 2.5rem);
    line-height: 1.08;
  }

  .page-home .section--showcase .showcase-header p {
    width: min(100%, 570px);
    max-width: 570px;
    margin: 11px auto 0;
    font-size: 1.04rem;
    line-height: 1.58;
  }

  /* The phone rules cap the gallery at 220px. On a tablet the workshop photo
     needs more visual weight, with controls scaled up to match. */
  .page-home .showcase-slider__viewport {
    border-radius: 20px;
  }

  .page-home .showcase-slide__visual {
    height: clamp(280px, 46vw, 330px);
  }

  .page-home .showcase-slide__caption {
    min-height: 50px;
    padding: 10px 16px;
  }

  .page-home .showcase-slider__footer {
    min-height: 54px;
    padding-top: 9px;
  }

  .page-home .showcase-slider__arrow {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .page-home .showcase-slider__arrow svg {
    width: 22px;
    height: 22px;
  }

  /* Google review: keep the card generous but make the actual action compact. */
  .page-home .google-review-cta {
    width: min(calc(100% - 42px), 720px);
    margin: 34px auto 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 24px;
  }

  .page-home .google-review-cta__action {
    width: min(100%, 470px);
    justify-self: start;
    gap: 10px;
    padding: 15px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  html[data-theme="light"] .page-home .google-review-cta__action {
    padding: 15px 16px 16px;
  }

  .page-home .google-review-cta__prompt {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .page-home .btn--google-review,
  .page-home .btn--google-review.is-disabled {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-inline: 18px;
  }

  /* Shared internal heroes use a stronger, unified type scale while leaving
     the important photographic subject on the right visible. */
  .page-hero--services,
  .page-hero--services > .container,
  .page-hero--blog,
  .page-hero--blog > .container,
  .consultation-hero,
  .consultation-hero > .container,
  .page-hero--contact,
  .page-hero--contact > .container {
    min-height: clamp(500px, 56svh, 620px);
  }

  .page-hero--services > .container,
  .page-hero--blog > .container,
  .consultation-hero > .container,
  .page-hero--contact > .container {
    width: min(calc(100% - 42px), 1280px);
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .page-hero--services h1,
  .page-hero--blog h1,
  .consultation-hero h1,
  .page-hero--contact h1 {
    max-width: 465px;
    font-size: clamp(2.85rem, 7.4vw, 3.65rem);
    line-height: 1.025;
  }

  .page-hero--services .lead,
  .page-hero--blog .lead,
  .consultation-hero .lead,
  .page-hero--contact .lead {
    max-width: 455px;
    font-size: 1.07rem;
    line-height: 1.58;
  }

  .page-hero--services { background-position: 64% center; }
  .page-hero--blog { background-position: 63% center; }
  .consultation-hero { background-position: 63% center; }
  .page-hero--contact {
    align-items: start;
    background-position: 66% center;
  }

  /* Contact hero: keep the copy in the upper-left safe area instead of
     floating over the middle of the phone / diagnostic equipment. */
  .page-hero--contact > .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 24px;
    padding-bottom: 38px;
  }

  .page-hero--contact .breadcrumbs {
    margin-bottom: 12px;
  }

  .page-hero--contact .eyebrow {
    margin-bottom: 13px;
  }

  .page-hero--contact h1 {
    margin-bottom: 14px;
  }

  .services-overview__header h2,
  .consultation-symptoms__header h2,
  .contact-section__intro h2 {
    font-size: clamp(2.1rem, 5vw, 2.65rem);
    line-height: 1.08;
  }

  .consultation-symptoms__header p,
  .contact-section__intro p {
    max-width: 720px;
    font-size: 1.04rem;
    line-height: 1.6;
  }

  /* Advice cards stay single-column on compact tablets, but no longer span
     almost edge to edge. */
  .page-hero--blog + .section > .container.grid--3 {
    width: min(calc(100% - 64px), 620px);
    grid-template-columns: 1fr;
    gap: 18px;
    margin-inline: auto;
  }

  .page-hero--blog + .section .article-card__visual {
    min-height: 184px;
  }

  .page-hero--blog + .section .article-card__visual::after {
    top: 16px;
    right: 18px;
    width: 140px;
    height: 140px;
    border-radius: 30px;
  }

  .page-hero--blog + .section .article-card__visual-grid {
    inset: auto 16px 14px 16px;
    height: 58px;
    border-radius: 16px;
  }

  .page-hero--blog + .section .article-card__visual-icon {
    right: 18px;
    bottom: 25px;
    width: 132px;
    height: 98px;
    border-radius: 24px;
  }

  .page-hero--blog + .section .article-card__visual-icon::before {
    inset: 9px;
    border-radius: 17px;
  }

  .page-hero--blog + .section .article-card__visual-icon svg {
    width: 66px;
    height: 66px;
  }

  .page-hero--blog + .section .article-card__visual-badge {
    top: 16px;
    left: 16px;
    min-height: 34px;
    padding-inline: 14px;
    font-size: .78rem;
  }

  .page-hero--blog + .section .article-card__body {
    padding: 20px 20px 22px;
  }

  .page-home .diagnostic-strip {
    grid-template-columns: 1fr;
  }

  .page-home .diagnostic-strip__media {
    min-height: 300px;
  }

  .page-home .diagnostic-strip__media::after {
    background: linear-gradient(180deg, transparent 0%, transparent 68%, color-mix(in srgb, var(--surface) 20%, transparent) 80%, var(--surface) 100%);
  }

  .service-accordion__inner {
    grid-template-columns: minmax(170px, 205px) minmax(0, 1fr);
    column-gap: 18px;
  }

  .service-accordion__visual {
    height: 150px;
  }

  .symptom-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-card__header {
    grid-template-columns: 1fr;
  }

  .consultation-selection {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 10px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: block;
  }

  .contact-hours {
    width: 100%;
    margin-top: 18px;
  }

}

/* ================================================================
   Real tablet landscape — keep the approved desktop-like composition,
   but tighten only the vertical rhythm so the direct phone number remains
   visible below the hero buttons on 1200–1366px landscape tablets.
   The class is added only for real touch tablets by main.js, so small desktop
   and laptop windows keep their existing desktop layout unchanged.
   ================================================================ */
@media (min-width: 760px) and (max-width: 1600px) and (orientation: landscape) {
  html.is-tablet-landscape .page-home .hero-keylab__inner {
    min-height: calc(100svh - 68px);
    padding-top: 28px;
    padding-bottom: 24px;
  }

  html.is-tablet-landscape .page-home .hero--keylab .hero-title {
    margin-bottom: 11px;
  }

  html.is-tablet-landscape .page-home .hero--keylab .lead {
    margin-bottom: 15px;
    line-height: 1.56;
  }

  html.is-tablet-landscape .page-home .hero-phone-contact {
    margin-top: 12px;
    row-gap: 3px;
  }

  html.is-tablet-landscape .page-home .hero-phone-contact__prompt {
    font-size: .84rem;
    line-height: 1.28;
  }
}


/* ================================================================
   Review fixes 2026-08-24 — shared phone/tablet cards + tablet landscape
   One final responsive correction block based on real-device screenshots.
   ================================================================ */

/* Consultation: when the compact six-situation selector is used, leave the
   same visual breathing room below the "more situations" control that exists
   above it. Desktop is intentionally untouched. */
@media (max-width: 760px) {
  .section.consultation-symptoms {
    padding-bottom: 22px;
  }
}

/* Advice cards: keep the approved desktop visual language on phones and
   portrait tablets. Only the column count changes with the viewport; the
   decorative header, icon scale and body proportions stay consistent. */
@media (max-width: 980px) {
  .page-hero--blog + .section > .container.grid--3 {
    width: min(calc(100% - 32px), 650px);
    grid-template-columns: 1fr;
    gap: 18px;
    margin-inline: auto;
  }

  .page-hero--blog + .section .article-card {
    border-radius: calc(var(--radius) + 10px);
  }

  html[data-theme="light"] .page-hero--blog + .section .article-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.98));
    border-color: rgba(126,156,199,.18);
    box-shadow:
      0 22px 52px rgba(31,63,112,.10),
      12px 18px 32px rgba(96,153,255,.08);
  }

  html[data-theme="dark"] .page-hero--blog + .section .article-card {
    background: linear-gradient(180deg, #293544 0%, #263140 100%);
    border-color: rgba(73,176,255,.27);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.035),
      16px 22px 36px rgba(7,13,22,.24),
      10px 14px 28px rgba(50,157,255,.10);
  }

  .page-hero--blog + .section .article-card__visual {
    min-height: 172px;
  }

  .page-hero--blog + .section .article-card__visual::after {
    inset: 22px 26px auto auto;
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }

  .page-hero--blog + .section .article-card__visual-badge {
    top: 18px;
    left: 18px;
    min-height: 38px;
    padding: 0 16px;
    font-size: .88rem;
    letter-spacing: .18em;
  }

  .page-hero--blog + .section .article-card__visual-grid {
    inset: auto 20px 18px 20px;
    height: 52px;
    border-radius: 18px;
  }

  .page-hero--blog + .section .article-card__visual-icon {
    right: 20px;
    bottom: 28px;
    width: 112px;
    height: 84px;
    border-radius: 26px;
  }

  .page-hero--blog + .section .article-card__visual-icon::before {
    inset: 10px;
    border-radius: 18px;
  }

  .page-hero--blog + .section .article-card__visual-icon svg {
    width: 58px;
    height: 58px;
  }

  .page-hero--blog + .section .article-card__body {
    gap: 14px;
    padding: 24px 26px 26px;
    background: transparent;
  }

  .page-hero--blog + .section .article-meta {
    gap: 8px;
    font-size: .8rem;
  }

  .page-hero--blog + .section .article-meta::before {
    width: 9px;
    height: 9px;
  }

  .page-hero--blog + .section .article-card__body h2 {
    font-size: clamp(1.65rem, 5.8vw, 2.05rem);
    line-height: 1.1;
  }

  .page-hero--blog + .section .article-card__body p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .page-hero--blog + .section .article-card__cta,
  html[data-theme="light"] .page-hero--blog + .section .article-card__cta,
  html[data-theme="dark"] .page-hero--blog + .section .article-card__cta {
    min-height: 54px;
    gap: 16px;
    margin-top: auto;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid rgba(98,139,255,.16);
    border-radius: 0;
    background: transparent;
    font-size: .98rem;
    line-height: 1.35;
  }

  html[data-theme="dark"] .page-hero--blog + .section .article-card__cta {
    color: #9fcdff;
    border-top-color: rgba(88,169,255,.24);
  }

  .page-hero--blog + .section .article-card__cta svg {
    width: 20px;
    height: 20px;
  }
}

/* The desktop card header was visually correct but a little too dark. Use a
   slightly lighter technical navy everywhere, including light theme, so the
   mobile/tablet cards no longer switch to the pale decorative header. */
.article-card__visual,
html[data-theme="light"] .article-card__visual,
html[data-theme="dark"] .article-card__visual {
  border-bottom-color: rgba(143, 190, 255, .18);
  background: linear-gradient(135deg, #10223a 0%, #173250 56%, #1d4462 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

.article-card__visual--key,
html[data-theme="light"] .article-card__visual--key,
html[data-theme="dark"] .article-card__visual--key {
  background: linear-gradient(135deg, #10223a 0%, #20365d 56%, #324577 100%);
}

.article-card__visual--rf,
html[data-theme="light"] .article-card__visual--rf,
html[data-theme="dark"] .article-card__visual--rf {
  background: linear-gradient(135deg, #10223a 0%, #153b5b 56%, #0b688f 100%);
}

.article-card__visual--ecu,
html[data-theme="light"] .article-card__visual--ecu,
html[data-theme="dark"] .article-card__visual--ecu {
  background: linear-gradient(135deg, #10223a 0%, #19374f 52%, #176078 100%);
}

html[data-theme="light"] .article-card__visual::before {
  background:
    radial-gradient(circle at 84% 20%, rgba(84, 216, 255, .22) 0, rgba(84, 216, 255, 0) 28%),
    radial-gradient(circle at 16% 86%, rgba(114, 106, 255, .18) 0, rgba(114, 106, 255, 0) 26%),
    linear-gradient(90deg, rgba(255,255,255,.05) 0, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, rgba(255,255,255,.04) 100%);
  opacity: .92;
}

html[data-theme="light"] .article-card__visual::after {
  border-color: rgba(154, 204, 255, .12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  opacity: .42;
}

html[data-theme="light"] .article-card__visual-badge {
  color: rgba(248, 251, 255, .96);
  border-color: rgba(175, 211, 255, .22);
  background: rgba(9, 20, 37, .34);
  text-shadow: 0 1px 2px rgba(0,0,0,.24);
}

html[data-theme="light"] .article-card__visual-grid {
  border-color: rgba(143, 179, 255, .10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    linear-gradient(90deg, rgba(124, 162, 255, .18), rgba(124, 162, 255, 0) 42%, rgba(84, 216, 255, .12) 100%),
    repeating-linear-gradient(90deg, rgba(143, 179, 255, .14) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(180deg, rgba(143, 179, 255, .08) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

html[data-theme="light"] .article-card__visual-icon {
  border-color: rgba(143, 179, 255, .16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 34px rgba(4,12,24,.28);
}

/* Landscape tablet: keep the desktop-like layout the user approved, but make
   the first screen deterministic. The phone number is a compact fourth row
   directly under the buttons, so rotating the device can no longer clip it. */
@media (min-width: 760px) and (max-width: 1600px) and (orientation: landscape) {
  html.is-tablet-landscape .page-home .hero--keylab {
    --keylab-desktop-header-height: 68px;
    height: clamp(540px, 72svh, 640px);
    min-height: clamp(540px, 72svh, 640px);
    max-height: none;
    overflow: hidden;
  }

  html.is-tablet-landscape .page-home .hero-keylab__inner {
    height: 100%;
    min-height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 22px;
  }

  html.is-tablet-landscape .page-home .hero--keylab .hero-copy {
    align-self: center;
  }

  html.is-tablet-landscape .page-home .hero--keylab .eyebrow--clean {
    margin-bottom: 8px;
    font-size: .66rem;
    line-height: 1.3;
  }

  html.is-tablet-landscape .page-home .hero--keylab .hero-title {
    min-height: 0;
    margin-bottom: 8px;
    font-size: clamp(2.2rem, 3.45vw, 2.95rem);
    line-height: 1.01;
  }

  html.is-tablet-landscape .page-home .hero--keylab .lead {
    margin-bottom: 9px;
    font-size: .88rem;
    line-height: 1.42;
  }

  html.is-tablet-landscape .page-home .hero-actions {
    gap: 10px;
  }

  html.is-tablet-landscape .page-home .hero-actions .btn {
    min-height: 42px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  html.is-tablet-landscape .page-home .hero-copy > .hero-phone-contact {
    display: grid !important;
    grid-template-columns: 22px auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
  }

  html.is-tablet-landscape .page-home .hero-phone-contact__prompt {
    display: none;
  }

  html.is-tablet-landscape .page-home .hero-phone-contact > svg {
    grid-column: 1;
    grid-row: 1;
    width: 20px;
    height: 20px;
  }

  html.is-tablet-landscape .page-home .hero-phone-contact__desktop {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    font-size: 1.38rem;
    line-height: 1;
  }

  html.is-tablet-landscape .page-home .hero-phone-contact__mobile {
    display: none;
  }

  html.is-tablet-landscape .page-home .hero-stage {
    height: 100%;
    max-height: 100%;
  }

  /* Landscape footer uses the same complete tablet information hierarchy as
     portrait: brand/description, navigation, legal, contacts, socials, bottom. */
  html.is-tablet-landscape body .site-footer {
    padding-top: 22px;
    padding-bottom: 10px;
  }

  html.is-tablet-landscape body .site-footer .footer-grid {
    width: min(calc(100% - 48px), var(--max));
    display: grid;
    grid-template-columns: minmax(150px, .78fr) minmax(150px, .72fr) minmax(250px, 1.35fr);
    gap: 18px 34px;
    align-items: start;
  }

  html.is-tablet-landscape body .site-footer .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  html.is-tablet-landscape body .site-footer .footer-brand .brand {
    flex: 0 0 auto;
    gap: 9px;
  }

  html.is-tablet-landscape body .site-footer .brand-mark {
    width: 154px;
    height: 44px;
    flex: 0 0 154px;
  }

  html.is-tablet-landscape body .site-footer .brand [data-business-name] {
    font-size: 1.12rem;
  }

  html.is-tablet-landscape body .site-footer .footer-brand p {
    display: block;
    max-width: 560px;
    margin: 0;
    font-size: .82rem;
    line-height: 1.4;
    text-align: left;
  }

  html.is-tablet-landscape body .site-footer .footer-grid > div:nth-child(2) {
    display: block;
    grid-column: 1;
  }

  html.is-tablet-landscape body .site-footer .footer-grid > div:nth-child(3) {
    display: block;
    grid-column: 2;
    padding-left: 0;
  }

  html.is-tablet-landscape body .site-footer .footer-grid > div:nth-child(4) {
    display: block;
    grid-column: 3;
    width: 100%;
    max-width: 360px;
    justify-self: end;
  }

  html.is-tablet-landscape body .site-footer .footer-title {
    margin-bottom: 6px;
    font-size: .9rem;
  }

  html.is-tablet-landscape body .site-footer .footer-links {
    gap: 3px;
    font-size: .8rem;
    line-height: 1.38;
  }

  html.is-tablet-landscape body .site-footer [data-schedule] {
    display: none;
  }

  html.is-tablet-landscape body .footer-quick-links {
    margin-top: 11px;
    padding-top: 9px;
  }

  html.is-tablet-landscape body .footer-quick-links__inner {
    width: min(100%, 205px);
  }

  html.is-tablet-landscape body .footer-quick-link,
  html.is-tablet-landscape body .footer-quick-link img {
    width: 32px;
    height: 32px;
  }

  html.is-tablet-landscape body .site-footer .footer-bottom {
    width: min(calc(100% - 48px), var(--max));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: .32rem;
    margin-top: 8px;
    padding-top: 7px;
    font-size: .72rem;
    white-space: nowrap;
  }

  html.is-tablet-landscape body .site-footer .footer-bottom > span:last-child {
    display: inline;
  }

  html.is-tablet-landscape .back-to-top {
    left: 18px;
    bottom: 22px;
    width: 45px;
    height: 45px;
  }

  html.is-tablet-landscape .contact-launcher {
    right: 18px;
    bottom: 22px;
  }

  html.is-tablet-landscape .contact-launcher__toggle {
    width: 45px;
    height: 45px;
  }
}


/* ================================================================
   Floating controls — one behaviour and one visual scale everywhere.
   The chat is hidden on initial load and JS reveals it only after the user
   scrolls roughly half a viewport. JS also docks both circles to the social
   icon centre line whenever that footer row is visible.
   ================================================================ */
.contact-launcher {
  right: 18px;
  bottom: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.96);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.contact-launcher.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.contact-launcher__toggle {
  box-sizing: border-box;
  width: 45px;
  height: 45px;
}

/* The message SVG has a 2px transparent margin around its blue circle.
   Scale the artwork inside the same 45px control box so the visible blue disc
   and the 45px back-to-top disc have the same real diameter. */
.contact-launcher__toggle img {
  width: 106.667%;
  height: 106.667%;
}

.back-to-top {
  box-sizing: border-box;
  left: 18px;
  bottom: 22px;
  width: 45px;
  height: 45px;
  border-width: 1px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

html[data-theme="light"] .back-to-top {
  box-shadow: 0 8px 20px rgba(26,66,111,.14);
}

/* Homepage viewport corrections: keep the phone composition compact and keep
   the complete direct-call row visible on short desktop viewports. */
@media (max-width: 620px) {
  .page-home .hero--keylab,
  .page-home .hero-keylab__inner {
    min-height: 0;
  }

  .page-home .hero-keylab__inner {
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .page-home .hero-backdrop {
    object-position: 62% 48%;
  }

  .page-home .hero-stage {
    height: 200px;
    min-height: 200px;
    flex-basis: 200px;
    margin-top: 4px;
  }

  .page-home .hero-stage__keys {
    width: min(65%, 225px);
    inset: -4px 3px auto auto;
  }

  .page-home .hero-mobile-cta {
    margin-top: 0;
  }
}

@media (min-width: 861px) and (max-height: 740px) {
  .page-home .hero-phone-contact {
    margin-top: 10px;
  }

  html[data-language="ru"] .page-home .hero--keylab .hero-title {
    font-size: clamp(2.35rem, 3.6vw, 3.5rem);
    line-height: 1.03;
  }
}

@media (min-width: 900px) and (max-width: 1200px) and (max-height: 820px) {
  .page-home .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .page-home .hero-actions .btn {
    padding-inline: 12px;
    font-size: .9rem;
    white-space: nowrap;
  }

  .page-home .hero-phone-contact {
    margin-top: 14px;
  }
}

/* A CSS fallback for landscape touch tablets. This prevents a one-frame
   desktop-height layout while JS is re-evaluating orientation after rotation. */
@media (min-width: 760px) and (max-width: 1600px) and (orientation: landscape) and (any-pointer: coarse) {
  .page-home .hero--keylab {
    --keylab-desktop-header-height: 68px;
    height: clamp(540px, 72svh, 640px);
    min-height: clamp(540px, 72svh, 640px);
    max-height: none;
    overflow: hidden;
  }

  .page-home .hero-keylab__inner {
    height: 100%;
    min-height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 22px;
  }

  .page-home .hero--keylab .hero-copy {
    align-self: center;
  }

  .page-home .hero--keylab .hero-title {
    min-height: 0;
    margin-bottom: 8px;
    font-size: clamp(2.2rem, 3.45vw, 2.95rem);
    line-height: 1.01;
  }

  .page-home .hero--keylab .lead {
    margin-bottom: 9px;
    font-size: .88rem;
    line-height: 1.42;
  }

  .page-home .hero-actions {
    gap: 10px;
  }

  .page-home .hero-actions .btn {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .page-home .hero-copy > .hero-phone-contact {
    display: grid !important;
    grid-template-columns: 22px auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
  }

  .page-home .hero-phone-contact__prompt,
  .page-home .hero-phone-contact__mobile {
    display: none;
  }

  .page-home .hero-phone-contact > svg {
    grid-column: 1;
    grid-row: 1;
    width: 20px;
    height: 20px;
  }

  .page-home .hero-phone-contact__desktop {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    font-size: 1.34rem;
    line-height: 1;
  }

  /* Full tablet footer in landscape: the same information hierarchy as
     portrait instead of the compressed/partial desktop footer. */
  body .site-footer {
    padding-top: 22px;
    padding-bottom: 10px;
  }

  body .site-footer .footer-grid {
    width: min(calc(100% - 48px), var(--max));
    display: grid;
    grid-template-columns: minmax(150px, .78fr) minmax(150px, .72fr) minmax(250px, 1.35fr);
    gap: 18px 34px;
    align-items: start;
  }

  body .site-footer .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  body .site-footer .footer-brand p {
    display: block;
    max-width: 560px;
    margin: 0;
    font-size: .82rem;
    line-height: 1.4;
    text-align: left;
  }

  body .site-footer .footer-grid > div:nth-child(2) {
    display: block;
    grid-column: 1;
  }

  body .site-footer .footer-grid > div:nth-child(3) {
    display: block;
    grid-column: 2;
    padding-left: 0;
  }

  body .site-footer .footer-grid > div:nth-child(4) {
    display: block;
    grid-column: 3;
    width: 100%;
    max-width: 360px;
    justify-self: end;
  }

  body .site-footer .footer-title {
    margin-bottom: 6px;
    font-size: .9rem;
  }

  body .site-footer .footer-links {
    gap: 3px;
    font-size: .8rem;
    line-height: 1.38;
  }

  body .site-footer [data-schedule] {
    display: none;
  }

  body .site-footer .footer-bottom {
    width: min(calc(100% - 48px), var(--max));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: .32rem;
    margin-top: 8px;
    padding-top: 7px;
    font-size: .72rem;
    white-space: nowrap;
  }

  body .site-footer .footer-bottom > span:last-child {
    display: inline;
  }
}

/* Desktop header: keep the brand, navigation and controls on one visual scale. */
@media (min-width: 1201px) and (hover: hover) and (pointer: fine) {
  :root {
    --desktop-header-row-height: 76px;
    --desktop-header-height: calc(var(--desktop-header-row-height) + 1px);
    --site-header-height: var(--desktop-header-height);
  }

  .page-hero--services,
  .page-hero--services > .container,
  .page-hero--blog,
  .page-hero--blog > .container,
  .consultation-hero,
  .consultation-hero > .container,
  .page-hero--contact,
  .page-hero--contact > .container {
    min-height: calc(100svh - var(--desktop-header-height));
  }

  .site-header .header-row {
    min-height: var(--desktop-header-row-height);
    padding-block: 6px;
    gap: 22px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .site-header .brand-mark,
  .site-footer .brand-mark {
    width: 190px;
    height: 42px;
  }

  .site-header .desktop-nav {
    gap: 24px;
  }

  .site-header .desktop-nav a {
    font-size: 1rem;
    font-weight: 800;
  }

  .site-header .header-actions {
    gap: 8px;
  }

  .site-header .site-tools {
    gap: 6px;
  }

  .site-header .language-button {
    width: 58px;
    min-width: 58px;
    height: 36px;
    min-height: 36px;
    padding-inline: 6px;
    gap: 4px;
    border-radius: 6px;
  }

  .site-header .language-button .language-flag {
    width: 25px;
    height: 17px;
    flex-basis: 25px;
  }

  .site-header .language-chevron {
    margin-left: 1px;
    font-size: 0;
    line-height: 0;
  }

  .site-header .theme-toggle {
    width: 64px;
    min-width: 64px;
    height: 36px;
    min-height: 36px;
  }

  .site-header .theme-toggle__sun,
  .site-header .theme-toggle__moon {
    width: 16px;
    height: 16px;
  }

  .site-header .header-phone-plate {
    min-width: 148px;
    height: 36px;
    min-height: 36px;
  }

  .site-header .header-phone-plate__eu {
    flex-basis: 22px;
  }

  .site-header .header-phone-plate__stars {
    width: 17px;
    height: 17px;
  }

  .site-header .header-phone-plate__country {
    font-size: .58rem;
  }

  .site-header .header-phone-plate__number {
    padding-inline: 8px;
  }

  .page-home .hero--keylab {
    --keylab-desktop-header-height: var(--desktop-header-height);
  }
}

/* ================================================================
   ClauChip — branded wordmark in header and footer
   ================================================================ */
.site-header .brand [data-business-name],
.site-footer .brand [data-business-name] {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  font-style: normal;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  letter-spacing: -.07em;
  line-height: .94;
  transform: skewX(-5deg);
  transform-origin: left center;
}

.site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max {
  font-weight: 800;
  letter-spacing: -.055em;
}

.site-header .brand .brand-name__keycode,
.site-footer .brand .brand-name__keycode,
html[data-theme="light"] .site-header .brand .brand-name__keycode,
html[data-theme="dark"] .site-header .brand .brand-name__keycode,
html[data-theme="light"] .site-footer .brand .brand-name__keycode,
html[data-theme="dark"] .site-footer .brand .brand-name__keycode {
  position: relative;
  margin-left: .035em;
  color: #00cfff !important;
  background: linear-gradient(120deg, #13e5ff 0%, #00cfff 44%, #2d84ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900;
  letter-spacing: -.075em;
  text-shadow: none !important;
  filter: drop-shadow(0 0 5px rgba(0, 207, 255, .24)) !important;
}

/* Short circuit-trace accent under “Chip”, echoing the cyan core of the favicon. */
.site-header .brand .brand-name__keycode::after,
.site-footer .brand .brand-name__keycode::after {
  position: absolute;
  left: .08em;
  right: .12em;
  bottom: -.23em;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(19, 229, 255, .25), #00cfff 44%, #2d84ff 100%);
  box-shadow: 0 0 6px rgba(0, 207, 255, .34);
}

.site-header .brand .brand-name__keycode::before,
.site-footer .brand .brand-name__keycode::before {
  position: absolute;
  right: -.02em;
  bottom: -.31em;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 1px;
  background: #15ddff;
  box-shadow: 0 0 6px rgba(0, 207, 255, .55);
}

@media (max-width: 640px) {
  .site-header .brand [data-business-name],
  .site-footer .brand [data-business-name] {
    letter-spacing: -.06em;
    transform: skewX(-4deg);
  }

  .site-header .brand .brand-name__keycode::after,
  .site-footer .brand .brand-name__keycode::after {
    bottom: -.20em;
    height: 1.5px;
  }

  .site-header .brand .brand-name__keycode::before,
  .site-footer .brand .brand-name__keycode::before {
    bottom: -.28em;
    width: 4px;
    height: 4px;
  }
}


/* ================================================================
   ClauChip — wordmark + corrected footer composition
   ================================================================ */
.site-header .brand [data-business-name],
.site-footer .brand [data-business-name] {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding-bottom: .23em;
  font-family: "Avenir Next Condensed", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .018em;
  line-height: .94;
  transform: skewX(-4deg);
  transform-origin: left center;
}

.site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max {
  font-weight: 900;
  letter-spacing: .014em;
}

html[data-theme="light"] .site-header .brand .brand-name__max {
  color: #182434;
  -webkit-text-fill-color: #182434;
}

html[data-theme="dark"] .site-header .brand .brand-name__max,
.site-footer .brand .brand-name__max,
html[data-theme="light"] .site-footer .brand .brand-name__max,
html[data-theme="dark"] .site-footer .brand .brand-name__max {
  color: #f5f8fb;
  -webkit-text-fill-color: #f5f8fb;
}

.site-header .brand .brand-name__keycode,
.site-footer .brand .brand-name__keycode,
html[data-theme="light"] .site-header .brand .brand-name__keycode,
html[data-theme="dark"] .site-header .brand .brand-name__keycode,
html[data-theme="light"] .site-footer .brand .brand-name__keycode,
html[data-theme="dark"] .site-footer .brand .brand-name__keycode {
  position: relative;
  margin-left: .018em;
  color: #00cfff !important;
  background: linear-gradient(90deg, #2ee8ff 0%, #1bcfff 48%, #2c7eff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900;
  letter-spacing: .012em;
  text-shadow: none !important;
  filter: drop-shadow(0 0 5px rgba(0, 207, 255, .16)) !important;
}

.site-header .brand .brand-name__keycode::after,
.site-footer .brand .brand-name__keycode::after {
  content: none;
}

.site-header .brand .brand-name__keycode::before,
.site-footer .brand .brand-name__keycode::before {
  position: absolute;
  right: .045em;
  bottom: -.13em;
  width: 2px;
  height: .28em;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, #2be7ff 0%, #2794ff 100%);
  box-shadow: 0 0 5px rgba(0, 207, 255, .22);
}

.site-header .brand [data-business-name]::after,
.site-footer .brand [data-business-name]::after {
  position: absolute;
  left: .03em;
  right: .01em;
  bottom: .05em;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(43,231,255,.9) 0%, rgba(28,207,255,.95) 48%, rgba(44,126,255,.95) 100%);
  box-shadow: 0 0 6px rgba(0, 207, 255, .18);
  transform: translateY(100%);
}

/* Every visible ClauChip mention inside page copy uses the same brand language. */
.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  margin: 0 .035em;
  padding: 0 .01em .18em 0;
  white-space: nowrap;
  color: inherit;
  font-family: "Avenir Next Condensed", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: .98em;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .018em;
  line-height: .94;
  vertical-align: .01em;
  transform: skewX(-4deg);
  transform-origin: left center;
}

.brand-wordmark__clau {
  color: currentColor;
  -webkit-text-fill-color: currentColor;
  font-weight: 900;
  letter-spacing: .014em;
}

.brand-wordmark__chip {
  position: relative;
  margin-left: .018em;
  color: #00cfff;
  background: linear-gradient(90deg, #2ee8ff 0%, #1bcfff 48%, #2c7eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: .012em;
  filter: drop-shadow(0 0 4px rgba(0, 207, 255, .14));
}

.brand-wordmark::after {
  position: absolute;
  left: .03em;
  right: .01em;
  bottom: .025em;
  height: .065em;
  min-height: 1px;
  max-height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(43,231,255,.9) 0%, rgba(28,207,255,.95) 48%, rgba(44,126,255,.95) 100%);
  box-shadow: 0 0 5px rgba(0, 207, 255, .16);
}

.brand-wordmark__chip::before {
  position: absolute;
  right: .045em;
  bottom: -.12em;
  width: .055em;
  min-width: 1px;
  height: .25em;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, #2be7ff 0%, #2794ff 100%);
}

/* Desktop footer: the three information columns sit as one centered group.
   The brand occupies the left wing and the car silhouette the right wing. */
.site-footer,
html[data-theme="light"] .site-footer,
html[data-theme="dark"] .site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 32px;
  padding-bottom: 14px;
  border-top-color: rgba(65, 154, 224, .18);
  background: linear-gradient(180deg, #081725 0%, #061321 100%);
}

.site-footer .footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) 145px 145px 230px minmax(270px, 1fr);
  justify-content: stretch;
  column-gap: 20px;
  row-gap: 22px;
  align-items: start;
}

.site-footer .footer-grid > div:nth-child(1) { grid-column: 1; }
.site-footer .footer-grid > div:nth-child(2) { grid-column: 2; }
.site-footer .footer-grid > div:nth-child(3) { grid-column: 3; }
.site-footer .footer-grid > div:nth-child(4) { grid-column: 4; }

.site-footer .footer-grid::after {
  grid-column: 5;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  width: min(100%, 360px);
  aspect-ratio: 368 / 213;
  content: "";
  background: url("../img/brand/footer-car-accent.svg") no-repeat right bottom / contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 14%, #000 36%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 14%, #000 36%, #000 100%);
  opacity: .98;
  pointer-events: none;
}

.site-footer .footer-brand {
  min-width: 0;
  padding-right: 10px;
}

.site-footer .footer-brand p {
  max-width: 320px;
  margin-top: 11px;
}

.site-footer .footer-title {
  margin-bottom: 9px;
}

.site-footer .footer-links {
  gap: 7px;
}

.site-footer .footer-grid > div:nth-child(4) .footer-links {
  gap: 9px;
}

.site-footer .footer-grid > div:nth-child(4) .footer-links > a,
.site-footer .footer-grid > div:nth-child(4) .footer-links > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 22px;
  padding-left: 28px;
}

.site-footer .footer-grid > div:nth-child(4) .footer-links > a::before,
.site-footer .footer-grid > div:nth-child(4) .footer-links > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  opacity: .98;
}

.site-footer .footer-grid > div:nth-child(4) a[data-phone-link]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b9cff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.18 2 19.78 19.78 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.78 19.78 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.79.63 2.64a2 2 0 0 1-.45 2.11L8 9.76a16 16 0 0 0 6.24 6.24l1.29-1.29a2 2 0 0 1 2.11-.45c.85.3 1.74.51 2.64.63A2 2 0 0 1 22 16.9Z'/%3E%3C/svg%3E");
}

.site-footer .footer-grid > div:nth-child(4) a[data-whatsapp-link]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20.52 3.48A11.82 11.82 0 0 0 12.03 0C5.41 0 .03 5.38.03 12c0 2.12.55 4.19 1.61 6.01L0 24l6.15-1.61A11.96 11.96 0 0 0 12.03 24c6.62 0 12-5.38 12-12 0-3.2-1.25-6.2-3.51-8.52ZM12.03 21.86a9.82 9.82 0 0 1-5-1.37l-.36-.21-3.65.96.97-3.56-.23-.37a9.83 9.83 0 1 1 8.27 4.55Zm5.4-7.36c-.3-.15-1.78-.88-2.06-.98-.28-.1-.49-.15-.7.15-.21.3-.8.98-.98 1.18-.18.2-.36.23-.66.08-.3-.15-1.29-.47-2.45-1.49-.9-.8-1.5-1.8-1.68-2.1-.18-.3-.02-.46.13-.61.14-.14.3-.36.45-.54.15-.18.2-.3.3-.5.1-.2.05-.38-.03-.54-.08-.15-.7-1.69-.96-2.31-.25-.6-.51-.52-.7-.53h-.59c-.2 0-.54.08-.82.38-.28.3-1.08 1.05-1.08 2.56s1.1 2.98 1.25 3.18c.15.2 2.14 3.27 5.19 4.58.72.31 1.28.49 1.72.62.72.23 1.38.2 1.9.12.58-.09 1.78-.73 2.03-1.43.25-.7.25-1.31.17-1.43-.08-.12-.28-.2-.58-.35Z' fill='%2325D366'/%3E%3C/svg%3E");
}

.site-footer .footer-grid > div:nth-child(4) span[data-city] {
  white-space: nowrap;
}

.site-footer .footer-grid > div:nth-child(4) span[data-city]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.33-6-10a6 6 0 1 1 12 0c0 4.67-6 10-6 10Z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E");
}

.site-footer .footer-grid > div:nth-child(4) a[data-email-link]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374bcff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}

.site-footer .footer-grid > div:nth-child(4) .footer-links a[data-whatsapp-link] {
  color: #d9f7e6;
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.site-footer .footer-credit-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .015em;
  transition: color .2s ease, opacity .2s ease;
}

.site-footer .footer-credit-link:hover,
.site-footer .footer-credit-link:focus-visible {
  color: #8fdcff;
}

/* Give the navigation and contacts more room on wide desktop screens. */
@media (min-width: 1280px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(210px, 1fr) 150px 150px 240px minmax(210px, 1fr);
    column-gap: 48px;
  }
}

/* Theme button: one icon (moon in light, sun in dark), no switch track. */
html[data-theme="light"] {
  background-color: #f5f8fc;
  color-scheme: light;
}

html[data-theme="dark"] {
  background-color: #202733;
  color-scheme: dark;
}

body .site-header .theme-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transform: none;
}

html[data-theme="light"] body .site-header .theme-toggle,
html[data-theme="dark"] body .site-header .theme-toggle {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body .site-header .theme-toggle__track,
html[data-theme="light"] body .site-header .theme-toggle__track,
html[data-theme="dark"] body .site-header .theme-toggle__track {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

body .site-header .theme-toggle__track::before {
  display: none;
  content: none;
}

body .site-header .theme-toggle__sun,
body .site-header .theme-toggle__moon {
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  opacity: 0;
  filter: none;
  transform: translate(-50%, -50%) scale(.88);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

html[data-theme="light"] body .site-header .theme-toggle__moon {
  color: #1465b7;
  fill: currentColor;
  stroke: none;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

html[data-theme="dark"] body .site-header .theme-toggle__sun {
  stroke: #ffd04a;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(255, 208, 74, .45));
  transform: translate(-50%, -50%) scale(1);
}

html[data-theme="light"] body .site-header .theme-toggle:hover,
html[data-theme="dark"] body .site-header .theme-toggle:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html[data-theme="dark"] body .site-header .theme-toggle:hover .theme-toggle__sun {
    animation: theme-sun-turn .75s ease-in-out 1;
  }

  html[data-theme="light"] body .site-header .theme-toggle:hover .theme-toggle__moon {
    animation: theme-moon-rock .8s ease-in-out 1;
  }
}

@keyframes theme-sun-turn {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes theme-moon-rock {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  29% { transform: translate(-50%, -50%) rotate(-30deg); }
  67% { transform: translate(-50%, -50%) rotate(30deg); }
}

body .site-header .theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: none;
}

/* Keep the original responsive mark visible whenever the car is idle. */
@media (min-width: 1201px) and (hover: hover) and (pointer: fine) {
  /* Reserve room on the left for the car to move before braking. */
  .site-header .brand:has(> .brand-mark--drive) { padding-inline-start: 28px; }
}
.site-header .brand-mark--drive { position: relative; }
.site-header .brand-mark--drive > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.site-header .brand-mark--drive > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  visibility: hidden;
  pointer-events: none;
}
html[data-theme] .site-header .brand-mark--drive.is-driving { background-image: none; }
.site-header .brand-mark--drive.is-driving > picture { visibility: hidden; }
.site-header .brand-mark--drive.is-driving > svg { visibility: visible; }
.site-header .brand-drive-rim { filter: drop-shadow(0 0 4px #63d9ff); }
html[data-theme="dark"] .site-header .brand-drive-rim { transform: translate(-1px, -5px); }

/* Header utilities: a bare language trigger and light separators. */
body .site-header .site-tools {
  --tool-divider-color: color-mix(in srgb, var(--muted) 46%, transparent);
  position: relative;
}

body .site-header .language-button,
html[data-theme] body .site-header .language-button {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body .site-header .language-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

html[data-theme="light"] .site-header .language-chevron {
  color: #1465b7;
  filter: none;
}

.site-header .language-switcher.is-open .language-chevron {
  color: #25d366;
}

@media (hover: hover) and (pointer: fine) {
  .site-header .language-button:hover .language-chevron {
    color: #25d366;
  }
}

body .site-header .language-switcher::after,
body .site-header .site-tools::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block-start: 50%;
  inset-inline-end: -4px;
  inline-size: 1px;
  block-size: 22px;
  transform: translateY(-50%);
  border-radius: 1px;
  background: var(--tool-divider-color);
  pointer-events: none;
}

body .site-header .site-tools::after {
  content: none;
  inset-inline-end: -1px;
}

/* The phone separator is present only at widths with a visible number plate. */
@media (min-width: 900px), (min-width: 861px) and (max-height: 499px) {
  body .site-header .site-tools::after {
    content: "";
  }
}

@media (max-width: 579px) {
  body .site-header .language-switcher::after {
    inset-inline-end: -3px;
    block-size: 18px;
  }
}

@media (max-width: 1180px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(210px, 1fr) 135px 135px 232px minmax(210px, 1fr);
    column-gap: 18px;
  }

  .site-footer .footer-grid::after {
    width: min(100%, 280px);
  }
}

@media (max-width: 1080px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(230px, 1fr) 145px 145px minmax(230px, 1fr);
    column-gap: 22px;
  }

  .site-footer .footer-grid > div:nth-child(1) { grid-column: 1; }
  .site-footer .footer-grid > div:nth-child(2) { grid-column: 2; }
  .site-footer .footer-grid > div:nth-child(3) { grid-column: 3; }
  .site-footer .footer-grid > div:nth-child(4) { grid-column: 4; }
  .site-footer .footer-grid::after { display: none; }
}

@media (max-width: 860px) {
  .site-footer .footer-grid > div:nth-child(4) span[data-city] {
    white-space: normal;
  }

  .site-header .brand [data-business-name],
  .site-footer .brand [data-business-name],
  .brand-wordmark {
    transform: skewX(-4deg);
  }

  .site-header .brand [data-business-name]::after,
  .site-footer .brand [data-business-name]::after {
    height: 1.7px;
  }

  .site-footer {
    padding-top: 26px;
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 20px;
  }

  .site-footer .footer-grid > div:nth-child(1),
  .site-footer .footer-grid > div:nth-child(2),
  .site-footer .footer-grid > div:nth-child(3),
  .site-footer .footer-grid > div:nth-child(4) {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .site-header .brand [data-business-name],
  .site-footer .brand [data-business-name],
  .brand-wordmark {
    letter-spacing: .01em;
    transform: skewX(-3deg);
  }

  .site-header .brand [data-business-name],
  .site-footer .brand [data-business-name] {
    padding-bottom: .19em;
  }

  .site-header .brand .brand-name__keycode::before,
  .site-footer .brand .brand-name__keycode::before {
    right: .04em;
    height: .24em;
  }

  .site-header .brand [data-business-name]::after,
  .site-footer .brand [data-business-name]::after {
    bottom: .055em;
    height: 1.55px;
  }

  .site-footer .footer-grid > div:nth-child(4) .footer-links > a,
  .site-footer .footer-grid > div:nth-child(4) .footer-links > span {
    padding-left: 26px;
  }
}

/* ================================================================
   ClauChip — larger header/footer brand wordmark
   ================================================================ */
@media (min-width: 1201px) {
  .site-header .brand [data-business-name] {
    font-size: 1.74rem;
  }

  .site-footer .brand [data-business-name] {
    font-size: 1.74rem;
  }
}

html.is-tablet-landscape body .site-header .brand [data-business-name] {
  font-size: 1.28rem;
}

html.is-tablet-landscape body .site-footer .brand [data-business-name] {
  font-size: 1.28rem;
}


/* ================================================================
   ClauChip — exact approved graphic wordmark
   Uses the selected visual reference directly instead of approximating it
   with a system font, so header/footer and inline mentions match.
   ================================================================ */
:root {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-light.png");
}

html[data-theme="dark"] {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-dark.png");
}

/* Dark surfaces keep the approved white/cyan version regardless of theme. */
.site-footer,
.hero,
.page-hero,
.showcase-slide__caption,
.showcase-slider__signature {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-dark.png");
}

.site-header .brand [data-business-name],
.site-footer .brand [data-business-name] {
  display: inline-block !important;
  flex: 0 0 auto;
  width: 4.65em;
  height: 1em;
  padding: 0 !important;
  margin: 0;
  background-image: var(--clauchip-wordmark-image) !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
  color: transparent !important;
  line-height: 1;
  transform: none !important;
  filter: none !important;
  overflow: visible;
}

.site-header .brand [data-business-name] > *,
.site-footer .brand [data-business-name] > * {
  visibility: hidden !important;
}

.site-header .brand [data-business-name]::before,
.site-header .brand [data-business-name]::after,
.site-footer .brand [data-business-name]::before,
.site-footer .brand [data-business-name]::after,
.site-header .brand .brand-name__keycode::before,
.site-header .brand .brand-name__keycode::after,
.site-footer .brand .brand-name__keycode::before,
.site-footer .brand .brand-name__keycode::after {
  content: none !important;
}

/* Header follows the selected site theme; footer is permanently dark. */
html[data-theme="light"] .site-header .brand [data-business-name] {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-light.png");
}

html[data-theme="dark"] .site-header .brand [data-business-name],
.site-footer .brand [data-business-name],
html[data-theme="light"] .site-footer .brand [data-business-name],
html[data-theme="dark"] .site-footer .brand [data-business-name] {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-dark.png");
}

/* Every in-page ClauChip mention rendered by main.js gets the same wordmark. */
.brand-wordmark {
  position: relative;
  display: inline-block;
  width: 4.65em;
  height: 1em;
  padding: 0;
  margin: 0 .045em;
  background-image: var(--clauchip-wordmark-image) !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
  color: transparent !important;
  line-height: 1;
  vertical-align: -.12em;
  transform: none !important;
  filter: none !important;
  white-space: nowrap;
}

.brand-wordmark > * {
  visibility: hidden !important;
}

.brand-wordmark::before,
.brand-wordmark::after,
.brand-wordmark__chip::before,
.brand-wordmark__chip::after {
  content: none !important;
}

html[data-theme="light"] .brand-wordmark {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-light.png");
}

html[data-theme="dark"] .brand-wordmark,
.hero .brand-wordmark,
.page-hero .brand-wordmark,
.showcase-slide__caption .brand-wordmark,
.showcase-slider__signature .brand-wordmark,
.site-footer .brand-wordmark {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-dark.png");
}

/* Footer credit: © 2026 AlexVovan Studio. */
.site-footer .footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .34em;
  white-space: nowrap;
}

.site-footer .footer-credit__copyright {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.08em;
  height: 1.08em;
  font-size: .9em;
  font-weight: 800;
  line-height: 1;
}

.site-footer .footer-credit-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color .2s ease, opacity .2s ease;
}

.site-footer .footer-credit-link:hover,
.site-footer .footer-credit-link:focus-visible {
  color: #8fdcff;
  text-decoration: underline;
  text-underline-offset: .16em;
}

@media (max-width: 640px) {
  .site-header .brand [data-business-name],
  .site-footer .brand [data-business-name] {
    width: 4.5em;
  }

  .brand-wordmark {
    width: 4.5em;
  }
}

/* ================================================================
   ClauChip wordmark — correct contrast on light-theme dark surfaces
   The generic light-theme rule is more specific than container-only
   overrides, so dark sections must explicitly include the theme scope.
   ================================================================ */
html[data-theme="light"] .page-hero .brand-wordmark,
html[data-theme="light"] .hero .brand-wordmark,
html[data-theme="light"] .showcase-slide__caption .brand-wordmark,
html[data-theme="dark"] .page-hero .brand-wordmark,
html[data-theme="dark"] .hero .brand-wordmark,
html[data-theme="dark"] .showcase-slide__caption .brand-wordmark {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-dark.png");
}

/* These locations sit on a light surface in the light theme and therefore
   intentionally keep the dark-Clau version of the approved wordmark. */
html[data-theme="light"] .section-header .brand-wordmark,
html[data-theme="light"] .eyebrow .brand-wordmark,
html[data-theme="light"] .showcase-slider__signature .brand-wordmark,
html[data-theme="light"] .google-review-cta .brand-wordmark {
  --clauchip-wordmark-image: url("../img/brand/wordmark-approved-light.png");
}

/* Increase the contrast of the approved in-page mark on the light showcase.
   Only this instance is adjusted; other brand assets remain unchanged. */
html[data-theme="light"] .section--showcase .showcase-header .brand-wordmark {
  filter: brightness(.73) contrast(1.13) saturate(1.22) !important;
}

/* Phone header: keep the car and approved wordmark on one clear line. */
@media (max-width: 579px) {
  body .site-header .brand-mark {
    width: clamp(78px, 24vw, 94px);
    height: 38px;
    flex: 0 0 clamp(78px, 24vw, 94px);
  }

  body .site-header .brand [data-business-name] {
    flex: 0 0 auto;
    font-size: clamp(.99rem, 4.65vw, 1.12rem);
  }

  /* Match desktop: a single theme icon, without the sun/moon pill. */
  body .site-header .theme-toggle {
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  html[data-theme="light"] body .site-header .theme-toggle__track,
  html[data-theme="dark"] body .site-header .theme-toggle__track {
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }

  body .site-header .theme-toggle__sun,
  body .site-header .theme-toggle__moon {
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
  }

  html[data-theme="light"] body .site-header .theme-toggle__sun,
  html[data-theme="dark"] body .site-header .theme-toggle__moon {
    opacity: 0;
  }

  html[data-theme="light"] body .site-header .theme-toggle__moon,
  html[data-theme="dark"] body .site-header .theme-toggle__sun {
    opacity: 1;
  }
}

/* ================================================================
   Mobile footer — final phone composition
   Keeps the desktop/tablet footer untouched and gives the 360px layout
   its own full-width brand row, balanced Legal/Contact columns and
   independent quick-links/credit rows.
   ================================================================ */
@media (max-width: 579px) {
  body .site-footer {
    padding: 20px 0 10px;
  }

  body .site-footer .footer-grid {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    row-gap: 18px !important;
    align-items: start;
    justify-items: stretch;
    margin-inline: auto !important;
    padding: 0 !important;
  }

  /* Navigation is already available from the mobile header menu. */
  body .site-footer .footer-grid > div:nth-child(2) {
    display: none !important;
  }

  body .site-footer .footer-brand {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    inline-size: 100% !important;
    justify-self: stretch !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
  }

  body .site-footer .footer-brand .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body .site-footer .brand-mark {
    width: 116px !important;
    height: 38px !important;
    flex: 0 0 116px !important;
  }

  body .site-footer .brand [data-business-name] {
    width: 5.2em !important;
    height: 1.05em !important;
    flex: 0 0 auto !important;
    font-size: 1.07rem !important;
  }

  body .site-footer .footer-brand p {
    display: block !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: 33ch !important;
    max-inline-size: 33ch !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: .75rem !important;
    line-height: 1.42 !important;
    text-align: left !important;
  }

  body .site-footer .footer-grid > div:nth-child(3) {
    display: block !important;
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  body .site-footer .footer-grid > div:nth-child(4) {
    display: block !important;
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }

  body .site-footer .footer-title {
    margin: 0 0 7px !important;
    font-size: .76rem !important;
    line-height: 1.2 !important;
  }

  body .site-footer .footer-links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    min-width: 0 !important;
    font-size: .69rem !important;
    line-height: 1.33 !important;
  }

  body .site-footer .footer-grid > div:nth-child(4) .footer-links > a,
  body .site-footer .footer-grid > div:nth-child(4) .footer-links > span {
    min-width: 0 !important;
    max-width: 100% !important;
    padding-left: 22px !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  body .site-footer .footer-grid > div:nth-child(4) a[data-phone-link],
  body .site-footer .footer-grid > div:nth-child(4) a[data-whatsapp-link] {
    white-space: nowrap !important;
  }

  body .site-footer .footer-grid > div:nth-child(4) a[data-email-link] {
    font-size: .64rem !important;
    white-space: nowrap !important;
  }

  body .site-footer .footer-grid > div:nth-child(4) span[data-city] {
    white-space: normal !important;
  }

  body .site-footer .footer-grid > div:nth-child(4) .footer-links > a::before,
  body .site-footer .footer-grid > div:nth-child(4) .footer-links > span::before {
    width: 15px !important;
    height: 15px !important;
    background-size: 15px 15px !important;
  }

  body .site-footer .footer-grid::after {
    display: none !important;
  }

  body .footer-quick-links {
    width: calc(100% - 32px) !important;
    margin: 13px auto 0 !important;
    padding-top: 10px !important;
  }

  body .footer-quick-links__inner {
    width: min(100%, 174px) !important;
    margin-inline: auto !important;
  }

  body .footer-quick-link,
  body .footer-quick-link img {
    width: 29px !important;
    height: 29px !important;
  }

  body .site-footer .footer-bottom {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 9px auto 0 !important;
    padding: 8px 0 0 !important;
    font-size: .66rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body .site-footer .footer-bottom > span:last-child {
    display: none !important;
  }

  body .site-footer .footer-credit {
    gap: .28em;
  }
}
