/* SYBER — company site. Fintech-bold: near-white canvas, elevated rounded cards,
   teal brand gradient, big confident type. */

:root {
  --teal: #0F766E;
  --teal-dark: #0B5A54;
  --teal-soft: #E6F4F2;
  --amber: #D97706;
  --amber-soft: #FEF3C7;
  --indigo: #4F46E5;
  --indigo-soft: #EEF2FF;
  --rose: #E11D48;
  --rose-soft: #FFE4E6;
  --emerald: #059669;
  --emerald-soft: #D1FAE5;
  --sky: #0284C7;
  --sky-soft: #E0F2FE;
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-2: #64748B;
  --border: #E8EEF2;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 4px 16px rgba(15, 23, 42, 0.06);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Flexibility safety net: decorative absolute mockups must never open a horizontal scrollbar. */
  overflow-x: hidden;
}

/* Scroll-reveal: site.js tags elements with .reveal and flips .visible on intersection. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(250, 251, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

/* The real SYBER mark (the interlocking-hexagon symbol) in the header. The PNG has a white
   background, so it sits in a white rounded tile with a hairline border — clean on the light
   sticky header, no fake "empty" letter placeholder. */
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--border);
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 19px; letter-spacing: 0.14em; }
.brand-name small { color: var(--text-2); font-size: 11px; letter-spacing: 0.06em; }

.nav { display: flex; gap: 22px; margin-left: auto; }

.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}

.nav a:hover { color: var(--teal); }

.header-cta { margin-left: 8px; padding: 11px 20px; font-size: 15px; }

/* Hamburger — hidden on desktop, revealed at the mobile breakpoint below. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* The in-drawer CTA is only shown inside the mobile nav panel. Scoped as `.nav .nav-cta-mobile`
   (specificity 0,0,2,0) so it beats `.button { display: inline-flex }` — otherwise the pill leaks
   into the desktop header (a second, duplicate "Продукты"). */
.nav .nav-cta-mobile { display: none; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  cursor: pointer;
}

.button:active { transform: translateY(1px); }

.button.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.32);
}

.button.primary:hover { box-shadow: 0 10px 26px rgba(15, 118, 110, 0.42); }

