/* ==========================================================================
   Paloma365 — landing. Light theme matching paloma365.kz brand system.
   ========================================================================== */

:root {
  --color-primary: #2f6fee;
  --color-primary-dark: #1f56d6;
  --color-grad-start: #2f6fee;
  --color-grad-end: #7c4dff;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ebe5d;
  --color-navy: #26315a;

  --color-text: #0f1729;
  --color-muted: #5b6478;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-border: #e6e9f2;

  --color-pill-bg: #eaf1ff;
  --color-pill-text: #2058c9;
  --color-star: #ffb400;

  --container-width: 1160px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 16px 40px rgba(15, 23, 41, 0.12);

  --section-gap: clamp(48px, 7vw, 96px);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Manrope', var(--font-sans);
  --font-body: 'Inter', var(--font-sans);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* `hidden` is the fallback for older mobile Safari; modern browsers use `clip`. */
  overflow-x: hidden;
  overflow-x: clip;
}

/* Grid/flex children may not shrink below content width by default —
   this allows every layout column to compress on narrow screens */
.hero__inner > *, .hero__toprow > *, .stats-block__row > *,
.whatsapp__inner > *, .launch__steps > * {
  min-width: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.015em; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 32px);
}

.hero .container { max-width: 1240px; }
#why .container { max-width: 1240px; }
#benefits .container { max-width: 1080px; }
#reviews .container { max-width: 1240px; }
#launch .container { max-width: 960px; }

#why .container, #benefits .container, #reviews .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vw, 48px);
}

#why .section-title, #benefits .section-title, #reviews .section-title {
  margin-bottom: 0;
}

.section { padding: var(--section-gap) 0; }
.section--alt { background: var(--color-bg-alt); }

.section-title {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 16px;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-family: var(--font-body);
  color: var(--color-muted);
}

/* Pill badge (generic, used for section eyebrows) */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-pill-bg);
  color: var(--color-pill-text);
  border: 1px solid rgba(47, 111, 238, 0.18);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
}

.pill-center {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 18px 32px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
  max-width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 111, 238, 0.28);
}

.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(47, 111, 238, 0.34); }

.btn--ghost {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn--whatsapp { background: var(--color-whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3); }
.btn--whatsapp:hover { background: var(--color-whatsapp-dark); }
.btn--block { width: 100%; }

.btn--lg {
  padding: 20px 32px;
  font-size: 18px;
}

/* Inputs */

.input, .select {
  width: 100%;
  padding: 18px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
  appearance: none;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6478' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px 20px;
  padding-right: 44px;
}

.input:focus, .select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47, 111, 238, 0.14);
}

