:root {
  --ink: #161718;
  --muted: #68717d;
  --paper: #f4f3ef;
  --surface: #ffffff;
  --surface-2: #ebe7dc;
  --line: #ded8cb;
  --gold: #f3bf3d;
  --gold-2: #d79b20;
  --green: #0f7768;
  --green-soft: #d9eee9;
  --blue: #255a7c;
  --graphite: #20252b;
  --dark: #101419;
  --shadow: 0 24px 70px rgba(16, 20, 25, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: rgba(13, 17, 22, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
}

.brand img {
  width: 152px;
  height: auto;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a,
.ghost-link {
  padding: 10px 0;
  transition: color 160ms ease;
}

.top-nav a:hover,
.ghost-link:hover {
  color: #ffd66d;
}

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

.messenger-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.messenger-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.messenger-logo {
  flex: none;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  color: #111417;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(215, 155, 32, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: #ffd66d;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(215, 155, 32, 0.26);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

.button-quiet {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.button-quiet:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--ink);
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 20, 25, 0.08);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 520px);
  align-items: start;
  gap: 64px;
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 76px 0 72px;
}

.hero-copy {
  align-self: start;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--green);
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 6.8vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.65vw, 52px);
  line-height: 1.06;
}

.hero-title {
  display: grid;
  gap: 4px;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero .button-quiet {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(16, 20, 25, 0.16);
  box-shadow: none;
}

.hero .button-quiet:hover {
  color: var(--ink);
  background: #f9f6ed;
}

.hero-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 0;
  margin-top: 30px;
  max-width: 720px;
}

.hero-segment {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 62px;
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease;
}

.hero-segment::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-segment span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.hero-segment b {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.2;
}

.hero-segment:hover,
.hero-segment:focus-visible,
.hero-segment.is-active {
  color: var(--ink);
}

.hero-segment.is-active::after {
  transform: scaleX(1);
  transition: transform 4000ms linear;
}

.hero-collateral {
  align-self: start;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-collateral-image {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 0;
  background: #ffffff;
}

.hero-collateral-image img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center;
  transition: opacity 160ms ease, transform 220ms ease;
}

.hero-collateral-image img.is-changing {
  opacity: 0;
  transform: scale(0.98);
}

.hero-collateral-caption {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.hero-collateral-caption span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-collateral-caption strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.hero-collateral-caption p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.action-rail {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.action-rail a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px 20px;
  border-right: 1px solid var(--line);
  font-weight: 900;
}

.action-rail a:last-child {
  border-right: 0;
}

.service-3d-img {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(16, 20, 25, 0.08);
  border-radius: 18px;
  background: #f7f3e8;
  object-fit: cover;
  box-shadow: 0 14px 24px rgba(16, 20, 25, 0.14);
}

.action-rail a:hover {
  background: #f9f6ed;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading h2,
.section-split h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:last-child,
.section-split p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.service-hub {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 25, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: grid;
  grid-template-rows: 1fr 220px;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 25, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(16, 20, 25, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card div {
  padding: 24px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.service-card p:not(.panel-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top: 1px solid var(--line);
}

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

.service-nav {
  display: grid;
  align-content: start;
  background: #f8f6ef;
  border-right: 1px solid var(--line);
}

.service-tab {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.service-tab span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.service-tab b {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.service-tab.is-active {
  background: var(--dark);
}

.service-tab.is-active span {
  color: #ffffff;
}

.service-tab.is-active b {
  color: rgba(255, 255, 255, 0.7);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  min-height: 520px;
  padding: clamp(24px, 5vw, 48px);
}

.panel-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-copy h3 {
  margin: 0 0 14px;
  max-width: 620px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

.service-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}

.rate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.rate-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf5;
}

.rate-grid dt {
  color: var(--green);
  font-weight: 900;
}

.rate-grid dd {
  margin: 6px 0 0;
  font-weight: 900;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px var(--green-soft);
}

.visual-card {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--dark);
}

.service-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  padding: 72px 0;
}

.service-hero-copy {
  max-width: 760px;
}

.service-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
}

.service-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  font-weight: 500;
}

.service-hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.service-hero-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.service-hero-points {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.service-hero-points div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.service-hero-points span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 22px;
  color: #ffd66d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
}

.service-main-card,
.service-side-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-main-card h2,
.service-side-card h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.service-main-card p,
.service-side-card p {
  color: var(--muted);
  font-weight: 500;
}

.service-side-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.mini-rate-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.mini-rate-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf5;
  font-weight: 900;
}

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

.service-next-grid a {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(16, 20, 25, 0.08);
  font-weight: 900;
}

.service-next-grid span {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.section-contrast {
  width: 100%;
  max-width: none;
  padding: 92px max(20px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: #ffffff;
}

.section-contrast .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.calculator-layout {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.calc-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f8f6ef;
  border-bottom: 1px solid var(--line);
}

.calc-tab {
  min-height: 64px;
  padding: 12px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.calc-tab:last-child {
  border-right: 0;
}

.calc-tab.is-active {
  color: #111417;
  background: var(--gold);
}

.calc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  padding: clamp(22px, 5vw, 44px);
}

.calc-panel[hidden] {
  display: none;
}

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

.calc-form label,
.request-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.calc-form-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf5;
}

.calc-form-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.calc-form input,
.calc-form select,
.request-form input,
.request-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf5;
  color: var(--ink);
  font-weight: 700;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--green);
}

