:root {
  --bg: #eef3f8;
  --bg-top: #f6f9fc;
  --bg-bottom: #eef3f8;
  --bg-glow-1: rgba(20, 115, 230, 0.14);
  --bg-glow-2: rgba(19, 178, 162, 0.12);
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --surface-soft-strong: rgba(255, 255, 255, 0.96);
  --surface-subtle: rgba(255, 255, 255, 0.72);
  --surface-dark: #0d1524;
  --text: #13233a;
  --muted: #5c697c;
  --line: rgba(19, 35, 58, 0.1);
  --line-strong: rgba(19, 35, 58, 0.12);
  --line-soft: rgba(19, 35, 58, 0.08);
  --switch-bg: rgba(255, 255, 255, 0.72);
  --section-alt-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  --brand: #1473e6;
  --brand-dark: #0f56ad;
  --accent: #13b2a2;
  --shadow: 0 22px 60px rgba(13, 21, 36, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

html[data-theme="dark"] {
  --bg: #09111d;
  --bg-top: #0b1524;
  --bg-bottom: #09111d;
  --bg-glow-1: rgba(93, 162, 255, 0.12);
  --bg-glow-2: rgba(40, 209, 179, 0.1);
  --surface: rgba(14, 24, 39, 0.9);
  --surface-strong: #0f1b2d;
  --surface-soft: rgba(255, 255, 255, 0.05);
  --surface-soft-strong: rgba(255, 255, 255, 0.06);
  --surface-subtle: rgba(255, 255, 255, 0.04);
  --surface-dark: #08111d;
  --text: #eef5ff;
  --muted: #9aabc1;
  --line: rgba(154, 171, 193, 0.18);
  --line-strong: rgba(154, 171, 193, 0.18);
  --line-soft: rgba(154, 171, 193, 0.12);
  --switch-bg: rgba(255, 255, 255, 0.05);
  --section-alt-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  --brand: #5da2ff;
  --brand-dark: #99c6ff;
  --accent: #28d1b3;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --bg: #09111d;
    --bg-top: #0b1524;
    --bg-bottom: #09111d;
    --bg-glow-1: rgba(93, 162, 255, 0.12);
    --bg-glow-2: rgba(40, 209, 179, 0.1);
    --surface: rgba(14, 24, 39, 0.9);
    --surface-strong: #0f1b2d;
    --surface-soft: rgba(255, 255, 255, 0.05);
    --surface-soft-strong: rgba(255, 255, 255, 0.06);
    --surface-subtle: rgba(255, 255, 255, 0.04);
    --surface-dark: #08111d;
    --text: #eef5ff;
    --muted: #9aabc1;
    --line: rgba(154, 171, 193, 0.18);
    --line-strong: rgba(154, 171, 193, 0.18);
    --line-soft: rgba(154, 171, 193, 0.12);
    --switch-bg: rgba(255, 255, 255, 0.05);
    --section-alt-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    --brand: #5da2ff;
    --brand-dark: #99c6ff;
    --accent: #28d1b3;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--bg-glow-1), transparent 26%),
    radial-gradient(circle at right 16%, var(--bg-glow-2), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

html[data-theme="dark"] body {
  background-color: var(--bg);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] body {
    background-color: var(--bg);
  }
}

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

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

.status-toast {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 40;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 560px);
  padding: 20px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 115, 230, 0.96), rgba(19, 178, 162, 0.94));
  color: #fff;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 24px 60px rgba(13, 21, 36, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(246, 249, 252, 0.78);
  border-bottom: 1px solid rgba(19, 35, 58, 0.06);
}

html[data-theme="dark"] .site-header {
  background: rgba(8, 17, 29, 0.78);
  border-bottom-color: rgba(154, 171, 193, 0.08);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .site-header {
    background: rgba(8, 17, 29, 0.78);
    border-bottom-color: rgba(154, 171, 193, 0.08);
  }
}

.header-row,
.footer-row,
.desktop-nav,
.header-cta,
.hero-actions,
.hero-points,
.cards-grid,
.district-layout,
.chips,
.process-grid,
.contact-grid,
.contact-list {
  display: flex;
}