.input.is-invalid, .select.is-invalid { border-color: #e0333f; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form__fields { display: flex; flex-direction: column; gap: 12px; }

.phone-field {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.phone-field--single {
  grid-template-columns: minmax(0, 1fr);
}

.phone-field--single .phone-field__input {
  width: 100%;
}

.phone-field__country {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.country-select {
  position: relative;
  min-width: 0;
}

.country-select__button {
  width: 100%;
  min-height: 62px;
  padding: 0 36px 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: #fff;
  font: 500 14px/1.2 var(--font-body);
  text-align: left;
  cursor: pointer;
}

.country-select__button:hover { border-color: #cbd2e1; }

.country-select__button:focus-visible,
.country-select.is-open .country-select__button {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47, 111, 238, 0.14);
}

.country-select__name {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-select__dial,
.country-select__option-dial {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.country-select__caret {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}

.country-select.is-open .country-select__caret {
  transform: translateY(-25%) rotate(225deg);
}

.country-select__menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, 238px);
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 41, 0.18);
}

.country-select.is-up .country-select__menu {
  top: auto;
  bottom: calc(100% + 8px);
}

.country-select__menu[hidden] { display: none; }

.country-select__option {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 0;
  border-radius: 8px;
  color: var(--color-text);
  background: transparent;
  font: 500 15px/1.25 var(--font-body);
  text-align: left;
  cursor: pointer;
}

.country-select__option:hover,
.country-select__option:focus-visible {
  outline: none;
  background: var(--color-bg-alt);
}

.country-select__option[aria-selected="true"] {
  color: var(--color-primary-dark);
  background: var(--color-pill-bg);
  font-weight: 700;
}

.country-select__option[aria-selected="true"] .country-select__option-dial {
  color: var(--color-primary-dark);
}

.phone-field__input { min-width: 0; }

.form__consent {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.5;
}

.form__consent a { color: var(--color-primary); text-decoration: underline; }

.form__error {
  display: none;
  margin: -4px 2px 0;
  color: #c62836;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.input.is-invalid + .form__error,
.form__error.is-visible { display: block; }

.form__success {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #eafaf1;
  color: #1a7f4b;
  font-weight: 600;
  font-size: 14px;
}

.form.is-sent .form__fields { display: none; }
.form.is-sent .form__success { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 0 0 var(--section-gap);
  background: linear-gradient(180deg, #fafaf9 0%, #f2f5fc 100%);
}

.hero__toprow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
}

.hero__logo { height: 48px; width: 48px; flex-shrink: 0; }

.hero__top-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-navy);
  color: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(38, 49, 90, 0.18);
}

.hero__top-badge svg { color: #f0c869; flex-shrink: 0; }
.hero__top-badge-num { font-family: var(--font-heading); font-weight: 800; font-size: 13px; }

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(36px, 5vw, 60px);
  margin-top: 36px;
}

.hero__text {
  flex: 1 1 480px;
  min-width: 280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(13px, 3.2vw, 14px);
  line-height: 1;
  padding: 12px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(38, 49, 90, 0.2);
}

.hero__title {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.14;
  margin-bottom: 18px;
  max-width: 100%;
}

.hero__subtitle {
  font-size: clamp(15.5px, 3.8vw, 18px);
  font-family: var(--font-body);
  color: var(--color-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__form { width: 100%; max-width: 460px; gap: 0; }
.hero__form .input { min-height: 58px; font-weight: 600; font-size: 17px; border-radius: var(--radius-md); }
.hero__form .btn { min-height: 58px; width: 100%; border-radius: var(--radius-md); }

.hero__caption {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-muted);
}

.hero__visual {
  flex: 1.3 1 380px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

.hero__blob {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(90, 130, 240, 0.22), rgba(90, 130, 240, 0));
  filter: blur(28px);
  pointer-events: none;
}

.hero__niches {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(15, 23, 41, 0.55);
  text-align: center;
  max-width: 560px;
}

.hero__card {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: linear-gradient(180deg, #f2f5fc 0%, #fff 55%);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.hero__card img {
  width: 100%;
  height: auto;
}

.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 14px;
  border-radius: 999px;
  max-width: 100%;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.hero__proof-stars { color: var(--color-star); letter-spacing: 3px; font-size: 13px; }

@media (min-width: 641px) {
  .hero__toprow { padding: 22px 20px; justify-content: flex-start; }
  .hero__logo { height: 60px; width: 60px; }
}

@media (max-width: 640px) {
  .hero__toprow { flex-direction: column; justify-content: center; gap: 14px; padding: 20px 20px 0; }
  .hero__inner { flex-direction: column; align-items: center; text-align: center; gap: 24px; margin-top: 8px; }
  .hero__text, .hero__visual { display: contents; }
  .hero__proof { order: 1; margin: 0 auto; flex-direction: column; gap: 8px; padding: 12px 20px; max-width: 320px; border-radius: 18px; }
  .hero__proof-stars { font-size: 19px; letter-spacing: 3px; line-height: 1; }
  .hero__proof span:last-child { font-size: 14.5px; line-height: 1.45; }
  .hero__kicker { order: 2; margin: 0 auto; }
  .hero__title { order: 3; margin: 0; font-size: 34px; }
  .hero__subtitle { order: 4; margin: 0; }
  .hero__blob { display: none; }
  .hero__card { order: 5; max-width: 100%; }
  .hero__niches { order: 6; margin: 0 auto; }
  .hero__form { order: 7; margin-bottom: 0; }
}

/* ==========================================================================
   Homepage — a broader entry point, visually distinct from ad landing pages
   ========================================================================== */

.home-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(63, 110, 245, 0.14), transparent 32%),
    linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

.home-hero .hero__inner {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(63, 110, 245, 0.14);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(38, 49, 90, 0.08);
  backdrop-filter: blur(8px);
}

.home-hero .hero__title {
  max-width: 650px;
}

.home-directions {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
  background: #fff;
}

.home-directions__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  margin-bottom: 34px;
}

.home-directions__heading .section-title {
  margin: 8px 0 0;
  text-align: left;
}

.home-directions__heading > p {
  margin: 0 0 4px;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

.home-directions__eyebrow {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.home-direction {
  position: relative;
  min-height: 132px;
  padding: 22px 52px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  box-shadow: 0 8px 24px rgba(38, 49, 90, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-direction strong {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.3;
}

.home-direction span {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
}

.home-direction b {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  color: var(--color-primary);
  background: #fff;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(38, 49, 90, 0.1);
}

.home-direction--accent {
  border-color: rgba(63, 110, 245, 0.22);
  background: linear-gradient(135deg, #edf3ff 0%, #f7f4ff 100%);
}

@media (hover: hover) {
  .home-direction:hover {
    transform: translateY(-3px);
    border-color: rgba(63, 110, 245, 0.42);
    box-shadow: 0 14px 32px rgba(38, 49, 90, 0.1);
  }
}

@media (max-width: 900px) {
  .home-directions__heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 640px) {
  .home-hero .hero__inner {
    width: auto;
    margin-left: 12px;
    margin-right: 12px;
    padding: 24px 16px 28px;
    border-radius: 24px;
  }

  .home-directions__heading {
    margin-bottom: 24px;
  }

  .home-directions__heading .section-title {
    font-size: 30px;
  }

  .home-directions__grid {
    grid-template-columns: 1fr;
  }

  .home-direction {
    min-height: 104px;
  }
}

/* ==========================================================================
   "Почему 20 000+" stats + video block
   ========================================================================== */

.stats-block { background: var(--color-bg-alt); }

.stats-block__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.stats-grid {
  flex: 1.2 1 340px;
  min-width: 260px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stats-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
}

.stats-grid__num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); color: var(--color-primary); }
.stats-grid__num--sm { font-size: clamp(19px, 2.2vw, 26px); }
.stats-grid__label { font-family: var(--font-body); font-weight: 500; font-size: 13.5px; color: var(--color-muted); }

.stats-phone {
  flex: 0 1 190px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stats-phone__frame {
  width: 100%;
  max-width: 170px;
  background: #101623;
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--shadow-md);
}

.stats-phone__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 23px;
  overflow: hidden;
  background: #1a2233;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.stats-phone__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.stats-phone__notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 14px;
  background: #101623;
  border-radius: 999px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .stats-block__row { flex-direction: column; }
  .stats-grid { width: 100%; }
  .stats-phone { width: 100%; }
  .stats-phone__frame { max-width: 220px; }
}

/* ==========================================================================
   Benefits — "Всё нужное для вашего бизнеса"
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}

.benefit-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-pill-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit-card__title { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.3; margin-bottom: 8px; }
.benefit-card__desc { font-family: var(--font-body); font-size: 14.5px; color: var(--color-muted); margin-bottom: 20px; }

.benefit-card__shot {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: block;
}

.benefit-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.benefit-card__shot--contain img { object-fit: contain; padding: 12px; }

@media (max-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Ratings + testimonials
   ========================================================================== */

.ratings__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
}

.rating-badge__star { color: var(--color-star); }
.rating-badge__source { font-family: var(--font-body); color: var(--color-muted); font-weight: 600; font-size: 13.5px; }

.testimonials {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars { color: var(--color-star); letter-spacing: 3px; font-size: 15px; }
.testimonial-card p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.6; color: var(--color-text); }

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
}

.testimonial-card__name { font-family: var(--font-heading); font-weight: 800; font-size: 14.5px; }

@media (min-width: 760px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); align-items: start; }
}

