/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #252533;
  background: #fff;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 96px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  transition: opacity 0.18s, transform 0.12s, background 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--lg { padding: 16px 32px; font-size: 20px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; }

.btn--primary { background: #252533; color: #fff; border: 1.5px solid #252533; }
.btn--primary:hover { opacity: 0.82; }

.btn--outline { background: transparent; color: #252533; border: 1.5px solid #252533; }
.btn--outline:hover { background: #252533; color: #fff; }

.btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ============================================
   BADGE / TAG
   ============================================ */
.badge {
  display: inline-block;
  background: #B6E373;
  color: #252533;
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 8px;
}
.badge--sm {
  font-size: 18px;
  padding: 7px 14px;
}
.badge--light {
  background: #F6F6F9;
}

.tag {
  display: inline-block;
  background: #B6E373;
  color: #252533;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 6px;
}
.tag--light { background: rgba(255,255,255,0.55); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #B6E373;
  transition: box-shadow 0.25s;
  /* needed for absolute-positioned mobile dropdown */
  isolation: isolate;
}
.nav.is-scrolled {
  box-shadow: 0 2px 20px rgba(10, 10, 25, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.nav__logo-text {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #252533;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav__link {
  font-size: 18px;
  color: #252533;
  transition: opacity 0.15s;
}
.nav__link:hover { opacity: 0.6; }

.nav__cta { flex-shrink: 0; }

/* Mobile-menu-only CTA — hidden on desktop */
.nav__links-cta { display: none; }

/* Hide header CTA before it overflows */
@media (max-width: 900px) {
  .nav__cta { display: none; }
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: #252533;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #B6E373 0%, #fff 100%);
  z-index: 0;
}

/* Text block */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 80px;
  padding-bottom: 64px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  color: #252533;
  max-width: 720px;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.3;
  color: #252533;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Full-width image block — same padding as .container */
.hero__image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 96px;
}

.hero__mockup-img {
  width: 100%;
  display: block;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 60px rgba(10, 10, 25, 0.14);
}

/* White fade at the bottom of the mockup — matches image left/right */
.hero__image-fade {
  position: absolute;
  bottom: 0;
  left: 96px;
  right: 96px;
  height: 220px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}

/* Video button on top of image */
@keyframes btn-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-7px); }
}

.btn-video {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  background: rgba(37, 37, 51, 0.82);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 18px;
  padding: 14px 32px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: btn-float 3s ease-in-out infinite;
  transition: background 0.18s, border-color 0.18s;
}
.btn-video:hover {
  background: rgba(37, 37, 51, 0.95);
  border-color: rgba(255,255,255,0.55);
  animation-play-state: paused;
}
.btn-video svg { width: 32px; height: 32px; flex-shrink: 0; }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section { padding: 96px 0; }

/* Horizontal header: badge left, desc right */
.section__header {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 64px;
  justify-content: space-between;
}

.section__header-left {
  flex-shrink: 0;
}

.section__header-right {
  flex: 1;
  max-width: 608px;
}

.section__desc {
  font-size: 20px;
  line-height: 1.3;
  color: #252533;
  padding-top: 4px;
}

/* ============================================
   FEATURES
   ============================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 300px;
  border-radius: 32px;
  border: 1px solid #0A0A19;
  box-shadow: 0 4px 0 0 #0A0A19;
  overflow: hidden;
}
.feature-card--light { background: #F6F6F9; }
.feature-card--green { background: #B6E373; }
.feature-card--dark  { background: #252533; color: #fff; }

.feature-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-card--dark .feature-card__tags .tag { background: #B6E373; }

.feature-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: inherit;
  flex: 1;
}
.feature-card--dark .feature-card__desc { color: #C7C7CF; }

/* Image on the right — aspect-ratio container, cover fill from top-left.
   align-self: flex-end даёт естественный отступ сверху внутри карточки. */
.feature-card__image {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
  align-self: flex-end;
  aspect-ratio: 4 / 3;
  border-radius: 16px 0 0 0;
}
.feature-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block { padding: 48px 0; }

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  background: #F6F6F9;
  border-radius: 32px;
  border: 1px solid #0A0A19;
  box-shadow: 0px 4px 0px 0px #0A0A19;
}

