/* ============================================================
   MedTech-лендинг Марины Петрушиной
   Белый фон с голубыми, зелёными и светло-синими тонами
   Медицинский стиль с акцентом на ИИ и безопасность данных
   ============================================================ */

/* ---------- Шрифты ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/playfair-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/playfair-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/playfair-italic-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/playfair-italic-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f7fbff;
  --bg-light: #f0f7ff;
  --bg-green: #f0fdf4;
  --white: #ffffff;
  --ink: #0f1f3a;
  --ink-2: #1a2e5c;
  --deep: #0f3d56;
  --deep-2: #0c4a6e;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-soft: #dbeafe;
  --cyan: #06b6d4;
  --cyan-soft: #cffafe;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --green: #059669;
  --green-light: #10b981;
  --green-soft: #d1fae5;
  --muted: #475569;
  --line: #e2e8f0;
  --line-blue: #bfdbfe;
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --shadow: 0 20px 60px rgba(15, 31, 58, 0.08);
  --shadow-blue: 0 20px 60px rgba(37, 99, 235, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Сброс ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: rgba(37, 99, 235, 0.2);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--blue);
  color: #fff;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

.container {
  width: min(1200px, calc(100% - 56px));
  margin-inline: auto;
  position: relative;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:hover {
  background: linear-gradient(135deg, var(--deep-2) 0%, var(--blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-ghost {
  border-color: var(--line-blue);
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: var(--bg-light);
  color: var(--deep-2);
  box-shadow: none;
}
.btn-sm {
  padding: 11px 20px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s;
}
.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 31, 58, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.brand-text strong {
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-text span {
  margin-top: 3px;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}
.nav .nav-cta {
  display: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  font-weight: 700;
}
.nav .nav-cta:hover {
  color: #fff;
}
.nav-foot {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.burger span + span {
  margin-top: 6px;
}
.burger.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.burger.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background: 
    radial-gradient(800px 500px at 90% 10%, rgba(37, 99, 235, 0.06), transparent 70%),
    radial-gradient(600px 400px at 10% 90%, rgba(16, 185, 129, 0.05), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(37, 99, 235, 0.08) 1px, transparent 0);
  background-size: 40px 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}
.hero-copy h1 {
  max-width: 14ch;
  margin: 22px 0 24px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--ink);
}
.hero-copy h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
}
.hero-lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 580px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.hero-meta span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

/* Hero visual - clean medical illustration */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.medical-illustration {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
}
.medical-bg {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, rgba(219, 234, 254, 0.6) 0%, rgba(240, 253, 244, 0.6) 100%);
  border: 2px solid rgba(191, 219, 254, 0.6);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
.medical-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line-blue);
  border-radius: 14px;
  box-shadow: var(--shadow-blue);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.medical-card:nth-child(3) { top: 0; left: 0; animation-delay: 0s; }
