/* Uro Active — БИОНИКС ФАРМА ЕООД */

:root {
  --paper: #f3efe8;
  --white: #fffcf8;
  --ink: #222018;
  --soft: #6a655c;
  --line: #ddd6cb;
  --accent: #8b1e1e;
  --stone: #2f3330;
  --warn-bg: #faf4ea;
}

* { 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: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

.ui, header, footer, .btn, nav, label, summary, th, td, .meta, input, select, button {
  font-family: "Segoe UI", Arial, sans-serif;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); }

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

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- header ---------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.bar { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 12px 0; flex-wrap: wrap; }
.mark { font-weight: 800; font-size: 18px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.mark i { color: var(--accent); font-style: normal; }
.mark b { display: block; font-weight: 500; font-size: 11px; color: var(--soft); }
.bar-firm { margin: 0 auto 0 0; font-size: 12px; color: var(--soft); }
.bar-tel { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.bar-tel:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  background: var(--stone); color: #fff; text-decoration: none; border: 1px solid var(--stone);
  padding: 11px 18px; border-radius: 4px; font-weight: 700; font-size: 13px;
  display: inline-block; cursor: pointer; text-align: center;
}
.btn:hover { opacity: .92; color: #fff; }
.btn.red { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn.wide { width: 100%; margin-top: 16px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 16px; }
.eyebrow { font-family: "Segoe UI", Arial, sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.hero h1 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 500; line-height: 1.14; max-width: 20ch; }
.intro { max-width: 40em; color: var(--soft); font-size: 18px; margin: 16px 0 24px; }
.strip { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 24px; }
.ph { background: var(--white); border: 1px solid var(--line); }
.ph img { width: 100%; }
.side {
  background: var(--stone); color: #efeae2; padding: 24px;
  display: flex; flex-direction: column; gap: 0;
}
.side li { list-style: none; padding: 10px 0; border-top: 1px solid #4a4f4c; font-size: 15px; }
.side li:first-child { border: 0; }
.side span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #b7b1a6; }

/* ---------- sections ---------- */
section { padding: 44px 0; }
h2 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 500; margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p + p, ul + p, p + ul, p + ol, ol + p { margin-top: 12px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.note { font-size: 15px; color: var(--soft); }
.lead { font-size: 18px; color: var(--soft); margin-bottom: 20px; }
.box { background: var(--white); border: 1px solid var(--line); padding: 20px; }
.box.warn { background: var(--warn-bg); }
.plain { padding-left: 20px; }
.plain li { margin-bottom: 6px; }

/* ---------- tables ---------- */
.comp, .doc table { width: 100%; border-collapse: collapse; background: var(--white); }
.comp th, .comp td, .doc th, .doc td {
  padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px;
  font-family: "Segoe UI", Arial, sans-serif;
}
.comp th, .doc thead th { background: #ece7de; font-weight: 700; }
.doc th[scope="row"] { background: #f6f2ec; font-weight: 700; width: 34%; }
.comp caption { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); padding-bottom: 8px; font-family: "Segoe UI", Arial, sans-serif; }

/* ---------- packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pack { background: var(--white); border: 1px solid var(--line); padding: 20px; min-height: 210px; display: flex; flex-direction: column; }
.sum { font-size: 32px; margin: 8px 0; }

/* ---------- forms ---------- */
form { background: var(--white); border: 1px solid var(--line); padding: 22px; }
label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 14px 0 6px; }
input, select { width: 100%; padding: 11px; border: 1px solid var(--line); background: #fff; font-size: 16px; border-radius: 3px; }
input[aria-invalid="true"] { border-color: var(--accent); }
.req { color: var(--accent); font-weight: 700; }
.check {
  display: flex; gap: 10px; align-items: flex-start;
  text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--ink);
  line-height: 1.5; margin-top: 16px;
}
.check input { width: auto; flex: 0 0 auto; margin-top: 3px; }
.check-optional { border-top: 1px dashed var(--line); padding-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err {
  background: #f7e9e7; border: 1px solid #d9b3ad; color: #6d1a1a;
  padding: 10px 12px; margin-bottom: 12px; font-size: 14px; border-radius: 3px;
}

/* ---------- details ---------- */
details { background: var(--white); border: 1px solid var(--line); padding: 12px 14px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 8px; color: var(--soft); font-family: Georgia, serif; }

/* ---------- footer ---------- */
footer { background: #1c1b18; color: #b8b3aa; padding: 32px 0 20px; font-size: 13px; }
footer h4 { color: #fff; margin-bottom: 8px; }
footer p + p { margin-top: 10px; }
footer a { color: #d8d2c8; }
.foot-nav {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #33312d;
}
.foot-nav a, .linkbtn {
  color: #d8d2c8; 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; }
.legal { margin-top: 16px; font-size: 12px; line-height: 1.6; color: #8f8a82; }
.legal strong { color: #c8c2b8; }
.copy { margin-top: 12px; font-size: 12px; color: #6f6b64; }

/* ---------- cookie bar ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 700px; margin: auto;
  background: #fff; border: 1px solid var(--line); padding: 14px 16px;
  font-size: 13px; z-index: 30; border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.cookie-title { font-weight: 700; margin-bottom: 4px; font-family: "Segoe UI", Arial, sans-serif; }
.cookie p { font-family: "Segoe UI", Arial, sans-serif; }
.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(--stone);
}
.cookie-actions .btn:hover { background: var(--stone); color: #fff; }

/* ---------- legal doc pages ---------- */
.doc { padding: 40px 0 48px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; 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; }
.doc .plain { margin: 10px 0; }
.date { font-size: 13px; color: var(--soft); font-family: "Segoe UI", Arial, sans-serif; margin-bottom: 18px; }
.back { margin-top: 32px; font-size: 15px; }
.devnote { font-size: 13px; font-style: italic; color: var(--soft); margin-top: 10px; }

/* ---------- notice / sample boxes ---------- */
.notice {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  padding: 20px 22px; margin: 28px 0; border-radius: 3px;
}
.notice > :last-child { margin-bottom: 0; }
.notice h2 { margin-top: 0; font-size: 20px; }
.notice p { font-size: 15px; }
.sample {
  background: var(--white); border: 1px dashed var(--line);
  padding: 20px 22px; margin: 14px 0 24px; font-size: 15px; border-radius: 3px;
}
.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; }
.card { background: var(--white); border: 1px solid var(--line); padding: 18px 20px; border-radius: 3px; }
.card h3 { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; font-family: "Segoe UI", Arial, sans-serif; }
.card p { font-size: 14px; }
.card > :last-child { margin-bottom: 0; }
.card-main { font-size: 17px; font-weight: 700; font-family: "Segoe UI", Arial, sans-serif; }
.card-main a { text-decoration: none; }

/* ---------- thank-you data check ---------- */
.datacheck {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  padding: 20px 22px; margin: 28px 0; border-radius: 3px;
}
.datacheck[hidden] { display: none; }
.datacheck h2 { margin-top: 0; font-size: 20px; }
.dc-note { font-size: 14px; color: var(--soft); font-family: "Segoe UI", Arial, sans-serif; }
.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(--soft); font-family: "Segoe UI", Arial, sans-serif; }
.dc-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; font-family: "Segoe UI", Arial, sans-serif; }
.dc-actions { margin-top: 6px; }
.dc-fine { margin-top: 14px; font-size: 13px; color: var(--soft); font-family: "Segoe UI", Arial, sans-serif; }

@media (max-width: 820px) {
  .strip, .cols, .grid3, .packs { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
@media (max-width: 640px) {
  .bar-firm, .bar-tel { display: none; }
  .dc-list dt { flex: 0 0 100%; }
  .dc-actions .btn { width: 100%; }
  .cookie-actions .btn { flex: 1 1 100%; }
}