/* ==========================================================================
   Launch in 1 day — "Запустите бизнес за 1 день без риска"
   ========================================================================== */

.launch__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vw, 44px);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px) clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.launch__head { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.launch__head .section-title { margin-bottom: 0; }

.launch__steps {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.launch__step {
  flex: 1 1 160px;
  min-width: 0;
  max-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.launch__step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(47, 111, 238, 0.25);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.launch__step-num { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: 1.5px; color: var(--color-muted); }
.launch__step-name { font-family: var(--font-heading); font-weight: 800; font-size: 17px; line-height: 1.25; width: 100%; word-break: break-word; }
.launch__step-days { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: var(--color-primary); background: var(--color-pill-bg); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

.launch__connector {
  flex: 0 1 60px;
  min-width: 16px;
  align-self: flex-start;
  margin-top: 26px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(47, 111, 238, 0.35) 0 6px, transparent 6px 12px);
}

.launch__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 520px;
}

.launch__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
}

.launch__list-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .launch__step-icon { width: 48px; height: 48px; }
  .launch__step { max-width: 96px; }
  .launch__connector { flex: 0 1 20px; min-width: 10px; }
}

/* ==========================================================================
   WhatsApp block
   ========================================================================== */

.whatsapp {
  background: #fff;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 32px) clamp(64px, 10vw, 104px);
}