.medical-card:nth-child(4) { top: 17%; right: 0; animation-delay: 1s; }
.medical-card:nth-child(5) { bottom: 17%; left: 0; animation-delay: 2s; }
.medical-card:nth-child(6) { bottom: 0; right: 0; animation-delay: 3s; }
.medical-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-blue { background: linear-gradient(135deg, var(--blue-soft) 0%, #bfdbfe 100%); color: var(--blue); }
.icon-green { background: linear-gradient(135deg, var(--green-soft) 0%, #a7f3d0 100%); color: var(--green); }
.icon-cyan { background: linear-gradient(135deg, var(--cyan-soft) 0%, #a5f3fc 100%); color: var(--cyan); }
.icon-teal { background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%); color: var(--teal); }
.medical-icon svg { width: 22px; height: 22px; }
.medical-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.medical-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Photo card */
.photo-card {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line-blue);
  border-radius: 999px;
  box-shadow: var(--shadow-blue);
}
.photo-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--blue-soft);
}
.photo-card-text {
  display: flex;
  flex-direction: column;
}
.photo-card-text strong {
  font-size: 13px;
  color: var(--ink);
}
.photo-card-text span {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- Секции ---------- */
.section {
  position: relative;
  padding: 90px 0;
}
.section-head {
  max-width: 780px;
  margin-bottom: 50px;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 46px;
  max-width: none;
}
.section-head-row .section-lead {
  max-width: 54ch;
  margin-bottom: 4px;
}
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
}
.section-lead {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Боли ---------- */
.pains {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.pains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pain-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--shadow);
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: var(--shadow-blue);
}
.pain-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #bfdbfe 100%);
  color: var(--blue);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
}
.pain-card blockquote {
  min-height: 4em;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pain-do {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.pain-do span {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
}

/* ---------- MVP ИИ-продукты ---------- */
.mvp {
  background: #fff;
}
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mvp-card-wide {
  grid-column: 1 / -1;
}
.mvp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.mvp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
}
.mvp-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: var(--shadow-blue);
}
.mvp-badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #bfdbfe 100%);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.mvp-card h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.mvp-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}
.mvp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.mvp-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.mvp-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.mvp-price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
}
.mvp-price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Кейсы ---------- */
.cases {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--shadow);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: var(--shadow-blue);
}
.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.case-card:hover .case-media img {
  transform: scale(1.03);
}
.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 26px;
}
.case-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 600;
}
.case-body h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.case-body > p:not(.case-kicker) {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.case-facts li {
  padding: 5px 12px;
  border: 1px solid var(--line-blue);
  border-radius: 999px;
  font-size: 11px;
  color: var(--blue);
  background: var(--bg-light);
  font-weight: 600;
}
.case-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case-actions a {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.case-actions a:first-child {
  color: var(--ink);
}
.case-actions a:hover {
  text-decoration: underline;
}

/* ---------- Услуги ---------- */
.services {
  background: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: var(--shadow-blue);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #bfdbfe 100%);
  color: var(--blue);
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}
.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.service-foot strong {
  font-size: 18px;
  color: var(--blue);
  font-weight: 700;
}
.service-foot span {
  font-size: 12px;
  color: var(--muted);
}
.service-card-accent {
  justify-content: center;
  gap: 12px;
  border: none;
  background: linear-gradient(135deg, var(--blue) 0%, var(--deep-2) 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}
.service-card-accent h3 {
  margin: 0;
  font-size: 26px;
  color: #fff;
}
.service-card-accent p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.service-card-accent .btn {
  align-self: flex-start;
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}
.service-card-accent .btn:hover {
  background: var(--bg-light);
}

/* ---------- Безопасность ---------- */
.security {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.security-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 56px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-blue);
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
  box-shadow: var(--shadow-blue);
}
.security-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.security-copy > p {
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.security-quote {
  margin-top: 30px !important;
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--blue-soft) 100%);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: var(--deep-2) !important;
}
.security-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.security-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line-blue);
}
.security-list li:nth-child(-n + 2) {
  border-top: none;
}
.security-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}
.security-list span {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Обо мне ---------- */
.about {
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-frame {
  position: relative;
  display: block;
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--green-soft) 100%);
  border: 2px solid var(--line-blue);
  box-shadow: var(--shadow-blue);
}
.about-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
  aspect-ratio: 540 / 595;
  object-fit: cover;
  object-position: center top;
}
.about-badge {
  position: absolute;
  right: 20px;
  bottom: 100px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}