.header-row,
.footer-row {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-row {
  min-height: 82px;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 1 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 14px 28px rgba(20, 115, 230, 0.24);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-nav,
.hero-points,
.chips,
.contact-list {
  flex-wrap: wrap;
}

.desktop-nav {
  gap: 26px;
}

.desktop-nav a,
.header-phone {
  color: var(--muted);
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.header-phone:hover {
  color: var(--text);
}

.header-cta {
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.theme-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 40px);
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--switch-bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.theme-option {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.theme-option.is-active {
  color: var(--text);
}

.theme-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 115, 230, 0.16), rgba(19, 178, 162, 0.2));
  box-shadow: 0 8px 18px rgba(20, 115, 230, 0.18);
  transition: transform 0.24s ease;
}

.theme-switch[data-theme-position="auto"] .theme-thumb {
  transform: translateX(40px);
}

.theme-switch[data-theme-position="dark"] .theme-thumb {
  transform: translateX(80px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #2d89ff);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(20, 115, 230, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(20, 115, 230, 0.3);
}

.button:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.hero {
  padding: 56px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
}

.hero-copy,
.panel-card,
.info-card,
.price-table,
.process-card,
.faq-item,
.contact-form,
.requisites-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, var(--surface-strong) 70%, transparent);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.2;
}

.hero-text,
.panel-text,
.section-head p,
.district-copy,
.price-footnote,
.info-card p,
.process-card p,
.faq-item p,
.contact-copy p,
.form-note,
.site-footer p,
.requisites-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 52ch;
  margin-top: 18px;
  font-size: 1.06rem;
}

.hero-actions {
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li,
.chips span {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-form {
  align-content: start;
}

.panel-card {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.panel-card-accent {
  background:
    radial-gradient(circle at top right, rgba(20, 115, 230, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 247, 255, 0.88));
}

html[data-theme="dark"] .panel-card-accent {
  background:
    radial-gradient(circle at top right, rgba(93, 162, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 29, 47, 0.98), rgba(12, 22, 37, 0.92));
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .panel-card-accent {
    background:
      radial-gradient(circle at top right, rgba(93, 162, 255, 0.18), transparent 28%),
      linear-gradient(180deg, rgba(16, 29, 47, 0.98), rgba(12, 22, 37, 0.92));
  }
}

.panel-title {
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 1.2rem;
}

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

.panel-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.panel-phone {
  display: inline-block;
  margin-bottom: 4px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

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

.mini-card {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface-subtle);
  border: 1px solid var(--line-soft);
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.mini-card p {
  color: var(--muted);
  line-height: 1.48;
  font-size: 0.95rem;
}

.mini-card-wide {
  grid-column: 1 / -1;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 115, 230, 0.14), rgba(19, 178, 162, 0.18));
}

.mini-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 42px 0;
}

.section-alt {
  background: var(--section-alt-bg);
}

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

.section-head h2 {
  margin-bottom: 14px;
}

.cards-grid {
  flex-wrap: wrap;
  gap: 14px;
}

.info-card {
  width: calc(25% - 14px);
  padding: 22px;
  border-radius: var(--radius-lg);
}

.info-card h3,
.process-card h3 {
  margin-bottom: 12px;
}

.district-layout {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.district-layout > * {
  flex: 1;
}

.chips {
  gap: 10px;
  justify-content: flex-end;
}

.price-table {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  white-space: nowrap;
  font-size: 1.08rem;
}

.price-footnote {
  margin-top: 12px;
}

.process-section {
  padding-top: 24px;
}

.process-grid {
  gap: 14px;
}

.process-card {
  flex: 1;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 115, 230, 0.14), rgba(19, 178, 162, 0.18));
  color: var(--brand-dark);
  font-weight: 800;
}

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

.faq-item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item p {
  padding-top: 12px;
}

.faq-item ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.faq-item li + li {
  margin-top: 8px;
}

.contact-grid {
  gap: 14px;
  align-items: stretch;
}

.contact-grid > * {
  flex: 1;
}

.contact-copy {
  padding: 8px 0;
}

.contact-list {
  gap: 10px;
  margin: 20px 0 18px;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  font-weight: 700;
}

.requisites-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.requisites-card h3 {
  margin-bottom: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.contact-form .button {
  width: fit-content;
}

.contact-section .contact-form .button {
  align-self: start;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
  box-shadow: 0 10px 18px rgba(20, 115, 230, 0.16);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label.checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: var(--surface-soft-strong);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(20, 115, 230, 0.18);
  border-color: rgba(20, 115, 230, 0.28);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 3px 0 0;
  padding: 0;
  flex: 0 0 16px;
}

.checkbox-row span {
  flex: 1 1 0;
  font-weight: 500;
  color: var(--muted);
  display: block;
  min-width: 0;
  line-height: 1.4;
  padding-left: 0;
}

.checkbox-row a {
  color: var(--brand-dark);
  text-decoration: underline;
}

.honeypot {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

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

.footer-row {
  border-top: 1px solid rgba(19, 35, 58, 0.08);
  padding-top: 18px;
}

.footer-row a {
  color: var(--brand-dark);
}

.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(13, 21, 36, 0.92);
  box-shadow: 0 20px 40px rgba(13, 21, 36, 0.24);
}

.mobile-bar a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  border-radius: 18px;
  font-weight: 700;
}

