/* ===================================================================
   Kidsora — design tokens
   Type: Plus Jakarta Sans (display) / Inter (body)
   Palette: pink→green brand gradient on white/lavender ground,
            near-navy dark sections for contrast breaks
=================================================================== */

:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --green: #10b981;
  --green-dark: #059669;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --teal: #14b8a6;

  --navy: #0d1117;
  --navy-raised: #161b26;
  --navy-border: #262d3d;

  --bg: #ffffff;
  --bg-alt: #f8f7fc;
  --ink: #171923;
  --ink-muted: #6b7280;
  --ink-faint: #9ca3af;
  --border: #e9e7f3;

  --brand-gradient: linear-gradient(120deg, var(--pink) 0%, var(--green) 100%);

  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 45px -20px rgba(23, 25, 35, 0.15);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

p { color: var(--ink-muted); line-height: 1.65; }

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

ul, ol { list-style: none; }

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

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== buttons ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(236, 72, 153, 0.5);
}
.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(236, 72, 153, 0.6); }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink-faint); }

.btn--block { width: 100%; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.btn--block:hover { background: #000; }

.btn--sm { padding: 10px 20px; font-size: 13.5px; }

/* ===================== header ===================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.6vw, 24px);
  height: 76px;
}

.header .container { max-width: 1420px; }

.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 8px;
  padding: 6px 8px;
}
.logo__text { font-family: var(--font-display); font-weight: 500; font-size: 17px; }
.logo__text b { font-weight: 800; }

.nav {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(14px, 1.8vw, 28px);
}
.nav a {
  font-size: clamp(13px, 0.95vw, 14.5px);
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 0.15s;
}
.nav a:hover { color: var(--ink); }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== hero ===================== */

.hero {
  background: radial-gradient(ellipse 80% 60% at 75% 0%, rgba(236, 72, 153, 0.08), transparent),
              radial-gradient(ellipse 60% 50% at 100% 30%, rgba(16, 185, 129, 0.07), transparent);
  padding: 80px 0 100px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pink-dark);
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
}
.badge--dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero__title { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 22px; }

.hero__text { font-size: 16.5px; max-width: 46ch; margin-bottom: 32px; }

.hero__actions { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }

.hero__points {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 32px;
}
.hero__points li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
}
.hero__points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}

/* ----- editor mock illustration ----- */

.hero__art { position: relative; display: flex; justify-content: center; }

.editor-mock {
  width: 100%;
  max-width: 400px;
  background: var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform: rotate(-2deg);
}