.button.light {
  background: #fff;
  color: var(--teal);
  box-shadow: var(--shadow-soft);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.button.ghost:hover { background: rgba(255, 255, 255, 0.22); }

.text-link {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.text-link:hover { text-decoration: underline; }

/* ---------- Hero (SYBER) ---------- */

.hero {
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-dark) 60%, #08423E 100%);
  color: #fff;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 56px) clamp(56px, 8vw, 96px);
  border-radius: 0 0 32px 32px;
}

.hero-inner { max-width: 1080px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero .lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 760px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.hero-stats strong { display: block; font-size: clamp(23px, 5vw, 30px); font-weight: 800; }
.hero-stats span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* Hero mockup visual (pure CSS, no images) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-visual { position: relative; min-height: 380px; }

.mock-desktop {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border);
}

.mock-titlebar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.mock-titlebar span:first-child { background: #FCA5A5; }
.mock-titlebar span:nth-child(2) { background: #FCD34D; }
.mock-titlebar span:nth-child(3) { background: #86EFAC; }
.mock-titlebar b { margin-left: 8px; font-size: 12px; color: var(--text-2); font-weight: 700; }

.mock-desktop-body { padding: 16px; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis div { background: var(--teal-soft); border-radius: 10px; padding: 10px 12px; }
.mock-kpis small { display: block; font-size: 10.5px; color: var(--text-2); }
.mock-kpis strong { font-size: 15px; font-weight: 800; color: var(--teal); }

.mock-rows div { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 13px; border-bottom: 1px dashed var(--border); }
.mock-rows span { flex: 1; color: var(--text); }
.mock-rows i { font-style: normal; color: var(--text-2); font-size: 12px; }
.mock-rows b { font-weight: 700; }
.mock-rows .mock-total { border-bottom: none; font-weight: 800; }
.mock-rows .mock-total b { color: var(--teal); font-size: 15px; }

.mock-phone {
  position: absolute;
  right: -8px;
  bottom: -26px;
  width: 168px;
  background: #fff;
  border-radius: 22px;
  padding: 20px 14px 16px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4);
  transform: rotate(2.5deg);
}

.mock-phone-notch { width: 54px; height: 5px; border-radius: 999px; background: #E2E8F0; margin: 0 auto 12px; }
.mock-phone small { display: block; font-size: 10px; color: var(--text-2); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.mock-phone-kpi { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border-radius: 12px; padding: 10px 12px; color: #fff; margin-bottom: 10px; }
.mock-phone-kpi span { font-size: 10px; opacity: 0.85; display: block; }
.mock-phone-kpi strong { font-size: 18px; font-weight: 800; }
.mock-phone-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-bottom: 10px; }
.mock-phone-bars i { flex: 1; background: var(--teal-soft); border-radius: 4px 4px 0 0; }
.mock-phone-bars i:nth-child(6) { background: var(--teal); }
.mock-phone-row { display: flex; justify-content: space-between; font-size: 11.5px; padding: 5px 0; border-top: 1px solid var(--border); }
.mock-phone-row span { color: var(--text-2); }
.mock-phone-row b { font-weight: 700; }
.mock-phone-row b.ok { color: var(--emerald); }

/* ---------- Sections ---------- */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 56px) 0;
}

.section-heading { max-width: 680px; margin-bottom: 40px; }

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-heading p { color: var(--text-2); font-size: 17px; }

/* ---------- Icon chips ---------- */

.chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}

.chip svg { width: 24px; height: 24px; }

.chip-teal { background: var(--teal-soft); color: var(--teal); }
.chip-amber { background: var(--amber-soft); color: var(--amber); }
.chip-indigo { background: var(--indigo-soft); color: var(--indigo); }
.chip-rose { background: var(--rose-soft); color: var(--rose); }
.chip-emerald { background: var(--emerald-soft); color: var(--emerald); }
.chip-sky { background: var(--sky-soft); color: var(--sky); }

/* ---------- Products (SYBER) ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-card.flagship { border: 2px solid var(--teal); }

.product-card.muted { background: #F4F7F9; box-shadow: none; }

.product-card h3 { font-size: 22px; font-weight: 800; }

.product-tag {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-card p:not(.product-tag) { color: var(--text-2); font-size: 15px; margin-bottom: 12px; }

.product-card .text-link { margin-top: auto; }

/* ---------- DORU showcase ---------- */

.doru-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 44px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 14px; }

.doru-panel {
  background: linear-gradient(160deg, var(--teal), var(--teal-dark));
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}

.doru-logo { width: 104px; height: auto; margin-bottom: 20px; border-radius: 18px; box-shadow: 0 10px 26px rgba(0,0,0,0.20); }

.mock-screen {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  color: var(--text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-metrics div {
  background: var(--teal-soft);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.mock-metrics strong { display: block; font-size: 16px; font-weight: 800; color: var(--teal); }
.mock-metrics small { font-size: 11px; color: var(--text-2); }

.mock-receipt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  font-size: 13px;
}

.mock-receipt span { color: var(--text-2); }
.mock-receipt b { font-weight: 700; }
.mock-receipt .total { border-top: 1px dashed var(--border); padding-top: 8px; color: var(--text); font-weight: 800; }

.panel-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }

/* ---------- Downloads ---------- */

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.download-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.download-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.download-card p { color: var(--text-2); font-size: 15px; }

.download-action { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.download-action span { color: var(--text-2); font-size: 14px; font-weight: 600; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 30px 28px;
}

.price-card.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow);
}

.price-label {
  display: block;
  color: var(--text-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-value { font-size: clamp(30px, 6vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.price-period { display: block; color: var(--text-2); font-size: 14px; margin: 2px 0 12px; }
.price-card p { color: var(--text-2); font-size: 14.5px; }

.payment-note {
  background: var(--teal-soft);
  border-radius: var(--radius);
  padding: 20px 26px;
  color: var(--teal-dark);
  font-size: 15px;
}

.price-card { position: relative; }

.popular-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.35);
}

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step-card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 780px; }

.faq details {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 800;
  transition: transform 0.2s;
}

.faq details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }

.faq details p { padding: 0 24px 20px; color: var(--text-2); font-size: 15px; }

/* ---------- Contacts ---------- */

.contacts { padding-bottom: 0; }

.contact-card {
  background: linear-gradient(140deg, var(--teal), var(--teal-dark));
  border-radius: 28px;
  color: #fff;
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.contact-card h2 { color: #fff; margin-bottom: 10px; }
.contact-card p { color: rgba(255, 255, 255, 0.86); max-width: 520px; }

.contact-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-actions .button { font-size: 20px; padding: 16px 30px; }
.contact-actions span { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }

/* ---------- Footer ---------- */

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px clamp(20px, 5vw, 56px) 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: 14px;
}

.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--text); letter-spacing: 0.12em; }

.footer-links { display: flex; gap: 18px; margin-left: auto; }
.footer-links a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--teal); }

