/* ============================================================
   PEPTIDAS.COM — Dizaino sistema
   Farmacinė, patikima estetika. Šviesi / tamsi tema.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap');

:root {
  /* Spalvos – šviesi tema */
  --bg: #f4f7fb;
  --bg-elev: #ffffff;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text: #0f2540;
  --text-soft: #475569;
  --text-muted: #768295;

  --brand: #0a6cff;          /* medicininė mėlyna */
  --brand-600: #0a5fe0;
  --brand-700: #084bb0;
  --brand-soft: #e6f0ff;
  --teal: #0bb3a6;           /* akcentas – žalsvai mėlyna */
  --teal-soft: #d8f5f1;
  --violet: #6d4aff;
  --gold: #e0a920;

  --success: #11a36b;
  --success-soft: #d7f3e6;
  --warn: #e0820b;
  --warn-soft: #fdeccf;
  --danger: #e0413b;
  --danger-soft: #fbe0de;

  --shadow-sm: 0 1px 2px rgba(15,37,64,.06), 0 1px 1px rgba(15,37,64,.04);
  --shadow: 0 4px 16px rgba(15,37,64,.08);
  --shadow-lg: 0 18px 50px rgba(15,37,64,.16);
  --shadow-brand: 0 10px 30px rgba(10,108,255,.28);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --maxw: 1220px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;

  --gradient-brand: linear-gradient(135deg, #0a6cff 0%, #0bb3a6 100%);
  --gradient-deep: linear-gradient(160deg, #082a52 0%, #0a3f7a 60%, #0a6cff 130%);
}

[data-theme="dark"] {
  --bg: #0a1424;
  --bg-elev: #0f1e34;
  --bg-soft: #0d1a2e;
  --surface: #102134;
  --surface-2: #16293f;
  --border: #1d3148;
  --border-strong: #294056;

  --text: #eaf1fb;
  --text-soft: #aebfd4;
  --text-muted: #7f93ab;

  --brand: #3b8bff;
  --brand-600: #2f7ff0;
  --brand-700: #2a6fd0;
  --brand-soft: #11294a;
  --teal: #1ad0c0;
  --teal-soft: #0e2f30;

  --success-soft: #0e2f24;
  --warn-soft: #2e2410;
  --danger-soft: #2e1514;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 6px 22px rgba(0,0,0,.45);
  --shadow-lg: 0 22px 60px rgba(0,0,0,.6);
  --shadow-brand: 0 10px 34px rgba(10,108,255,.4);

  --gradient-deep: linear-gradient(160deg, #061328 0%, #0a2649 60%, #0a6cff 150%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
  overflow-x: clip; /* clip nelaužo position:sticky, hidden — laužo */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 42px 0; }
/* Kai .container ir .section ant to paties elemento — .section nubraukia šoninį padding */
.container.section, .container.section-sm { padding-left: 24px; padding-right: 24px; }
@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .section-sm { padding: 32px 0; }
  .container, .container.section, .container.section-sm { padding-left: 20px; padding-right: 20px; }
}

h1,h2 { font-family: var(--font-display); line-height: 1.16; font-weight: 600; letter-spacing: -.012em; color: var(--text); }
h3,h4 { line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.12rem; }
.lead { font-size: clamp(.98rem, 1.5vw, 1.12rem); color: var(--text-soft); line-height: 1.65; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.text-muted { color: var(--text-muted); }
.center { text-align: center; }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .92rem; padding: 11px 21px;
  border-radius: var(--radius-pill); transition: all .2s ease; white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(10,108,255,.4); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-tg { background: #229ED9; color: #fff; box-shadow: 0 10px 28px rgba(34,158,217,.35); }
.btn-tg:hover { transform: translateY(-2px); background: #1d8cc2; }
.btn-lg { padding: 13px 26px; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Navigacija ---------- */
#nav-host { position: sticky; top: 0; z-index: 100; }
.nav {
  background: color-mix(in srgb, var(--bg-elev) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 14px; }
.brand { position: relative; display: inline-flex; align-items: center; padding: 3px 8px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; display: flex; align-items: center; }
.brand-bg svg { width: 100%; height: 100%; opacity: 0.22; display: block; }
.brand > span:not(.brand-bg) { position: relative; z-index: 1; }
.brand b { color: var(--brand); }
.brand .logo-mark { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; min-width: 0; }
.nav-links a {
  padding: 8px 11px; border-radius: var(--radius-sm); font-weight: 600; font-size: .875rem;
  color: var(--text-soft); transition: all .15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  width: 37px; height: 37px; border-radius: var(--radius-sm); display: grid; place-items: center;
  color: var(--text-soft); border: 1px solid var(--border); background: var(--surface); transition: all .15s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
.nav-cta-mobile { display: none; }

@media (max-width: 1024px) {
  .nav-links {
    position: fixed; left: 12px; right: 12px; bottom: 86px; top: auto;
    flex-direction: column; align-items: stretch;
    background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 12px; gap: 4px; box-shadow: var(--shadow-lg); z-index: 115;
    opacity: 0; pointer-events: none; transform: translateY(14px) scale(.98);
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: block; }
}

/* ---------- Apatinė navigacijos juosta (mobile) ---------- */
.tabbar { display: none; }
@media (max-width: 1024px) {
  body { padding-bottom: 88px; }
  .tabbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
    display: flex; align-items: stretch; justify-content: space-around;
    background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 7px 6px; box-shadow: var(--shadow-lg);
  }
  .tabbar a, .tabbar button {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: .67rem; font-weight: 600; color: var(--text-muted);
    padding: 5px 0 3px; border-radius: 13px; font-family: inherit; transition: color .15s;
  }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar a.active { color: var(--brand); }
  .tabbar a:active, .tabbar button:active { background: var(--bg-soft); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 58px 0 52px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 60%; height: 140%;
  background: radial-gradient(closest-side, rgba(10,108,255,.16), transparent 70%); z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: -40%; left: -10%; width: 55%; height: 120%;
  background: radial-gradient(closest-side, rgba(11,179,166,.14), transparent 70%); z-index: 0;
}
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 18px; font-size: clamp(2rem, 3.8vw, 3rem); }
.hero h1 .grad { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-trust div { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-soft); font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; color: var(--success); }

.hero-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.hero-card h4 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 14px; line-height: 1.4; }
.hero-goals-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hero-goals-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: .88rem; font-weight: 500; color: var(--text-soft); transition: background .15s; }
.hero-goals-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--teal)); flex: none; }

/* 3D besisukanti peptido molekulė */
.mol3d-scene { width: 100%; height: 250px; perspective: 850px; display: grid; place-items: center; overflow: visible; }
.mol3d-tilt { transform-style: preserve-3d; transform: rotateX(-8deg); }
.mol3d-spin { position: relative; transform-style: preserve-3d; animation: molspin 20s linear infinite; }
@keyframes molspin { to { transform: rotateY(360deg); } }
.mol-atom { position: absolute; border-radius: 50%; box-shadow: 0 2px 7px rgba(8,20,40,.22); }
.mol-bond { position: absolute; width: 6px; margin-left: -3px; border-radius: 3px; transform-origin: top center; background: linear-gradient(var(--border-strong), color-mix(in srgb, var(--border-strong) 55%, var(--surface))); }
@media (prefers-reduced-motion: reduce) { .mol3d-spin { animation-duration: 60s; } }

/* „Vėrinio" iliustracija */
.necklace-vis { max-width: 820px; margin: 8px auto 4px; }
.necklace-vis svg { width: 100%; height: auto; display: block; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { order: -1; }
}

/* ---------- Kortelės ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: all .2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }

/* ---------- Skiltis: ne steroidai ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.compare > div { padding: 32px; }
.compare-yes { background: var(--success-soft); }
.compare-no { background: var(--danger-soft); }
.compare h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.15rem; }
.compare h3 svg { width: 24px; height: 24px; flex: none; }
.compare-yes h3 { color: var(--success); }
.compare-no h3 { color: var(--danger); }
.compare li { display: flex; gap: 11px; padding: 9px 0; font-size: .98rem; color: var(--text-soft); align-items: flex-start; }
.compare li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.compare-yes li svg { color: var(--success); }
.compare-no li svg { color: var(--danger); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Tikslų tinklelis ---------- */
.goal-card { position: relative; overflow: hidden; cursor: pointer; text-align: left; display: block; }
.goal-card .feature-icon { transition: transform .25s; }
.goal-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.goal-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.goal-card p { font-size: .92rem; color: var(--text-muted); margin-bottom: 14px; }
.goal-card .count { font-size: .82rem; font-weight: 700; color: var(--brand); }
.goal-card .arrow { position: absolute; top: 22px; right: 22px; color: var(--text-muted); transition: all .2s; }
.goal-card:hover .arrow { color: var(--brand); transform: translateX(3px); }

/* ---------- Katalogas ---------- */
.catalog-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
.filters { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.filters h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 18px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: .94rem; color: var(--text-soft); transition: all .12s; width: 100%; text-align: left; }
.filter-opt:hover { background: var(--bg-soft); }
.filter-opt.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.filter-opt .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.filter-opt .num { margin-left: auto; font-size: .78rem; color: var(--text-muted); font-weight: 600; }

.catalog-main { min-width: 0; }
.search-bar { position: relative; margin-bottom: 20px; }
.search-bar svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-muted); }
.search-bar input {
  width: 100%; padding: 15px 16px 15px 48px; border-radius: var(--radius); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1rem; transition: all .15s;
}
.search-bar input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.catalog-count { font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 700; }
.chip button { color: inherit; display: grid; place-items: center; opacity: .7; }
.chip button:hover { opacity: 1; }