.whatsapp .whatsapp__inner { max-width: 880px; }

.whatsapp__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 52px);
}

.whatsapp__photo {
  flex-shrink: 0;
  width: clamp(160px, 24vw, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.whatsapp__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.whatsapp__content {
  flex: 1 1 340px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.whatsapp__content h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.22; }
.whatsapp__content .form { max-width: 460px; }
.whatsapp__content .input { min-height: 58px; font-weight: 600; border-radius: var(--radius-md); }
.whatsapp__content .btn { min-height: 58px; border-radius: var(--radius-md); font-size: 17px; }

/* ==========================================================================
   Floating WhatsApp CTA (desktop: top-right pill / mobile: bottom bar)
   ========================================================================== */

.whatsapp-fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  background: var(--color-whatsapp);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.whatsapp-fab svg { flex-shrink: 0; }
.whatsapp-fab.is-hidden { opacity: 0; pointer-events: none; }

.whatsapp-fab--desktop {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 60;
  font-size: 14.5px;
  line-height: 1;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}

.whatsapp-fab--desktop:hover { transform: translateY(-1px); }
.whatsapp-fab--desktop svg { width: 17px; height: 17px; }

.whatsapp-fab-mobile-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 45%);
  transition: opacity 0.2s ease;
}

.whatsapp-fab-mobile-wrap.is-hidden { opacity: 0; pointer-events: none; }

.whatsapp-fab--mobile {
  width: 100%;
  min-height: 72px;
  justify-content: center;
  font-size: 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.whatsapp-fab--mobile svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .whatsapp-fab--desktop { display: none; }
}

@media (min-width: 641px) {
  .whatsapp-fab-mobile-wrap { display: none; }
}

.bottom-spacer { height: 188px; }

@media (min-width: 641px) {
  .bottom-spacer { height: 0; }
}

/* ==========================================================================
   Thank-you page
   ========================================================================== */

