:root {
  --bg-base: #f3f4f3;
  --bg-card: #ffffff;
  --bg-elevated: #ebece8;
  --accent: #eb7328;
  --accent-hover: #d95e16;
  --amber: #f8c21e;
  --accent-readable: #9f4310;
  --text-primary: #14181d;
  --text-muted: #5c646b;
  --text-hint: #6f767d;
  --border: rgba(20, 24, 29, 0.1);
  --border-hover: rgba(20, 24, 29, 0.2);
  --font: "Onest", sans-serif;
  --font-display: "Unbounded", "Onest", sans-serif;
  --nav-bg: rgba(255, 255, 255, 0.88);
  --field-bg: #f7f7f4;
  --hero-glow: rgba(235, 115, 40, 0.28);
  --hero-amber-glow: rgba(248, 194, 30, 0.16);
  --hero-text: #14181d;
  --hero-title: #10151b;
  --hero-muted: rgba(20, 24, 29, 0.74);
  --hero-chip-bg: rgba(255, 255, 255, 0.72);
  --hero-chip-border: rgba(20, 24, 29, 0.12);
  --hero-chip-text: rgba(20, 24, 29, 0.74);
  --hero-stat-bg: rgba(255, 255, 255, 0.66);
  --hero-stat-bg-hover: rgba(255, 255, 255, 0.86);
  --hero-stat-border: rgba(20, 24, 29, 0.1);
  --hero-stat-border-hover: rgba(20, 24, 29, 0.22);
  --hero-secondary-text: rgba(20, 24, 29, 0.72);
  --hero-secondary-text-hover: #14181d;
  --hero-secondary-border: rgba(20, 24, 29, 0.2);
  --hero-secondary-border-hover: rgba(20, 24, 29, 0.34);
  --hero-secondary-bg-hover: rgba(255, 255, 255, 0.72);
  --hero-form-bg: rgba(255, 255, 255, 0.9);
  --hero-form-border: rgba(20, 24, 29, 0.1);
  --hero-form-shadow: 0 34px 90px rgba(33, 42, 54, 0.16);
  --hero-accent-gradient: linear-gradient(100deg, #10151b, var(--accent) 48%, #f0a12d);
  --hero-background:
    linear-gradient(90deg, rgba(246, 244, 237, 0.97) 0%, rgba(246, 244, 237, 0.82) 45%, rgba(246, 244, 237, 0.28) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.14)),
    image-set(url("assets/hero-bg.webp") type("image/webp"), url("assets/hero-bg.jpg") type("image/jpeg")) center / cover no-repeat;
  --hero-before:
    radial-gradient(circle at 22% 18%, rgba(235, 115, 40, 0.2), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(243, 244, 243, 0.74) 100%);
  --hero-after: linear-gradient(180deg, transparent, rgba(243, 244, 243, 0.86));
  --card-shadow: 0 24px 70px rgba(33, 42, 54, 0.12);
  --button-text: #111418;
  --grid-line: rgba(20, 24, 29, 0.045);
  --color-background-primary: var(--bg-card);
  --color-border-tertiary: var(--border);
  --logo-ink: #061f36;
  --logo-accent: #ff6800;
  --logo-water: #168dd4;
  --logo-panel: rgba(255, 255, 255, 0.74);
  --logo-panel-strong: rgba(255, 255, 255, 0.94);
  --logo-border: rgba(6, 31, 54, 0.1);
  --logo-muted: #35485a;
  --logo-glow: rgba(255, 104, 0, 0.16);
  --scroll-hue: 0deg;
  --motion-glow: rgba(235, 115, 40, 0.18);
}

[data-theme="dark"] {
  --bg-base: #090b0d;
  --bg-card: #121417;
  --bg-elevated: #1b1f24;
  --accent: #eb7328;
  --accent-hover: #ff8a3d;
  --amber: #f8c21e;
  --accent-readable: #ff9a57;
  --text-primary: #f4f1ea;
  --text-muted: #a7a199;
  --text-hint: #8e8880;
  --border: rgba(244, 241, 234, 0.1);
  --border-hover: rgba(244, 241, 234, 0.22);
  --nav-bg: rgba(9, 11, 13, 0.86);
  --field-bg: #0d1013;
  --hero-glow: rgba(235, 115, 40, 0.24);
  --hero-amber-glow: rgba(248, 194, 30, 0.1);
  --hero-text: #f4f1ea;
  --hero-title: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.78);
  --hero-chip-bg: rgba(255, 255, 255, 0.09);
  --hero-chip-border: rgba(255, 255, 255, 0.18);
  --hero-chip-text: rgba(255, 255, 255, 0.78);
  --hero-stat-bg: rgba(255, 255, 255, 0.1);
  --hero-stat-bg-hover: rgba(255, 255, 255, 0.15);
  --hero-stat-border: rgba(255, 255, 255, 0.16);
  --hero-stat-border-hover: rgba(255, 255, 255, 0.34);
  --hero-secondary-text: rgba(255, 255, 255, 0.78);
  --hero-secondary-text-hover: #ffffff;
  --hero-secondary-border: rgba(255, 255, 255, 0.38);
  --hero-secondary-border-hover: rgba(255, 255, 255, 0.62);
  --hero-secondary-bg-hover: rgba(255, 255, 255, 0.08);
  --hero-form-bg: rgba(18, 20, 23, 0.88);
  --hero-form-border: rgba(255, 255, 255, 0.16);
  --hero-form-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  --hero-accent-gradient: linear-gradient(100deg, #ffe07a, var(--accent) 52%, #fff);
  --hero-background:
    linear-gradient(90deg, rgba(7, 10, 14, 0.9) 0%, rgba(7, 10, 14, 0.7) 44%, rgba(7, 10, 14, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 10, 14, 0.36), rgba(7, 10, 14, 0.06)),
    image-set(url("assets/hero-bg.webp") type("image/webp"), url("assets/hero-bg.jpg") type("image/jpeg")) center / cover no-repeat;
  --hero-before:
    radial-gradient(circle at 22% 18%, rgba(235, 115, 40, 0.28), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(7, 10, 14, 0.42) 100%);
  --hero-after: linear-gradient(180deg, transparent, rgba(7, 10, 14, 0.72));
  --card-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  --button-text: #111418;
  --grid-line: rgba(244, 241, 234, 0.035);
  --color-background-primary: var(--bg-card);
  --color-border-tertiary: var(--border);
  --logo-ink: #eaf3ff;
  --logo-accent: #ff7a1a;
  --logo-water: #54c7ff;
  --logo-panel: rgba(244, 241, 234, 0.055);
  --logo-panel-strong: rgba(244, 241, 234, 0.08);
  --logo-border: rgba(234, 243, 255, 0.14);
  --logo-muted: #aebdca;
  --logo-glow: rgba(255, 122, 26, 0.22);
  --motion-glow: rgba(255, 122, 26, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: var(--font);
  background: linear-gradient(180deg, var(--bg-base) 0%, color-mix(in srgb, var(--bg-card) 86%, var(--bg-base)) 48%, var(--bg-base) 100%);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}

button,
a {
  touch-action: manipulation;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

section {
  padding: 56px 0;
}

#services {
  padding-bottom: 52px;
}

#process {
  padding-top: 52px;
  padding-bottom: 36px;
}

