/* ==========================================================================
   Prep.uz — Design system v2
   Стиль: современный ed-tech (референсы: aagschool.com, beacademy.ru,
   skillbox.kz) — светлый фон, воздух, скруглённые карточки, яркий акцент,
   чат-пузыри с русскими фразами.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Golos+Text:wght@500;600;700;800;900&display=swap');

:root{
  --bg: #FFFFFF;
  --bg-soft: #F4F6FB;
  --bg-tint: #EEF3FF;
  --ink: #0E1B33;
  --ink-soft: #4A5670;
  --ink-faint: #93A0B8;
  --blue: #2E5BFF;
  --blue-dark: #1F44D1;
  --blue-tint: #E4EBFF;
  --yellow: #FFC531;
  --yellow-tint: #FFF3D1;
  --green: #22B573;
  --green-tint: #DFF6EB;
  --coral: #FF6B57;
  --coral-tint: #FFE9E5;
  --line: #E6EAF2;
  --white: #FFFFFF;
  --shadow: 0 24px 48px -24px rgba(14,27,51,.22);
  --shadow-sm: 0 10px 24px -14px rgba(14,27,51,.18);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --display: 'Golos Text', 'Manrope', sans-serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--sans); color:var(--ink); background:var(--bg);
  -webkit-font-smoothing:antialiased; line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--display); color:var(--ink); margin:0 0 .5em; line-height:1.12; font-weight:800; letter-spacing:-.015em; }
p{ margin:0 0 1em; color:var(--ink-soft); }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:92px 0; position:relative; }
.section-tight{ padding:60px 0; }
.bg-soft{ background:var(--bg-soft); }

.eyebrow{
  display:inline-block; background:var(--blue-tint); color:var(--blue);
  font-weight:800; font-size:13px; letter-spacing:.02em;
  padding:7px 14px; border-radius:999px; margin-bottom:16px;
}

/* ---- buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:16px 30px; border-radius:999px; font-weight:800; font-size:15px;
  border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--blue); color:var(--white); box-shadow:0 14px 28px -12px rgba(46,91,255,.6); }
.btn-primary:hover{ background:var(--blue-dark); transform:translateY(-2px); }
.btn-ghost{ background:var(--white); color:var(--ink); border-color:var(--line); box-shadow:var(--shadow-sm); }
.btn-ghost:hover{ border-color:var(--ink); }
.btn-yellow{ background:var(--yellow); color:var(--ink); box-shadow:0 14px 28px -12px rgba(255,197,49,.6); }
.btn-yellow:hover{ transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn-login{ padding:12px 22px; font-size:14px; }

/* ---- header ---- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.9); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; max-width:var(--maxw); margin:0 auto; }
.logo{ font-family:var(--display); font-weight:900; font-size:24px; color:var(--ink); }
.logo span{ color:var(--blue); }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ font-weight:700; font-size:15px; color:var(--ink-soft); transition:color .15s ease; }
.nav-links a:hover{ color:var(--blue); }
.nav-login-mobile{ display:none; }
@media (max-width:720px){ .nav-login-mobile{ display:block !important; color:var(--blue) !important; font-weight:800; } }
.header-actions{ display:flex; align-items:center; gap:14px; }
.phone-link{ font-weight:800; font-size:15px; }
.phone-link:hover{ color:var(--blue); }
.nav-toggle{ display:none; background:none; border:none; padding:10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:22px; height:2.5px; border-radius:2px; background:var(--ink); position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }

/* ---- hero ---- */
.hero{ position:relative; overflow:hidden; padding:76px 0 90px; background:linear-gradient(180deg,var(--bg-tint) 0%, var(--bg) 100%); }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(36px,4.8vw,58px); }
.hero h1 em{ font-style:normal; color:var(--blue); }
.hero-lede{ font-size:18px; max-width:520px; }
.hero-ctas{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }

/* fact chips (как у AAG: старт через 24 часа / гарантия / траектория) */
.fact-chips{ display:flex; gap:12px; flex-wrap:wrap; margin-top:34px; }
.chip{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--white); border:1px solid var(--line); border-radius:999px;
  padding:10px 18px; font-weight:700; font-size:14px; box-shadow:var(--shadow-sm);
}
.chip .dot{ width:8px; height:8px; border-radius:50%; background:var(--green); flex:none; }
.chip.c-yellow .dot{ background:var(--yellow); }
.chip.c-blue .dot{ background:var(--blue); }