.thanks {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: radial-gradient(1100px 560px at 85% -12%, #eaf1ff 0%, rgba(234, 241, 255, 0) 60%), var(--color-bg);
}

.page-404 .thanks { background: #fff; }

.has-site-footer .thanks,
.has-site-footer .sitemap-page {
  min-height: calc(100vh - 72px);
}

.sitemap-page {
  min-height: 100vh;
  padding: 48px 20px;
  color: var(--color-text);
  background: #fff;
}

.sitemap-page__card {
  width: min(100%, 940px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sitemap-page__back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}

.sitemap-page__logo { width: 48px; height: 48px; margin-bottom: 18px; }
.sitemap-page h1 { margin-bottom: 12px; font-size: clamp(28px, 5vw, 42px); }
.sitemap-page__lead { max-width: 700px; margin-bottom: 28px; color: var(--color-muted); }
.sitemap-page__lead a { color: var(--color-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

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

.sitemap-page__list a {
  min-height: 92px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}

.sitemap-page__list a:hover { border-color: var(--color-primary); }
.sitemap-page__list strong { color: var(--color-text); font-family: var(--font-heading); }
.sitemap-page__list span { color: var(--color-muted); font-size: 13px; }

@media (max-width: 640px) {
  .sitemap-page { padding: 20px 12px; }
  .sitemap-page__list { grid-template-columns: 1fr; }
}

.thanks__card {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.thanks__logo { height: 32px; width: auto; margin: 0 auto 32px; }

.thanks__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-pill-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thanks__icon svg { width: 38px; height: 38px; }

.thanks h1 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 14px;
}

.thanks p {
  color: var(--color-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

.thanks__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 480px) {
  .thanks__actions { flex-direction: row; justify-content: center; }
}

/* Tablet: preserve the desktop reading direction when the hero wraps. */
@media (min-width: 641px) and (max-width: 900px) {
  .hero__toprow {
    justify-content: flex-start;
    padding-right: 250px;
  }
  .hero__inner {
    align-items: flex-start;
    gap: 32px;
    margin-top: 24px;
  }
  .hero__text {
    flex: 1 1 100%;
    max-width: 660px;
    align-items: flex-start;
    text-align: left;
  }
  .hero__visual {
    flex: 1 1 100%;
    width: 100%;
    align-items: center;
  }
}

/* Cookie consent. It is isolated from the landing UI and reuses its palette. */
body.cookie-consent-visible { padding-bottom: 96px; }
body.cookie-consent-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

#cookie-consent-root {
  position: fixed;
  inset: 0;
  z-index: 84;
  pointer-events: none;
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  pointer-events: auto;
  color: #fff;
  background: rgba(15, 23, 41, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -8px 30px rgba(15, 23, 41, 0.2);
  backdrop-filter: blur(12px);
}

.cookie-consent-bar {
  width: min(100%, var(--container-width));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.cookie-consent-text {
  margin: 0;
  flex: 1 1 320px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-consent-text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions,
.cookie-consent-settings-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-consent-btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 700 13px/1 var(--font-body);
  cursor: pointer;
}

.cookie-consent-btn-primary {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-consent-btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.cookie-consent-btn-text {
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

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

.cookie-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 41, 0.72);
  cursor: pointer;
}

.cookie-consent-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 680px);
  overflow: auto;
  padding: 22px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.cookie-consent-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cookie-consent-modal__title { margin: 0; font-size: 20px; }
.cookie-consent-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 24px;
  cursor: pointer;
}

.cookie-consent-modal__text,
.cookie-consent-settings-lead {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent-modal__text a { color: var(--color-primary); text-decoration: underline; }
.cookie-consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  cursor: pointer;
}
.cookie-consent-row input { width: 18px; height: 18px; accent-color: var(--color-primary); }
.cookie-consent-settings-actions { flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.cookie-consent-modal .cookie-consent-btn-text { color: var(--color-muted); }

.paloma-cmp-floating-widget {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 85;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.paloma-cmp-floating-widget.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 640px) {
  body.cookie-consent-visible { padding-bottom: 190px; }
  .cookie-consent-bar { align-items: stretch; flex-direction: column; padding-block: 14px; }
  .cookie-consent-actions { justify-content: stretch; flex-wrap: wrap; }
  .cookie-consent-actions .cookie-consent-btn-primary,
  .cookie-consent-actions .cookie-consent-btn-outline { flex: 1 1 150px; }
  .cookie-consent-actions .cookie-consent-btn-text { flex: 1 1 100%; }
  .cookie-consent-modal { padding: 12px; }
  .cookie-consent-modal__dialog { padding: 18px; }
  .cookie-consent-settings-actions { align-items: stretch; flex-direction: column; }
}

/* Compact legal/footer strip. */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.site-footer__inner {
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.site-footer__copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer__links,
.site-footer__apps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-footer__links a,
.site-footer__links button {
  padding: 0;
  border: 0;
  color: var(--color-muted);
  background: transparent;
  font: 600 12px/1.4 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}

.site-footer__links a:hover,
.site-footer__links button:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-download {
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  background: #fff;
  font: 700 12px/1 var(--font-body);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.app-download:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .site-footer__inner { flex-direction: column; text-align: center; }
  .site-footer__copy { white-space: normal; }
}

/* Utility pages: contacts, privacy, offer and cookie policy. */
.subpage-doc {
  min-height: 100vh;
  color: var(--color-text);
  background: #fff;
}

.subpage-doc .brand-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.subpage-doc .brand-nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.subpage-doc .brand-nav-logo {
  display: inline-flex;
  align-items: center;
}

.subpage-doc .brand-nav-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.subpage-doc .brand-call-btn {
  min-height: 42px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(47, 111, 238, 0.2);
  border-radius: 999px;
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 8px 20px rgba(47, 111, 238, 0.18);
  font-weight: 800;
}

.subpage-doc .brand-call-btn:hover {
  background: var(--color-primary-dark);
}

.subpage-doc .brand-call-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.subpage-main {
  min-height: 60vh;
  background: #fff;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px) 0 clamp(42px, 6vw, 72px);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fff 0%, #f6f8ff 100%);
}

.legal-hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  top: -260px;
  right: -120px;
  border-radius: 50%;
  background: rgba(47, 111, 238, 0.11);
  filter: blur(10px);
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.subpage-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
}

.subpage-back:hover { text-decoration: underline; }

.section-eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 13px;
  border: 1px solid rgba(47, 111, 238, 0.18);
  border-radius: 999px;
  color: var(--color-pill-text);
  background: var(--color-pill-bg);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-eyebrow--center { margin-inline: auto; }

.legal-hero h1 {
  max-width: 860px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.text-gradient {
  color: var(--color-primary);
  background: linear-gradient(90deg, var(--color-grad-start), var(--color-grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-hero-lead,
.contacts-muted {
  max-width: 780px;
  margin-top: 20px;
  color: var(--color-muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.contacts-muted { margin-top: 12px; font-size: 15px; }

.legal-hero a,
.offer-legal a,
.offer-updated a,
.contacts-doc main a,
.subpage-doc .footer a {
  color: var(--color-primary);
  overflow-wrap: anywhere;
}

.legal-meta-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-meta-links a {
  padding: 9px 13px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.legal-layout {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.legal-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 124px);
  padding: 20px;
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}

.legal-toc-label {
  margin-bottom: 12px;
  font-weight: 800;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
}

.legal-toc li {
  margin: 8px 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}

.legal-toc a { color: inherit; }
.legal-toc a:hover { color: var(--color-primary); }

.subpage-inner { min-width: 0; }

.offer-updated {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-muted);
  background: var(--color-bg-alt);
  font-size: 14px;
}

.offer-legal {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.offer-legal h1,
.offer-legal h2,
.offer-legal h3 {
  scroll-margin-top: 100px;
  line-height: 1.28;
}

.offer-legal h1 { margin-bottom: 24px; font-size: clamp(28px, 4vw, 40px); }
.offer-legal h2 { margin: 34px 0 14px; font-size: clamp(21px, 3vw, 27px); }
.offer-legal h3 { margin: 26px 0 12px; font-size: 19px; }
.offer-legal h1:first-child,
.offer-legal h2:first-child { margin-top: 0; }

.offer-legal p,
.offer-legal li {
  color: #344054;
  line-height: 1.75;
}

.offer-legal p + p { margin-top: 14px; }

.offer-legal ul,
.offer-legal ol {
  margin: 14px 0 20px;
  padding-left: 24px;
}

.offer-legal ul { list-style: disc; }
.offer-legal ol { list-style: decimal; }
.offer-legal li + li { margin-top: 9px; }

.legal-requisites {
  margin-bottom: 24px;
  padding: 18px;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  background: var(--color-bg-alt);
}

.contacts-shell {
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.contacts-quick {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contacts-quick-card,
.contact-region-card,
.contact-requisites-card,
.contacts-form-note {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contacts-quick-card {
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--color-text) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contacts-quick-card:hover {
  border-color: rgba(47, 111, 238, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contacts-quick-card span:last-child {
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

.contacts-quick-icon { font-size: 24px; line-height: 1; }

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

.contact-region-card,
.contact-requisites-card { padding: clamp(22px, 3vw, 30px); }

.contact-region-card--lead {
  border-color: rgba(47, 111, 238, 0.3);
  background: linear-gradient(145deg, #fff, #f2f6ff);
}

.contact-region-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-region-head h2 { font-size: 23px; }
.contact-region-flag { font-size: 24px; line-height: 1; }

.contact-region-address {
  min-height: 48px;
  margin-bottom: 16px;
  color: var(--color-muted);
}

.contact-lines {
  display: grid;
  gap: 8px;
  list-style: none;
}

.contact-lines li {
  color: #344054;
  overflow-wrap: anywhere;
}

.contact-requisites-block { margin-top: clamp(50px, 7vw, 76px); }

.brand-section-header {
  margin-bottom: 24px;
  text-align: center;
}

.brand-section-header h2 { font-size: clamp(28px, 4vw, 40px); }

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

.contact-requisites-card h3 { margin-bottom: 12px; font-size: 22px; }
.contact-requisites-card p { color: #344054; line-height: 1.75; }

.contacts-form-note {
  margin-top: 26px;
  padding: 20px 24px;
  color: var(--color-muted);
  background: var(--color-bg-alt);
}

.subpage-doc .footer {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  background: #fff;
  text-align: center;
}

.subpage-doc .footer-nav {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.subpage-doc .footer p {
  margin: 6px 0 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .contacts-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .subpage-doc .brand-nav-inner { min-height: 66px; }
  .subpage-doc .brand-nav-logo img { width: 44px; height: 44px; }
  .subpage-doc .brand-call-btn { min-height: 38px; padding: 8px 13px; font-size: 13px; }
  .legal-hero { padding: 38px 0 42px; }
  .legal-hero h1 { font-size: clamp(32px, 11vw, 44px); }
  .legal-meta-links { display: grid; }
  .legal-meta-links a { text-align: center; }
  .legal-layout,
  .contacts-shell { padding-top: 32px; padding-bottom: 58px; }
  .offer-legal { padding: 22px 18px; border-radius: 18px; }
  .contacts-quick,
  .contacts-grid,
  .contact-requisites-grid { grid-template-columns: 1fr; }
  .contact-region-address { min-height: 0; }
  .subpage-doc .footer-nav { flex-direction: column; }
}
