/* ============================================================================
   Пуха — промо-лендинг (medicalbot.ru). Тёплая, доверительная подача;
   фирменный cyan-акцент (эхо робота/компаньона). Чистый HTML/CSS, без фреймворков.
   Палитра: cyan #0891b2 / #0e7490, тёплый кремовый фон, мягкие тени, крупная типографика.
   ============================================================================ */
:root {
  --brand: #0891b2;
  --brand-dark: #0e7490;
  --brand-deep: #134e5a;
  --brand-soft: #e0f5fa;
  --brand-tint: #f0fbfd;
  --accent: #f4a259;          /* тёплый акцент для доверия/уюта */
  --accent-soft: #fdeede;
  --ink: #102a33;
  --ink-soft: #5a6b73;
  --cream: #fbfaf6;           /* тёплый фон */
  --card: #ffffff;
  --line: #e7ebec;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 51, .05), 0 6px 18px rgba(16, 42, 51, .05);
  --shadow-md: 0 10px 30px rgba(16, 42, 51, .09);
  --shadow-brand: 0 18px 50px rgba(8, 145, 178, .25);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--brand-soft); }
.btn-ghost:hover { background: var(--brand-tint); border-color: var(--brand); }
.btn-lg { font-size: 18px; padding: 16px 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand-mark svg { border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand-name { font-size: 22px; letter-spacing: -0.02em; }
.brand-mark .eye { animation: blink 5.2s infinite; transform-origin: center; }
.brand-mark .eye:nth-child(3) { animation-delay: .06s; }
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; color: var(--ink-soft); font-size: 16px; transition: color .15s; }
.nav a:hover { color: var(--brand-dark); }
.nav .nav-cta {
  color: var(--brand-dark); background: var(--brand-soft);
  padding: 9px 18px; border-radius: 999px; font-weight: 700;
}
.nav .nav-cta:hover { background: var(--brand); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer; padding: 10px;
}
.nav-toggle span { height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--brand-soft), transparent 60%),
    radial-gradient(800px 400px at 5% 110%, var(--accent-soft), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: 78px 22px 86px;
}
.pill {
  display: inline-block; background: #fff; border: 1px solid var(--brand-soft);
  color: var(--brand-dark); font-weight: 700; font-size: 14px;
  padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.03em; }
.lede { margin-top: 22px; font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-soft); max-width: 33em; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: flex; gap: 22px; flex-wrap: wrap;
}
.hero-trust li { position: relative; padding-left: 26px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Hero robot visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.halo {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8,145,178,.18), transparent 68%);
  filter: blur(8px); z-index: 0;
}
.robot { position: relative; z-index: 1; width: 290px; max-width: 78vw; }
.robot-screen {
  background: linear-gradient(160deg, #103943, #0b2b33);
  border-radius: 34px; padding: 54px 34px 44px; box-shadow: var(--shadow-md), inset 0 0 0 6px rgba(255,255,255,.04);
  position: relative;
}
.robot-screen::after {
  content: ""; position: absolute; inset: 0; border-radius: 34px;
  box-shadow: inset 0 2px 30px rgba(8,145,178,.25);
}
.robot-eyes { display: flex; justify-content: center; gap: 34px; }
.r-eye {
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #b9fbff, #16c7e0 60%, #0891b2);
  box-shadow: 0 0 26px rgba(34, 211, 238, .65);
  animation: eyeBlink 4.6s infinite;
}
@keyframes eyeBlink {
  0%, 94%, 100% { transform: scaleY(1); }
  97% { transform: scaleY(0.1); }
}
.robot-smile {
  width: 86px; height: 40px; margin: 30px auto 0;
  border: 6px solid #16c7e0; border-top: 0;
  border-radius: 0 0 90px 90px; opacity: .9;
  box-shadow: 0 0 18px rgba(34,211,238,.4);
}
.robot-badge {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--brand-dark); font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; box-shadow: var(--shadow-md); white-space: nowrap;
  border: 1px solid var(--brand-soft);
}

/* ---------- Value strip ---------- */
.strip { padding: 14px 0 6px; }
.strip-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: -36px; position: relative; z-index: 5;
}
.strip-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px;
}
.strip-item strong { font-size: 18px; }
.strip-item span { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--brand-dark); font-weight: 800; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 19px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 18px;
}
.card-icon.icon-pill, .card-icon.icon-weather { background: var(--accent-soft); color: #c26d28; }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- Health spotlight ---------- */
.health { background: linear-gradient(180deg, #fff, var(--brand-tint)); }
.health-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.health-copy h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.health-copy p { margin-top: 16px; color: var(--ink-soft); }
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: #fff; border: 1px solid var(--brand-soft); color: var(--brand-dark);
  font-weight: 600; font-size: 15px; padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.report-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 26px 26px 20px;
}
.report-head { font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.metric {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  padding: 14px 4px; border-top: 1px solid var(--line);
}
.metric:first-of-type { border-top: 0; }
.m-name { color: var(--ink-soft); font-size: 16px; }
.m-val { font-weight: 800; font-size: 19px; }
.m-dot { width: 13px; height: 13px; border-radius: 50%; }
.m-dot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,.13); }
.m-dot.warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(217,119,6,.13); }
.report-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 28px 30px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; font-weight: 800; font-size: 21px;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); margin-bottom: 18px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- For whom ---------- */
.who { background: linear-gradient(180deg, var(--brand-tint), #fff); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.who-copy h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.who-copy p { margin-top: 16px; color: var(--ink-soft); }
.who-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.who-list li {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 14px; padding: 18px 20px; font-size: 16.5px; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.who-list strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* ---------- CTA ---------- */
.cta { padding-bottom: 96px; }
.cta-box {
  text-align: center; background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  color: #fff; border-radius: 32px; padding: 64px 32px; box-shadow: var(--shadow-brand);
}
.cta-box h2 { font-size: clamp(26px, 3.8vw, 40px); font-weight: 800; max-width: 16em; margin: 0 auto; }
.cta-box p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.9); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.cta .btn-primary:hover { background: #f0fbfd; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-mail { margin-top: 24px; font-size: 16px; }
.cta-mail a { text-decoration: underline; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #0c2229; color: #cdd9dc; padding: 48px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.site-footer .brand-name { color: #fff; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #9fb4b9; font-weight: 600; font-size: 15.5px; transition: color .15s; }
.footer-nav a:hover { color: #fff; }
.footer-note { text-align: right; font-size: 14px; color: #8ca1a6; line-height: 1.5; }
.footer-note small { color: #6f868c; font-size: 12.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); 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; }
  .r-eye, .brand-mark .eye { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .health-grid, .who-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 54px; padding-bottom: 64px; gap: 30px; }
  .hero-visual { order: -1; min-height: 280px; }
  .health-panel { max-width: 460px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 14px 22px 22px;
    gap: 4px; transform: translateY(-130%); transition: transform .28s ease; box-shadow: var(--shadow-md);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 6px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .strip-grid { grid-template-columns: 1fr; margin-top: 22px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-note { text-align: center; }
}