.pep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 18px; }
.pep-card { display: flex; flex-direction: column; cursor: pointer; }
.pep-card .pep-cat { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.pep-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.pep-card .pep-aka { font-size: .82rem; color: var(--text-muted); margin-bottom: 12px; }
.pep-card .pep-desc { font-size: .9rem; color: var(--text-soft); margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pep-card .pep-uses { font-size: .82rem; color: var(--text-soft); margin-bottom: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pep-card .pep-uses .pu-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.pep-card .pep-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pep-tag { font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--border); }
.pep-card .pep-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto; }
.pep-card .pep-more { font-size: .85rem; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 5px; }

@media (max-width: 860px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters-toggle { display: flex; }
}

/* ---------- Peptido detalė ---------- */
.detail-hero { background: var(--gradient-deep); color: #fff; padding: 40px 0 46px; position: relative; overflow: hidden; }
.detail-hero::after { content:""; position:absolute; right:-5%; top:-30%; width:40%; height:160%; background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent 70%); }
.detail-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.detail-hero h1 { color: #fff; margin-bottom: 8px; }
.detail-hero .aka { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 18px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-tags .pep-tag { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.2); }

/* Hero stat kortelės */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.stat-card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); padding: 13px 15px; backdrop-filter: blur(6px); }
.stat-card .sc-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.7); margin-bottom: 5px; }
.stat-card .sc-val { display: block; font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.3; }
.stat-card .sc-sub { display: block; font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.6); margin-top: 3px; line-height: 1.25; }
.stat-card .sc-sub:empty { display: none; }
@media (max-width: 760px) { .stat-cards { grid-template-columns: 1fr 1fr; } }