#quiz {
  padding-top: 38px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-readable);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  filter: hue-rotate(var(--scroll-hue));
  transition: color 0.25s ease, filter 0.25s ease;
}

.section-head {
  max-width: 760px;
}

.section-head.centered {
  margin: 0 auto;
  text-align: center;
}

.section-head p {
  margin-top: 12px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #005fcc;
  color: #fff;
  font-weight: 800;
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-toast {
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 1000;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--text-primary);
  color: var(--bg-card);
  box-shadow: var(--card-shadow);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.site-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

.nav-inner {
  max-width: 1160px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.nav-logo.brand-logo {
  min-height: 50px;
  font-size: initial;
  letter-spacing: normal;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--logo-ink);
  isolation: isolate;
}

.brand-logo__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 42px;
  padding: 4px;
  border: 0.5px solid var(--logo-border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--logo-accent) 22%, transparent), transparent 34%),
    linear-gradient(145deg, var(--logo-panel-strong), var(--logo-panel));
  box-shadow: 0 12px 28px var(--logo-glow);
  overflow: hidden;
}

.brand-logo__mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 0.5px solid color-mix(in srgb, var(--logo-ink) 10%, transparent);
  border-radius: 10px;
  opacity: 0.7;
  pointer-events: none;
}

.brand-logo__svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-logo__stroke {
  fill: none;
  stroke-width: 7.5;
}

.brand-logo__stroke--ink {
  stroke: var(--logo-ink);
}

.brand-logo__stroke--accent {
  stroke: var(--logo-accent);
}

.brand-logo__fill--ink {
  fill: var(--logo-ink);
}

.brand-logo__fill--accent {
  fill: var(--logo-accent);
}

.brand-logo__fill--water {
  fill: var(--logo-water);
}

.brand-logo__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-logo__name {
  display: inline-flex;
  align-items: baseline;
  color: var(--logo-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.brand-logo__accent {
  color: var(--logo-accent);
}

.brand-logo__sub,
.brand-logo__services {
  color: var(--logo-muted);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo__sub {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.brand-logo__services {
  display: none;
  align-items: center;
  gap: 9px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.brand-logo__services span {
  color: var(--logo-accent);
  font-size: 0.72rem;
  line-height: 0;
}

.brand-logo--nav {
  transition: transform 0.2s, opacity 0.2s;
}

.brand-logo--nav:hover {
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-links a[aria-current="page"] {
  color: var(--accent-readable);
}

.nav-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--text-primary) 8%, transparent);
}

.lang-toggle button {
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.lang-toggle button:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.lang-toggle button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--accent), var(--amber));
  color: var(--button-text);
  box-shadow: 0 10px 26px var(--motion-glow);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  border: 0.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.theme-toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--bg-base);
  border: 0.5px solid var(--border);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--accent));
  transition: transform 0.22s ease;
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(20px);
}

.theme-toggle-text {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 86px 0 70px;
  color: var(--hero-text);
  background: var(--hero-background);
  transition: background 0.35s ease, color 0.25s ease;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-before);
  pointer-events: none;
  transition: background 0.35s ease;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  background: var(--hero-after);
  pointer-events: none;
  transition: background 0.35s ease;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 44px;
  align-items: center;
}

