/* ==========================================================================
   ВЕРНЫЙ ГРАДУС — стили лендинга
   Mobile-first · Fluid typography · CSS-only
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Цвета */
  --c-bg: #FFFFFF;
  --c-bg-alt: #F5F8FB;
  --c-bg-dark: #0F2740;
  --c-text: #0F172A;
  --c-text-muted: #475569;
  --c-text-light: #94A3B8;
  --c-border: #E2E8F0;
  --c-border-strong: #CBD5E1;

  /* Бренд */
  --c-brand: #0E7CC1;
  --c-brand-dark: #0A5A8F;
  --c-brand-light: #EFF6FB;
  --c-cta: #0891B2;
  --c-cta-hover: #0E7490;
  --c-success: #059669;
  --c-success-light: #D1FAE5;
  --c-accent: #F59E0B;

  /* Типографика */
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --fs-base: clamp(16px, 0.95rem + 0.15vw, 18px);
  --fs-sm: clamp(14px, 0.85rem + 0.1vw, 15px);
  --fs-lg: clamp(18px, 1.05rem + 0.2vw, 20px);
  --fs-xl: clamp(20px, 1.1rem + 0.4vw, 24px);
  --fs-h3: clamp(20px, 1.1rem + 0.7vw, 26px);
  --fs-h2: clamp(28px, 1.5rem + 1.8vw, 44px);
  --fs-h1: clamp(32px, 1.6rem + 3vw, 56px);
  --fs-display: clamp(48px, 2rem + 6vw, 96px);

  /* Spacing */
  --sp-section: clamp(56px, 4rem + 4vw, 112px);
  --sp-block: clamp(24px, 1.5rem + 1.5vw, 48px);
  --sp-element: clamp(12px, 0.75rem + 0.5vw, 20px);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(15, 39, 64, 0.06);
  --sh-md: 0 4px 12px rgba(15, 39, 64, 0.08);
  --sh-lg: 0 12px 32px rgba(15, 39, 64, 0.12);
  --sh-glow: 0 8px 24px rgba(14, 124, 193, 0.18);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* запас под мобильный sticky bar */
  padding-bottom: 80px;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: var(--c-brand);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-brand-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--sp-section);
}

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

.section--cta {
  background:
    radial-gradient(ellipse at top right, rgba(14, 124, 193, 0.4), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(8, 145, 178, 0.3), transparent 60%),
    var(--c-bg-dark);
  color: #fff;
}

.section--cta h2,
.section--cta h3 {
  color: #fff;
}

.section__head {
  max-width: 760px;
  margin-bottom: var(--sp-block);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-brand);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--c-brand-light);
  border-radius: 100px;
}

.section__eyebrow--light {
  background: rgba(255, 255, 255, 0.1);
  color: #93C5FD;
}

