/* Premium legal website template for quick client adaptation.
   Design tokens are grouped first so color, type and spacing can be changed fast. */
:root {
  --color-navy: #0f172a;
  --color-graphite: #111827;
  --color-white: #ffffff;
  --color-light: #f8fafc;
  --color-gold: #c9a227;
  --color-green: #16a34a;
  --color-muted: #64748b;
  --color-line: rgba(15, 23, 42, 0.1);
  --color-line-dark: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 18px 44px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1184px;
  --section-y: 88px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-graphite);
  background: var(--color-light);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

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

.page-shell {
  overflow: hidden;
}

.icon-sprite {
  position: absolute;
  overflow: hidden;
}

.service-icon svg,
.advantage-icon svg,
.messenger svg,
.mobile-sticky-cta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.section--light {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    var(--color-light);
  background-size: 56px 56px;
}

.section--dark {
  color: var(--color-white);
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 162, 39, 0.18), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #111827 54%, #0b1120 100%);
}

.section__header {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
}

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

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

h1 {
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: clamp(34px, 9vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  max-width: 840px;
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1.25;
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section__lead,
.hero__lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(17px, 2.4vw, 19px);
}

.section--dark .section__lead,
.hero__lead {
  color: rgba(255, 255, 255, 0.76);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-navy);
  background: var(--color-white);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  color: var(--color-white);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--color-line-dark);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.24);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  line-height: 1.1;
}

.logo__mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.58);
  border-radius: 14px;
  color: var(--color-gold);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.16), rgba(255, 255, 255, 0.04));
}

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