.hero-tag {
  width: fit-content;
  max-width: 100%;
  display: flex;
  margin-bottom: 18px;
  padding: 9px 14px;
  border: 0.5px solid var(--hero-chip-border);
  border-radius: 999px;
  background: var(--hero-chip-bg);
  color: var(--hero-chip-text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-live-copy {
  width: min(100%, 360px);
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 0.5px solid var(--hero-chip-border);
  border-radius: 999px;
  background: var(--hero-chip-bg);
  color: var(--hero-chip-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 52px rgba(235, 115, 40, 0.12);
  backdrop-filter: blur(14px);
  overflow: hidden;
  isolation: isolate;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(235, 115, 40, 0.58);
  animation: live-pulse 1.6s ease-out infinite;
}

[data-rotating-text],
[data-word-rotator] {
  display: inline-block;
  transition: opacity 0.22s ease, filter 0.22s ease;
}

[data-rotating-text] {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-text-switching {
  opacity: 0;
  filter: blur(4px);
}

@keyframes live-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(235, 115, 40, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(235, 115, 40, 0);
  }
}

.hero h1 {
  max-width: 720px;
  color: var(--hero-title);
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  line-height: 1.02;
  text-wrap: balance;
  transition: color 0.25s ease;
}

.hero-accent {
  color: transparent;
  background: var(--hero-accent-gradient);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: hue-rotate(var(--scroll-hue));
  animation: accent-flow 5.5s ease-in-out infinite;
}

@keyframes accent-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-sub {
  max-width: 620px;
  margin: 20px 0 28px;
  color: var(--hero-muted);
  font-size: 1.14rem;
  transition: color 0.25s ease;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0.5px solid color-mix(in srgb, var(--hero-secondary-border) 68%, transparent);
  border-radius: 8px;
  background: transparent;
  color: var(--hero-secondary-text);
  font-size: 0.86rem;
  font-weight: 400;
  box-shadow: none;
  opacity: 0.86;
  transition: color 0.2s, border-color 0.2s, background 0.2s, opacity 0.2s;
}

.hero-secondary-link:hover {
  color: var(--hero-secondary-text-hover);
  border-color: var(--hero-secondary-border-hover);
  background: var(--hero-secondary-bg-hover);
  opacity: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--button-text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(235, 115, 40, 0.26);
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 24px 68px rgba(235, 115, 40, 0.32);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  cursor: default;
  opacity: 0.75;
  transform: none;
}

.btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--text-primary);
  color: var(--bg-card);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-form:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(20, 24, 29, 0.2);
}

.btn-form:disabled {
  cursor: default;
  opacity: 0.75;
  transform: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: 8px;
  border: 0.5px solid var(--border-hover);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(240, 237, 230, 0.3);
  background: var(--bg-elevated);
}

.btn-ghost:disabled {
  color: var(--text-hint);
  cursor: default;
}

.contact-actions .btn-ghost {
  min-width: 174px;
}

.contact-max-button:disabled {
  border-color: var(--border-hover);
  background: transparent;
  color: var(--text-primary);
  opacity: 1;
}

.hero .btn-ghost {
  color: var(--hero-secondary-text);
  border-color: var(--hero-secondary-border);
  background: color-mix(in srgb, var(--hero-chip-bg) 60%, transparent);
}

.hero .btn-ghost:hover {
  border-color: var(--hero-secondary-border-hover);
  background: var(--hero-secondary-bg-hover);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin-top: 36px;
  padding-top: 0;
  border-top: 0;
}

.stat {
  padding: 16px 14px;
  border-radius: 18px;
  border: 0.5px solid var(--hero-stat-border);
  background: var(--hero-stat-bg);
  backdrop-filter: blur(14px);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.stat:hover,
.stat.is-counting {
  transform: translateY(-2px);
  border-color: var(--hero-stat-border-hover);
  background: var(--hero-stat-bg-hover);
}

.hero-visual {
  display: none;
}

.visual-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(200, 164, 93, 0.16), transparent 36%),
    linear-gradient(145deg, color-mix(in srgb, var(--bg-elevated) 70%, transparent), var(--bg-card));
  border: 0.5px solid var(--border-hover);
  box-shadow: var(--card-shadow), inset 0 0 70px rgba(200, 164, 93, 0.06);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 0.5px solid var(--border);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.09) 48%, transparent 56%),
    radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.08), transparent 24%);
  pointer-events: none;
}

.visual-glow {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: rgba(200, 164, 93, 0.22);
  filter: blur(60px);
}

.visual-frame svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform: rotate(-7deg);
}

.stat-num {
  display: block;
  color: var(--hero-title);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  filter: hue-rotate(var(--scroll-hue));
  transition: color 0.25s ease, filter 0.25s ease;
}

.stat-num.is-counting {
  color: transparent;
  background: linear-gradient(100deg, var(--accent), var(--amber), var(--accent));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: stat-count-glow 0.9s ease-in-out infinite alternate, stat-gradient-run 1.45s linear infinite;
}

@keyframes stat-count-glow {
  from {
    filter: drop-shadow(0 0 0 rgba(235, 115, 40, 0));
  }

  to {
    filter: drop-shadow(0 0 14px rgba(235, 115, 40, 0.34));
  }
}

@keyframes stat-gradient-run {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

.stat-lbl {
  display: block;
  margin-top: 4px;
  color: var(--hero-muted);
  font-size: 0.8rem;
}

.hero-form {
  background: var(--hero-form-bg);
  border: 0.5px solid var(--hero-form-border);
  border-radius: 24px;
  padding: 28px;
  color: var(--text-primary);
  box-shadow: var(--hero-form-shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(235, 115, 40, 0.14), transparent 42%);
  pointer-events: none;
}

.hero-form h2 {
  font-size: 1.35rem;
  margin-bottom: 22px;
  position: relative;
}

.hero-form label,
.quiz-result label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
}

.hero-form input,
.hero-form select,
.quiz-result input {
  min-height: 48px;
  width: 100%;
  border-radius: 10px;
  border: 0.5px solid var(--border);
  background: var(--field-bg);
  color: var(--text-primary);
  font-size: 16px;
  padding: 0 14px;
}

.hero-form input.input-error,
.quiz-result input.input-error,
.consent-field.input-error {
  border-color: #c9362c;
}

.hero-form select {
  color: var(--text-muted);
}

.hero-form input::placeholder,
.quiz-result input::placeholder {
  color: var(--text-hint);
}

.file-field {
  cursor: pointer;
}

.file-field .file-input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.file-drop {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 0.5px dashed var(--border-hover);
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 28%),
    color-mix(in srgb, var(--field-bg) 82%, transparent);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.file-drop::before {
  content: "+";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  color: var(--button-text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.file-field:hover .file-drop,
.file-field:focus-within .file-drop {
  border-color: var(--accent);
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 30%),
    color-mix(in srgb, var(--field-bg) 92%, var(--bg-card));
  box-shadow: 0 14px 34px var(--motion-glow);
  transform: translateY(-1px);
}

.file-field:focus-within .file-drop {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}

.file-hint {
  margin-top: 0;
  color: var(--text-hint);
  font-size: 0.74rem;
  line-height: 1.45;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
  position: relative;
}

.hero-form small,
.quiz-result small {
  display: block;
  margin-top: 12px;
  color: var(--text-hint);
  line-height: 1.55;
}

.field-error {
  min-height: 16px;
  color: #c9362c;
  font-size: 0.76rem;
  line-height: 1.35;
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 0.5px solid transparent;
  border-radius: 10px;
  background: color-mix(in srgb, var(--field-bg) 78%, transparent);
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consent-field a {
  color: var(--accent-readable);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-submit.is-loading {
  color: transparent;
  pointer-events: none;
}

.form-submit.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.quick-links {
  padding: 0;
  margin-top: -30px;
  position: relative;
  z-index: 5;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.quick-links a {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.quick-links a:hover {
  background: var(--bg-elevated);
  color: var(--accent-readable);
}

.metrics {
  padding-top: 52px;
  padding-bottom: 8px;
}

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

.metric {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  background:
    linear-gradient(135deg, rgba(235, 115, 40, 0.08), transparent 42%),
    var(--bg-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.metric::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.14) 48%, transparent 62%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.metric.is-visible::after {
  animation: metric-sweep 1.15s ease var(--reveal-delay, 0ms) both;
}

.metric:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow), 0 18px 54px var(--motion-glow);
}

@keyframes metric-sweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.metric strong {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--accent), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  filter: hue-rotate(var(--scroll-hue));
}

.metric-countdown,
.metric-countup,
.metric-word-rotator,
[data-countup-from] {
  font-family: var(--font-display);
  min-height: 1em;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.metric p {
  margin-top: 10px;
  font-size: 0.9rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  margin-top: 36px;
}

.service-card {
  --service-tone: var(--accent);
  --service-glow: color-mix(in srgb, var(--service-tone) 18%, transparent);
  isolation: isolate;
  overflow: hidden;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 96%, var(--bg-elevated)), var(--bg-card)),
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--service-tone) 18%, transparent), transparent 38%);
  border: 0.5px solid color-mix(in srgb, var(--service-tone) 18%, var(--border));
  border-radius: 22px;
  padding: 24px;
  position: relative;
  box-shadow: var(--card-shadow);
  cursor: default;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.service-card:nth-child(2) {
  --service-tone: #f8c21e;
}