.range-value {
  color: var(--ink);
  font-weight: 900;
}

.calc-result {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(145deg, rgba(15, 119, 104, 0.98), rgba(37, 90, 124, 0.98));
}

.calc-result span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  text-transform: uppercase;
}

.calc-result strong {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.calc-result p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.calculator-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(200px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.calculator-lead-heading h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.calculator-lead-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.request-form.calculator-request-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.calculator-request-form .checkbox-line,
.calculator-request-form .form-status {
  grid-column: 1 / -1;
}

.calculator-request-form .button {
  justify-self: start;
}

.insight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.insight-strip div {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 24px;
  background: var(--surface);
}

.insight-strip span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-strip b {
  font-size: 21px;
  line-height: 1.14;
}

.online-assessment {
  width: 100%;
  margin-top: 92px;
  padding: 82px 0 88px;
  background: #fff;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
  border-bottom: 1px solid rgba(16, 20, 25, 0.06);
}

.online-assessment-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.online-assessment-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(320px, 500px);
  gap: clamp(40px, 7vw, 86px);
  align-items: center;
  justify-content: space-between;
}

.online-assessment-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 620px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.online-assessment-copy p {
  margin: 0;
}

.online-assessment-copy h2 {
  margin: 0;
  max-width: 610px;
  color: var(--ink);
  font-size: clamp(30px, 3.35vw, 46px);
  font-weight: 900;
  line-height: 1.06;
}

.online-intro {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.56;
}

.online-step-list {
  display: grid;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.online-step-list div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 3px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.online-step-list span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.online-step-list b {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.22;
}

.online-step-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.online-assessment-copy .button-online {
  width: fit-content;
  min-height: 46px;
  margin-top: 2px;
  padding: 0 18px;
  font-size: 15px;
}

.online-assessment-art {
  display: grid;
  place-items: center;
}

.online-assessment-art img {
  width: min(520px, 100%);
  border-radius: var(--radius);
  object-fit: contain;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(16, 20, 25, 0.08);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  align-items: start;
  gap: 48px;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.form-status.is-error {
  color: #a6402d;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.checkbox-line {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.checkbox-line a,
.footer-links a,
.branch-phone,
.legal-document a,
.cookie-banner a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.branch-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.branch-photo {
  height: clamp(210px, 22vw, 310px);
  overflow: hidden;
  background: #f3f1ea;
}

.branch-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.branch-photo img.branch-photo-sign {
  object-position: center top;
}

.branch-card:hover .branch-photo img {
  transform: scale(1.035);
}

.branch-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: end;
  padding: 22px;
}

.branch-body span {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.branch-body h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.branch-phone {
  display: inline-flex;
  width: fit-content;
  font-size: 18px;
  font-weight: 900;
}

.branch-hours {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.branch-route {
  align-self: center;
  white-space: nowrap;
}

.branch-map-link {
  grid-column: 1 / -1;
  width: fit-content;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.branch-card iframe {
  display: block;
  width: 100%;
  height: 270px;
  border: 1px solid #e6e6e6;
  border-width: 1px 0 0;
}

.branch-card iframe.branch-map-2gis {
  height: 400px;
}

.branch-map-shell {
  height: 400px;
  overflow: hidden;
}

.reviews-2gis {
  padding-top: 30px;
}

.reviews-2gis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 528px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(16, 20, 25, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.reviews-2gis-copy h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
}

.reviews-2gis-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.reviews-2gis-points {
  display: grid;
  gap: 0;
  max-width: 660px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.reviews-2gis-points div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 5px 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.reviews-2gis-points span {
  grid-row: span 2;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.reviews-2gis-points b {
  font-size: 18px;
  line-height: 1.2;
}

.reviews-2gis-points p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.reviews-2gis-widget {
  justify-self: end;
  width: min(100%, 528px);
  overflow: hidden;
  border: 1px solid rgba(16, 20, 25, 0.12);
  border-radius: var(--radius);
  background: #f7f6f0;
  box-shadow: 0 20px 54px rgba(16, 20, 25, 0.12);
}

.reviews-2gis-widget iframe {
  display: block;
  width: 100%;
  height: 824px;
  border: 0;
  background: #ffffff;
}

.legal-footer {
  padding: 52px clamp(20px, 4vw, 56px);
  background: #0d1116;
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 48px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-main img {
  width: 124px;
  margin-bottom: 18px;
}

.footer-main h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 24px;
}

.footer-main p,
.footer-note {
  font-weight: 500;
}

.thanks-main {
  display: flex;
  align-items: center;
  min-height: 66vh;
  padding: 72px max(20px, calc((100vw - 1180px) / 2));
}

.thanks-content {
  max-width: 680px;
}

.thanks-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
}

.thanks-content h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
}

.thanks-content p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.thanks-phone {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  color: var(--green);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-note {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  width: min(620px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.cookie-banner.is-hidden {
  display: none;
}

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

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-decline {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.cookie-settings-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.legal-document .cookie-settings-link {
  color: var(--ink);
  margin-top: 16px;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 56px clamp(20px, 4vw, 56px);
  background: var(--dark);
  color: #ffffff;
}

.legal-hero-inner {
  width: min(940px, 100%);
  margin: 0 auto;
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
}

.legal-document {
  width: min(940px, calc(100% - 40px));
  margin: 42px auto 80px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-document h2 {
  margin: 34px 0 10px;
  font-size: 24px;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-weight: 500;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.back-link {
  display: inline-flex;
  margin-top: 24px;
  color: #ffd66d;
  font-weight: 900;
}

@media (max-width: 1000px) {
  .header-shell {
    grid-template-columns: auto 1fr;
  }

  .top-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: start;
    overflow-x: auto;
  }

  .header-actions {
    justify-content: end;
  }

  .hero-inner,
  .service-hero-inner,
  .online-assessment-grid,
  .service-hub,
  .service-panel,
  .service-layout,
  .calc-panel,
  .calculator-lead,
  .section-split,
  .reviews-2gis-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner {
    align-items: start;
  }

  .rate-grid,
  .insight-strip,
  .service-grid,
  .service-next-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .process-list {
    grid-template-columns: 1fr;
  }

  .online-assessment-grid {
    gap: 38px;
  }

  .online-assessment-copy {
    max-width: 680px;
  }

  .reviews-2gis-widget {
    justify-self: stretch;
  }

}

@media (max-width: 680px) {
  .header-shell {
    min-height: auto;
    gap: 14px;
    width: min(100% - 32px, 1180px);
    padding: 10px 0;
  }

  .brand img {
    width: 98px;
  }

  .header-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .messenger-menu {
    max-width: 100%;
    overflow-x: auto;
  }

  .top-nav {
    gap: 16px;
    font-size: 13px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .service-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding: 64px 0 48px;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-switcher {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .hero-collateral-image {
    min-height: 300px;
  }

  .hero-collateral-image img {
    height: 300px;
  }

  .online-assessment {
    margin-top: 68px;
    padding: 58px 0 64px;
  }

  .online-assessment-inner {
    width: min(100% - 32px, 1180px);
  }

  .online-assessment-copy h2 {
    font-size: 28px;
  }

  .online-assessment-copy {
    gap: 16px;
  }

  .online-intro {
    font-size: 15px;
  }

  .online-step-list div {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    padding: 13px 0;
  }

  .online-step-list b {
    font-size: 15px;
  }

  .online-step-list p {
    font-size: 13px;
  }

  .online-assessment-copy .button-online {
    width: 100%;
    max-width: 240px;
    font-size: 15px;
  }

  .online-assessment-art img {
    width: min(420px, 100%);
  }

  .action-rail,
  .calc-tabs,
  .calc-form,
  .calculator-request-form,
  .rate-grid,
  .branch-grid,
  .insight-strip,
  .service-grid,
  .service-next-grid {
    grid-template-columns: 1fr;
  }

  .branch-photo {
    height: 240px;
  }

  .branch-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .branch-route {
    width: 100%;
  }

  .branch-card iframe {
    height: 300px;
  }

  .branch-card iframe.branch-map-2gis {
    width: 125%;
    height: 500px;
    transform: scale(0.8);
    transform-origin: top left;
  }

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

  .action-rail {
    margin-top: -24px;
  }

  .action-rail a,
  .calc-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 68px 0;
  }

  .reviews-2gis {
    padding-top: 20px;
  }

  .reviews-2gis-layout {
    padding: 20px;
  }

  .reviews-2gis-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .reviews-2gis-points div {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 16px 0;
  }

  .reviews-2gis-widget iframe {
    height: 720px;
  }

  .section-contrast {
    width: 100%;
    padding: 68px 16px;
  }

  .service-panel,
  .calc-panel {
    padding: 22px;
  }

  .service-tab {
    min-height: 82px;
    padding: 18px;
  }

  .calc-form-note {
    align-items: stretch;
    flex-direction: column;
  }

  .request-form.calculator-request-form {
    grid-template-columns: 1fr;
  }

  .request-form.calculator-request-form .button {
    justify-self: stretch;
  }

  .visual-card {
    min-height: 270px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .branch-card iframe.branch-map-2gis {
    width: 156.25%;
    height: 625px;
    transform: scale(0.64);
  }
}
