/* ===================================================================
   Dezex — GREEN edition · animatsion sotuv sayti (noldan)
   Video + rasm fon, yashil rang kontrasti, iconlar.
   Formalar o'zgarmagan — /api/lead orqali Telegram'ga boradi.
   =================================================================== */

:root {
  /* --- Green brand system --- */
  --green:      #16a34a;   /* primary */
  --green-600:  #12833c;   /* hover   */
  --green-700:  #0e6a31;
  --green-400:  #22c55e;   /* bright  */
  --lime:       #4ade80;   /* glow accent */
  --mint:       #34d399;   /* teal-green */
  --forest:     #06160e;   /* near-black forest (dark bg / deep ink) */
  --forest-2:   #0b3d24;   /* deep green */

  --bg:       #ffffff;
  --bg-soft:  #f1faf4;
  --bg-tint:  #e2f6ea;
  --ink:      #082315;
  --ink-2:    #476154;
  --ink-3:    #7d9488;
  --line:     #dcefe3;
  --white:    #ffffff;

  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-20: 20px; --sp-24: 24px;
  --sp-32: 32px; --sp-40: 40px; --sp-56: 56px; --sp-72: 72px; --sp-80: 80px;

  --page-max: 1160px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 18px rgba(6, 40, 24, .06);
  --shadow:    0 18px 50px rgba(6, 40, 24, .12);
  --shadow-green: 0 14px 32px rgba(22, 163, 74, .34);
  --header-h: 66px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--sp-20);
}

/* =============================================================
   Brand (text logo)
   ============================================================= */
.brand-logo {
  font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--forest-2);
}
.brand-logo span { color: var(--green); }
.brand-logo--footer { color: #fff; font-size: 24px; display: inline-block; margin-bottom: var(--sp-16); }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 26px; overflow: hidden;
  transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-400), var(--green) 55%, var(--green-600));
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 18px 40px rgba(22,163,74,.48); transform: translateY(-2px); }
/* sweeping shine */
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
}
.btn-primary:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 130%; } }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); }