.service-card:nth-child(3) {
  --service-tone: #54c7ff;
}

.service-card:nth-child(4) {
  --service-tone: #3fbf8f;
}

.service-card:nth-child(5) {
  --service-tone: #ff8a3d;
}

.service-card:nth-child(6) {
  --service-tone: #85c7ff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  z-index: 2;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--service-tone), var(--amber), transparent);
  opacity: 0.76;
  box-shadow: 0 0 18px var(--service-glow);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--service-tone) 16%, transparent), transparent 30%);
  background-size: 22px 22px, 22px 22px, auto;
  mask-image: linear-gradient(135deg, #000 0%, #000 54%, transparent 100%);
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 46%, var(--bg-card)), var(--bg-card)),
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--service-tone) 26%, transparent), transparent 42%);
  border-color: color-mix(in srgb, var(--service-tone) 52%, var(--border-hover));
  transform: translateY(-4px);
  box-shadow:
    var(--card-shadow),
    0 22px 68px var(--service-glow),
    0 0 0 1px color-mix(in srgb, var(--service-tone) 20%, transparent);
}

.service-card:hover .service-icon {
  color: var(--service-tone);
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 1px color-mix(in srgb, #fff 34%, transparent),
    0 16px 34px var(--service-glow);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--service-tone);
  margin-bottom: 18px;
  border: 0.5px solid color-mix(in srgb, var(--service-tone) 34%, var(--border));
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--service-tone) 24%, transparent), transparent 42%),
    linear-gradient(145deg, color-mix(in srgb, var(--bg-elevated) 84%, transparent), var(--bg-card));
  box-shadow: inset 0 1px color-mix(in srgb, #fff 24%, transparent), 0 12px 30px color-mix(in srgb, var(--text-primary) 9%, transparent);
  transition: color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--service-tone) 30%, transparent));
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.service-card p {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.62;
  margin-bottom: 18px;
}

.service-price {
  width: fit-content;
  margin-top: auto;
  padding: 8px 11px;
  border: 0.5px solid color-mix(in srgb, var(--service-tone) 38%, var(--border));
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--service-tone) 12%, var(--bg-card)), color-mix(in srgb, var(--bg-elevated) 82%, var(--bg-card)));
  color: var(--accent-readable);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px color-mix(in srgb, #fff 24%, transparent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 30px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 0.5px;
  background: var(--border);
}

.step {
  padding: 0 24px;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0.5px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-readable);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
}

.quiz-section {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  max-width: 680px;
  margin: 32px auto 0;
  box-shadow: var(--card-shadow);
}

.quiz-progress {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz-progress-fill {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--accent));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: -18px 0 28px;
}

.quiz-dots span {
  height: 5px;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.25s, transform 0.25s;
}

.quiz-dots span.active {
  background: linear-gradient(90deg, var(--amber), var(--accent));
  transform: scaleY(1.2);
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--text-hint);
  font-size: 0.78rem;
}

.quiz-meta strong {
  color: var(--text-muted);
}

.quiz-step,
.quiz-result {
  display: none;
}

.quiz-step.active,
.quiz-result.active {
  display: block;
}

.quiz-question {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.quiz-option {
  background: var(--field-bg);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.quiz-option:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.quiz-option.selected {
  border-color: var(--accent);
  color: var(--text-primary);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.quiz-result p {
  margin-bottom: 18px;
}

.quiz-final {
  padding: 22px;
  border: 0.5px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-card));
}

.quiz-final strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.quiz-final p {
  margin-bottom: 10px;
  color: var(--accent-readable);
  font-size: 1.2rem;
  font-weight: 800;
}

.quiz-final span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.filter-bar button {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-bar button:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border-hover);
}

.filter-bar button.active {
  color: var(--button-text);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(235, 115, 40, 0.2);
}

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

.work-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bg-card) 88%, var(--bg-elevated)), var(--bg-card)),
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 36%);
  box-shadow: var(--card-shadow), 0 1px 0 color-mix(in srgb, #fff 18%, transparent) inset;
  border: 0.5px solid color-mix(in srgb, var(--border) 88%, var(--accent));
  transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
  isolation: isolate;
}

.work-card::before,
.work-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.work-card::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.06), rgba(7, 10, 14, 0.58)),
    radial-gradient(circle at 74% 16%, rgba(235, 115, 40, 0.28), transparent 30%);
  mix-blend-mode: multiply;
  opacity: 0.72;
  transition: opacity 0.3s ease;
}

.work-card::after {
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--amber), transparent);
  opacity: 0.68;
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 38%, transparent);
}

.work-card.hidden {
  display: none;
}

.work-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.work-card picture {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(235, 115, 40, 0.08), rgba(248, 194, 30, 0.08));
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.92) contrast(1.08) brightness(0.86);
}

.work-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.14) brightness(0.72);
}

.work-card:hover,
.work-card:focus-within {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  box-shadow: var(--card-shadow), 0 24px 70px color-mix(in srgb, var(--accent) 18%, transparent);
}

.work-card:hover::before,
.work-card:focus-within::before {
  opacity: 0.94;
}

