@font-face {
  font-family: "Segoe UI";
  src:
    url("fonts/SegoeUI.woff2") format("woff2"),
    url("fonts/SegoeUI.woff") format("woff"),
    url("fonts/SegoeUI.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Segoe UI";
  src:
    url("fonts/SegoeUI-Light.woff2") format("woff2"),
    url("fonts/SegoeUI-Light.woff") format("woff"),
    url("fonts/SegoeUI-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Segoe UI";
  src:
    url("fonts/SegoeUI-SemiBold.woff2") format("woff2"),
    url("fonts/SegoeUI-SemiBold.woff") format("woff"),
    url("fonts/SegoeUI-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Segoe UI";
  src:
    url("fonts/SegoeUI-Bold.woff2") format("woff2"),
    url("fonts/SegoeUI-Bold.woff") format("woff"),
    url("fonts/SegoeUI-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Trebuchet MS Local";
  src:
    url("fonts/trebuchet_ms.woff2") format("woff2"),
    url("fonts/trebuchet_ms.woff") format("woff"),
    url("fonts/trebuchet_ms.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Aptos Narrow Local";
  src: url("fonts/aptos-narrow.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0a111d;
  --bg-soft: #13233a;
  --panel: rgba(12, 19, 32, 0.72);
  --panel-border: rgba(177, 198, 228, 0.18);
  --text: #f2f4f8;
  --muted: #b6c2d4;
  --accent: #ae1f2c;
  --accent-soft: #c92b39;
  --glow: rgba(71, 142, 255, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", "Trebuchet MS Local", sans-serif;
  color: var(--text);
  background: #08111d;
}

a[href^="tel"],
a[href^="tel"]:visited,
a[x-apple-data-detectors],
a[x-apple-data-detectors]:visited {
  color: inherit;
  text-decoration: inherit;
  -webkit-text-fill-color: currentColor;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 26%, rgba(174, 31, 44, 0.18), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(46, 79, 132, 0.22), transparent 20%),
    radial-gradient(circle at 84% 72%, rgba(174, 31, 44, 0.28), transparent 24%),
    linear-gradient(135deg, #07111f 0%, #0d1828 45%, #08111d 100%);
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
}

.page-shell,
.hero-shell {
  min-height: 100vh;
  width: 100%;
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 720px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 21, 0.18) 0%, rgba(6, 12, 21, 0.1) 48%, rgba(6, 12, 21, 0) 100%);
  pointer-events: none;
}

.topbar,
.hero__content,
.hero__cards {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px 22px;
  border-bottom: 1px solid rgba(173, 194, 219, 0.12);
}

.topbar__brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 52px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(189, 208, 235, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(189, 208, 235, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  color: inherit;
  text-decoration: none;
}

.brand__name {
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  line-height: 0.95;
  letter-spacing: 0.14em;
  color: var(--text);
}

.brand__sub {
  font-family: "Segoe UI", sans-serif;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.menu-open {
  overflow: hidden;
}

body.quiz-open {
  overflow: hidden;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.nav--header {
  flex: 1 1 auto;
  min-width: 0;
}

.nav a,
.topbar__cta,
.button {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav a {
  font-family: "Segoe UI", sans-serif;
  color: rgba(229, 235, 244, 0.82);
  text-decoration: none;
  font-size: 0.96rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.menu-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.68);
  backdrop-filter: blur(10px);
}

.menu-modal__dialog {
  position: relative;
  width: min(460px, calc(100vw - 32px));
  min-height: 100vh;
  padding: 28px 24px 32px;
  border-right: 1px solid rgba(189, 208, 235, 0.14);
  background:
    radial-gradient(circle at 12% 18%, rgba(174, 31, 44, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(12, 20, 34, 0.97) 0%, rgba(7, 12, 21, 0.98) 100%);
  box-shadow: 32px 0 72px rgba(0, 0, 0, 0.28);
  transform: translateX(-18px);
  transition: transform 220ms ease;
}

.menu-modal.is-open .menu-modal__dialog {
  transform: translateX(0);
}

.menu-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.menu-modal__label {
  margin: 0;
  color: rgba(189, 208, 235, 0.62);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-modal__close {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(189, 208, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.menu-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  border-radius: 999px;
  background: #ffffff;
}

.menu-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-modal__nav {
  display: grid;
  gap: 8px;
}

.menu-modal__nav a,
.menu-modal__cta {
  color: #ffffff;
  text-decoration: none;
}

.menu-modal__nav a {
  padding: 16px 18px;
  border: 1px solid rgba(189, 208, 235, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1;
  text-transform: uppercase;
}

.menu-modal__foot {
  margin-top: 28px;
}

.menu-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  box-shadow: 0 18px 36px rgba(174, 31, 44, 0.24);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.quiz-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quiz-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.72);
  backdrop-filter: blur(10px);
}

.quiz-modal__dialog {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 28px 28px 30px;
  border: 1px solid rgba(189, 208, 235, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(174, 31, 44, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(12, 20, 34, 0.96) 0%, rgba(7, 12, 21, 0.98) 100%);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.34);
}

.quiz-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.quiz-modal__label {
  margin: 0 0 10px;
  color: rgba(189, 208, 235, 0.62);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quiz-modal__title {
  margin: 0;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.quiz-modal__close {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(189, 208, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.quiz-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  border-radius: 999px;
  background: #ffffff;
}

.quiz-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.quiz-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.quiz-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(189, 208, 235, 0.16);
  border-radius: 999px;
  color: rgba(228, 234, 243, 0.7);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.quiz-step.is-active {
  border-color: rgba(174, 31, 44, 0.88);
  background: rgba(174, 31, 44, 0.16);
  color: #ffffff;
}

.quiz-screen {
  display: none;
}

.quiz-screen.is-active {
  display: block;
}

.quiz-screen h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.06;
  text-transform: uppercase;
}

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

.quiz-option {
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(189, 208, 235, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.quiz-option.is-selected {
  border-color: rgba(174, 31, 44, 0.74);
  background: linear-gradient(135deg, rgba(174, 31, 44, 0.18) 0%, rgba(174, 31, 44, 0.06) 100%);
}

.quiz-field {
  display: grid;
  gap: 10px;
}

.quiz-field + .quiz-field {
  margin-top: 14px;
}

.quiz-field span {
  color: rgba(228, 234, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.quiz-field textarea,
.quiz-field input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(189, 208, 235, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
}

.quiz-field textarea {
  min-height: 136px;
  resize: vertical;
}

.quiz-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  color: rgba(228, 234, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
}

.quiz-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.quiz-consent a,
.legal-page a,
.cookie-banner a {
  color: #f4aeb4;
  text-underline-offset: 3px;
}

.quiz-consent a:hover,
.quiz-consent a:focus-visible,
.legal-page a:hover,
.legal-page a:focus-visible,
.cookie-banner a:hover,
.cookie-banner a:focus-visible {
  color: #ffffff;
}

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

.quiz-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.quiz-button--primary {
  border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(174, 31, 44, 0.24);
}

.quiz-button--ghost {
  border: 1px solid rgba(189, 208, 235, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.quiz-error {
  min-height: 22px;
  margin: 16px 0 0;
  color: #ffb7bd;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
}

.quiz-success {
  margin: 0;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.topbar__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-family: "Segoe UI", sans-serif;
}

.topbar__cta {
  min-height: 50px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(174, 31, 44, 0.28);
}

.topbar__cta:hover,
.topbar__cta:focus-visible,
.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(174, 31, 44, 0.38);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  gap: 20px;
  align-items: start;
  padding: 0px 48px 18px;
}

.hero__content--compact {
  min-height: clamp(180px, 18vh, 240px);
  align-content: end;
}

.hero__copy {
  max-width: 820px;
  width: 100%;
  padding-top: 28px;
}

.hero__eyebrow {
  margin: 0 0 20px;
  max-width: 640px;
  color: var(--muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

h1 {
  margin: 0;
  width: 100%;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__lead {
  margin: 28px 0 0;
  max-width: 570px;
  color: rgba(235, 240, 246, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  min-height: 58px;
  padding: 0 28px;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(174, 31, 44, 0.28);
}

.button--ghost {
  color: #edf2fa;
  border: 1px solid rgba(189, 208, 235, 0.22);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(189, 208, 235, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 48px 34px;
}

.info-card {
  position: relative;
  padding: 24px 24px 28px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(174, 31, 44, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(29, 41, 63, 0.7) 0%, rgba(13, 21, 34, 0.7) 100%);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.info-card__kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  color: #dbe8fb;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.info-card h2 {
  margin: 0 0 10px;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.info-card p {
  margin: 0;
  color: rgba(224, 232, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
}

.eligibility {
  position: relative;
  padding: 70px 0 110px;
}

.eligibility::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 16, 29, 0) 0%, rgba(9, 16, 29, 0.07) 22%, rgba(9, 16, 29, 0.1) 62%, rgba(9, 16, 29, 0) 100%);
  pointer-events: none;
}

.eligibility__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.eligibility__head {
  max-width: 880px;
  margin-bottom: 34px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eligibility h2 {
  margin: 0;
  max-width: 980px;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.eligibility__intro {
  margin: 18px 0 0;
  max-width: 760px;
  color: rgba(225, 232, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.eligibility-item {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 18px 22px;
  border-left: 2px solid rgba(174, 31, 44, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(174, 31, 44, 0.3) 0%, rgba(174, 31, 44, 0.18) 18%, rgba(174, 31, 44, 0.08) 34%, rgba(174, 31, 44, 0.03) 52%, rgba(174, 31, 44, 0) 72%);
}

.eligibility-item__mark {
  display: none;
}

.eligibility-item p {
  margin: 0;
  color: rgba(230, 236, 245, 0.88);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
}

.eligibility__note {
  margin: 28px 0 0;
  max-width: 880px;
  color: #f1f4f8;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.12rem;
  line-height: 1.7;
}

.writeoff {
  position: relative;
  padding: 0 0 110px;
}

.writeoff__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.writeoff__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.writeoff__head h2 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.08;
  text-transform: uppercase;
}

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

.writeoff-tile {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-left: 2px solid var(--accent);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(21, 31, 48, 0.78) 0%, rgba(11, 19, 31, 0.78) 100%);
  color: rgba(236, 240, 246, 0.92);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
}

.writeoff-tile__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.writeoff-tile span {
  display: block;
}

.writeoff__note {
  margin: 22px 0 0;
  max-width: 860px;
  color: rgba(235, 239, 245, 0.92);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.writeoff__note strong {
  color: #ffffff;
}

.stages {
  position: relative;
  padding: 0 0 120px;
}

.stages__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.stages__head {
  max-width: 760px;
  margin-bottom: 30px;
}

.stages__head h2 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.stages__list {
  display: grid;
  gap: 0;
}

.stage-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(189, 208, 235, 0.12);
}

.stage-row__num {
  color: var(--accent);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.stage-row p {
  margin: 0;
  color: rgba(235, 239, 245, 0.92);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.55;
}

.stages__note {
  margin: 24px 0 0;
  max-width: 780px;
  color: rgba(235, 239, 245, 0.92);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.results {
  position: relative;
  padding: 0 0 48px;
}

.results--page {
  padding-top: 34px;
}

.services-page {
  position: relative;
  padding: 34px 0 56px;
}

.services-page__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.services-page__head {
  max-width: 880px;
  margin-bottom: 30px;
}

.services-page__head h1 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.services-page__lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(228, 234, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.service-table-card {
  padding: 26px 28px 28px;
  border: 1px solid rgba(189, 208, 235, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 25, 40, 0.8) 0%, rgba(9, 15, 26, 0.62) 100%);
}

.service-table-card__head {
  margin-bottom: 20px;
}

.service-table-card__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-table-card__head h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.service-table {
  display: grid;
}

.service-table__row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(189, 208, 235, 0.12);
}

.service-table__row--head {
  padding-top: 0;
  border-top: 0;
}

.service-table__row--head span {
  color: rgba(189, 208, 235, 0.62);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-table__row span[role="cell"] {
  color: rgba(228, 234, 243, 0.86);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-table__row span[role="cell"]:first-child {
  color: #ffffff;
  font-weight: 600;
}

.about-page {
  position: relative;
  padding: 34px 0 56px;
}

.about-page__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.about-page__hero {
  max-width: 900px;
  margin-bottom: 30px;
}

.about-page__hero h1 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-page__lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(228, 234, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.about-card {
  padding: 26px 28px 28px;
  border: 1px solid rgba(189, 208, 235, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 25, 40, 0.8) 0%, rgba(9, 15, 26, 0.62) 100%);
}

.about-card--wide {
  grid-column: span 2;
}

.about-card h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.about-card p,
.about-page__note {
  margin: 0;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.about-card p + p {
  margin-top: 14px;
}

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

.about-list li {
  position: relative;
  padding: 0 0 0 18px;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.about-list li + li {
  margin-top: 10px;
}

.about-list li::before {
  content: "";
  position: absolute;
  top: 0.74rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.about-offices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.about-offices span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(189, 208, 235, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.94rem;
}

.contacts-page {
  position: relative;
  padding: 34px 0 48px;
}

.contacts-page__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.contacts-page__hero {
  max-width: 840px;
  margin-bottom: 30px;
}

.contacts-page__hero h1 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contacts-page__lead {
  max-width: 740px;
  margin: 22px 0 0;
  color: rgba(228, 234, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
}

.contacts-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-bottom: 18px;
}

.contact-card {
  padding: 26px 28px 28px;
  border: 1px solid rgba(189, 208, 235, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 25, 40, 0.8) 0%, rgba(9, 15, 26, 0.62) 100%);
}

.contact-card__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.contact-card__phone {
  display: inline-block;
  margin-top: 18px;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1;
  text-decoration: none;
}

.contact-card__extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.contact-card__extra a,
.contact-card__links a,
.contact-card__links span {
  color: rgba(228, 234, 243, 0.9);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
  text-decoration: none;
}

.contact-card__text {
  margin: 12px 0 0;
  color: rgba(228, 234, 243, 0.82);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-card__links a,
.contact-card__links span {
  padding: 10px 14px;
  border: 1px solid rgba(189, 208, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.messenger-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.messenger-badge--max {
  color: #f8f5ff;
  border-color: rgba(156, 104, 255, 0.54);
  background:
    linear-gradient(135deg, rgba(90, 36, 218, 0.92) 0%, rgba(134, 63, 240, 0.88) 54%, rgba(185, 99, 255, 0.74) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 24px rgba(118, 56, 255, 0.24);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contacts-cities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contacts-city {
  padding: 18px 22px 20px;
  border: 1px solid rgba(189, 208, 235, 0.1);
  border-radius: 24px;
  background: rgba(11, 17, 29, 0.34);
}

.contacts-city__name {
  margin: 0 0 10px;
  color: rgba(189, 208, 235, 0.66);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contacts-city a {
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.04;
  text-decoration: none;
}

.contact-card__phone:hover,
.contact-card__phone:focus-visible,
.contact-card__extra a:hover,
.contact-card__extra a:focus-visible,
.contact-card__links a:hover,
.contact-card__links a:focus-visible,
.contacts-city a:hover,
.contacts-city a:focus-visible {
  text-decoration: underline;
}

.results__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.results__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.results__head h2 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.02;
  text-transform: uppercase;
}

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

.result-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border: 1px solid rgba(189, 208, 235, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 26, 41, 0.88) 0%, rgba(9, 15, 26, 0.72) 100%);
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 30px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(174, 31, 44, 0.88);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(174, 31, 44, 0.08);
}

.result-card::after {
  content: "";
  position: absolute;
  top: 37px;
  left: 41px;
  width: 8px;
  height: 14px;
  border-right: 2px solid rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid rgba(255, 255, 255, 0.96);
  transform: rotate(45deg);
}

.result-card__label {
  margin: 0;
  padding-left: 56px;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.result-card__amount {
  margin: 38px 0 0;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.result-card__meta {
  margin-top: 28px;
}

.result-card__meta span {
  display: block;
  margin-bottom: 6px;
  color: rgba(189, 208, 235, 0.66);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.88rem;
  line-height: 1.3;
}

.result-card__meta strong {
  color: rgba(228, 234, 243, 0.92);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.55;
}

.result-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  color: var(--accent-soft);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.result-card__link:hover,
.result-card__link:focus-visible {
  text-decoration: underline;
}

.metrics {
  position: relative;
  padding: 26px 0 34px;
}

.metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 70%, rgba(174, 31, 44, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(12, 20, 34, 0.78) 0%, rgba(9, 16, 29, 0.88) 100%);
  pointer-events: none;
}

.metrics__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.metric-card {
  padding: 28px 18px 34px;
}

.metric-card__over {
  margin: 0 0 16px;
  color: rgba(242, 244, 248, 0.9);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.2;
}

.metric-card__over--empty {
  visibility: hidden;
}

.metric-card__value-line {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 136px;
}

.metric-card__value {
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(5rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.metric-card__suffix {
  color: rgba(242, 244, 248, 0.96);
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.1;
  padding-bottom: 0.45rem;
}

.metric-card__text {
  margin: 18px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(189, 208, 235, 0.12);
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.team {
  position: relative;
  padding: 24px 0 82px;
}

.team__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.team__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.team__head h2 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.team-slider {
  position: relative;
}

.team-slider__viewport {
  overflow: hidden;
}

.team-slider__track {
  display: flex;
  transition: transform 320ms ease;
}

.team-card {
  flex: 0 0 33.3333%;
  min-width: 0;
  padding: 0 10px;
}

.team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: rgba(15, 22, 34, 0.9);
}

.team-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.team-card__place,
.team-card__region {
  margin: 0;
  color: rgba(229, 235, 244, 0.72);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-card h3 {
  margin: 12px 0 8px;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.1rem;
  line-height: 1.3;
}

.team-card__role {
  margin: 0;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
}

.team-card__phone {
  display: inline-block;
  margin-top: 14px;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.team-card__phone:hover,
.team-card__phone:focus-visible {
  text-decoration: underline;
}

.team-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.team-slider__arrow {
  min-width: 112px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(189, 208, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  cursor: pointer;
}

.team-slider__arrow:disabled {
  opacity: 0.38;
  cursor: default;
}

.team-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.team-slider__dot.is-active {
  background: var(--accent);
}

.site-footer {
  position: relative;
  padding: 52px 0 0;
  overflow-x: clip;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 25, 0) 0%, rgba(8, 14, 25, 0.1) 18%, rgba(8, 14, 25, 0.24) 100%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.site-footer__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.site-footer__head h2 {
  margin: 0;
  color: var(--text);
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.footer-primary,
.footer-company {
  padding: 26px 28px 28px;
  border: 1px solid rgba(189, 208, 235, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18, 28, 44, 0.72) 0%, rgba(10, 16, 27, 0.58) 100%);
  backdrop-filter: blur(10px);
}

.footer-primary__label,
.footer-company__label {
  margin: 0 0 14px;
  color: rgba(189, 208, 235, 0.62);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-primary__address,
.footer-company__text,
.footer-company__name {
  margin: 0;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-primary__phone {
  display: inline-block;
  margin-top: 16px;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  text-decoration: none;
}

.footer-primary__extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.footer-primary__extra a {
  color: rgba(228, 234, 243, 0.9);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
  text-decoration: none;
}

.footer-primary__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.footer-primary__links a,
.footer-primary__links span,
.footer-company__phones a,
.office-item__phone {
  color: #ffffff;
  text-decoration: none;
}

.footer-primary__links a,
.footer-primary__links span {
  padding: 10px 14px;
  border: 1px solid rgba(189, 208, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.contact-card__links .messenger-badge--max,
.footer-primary__links .messenger-badge--max {
  color: #f8f5ff;
  border-color: rgba(156, 104, 255, 0.54);
  background:
    linear-gradient(135deg, rgba(90, 36, 218, 0.92) 0%, rgba(134, 63, 240, 0.88) 54%, rgba(185, 99, 255, 0.74) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 24px rgba(118, 56, 255, 0.24);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-company__name {
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.02;
}

.footer-company__text {
  margin-top: 12px;
}

.footer-company__meta {
  margin: 10px 0 0;
  color: rgba(228, 234, 243, 0.72);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-company__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 0;
}

.footer-company__phones a {
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
}

.site-footer__offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 20px 0 0;
}

.site-footer__legal a {
  color: rgba(228, 234, 243, 0.78);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.86rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(228, 234, 243, 0.25);
  text-underline-offset: 4px;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: #ffffff;
  text-decoration-color: var(--accent);
}

.legal-page {
  padding: 78px 0 96px;
}

.legal-page__inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 48px;
}

.legal-page h1 {
  max-width: 1050px;
  margin: 0;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-page__edition {
  margin: 18px 0 32px;
  color: rgba(228, 234, 243, 0.58);
  font-size: 0.88rem;
}

.legal-page section {
  max-width: 960px;
  padding: 22px 0;
  border-top: 1px solid rgba(189, 208, 235, 0.13);
}

.legal-page h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.legal-page p {
  margin: 0 0 14px;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-page p:last-child {
  margin-bottom: 0;
}

.legal-page__table-wrap {
  max-width: 960px;
  margin: 0 0 18px;
  overflow-x: auto;
}

.legal-page table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
}

.legal-page th,
.legal-page td {
  padding: 12px 14px;
  border: 1px solid rgba(189, 208, 235, 0.2);
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  color: #ffffff;
}

.legal-page ul,
.legal-page ol {
  max-width: 960px;
  margin: 0 0 18px;
  padding-left: 24px;
  color: rgba(228, 234, 243, 0.84);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-page strong {
  color: #ffffff;
}

.legal-page code {
  color: #ffffff;
  font-size: 0.9em;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(570px, calc(100vw - 48px));
  padding: 18px 20px;
  border: 1px solid rgba(189, 208, 235, 0.22);
  border-radius: 18px;
  background: rgba(10, 17, 29, 0.98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.cookie-banner p {
  flex: 1;
  margin: 0;
  color: rgba(242, 244, 248, 0.9);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cookie-banner button {
  flex: 0 0 auto;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font: 600 0.86rem "Segoe UI", sans-serif;
  cursor: pointer;
}

.office-item {
  padding: 18px 0 16px;
}

.office-item__city {
  margin: 0 0 8px;
  color: rgba(189, 208, 235, 0.66);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.office-item__phone {
  color: #ffffff;
  font-family: "Aptos Narrow Local", "Arial Narrow", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.02;
}

.site-footer__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
  padding: 48px 48px;
  text-align: center;
}

.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 84% 70%, rgba(174, 31, 44, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(8, 13, 22, 0.9) 0%, rgba(5, 9, 17, 0.96) 100%);
  pointer-events: none;
}

.site-footer__bottom p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(228, 234, 243, 0.58);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer__partner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b9e8c8;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: rgba(185, 232, 200, 0.45);
  text-underline-offset: 4px;
}

.site-footer__partner svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.site-footer__partner:hover,
.site-footer__partner:focus-visible {
  color: #dcf8e3;
  text-decoration-color: currentColor;
}

.footer-primary__links a:hover,
.footer-primary__links a:focus-visible,
.footer-primary__extra a:hover,
.footer-primary__extra a:focus-visible,
.footer-company__phones a:hover,
.footer-company__phones a:focus-visible,
.office-item__phone:hover,
.office-item__phone:focus-visible,
.footer-primary__phone:hover,
.footer-primary__phone:focus-visible {
  text-decoration: underline;
}

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

  .topbar {
    flex-wrap: wrap;
  }

  .topbar__brand-group {
    width: 100%;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero__content {
    grid-template-columns: 1fr;
    padding-bottom: 6px;
  }

  .hero__cards {
    padding-top: 22px;
    grid-template-columns: 1fr;
  }

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

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

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

  .team-card {
    flex-basis: 50%;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

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

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

  .services-tables {
    grid-template-columns: 1fr;
  }

  .about-page__grid {
    grid-template-columns: 1fr;
  }

  .about-card--wide {
    grid-column: auto;
  }

  .contacts-page__grid,
  .contacts-cities {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .hero-shell {
  }

  .hero {
    min-height: auto;
  }

  .topbar {
    align-items: flex-start;
    padding: 20px 24px 18px;
  }

  .topbar__brand-group {
    gap: 12px;
  }

  .nav--header {
    display: none;
  }

  .brand__name {
    font-size: 1.32rem;
  }

  .brand__sub {
    font-size: 0.66rem;
  }

  .nav {
    gap: 14px 18px;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .topbar__cta,
  .button {
    width: 100%;
  }

  .quiz-modal__dialog {
    width: calc(100vw - 24px);
    padding: 22px 18px 22px;
    border-radius: 22px;
  }

  .quiz-modal__head {
    margin-bottom: 18px;
  }

  .quiz-modal__title {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .quiz-actions {
    flex-direction: column;
  }

  .quiz-button {
    width: 100%;
  }

  .hero__content,
  .hero__cards {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero__content {
    padding-top: 22px;
  }

  .hero__content--compact {
    min-height: auto;
    align-content: start;
  }

  .hero__copy {
    padding-top: 0;
  }

  .hero__eyebrow {
    font-size: 1rem;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(1.8rem, 7.4vw, 2.4rem);
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .info-card {
    padding: 20px 18px 24px;
    border-radius: 20px;
  }

  .eligibility {
    padding: 62px 0 80px;
  }

  .eligibility__head {
    margin-bottom: 24px;
  }

  .eligibility__inner {
    padding: 0 24px;
  }

  .eligibility h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .eligibility__intro,
  .eligibility__note,
  .eligibility-item p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .eligibility__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eligibility-item {
    min-height: 84px;
    padding: 16px 18px;
  }

  .writeoff {
    padding: 0 0 80px;
  }

  .writeoff__inner {
    padding: 0 24px;
  }

  .writeoff__head {
    margin-bottom: 20px;
  }

  .writeoff__head h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .writeoff__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .writeoff-tile {
    min-height: auto;
    padding: 18px 18px 18px 20px;
    font-size: 0.98rem;
  }

  .writeoff-tile__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .writeoff__note {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .stages {
    padding: 0 0 80px;
  }

  .stages__inner {
    padding: 0 24px;
  }

  .stages__head {
    margin-bottom: 20px;
  }

  .stages__head h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .stage-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px 0;
  }

  .stage-row__num {
    font-size: 1.4rem;
  }

  .stage-row p,
  .stages__note {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .results {
    padding: 0 0 32px;
  }

  .services-page {
    padding: 24px 0 36px;
  }

  .about-page {
    padding: 24px 0 36px;
  }

  .contacts-page {
    padding: 24px 0 32px;
  }

  .services-page__inner {
    padding: 0 24px;
  }

  .about-page__inner {
    padding: 0 24px;
  }

  .contacts-page__inner {
    padding: 0 24px;
  }

  .services-page__head {
    margin-bottom: 22px;
  }

  .about-page__hero {
    margin-bottom: 22px;
  }

  .contacts-page__hero {
    margin-bottom: 22px;
  }

  .services-page__head h1 {
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    line-height: 1.06;
  }

  .about-page__hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    line-height: 1.06;
  }

  .contacts-page__hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    line-height: 1.06;
  }

  .services-page__lead {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .about-page__lead {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .contacts-page__lead {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .service-table-card {
    padding: 20px 20px 22px;
    border-radius: 22px;
  }

  .about-card {
    padding: 20px 20px 22px;
    border-radius: 22px;
  }

  .contact-card,
  .contacts-city {
    padding: 20px 20px 22px;
    border-radius: 22px;
  }

  .service-table-card__head {
    margin-bottom: 16px;
  }

  .service-table-card__head h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .about-card h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .contact-card h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .service-table__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .service-table__row--head {
    display: none;
  }

  .service-table__row span[role="cell"] {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .about-card p,
  .about-page__note,
  .about-list li {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .contact-card__text,
  .contact-card__extra a,
  .contact-card__links a,
  .contacts-city a {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .contact-card__phone {
    font-size: clamp(1.25rem, 8vw, 1.9rem);
  }

  .results__inner {
    padding: 0 24px;
  }

  .results__head {
    margin-bottom: 20px;
  }

  .results__head h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .results__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .result-card {
    min-height: auto;
    padding: 24px 22px 22px;
    border-radius: 22px;
  }

  .result-card::before {
    top: 24px;
    left: 22px;
    width: 28px;
    height: 28px;
  }

  .result-card::after {
    top: 32px;
    left: 31px;
  }

  .result-card__label {
    padding-left: 46px;
    font-size: 0.98rem;
  }

  .result-card__amount {
    margin-top: 30px;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .result-card__meta {
    margin-top: 22px;
  }

  .result-card__meta strong,
  .result-card__link {
    font-size: 0.96rem;
  }

  .metrics {
    padding: 18px 0 24px;
  }

  .metrics__inner {
    padding: 0 24px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .metric-card {
    padding: 22px 0 24px;
  }

  .metric-card__over {
    margin-bottom: 10px;
    font-size: 0.86rem;
  }

  .metric-card__value-line {
    min-height: auto;
    gap: 10px;
  }

  .metric-card__value {
    font-size: clamp(3.6rem, 20vw, 5.6rem);
  }

  .metric-card__suffix {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    padding-bottom: 0.25rem;
  }

  .metric-card__text {
    margin-top: 16px;
    padding-top: 16px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .team {
    padding: 18px 0 64px;
  }

  .team__inner {
    padding: 0 24px;
  }

  .team__head {
    margin-bottom: 20px;
  }

  .team__head h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .team-card {
    flex-basis: 100%;
    padding: 0;
  }

  .team-card__meta {
    flex-direction: column;
    gap: 4px;
  }

  .team-slider__controls {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
  }

  .team-slider__dots {
    order: 1;
    flex: 0 0 100%;
    justify-content: center;
  }

  .team-slider__arrow {
    order: 2;
  }

  .site-footer {
    padding: 24px 0 0;
  }

  .site-footer__inner {
    padding: 0 24px;
  }

  .site-footer__head {
    margin-bottom: 20px;
  }

  .site-footer__head h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .footer-primary,
  .footer-company {
    padding: 20px 20px 22px;
  }

  .footer-primary__address,
  .footer-company__text,
  .footer-company__name,
  .footer-company__phones a,
  .office-item__phone,
  .site-footer__bottom p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .footer-primary__phone {
    font-size: clamp(1.25rem, 8vw, 1.9rem);
  }

  .site-footer__offices {
    grid-template-columns: 1fr;
  }

  .site-footer__legal {
    gap: 10px;
  }

  .site-footer__legal a {
    width: 100%;
  }

  .legal-page {
    padding: 42px 0 64px;
  }

  .legal-page__inner {
    padding: 0 24px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 18px;
    padding: 36px 24px;
    align-items: center;
  }
}
