/* Uro Active — БИОНИКС ФАРМА ЕООД (вариант 2) */

:root {
  --ink: #16181c;
  --muted: #5b616a;
  --line: #e6e8ec;
  --bg: #f7f8fa;
  --card: #fff;
  --red: #c81e1e;
  --red-2: #a31818;
  --navy: #1b2430;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body { font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.w { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; top: 0; }

/* ---------- header ---------- */
header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 10px 14px; flex-wrap: wrap; }
.brand { font-weight: 800; letter-spacing: -.02em; font-size: 20px; text-decoration: none; }
.brand span { color: var(--red); }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.nav-firm { margin: 0 auto 0 0; font-size: 12px; color: var(--muted); }
.nav-tel { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-tel:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  background: var(--red); color: #fff; border: 1px solid var(--red); text-decoration: none;
  padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  display: inline-block; cursor: pointer; text-align: center;
  font-family: inherit;
}
.btn:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; }
.btn-out { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-out:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.wide { width: 100%; margin-top: 18px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 28px; background: linear-gradient(#fff, var(--bg)); }
.hero-g { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kicker { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; margin-bottom: 16px; }
.pricerow { font-size: 16px; margin-bottom: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 12px; color: #333; }
.seller { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.shot { background: #111; border-radius: 18px; padding: 18px; }
.shot img { margin: 0 auto; max-height: 460px; width: auto; }

/* ---------- sections ---------- */
section { padding: 52px 0; }
.alt { background: var(--bg); }
h2 { font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 10px; }
h3 { font-size: 17px; margin-bottom: 8px; }
.muted { color: var(--muted); }
p + p, ul + p, p + ul, p + ol, ol + p { margin-top: 12px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card img { width: 100%; border-radius: 10px; margin-bottom: 10px; }
.card > :last-child { margin-bottom: 0; }
.plain { padding-left: 20px; margin: 10px 0; }
.plain li { margin-bottom: 6px; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
thead th { background: var(--navy); color: #fff; font-weight: 600; }
.doc th[scope="row"] { background: var(--bg); font-weight: 700; width: 34%; color: var(--ink); }

/* ---------- steps / warn ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding: 12px 0 12px 48px; position: relative; border-bottom: 1px solid var(--line); }
.steps li:before {
  content: counter(s); position: absolute; left: 0; top: 10px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.warn { background: #fff6f6; border: 1px solid #f0d0d0; border-radius: 12px; padding: 18px; font-size: 14px; color: #4a3030; }
.warn h3 { color: #4a3030; }
.warn > :last-child { margin-bottom: 0; }

/* ---------- packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pack { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.pack .btn { margin-top: auto; }
.price { font-size: 30px; font-weight: 800; }

/* ---------- form ---------- */
form.order { background: var(--navy); color: #fff; border-radius: 16px; padding: 24px; }
form.order h2 { color: #fff; }
form.order label { display: block; font-size: 12px; margin: 14px 0 6px; color: #c5ccd4; }
form.order input, form.order select { width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 8px; font-size: 16px; font-family: inherit; }
form.order input[aria-invalid="true"] { border-color: #ff8f8f; }
.req { color: #ff9a9a; font-weight: 700; }
.note { font-size: 12px; color: #9aa7b5; margin-top: 12px; }
.check {
  display: flex !important; gap: 10px; align-items: flex-start;
  font-size: 13px !important; color: #dfe4ea !important; line-height: 1.5; margin-top: 16px !important;
}
.check input { width: auto !important; flex: 0 0 auto; margin-top: 3px; }
.check a { color: #fff; }
.check-optional { border-top: 1px dashed #39424f; padding-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { background: #7a1f1f; color: #ffe9e9; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; border-radius: 8px; }

/* ---------- details ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 8px; color: var(--muted); }

/* ---------- footer ---------- */
footer { background: #11161c; color: #b7c0ca; padding: 32px 0 20px; font-size: 13px; }
footer h4 { color: #fff; margin-bottom: 8px; }
footer p + p { margin-top: 10px; }
footer a { color: #d6dde4; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #232a33; }
.foot-nav a, .linkbtn { color: #d6dde4; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.foot-nav a:hover, .linkbtn:hover { color: #fff; text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.legal { margin-top: 14px; font-size: 12px; color: #8b96a2; line-height: 1.6; }
.legal strong { color: #c3ccd5; }
.copy { margin-top: 12px; font-size: 12px; color: #6c757e; }

/* ---------- cookie bar ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 700px; margin: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-size: 13px; z-index: 30; box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.cookie-title { font-weight: 700; margin-bottom: 4px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* Двата бутона са с еднаква тежест — без „тъмни модели“. */
.cookie-actions .btn { flex: 1 1 auto; background: #fff; color: var(--ink); border: 1px solid var(--navy); }
.cookie-actions .btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- legal doc pages ---------- */
.doc { padding: 40px 0 48px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.doc h2 { font-size: clamp(19px, 2.2vw, 24px); margin: 28px 0 10px; }
.doc h3 { margin-top: 20px; }
.doc table { margin: 12px 0 8px; border: 1px solid var(--line); }
.date { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.back { margin-top: 32px; font-size: 15px; }
.devnote { font-size: 13px; font-style: italic; color: var(--muted); margin-top: 10px; }

/* ---------- notice / sample ---------- */
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 20px 22px; margin: 28px 0; border-radius: 12px; }
.notice > :last-child { margin-bottom: 0; }
.notice h2 { margin-top: 0; font-size: 20px; }
.notice p { font-size: 15px; }
.sample { background: var(--bg); border: 1px dashed var(--line); padding: 20px 22px; margin: 14px 0 24px; font-size: 15px; border-radius: 12px; }
.sample > :last-child { margin-bottom: 0; }

/* ---------- contact cards ---------- */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 18px 0 24px; }
.cards .card p { font-size: 14px; }
.cards .card h3 { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card-main { font-size: 17px; font-weight: 700; }
.card-main a { text-decoration: none; }

/* ---------- thank-you data check ---------- */
.datacheck { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 20px 22px; margin: 28px 0; border-radius: 12px; }
.datacheck[hidden] { display: none; }
.datacheck h2 { margin-top: 0; font-size: 20px; }
.dc-note { font-size: 14px; color: var(--muted); }
.dc-list { margin: 16px 0; }
.dc-row { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.dc-row[hidden] { display: none; }
.dc-list dt { flex: 0 0 10rem; font-size: 13px; color: var(--muted); }
.dc-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.dc-actions { margin-top: 6px; }
.dc-fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

@media (max-width: 840px) {
  .hero-g, .g3, .g2, .packs { grid-template-columns: 1fr; }
  .hero { padding-top: 26px; }
}
@media (max-width: 640px) {
  .nav-firm, .nav-tel { display: none; }
  .dc-list dt { flex: 0 0 100%; }
  .dc-actions .btn { width: 100%; }
  .cookie-actions .btn { flex: 1 1 100%; }
}