.work-card-info {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px 22px;
  background: linear-gradient(0deg, rgba(7, 10, 14, 0.96) 0%, rgba(7, 10, 14, 0.78) 56%, transparent 100%);
}

.work-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 4px;
}

.work-card-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.work-card-metrics {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s;
}

.work-card:hover .work-card-metrics,
.work-card:focus-within .work-card-metrics {
  opacity: 1;
  transform: translateY(0);
}

.work-card-metrics span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 10, 14, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  color: var(--text-muted);
  line-height: 1.6;
  box-shadow: var(--card-shadow);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.team-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: 28px;
  align-items: end;
}

.team-head-copy {
  max-width: 760px;
}

.team-scheme {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  border: 0.5px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bg-card) 92%, var(--bg-elevated)), var(--bg-card)),
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 38%);
  box-shadow: var(--card-shadow);
}

.team-scheme::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(135deg, #000, transparent 78%);
}

.team-scheme::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--amber), transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 48%, transparent);
}

.team-scheme-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-scheme-num {
  color: var(--accent-readable);
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.08em;
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 22%, transparent);
}

.team-scheme-title {
  max-width: 170px;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-scheme-line {
  width: 100%;
  height: 82px;
  margin: 12px 0 4px;
  color: var(--accent-readable);
  overflow: visible;
}

.team-scheme-line path,
.team-scheme-line circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 36%, transparent));
}

.team-scheme-line circle {
  fill: var(--bg-card);
  stroke: var(--amber);
  stroke-width: 2.4;
}

.team-scheme-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.team-scheme-nodes span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-scheme p {
  max-width: 280px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
  margin-top: 36px;
}

.team-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 0.5px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 96%, var(--bg-elevated)), var(--bg-card)),
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 38%);
  box-shadow: var(--card-shadow);
  transform: translateZ(0);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.team-card:hover,
.team-card:focus-within {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border-hover));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 42%, var(--bg-card)), var(--bg-card)),
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 42%);
  transform: translateY(-4px);
  box-shadow:
    0 26px 78px color-mix(in srgb, var(--text-primary) 16%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent),
    0 0 34px color-mix(in srgb, var(--accent) 12%, transparent);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  z-index: 3;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 84%, #fff), var(--amber), transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 48%, transparent);
  opacity: 0;
  transform: scaleX(0.32);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.team-card:hover::before,
.team-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
  box-shadow:
    0 0 18px color-mix(in srgb, var(--accent) 52%, transparent),
    0 0 34px color-mix(in srgb, var(--amber) 22%, transparent);
}

.team-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  opacity: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 32%),
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.1) 38%, transparent 56%);
  transform: translateX(-18%) skewX(-10deg);
  transition: opacity 0.28s ease, transform 0.45s ease;
  pointer-events: none;
}

.team-card:hover::after,
.team-card:focus-within::after {
  opacity: 1;
  transform: translateX(0) skewX(-10deg);
}

.team-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  min-height: 190px;
  overflow: hidden;
  background: #0f1215;
}

.team-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 8, 11, 0.1), rgba(5, 8, 11, 0.78)),
    linear-gradient(90deg, rgba(235, 115, 40, 0.24), transparent 52%);
  pointer-events: none;
}

.team-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  pointer-events: none;
}

.team-visual picture,
.team-visual img {
  width: 100%;
  height: 100%;
}

.team-visual img {
  min-height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.86) contrast(1.08) brightness(0.74);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.team-card:hover .team-visual img,
.team-card:focus-within .team-visual img {
  transform: scale(1.08);
  filter: saturate(0.98) contrast(1.12) brightness(0.82);
}

.team-kicker {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 7px 11px;
  border: 0.5px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(12, 14, 16, 0.58);
  color: #fff7ed;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.team-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-card) 88%, transparent));
  transition: background 0.28s ease;
}

.team-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 85% 18%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28%);
  background-size: 18px 18px, 18px 18px, auto;
  mask-image: linear-gradient(135deg, transparent 0%, #000 18%, #000 68%, transparent 100%);
  pointer-events: none;
}

.team-body > * {
  position: relative;
  z-index: 1;
}

.team-card:hover .team-body,
.team-card:focus-within .team-body {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent), color-mix(in srgb, var(--bg-card) 92%, transparent));
}

.team-portrait {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  width: 86px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--portrait-border, rgba(255, 255, 255, 0.32));
  border-radius: 26px;
  background:
    radial-gradient(circle at 28% 18%, var(--portrait-highlight, rgba(255, 255, 255, 0.16)), transparent 32%),
    linear-gradient(145deg, var(--portrait-bg-start, rgba(10, 13, 16, 0.96)), var(--portrait-bg-end, rgba(34, 40, 47, 0.9)));
  box-shadow: var(--portrait-shadow, 0 22px 48px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.22));
  color: #f6efe4;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.team-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.team-portrait::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--portrait-accent), transparent);
  box-shadow: 0 0 18px var(--portrait-glow);
}

.team-card:hover .team-portrait,
.team-card:focus-within .team-portrait {
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.5), 0 0 28px var(--portrait-glow), inset 0 1px rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.team-portrait svg {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 70px;
  color: var(--portrait-accent);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}

.team-portrait svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-portrait .face,
.team-portrait .shoulders {
  stroke: rgba(255, 247, 237, 0.9);
  stroke-width: 2.7;
}

.team-portrait .tool {
  stroke: var(--portrait-tool);
  stroke-width: 2.6;
}

.team-direction {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  min-width: 34px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 8, 11, 0.72);
  color: #fff7ed;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.team-specialty-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0.5px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(5, 8, 11, 0.66);
  color: var(--portrait-tool);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 10px 22px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.team-specialty-icon svg {
  width: 16px;
  height: 16px;
  color: currentColor;
  filter: none;
}

.team-specialty-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portrait-project {
  --portrait-accent: #85c7ff;
  --portrait-tool: #f8c21e;
  --portrait-glow: rgba(133, 199, 255, 0.36);
}

.portrait-electric {
  --portrait-accent: #61e2bf;
  --portrait-tool: #ff9a57;
  --portrait-glow: rgba(97, 226, 191, 0.34);
}