/* hero visual: карточка + чат-пузыри с русскими фразами */
.hero-visual{ position:relative; min-height:420px; }
.hero-card{
  position:relative; z-index:2; background:var(--white); border-radius:var(--radius-lg);
  box-shadow:var(--shadow); padding:32px; border:1px solid var(--line);
  max-width:400px; margin:0 auto;
}
.hero-card .hc-label{ display:inline-block; background:var(--green-tint); color:var(--green); font-weight:800; font-size:12.5px; padding:6px 12px; border-radius:999px; margin-bottom:16px; }
.hero-card h3{ font-size:20px; margin-bottom:16px; }
.hc-row{ display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid var(--bg-soft); }
.hc-row:last-of-type{ border-bottom:none; }
.hc-ico{
  width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex:none;
}
.hc-ico.i-blue{ background:var(--blue-tint); color:var(--blue); }
.hc-ico.i-yellow{ background:var(--yellow-tint); color:#B0821A; }
.hc-ico.i-green{ background:var(--green-tint); color:var(--green); }
.hc-ico.i-coral{ background:var(--coral-tint); color:var(--coral); }
.hc-row b{ display:block; font-size:15px; }
.hc-row span{ font-size:13px; color:var(--ink-soft); }

/* чат-пузыри */
.bubble{
  position:absolute; z-index:3;
  background:var(--white); border:1px solid var(--line); border-radius:18px;
  padding:12px 18px; font-weight:700; font-size:15px; box-shadow:var(--shadow-sm);
  animation:float 5s ease-in-out infinite;
}
.bubble::after{
  content:''; position:absolute; bottom:-7px; left:22px;
  width:14px; height:14px; background:inherit; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  transform:rotate(45deg); border-radius:0 0 4px 0;
}
.bubble.b-blue{ background:var(--blue); color:var(--white); border-color:var(--blue); }
.bubble.b-yellow{ background:var(--yellow); color:var(--ink); border-color:var(--yellow); }
.bubble-1{ top:-6px; left:-14px; animation-delay:0s; }
.bubble-2{ top:44%; right:-20px; animation-delay:1.6s; }
.bubble-3{ bottom:-8px; left:6%; animation-delay:3.2s; }
@keyframes float{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-10px) } }
@media (prefers-reduced-motion: reduce){ .bubble{ animation:none } }

/* ---- логострока цифр ---- */
.stats-strip{ padding:36px 0; border-bottom:1px solid var(--line); }
.stats-grid{ display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.stat b{ display:block; font-family:var(--display); font-weight:900; font-size:34px; color:var(--blue); letter-spacing:-.02em; }
.stat span{ font-size:14px; color:var(--ink-soft); font-weight:600; }

/* ---- section heads ---- */
.section-head{ max-width:680px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,42px); }

