@import url("fonts.css");

:root {
  --bg: #f4fafc;
  --ink: #0c2434;
  --link: #0e8fbe;
  --link-hover: #0b6d92;
  --navy: #073b52;
  --navy-dark: #04303f;
  --teal: #17b8a6;
  --teal-dark: #12a08f;
  --teal-text: #17a596;
  --border: #e0eef3;
  --border-2: #cfe7ef;
  --border-3: #dceef4;
  --muted: #5b7f91;
  --muted-2: #4a6d7e;
  --muted-3: #3a5f70;
  --muted-4: #6b8d9c;
  --text-2: #2d5364;
  --card-bg: #ffffff;
  --font-head: "Barlow", Helvetica, Arial, sans-serif;
  --font-body: "Manrope", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
::selection { background: #bdeef4; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-article { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.container-doc { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: linear-gradient(90deg, var(--navy), var(--link) 60%, var(--teal));
  color: #fff;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px 16px;
}
.promo-bar a { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(140deg, var(--teal), var(--link) 55%, var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 17px;
  flex: 0 0 auto;
}
.brand-text { line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: 0.01em; color: var(--ink); }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; flex-wrap: wrap; }
.nav-link {
  position: relative; padding: 8px 11px; border-radius: 9px; cursor: pointer;
  font-size: 14.5px; font-weight: 500; color: #254a5c; text-decoration: none; display: inline-block;
}
.nav-link:hover { background: #eaf6fa; color: var(--navy); text-decoration: none; }
.nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--teal);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.phone-btn {
  font-size: 14px; font-weight: 600; color: var(--navy); padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--border-2); white-space: nowrap;
}
.phone-btn:hover { background: #eaf6fa; text-decoration: none; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff;
  padding: 10px 15px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; border: none;
}
.cart-btn:hover { background: var(--link); }
.cart-badge {
  background: var(--teal); color: var(--navy-dark); min-width: 22px; text-align: center;
  border-radius: 20px; font-size: 12.5px; font-weight: 700; padding: 2px 6px;
}
.nav-toggle {
  display: none; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-2);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; width: 18px; height: 2px; background: var(--navy); }
.nav-toggle span::after { position: absolute; top: 6px; width: 18px; height: 2px; background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #eaf7fa 0%, var(--bg) 45%, #e6f5f3 100%);
  border-bottom: 1px solid var(--border-3);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 64px 24px 72px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border-2);
  color: var(--link-hover); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 20px;
}
.hero h1 {
  font-family: var(--font-head); font-size: 56px; line-height: 1.04; font-weight: 700;
  margin: 20px 0 18px; letter-spacing: -0.02em;
}
.hero p.lead { font-size: 18.5px; line-height: 1.6; color: var(--muted-3); margin: 0 0 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 520px; }
.hero-stat-num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--link); }
.hero-stat-label { font-size: 13px; color: var(--muted); line-height: 1.4; }
.hero-media {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border-2);
  aspect-ratio: 4 / 3.2; position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .cap {
  position: absolute; left: 18px; bottom: 18px; font-family: ui-monospace, Menlo, monospace; font-size: 12px;
  color: var(--navy); background: rgba(255, 255, 255, 0.88); border-radius: 8px; padding: 8px 11px;
}

/* ---------- Sections & headings ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 64px 24px 0; }
.section:last-child, .section.pb { padding-bottom: 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-text); }
h2.h-title { font-family: var(--font-head); font-size: 36px; font-weight: 700; margin: 8px 0 0; letter-spacing: -0.01em; }
.section-link { cursor: pointer; font-weight: 700; color: var(--link-hover); font-size: 15px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ---------- Cards ---------- */
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.card:hover, a.card:hover { border-color: #8fd3e3; box-shadow: 0 12px 28px rgba(7, 59, 82, 0.08); text-decoration: none; }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px; background: #eaf7fa; color: var(--link-hover);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700;
  font-size: 15px; margin-bottom: 14px;
}
.card h3 { font-family: var(--font-head); font-size: 19.5px; margin: 0 0 8px; font-weight: 600; }
.card p { margin: 0 0 14px; font-size: 14.8px; line-height: 1.6; color: var(--muted-2); }
.card .price { font-size: 14px; font-weight: 700; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border-radius: 12px; font-weight: 700; font-size: 15.5px; cursor: pointer;
  padding: 15px 26px; border: none; text-align: center; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--link); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border: 1px solid var(--border-2); }
