/* ============================================================
   head.uz — site-only styles
   Tokens + every component come from the canonical HEAD_WEB system:
     colors_and_type.css  +  kit.css   (upstream: 01_HEAD/brand/)
   This file holds ONLY what the marketing site adds on top —
   the lead form, the mobile menu, and the marquee slash.
   ============================================================ */

/* marquee slash — the kit inlines this via a style attr; the static page uses a class */
.hero-marquee .item .sl { color: var(--navy); margin: 0 -28px 0 28px; }

/* mobile dropdown menu (burger target) */
.mobile-menu { display: none; position: fixed; top: 84px; left: 22px; right: 22px; z-index: 49;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 12px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 16px; font-weight: 500; font-size: 16px; border-radius: var(--r-sm); }
.mobile-menu a:hover { background: var(--bg-tint); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* lead form (CTA / #boglanish section) */
.leadform { max-width: 720px; margin: 0 auto; text-align: left; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: clamp(28px, 4vw, 44px); }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lf-full { grid-column: 1 / -1; }
.lf-field label { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.lf-field .req { color: var(--navy); }
.lf-field input, .lf-field textarea { width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 15px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.lf-field textarea { resize: vertical; min-height: 120px; }
.lf-field input::placeholder, .lf-field textarea::placeholder { color: var(--fg3); }
.lf-field input:focus, .lf-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-tint); }
.lf-submit { width: 100%; justify-content: center; margin-top: 24px; }
.lf-submit:disabled { opacity: .6; cursor: default; }
.lf-status { margin: 16px 0 0; font-size: 15px; text-align: center; color: var(--fg2); min-height: 1.4em; }
.lf-status.ok { color: var(--ink); font-weight: 600; }
.lf-status.err { color: var(--danger, #FF2D2D); }
.lf-status a { color: var(--navy); text-decoration: underline; }

/* ---------------- HERO ---------------- */
/* Two modes — JS adds one class to .hero-scene by capability:
     .hero-scrub  desktop + mouse + motion         → pinned full-bleed video scrubs to scroll; text overlaid top-center
     .hero-text   mobile / touch / reduced-motion   → clean text-only hero; NO video loaded or shown
   No JS → text-only (graceful). */

/* shared text styling */
.hero-inner .eyebrow { margin-bottom: 18px; justify-content: center; }
.hero-inner .hero-head { line-height: 1.07; margin: 0 auto; max-width: 19ch; text-wrap: balance;
  font-size: clamp(28px, 6.4vw, 56px); }
.hero-inner .hero-cta { justify-content: center; margin-top: clamp(24px, 4vw, 32px); flex-wrap: wrap; }
.hero-marquee-wrap { margin-top: 0; }

/* === BASE / TEXT-ONLY (hero-text, no-JS) — video hidden, text centered === */
.hero-scene { position: relative; }
.hero-sticky { display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--white); min-height: 62vh;
  padding: clamp(128px, 22vw, 184px) 22px clamp(54px, 12vw, 100px); }
.hero-scrim { display: none; }
.hero-video { display: none; }                          /* mobile / text mode: no video */
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 700px; text-align: center; }

/* === SCRUB: desktop pinned, full-bleed === */
.hero-scene.hero-scrub { height: 240vh; }
.hero-scene.hero-scrub .hero-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px;
  overflow: hidden; display: block; justify-content: initial; padding: 0; }
.hero-scene.hero-scrub .hero-scrim { display: block; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.97) 22%, rgba(255,255,255,.5) 38%, rgba(255,255,255,0) 54%); }
.hero-scene.hero-scrub .hero-video { display: block; position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%;
  background: var(--white); pointer-events: none; }
.hero-scene.hero-scrub .hero-inner { max-width: 940px; margin: 0 auto;
  padding-top: clamp(116px, 15vh, 176px); }
.hero-scene.hero-scrub .hero-inner .hero-head { font-size: clamp(40px, 4.3vw, 56px); }

/* misc site responsive (kit.css handles nav/grid/case/footer collapses) */
@media (max-width: 900px) {
  .nav-burger { cursor: pointer; }
  .lf-grid { grid-template-columns: 1fr; }
}
/* centered hero eyebrow: drop the leading dot when it wraps to 2 lines on narrow screens */
@media (max-width: 560px) {
  .hero-inner .eyebrow .dot { display: none; }
}