.logo__name {
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo__city {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 600;
}

.desktop-nav,
.header__actions {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle__lines::before {
  top: -6px;
}

.menu-toggle__lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  top: 0;
  transform: rotate(-90deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 16px auto;
  z-index: 90;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: var(--color-white);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.45);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.design-switcher {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.design-switcher select {
  min-height: 42px;
  padding: 0 40px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.design-switcher--mobile {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.design-switcher--mobile select {
  width: 100%;
}

.floating-design-switcher {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 180;
  display: grid;
  gap: 6px;
  min-width: 132px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px 0 0 18px;
  color: var(--color-white);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.floating-design-switcher span {
  padding-left: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-design-switcher select {
  width: 100%;
  min-height: 42px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: 12px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  outline: none;
}

.floating-design-switcher select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}

@media (max-width: 719px) {
  .floating-design-switcher {
    right: 8px;
    top: auto;
    bottom: 86px;
    min-width: 118px;
    padding: 8px;
    transform: none;
  }

  .floating-design-switcher select {
    min-height: 38px;
    font-size: 12px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn--primary {
  color: #111827;
  background: linear-gradient(135deg, #e5c86c, var(--color-gold));
  box-shadow: 0 14px 32px rgba(201, 162, 39, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 18px 40px rgba(201, 162, 39, 0.36);
}

.btn--secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
}

.btn--dark {
  color: var(--color-white);
  background: var(--color-navy);
}

.btn--outline {
  color: var(--color-navy);
  border-color: rgba(15, 23, 42, 0.14);
  background: transparent;
}

.btn--small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.btn__icon {
  font-size: 18px;
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 72px;
  color: var(--color-white);
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 162, 39, 0.24), transparent 26%),
    radial-gradient(circle at 14% 22%, rgba(22, 163, 74, 0.13), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #070b12 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.22;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 40px;
  transform: rotate(18deg);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__content {
  max-width: 760px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.trust-card {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.trust-card__value {
  display: block;
  color: var(--color-gold);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.trust-card__label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.35;
}

.hero__visual {
  position: relative;
  min-height: 420px;
}

.document-stack {
  position: relative;
  min-height: 420px;
}

.document-card {
  position: absolute;
  width: min(78vw, 380px);
  min-height: 264px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.36);
  backdrop-filter: blur(18px);
}

.document-card--main {
  right: 0;
  top: 36px;
  z-index: 3;
}

.document-card--back {
  right: 48px;
  top: 0;
  z-index: 1;
  transform: rotate(-8deg);
  opacity: 0.42;
}

.document-card--front {
  right: 28px;
  top: 184px;
  z-index: 4;
  width: min(68vw, 300px);
  min-height: 140px;
  transform: rotate(5deg);
}

.document-card__topline,
.document-card__line,
.document-card__seal {
  display: block;
  border-radius: 999px;
}

.document-card__topline {
  width: 120px;
  height: 10px;
  margin-bottom: 34px;
  background: var(--color-gold);
}

.document-card__line {
  height: 10px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.document-card__line:nth-child(3) {
  width: 86%;
}

.document-card__line:nth-child(4) {
  width: 62%;
}

.document-card__seal {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201, 162, 39, 0.65);
  background: rgba(201, 162, 39, 0.16);
}

.hero__badge {
  position: absolute;
  left: 0;
  bottom: 18px;
  z-index: 5;
  max-width: 260px;
  padding: 18px;
  border: 1px solid rgba(201, 162, 39, 0.36);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: 0 22px 54px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(14px);
}

.hero__badge strong {
  display: block;
  color: var(--color-gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__badge span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-signature {
  grid-column: 1 / -1;
  display: none;
  overflow: hidden;
  margin-top: -12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-signature svg {
  width: 100%;
  height: auto;
}

/* Reusable cards and grids */
.grid {
  display: grid;
  gap: 16px;
}

.card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.service-card {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.42);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.12);
}

.service-card__icon,
.advantage-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
}

.service-card p,
.case-card p,
.review-card p,
.advantage-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.service-card__link {
  align-self: end;
  color: var(--color-navy);
  font-weight: 900;
}

.service-card__link::after {
  content: " →";
  color: var(--color-gold);
}

.visual-strip {
  display: grid;
  gap: 16px;
  margin: -8px 0 32px;
}

.visual-strip__item {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    var(--color-white);
  background-size: 28px 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.visual-strip__item--paper span {
  position: absolute;
  display: block;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 18px;
  background: rgba(201, 162, 39, 0.08);
}

.visual-strip__item--paper span:nth-child(1) {
  inset: 24px 42% 18px 24px;
}

.visual-strip__item--paper span:nth-child(2) {
  inset: 16px 22% 28px 38%;
  transform: rotate(-8deg);
}

.visual-strip__item--paper span:nth-child(3) {
  inset: 36px 24px 18px 56%;
  transform: rotate(7deg);
}

.visual-strip__item--route {
  display: grid;
  place-items: center;
  padding: 10px;
}

.visual-strip__item--city {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px 22px;
}

.visual-strip__item--city span {
  flex: 1;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.2), rgba(15, 23, 42, 0.08));
}

.visual-strip__item--city span:nth-child(1) { height: 44px; }
.visual-strip__item--city span:nth-child(2) { height: 72px; }
.visual-strip__item--city span:nth-child(3) { height: 54px; }
.visual-strip__item--city span:nth-child(4) { height: 88px; }
.visual-strip__item--city span:nth-child(5) { height: 62px; }

.situation-panel {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.14), transparent 34%),
    var(--color-navy);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.2);
}

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

.situation-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
}

.situation-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: var(--color-gold);
}

.situation-list {
  color: rgba(255, 255, 255, 0.82);
}

.situation-note {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.situation-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.advantages-grid,
.services-grid,
.cases-grid,
.reviews-grid {
  grid-template-columns: 1fr;
}

.advantage-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.advantage-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
}

.process-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.process-step {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 22px 22px 76px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  counter-increment: step;
}

.process-step::before {
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: var(--color-navy);
  content: counter(step, decimal-leading-zero);
  background: rgba(201, 162, 39, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.process-graphic {
  display: none;
  overflow: hidden;
  margin: -12px 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.process-graphic svg {
  width: 100%;
  height: auto;
}

.case-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.case-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.case-card__row {
  display: grid;
  gap: 6px;
}

.case-card__label {
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card {
  padding: 24px;
}

.review-card__stars {
  margin-bottom: 14px;
  color: var(--color-gold);
  letter-spacing: 0.12em;
}

.review-card__author {
  display: block;
  margin-top: 18px;
  color: var(--color-navy);
  font-weight: 900;
}

/* Lead form */
.cta-panel {
  display: grid;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.24);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding-bottom: 72px;
}

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

.form-grid {
  display: grid;
  gap: 14px;
}

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

.form-field label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
  min-height: 128px;
  resize: vertical;
}

.form-field select {
  color-scheme: dark;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(201, 162, 39, 0.76);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.14);
}

.form-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.form-toast {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  color: #dcfce7;
  background: rgba(22, 163, 74, 0.16);
  font-weight: 800;
}

.form-toast.is-visible {
  display: block;
}

.form-toast.is-error {
  color: #fee2e2;
  background: rgba(220, 38, 38, 0.18);
}

.lead-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

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

.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.faq-item summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  color: var(--color-navy);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--color-navy);
  content: "+";
  background: rgba(201, 162, 39, 0.16);
  transform: translateY(-50%);
}

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

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

/* Contacts */
.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-card {
  padding: 26px;
}

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

.contact-list li {
  display: grid;
  gap: 4px;
}

.contact-list span {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-list a,
.contact-list strong {
  color: var(--color-navy);
  font-size: 18px;
}

.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-green);
  font-weight: 900;
}

.messenger-link--telegram {
  background: #0284c7;
}

.messenger-link--viber {
  background: #6d28d9;
}

.map-placeholder {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #0f172a, #111827);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: var(--shadow-soft);
}

.map-placeholder::before {
  position: absolute;
  inset: 16%;
  content: "";
  border: 1px solid rgba(201, 162, 39, 0.36);
  border-radius: 34px;
  transform: rotate(-8deg);
}

.map-placeholder__pin {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 28px;
  height: 28px;
  border: 8px solid var(--color-gold);
  border-radius: 50% 50% 50% 0;
  background: var(--color-white);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-placeholder__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 12px;
}

.map-placeholder__content strong {
  font-size: 22px;
}

.map-placeholder__content span {
  color: rgba(255, 255, 255, 0.72);
}

/* Footer */
.site-footer {
  padding: 56px 0 96px;
  color: rgba(255, 255, 255, 0.72);
  background: #080d18;
}

.footer__grid {
  display: grid;
  gap: 32px;
}

.footer__brand p {
  max-width: 360px;
  margin: 16px 0 0;
}

.footer__column {
  display: grid;
  gap: 10px;
}

.footer__column strong {
  color: var(--color-white);
}

.footer__column a {
  width: fit-content;
}

.footer__column a:hover {
  color: var(--color-gold);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* Mobile conversion bar */
.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(18px);
}

.mobile-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border-radius: 16px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 900;
}

.mobile-sticky-cta a:nth-child(2) {
  background: var(--color-green);
}

.mobile-sticky-cta a:nth-child(3) {
  color: var(--color-navy);
  background: var(--color-gold);
}

/* Scroll reveal. JS adds .is-visible when sections enter viewport. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

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

@media (min-width: 720px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(100% - 56px, var(--container));
  }

  .section {
    padding: var(--section-y) 0;
  }

  .section__header {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: 40px;
    margin-bottom: 44px;
  }

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

  .situation-panel,
  .cta-panel,
  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
    align-items: center;
  }

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

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

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

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

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

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

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

@media (min-width: 980px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 800;
  }

.desktop-nav a:hover {
    color: var(--color-gold);
  }

  .desktop-nav .design-switcher {
    margin-left: 6px;
  }

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

  .header__phone {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 900;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    gap: 56px;
  }

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

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

@media (max-width: 719px) {
  body {
    padding-bottom: 84px;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 340px;
  }

  .document-stack {
    min-height: 340px;
  }

  .document-card--main {
    left: 8px;
    right: auto;
    top: 28px;
  }

  .document-card--back {
    left: 28px;
    right: auto;
  }

  .document-card--front {
    left: 34px;
    right: auto;
    top: 182px;
  }

  .hero__badge {
    left: 10px;
    bottom: 0;
  }

  .btn {
    width: 100%;
  }
}

/* Compatibility layer for the delivered HTML naming system. */
.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--color-white);
  font-weight: 900;
  line-height: 1.1;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.58);
  border-radius: 14px;
  color: var(--color-gold);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.16), rgba(255, 255, 255, 0.04));
  font-size: 13px;
}