.btn-secondary:hover { background: #eaf6fa; color: var(--navy); }
.btn-dark { background: var(--navy-dark); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }
.btn-teal { background: var(--teal); color: var(--navy-dark); }
.btn-teal:hover { background: var(--teal-dark); color: var(--navy-dark); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 9px 13px; border-radius: 9px; font-size: 13.5px; }

/* ---------- Steps / dark panel ---------- */
.panel-dark {
  background: var(--navy); border-radius: 22px; padding: 44px; color: #fff;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center;
}
.panel-dark h2 { font-family: var(--font-head); font-size: 32px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.01em; }
.panel-dark p { margin: 0; font-size: 16px; line-height: 1.65; color: #b7d8e4; }
.steps { display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 13px; padding: 16px 18px;
}
.step-no {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--teal); color: var(--navy-dark);
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.step-title { font-weight: 700; font-size: 15.5px; margin-bottom: 3px; }
.step-text { font-size: 14px; line-height: 1.55; color: #a8ccda; }

/* ---------- Product cards ---------- */
.product-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 1 / 0.8; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--teal); color: var(--navy-dark); font-size: 11.5px;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px;
}
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.product-cat { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); font-weight: 700; }
.product-name { font-family: var(--font-head); font-size: 17px; font-weight: 600; line-height: 1.25; }
.product-short { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1 1 auto; }
.product-stock { font-size: 12.5px; color: var(--teal-text); font-weight: 600; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.product-price { font-family: var(--font-head); font-size: 19px; font-weight: 700; }
.add-btn {
  background: #eaf7fa; color: var(--navy); border: 1px solid var(--border-2); padding: 9px 13px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.add-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Articles ---------- */
.article-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.article-media { aspect-ratio: 16 / 9; overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; }
.article-meta { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); font-weight: 700; }
.article-title { font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.3; }
.article-lead { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1 1 auto; }
.article-date { font-size: 13px; color: #8aa8b5; }

/* ---------- Testimonials ---------- */
.review-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: var(--teal); font-size: 15px; letter-spacing: 0.15em; }
.review-text { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.review-who { margin-top: auto; font-size: 13.5px; color: var(--muted); }
.review-who strong { color: var(--ink); }

/* ---------- Calculator ---------- */
.calc-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.calc-box h2 { font-family: var(--font-head); font-size: 30px; font-weight: 700; margin: 0 0 10px; }
.calc-box > div:first-child > p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--muted-2); }
.field { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted-3); margin-bottom: 14px; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--border-2);
  border-radius: 10px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #f8fdfe;
}
.field textarea { resize: vertical; }
.calc-result {
  background: linear-gradient(150deg, #eaf7fa, #e6f5f3); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.calc-result-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--link-hover); font-weight: 700; }
.calc-result-value { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1; }
.calc-result-note { font-size: 14px; line-height: 1.6; color: var(--muted-3); }
.calc-result-small { font-size: 12.5px; color: var(--muted-4); line-height: 1.5; margin-top: 6px; }

/* ---------- CTA gradient ---------- */
.cta-gradient {
  background: linear-gradient(135deg, var(--link), var(--teal)); border-radius: 22px; padding: 44px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-gradient h2 { font-family: var(--font-head); font-size: 32px; font-weight: 700; margin: 0 0 8px; }
.cta-gradient p { margin: 0; font-size: 16.5px; color: #e6fbff; max-width: 620px; }

/* ---------- Page header (breadcrumb + title) ---------- */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 52px 24px 80px; }
.page-wrap.narrow { max-width: 1000px; }
.page-wrap.doc { max-width: 860px; }
.page-wrap.article { max-width: 820px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.page-title { font-family: var(--font-head); font-size: 44px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.02em; }
.page-lead { font-size: 17.5px; line-height: 1.65; color: var(--muted-3); max-width: 760px; margin: 0 0 36px; }

/* ---------- Service full cards ---------- */
.service-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.service-head h2 { font-family: var(--font-head); font-size: 23px; font-weight: 600; margin: 0; }
.service-price { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--link-hover); white-space: nowrap; }
.service-card > p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--muted-2); }
.service-list { display: grid; gap: 8px; }
.service-list-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.service-list-item .tick { color: var(--teal); font-weight: 700; }

/* ---------- Plans ---------- */
.plan-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.plan-name { font-family: var(--font-head); font-size: 21px; font-weight: 700; }
.plan-price { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--link-hover); }
.plan-price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-note { font-size: 14px; color: var(--muted); line-height: 1.55; }
.plan-items { display: grid; gap: 7px; margin-top: 4px; }
.plan-item { font-size: 14.3px; color: var(--text-2); line-height: 1.5; }
.plan-cta { margin-top: auto; }