.footer-copy { width: 100%; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */

/* Tablet: stack the two-column showcases into one flexible column. */
@media (max-width: 900px) {
  .doru-showcase { grid-template-columns: 1fr; }
  .doru-panel { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* Phones & tablets: collapse the nav into a hamburger drawer so the header never
   crowds or wraps. Breakpoint 900px because the rebrand added a 5th nav link
   (О компании · Продукты · Для бизнеса · Для покупателей · Контакты) — the full
   horizontal row + CTA no longer fits below ~900px. */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-header { gap: 14px; }
  .brand { margin-right: auto; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px clamp(20px, 5vw, 56px) 18px;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 16px; padding: 13px 8px; border-radius: 11px; }
  .nav a:hover { background: var(--teal-soft); color: var(--teal); }
  .nav .nav-cta-mobile { display: inline-flex; margin-top: 10px; width: 100%; }
  .hero-actions .button { width: 100%; }
  .footer-links { margin-left: 0; }
}

/* Small phones: tighten rhythm, drop the mock rotation, keep everything inside
   the viewport (no horizontal scroll), and let stats/cards reflow. */
@media (max-width: 560px) {
  .hero { border-radius: 0 0 24px 24px; }
  .hero-actions { margin-bottom: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-visual { min-height: 340px; }
  .mock-desktop { transform: none; }
  .mock-phone { right: 0; bottom: -18px; transform: rotate(2deg); }
  .products-grid, .features-grid, .downloads, .pricing-grid, .steps-grid { gap: 16px; }
  .product-card, .feature, .download-card, .price-card, .step-card { padding: 22px; }
  .download-action { width: 100%; }
  .download-action .button { width: 100%; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
}

/* Very small phones: single-column stats and a smaller decorative phone mock. */
@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .mock-phone { width: 142px; padding: 16px 12px 14px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
}

/* ============================================================================
   REBRAND 2026: SYBER company-first → audience fork → two worlds (DORU / DORU MOBI).
   Teal stays the company + business colour; coral (#FF7A59) is scoped to the
   customer fork door and the .mobi-world block only, so the two accents never
   fight. Everything reuses the existing fintech-bold vocabulary.
   ============================================================================ */

/* Coral scale, tuned for WCAG AA:
   --coral      bright salmon accent — decorative ONLY (borders, aria-hidden phone accents); white text on it fails AA.
   --coral-deep solid fill that carries white text/icons (badges, pills, add-btn) — white ≈5.2:1.
   --coral-soft soft tint background.
   --coral-ink  coral TEXT/icons on LIGHT surfaces — ≈6:1 on white, ≈5.1:1 on coral-soft.
   --coral-grad button/panel gradient — white text clears 4.5:1 anywhere on it. */
:root {
  --coral: #FF7A59;
  --coral-deep: #C2410C;
  --coral-soft: #FFE9E1;
  --coral-ink: #B23A0F;
  --coral-grad: linear-gradient(135deg, #C2410C, #A8380D);
}

/* Anchor offset so sticky-header jumps don't hide section tops. */
#about, #fork, #business, #mobi, #contacts, #showcase, #doru, #pricing { scroll-margin-top: 84px; }

/* ---------- Coral primitives ---------- */
.chip-coral { background: var(--coral-soft); color: var(--coral-ink); }

.button.coral {
  background: var(--coral-grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(168, 56, 13, 0.32);
}
.button.coral:hover { box-shadow: 0 12px 28px rgba(168, 56, 13, 0.44); }

/* ---------- DORU|MOBI wordmark lockup (teal DORU + coral MOBI pill) ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.wordmark b { font-family: "Sora", sans-serif; font-weight: 800; letter-spacing: 0.02em; color: var(--teal-dark); font-size: 1em; }
.wordmark .mobi-pill { background: var(--coral-deep); color: #fff; font-weight: 800; font-size: 0.62em; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 8px; }
.wordmark.on-coral b { color: #fff; }
.wordmark.on-coral .mobi-pill { background: #fff; color: var(--coral-ink); }
.wordmark.wordmark-lg { gap: 10px; }
.wordmark.wordmark-lg b { font-size: 30px; }

/* ---------- The audience fork (two doors) ---------- */
.fork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.fork-door {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s;
}
.fork-door.biz { border-color: rgba(15, 118, 110, 0.35); }
.fork-door.cust { border-color: rgba(255, 122, 89, 0.4); }
.fork-door.biz:hover { border-color: var(--teal); background: var(--teal-soft); transform: translateY(-4px); box-shadow: var(--shadow); }
.fork-door.cust:hover { border-color: var(--coral); background: var(--coral-soft); transform: translateY(-4px); box-shadow: var(--shadow); }

.fork-head { display: flex; align-items: center; gap: 12px; }
.fork-head .chip { margin-bottom: 0; width: 44px; height: 44px; }
.fork-tag { font-weight: 700; font-size: 13px; letter-spacing: 0.03em; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.fork-tag .wordmark b { font-size: 14px; }
.fork-tag .wordmark .mobi-pill { font-size: 9px; padding: 2px 6px; }

.fork-door h3 { font-size: clamp(21px, 2.4vw, 25px); font-weight: 800; letter-spacing: -0.01em; }
.fork-door > p { color: var(--text-2); font-size: 15px; }

.fork-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fork-chips span {
  font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: var(--bg); color: var(--text-2); border: 1px solid var(--border);
}
.fork-door.biz .fork-chips span { color: var(--teal-dark); }
.fork-door.cust .fork-chips span { color: var(--coral-ink); }

.fork-cta { margin-top: auto; align-self: flex-start; }
/* Whole-card link: a transparent cover anchor (direct child of the card, NOT the button) makes
   the entire door clickable. Avoids wrapping block content in <a> (the HTML adoption-agency parser
   bug) AND avoids fighting .button.primary's own overflow:hidden + ::after shimmer, which would
   otherwise clip a button-based overlay to just the button. The visible .fork-cta is decorative. */
.fork-cover { position: absolute; inset: 0; z-index: 2; border-radius: 24px; }
.fork-cover:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.fork-door.cust .fork-cover:focus-visible { outline-color: var(--coral); }

/* Mini mockups inside each door — recognisable at a glance, pure CSS. */
.door-mock { border-radius: 16px; overflow: hidden; margin-top: 4px; }
.door-desk { background: #0e2320; padding: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.door-desk .dd-bar { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.door-desk .dd-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.door-desk .dd-bar b { margin-left: 6px; font-size: 10.5px; color: rgba(255,255,255,0.7); font-weight: 700; }
.door-desk .dd-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.door-desk .dd-kpis div { background: rgba(20,184,166,0.16); border-radius: 8px; padding: 8px 10px; }
.door-desk .dd-kpis small { display: block; font-size: 9px; color: rgba(255,255,255,0.6); }
.door-desk .dd-kpis strong { font-size: 14px; font-weight: 800; color: #5eead4; }
.door-desk .dd-rows { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-size: 11px; color: rgba(255,255,255,0.82); }
.door-desk .dd-rows b { font-weight: 800; color: #fff; }

.door-mini-phone { background: linear-gradient(150deg, var(--teal-dark), var(--teal)); padding: 12px; display: grid; gap: 8px; }
.door-mini-phone .dmp-loc { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; background: rgba(255,255,255,0.18); color: #fff; font-size: 10.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px; }
.door-mini-phone .dmp-loc svg { width: 12px; height: 12px; }
.door-mini-phone .dmp-search { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 10px; padding: 8px 11px; font-size: 12px; font-weight: 600; color: var(--text); }
.door-mini-phone .dmp-search svg { width: 15px; height: 15px; color: var(--teal); }
.door-mini-phone .dmp-res { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 10px; padding: 9px 11px; }
.door-mini-phone .dmp-name { font-size: 11.5px; font-weight: 700; color: var(--text-2); }
.door-mini-phone .dmp-price { font-size: 14px; font-weight: 800; color: var(--coral-ink); }

/* ---------- World wrappers + wayfinding ---------- */
.world { position: relative; }
.world-topbar { max-width: 1120px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px) 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back-fork { color: var(--text-2); font-weight: 700; font-size: 14px; text-decoration: none; }
.back-fork:hover { color: var(--teal); }
.mobi-world .back-fork:hover { color: var(--coral-ink); }
.world-badge { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 15px; border-radius: 999px; }
.world-badge-teal { background: var(--teal-soft); color: var(--teal); }
.world-badge-coral { background: var(--coral-soft); color: var(--coral-ink); }

.world-crosssell { max-width: 1120px; margin: clamp(28px, 5vw, 44px) auto 0; padding: 0 clamp(20px, 5vw, 56px); }
.world-crosssell a { display: inline-block; font-weight: 700; font-size: 15px; color: var(--coral-ink); text-decoration: none; padding: 12px 0; }
.world-crosssell a:hover { text-decoration: underline; }

/* Door-click highlight (progressive enhancement from site.js) — no transform (keeps inner sticky). */
.world.world-focus { animation: worldFocus 1.6s ease; }
@keyframes worldFocus { 0% { box-shadow: inset 0 0 0 3px rgba(20,184,166,0); } 25% { box-shadow: inset 0 0 0 3px rgba(20,184,166,0.35); } 100% { box-shadow: inset 0 0 0 3px rgba(20,184,166,0); } }
.mobi-world.world-focus { animation: worldFocusCoral 1.6s ease; }
@keyframes worldFocusCoral { 0% { box-shadow: inset 0 0 0 3px rgba(255,122,89,0); } 25% { box-shadow: inset 0 0 0 3px rgba(255,122,89,0.4); } 100% { box-shadow: inset 0 0 0 3px rgba(255,122,89,0); } }

/* ---------- DORU MOBI world (coral) ---------- */
.mobi-world { --accent: var(--coral); --accent-deep: var(--coral-deep); --accent-soft: var(--coral-soft); }
.eyebrow-coral { color: var(--coral-ink); }
#mobi .step-num { background: var(--coral-grad); }
/* Keep the MOBI hero's white CTA labelled in coral (not the teal .button.light inherits) so the
   customer world's primary action reads coral, not company-teal. */
.mobi-world .button.light { color: var(--coral-ink); }

/* MOBI intro (coral panel + phone) */
.mobi-intro {
  background: linear-gradient(140deg, #C2410C, #A8380D);
  border-radius: 28px; color: #fff;
  padding: clamp(26px, 4vw, 46px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 44px); align-items: center;
  box-shadow: 0 22px 54px rgba(168, 56, 13, 0.28);
}
.mobi-intro h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 12px; }
.mobi-intro p { color: #fff; font-size: 17px; margin-bottom: 22px; max-width: 520px; }
.mobi-intro-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mobi-dl-note { font-size: 13.5px; color: #fff; font-weight: 600; }
.mobi-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mp-caption { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); }

/* Disclaimer callout */
.mobi-disclaimer-section { padding-top: clamp(28px, 4vw, 40px); }
.mobi-disclaimer {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--coral-soft);
  border: 1px solid rgba(232, 94, 60, 0.28);
  border-left: 5px solid var(--coral);
  border-radius: 18px; padding: 22px 26px;
}
.mobi-disclaimer-icon { color: var(--coral-ink); flex: 0 0 auto; margin-top: 1px; }
.mobi-disclaimer-icon svg { width: 26px; height: 26px; }
.mobi-disclaimer p { color: var(--text); font-size: 15.5px; line-height: 1.55; }
.mobi-disclaimer strong { color: var(--coral-ink); }

/* Final coral CTA banner */
.mobi-final {
  background: linear-gradient(140deg, #C2410C, #A8380D);
  border-radius: 28px; color: #fff; padding: clamp(32px, 5vw, 52px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: 0 22px 54px rgba(168, 56, 13, 0.28);
}
.mobi-final h2 { color: #fff; margin-bottom: 10px; }
.mobi-final-note { color: #fff; font-size: 15px; }
.mobi-final-fine { color: rgba(255, 255, 255, 0.92); font-size: 13px; margin-top: 8px; max-width: 460px; }
.mobi-final-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mobi-final-actions .button.coral { background: #fff; color: var(--coral-ink); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.mobi-final-actions .button.coral:hover { box-shadow: 0 14px 32px rgba(0,0,0,0.26); }
.mobi-cross { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.mobi-cross:hover { text-decoration: underline; }

/* ---------- DORU MOBI phone mockup (mirrors the real app home screen) ---------- */
.mobi-phone {
  width: 300px; max-width: 100%;
  background: #F4F7F8; border-radius: 40px; padding: 11px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.mobi-screen { background: #F4F7F8; border-radius: 30px; overflow: hidden; }
.mp-hero { background: linear-gradient(150deg, var(--teal-dark), var(--teal) 55%, #14B8A6); padding: 14px 15px 18px; border-radius: 0 0 24px 24px; color: #fff; }
.mp-statusbar { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 11px; }
.mp-loc { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.22); padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mp-loc svg { width: 13px; height: 13px; }
.mp-loc-edit { background: var(--coral); color: #fff; font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; margin-left: 2px; }
.mp-word { display: flex; align-items: center; gap: 7px; margin: 13px 0 11px; }
.mp-word b { font-family: "Sora", sans-serif; font-size: 21px; font-weight: 800; letter-spacing: 0.02em; color: #fff; }
.mp-badge { background: var(--coral); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 8px; letter-spacing: 0.03em; }
.mp-search { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 14px; padding: 11px 13px; box-shadow: 0 10px 22px rgba(0,0,0,0.16); }
.mp-search svg { width: 17px; height: 17px; color: var(--teal); }
.mp-search span { color: #94A3B8; font-size: 13px; font-weight: 600; }
.mp-sub { padding: 12px 16px 2px; font-size: 11px; font-weight: 700; color: #64748B; }
.mp-list { padding: 6px 15px 16px; display: flex; flex-direction: column; gap: 9px; }
.mp-card { background: #fff; border-radius: 16px; padding: 11px 12px; display: flex; align-items: center; gap: 11px; box-shadow: 0 6px 16px rgba(15,23,42,0.07); }
.mp-info { flex: 1; min-width: 0; }
.mp-name { font-size: 13px; font-weight: 800; color: #0B1220; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-meta { display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.mp-dist { background: var(--teal-soft); color: var(--teal); font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px; }
.mp-ph { font-size: 11px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mp-price { font-size: 14px; font-weight: 800; color: var(--coral-ink); white-space: nowrap; }
.mp-price small { font-size: 9.5px; color: #94A3B8; font-weight: 700; }
.mp-add { width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(255,122,89,0.4); }
.mp-add svg { width: 15px; height: 15px; }

/* ============================================================================
   SPLIT 2026: "/" = consumer landing (DORU MOBI), "/business/" = business landing.
   .chero — the consumer hero: the app's own teal gradient (MobiBrand HeroBrush)
   with the phone mockup; copy sits over the DARK teal end so white text stays AA.
   .biz-band — the elevated "у вас аптека?" cross-link card.
   ============================================================================ */

.chero {
  background: linear-gradient(140deg, #0B4F49 0%, var(--teal) 55%, #14B8A6 118%);
  color: #fff;
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 56px) clamp(48px, 7vw, 88px);
  border-radius: 0 0 36px 36px;
}
.chero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.chero-eyebrow {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 22px;
}
.wordmark.on-dark b { color: #fff; }
.wordmark-hero { gap: 10px; margin-bottom: 16px; }
.wordmark-hero b { font-size: clamp(28px, 4vw, 38px); }
.chero h1 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(32px, 5.2vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.chero-lead { font-size: clamp(16px, 2vw, 19px); color: #fff; max-width: 540px; margin-bottom: 28px; }
.chero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.chero .button.light { color: var(--coral-ink); font-size: 17px; padding: 16px 30px; }
.chero-note { font-size: 13.5px; font-weight: 600; color: #fff; }
.chero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chero-chips span {
  font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.26); color: #fff;
}
.chero-visual { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.chero-visual .mp-caption { color: rgba(255, 255, 255, 0.92); }

/* Business cross-link band: white elevated card with the teal (business) accent. */
.biz-band {
  background: var(--surface);
  border: 2px solid rgba(15, 118, 110, 0.35);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
.biz-band h2 { margin-bottom: 10px; }
.biz-band p { color: var(--text-2); font-size: 15.5px; max-width: 560px; }
.biz-band-cta { flex: 0 0 auto; }