/* over the dark hero, before scroll, logo/nav must be light */
.site-header:not(.scrolled) .brand-logo { color: #fff; }
.site-header:not(.scrolled) .brand-logo span { color: var(--lime); }
.site-header:not(.scrolled) .nav-link { color: rgba(255,255,255,.82); }
.site-header:not(.scrolled) .nav-link:hover { color: #fff; background: rgba(255,255,255,.14); }
.site-header:not(.scrolled) .lang-switch { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); }
.site-header:not(.scrolled) .lang-btn { color: rgba(255,255,255,.85); }

.nav-links { display: none; gap: 2px; }
.nav-link {
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  padding: 8px 13px; border-radius: 10px;
  transition: color .16s ease, background-color .16s ease;
}
.nav-link:hover { color: var(--green); background: var(--bg-tint); }

.header-right { display: flex; align-items: center; gap: var(--sp-12); }
.lang-switch { display: inline-flex; padding: 3px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.lang-btn {
  border: 0; background: transparent; color: var(--ink-3);
  font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-pill);
  transition: color .16s ease, background-color .16s ease;
}
.lang-btn.is-active { background: var(--green); color: #fff; }
.header-right .btn-sm { display: none; }

/* =============================================================
   HERO — video fon + yashil overlay + animatsion karta
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + var(--sp-56));
  padding-bottom: var(--sp-80);
  min-height: 100svh; display: flex; align-items: center;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.16); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 78% 30%, rgba(22,163,74,.28), transparent 60%),
    linear-gradient(180deg, rgba(3,20,12,.78) 0%, rgba(6,40,24,.82) 45%, rgba(4,26,15,.94) 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6;
  mix-blend-mode: screen; pointer-events: none;
}
.hero-glow--1 { width: 380px; height: 380px; top: -80px; right: -60px;
  background: radial-gradient(circle, var(--lime), transparent 70%); animation: floaty 9s ease-in-out infinite; }
.hero-glow--2 { width: 320px; height: 320px; bottom: -60px; left: -40px;
  background: radial-gradient(circle, var(--mint), transparent 70%); animation: floaty 11s ease-in-out infinite reverse; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: var(--sp-40); align-items: center;
}
.hero-copy { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: #eafff1; background: rgba(22,163,74,.22); border: 1px solid rgba(74,222,128,.4);
  padding: 8px 16px; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px); margin-bottom: var(--sp-20);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulseDot 1.8s infinite;
}
/* first char in the RU/UZ text is "●" — hide it, we render our own dot */
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero-title {
  font-size: clamp(34px, 8.4vw, 62px); font-weight: 800; line-height: 1.06;
  letter-spacing: -.025em; color: #fff; margin-bottom: var(--sp-16);
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-title::after { content: ""; }
.hero-sub {
  font-size: clamp(16px, 4vw, 20px); color: rgba(255,255,255,.9);
  max-width: 54ch; margin-inline: auto var(--sp-32);
}

.hero-form { max-width: 500px; margin-inline: auto; }
.field-join {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 16px; box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.field-join:focus-within { box-shadow: 0 0 0 4px rgba(74,222,128,.4), var(--shadow); transform: translateY(-2px); }
.field-ico { display: inline-flex; color: var(--green); flex: 0 0 auto; }
.field-ico svg { width: 20px; height: 20px; }
.field-join .input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font-size: 16px; font-weight: 600; padding: 12px 6px;
}
.field-join .input::placeholder { color: var(--ink-3); }
.field-join .input:focus { outline: none; }
.field-join .btn { white-space: nowrap; padding: 14px 22px; }

.form-note { font-size: 13px; color: rgba(255,255,255,.72); margin-top: var(--sp-12); }
.form-status { font-size: 14px; font-weight: 600; margin-top: var(--sp-12); min-height: 20px; color: #fff; }
.form-status.ok { color: #86efac; }
.form-status.err { color: #fca5a5; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-20) var(--sp-32); margin-top: var(--sp-32); }
.hero-badges li { display: flex; flex-direction: column; align-items: center; }
.hero-badges strong { font-size: 28px; font-weight: 800; color: #fff; }
.hero-badges span { font-size: 13px; color: rgba(255,255,255,.72); }

/* Hero art: animatsion video karta */
.hero-art { display: none; position: relative; }
.hero-card {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 6px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  animation: floaty 7s ease-in-out infinite;
}
.hero-card-video { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-card-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); color: var(--forest-2);
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 14px; box-shadow: var(--shadow);
}
.hero-card-badge svg { width: 18px; height: 18px; color: var(--green); }
.hero-card-badge em { font-style: normal; }
.hero-float {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 18px; color: var(--green);
  background: rgba(255,255,255,.95); box-shadow: var(--shadow);
}
.hero-float svg { width: 30px; height: 30px; }
.hero-float--1 { top: -18px; right: 26px; animation: floaty 5.5s ease-in-out infinite; }
.hero-float--2 { bottom: 28px; right: -18px; animation: floaty 6.5s ease-in-out infinite reverse; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* bottom wave transition into white body */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; }
.hero-wave path { fill: var(--bg); }

/* =============================================================
   Sections
   ============================================================= */
.section { padding-block: var(--sp-72); position: relative; }
.section-alt { background: var(--bg-soft); }
@media (min-width: 768px) { .section { padding-block: 96px; } }

.section-head { max-width: 640px; margin-bottom: var(--sp-40); }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--green);
  background: var(--bg-tint); padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: var(--sp-16);
}
.section-title { font-size: clamp(27px, 6vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--forest-2); margin-bottom: var(--sp-16); }
.section-lead { font-size: clamp(15px, 4vw, 18px); color: var(--ink-2); max-width: 56ch; }

/* =============================================================
   Service cards
   ============================================================= */
.cards { display: grid; grid-template-columns: 1fr; gap: var(--sp-20); }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-32) var(--sp-24); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--green-400), var(--mint));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(22,163,74,.35); }
.card:hover::before { transform: scaleX(1); }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 18px; margin-bottom: var(--sp-20);
  background: linear-gradient(135deg, var(--bg-tint), #fff);
  border: 1px solid var(--line); color: var(--green);
  transition: transform .25s ease;
}
.card:hover .card-ico { transform: rotate(-6deg) scale(1.06); }
.card-ico svg { width: 30px; height: 30px; }
.card-title { font-size: 22px; font-weight: 800; color: var(--forest-2); margin-bottom: var(--sp-8); }
.card-text { font-size: 15px; color: var(--ink-2); margin-bottom: var(--sp-16); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card-tags li { font-size: 12px; font-weight: 700; color: var(--green-600); background: var(--bg-tint); padding: 5px 12px; border-radius: var(--radius-pill); }

/* =============================================================
   Showcase (real photos)
   ============================================================= */
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-20); }
@media (min-width: 800px) { .showcase-grid { grid-template-columns: 1.4fr 1fr; } }
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--sp-24) var(--sp-20) var(--sp-16);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  color: #fff; background: linear-gradient(180deg, transparent, rgba(4,26,15,.9));
}
.shot figcaption strong { font-size: clamp(15px, 3vw, 19px); font-weight: 700; line-height: 1.25; }
.shot-tag {
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #052e18; background: var(--lime); padding: 5px 12px; border-radius: var(--radius-pill);
}
@media (min-width: 800px) { .shot--wide img { aspect-ratio: auto; } }