.section__title {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section__lead {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 65ch;
  text-wrap: pretty;
}

.section--cta .section__lead {
  color: rgba(255, 255, 255, 0.8);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn--lg {
  padding: 18px 32px;
  font-size: var(--fs-lg);
  min-height: 56px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--c-cta);
  color: #fff;
  box-shadow: var(--sh-glow);
}

.btn--primary:hover {
  background: var(--c-cta-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(8, 145, 178, 0.3);
}

.btn--secondary {
  background: #fff;
  color: var(--c-text);
  border-color: var(--c-border-strong);
}

.btn--secondary:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}

.btn--ghost {
  background: transparent;
  color: var(--c-brand);
  border-color: var(--c-brand);
}

.btn--ghost:hover {
  background: var(--c-brand);
  color: #fff;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-brand);
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.logo:hover {
  opacity: 0.85;
  color: var(--c-brand);
}

.logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

.logo__tagline {
  font-size: 11px;
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.logo--footer .logo__name {
  color: #fff;
}

.logo--footer {
  color: #93C5FD;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--c-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.nav {
  display: none;
  gap: 28px;
}

.nav a {
  color: var(--c-text-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast);
}

.nav a:hover {
  color: var(--c-brand);
}

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

.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.header__phone:hover {
  color: var(--c-brand);
}

.header__btn {
  padding: 10px 18px;
  min-height: 42px;
  font-size: 14px;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 96px);
  background:
    linear-gradient(180deg, var(--c-brand-light) 0%, transparent 100%),
    radial-gradient(ellipse 800px 400px at 20% 0%, rgba(14, 124, 193, 0.08), transparent),
    var(--c-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--c-success-light);
  color: #047857;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--c-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__price {
  color: var(--c-brand);
  white-space: nowrap;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.hero__subtitle strong {
  color: var(--c-text);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 32px;
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
}

.hero__facts svg {
  width: 18px;
  height: 18px;
  color: var(--c-brand);
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 13px;
  color: var(--c-text-light);
}

/* Hero visual */
.hero__visual {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.hero__placeholder {
  background: var(--c-brand-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px dashed var(--c-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__placeholder-svg {
  width: 100%;
  height: 100%;
}

.hero__sticker {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--c-success);
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--sh-lg);
  transform: rotate(-8deg);
  border: 4px solid #fff;
}

.hero__sticker-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.hero__sticker-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-top: 2px;
}

/* ---------- Prices ---------- */
.prices {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--t-base);
}

.price-card:hover {
  border-color: var(--c-brand);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.price-card--featured {
  border-color: var(--c-brand);
  border-width: 2px;
  box-shadow: var(--sh-md);
}

.price-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 124, 193, 0.04), transparent 50%);
  border-radius: var(--r-lg);
  pointer-events: none;
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card__head {
  margin-bottom: 20px;
  position: relative;
}

.price-card__title {
  font-size: var(--fs-h3);
  margin-bottom: 4px;
}

.price-card__subtitle {
  font-size: 14px;
  color: var(--c-text-muted);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  position: relative;
}

.price-card__from {
  font-size: 14px;
  color: var(--c-text-muted);
  font-weight: 500;
}

.price-card__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 2rem + 1.5vw, 48px);
  font-weight: 700;
  color: var(--c-brand);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-card__cur {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--c-brand);
  font-weight: 600;
}

.price-card__list {
  margin-bottom: 28px;
  flex-grow: 1;
  position: relative;
}