/* ---------- Pricing table ---------- */
.price-table { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 17px 24px; border-bottom: 1px solid #eef6f9; align-items: baseline; }
.price-row:last-child { border-bottom: none; }
.price-row-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.price-row-note { font-size: 13.5px; color: var(--muted-4); margin-top: 3px; }
.price-row-price { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--link-hover); white-space: nowrap; }
.note-box { margin-top: 22px; font-size: 14px; color: var(--muted-4); line-height: 1.6; }
.info-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; font-size: 14.5px; line-height: 1.65; color: var(--muted-2); }

/* ---------- Shop categories ---------- */
.cat-row { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.cat-pill {
  padding: 10px 16px; border-radius: 22px; border: 1px solid var(--border-2); background: #fff; font-size: 14px;
  font-weight: 600; color: #25566b; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
}
.cat-pill:hover { background: #eaf6fa; text-decoration: none; }
.cat-pill.active { border-color: var(--teal); }
.cat-dot { display: inline-block; width: 7px; height: 7px; border-radius: 7px; background: var(--teal); margin-left: 8px; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.faq-q {
  padding: 19px 22px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16.5px; font-weight: 600; color: var(--ink); border: none; background: none; width: 100%; text-align: left;
}
.faq-q:hover { background: #f7fcfd; }
.faq-sign { color: var(--teal-text); font-size: 20px; font-weight: 700; flex: 0 0 auto; }
.faq-a { padding: 0 22px 20px; font-size: 15.3px; line-height: 1.7; color: var(--muted-2); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-sign::before { content: "\2212"; }
.faq-sign::before { content: "+"; }
.faq-item.open .faq-sign { visibility: visible; }

/* ---------- About ---------- */
.value-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.value-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14.8px; line-height: 1.65; color: var(--muted-2); margin: 0; }
.billing-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.billing-box h2 { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin: 0 0 18px; }
.billing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.about-photo { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-2); margin-bottom: 36px; aspect-ratio: 16/7; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; }
.contact-form-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-stack { display: grid; gap: 14px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.3px; color: var(--muted); line-height: 1.55; }
.checkbox-row input { margin-top: 3px; }
.success-box { background: #e6f7f4; border: 1px solid #a9e5da; border-radius: 14px; padding: 24px; }
.success-box .h { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 8px; color: #0d6a5e; }
.success-box .t { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.contact-side { display: grid; gap: 18px; align-content: start; }
.contact-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 26px; font-size: 15px; line-height: 1.8; color: var(--text-2); }
.contact-card .h { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.contact-map { border-radius: 18px; border: 1px solid var(--border-2); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }
.contact-map .cap {
  position: absolute; left: 16px; bottom: 16px; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px;
  color: var(--navy); background: rgba(255, 255, 255, 0.88); border-radius: 7px; padding: 6px 10px;
}
.error-text { color: #b3261e; font-size: 13px; margin-top: 4px; display: none; }
.field.field-error input, .field.field-error textarea { border-color: #e2a2a2; }
.field.field-error .error-text { display: block; }

/* ---------- Legal doc ---------- */
.doc-meta { font-size: 13.5px; color: var(--muted-4); margin-bottom: 30px; }
.doc-title { font-family: var(--font-head); font-size: 40px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.02em; }
.doc-section { margin-bottom: 26px; }
.doc-section h2 { font-family: var(--font-head); font-size: 23px; font-weight: 600; margin: 0 0 10px; }
.doc-section p { font-size: 16px; line-height: 1.75; color: var(--muted-3); margin: 0; }
.doc-legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.doc-legal-nav a {
  padding: 8px 14px; border-radius: 20px; border: 1px solid var(--border-2); background: #fff; color: #25566b;
  font-size: 13.5px; font-weight: 600;
}
.doc-legal-nav a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.doc-legal-nav a:hover { text-decoration: none; background: #eaf6fa; }
.doc-legal-nav a.active:hover { background: var(--link); }

/* ---------- Article page ---------- */
.article-back { font-size: 13.5px; color: var(--link-hover); cursor: pointer; font-weight: 600; margin-bottom: 18px; display: inline-block; }
.article-meta-top { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); font-weight: 700; margin-bottom: 10px; }
.article-h1 { font-family: var(--font-head); font-size: 42px; font-weight: 700; line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.article-lead-p { font-size: 19px; line-height: 1.65; color: var(--muted-3); margin: 0 0 28px; }
.article-hero { aspect-ratio: 16/8; border-radius: 16px; overflow: hidden; margin-bottom: 34px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-block { margin-bottom: 30px; }
.article-block h2 { font-family: var(--font-head); font-size: 27px; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; }
.article-block p { font-size: 17px; line-height: 1.75; color: var(--text-2); margin: 0; }
.article-cta {
  background: var(--navy); color: #fff; border-radius: 18px; padding: 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px;
}
.article-cta .h { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.article-cta .t { font-size: 15.5px; color: #b7d8e4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #a8ccda; margin-top: 20px; }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 56px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(140deg, var(--teal), var(--link)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.footer-brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; }
.footer-desc { font-size: 14.3px; line-height: 1.7; }
.footer-contact { margin-top: 16px; font-size: 14px; line-height: 1.7; }
.footer-contact a { color: #7fd4e4; }
.footer-h { color: #fff; font-weight: 700; font-size: 14.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; font-size: 14.3px; }
.footer-links a { color: #a8ccda; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px 40px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.3px;
}
.footer-bottom button {
  cursor: pointer; background: none; border: none; color: #a8ccda; font-size: 13.3px; font-family: inherit; padding: 0;
}
.footer-bottom button:hover { color: #fff; }

/* ---------- Cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; z-index: 60; display: none; justify-content: flex-end; }
.cart-overlay.open { display: flex; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(4, 48, 63, 0.45); border: none; padding: 0; cursor: pointer; }
.cart-drawer { position: relative; width: 440px; max-width: 100%; height: 100%; background: #fff; box-shadow: -20px 0 50px rgba(4, 48, 63, 0.25); display: flex; flex-direction: column; }
.cart-drawer-head { padding: 22px 24px; border-bottom: 1px solid #e6f1f5; display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-title { font-family: var(--font-head); font-size: 21px; font-weight: 700; }
.cart-drawer-close { cursor: pointer; font-size: 22px; color: var(--muted); line-height: 1; background: none; border: none; }
.cart-drawer-body { flex: 1 1 auto; overflow: auto; padding: 18px 24px; }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f0f7f9; align-items: center; }
.cart-line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-line-name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.cart-line-price { font-size: 13px; color: var(--muted-4); margin-top: 2px; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--border-2); border-radius: 7px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; color: #25566b; background: #fff; }
.qty-btn:hover { background: #eaf6fa; }
.qty-val { font-size: 14.5px; font-weight: 700; min-width: 20px; text-align: center; }
.remove-btn { font-size: 13px; color: #a0687c; cursor: pointer; margin-left: 6px; background: none; border: none; }
.remove-btn:hover { color: #7d4457; }
.cart-line-total { font-family: var(--font-head); font-size: 16.5px; font-weight: 700; white-space: nowrap; }
.cart-drawer-foot { border-top: 1px solid #e6f1f5; padding: 20px 24px 26px; display: grid; gap: 10px; background: #f8fdfe; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted-2); }
.cart-summary-total { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 22px; font-weight: 700; padding-top: 6px; border-top: 1px solid var(--border); }
.cart-summary-small { font-size: 12.5px; color: var(--muted-4); }
.order-success { background: #e6f7f4; border: 1px solid #a9e5da; border-radius: 11px; padding: 14px; font-size: 14px; line-height: 1.6; color: #0d6a5e; }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 16px; }
.cookie-bar.hidden { display: none; }
.cookie-inner {
  max-width: 1160px; margin: 0 auto; background: #fff; border: 1px solid var(--border-2); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(4, 48, 63, 0.18); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
}
.cookie-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.cookie-text { font-size: 14.3px; line-height: 1.6; color: var(--muted-2); }
.cookie-text a, .cookie-text button.link { color: var(--link-hover); font-weight: 600; background: none; border: none; padding: 0; cursor: pointer; font-size: inherit; font-family: inherit; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { border-radius: 10px; font-weight: 600; font-size: 14.3px; cursor: pointer; padding: 12px 18px; border: 1px solid var(--border-2); background: #fff; color: #25566b; }
.cookie-actions button:hover { background: #eaf6fa; }
.cookie-actions .accept { background: var(--navy); color: #fff; border: none; font-weight: 700; padding: 12px 22px; }
.cookie-actions .accept:hover { background: var(--link); }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  z-index: 100; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/9; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .panel-dark { grid-template-columns: 1fr; }
  .calc-box { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .billing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; width: 100%; order: 3; flex-direction: column; align-items: stretch; gap: 2px; }
  .header-inner { flex-wrap: wrap; }
  .header-inner.nav-open .main-nav { display: flex; }
  .nav-toggle { display: flex; }
  .phone-btn { display: none; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 16px; }
  h2.h-title { font-size: 28px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding-bottom: 10px; }
  .page-title { font-size: 32px; }
  .doc-title { font-size: 30px; }
  .article-h1 { font-size: 30px; }
  .cta-gradient, .panel-dark { padding: 28px; }
  .cart-drawer { width: 100%; }
  .cookie-inner { grid-template-columns: 1fr; }
}