.brand-text {
  display: block;
  max-width: 184px;
  overflow: visible;
  font-size: 14px;
  line-height: 1.12;
  white-space: normal;
}

.brand-text b {
  color: var(--color-gold);
}

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

.header-phone {
  display: none;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 900;
}

.btn-gold {
  color: #111827;
  background: linear-gradient(135deg, #e5c86c, var(--color-gold));
  box-shadow: 0 14px 32px rgba(201, 162, 39, 0.28);
}

.btn-outline-light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.btn-dark {
  color: var(--color-white);
  background: var(--color-navy);
}

.btn-small {
  display: none;
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section-dark {
  color: var(--color-white);
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 162, 39, 0.22), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #070b12 100%);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark .eyebrow {
  color: var(--color-gold);
}

.section-soft {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    var(--color-light);
  background-size: 56px 56px;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero-copy {
  max-width: 780px;
}

.hero-text {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2.4vw, 19px);
}

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

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(18px);
}

.hero-card h2 {
  color: var(--color-white);
  font-size: clamp(28px, 4vw, 38px);
}

.hero-card p {
  color: rgba(255, 255, 255, 0.76);
}

.hero-card .document-stack {
  position: absolute;
  right: -54px;
  top: -24px;
  width: 210px;
  min-height: 210px;
  opacity: 0.52;
  transform: rotate(-10deg);
}