/* =============================================================
   Features
   ============================================================= */
.features { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-24); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: var(--sp-16);
  background: linear-gradient(135deg, var(--green-400), var(--green)); color: #fff;
  box-shadow: var(--shadow-green);
}
.feat-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 800; color: var(--forest-2); margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--ink-2); }

/* =============================================================
   Steps
   ============================================================= */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); counter-reset: step; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: var(--sp-24); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: var(--sp-16);
  box-shadow: var(--shadow-green);
}
.step-title { font-size: 19px; font-weight: 800; color: var(--forest-2); margin-bottom: 6px; }
.step-text { font-size: 14px; color: var(--ink-2); }

/* =============================================================
   Prices / Calc
   ============================================================= */
.prices-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-32); align-items: start; }
@media (min-width: 900px) { .prices-grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-56); align-items: center; } }
.perk-list { margin-top: var(--sp-24); display: grid; gap: var(--sp-12); }
.perk-list li { position: relative; padding-left: 34px; font-size: 16px; font-weight: 600; color: var(--forest-2); }
.perk-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; line-height: 24px; text-align: center;
  color: #fff; background: linear-gradient(135deg, var(--green-400), var(--green)); border-radius: 50%; font-size: 13px; font-weight: 800;
}
.calc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-32) var(--sp-24); box-shadow: var(--shadow);
}
.calc-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--green-400), var(--mint), var(--green));
  opacity: .55; filter: blur(12px);
}
.calc-title { font-size: 23px; font-weight: 800; color: var(--forest-2); margin-bottom: var(--sp-16); }
.lbl { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: var(--sp-16) 0 6px; }
.calc-card .lbl:first-of-type { margin-top: 0; }