/* ---- feature cards ---- */
.card-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.card-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.card-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.feature-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; transition:transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.feature-icon{
  width:52px; height:52px; border-radius:16px; background:var(--blue-tint); color:var(--blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.feature-card:nth-child(2) .feature-icon{ background:var(--yellow-tint); color:#B0821A; }
.feature-card:nth-child(3) .feature-icon{ background:var(--green-tint); color:var(--green); }
.feature-card:nth-child(4) .feature-icon{ background:var(--coral-tint); color:var(--coral); }
.feature-card h3{ font-size:18px; margin-bottom:8px; }
.feature-card p{ font-size:14.5px; margin:0; }

/* ---- who list (карточки-пилюли) ---- */
.who-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.who-item{
  display:flex; gap:16px; align-items:center;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:20px 22px;
}
.who-num{
  font-family:var(--display); font-weight:900; font-size:18px; color:var(--white);
  background:var(--blue); width:38px; height:38px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; flex:none;
}
.who-item:nth-child(even) .who-num{ background:var(--yellow); color:var(--ink); }
.who-item p{ margin:0; font-size:15px; color:var(--ink); font-weight:600; }

/* ---- шаги обучения (как AAG «за 4 шага») ---- */
.steps-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.step-card{
  position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 26px 30px;
}
.step-card::before{
  counter-increment:step; content:counter(step, decimal-leading-zero);
  display:inline-flex; align-items:center; justify-content:center;
  min-width:56px; margin-bottom:20px;
  font-family:var(--display); font-weight:900; font-size:24px; color:var(--blue);
  background:var(--blue-tint); border-radius:14px; padding:8px 14px;
}
.step-card h3{ font-size:18px; margin-bottom:10px; }
.step-card:nth-child(2)::before{ color:#B0821A; background:var(--yellow-tint); }
.step-card:nth-child(3)::before{ color:var(--green); background:var(--green-tint); }
.step-card:nth-child(4)::before{ color:var(--coral); background:var(--coral-tint); }
.step-card p{ font-size:14.5px; margin:0; }

/* ---- program panel ---- */
.program-panel{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:48px; display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center;
  box-shadow:var(--shadow-sm);
}
.program-list li{
  display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid var(--bg-soft); font-size:15px;
}
.program-list li:last-child{ border-bottom:none; }
.program-list b{
  color:var(--blue); font-family:var(--display); font-weight:900; font-size:14px; flex:none;
  background:var(--blue-tint); border-radius:8px; padding:2px 9px;
}

/* ---- уровни / ступени на странице программы ---- */
.level-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start;
  box-shadow:var(--shadow-sm);
}
.level-badge{
  font-family:var(--display); font-weight:900; font-size:15px;
  background:var(--blue); color:var(--white); border-radius:14px; padding:12px 16px; white-space:nowrap;
}
.level-card:nth-child(2) .level-badge{ background:var(--yellow); color:var(--ink); }
.level-card:nth-child(3) .level-badge{ background:var(--green); }
.level-card:nth-child(4) .level-badge{ background:var(--coral); }
.level-card h3{ font-size:20px; margin-bottom:6px; }
.level-card p{ margin:0; font-size:15px; }

/* ---- testimonials ---- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.testi-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm);
}
.testi-video{ position:relative; aspect-ratio:16/9; background:var(--ink); }
.testi-video iframe{ width:100%; height:100%; border:0; }
.testi-name{ padding:16px 18px; font-weight:800; font-size:15px; display:flex; align-items:center; gap:10px; }
.testi-avatar{ width:32px; height:32px; border-radius:50%; background:var(--blue-tint); color:var(--blue); display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:900; font-size:13px; flex:none; }

/* ---- quote (как цитата основателя у AAG) ---- */
.quote-panel{ max-width:820px; margin:0 auto; text-align:center; }
.quote-panel blockquote{
  margin:0; font-family:var(--display); font-weight:700; font-size:clamp(20px,2.6vw,28px);
  color:var(--ink); line-height:1.35; letter-spacing:-.01em;
}
.quote-panel blockquote::before{ content:'« '; color:var(--blue); }
.quote-panel blockquote::after{ content:' »'; color:var(--blue); }
.quote-author{ margin-top:20px; font-size:14px; color:var(--ink-soft); font-weight:600; }

/* ---- blog ---- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.blog-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:28px; transition:transform .15s ease, box-shadow .15s ease; }
.blog-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.blog-card .cat{
  display:inline-block; font-size:12px; font-weight:800; color:var(--blue); background:var(--blue-tint);
  padding:5px 11px; border-radius:999px; text-transform:uppercase; letter-spacing:.04em;
}
.blog-card:nth-child(2) .cat{ color:#B0821A; background:var(--yellow-tint); }
.blog-card:nth-child(3) .cat{ color:var(--green); background:var(--green-tint); }
.blog-card h3{ font-size:18px; margin:14px 0 8px; }
.blog-soon{
  border:1.5px dashed var(--line); border-radius:var(--radius); padding:36px; text-align:center;
  color:var(--ink-soft); background:var(--white);
}

/* ---- FAQ accordion ---- */
.faq-list{ display:grid; gap:12px; }
.faq-item{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; }
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px 24px; background:none; border:none; width:100%; text-align:left;
  font-family:var(--display); font-size:17px; color:var(--ink); font-weight:800;
}
.faq-q .plus{ flex:none; width:34px; height:34px; border-radius:10px; background:var(--blue-tint); position:relative; transition:background .2s; }
.faq-q .plus::before, .faq-q .plus::after{ content:''; position:absolute; background:var(--blue); border-radius:2px; transition:transform .2s ease, opacity .2s; }
.faq-q .plus::before{ width:14px; height:2.5px; top:16px; left:10px; }
.faq-q .plus::after{ width:2.5px; height:14px; left:16px; top:10px; }
.faq-item.open .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding:0 24px 22px; font-size:15px; margin:0; }
.faq-item.open .faq-a{ max-height:420px; }

/* ---- CTA / contact ---- */
.cta-panel{
  background:var(--blue); color:var(--white); border-radius:var(--radius-lg); padding:56px;
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
  position:relative; overflow:hidden;
}
.cta-panel::before{
  content:''; position:absolute; right:-120px; top:-120px; width:340px; height:340px; border-radius:50%;
  background:rgba(255,255,255,.08);
}
.cta-panel::after{
  content:''; position:absolute; left:-80px; bottom:-140px; width:280px; height:280px; border-radius:50%;
  background:rgba(255,255,255,.06);
}
.cta-panel > *{ position:relative; z-index:1; }
.cta-panel h2{ color:var(--white); font-size:clamp(26px,3.2vw,36px); }
.cta-panel p{ color:#D7E0FF; }
.cta-panel .eyebrow{ background:rgba(255,255,255,.14); color:var(--white); }
.contact-form{ display:grid; gap:12px; }
.contact-form input{
  width:100%; padding:16px 18px; border-radius:14px; border:none;
  background:var(--white); color:var(--ink); font:inherit; font-size:15px; font-weight:600;
}
.contact-form input::placeholder{ color:var(--ink-faint); font-weight:500; }
.contact-form .btn-yellow{ border-radius:14px; }
.form-note{ font-size:13.5px; color:#D7E0FF; margin-top:8px; }
.form-success{ font-size:13px; }

/* ---- footer ---- */
.site-footer{ background:var(--bg-soft); border-top:1px solid var(--line); padding:60px 0 28px; margin-top:48px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px; }
.footer-col h4{ font-family:var(--sans); font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-faint); margin-bottom:14px; font-weight:800; }
.footer-col li{ margin-bottom:10px; font-size:14.5px; font-weight:600; color:var(--ink-soft); }
.footer-col a:hover{ color:var(--blue); }
.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-social a{
  width:42px; height:42px; border-radius:13px; background:var(--white); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--ink-soft);
  transition:border-color .15s, color .15s, transform .15s;
}
.footer-social a:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-2px); }
.footer-social svg{ display:block; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color:var(--ink-faint); padding-top:24px; border-top:1px solid var(--line); }