.portrait-systems {
  --portrait-accent: #f8c21e;
  --portrait-tool: #85c7ff;
  --portrait-glow: rgba(248, 194, 30, 0.34);
}

[data-theme="dark"] .team-portrait {
  --portrait-highlight: rgba(244, 241, 234, 0.08);
  --portrait-shadow: 0 24px 54px rgba(0, 0, 0, 0.58), inset 0 1px rgba(244, 241, 234, 0.14);
}

[data-theme="dark"] .team-portrait::before {
  opacity: 0.16;
}

[data-theme="dark"] .portrait-project {
  --portrait-accent: #5d9ed6;
  --portrait-tool: #d6a64a;
  --portrait-glow: rgba(93, 158, 214, 0.34);
  --portrait-border: rgba(145, 197, 255, 0.28);
  --portrait-bg-start: #071321;
  --portrait-bg-end: #102a46;
}

[data-theme="dark"] .portrait-electric {
  --portrait-accent: #c8d0d8;
  --portrait-tool: #ff9a57;
  --portrait-glow: rgba(200, 208, 216, 0.22);
  --portrait-border: rgba(244, 241, 234, 0.22);
  --portrait-bg-start: #101418;
  --portrait-bg-end: #242a31;
}

[data-theme="dark"] .portrait-systems {
  --portrait-accent: #c6812d;
  --portrait-tool: #f2b35f;
  --portrait-glow: rgba(198, 129, 45, 0.34);
  --portrait-border: rgba(238, 181, 90, 0.3);
  --portrait-bg-start: #1a1209;
  --portrait-bg-end: #3a2510;
}

.team-name {
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.team-stat {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 14px;
  border: 0.5px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--bg-card)), color-mix(in srgb, var(--bg-elevated) 70%, var(--bg-card))),
    radial-gradient(circle at 18% 24%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 40%);
  box-shadow: inset 0 1px color-mix(in srgb, #fff 30%, transparent);
  color: var(--text-primary);
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.team-stat::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--amber), transparent);
  opacity: 0.52;
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 34%, transparent);
}

.team-card:hover .team-stat,
.team-card:focus-within .team-stat {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 11%, var(--bg-card)), color-mix(in srgb, var(--bg-elevated) 80%, var(--bg-card))),
    radial-gradient(circle at 18% 24%, color-mix(in srgb, var(--amber) 18%, transparent), transparent 42%);
  box-shadow:
    inset 0 1px color-mix(in srgb, #fff 36%, transparent),
    0 14px 34px color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translateY(-1px);
}

.team-stat-code {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0.5px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #15191e, #262c33);
  color: #fff7ed;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.14);
}

.team-stat strong {
  color: var(--accent-readable);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 2.95rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-shadow: 0 0 0 transparent;
  transition: text-shadow 0.28s ease, color 0.28s ease;
}

.team-card:hover .team-stat strong,
.team-card:focus-within .team-stat strong {
  text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 34%, transparent);
}

.team-stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-stat small {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 0.5px solid var(--border);
  color: var(--text-hint);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card:hover .team-stat small,
.team-card:focus-within .team-stat small {
  border-top-color: color-mix(in srgb, var(--accent) 26%, var(--border));
  color: var(--accent-readable);
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 3.85em;
  margin-bottom: 12px;
  line-height: 1.5;
}

.team-circuit {
  margin-bottom: 14px;
  padding: 10px 12px 9px;
  border: 0.5px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 52%, transparent), transparent),
    radial-gradient(circle at 18% 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 36%);
}

.team-circuit svg {
  width: 100%;
  height: 32px;
  display: block;
  overflow: visible;
  color: var(--accent-readable);
}

.team-circuit path,
.team-circuit circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 30%, transparent));
}

.team-circuit circle {
  fill: var(--bg-card);
  stroke: var(--amber);
}

.team-circuit-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.team-circuit-labels span {
  color: var(--text-hint);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.team-card:hover .team-circuit,
.team-card:focus-within .team-circuit {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bg-elevated) 64%, transparent), transparent),
    radial-gradient(circle at 18% 50%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 38%);
}

.team-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 32px;
  margin-bottom: 16px;
}

.team-tags > span {
  min-width: 0;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 8px;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
  color: var(--text-hint);
  font-size: clamp(0.58rem, 0.67vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  transition: border-color 0.28s ease, color 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

.team-tags svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: var(--accent-readable);
  opacity: 0.86;
  transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.team-tags svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-card:hover .team-tags > span,
.team-card:focus-within .team-tags > span {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-elevated));
  color: var(--text-primary);
  transform: translateY(-1px);
}

.team-card:hover .team-tags svg,
.team-card:focus-within .team-tags svg {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.08);
}

.team-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  min-height: 58px;
  overflow: hidden;
  padding: 8px 14px 8px 8px;
  border: 0.5px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--bg-card)), color-mix(in srgb, var(--bg-elevated) 88%, var(--bg-card))),
    radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--amber) 18%, transparent), transparent 38%);
  box-shadow: inset 0 1px color-mix(in srgb, #ffffff 32%, transparent);
  color: var(--text-primary);
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.team-badge::after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -38%;
  width: 34%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(18deg);
  transition: left 0.5s ease, opacity 0.28s ease;
  pointer-events: none;
}

.team-card:hover .team-badge,
.team-card:focus-within .team-badge {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--bg-card)), color-mix(in srgb, var(--bg-elevated) 92%, var(--bg-card))),
    radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--amber) 24%, transparent), transparent 42%);
  box-shadow:
    inset 0 1px color-mix(in srgb, #ffffff 38%, transparent),
    0 16px 36px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-1px);
}

.team-card:hover .team-badge::after,
.team-card:focus-within .team-badge::after {
  left: 104%;
  opacity: 1;
}

.badge-mark {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(145deg, #15191e, #262c33);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.16);
  color: #fff7ed;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.badge-mark::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--amber), transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 55%, transparent);
}

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

.badge-copy strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.badge-copy small {
  color: var(--text-hint);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-card:hover .badge-copy small,
.team-card:focus-within .badge-copy small {
  color: var(--accent-readable);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 16px;
  margin-top: 36px;
}

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow), 0 18px 54px var(--motion-glow);
}