/* Vartojimo būdų perjungiklis */
.route-switch { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-pill); backdrop-filter: blur(6px); flex-wrap: wrap; }
.route-pill { border: none; background: transparent; color: rgba(255,255,255,.78); font-size: .85rem; font-weight: 600; padding: 7px 16px; border-radius: var(--radius-pill); cursor: pointer; transition: all .15s; white-space: nowrap; }
.route-pill:hover { color: #fff; }
.route-pill.active { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
@media (max-width: 760px) { .route-switch { width: 100%; } .route-pill { flex: 1; text-align: center; } }

/* Greita pradžia (šoninė kortelė) */
.quick-start { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.quick-start h4 { display: flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 14px; }
.quick-start h4 svg { width: 16px; height: 16px; color: var(--brand); }
.quick-start .qs-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.quick-start .qs-row:last-child { border-bottom: none; }
.quick-start .qs-row span { color: var(--text-muted); flex: none; }
.quick-start .qs-row b { color: var(--text); text-align: right; font-weight: 700; }

.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; margin-top: 36px; }
.detail-layout aside { position: sticky; top: 88px; }
.detail-toc { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.detail-toc h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.detail-toc a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--text-soft); transition: all .12s; }
.detail-toc a:hover, .detail-toc a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.detail-section { margin-bottom: 36px; scroll-margin-top: 88px; }
.detail-section > h2 { font-size: 1.32rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.detail-section > h2 .sec-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.detail-section > h2 .sec-ic svg { width: 20px; height: 20px; }
.detail-section p { color: var(--text-soft); margin-bottom: 12px; }
.detail-section ul.bullets li { display: flex; gap: 11px; padding: 8px 0; color: var(--text-soft); align-items: flex-start; }
.detail-section ul.bullets li svg { width: 19px; height: 19px; color: var(--success); flex: none; margin-top: 3px; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: .94rem; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { font-weight: 600; color: var(--text-muted); width: 45%; }
.spec-table td:last-child { color: var(--text); font-weight: 600; }

.dose-box { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: var(--radius); padding: 20px 22px; margin: 8px 0 14px; }
.dose-box .dose-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed color-mix(in srgb, var(--brand) 22%, transparent); }
.dose-box .dose-row:last-child { border-bottom: none; }
.dose-box .dose-row span:first-child { color: var(--text-soft); font-size: .92rem; }
.dose-box .dose-row span:last-child { font-weight: 700; color: var(--brand-700); }

.bloodwork-list { display: flex; flex-wrap: wrap; gap: 9px; }
.bloodwork-list .bw { padding: 8px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: .88rem; font-weight: 600; color: var(--text-soft); }

.interaction-item { display: flex; gap: 14px; padding: 14px; background: var(--surface-2); border-radius: var(--radius); margin-bottom: 10px; border: 1px solid var(--border); }
.interaction-item .ii-ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.interaction-item.good .ii-ic { background: var(--success-soft); color: var(--success); }
.interaction-item.caution .ii-ic { background: var(--warn-soft); color: var(--warn); }
.interaction-item .ii-ic svg { width: 20px; height: 20px; }
.interaction-item h4 { font-size: 1rem; margin-bottom: 3px; }
.interaction-item p { font-size: .88rem; margin: 0; }

.detail-cta { background: var(--gradient-deep); border-radius: var(--radius-lg); padding: 30px; color: #fff; text-align: center; margin-top: 20px; }
.detail-cta h3 { color: #fff; margin-bottom: 10px; }
.detail-cta p { color: rgba(255,255,255,.85); margin-bottom: 20px; }

@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } .detail-toc { display: none; } }

/* ---------- Farmakokinetikos grafikas ---------- */
.pk-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.pk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.pk-stats { display: flex; flex-wrap: wrap; gap: 22px; }
.pk-stats span { display: flex; flex-direction: column; gap: 2px; }
.pk-stats i { font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.pk-stats b { font-size: 1.02rem; color: var(--text); font-weight: 700; }
.pk-ranges { display: inline-flex; gap: 2px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px; }
.pk-ranges button { padding: 6px 14px; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 700; color: var(--text-muted); transition: all .15s; }
.pk-ranges button.active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
.pk-plot { position: relative; width: 100%; }
.pk-svg { width: 100%; height: auto; aspect-ratio: 760 / 320; display: block; touch-action: none; }
.pk-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 4 5; }
.pk-axl { fill: var(--text-muted); font-size: 13px; font-family: var(--font); }
.pk-tooltip {
  position: absolute; transform: translate(-50%, -135%); pointer-events: none;
  background: var(--bg-elev); color: var(--text); border: 1px solid var(--border-strong);
  padding: 5px 10px; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 700;
  white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transition: opacity .12s; z-index: 2;
}
.pk-legend { display: flex; align-items: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--text-soft); }
.pk-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pk-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pk-legend .d-peak { background: var(--success); }
.pk-legend .d-hl { background: var(--warn); }
.pk-legend .pk-src { margin-left: auto; color: var(--text-muted); font-size: .78rem; }
@media (max-width: 560px) {
  .pk-stats { gap: 14px; }
  .pk-legend .pk-src { margin-left: 0; }
}

/* ---------- Lipni mini antraštė (peptido detalė) ---------- */
.mini-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%); transition: transform .25s ease;
  padding-top: 62px;
}
.mini-head.show { transform: none; }
.mini-head .mini-inner { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
.mini-head strong { font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-head .pep-tag { flex: none; }

/* ---------- Tyrimų lygio ženkleliai ---------- */
.study-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid transparent; white-space: nowrap;
}
.sb-fda { color: var(--success); background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 35%, transparent); }
.sb-high { color: var(--brand); background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.sb-mid { color: var(--teal); background: var(--teal-soft); border-color: color-mix(in srgb, var(--teal) 35%, transparent); }
.sb-low { color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }

/* ---------- Skaičiuoklė ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.calc-inputs { padding: 32px; background: var(--surface); }
.calc-result { padding: 32px; background: var(--gradient-deep); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; color: var(--text-soft); }
.field .input-group { display: flex; align-items: stretch; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-size: 1rem; transition: all .15s; font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field .input-group input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); border-right: none; }
.field .input-group .unit { padding: 13px 16px; background: var(--bg-soft); border: 1.5px solid var(--border); border-left: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 600; color: var(--text-muted); font-size: .9rem; display: flex; align-items: center; }
.calc-big { font-size: 3rem; font-weight: 800; line-height: 1; margin: 6px 0; }
.calc-big small { font-size: 1.1rem; font-weight: 600; opacity: .8; }
.calc-result h4 { color: rgba(255,255,255,.7); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.calc-line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .95rem; }
.calc-line:last-child { border-bottom: none; }
.calc-line span:last-child { font-weight: 700; }
.syringe-vis { margin: 20px 0; }
.syringe-vis svg { width: 100%; height: auto; display: block; }
.syringe-vis .syr-liquid, .syringe-vis .syr-stopper, .syringe-vis .syr-rod, .syringe-vis .syr-thumb { transition: all .35s ease; }
@media (max-width: 760px) { .calc-wrap { grid-template-columns: 1fr; } }

/* ---------- Telegram CTA juosta ---------- */
.tg-band { background: var(--gradient-deep); border-radius: var(--radius-lg); padding: 46px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.tg-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(34,158,217,.4), transparent 50%); }
.tg-band > * { position: relative; z-index: 1; }
.tg-band .tg-ic { width: 70px; height: 70px; margin: 0 auto 20px; background: #229ED9; border-radius: 20px; display: grid; place-items: center; box-shadow: 0 14px 40px rgba(34,158,217,.5); }
.tg-band .tg-ic svg { width: 38px; height: 38px; color: #fff; }
.tg-band h2 { color: #fff; margin-bottom: 12px; }
.tg-band p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-elev); border-top: 1px solid var(--border); padding: 54px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 38px; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; margin: 14px 0; max-width: 320px; }
.footer h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-links a { display: block; padding: 6px 0; color: var(--text-soft); font-size: .92rem; transition: color .12s; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--text-muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Disclaimer juosta ---------- */
.disclaimer-band { background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); border-radius: var(--radius); padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; }
.disclaimer-band svg { width: 24px; height: 24px; color: var(--warn); flex: none; margin-top: 2px; }
.disclaimer-band p { font-size: .9rem; color: var(--text-soft); margin: 0; }
.disclaimer-band strong { color: var(--text); }
.disclaimer-slim { display: flex; gap: 10px; align-items: center; padding: 11px 15px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .85rem; color: var(--text-muted); }
.disclaimer-slim svg { width: 17px; height: 17px; flex: none; color: var(--text-muted); }

/* ---------- Modalas (prisijungimas) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(8,20,40,.6); backdrop-filter: blur(4px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; animation: fade .2s ease; }
.modal { background: var(--bg-elev); border-radius: var(--radius-lg); width: 100%; max-width: 430px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; animation: pop .25s ease; }
.modal-head { padding: 28px 28px 0; text-align: center; }
.modal-head .logo-mark { width: 46px; height: 46px; margin: 0 auto 14px; }
.modal-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-head p { color: var(--text-muted); font-size: .92rem; }
.modal-body { padding: 24px 28px 28px; }
.modal-tabs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: var(--radius-pill); margin-bottom: 22px; }
.modal-tabs button { flex: 1; padding: 10px; border-radius: var(--radius-pill); font-weight: 700; font-size: .9rem; color: var(--text-muted); transition: all .15s; }
.modal-tabs button.active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
.checkbox-row { display: flex; gap: 11px; align-items: flex-start; padding: 14px; background: var(--surface-2); border-radius: var(--radius); margin: 4px 0 18px; cursor: pointer; border: 1px solid var(--border); }
.checkbox-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex: none; cursor: pointer; }
.checkbox-row label { font-size: .88rem; color: var(--text-soft); cursor: pointer; }
.modal-foot { text-align: center; font-size: .88rem; color: var(--text-muted); margin-top: 16px; }
.modal-foot a { color: var(--brand); font-weight: 600; }
.modal-msg { padding: 11px 14px; border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: 14px; display: none; }
.modal-msg.error { background: var(--danger-soft); color: var(--danger); display: block; }
.modal-msg.success { background: var(--success-soft); color: var(--success); display: block; }
.modal-close { position: absolute; top: 16px; right: 16px; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* ---------- Reveal animacija ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- SVG dydžių apsauga (ikonams be konteinerio taisyklės) ---------- */
ul.bullets li { display: flex; gap: 11px; padding: 8px 0; color: var(--text-soft); align-items: flex-start; }
ul.bullets li svg { width: 19px; height: 19px; color: var(--success); flex: none; margin-top: 3px; }
li > svg { max-width: 24px; max-height: 24px; flex: none; }
.breadcrumb svg { width: 13px; height: 13px; flex: none; opacity: .7; }
.pep-more svg { width: 15px; height: 15px; }
.chip svg { width: 13px; height: 13px; }
.bw svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.goal-card .arrow svg { width: 20px; height: 20px; }
.hero-trust svg { flex: none; }

/* ---------- Pagalbinės ---------- */
.stat-row { display: flex; gap: 36px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat span { font-size: .9rem; color: var(--text-muted); }
.section-head { max-width: 660px; margin: 0 auto 36px; text-align: center; }
.section-head p { margin-top: 12px; }
.hidden { display: none !important; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { width: 54px; height: 54px; margin: 0 auto 16px; opacity: .4; }
