/* ============================================
   BIORUPROAXIS — design system
   White + deep teal + medical green
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7faf9;
  --bg-tint: #eef6f4;
  --ink: #0e1a26;
  --ink-2: #314655;
  --muted: #6b7a86;
  --line: #e6ecef;
  --line-2: #eef2f4;
  --accent: #0f7e76;        /* deep teal */
  --accent-2: #14a39a;
  --accent-soft: #e3f3f1;
  --warn: #c98a16;
  --warn-soft: #fbf3df;
  --review: #b6452a;
  --review-soft: #fbe7df;
  --shadow-sm: 0 1px 2px rgba(14, 26, 38, .04), 0 2px 6px rgba(14, 26, 38, .04);
  --shadow-md: 0 6px 16px rgba(14, 26, 38, .06), 0 2px 4px rgba(14, 26, 38, .04);
  --shadow-lg: 0 24px 60px rgba(14, 26, 38, .12);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: all .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #0c6b65;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary-sm {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.btn-primary-sm:hover { background: #0c6b65; }
.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn-ghost-sm {
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
}
.btn-ghost-sm:hover { border-color: var(--accent); color: var(--accent); }

/* Highlighted support button in header */
.btn-support {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  animation: supportPulse 2.4s ease-in-out infinite;
}
.btn-support:hover {
  background: var(--accent);
  color: #fff;
}
/* Music Health bonus button in header — purple/soft gradient, gentle pulse */
.btn-mh {
  border-color: rgba(168,85,247,.4);
  color: #c4b5fd;
  background: rgba(168,85,247,.08);
  animation: mhPulse 3s ease-in-out infinite;
}
.btn-mh:hover {
  background: rgba(168,85,247,.2);
  color: #ddd6fe;
  border-color: rgba(168,85,247,.7);
}
@keyframes mhPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,.25); }
  50%      { box-shadow: 0 0 0 6px rgba(168,85,247,0); }
}
@keyframes supportPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .35); }
  50%      { box-shadow: 0 0 0 7px rgba(45, 212, 191, 0); }
}

/* ============== SUPPORT MODAL ============== */
.modal-window-support { max-width: 540px; }
.support-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .14em;
  margin-bottom: 14px;
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.support-title {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
}
.support-lead {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 22px;
  line-height: 1.55;
}
.support-lead a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.support-lead a:hover { text-decoration: underline; }
.support-form {
  display: grid;
  gap: 14px;
}
.support-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.support-label input,
.support-label select,
.support-label textarea {
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.support-label input:focus,
.support-label select:focus,
.support-label textarea:focus {
  border-color: var(--accent);
  background: #fff;
}
.support-label textarea { resize: vertical; min-height: 90px; }
.support-submit { margin-top: 4px; }
/* Honeypot: скрытое поле для отсева ботов. Бот заполнит, человек не увидит. */
input.hp, .hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.support-foot {
  font-size: 12px;
  color: var(--ink-3);
  margin: 6px 0 0;
  text-align: center;
}
.support-success {
  text-align: center;
  padding: 12px 0 6px;
}
.support-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}
.support-success h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.support-success p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 18px;
  line-height: 1.5;
}
.support-success-bot-link {
  display: inline-block;
  background: #229ED9;
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s;
}
.support-success-bot-link:hover { background: #1d8cc9; }

/* ============== HEADER ============== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
}
.logo-dot { opacity: .5; margin: 0 -2px; }
.logo-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--accent); }
@media (max-width: 860px) {
  .nav a:not(.btn-ghost-sm) { display: none; }
}

/* ============== HERO ============== */
.hero {
  padding: 90px 0 100px;
  background:
    radial-gradient(1200px 600px at 80% -20%, var(--accent-soft) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line-2);
}
.hero-grid {
  display: grid;
  grid-template-columns: 320px 1fr 480px;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--ink);
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-flow-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(45, 212, 191, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-flow-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(45, 212, 191, 0.4);
}

/* Hero Doctor photo */
.hero-doctor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-doctor-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(45, 212, 191, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-doctor-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(45, 212, 191, 0.3);
}
.hero-doctor-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  min-width: 220px;
}
.badge-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.badge-name {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.badge-tag {
  font-size: 12px;
  font-style: italic;
  color: var(--accent);
}
.visual-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.visual-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--accent-2), transparent 40%);
  z-index: -1;
  opacity: .15;
}
.visual-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  border-radius: 999px;
  margin-bottom: 22px;
}
.visual-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.visual-desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.visual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-block;
  padding: 7px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .05em;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-stats { gap: 30px; }
}

/* ============== PRINCIPLE ============== */
.principle {
  padding: 90px 0;
  background: #fff;
}
.principle-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 60px 50px;
  border: 1px solid var(--line);
}
.principle-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.principle-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.principle-text {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto;
}

/* ============== PROTOCOLS ============== */
.protocols {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.protocols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.protocol-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}