/* ---- breadcrumb / page hero ---- */
.page-hero{ padding:60px 0 44px; background:linear-gradient(180deg,var(--bg-tint) 0%, var(--bg) 100%); }
.page-hero h1{ font-size:clamp(30px,4.2vw,48px); }
.crumbs{ font-size:13px; color:var(--ink-faint); margin-bottom:18px; font-weight:600; }
.crumbs a:hover{ color:var(--blue); }

/* ---- legacy aliases (страницы, свёрстанные ранее) ---- */
.grid-bg{ background:transparent; }
.margin-block{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; box-shadow:var(--shadow-sm);
}
.trust-bar{ background:var(--ink); color:var(--white); padding:30px 0; }
.trust-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; text-align:center; }
.trust-item b{ display:block; font-family:var(--display); font-weight:900; font-size:28px; }
.trust-item span{ font-size:13px; color:#AEB9D0; }
.notebook-card{ background:var(--white); border-radius:var(--radius); border:1px solid var(--line); padding:32px; box-shadow:var(--shadow-sm); }
.notebook-card .tag, .tag{
  display:inline-block; background:var(--yellow-tint); color:#8A6412; font-weight:800; font-size:12px; padding:6px 12px; border-radius:999px;
}
.check-row{ display:flex; align-items:flex-start; gap:12px; margin:12px 0; }
.check-row p{ margin:0; font-size:14.5px; }
.check-mark{ width:22px; height:22px; flex:none; }
.check-mark path{ fill:none; stroke:var(--green); stroke-width:3.2; stroke-linecap:round; stroke-linejoin:round; }

/* ---- responsive ---- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ min-height:0; margin-top:24px; }
  .bubble-1{ left:0; } .bubble-2{ right:0; }
  .card-grid, .steps-grid{ grid-template-columns:repeat(2,1fr); }
  .who-list{ grid-template-columns:1fr; }
  .program-panel{ grid-template-columns:1fr; padding:32px; }
  .testi-grid, .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .cta-panel{ grid-template-columns:1fr; padding:38px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stats-grid{ justify-content:space-around; }
}
@media (max-width: 720px){
  .nav-links{
    position:fixed; inset:60px 0 0 0; background:var(--white); flex-direction:column;
    padding:32px 24px; gap:22px; transform:translateX(100%); transition:transform .25s ease;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:block; }
  .header-actions .phone-link{ display:none; }
  .header-actions .btn-login{ display:none; }
  .card-grid, .steps-grid{ grid-template-columns:1fr; }
  .testi-grid, .blog-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .section{ padding:60px 0; }
  .level-card{ grid-template-columns:1fr; }
}

/* ---- MODAL (ariza formasi) ---- */
.modal{
  position:fixed; inset:0; z-index:200; display:none;
  align-items:center; justify-content:center; padding:20px;
  background:rgba(14,27,51,.55); backdrop-filter:blur(4px);
}
.modal.open{ display:flex; animation:modalFade .18s ease; }
@keyframes modalFade{ from{opacity:0} to{opacity:1} }
.modal-box{
  background:var(--white); border-radius:24px; width:100%; max-width:460px;
  padding:36px 34px 30px; position:relative; box-shadow:0 40px 80px -30px rgba(14,27,51,.5);
  animation:modalUp .22s cubic-bezier(.2,.8,.3,1);
  max-height:92vh; overflow-y:auto;
}
@keyframes modalUp{ from{transform:translateY(18px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal-close{
  position:absolute; top:16px; right:16px; width:38px; height:38px; border-radius:12px;
  background:var(--bg-soft); border:none; color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center; font-size:20px; line-height:1;
  transition:background .15s, color .15s;
}
.modal-close:hover{ background:var(--blue-tint); color:var(--blue); }
.modal-box h3{ font-size:24px; margin-bottom:6px; padding-right:40px; }
.modal-box .modal-sub{ font-size:14.5px; color:var(--ink-soft); margin-bottom:22px; }
.modal-box .contact-form input{
  border:1px solid var(--line); background:var(--bg-soft); color:var(--ink);
}
.modal-box .contact-form input:focus{ outline:none; border-color:var(--blue); background:var(--white); }
.modal-perks{ display:grid; gap:9px; margin:18px 0 4px; }
.modal-perks li{ display:flex; gap:10px; align-items:center; font-size:13.5px; color:var(--ink-soft); font-weight:600; }
.modal-perks .tick{
  width:20px; height:20px; border-radius:6px; background:var(--green-tint); color:var(--green);
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; flex:none;
}
.modal-fine{ font-size:12px; color:var(--ink-faint); text-align:center; margin-top:12px; }
.form-error{
  display:none; background:var(--coral-tint); color:#B03A22; font-size:13.5px; font-weight:600;
  padding:10px 14px; border-radius:10px; margin-top:4px;
}
.contact-form button:disabled{ opacity:.65; cursor:wait; }

/* ---- Thank-you sahifa ---- */
.thanks-wrap{ padding:70px 0 90px; text-align:center; }
.thanks-icon{
  width:88px; height:88px; border-radius:28px; background:var(--green-tint); color:var(--green);
  display:flex; align-items:center; justify-content:center; margin:0 auto 26px;
}
.thanks-wrap h1{ font-size:clamp(28px,3.8vw,42px); margin-bottom:14px; }
.thanks-wrap > .container > p{ max-width:520px; margin:0 auto 12px; font-size:17px; }
.thanks-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:32px; }
.btn-tg{ background:#229ED9; color:#fff; box-shadow:0 14px 28px -12px rgba(34,158,217,.6); }
.btn-tg:hover{ background:#1B8CC2; transform:translateY(-2px); }
.thanks-next{
  max-width:720px; margin:52px auto 0; background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:32px; text-align:left;
}
.thanks-next h3{ font-size:19px; margin-bottom:16px; }
.thanks-steps{ display:grid; gap:14px; }
.thanks-steps li{ display:flex; gap:14px; align-items:flex-start; font-size:15px; color:var(--ink-soft); }
.thanks-steps b{
  flex:none; width:28px; height:28px; border-radius:9px; background:var(--blue-tint); color:var(--blue);
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:900;
}
@media (max-width:520px){
  .modal-box{ padding:30px 22px 24px; border-radius:20px; }
  .modal-box h3{ font-size:21px; }
}