.hero-card .document-stack span {
  position: absolute;
  display: block;
  border: 1px solid rgba(201, 162, 39, 0.44);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-card .document-stack span:nth-child(1) {
  inset: 32px 28px 8px 0;
}

.hero-card .document-stack span:nth-child(2) {
  inset: 12px 10px 32px 28px;
}

.hero-card .document-stack span:nth-child(3) {
  inset: 58px 0 0 54px;
}

.mini-contact {
  display: grid;
  gap: 4px;
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-contact a {
  color: var(--color-gold);
  font-weight: 900;
}

.mini-contact span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

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

.trust-grid article {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.trust-grid strong {
  display: block;
  color: var(--color-gold);
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.trust-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.35;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(17px, 2.4vw, 19px);
}

.section-dark .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.service-grid,
.advantage-grid,
.case-grid,
.review-grid {
  display: grid;
  gap: 16px;
}

.service-icon {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  width: 48px;
  min-width: 84px;
  height: 48px;
  padding: 0 12px;
  border-radius: 16px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.service-icon b {
  color: rgba(15, 23, 42, 0.58);
  font-size: 12px;
}

.service-card a {
  align-self: end;
  color: var(--color-navy);
  font-weight: 900;
}

.service-card a::after {
  content: " →";
  color: var(--color-gold);
}

.split-layout {
  display: grid;
  gap: 28px;
}

.split-layout .section-head {
  grid-template-columns: 1fr;
  align-content: center;
}

.split-layout .section-head h2,
.faq-layout .section-head h2 {
  font-size: clamp(30px, 4.4vw, 40px);
  line-height: 1.14;
}

.situation-visual {
  display: grid;
  gap: 10px;
  max-width: 500px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.situation-visual__node {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--color-navy);
  font-weight: 900;
}

.situation-visual__node svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.situation-visual__line {
  width: 1px;
  height: 24px;
  margin-left: 11px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.8), rgba(201, 162, 39, 0.08));
}

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

.situation-list span {
  position: relative;
  display: block;
  padding: 16px 18px 16px 46px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  color: var(--color-navy);
  font-weight: 800;
}

.situation-list span::before {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: var(--color-gold);
  transform: translateY(-50%);
}

.advantage-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.steps {
  display: grid;
  gap: 14px;
}

.step-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.step-card span {
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.step-card h3 {
  margin-bottom: 0;
  color: var(--color-white);
  font-size: 18px;
}

.case-grid .case-card > span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.case-card::after {
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 42px;
  transform: rotate(18deg);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.36);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.12);
}

.case-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.case-tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.case-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: var(--color-gold);
  background: rgba(15, 23, 42, 0.04);
}

.case-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-card h3,
.case-card p,
.case-card__result {
  position: relative;
  z-index: 1;
}

.case-card__result {
  width: fit-content;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(15, 23, 42, 0.055);
  font-size: 13px;
  font-weight: 900;
}

.review-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.review-card::before {
  position: absolute;
  right: -28px;
  top: -38px;
  color: rgba(201, 162, 39, 0.08);
  content: "”";
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
}