.price-card__list li {
  position: relative;
  padding-left: 26px;
  padding-block: 8px;
  font-size: 15px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

.price-card__list li:last-child {
  border-bottom: none;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--c-success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.price-card__btn {
  width: 100%;
  position: relative;
}

.prices__note {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--c-text-muted);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
}

.step:hover {
  border-color: var(--c-brand);
  box-shadow: var(--sh-sm);
}

.step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--c-brand-light);
  color: var(--c-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.step__title {
  font-size: var(--fs-h3);
  margin-bottom: 6px;
}

.step__body p {
  color: var(--c-text-muted);
  font-size: 15px;
}

.link {
  color: var(--c-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link--light {
  color: #93C5FD;
}

.link--light:hover {
  color: #fff;
}

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.benefit {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--c-border);
  transition: all var(--t-base);
}

.benefit:hover {
  border-color: var(--c-brand);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.benefit__icon {
  width: 48px;
  height: 48px;
  background: var(--c-brand-light);
  color: var(--c-brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit__icon--green {
  background: var(--c-success-light);
  color: var(--c-success);
}

.benefit__icon svg {
  width: 26px;
  height: 26px;
}

.benefit__title {
  font-size: var(--fs-h3);
  margin-bottom: 10px;
}

.benefit p {
  color: var(--c-text-muted);
  font-size: 15px;
}

/* ---------- Warranty ---------- */
.warranty {
  display: grid;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.warranty::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--c-success-light), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.warranty__visual {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.warranty__big {
  font-family: var(--font-display);
  font-size: clamp(96px, 12vw, 160px);
  font-weight: 700;
  color: var(--c-success);
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.warranty__years {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.warranty__content {
  position: relative;
  z-index: 1;
}

.warranty__intro {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  margin-block: 16px;
}

.warranty__list {
  margin-bottom: 16px;
}

.warranty__list li {
  position: relative;
  padding-left: 28px;
  padding-block: 6px;
  color: var(--c-text);
  font-size: 15px;
}

.warranty__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 2px;
  background: var(--c-success);
}

.warranty__action {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 24px;
}

.warranty__terms {
  padding: 20px;
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  margin-bottom: 20px;
}

.warranty__terms h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--c-text);
}

.warranty__terms p {
  font-size: 14px;
  color: var(--c-text-muted);
}

.warranty__proof {
  padding: 16px 20px;
  background: var(--c-brand-light);
  border-left: 3px solid var(--c-brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 15px;
  color: var(--c-text);
}

/* ---------- About ---------- */
.about {
  display: grid;
  gap: 32px;
}

.about__lead {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 16px;
}

.about__text p {
  color: var(--c-text-muted);
  margin-bottom: 14px;
  font-size: 16px;
}

.about__text strong {
  color: var(--c-brand);
}

.about__facts {
  display: grid;
  gap: 16px;
  align-content: start;
}

.about__facts li {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  border-left: 4px solid var(--c-brand);
}

.about__facts strong {
  font-size: 16px;
  color: var(--c-text);
  margin-bottom: 4px;
}

.about__facts span {
  font-size: 14px;
  color: var(--c-text-muted);
}

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

.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq__item[open] {
  border-color: var(--c-brand);
}

.faq__item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 56px;
  transition: color var(--t-fast);
}

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

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--c-brand);
  border-bottom: 2px solid var(--c-brand);
  transform: translateY(-75%) rotate(45deg);
  transition: transform var(--t-base);
}

.faq__item[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.faq__item summary:hover {
  color: var(--c-brand);
}

.faq__item p {
  padding: 0 24px 20px;
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Form ---------- */
.form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(8px);
}

.form__honey {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

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

.form__field {
  display: block;
  margin-bottom: 16px;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form__field input,
.form__field select {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: var(--r-md);
  color: var(--c-text);
  min-height: 52px;
  transition: all var(--t-base);
}

.form__field input::placeholder {
  color: var(--c-text-light);
}

.form__field input:focus,
.form__field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-cta);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.2);
}

.form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}

.form__consent {
  display: flex;
  gap: 12px;
  margin-block: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  cursor: pointer;
}

.form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--c-cta);
  cursor: pointer;
}

.form__consent a {
  color: #93C5FD;
  text-decoration: underline;
}

.form__note {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}

.form__alt {
  text-align: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* ---------- B2B ---------- */
.b2b {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.b2b__card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--t-base);
}

.b2b__card:hover {
  border-color: var(--c-brand);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.b2b__card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--c-text);
}

.b2b__card p {
  color: var(--c-text-muted);
  font-size: 15px;
}

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