.about-caption {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  padding: 10px 18px;
  border: 1px solid var(--line-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.about-copy h2 {
  margin: 16px 0 8px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.about-role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.about-copy > p:not(.eyebrow):not(.about-role) {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.about-copy strong {
  color: var(--ink);
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 32px 0;
}
.about-facts li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.about-facts strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.about-facts span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.about-quote {
  margin: 0 0 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--green-soft) 100%);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--deep);
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Процесс ---------- */
.process {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.steps li:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: var(--shadow-blue);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #bfdbfe 100%);
  color: var(--blue);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
}
.steps h3 {
  margin: 16px 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.steps p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Пакеты ---------- */
.packages {
  background: #fff;
}
.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.package {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.package:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: var(--shadow-blue);
}
.package-accent {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
  position: relative;
}
.package-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.package-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.package-top h3 {
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.package-top p {
  margin-top: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.package-price {
  margin: 26px 0 24px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--blue);
}
.package-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}
.package-price small {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.package-list {
  margin-bottom: 28px;
}
.package-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.package-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.package-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 20px;
}
.package-terms span {
  padding: 6px 12px;
  border: 1px solid var(--line-blue);
  border-radius: 999px;
  font-size: 11px;
  color: var(--blue);
  background: var(--bg-light);
  font-weight: 600;
}
.packages-note {
  margin-top: 30px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.package-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px 52px;
  align-items: start;
}
.package-wide .package-price {
  margin: 18px 0 14px;
  font-size: 46px;
}
.package-wide .package-desc {
  max-width: 48ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.package-wide .package-list {
  margin-bottom: 18px;
}
.package-wide .package-terms {
  margin-top: 0;
}
@media (max-width: 900px) {
  .package-wide {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- Контакты ---------- */
.contact {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-soft) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: start;
}
.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.contact-copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.contact-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list span:first-child {
  padding-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}
.contact-list a,
.contact-list span:last-child {
  font-size: 15px;
  color: var(--ink);
}
.contact-list a:hover {
  color: var(--blue);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-blue);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23475569' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
}
.field select option {
  background: #fff;
  color: var(--ink);
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.form-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.form-note {
  max-width: 38ch;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  font-size: 13px;
  color: var(--green);
}
.form-status.is-error {
  color: #dc2626;
}

/* ---------- Подвал ---------- */
.footer {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: rgba(255, 255, 255, 0.7);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
  font-size: 12px;
}
.footer-brand strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.footer-brand p {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a,
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Появление ---------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 50px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .mvp-grid { grid-template-columns: 1fr; }
  .security-panel { gap: 40px; padding: 44px; }
  .contact-grid { gap: 50px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  .nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 16px 24px 32px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink);
  }
  .nav .nav-cta { display: inline-flex; justify-content: center; margin-top: 16px; padding: 14px 22px; }
  .nav-foot { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: auto; padding-top: 28px; font-size: 13px; color: var(--muted); }
  .nav-foot a { padding: 0; border: none; color: var(--blue); }
  .burger { display: block; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; padding-bottom: 0; }
  .hero-copy h1 { max-width: 16ch; }
  .hero-visual { min-height: 420px; }
  .pains-grid, .cases-grid, .packages-grid, .services-grid { grid-template-columns: 1fr; }
  .section-head-row { display: block; }
  .section-head-row .section-lead { margin-top: 18px; max-width: 64ch; }
  .security-panel { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-photo { max-width: 480px; }
  .security-list li:nth-child(2) { border-top: 1px solid var(--line-blue); }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-text span { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .header-inner { height: 72px; }
  .nav { top: 72px; }
  .section { padding: 70px 0; }
  .hero { padding-top: 60px; }
  .hero-copy h1 { font-size: clamp(38px, 10vw, 48px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
  .medical-card { padding: 10px 14px; font-size: 12px; }
  .medical-icon { width: 36px; height: 36px; }
  .photo-card { padding: 10px 14px; }
  .photo-card img { width: 42px; height: 42px; }
  .pain-card, .service-card, .package, .mvp-card { padding: 26px; }
  .cases-grid { gap: 18px; }
  .case-body { padding: 22px; }
  .security-panel { padding: 32px 26px; }
  .about-frame { padding: 10px; }
  .about-badge { right: 12px; bottom: 80px; width: 58px; height: 58px; font-size: 12px; }
  .about-quote { font-size: 20px; padding: 20px 24px; }
  .security-list { grid-template-columns: 1fr; }
  .security-list li:nth-child(2) { border-top: 1px solid var(--line-blue); }
  .steps { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 90px 1fr; gap: 14px; }
  .contact-form { grid-template-columns: 1fr; padding: 26px; }
  .field-full, .form-foot, .form-status { grid-column: auto; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-buttons { width: 100%; flex-direction: column; }
  .form-buttons .btn { width: 100%; }
  .form-note { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .medical-bg, .medical-card, .medical-symbol { animation: none; }
}

/* ---------- Медицинский символ в hero ---------- */
.medical-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(37, 99, 235, 0.16));
}
.medical-symbol svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 640px) {
  .medical-symbol { width: 140px; height: 140px; }
}