.input { font-family: var(--font); font-size: 16px; color: var(--ink); }
.input-block {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-weight: 500;
  transition: border-color .16s ease, box-shadow .16s ease;
}
textarea.input-block { resize: vertical; }
.input-block::placeholder { color: var(--ink-3); font-weight: 500; }
.input-block:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.14); }
select.input-block { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2312833c' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.calc-card .btn-block { margin-top: var(--sp-24); }

/* =============================================================
   Reviews
   ============================================================= */
.reviews { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-24); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #f5a623; font-size: 16px; letter-spacing: 2px; margin-bottom: var(--sp-12); }
.review p { font-size: 15px; color: var(--ink); margin-bottom: var(--sp-16); }
.review figcaption { font-size: 14px; color: var(--ink-2); }
.review figcaption strong { color: var(--forest-2); }

/* =============================================================
   FAQ
   ============================================================= */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-list { display: grid; gap: var(--sp-12); }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px var(--sp-20); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: rgba(22,163,74,.4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  font-size: 17px; font-weight: 700; color: var(--forest-2);
  padding: var(--sp-16) 44px var(--sp-16) 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; line-height: 28px; text-align: center;
  color: #fff; background: linear-gradient(135deg, var(--green-400), var(--green)); border-radius: 50%;
  font-size: 20px; font-weight: 600; transition: transform .25s ease;
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item p { font-size: 15px; color: var(--ink-2); padding: 0 0 var(--sp-16); margin-top: -4px; }

/* =============================================================
   CTA (green gradient band)
   ============================================================= */
.cta-section { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-600) 0%, var(--forest-2) 100%); }
.cta-section::before, .cta-section::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none;
}
.cta-section::before { width: 340px; height: 340px; background: var(--lime); top: -100px; right: -60px; animation: floaty 10s ease-in-out infinite; }
.cta-section::after  { width: 300px; height: 300px; background: var(--mint); bottom: -110px; left: -60px; animation: floaty 12s ease-in-out infinite reverse; }
.cta-inner { position: relative; z-index: 1; max-width: 620px; margin-inline: auto; text-align: center; }
.cta-title { font-size: clamp(26px, 6vw, 42px); font-weight: 800; color: #fff; margin-bottom: var(--sp-12); }
.cta-sub { color: rgba(255,255,255,.9); font-size: 18px; margin-bottom: var(--sp-32); }
.cta-form { display: grid; gap: var(--sp-12); text-align: left; }
.cta-form .input-block { border-color: transparent; }
.cta-form .btn-primary { background: #fff; color: var(--green-600); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.cta-form .btn-primary:hover { filter: none; background: #f0fff6; }
.cta-form .btn-primary::after { display: none; }
.cta-form .form-status { color: #fff; }
.cta-form .form-status.ok { color: #d1fae5; }
.cta-form .form-status.err { color: #fecaca; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--forest); color: #fff; padding-top: var(--sp-72); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: var(--sp-40); padding-bottom: var(--sp-40); }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-desc { color: rgba(255,255,255,.6); font-size: 15px; max-width: 40ch; }
.footer-col h4 { font-size: 16px; font-weight: 800; margin-bottom: var(--sp-16); }
.footer-link { display: block; color: rgba(255,255,255,.7); font-size: 15px; padding: 5px 0; transition: color .16s ease, padding-left .16s ease; }
.footer-link:hover { color: var(--lime); padding-left: 4px; }
.footer-bottom { padding-block: var(--sp-24); border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 13px; }

/* =============================================================
   FAB group (mobile: Telegram + Call)
   ============================================================= */
.fab-group {
  position: fixed; right: 14px; bottom: 14px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
}
.fab {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 15px;
  border-radius: var(--radius-pill);
}
.fab-call {
  background: linear-gradient(135deg, var(--green-400), var(--green)); padding: 13px 18px; box-shadow: var(--shadow-green);
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab-call svg { width: 20px; height: 20px; }
.fab-tg {
  background: #229ED9; width: 52px; height: 52px; justify-content: center;
  box-shadow: 0 10px 26px rgba(34,158,217,.45);
}
.fab-tg span { position: absolute; left: -9999px; }
.fab-tg svg { width: 24px; height: 24px; }
@keyframes fabPulse { 0%,100% { box-shadow: 0 10px 26px rgba(22,163,74,.4); } 50% { box-shadow: 0 12px 44px rgba(22,163,74,.75); } }
@media (min-width: 900px) { .fab-group { display: none; } }

/* =============================================================
   Mobile refinements
   ============================================================= */
@media (max-width: 560px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: var(--sp-72); }
  .field-join { flex-wrap: wrap; border-radius: 22px; padding: 10px; gap: 8px; }
  .field-ico { display: none; }
  .field-join .input { flex: 1 1 100%; text-align: center; padding: 13px 14px; }
  .field-join .btn { flex: 1 1 100%; padding: 15px; }
  .eyebrow { font-size: 12px; padding: 7px 14px; }
  .hero-badges { gap: var(--sp-16) var(--sp-24); }
  .hero-badges strong { font-size: 24px; }
  .section { padding-block: var(--sp-56); }
  .card, .feature, .step, .review, .calc-card { padding: var(--sp-20); }
  .btn { padding: 15px 22px; }
  .fab { padding: 12px 16px; font-size: 14px; }
}
@media (max-width: 400px) {
  .container { padding-inline: 16px; }
  .hero-title { font-size: 32px; }
}

/* =============================================================
   Reveal animation
   ============================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card, .hero-float, .hero-glow, .hero-video-bg, .fab,
  .cta-section::before, .cta-section::after, .eyebrow::before { animation: none !important; }
  .hero-video-bg { transform: none; }
}

/* =============================================================
   Desktop layout
   ============================================================= */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .header-right .btn-sm { display: inline-flex; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .hero-copy { text-align: left; }
  .hero-sub { margin-inline: 0 var(--sp-32); }
  .hero-form { margin-inline: 0; }
  .hero-badges { justify-content: flex-start; }
  .hero-art { display: block; }
}