/* ---------- Footer ---------- */
.footer {
  background: var(--c-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}

.footer__top {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer__col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer__col p {
  margin-bottom: 6px;
  font-size: 15px;
}

.footer__legal {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal p {
  margin-bottom: 12px;
}

.footer__links a {
  color: #93C5FD;
  text-decoration: underline;
}

.footer__fineprint {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Mobile bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 16px rgba(15, 39, 64, 0.08);
}

.mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  min-height: 48px;
  transition: all var(--t-fast);
}

.mobile-bar__btn--secondary {
  background: var(--c-bg-alt);
  color: var(--c-text);
  border: 1px solid var(--c-border-strong);
}

.mobile-bar__btn--primary {
  background: var(--c-cta);
  color: #fff;
}

.mobile-bar__btn--primary:hover {
  background: var(--c-cta-hover);
  color: #fff;
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */

/* ---------- Tablet (720px+) ---------- */
@media (min-width: 720px) {
  .header__inner {
    padding-block: 18px;
  }

  .header__phone {
    display: inline-flex;
  }

  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

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

  .price-card--featured {
    grid-column: span 2;
  }

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

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

  .b2b__cta {
    flex-direction: row;
    justify-content: center;
  }

  .b2b__cta .btn {
    flex: 0 1 auto;
  }

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

  .warranty {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .warranty__visual {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 20px;
  }

  .about {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .footer__top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: start;
  }

  body {
    padding-bottom: 0;
  }

  .mobile-bar {
    display: none;
  }
}

/* ---------- Desktop (1100px+) ---------- */
@media (min-width: 1100px) {
  .nav {
    display: flex;
  }

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

  .price-card--featured {
    grid-column: auto;
    transform: scale(1.04);
  }

  .price-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
  }

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

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

  .hero__title {
    font-size: clamp(40px, 1.6rem + 3vw, 64px);
  }
}

/* ==================== МЕССЕНДЖЕРЫ — КНОПКИ В ШАГЕ 1 ==================== */
.step__messengers {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.messenger-btn--max {
  background: #EEF4FF;
  color: #0052CC;
}

.messenger-btn--wa {
  background: #EDFBF3;
  color: #128C4A;
}

.messenger-btn svg {
  display: block;
}

/* ==================== МЕССЕНДЖЕРЫ — БЛОК В СЕКЦИИ КОНТАКТА ==================== */
.contact__messengers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.contact-messenger {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.contact-messenger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
}

.contact-messenger--max {
  background: #F0F5FF;
  color: #0052CC;
}

.contact-messenger--wa {
  background: #F0FBF5;
  color: #0A6B35;
}

.contact-messenger svg {
  flex-shrink: 0;
  display: block;
}

.contact-messenger__text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-messenger__label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-messenger__sub {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 2px;
}

.contact-messenger__arrow {
  opacity: 0.4;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .contact__messengers {
    flex-direction: row;
  }
  .contact-messenger {
    flex: 1;
  }
}

/* ==================== МЕССЕНДЖЕРЫ — ФУТЕР ==================== */
.footer__messengers {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}

.footer__messenger-link {
  display: block;
  transition: opacity 0.15s, transform 0.15s;
}

.footer__messenger-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ==================== КНОПКА «НАВЕРХ» ==================== */
.back-to-top {
  position: fixed;
  bottom: 88px; /* над мобильным баром */
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0E7CC1;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(14, 124, 193, 0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.15s;
  z-index: 400;
}

.back-to-top--visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #0c6aa5;
}

@media (min-width: 720px) {
  .back-to-top {
    bottom: 28px;
  }
}

/* ==================== ВАЛИДАЦИЯ ФОРМЫ ==================== */
.form__field--error input,
.form__field--error select,
.form__field--error textarea {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.form__consent.form__field--error {
  background: rgba(229, 57, 53, 0.04);
  border-radius: 8px;
  padding: 4px 8px;
}

.form__error-msg {
  display: block;
  font-size: 0.78rem;
  color: #e53935;
  margin-top: 4px;
  font-family: -apple-system, Arial, sans-serif;
}

/* ==================== ТЕЛЕФОН В ФУТЕРЕ ==================== */
.footer__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer__phone-link:hover {
  opacity: 0.8;
}

.footer__site-link {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.footer__site-link:hover {
  opacity: 1;
}

/* ==================== HERO — РЕАЛЬНОЕ ФОТО ==================== */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* ==================== ПОЛЕ ТЕЛЕФОНА С ПРЕФИКСОМ ==================== */
.phone-wrap {
  position: relative;
}

.phone-wrap::before {
  content: '+7';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 500;
  color: #0F2740;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}

.phone-wrap input {
  padding-left: 38px !important;
}

/* Ошибка для phone-wrap */
.form__field--error .phone-wrap input {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}