.protocol-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: -32px -32px 22px;
  padding: 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, transparent 100%);
  border-bottom: 1px solid var(--line-2);
}
.protocol-images-cell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.protocol-images-cell:first-child { border-top-left-radius: var(--r-md); }
.protocol-images-cell:last-child { border-top-right-radius: var(--r-md); }
.protocol-images-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.protocol-card:hover .protocol-images-cell img {
  transform: scale(1.05);
}
.protocol-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.protocol-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.protocol-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-2);
}
.protocol-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 999px;
}
.status-data {
  background: var(--warn-soft);
  color: var(--warn);
}
.status-review {
  background: var(--review-soft);
  color: var(--review);
}
.protocol-name {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.protocol-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  min-height: 42px;
}
.protocol-logic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.protocol-logic .arrow { color: var(--muted); font-weight: 400; }
.protocol-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}
.protocol-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
  line-height: 1.5;
}
.protocol-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.protocol-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.protocol-price {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}
.protocol-note {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============== EXPERT ============== */
.expert {
  padding: 100px 0;
  background: #fff;
}
.expert-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 70px;
  align-items: start;
}
.expert-photo { position: sticky; top: 100px; }
.photo-frame {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(20, 163, 154, .15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(15, 126, 118, .1) 0%, transparent 50%);
  pointer-events: none;
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}
.photo-caption {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 126, 118, .92);
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: .05em;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(14, 26, 38, .25);
}
.expert-stats {
  margin-top: 20px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.expert-stats > div {
  display: flex;
  flex-direction: column;
}
.expert-stats strong {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.expert-stats span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.expert-text .section-title { text-align: left; margin-bottom: 6px; }
.expert-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 22px;
  letter-spacing: .02em;
}
.expert-lead {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.6;
}
.expert-text p { color: var(--ink-2); margin: 0 0 16px; font-size: 16px; }
.expert-quote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 22px 26px;
  margin: 28px 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
}
.expert-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ink);
}
.path-list, .clinic-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.path-list li, .clinic-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.path-list li strong, .clinic-list li strong {
  display: inline-block;
  min-width: 60px;
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}
.path-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.clinic-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.expert-bottom {
  font-size: 15px;
  color: var(--muted) !important;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .expert-grid { grid-template-columns: 1fr; gap: 40px; }
  .expert-photo { position: static; max-width: 360px; }
}

/* ============== SCIENCE ============== */
.science {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.patents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 70px;
}
.patent-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 30px;
  border: 1px solid var(--line);
  transition: all .2s;
}
.patent-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.patent-num {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.patent-title {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--ink);
}
.patent-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.from-science {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 50px;
  border: 1px solid var(--line);
}
.from-science h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
}
.from-science p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 14px;
  line-height: 1.7;
}

/* ============== HOW ============== */
.how {
  padding: 100px 0;
  background: #fff;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.how-step {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--line);
  transition: all .2s;
}
.how-step:hover {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.how-num {
  font-family: 'Manrope', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .55;
}
.how-step h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.how-step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ============== FAQ ============== */
.faq {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
}
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin-bottom: 14px;
  transition: all .2s;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

/* ============== CONSULT ============== */
.consult {
  padding: 100px 0;
  background: #fff;
}
.consult-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.consult-text .section-title { text-align: left; margin-bottom: 14px; }
.consult-text p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
}
.consult-form {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.consult-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.consult-form label.full { grid-column: 1 / -1; }
.consult-form input,
.consult-form select,
.consult-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s;
  font-weight: 400;
}
.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.consult-form button[type="submit"] {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.form-disclaimer {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 20px;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
}
@media (max-width: 860px) {
  .consult-inner { grid-template-columns: 1fr; gap: 40px; }
  .consult-form { grid-template-columns: 1fr; }
}

/* ============== FOOTER ============== */
.footer {
  background: #0e1a26;
  color: #cbd5dc;
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  color: #8a99a3;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #8a99a3;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid #1c2c3a;
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #6b7a86;
}
.footer-warn {
  flex: 1 1 100%;
  text-align: left;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-top: 10px !important;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ============== MODAL ============== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 38, 0.55);
  backdrop-filter: blur(4px);
}
.modal-window {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 24px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-close:hover { background: var(--accent-soft); color: var(--accent); }
.modal-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.modal-content .modal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.modal-content p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.modal-content .modal-price {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin: 20px 0;
}
.modal-success {
  text-align: center;
  padding: 30px 20px;
}
.modal-success h3 {
  color: var(--accent);
  font-size: 26px;
  margin-bottom: 12px;
}
.modal-success p {
  font-size: 16px;
  color: var(--ink-2);
}

/* Modal: components list */
.modal-content h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 12px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.modal-components {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.modal-components li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}
.modal-components li.comp-missing {
  background: #fffaf0;
  border-color: #f3e0bb;
}
.comp-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.comp-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  background: var(--bg-soft);
}
.comp-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.comp-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.comp-role {
  font-size: 13px;
  color: var(--muted);
}
.comp-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
  display: inline-block;
}
.comp-link:hover { text-decoration: underline; }
.comp-need {
  font-size: 12px;
  color: var(--warn);
  font-weight: 600;
  margin-top: 2px;
  display: inline-block;
}
.modal-extras {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.modal-note {
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-top: 18px;
}

/* Empty protocol card (TRAVEL 01) */
.protocol-card-empty {
  background: linear-gradient(135deg, #fff 0%, var(--warn-soft) 100%);
  border-color: #ecd9a8;
}
.empty-item {
  color: var(--muted) !important;
}
.empty-item em {
  font-style: normal;
  font-size: 12px;
  color: var(--warn);
  font-weight: 600;
  display: inline-block;
  margin-left: 4px;
}
.empty-item::before {
  background: #d8b85a !important;
}