.cta-card__text { flex: 1; }
.cta-card__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 16px;
}
.cta-card__desc { font-size: 18px; line-height: 1.3; color: #252533; }

/* ============================================
   CASES
   ============================================ */
.cases__card {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  background: #252533;
  border-radius: 32px;
  border: 1px solid #0A0A19;
  box-shadow: 0px 4px 0px 0px #0A0A19;
  overflow: hidden;
}

.cases__divider {
  background: #40404D;
  width: 1px;
}

.case-item {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}

.case-item__stat {
  font-family: 'Unbounded', sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: #B6E373;
  line-height: 1;
}

.case-item__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.case-item__text {
  font-size: 15px;
  line-height: 1.35;
  color: #C7C7CF;
  flex: 1;
}

/* ============================================
   PRICING
   ============================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid #0A0A19;
  box-shadow: 0px 4px 0px 0px #0A0A19;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pricing-card--light { background: #F6F6F9; }
.pricing-card--green { background: #B6E373; }
.pricing-card--dark  { background: #252533; color: #fff; }

.pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #252533;
  color: #B6E373;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Badge inside pricing card is inline, not stretched */
.pricing-card__header .badge,
.pricing-card__header .badge--sm {
  align-self: flex-start;
}

.pricing-card__price {
  font-family: 'Unbounded', sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: #252533;
}
.pricing-card--dark .pricing-card__price { color: #fff; }
.pricing-card__price span {
  font-size: 15px;
  font-weight: 400;
  color: #91919B;
}
.pricing-card--dark .pricing-card__price span { color: #C7C7CF; }

.pricing-card__subtitle {
  font-size: 14px;
  color: #91919B;
  line-height: 1.4;
}
.pricing-card--dark .pricing-card__subtitle { color: #C7C7CF; }

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #252533;
  line-height: 1.3;
}
.pricing-card__features li svg { width: 16px; height: 16px; flex-shrink: 0; }
.pricing-card__features li.disabled { color: #91919B; }
.pricing-card__features--white li { color: #fff; }
.pricing-card__features--white li.disabled { color: #91919B; }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 0; }

.footer .container { padding-bottom: 0; }

.footer__inner {
  background: #252533;
  border-radius: 32px 32px 0 0;
  padding: 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__logo-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__logo-text {
  font-family: 'Unbounded', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
}

.footer__tagline {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.footer__nav a {
  font-size: 18px;
  color: #7DAB3A;
  transition: opacity 0.15s;
}
.footer__nav a:hover { opacity: 0.7; }

.footer__contacts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 15px;
  color: #91919B;
  margin-bottom: 32px;
}
.footer__contacts a { color: #91919B; transition: color 0.15s; }
.footer__contacts a:hover { color: #fff; }

.footer__divider {
  width: 100%;
  height: 1px;
  background: #40404D;
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: #91919B;
  width: 100%;
}
.footer__bottom a { color: #91919B; text-decoration: underline; transition: color 0.15s; }
.footer__bottom a:hover { color: #fff; }

/* ============================================
   MODAL
   ============================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 25, 0.55);
  backdrop-filter: blur(4px);
}

.modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(10, 10, 25, 0.22);
  animation: modal-in 0.2s ease;
}
.modal__box--sm   { max-width: 440px; }
.modal__box--video { max-width: 640px; background: #252533; }

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  line-height: 1;
  color: #91919B;
  transition: color 0.15s;
  cursor: pointer;
}
.modal__close:hover { color: #252533; }
.modal__close--white:hover { color: #fff; }

.modal__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #252533;
  margin-bottom: 8px;
  padding-right: 32px;
}
.modal__title--center { text-align: center; color: #fff; }

.modal__subtitle {
  font-size: 15px;
  color: #91919B;
  margin-bottom: 24px;
}

.modal__text h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  margin: 20px 0 8px;
}
.modal__text p { font-size: 14px; line-height: 1.7; color: #40404D; margin-bottom: 8px; }
.modal__text a { color: #7DAB3A; text-decoration: underline; }

.modal__video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 24px;
  color: #91919B;
  font-size: 15px;
}
.modal__video-placeholder svg { width: 80px; height: 80px; }

/* ============================================
   FORM
   ============================================ */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__label { font-size: 14px; font-weight: 500; color: #252533; }
.form__label span { color: #E05858; }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E2E2E9;
  border-radius: 12px;
  font-size: 15px;
  color: #252533;
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: #C7C7CF; }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: #7DAB3A;
  box-shadow: 0 0 0 3px rgba(125, 171, 58, 0.15);
}
.form__input.is-error,
.form__select.is-error,
.form__textarea.is-error {
  border-color: #E05858;
  box-shadow: 0 0 0 3px rgba(224, 88, 88, 0.1);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2391919B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form__textarea { resize: vertical; min-height: 80px; }

.form__error { font-size: 12px; color: #E05858; min-height: 16px; display: block; }

.form__agree { display: flex; flex-direction: column; gap: 6px; }

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #40404D;
  cursor: pointer;
  line-height: 1.4;
}
.form__checkbox input { display: none; }
.form__checkbox-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #E2E2E9;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.form__checkbox input:checked + .form__checkbox-box {
  background: #7DAB3A;
  border-color: #7DAB3A;
}
.form__checkbox input:checked + .form__checkbox-box::after {
  content: '';
  width: 10px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.form__checkbox a { color: #7DAB3A; text-decoration: underline; }

.form__success {
  display: none; /* shown via JS — override hidden attribute issue */
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  animation: fade-in 0.35s ease;
}
.form__success.is-visible {
  display: flex;
}
.form__success svg { width: 48px; height: 48px; }
.form__success p { font-size: 16px; color: #252533; font-weight: 500; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes hero-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scale {
  from { opacity: 0; transform: scale(0.97) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Hero entrance — triggered by .hero-loaded on body */
.hero-loaded .hero__title {
  animation: hero-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}
.hero-loaded .hero__subtitle {
  animation: hero-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero-loaded .hero__actions {
  animation: hero-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
.hero-loaded .hero__mockup-img {
  animation: hero-scale 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
.hero-loaded .btn-video {
  animation: fade-in 0.6s ease 0.8s both;
}

/* ============================================
   UTILITIES
   ============================================ */
body.modal-open { overflow: hidden; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── 1200px ─────────────────────────────── */
@media (max-width: 1200px) {
  .container { padding: 0 48px; }
  .hero__image-wrap { padding: 0 48px; }
  .hero__image-fade { left: 48px; right: 48px; }
  .footer__inner { padding: 48px 48px 36px; }
  .hero__title { font-size: 34px; }
}

/* ── 1024px ─────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero__image-wrap { padding: 0 32px; }
  .hero__image-fade { left: 32px; right: 32px; height: 160px; }
  .footer__inner { padding: 40px 32px 28px; }

  .hero__title { font-size: 30px; }
  .hero__content { padding-top: 60px; padding-bottom: 48px; }

  /* Feature cards: single column, keep row layout but allow wrap */
  .features__grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 260px; }
  .feature-card__image { width: 38%; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .cases__card { grid-template-columns: 1fr; }
  .cases__divider { width: 100%; height: 1px; }

  .cta-card { flex-direction: column; text-align: center; align-items: center; gap: 28px; }
  .section__header { gap: 32px; }
}

/* Mobile menu — slide-down animation */
@keyframes menu-slide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 768px ──────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero__image-wrap { padding: 0 16px; }
  .hero__image-fade { left: 16px; right: 16px; height: 120px; }
  .footer__inner { padding: 32px 20px 24px; }
  .section { padding: 56px 0; }

  /* Nav */
  .nav__links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #B6E373;
    padding: 8px 16px 20px;
    gap: 0;
    border-bottom: 1px solid rgba(10,10,25,0.1);
    box-shadow: 0 12px 32px rgba(10,10,25,0.12);
    z-index: 99;
  }
  .nav__links.is-open {
    display: flex;
    animation: menu-slide 0.22s ease;
  }
  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(10,10,25,0.07);
    font-size: 16px;
  }
  .nav__links-cta {
    display: flex;
    margin-top: 12px;
    width: 100%;
  }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* Hero */
  .hero__content {
    padding-top: 40px;
    padding-bottom: 32px;
  }
  .hero__title { font-size: 24px; }
  .hero__subtitle { font-size: 15px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  /* hide mockup on small screens — content is enough */
  .hero__image-wrap { display: none; }

  /* Section headers */
  .section__header { flex-direction: column; gap: 14px; margin-bottom: 40px; }
  .section__header-right { max-width: 100%; }
  .section__desc { font-size: 15px; }
  .badge { font-size: 16px; padding: 7px 12px; }

  /* Feature cards — stack vertically */
  .feature-card {
    flex-direction: column;
    min-height: 0;
  }
  .feature-card__image {
    width: 100%;
    align-self: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .feature-card--dark .feature-card__image { border-top-color: rgba(255,255,255,0.06); }
  .feature-card__image img {
    border-radius: 0;
  }

  /* Cases */
  .case-item { padding: 28px 20px; }
  .case-item__stat { font-size: 36px; }

  /* CTA */
  .cta-card { padding: 28px 20px; gap: 20px; }
  .cta-card__title { font-size: 20px; }
  .cta-card__desc { font-size: 15px; }

  /* Pricing */
  .pricing__grid { max-width: 100%; }

  /* Footer */
  .footer__nav { gap: 12px; }
  .footer__contacts { flex-direction: column; gap: 10px; }
  .footer__tagline { font-size: 15px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  /* Modal */
  .modal__box { padding: 24px 16px; }
  .modal__title { font-size: 18px; }
}

/* ── 480px ──────────────────────────────── */
@media (max-width: 480px) {
  .hero__title { font-size: 22px; }
  .btn--lg { padding: 14px 24px; font-size: 16px; }
  .badge { font-size: 14px; padding: 6px 10px; }
  .section { padding: 48px 0; }
  .case-item__stat { font-size: 28px; }
  .feature-card__body { padding: 24px; }
}