.review-stars {
  width: fit-content;
  color: transparent;
  background: linear-gradient(90deg, var(--amber), var(--accent), var(--amber));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 0.875rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
  animation: stars-flow 3.4s linear infinite;
}

@keyframes stars-flow {
  to {
    background-position: 220% 50%;
  }
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  min-height: 5.95em;
  margin-bottom: 16px;
}

.review-author {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 14px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--accent) 16%, var(--bg-elevated));
  color: var(--accent-readable);
  font-size: 0.78rem;
  font-weight: 800;
}

.review-head time,
.review-source {
  display: block;
  color: var(--text-hint);
  font-size: 0.76rem;
  line-height: 1.5;
}

.review-source {
  padding-top: 12px;
  border-top: 0.5px solid var(--border);
}

.review-source span {
  color: var(--amber);
  margin-right: 6px;
}

.faq-list {
  max-width: 820px;
  margin: 36px auto 0;
  border-top: 0.5px solid var(--border);
}

.faq-list details {
  border-bottom: 0.5px solid var(--border);
}

.faq-list summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-readable);
  font-size: 1.4rem;
}

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

.faq-list p {
  padding-bottom: 18px;
  font-size: 0.92rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
}

.contact-panel p {
  max-width: 640px;
  margin-top: 12px;
}

.contact-details {
  margin-top: 14px;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.7;
}

.contact-details a {
  color: var(--accent-readable);
  font-weight: 700;
}

footer {
  background: var(--bg-card);
  border-top: 0.5px solid var(--border);
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo.brand-logo {
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.brand-logo--footer .brand-logo__mark {
  width: 86px;
  height: 70px;
  padding: 6px;
  border-radius: 20px;
}

.brand-logo--footer .brand-logo__name {
  font-size: 1.45rem;
}

.brand-logo--footer .brand-logo__sub {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}

.brand-logo--footer .brand-logo__services {
  display: inline-flex;
  margin-top: 8px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-hint);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-hint);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-links svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--accent);
}

.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-hint);
}

.floating-messengers {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.floating-messenger {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 18px;
  border: 0.5px solid var(--border-hover);
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-card) 86%, transparent);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  cursor: pointer;
  overflow: visible;
  pointer-events: auto;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.floating-messenger::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 58%);
  pointer-events: none;
}