.review-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.review-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.review-stars {
  color: var(--color-gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.quote-mark {
  position: relative;
  z-index: 1;
  display: block;
  height: 18px;
  color: var(--color-gold);
  font-size: 46px;
  font-weight: 900;
  line-height: 0.6;
}

.review-card p {
  position: relative;
  z-index: 1;
  color: var(--color-graphite);
  font-size: 18px;
}

.review-card cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--color-navy);
  font-style: normal;
  font-weight: 900;
}

.consultation-layout {
  display: grid;
  gap: 28px;
  padding: 28px;
  border-radius: 30px;
  color: var(--color-white);
  background:
    radial-gradient(circle at 8% 18%, rgba(201, 162, 39, 0.18), transparent 32%),
    linear-gradient(135deg, #0f172a, #111827);
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.2);
}

.consultation-copy h2 {
  color: var(--color-white);
}

.consultation-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.messenger-row {
  margin-top: 22px;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-green);
  font-weight: 900;
}

.messenger-phone {
  color: var(--color-navy);
  background: var(--color-gold);
}

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

.form-row label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.form-row select {
  color-scheme: dark;
}

.form-row textarea {
  min-height: 128px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(201, 162, 39, 0.76);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.14);
}

.faq-layout {
  display: grid;
  gap: 24px;
}

.faq-layout .section-head {
  grid-template-columns: 1fr;
  align-content: start;
}

.faq-visual {
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 420px;
  margin-top: 16px;
}

.faq-visual__badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(201, 162, 39, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.faq-visual__card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: var(--color-white);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.faq-visual__card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 160px;
  height: 160px;
  content: "";
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 36px;
  transform: rotate(18deg);
}

.faq-visual svg {
  width: 84px;
  height: 84px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-visual strong {
  position: relative;
  z-index: 1;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1.2;
}

.faq-visual span:last-child {
  position: relative;
  z-index: 1;
  color: var(--color-muted);
}

.faq-list details {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.faq-list details + details {
  margin-top: 12px;
}

.faq-list summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  color: var(--color-navy);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--color-navy);
  content: "+";
  background: rgba(201, 162, 39, 0.16);
  transform: translateY(-50%);
}

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

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

.contact-card .contact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 18px;
}

.contact-card .btn {
  margin-top: 24px;
}

.map-placeholder > span,
.map-placeholder > small {
  position: absolute;
  left: 24px;
}

.map-placeholder > span {
  bottom: 58px;
  color: var(--color-white);
  font-size: 28px;
  font-weight: 900;
}

.map-placeholder > small {
  bottom: 30px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-layout {
  display: grid;
  gap: 32px;
}

.site-footer .brand-footer {
  color: var(--color-white);
}

.site-footer p {
  max-width: 360px;
  margin: 16px 0 0;
}

.site-footer nav,
.site-footer .footer-layout > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer h3 {
  margin-bottom: 4px;
  color: var(--color-white);
  font-size: 16px;
}

.site-footer a:hover {
  color: var(--color-gold);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 140;
  display: none;
  max-width: min(92vw, 460px);
  padding: 14px 18px;
  border-radius: 16px;
  color: #dcfce7;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  transform: translateX(-50%);
}

.toast.is-visible {
  display: block;
}

@media (min-width: 720px) {
  .section-head {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: 40px;
    margin-bottom: 44px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.68fr);
    align-items: center;
    gap: 48px;
  }

  .hero-signature,
  .process-graphic {
    display: block;
  }

  .visual-strip {
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
  }

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

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

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

  .split-layout,
  .consultation-layout,
  .contact-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
    align-items: start;
  }

  .faq-layout {
    grid-template-columns: minmax(340px, 0.72fr) minmax(520px, 1fr);
    gap: 56px;
  }

  .situation-visual {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
  }

  .situation-visual__node {
    display: grid;
    justify-items: center;
    min-width: 92px;
    text-align: center;
  }

  .situation-visual__line {
    flex: 1;
    width: auto;
    height: 1px;
    margin: 0;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.8), rgba(201, 162, 39, 0.08));
  }

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

  .lead-form .form-row:nth-of-type(4),
  .lead-form .btn,
  .lead-form .form-toast,
  .lead-form .form-note {
    grid-column: 1 / -1;
  }

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

@media (min-width: 980px) {
  .brand-text {
    max-width: none;
    white-space: nowrap;
  }

  .header-phone,
  .btn-small {
    display: inline-flex;
  }

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

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