.editor-mock__bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: var(--navy-raised);
  border-bottom: 1px solid var(--navy-border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #f87171; }
.dot--yellow { background: #fbbf24; }
.dot--green { background: #34d399; }

.editor-mock__body { padding: 22px 20px; font-family: "JetBrains Mono", monospace; font-size: 12.5px; }
.code-line { color: #cbd5e1; white-space: pre; padding: 3px 0; }
.code-line.indent { padding-left: 20px; }
.c-pink { color: var(--pink); }
.c-blue { color: #60a5fa; }
.c-green { color: #34d399; }
.c-comment { color: #64748b; }

.floating-badge {
  position: absolute;
  top: -14px; right: 6%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===================== sections generic ===================== */

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.section__head p { font-size: 15.5px; }

/* ===================== direction cards ===================== */

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.direction-card:nth-child(4), .direction-card:nth-child(5) { grid-column: span 1; }

.direction-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.direction-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }

.direction-card__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 16px;
}
.icon--pink   { background: rgba(236, 72, 153, 0.1); }
.icon--green  { background: rgba(16, 185, 129, 0.1); }
.icon--purple { background: rgba(139, 92, 246, 0.1); }
.icon--blue   { background: rgba(59, 130, 246, 0.1); }
.icon--teal   { background: rgba(20, 184, 166, 0.1); }
.icon--orange { background: rgba(249, 115, 22, 0.1); }

.direction-card__eyebrow { display: block; font-size: 12px; color: var(--ink-faint); margin-bottom: 4px; }
.direction-card h3 { font-size: 18px; margin-bottom: 8px; }
.direction-card p { font-size: 13.5px; }

/* ===================== program cards ===================== */

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

.program-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.program-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.program-card:last-child:nth-child(odd) .checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.program-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.program-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}
.program-card h3 { font-size: 19px; margin-bottom: 2px; }
.program-card__age { font-size: 12.5px; color: var(--ink-faint); }

.checklist { margin-bottom: 26px; flex: 1; }
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink);
  padding-bottom: 12px;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-dark);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}

/* ===================== about (dark) ===================== */

.section--dark {
  background: var(--navy);
  color: #fff;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #a3adc2; }

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about__art { position: relative; }
.about-mock {
  aspect-ratio: 1 / 1;
  max-width: 320px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--navy-border);
  background: var(--navy-raised);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.about__photo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  background: var(--navy-raised);
}
.about-badge {
  position: absolute;
  bottom: -18px; left: 20px;
  background: var(--pink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 20px -6px rgba(236, 72, 153, 0.6);
}

.about__lead { font-size: 16px; max-width: 50ch; margin: 18px 0 28px; }

.about__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.about-feature {
  background: var(--navy-raised);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.about-feature h4 { font-size: 14.5px; margin-bottom: 6px; }
.about-feature p { font-size: 13px; }

.about__quote {
  font-size: 15px;
  font-style: italic;
  color: #cbd5e1;
  border-left: 3px solid var(--pink);
  padding-left: 18px;
  line-height: 1.7;
}

/* ===================== why grid ===================== */

.why-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.why-card {
  border-radius: var(--radius-md);
  padding: 28px;
}
.why-card--hero {
  grid-column: 1 / 3;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-card--hero h3 { font-size: 22px; margin-bottom: 10px; }
.why-card--hero p { color: rgba(255,255,255,0.9); }

.why-grid > .why-card:nth-child(2) {
  grid-column: 3 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-grid > .why-card:nth-child(2) h3 { font-size: 19px; margin-bottom: 8px; }

.why-card--sm {
  grid-column: span 1;
  background: #fff;
  border: 1px solid var(--border);
}
.why-card__icon { font-size: 22px; display: block; margin-bottom: 14px; }
.why-card--sm h4 { font-size: 15.5px; margin-bottom: 8px; }
.why-card--sm p { font-size: 13px; }

/* ===================== steps ===================== */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
  margin-bottom: 40px;
}
.step { position: relative; padding-top: 8px; }
.step::before {
  content: "";
  position: absolute;
  top: 20px; left: -10px; right: 50%;
  height: 1px;
  background: var(--border);
}
.step:first-child::before { display: none; }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--pink);
  margin-bottom: 14px;
}
.step h4 { font-size: 14.5px; margin-bottom: 8px; }
.step p { font-size: 12.5px; }

.note-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.note-box__icon { font-size: 20px; }
.note-box p { font-size: 13.5px; color: var(--ink); }

/* ===================== project cards ===================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.project-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.project-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 999px;
}

.project-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  margin: 18px 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.project-card__body h4 { font-size: 17px; margin-bottom: 6px; }
.project-card__body p { color: rgba(255, 255, 255, 0.85); font-size: 13px; }

.project-card__link {
  position: absolute;
  top: 20px; right: 20px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.pc-1 { background: linear-gradient(135deg, #f97316, #ef4444); }
.pc-2 { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.pc-3 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.pc-4 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.pc-5 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.pc-6 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.pc-7 { background: linear-gradient(135deg, #f97316, #ec4899); }

.projects-cta { text-align: center; }

/* ===================== reviews ===================== */

.review-carousel { max-width: 720px; margin: 0 auto; text-align: center; position: relative; }
.review-track { min-height: 200px; }
.review-slide { display: none; }
.review-slide.is-active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.review-stars { color: var(--pink); font-size: 16px; letter-spacing: 2px; margin-bottom: 20px; }
.review-quote { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 22px; }
.review-author { font-weight: 700; font-size: 14.5px; }
.review-meta { font-size: 13px; color: var(--ink-faint); }

.review-controls { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }
.review-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 18px;
  color: var(--ink-muted);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s;
}
.review-arrow:hover { border-color: var(--pink); color: var(--pink); }

/* ===================== faq ===================== */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 14.5px;
  text-align: left;
}
.faq-item__icon { font-size: 18px; color: var(--pink); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 12px; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 22px;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.faq-item.is-open .faq-item__a { padding: 0 22px 20px; }

/* ===================== contacts ===================== */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.contact-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 14.5px; margin-bottom: 3px; }
.contact-card p { font-size: 12.5px; }

/* ===================== footer ===================== */

.footer { background: var(--navy); color: #fff; padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-border);
}
.footer__brand p { margin-top: 16px; font-size: 13.5px; max-width: 34ch; color: #8b93a4; }
.logo--footer .logo__text { color: #fff; }

.footer__col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: #8b93a4; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 13.5px; color: #cbd5e1; padding-bottom: 12px; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  padding: 22px 24px;
  text-align: center;
  font-size: 12.5px;
  color: #6b7280;
}

/* ===================== responsive ===================== */

@media (max-width: 980px) {
  .header__inner { gap: 12px; }
  .logo__mark { font-size: 13px; padding: 5px 7px; }
  .logo__text { font-size: 15px; }
  .nav { gap: 10px; }
  .nav a { font-size: 12.5px; }
  .header__cta { padding-inline: 14px; font-size: 12.5px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .about__inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card--hero { grid-column: 1 / 3; }
  .why-grid > .why-card:nth-child(2) { grid-column: 1 / 3; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-card:last-child:nth-child(odd) .checklist { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / 3; }
}

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav.is-open a { padding: 10px 0; font-size: 15px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .header__inner { height: 68px; }
  .logo__mark { border-radius: 10px; font-size: 14px; padding: 7px 9px; }
  .logo__text { font-size: 20px; }
  .burger { width: 42px; height: 42px; }
  .burger span { width: 26px; height: 3px; }
  .nav.is-open { top: 68px; }

  .hero {
    padding: 22px 0 56px;
    background:
      radial-gradient(ellipse 95% 34% at 78% 0%, rgba(236, 72, 153, 0.11), transparent 72%),
      radial-gradient(ellipse 90% 44% at 100% 56%, rgba(16, 185, 129, 0.09), transparent 70%),
      #fff;
  }
  .hero__inner {
    gap: 24px;
    align-items: stretch;
  }
  .hero__art {
    justify-content: stretch;
    margin: 0;
  }
  .editor-mock {
    max-width: none;
    border-radius: 18px;
    transform: none;
  }
  .editor-mock__bar {
    gap: 8px;
    padding: 13px 18px;
  }
  .dot { width: 9px; height: 9px; }
  .editor-mock__body {
    padding: 24px 20px 26px;
    font-size: 13px;
    overflow: hidden;
  }
  .code-line {
    padding: 2px 0;
    white-space: nowrap;
  }
  .code-line:nth-child(5) { display: none; }
  .floating-badge {
    top: -12px;
    right: 12px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 24px;
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .badge {
    order: -1;
    align-self: center;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 9px 16px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
  }
  .hero__title {
    width: 100%;
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.12;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
  }
  .hero__text {
    max-width: none;
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 1.6;
  }
  .hero__actions {
    width: 100%;
    margin-bottom: 20px;
  }
  .hero__actions .btn {
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    font-size: 16px;
    white-space: normal;
    text-align: center;
  }
  .hero__actions .btn--outline { display: none; }
  .hero__points {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero__points li {
    min-width: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 9px 10px 9px 30px;
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.05);
    font-size: 12.5px;
    color: var(--ink);
    line-height: 1.25;
  }
  .hero__points li::before {
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
  }

  .directions-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card--hero, .why-grid > .why-card:nth-child(2) { grid-column: 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::before { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: 1; }
  .section { padding: 64px 0; }
  .hero { padding: 22px 0 56px; }
}

@media (max-width: 480px) {
  .directions-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(30px, 8.6vw, 34px); }
  .hero__text { font-size: 16px; line-height: 1.55; }
  .editor-mock__body { font-size: 11.5px; padding: 22px 16px 24px; }
  .floating-badge { width: 56px; height: 56px; }
  .hero__actions .btn { width: 100%; }
  .hero__points { grid-template-columns: 1fr; }
}

/* ===================== accessibility ===================== */

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-badge { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