.floating-messenger:hover,
.floating-messenger:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border-hover));
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.28),
    0 0 0 5px rgba(232, 89, 60, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.floating-messenger svg {
  width: 25px;
  height: 25px;
  position: relative;
  z-index: 1;
  fill: currentColor;
}

.floating-messenger--telegram {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(145deg, #2ab3ee, #167ac6);
}

.floating-messenger--telegram:hover,
.floating-messenger--telegram:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 26px 62px rgba(22, 122, 198, 0.34),
    0 0 0 5px rgba(42, 179, 238, 0.14);
}

.floating-messenger--max {
  color: var(--text-primary);
  padding: 5px;
  border-color: rgba(255, 255, 255, 0.16);
  background: color-mix(in srgb, var(--bg-card) 72%, transparent);
}

.floating-messenger--max.is-disabled {
  cursor: not-allowed;
  filter: saturate(0.76);
  opacity: 0.82;
}

.floating-messenger--max.is-disabled:hover {
  transform: none;
  border-color: var(--border-hover);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.floating-messenger__max-logo {
  width: 46px;
  height: 46px;
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 15px;
  filter: drop-shadow(0 10px 18px rgba(49, 85, 231, 0.26));
}

.floating-messenger__tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translate(8px, -50%);
  padding: 8px 10px;
  border-radius: 10px;
  border: 0.5px solid var(--border);
  color: var(--text-primary);
  background: var(--bg-card);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.floating-messenger:hover .floating-messenger__tooltip,
.floating-messenger:focus-visible .floating-messenger__tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px max(14px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  border-top: 0.5px solid var(--color-border-tertiary);
  background: var(--color-background-primary);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateY(130%);
  transition: transform 0.28s ease;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-phone,
.sticky-estimate {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.sticky-phone {
  flex: 1 1 auto;
  gap: 8px;
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.sticky-estimate {
  flex: 0 0 auto;
  padding: 0 16px;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.55s ease,
    filter 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.work-card.reveal.is-visible:hover,
.work-card.reveal.is-visible:focus-within {
  transform: translateY(-6px) scale(1.01);
}

.team-card.reveal {
  transition:
    opacity 0.5s ease,
    filter 0.5s ease,
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.team-card.reveal.is-visible:hover,
.team-card.reveal.is-visible:focus-within {
  transform: translateY(-4px);
}

@media (max-width: 1120px) {
  .nav-inner {
    gap: 14px;
  }

  .nav-logo {
    order: 1;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    order: 4;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 18px;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    border-bottom: 0.5px solid var(--border);
    box-shadow: var(--card-shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 12px 0;
  }

  .nav-phone {
    margin-left: auto;
  }
}

@media (max-width: 960px) {

  .hero-inner,
  .guarantee-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    order: 2;
  }

  .visual-frame {
    width: min(100%, 440px);
  }

  .hero-form {
    order: 3;
  }

  .metrics-grid,
  .team-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .team-head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .team-scheme {
    min-height: auto;
  }

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 960px) and (min-width: 641px) {
  .team-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) 1fr;
  }

  .team-visual {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .team-body {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 50px 0;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 52px;
  }

  .hero-visual {
    display: none;
  }

  .visual-frame {
    width: min(100%, 380px);
    aspect-ratio: 16 / 10;
    border-radius: 26px;
  }

  .visual-frame::before {
    inset: 12px;
    border-radius: 20px;
  }

  .visual-frame svg {
    transform: rotate(-7deg) scale(0.82);
  }

  .hero-sub {
    margin: 20px 0 28px;
    font-size: 0.98rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
    padding-top: 0;
    border-top: 0;
  }

  .stat {
    min-width: 0;
    padding: 14px 10px;
    border: 0.5px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
  }

  .stat-num {
    font-size: 1.35rem;
  }

  .stat-lbl {
    font-size: 0.68rem;
    line-height: 1.35;
  }

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

  .team-scheme {
    padding: 18px;
    border-radius: 20px;
  }

  .team-scheme-line {
    height: 68px;
    margin-top: 8px;
  }

  .btn-primary,
  .btn-ghost,
  .hero-secondary-link {
    width: 100%;
  }

  .hero-secondary-link {
    justify-content: center;
  }

  .services-grid,
  .quiz-options {
    grid-template-columns: 1fr;
  }

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

  .quick-links a {
    min-height: 64px;
    padding: 14px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-form,
  .quiz-section {
    border-radius: 20px;
    padding: 24px 20px;
  }

  .filter-bar {
    flex-wrap: wrap;
    overflow-x: visible;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .filter-bar button {
    flex: 1 1 auto;
  }

  .quiz-meta,
  .quiz-controls,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
  }

  .quiz-controls .btn-primary,
  .quiz-controls .btn-ghost,
  .contact-actions .btn-primary,
  .contact-actions .btn-ghost {
    width: 100%;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .floating-messengers {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .has-mobile-cta .floating-messengers {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .floating-messenger {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .floating-messenger__tooltip {
    display: none;
  }
}

@media (max-width: 640px) {
  .team-grid {
    gap: 12px;
    margin-top: 28px;
  }

  .team-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    border-radius: 20px;
  }

  .team-card:hover,
  .team-card:focus-within {
    transform: translateY(-4px);
  }

  .team-card::before {
    left: 14px;
    right: 14px;
  }

  .team-visual {
    align-self: start;
    width: 58px;
    height: 74px;
    min-height: 74px;
    margin: 14px 0 0 14px;
    aspect-ratio: auto;
    border: 0.5px solid var(--border);
    border-radius: 18px;
  }

  .team-visual picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .team-visual img {
    transform: scale(1.04);
    filter: saturate(0.9) contrast(1.06) brightness(0.82);
  }

  .team-visual::before {
    background:
      linear-gradient(180deg, rgba(5, 8, 11, 0.2), rgba(5, 8, 11, 0.86)),
      linear-gradient(90deg, rgba(235, 115, 40, 0.2), transparent 70%);
  }

  .team-visual::after {
    opacity: 0.22;
    background-size: 24px 24px;
  }

  .team-body {
    padding: 14px 14px 14px 8px;
  }

  .team-portrait {
    display: none;
  }

  .team-kicker {
    display: none;
  }

  .team-name {
    margin-bottom: 6px;
    font-size: 1.02rem;
  }

  .team-stat {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 7px;
    row-gap: 0;
    margin-bottom: 8px;
    padding: 7px 8px;
    border-radius: 13px;
  }

  .team-stat-code {
    display: none;
  }

  .team-stat strong {
    font-size: 1.48rem;
  }

  .team-stat-label {
    font-size: 0.62rem;
  }

  .team-stat small {
    display: none;
  }

  .team-role {
    margin-bottom: 8px;
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .team-circuit {
    display: none;
  }

  .team-tags {
    display: none;
  }

  .team-badge {
    min-height: 44px;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border-radius: 16px;
  }

  .badge-mark {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: 0.64rem;
  }

  .badge-copy strong {
    font-size: 0.78rem;
  }

  .badge-copy small {
    font-size: 0.62rem;
  }
}

@media (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .nav {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .nav-inner {
    gap: 6px;
  }

  .brand-logo--nav {
    gap: 8px;
  }

  .brand-logo--nav .brand-logo__mark {
    width: 36px;
    height: 32px;
    border-radius: 12px;
  }

  .brand-logo--nav .brand-logo__name {
    font-size: 0.76rem;
  }

  .brand-logo--nav .brand-logo__sub {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    gap: 6px;
  }

  .theme-toggle {
    min-height: 36px;
    padding: 4px;
  }

  .theme-toggle-track {
    width: 38px;
    height: 22px;
  }

  .theme-toggle-thumb {
    width: 16px;
    height: 16px;
  }

  [data-theme="light"] .theme-toggle-thumb {
    transform: translateX(16px);
  }

  .lang-toggle {
    gap: 2px;
    padding: 3px;
  }

  .lang-toggle button {
    min-width: 30px;
    min-height: 30px;
    padding: 0 6px;
    font-size: 0.66rem;
  }

  .nav-toggle {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .theme-toggle-text {
    display: none;
  }

  .hero-tag {
    font-size: 0.68rem;
    line-height: 1.6;
  }

  .hero-live-copy {
    width: 100%;
    min-height: 36px;
    font-size: 0.72rem;
  }

  .hero-form h2 {
    font-size: 1.18rem;
  }

  .hero-inner,
  .metrics-grid,
  .services-grid,
  .process-steps,
  .quiz-options,
  .works-grid,
  .team-grid,
  .reviews-grid,
  .guarantee-grid,
  .contact-panel,
  .footer-grid,
  .quick-links-grid {
    min-width: 0;
  }

  .works-grid,
  .process-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo--footer {
    gap: 12px;
  }

  .brand-logo--footer .brand-logo__mark {
    width: 74px;
    height: 60px;
    border-radius: 18px;
  }

  .brand-logo--footer .brand-logo__name {
    font-size: 1.18rem;
  }

  .brand-logo--footer .brand-logo__sub {
    font-size: 0.56rem;
    letter-spacing: 0.13em;
  }

  .brand-logo--footer .brand-logo__services {
    gap: 7px;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .team-scheme-top {
    align-items: flex-start;
  }

  .team-scheme-title {
    max-width: 150px;
    font-size: 0.78rem;
  }

  .team-scheme-nodes {
    gap: 6px;
  }

  .team-scheme-nodes span {
    min-height: 32px;
    font-size: 0.66rem;
  }

  .hero-form,
  .contact-panel {
    padding: 24px;
  }

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

  .filter-bar button {
    width: 100%;
    justify-content: center;
  }

  .mobile-sticky-cta {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .sticky-phone span:last-child {
    font-size: 0.76rem;
  }
}

@media (max-width: 360px) {
  .nav-logo.brand-logo {
    font-size: initial;
  }

  .brand-logo--nav .brand-logo__mark {
    width: 34px;
    height: 30px;
  }

  .brand-logo--nav .brand-logo__name {
    font-size: 0.72rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .visual-frame {
    aspect-ratio: 16 / 11;
  }

  .hero-form,
  .contact-panel,
  .quiz-section {
    padding: 20px;
  }
}

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

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