.mobile-bar a:first-child {
  background: #fff;
  color: var(--surface-dark);
}

.mobile-bar a:last-child {
  background: linear-gradient(135deg, var(--brand), #2d89ff);
  color: #fff;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 35;
  width: min(calc(100% - 32px), 300px);
  display: grid;
  gap: 10px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(13, 21, 36, 0.94);
  color: #fff;
  box-shadow: 0 18px 36px rgba(13, 21, 36, 0.2);
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.42;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
  width: fit-content;
  box-shadow: 0 10px 20px rgba(20, 115, 230, 0.22);
}

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

  .hero-grid,
  .district-layout,
  .contact-grid,
  .process-grid {
    display: grid;
  }

  .hero-grid,
  .district-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .info-card {
    width: calc(50% - 9px);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-row,
  .footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0;
  }

  .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand theme"
      "phone cta";
    align-items: center;
  }

  .header-top {
    width: auto;
    display: block;
    grid-area: brand;
  }

  .header-cta {
    display: contents;
    width: auto;
    margin-left: 0;
  }

  .hero {
    padding-top: 22px;
  }

  .status-toast {
    top: 84px;
    width: calc(100% - 24px);
    padding: 18px 20px;
    font-size: 1rem;
  }

  .hero-copy,
  .panel-card,
  .info-card,
  .process-card,
  .contact-form,
  .requisites-card {
    padding: 18px;
  }

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

  .contact-form .button {
    width: 100%;
  }

  .hero-form {
    padding: 18px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand-mark svg {
    width: 24px;
    height: 24px;
  }

  .theme-switch {
    grid-template-columns: repeat(3, 34px);
    padding: 3px;
    flex: 0 0 auto;
    grid-area: theme;
    justify-self: end;
  }

  .theme-option {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }

  .theme-thumb {
    top: 3px;
    left: 3px;
    width: 34px;
    height: 34px;
  }

  .theme-switch[data-theme-position="auto"] .theme-thumb {
    transform: translateX(34px);
  }

  .theme-switch[data-theme-position="dark"] .theme-thumb {
    transform: translateX(68px);
  }

  .header-phone {
    grid-area: phone;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    min-width: 0;
    align-self: center;
  }

  .header-cta .button-small {
    grid-area: cta;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
    white-space: nowrap;
    justify-self: end;
  }

  .contact-form {
    gap: 10px;
  }

  .contact-form input {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .checkbox-row {
    gap: 8px;
    align-items: flex-start;
  }

  .checkbox-row input {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    margin-top: 2px;
    flex-basis: 14px;
  }

  .checkbox-row span {
    font-size: 0.76rem;
    line-height: 1.22;
    padding-left: 0;
  }

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

  .info-card {
    width: 100%;
  }

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

  .mobile-bar {
    display: grid;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    gap: 6px;
  }

  .mobile-bar a {
    min-height: 46px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .cookie-banner {
    bottom: calc(58px + env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(13, 21, 36, 0.18);
  }

  .cookie-banner p {
    font-size: 0.76rem;
    line-height: 1.24;
  }

  .cookie-button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .site-footer {
    padding-bottom: 110px;
  }
}

@media (max-width: 430px) {
  .header-row {
    gap: 7px;
    padding: 7px 0;
  }

  .header-top,
  .header-cta {
    gap: 6px;
  }

  .brand {
    gap: 7px;
  }

  .brand strong {
    font-size: 0.84rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .header-phone {
    font-size: 0.82rem;
  }

  .header-cta .button-small {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .theme-switch {
    grid-template-columns: repeat(3, 32px);
  }

  .theme-option {
    width: 32px;
    height: 32px;
    font-size: 0.86rem;
  }

  .theme-thumb {
    width: 32px;
    height: 32px;
  }

  .theme-switch[data-theme-position="auto"] .theme-thumb {
    transform: translateX(32px);
  }

  .theme-switch[data-theme-position="dark"] .theme-thumb {
    transform: translateX(64px);
  }

  .checkbox-row {
    gap: 8px;
  }

  .checkbox-row input {
    width: 13px;
    height: 13px;
    min-width: 13px;
    min-height: 13px;
    margin-top: 2px;
  }

  .checkbox-row span {
    font-size: 0.73rem;
    line-height: 1.16;
    padding-right: 2px;
  }

  .contact-section .contact-form .button {
    width: fit-content;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.84rem;
  }
}
