/* ==========================================================================
   Testolibidium — стилова система
   Палитра: дълбоко тъмносиньо · хром · сребро · наситено синьо · светло синьо
   Архитектура: токени → база → оформление → компоненти → секции → utilities
   ========================================================================== */

/* ----- 1. Токени ---------------------------------------------------------- */
:root {
  /* Цветове */
  --navy-900: #0c1633;
  --navy-800: #122249;
  --navy-700: #1a2f63;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-400:  #60a5fa;
  --cyan-400: #38bdf8;
  --silver-300: #cbd5e1;
  --chrome-200: #e2e8f0;
  --chrome-100: #eef2f8;
  --paper:    #f8fafc;
  --white:    #ffffff;
  --ink-900:  #0b1220;
  --ink-600:  #475569;
  --ink-500:  #64748b;

  /* Семантични */
  --bg:            var(--paper);
  --bg-elev:       var(--white);
  --text:          var(--ink-900);
  --text-soft:     var(--ink-600);
  --accent:        var(--blue-600);
  --accent-bright: var(--cyan-400);
  --line:          #dbe3ef;

  /* Хром градиенти */
  --chrome-fill: linear-gradient(135deg, #f4f7fc 0%, #cdd7e6 38%, #ffffff 52%, #aab9d0 70%, #e7edf6 100%);
  --navy-fill:   linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  --blue-glow:   radial-gradient(60% 80% at 70% 20%, rgba(56,189,248,.35), transparent 60%),
                 radial-gradient(70% 90% at 20% 90%, rgba(37,99,235,.40), transparent 65%);

  /* Типографика — флуидна скала */
  --step--1: clamp(.82rem, .79rem + .14vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.35rem + .75vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 3rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.6vw, 4.2rem);

  --font-display: "Segoe UI", "Tahoma", "Helvetica Neue", Arial, sans-serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Разстояния — 4px база */
  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4.5rem;
  --sp-9: 6.5rem;

  /* Форма и сянка */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(12,22,51,.06), 0 4px 14px rgba(12,22,51,.06);
  --shadow-2: 0 10px 30px rgba(12,22,51,.12);
  --shadow-blue: 0 12px 30px rgba(37,99,235,.30);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ----- 2. База ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 var(--sp-4); }

:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: var(--sp-3) var(--sp-4);
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ----- 3. Оформление ------------------------------------------------------ */
.shell { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--step--1); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-600));
}
.lead { font-size: var(--step-1); color: var(--text-soft); max-width: 56ch; }

/* ----- 4. Шапка / навигация ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding-block: var(--sp-3);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); font-weight: 800; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--chrome-fill);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), var(--shadow-1);
  position: relative; flex: none;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 9px;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--cyan-400), var(--blue-600));
}
.brand__name { font-family: var(--font-display); font-size: var(--step-1); color: var(--navy-900); letter-spacing: -.03em; }
.nav__links { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--navy-800); font-weight: 600; font-size: var(--step--1); }
.nav__links a:hover { color: var(--accent); text-decoration: none; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; border-radius: var(--r-sm);
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; height: 2px; width: 24px; background: var(--navy-900);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ----- 5. Бутони ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font: inherit; font-weight: 700; cursor: pointer; border: 0;
  padding: .85em 1.6em; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37,99,235,.40); }
.btn--ghost {
  color: var(--navy-900); background: var(--chrome-100);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-1); }
.btn--lg { padding: 1em 2em; font-size: var(--step-1); }

/* ----- 6. Hero ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: #eaf1ff;
  background: var(--navy-fill);
}
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--blue-glow);
  pointer-events: none;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .42; mix-blend-mode: screen;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; gap: var(--sp-7);
  align-items: center; padding-block: var(--sp-9);
}
.hero__copy { max-width: 62ch; }
.hero__price-tag {
  display: inline-flex; align-items: baseline; gap: var(--sp-2);
  background: rgba(255,255,255,.08); border: 1px solid rgba(226,232,240,.25);
  border-radius: var(--r-pill); padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-5); backdrop-filter: blur(6px);
}
.hero__price-tag b { font-size: var(--step-1); color: #fff; }
.hero__price-tag span { font-size: var(--step--1); color: var(--silver-300); letter-spacing: .04em; }
.hero h1 { font-size: var(--step-4); color: #fff; margin-bottom: var(--sp-4); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cyan-400), var(--silver-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: var(--step-1); color: #c7d4ec; max-width: 48ch; margin-bottom: var(--sp-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.hero__note { font-size: var(--step--1); color: var(--silver-300); margin: var(--sp-5) 0 0; }

.hero__product {
  position: relative; display: grid; place-items: center;
}
.hero__product img {
  width: min(78%, 360px); filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
  animation: float 6s ease-in-out infinite;
}
.hero__halo {
  position: absolute; width: 110%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.45), transparent 62%);
  filter: blur(8px); z-index: -1;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Сребриста лента — подпис на марката */
.ribbon { position: relative; height: 60px; background: var(--navy-900); overflow: hidden; }
.ribbon svg { position: absolute; bottom: 0; width: 100%; height: 100%; }

/* ----- 7. Stat / trust bar ----------------------------------------------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: var(--shadow-1); margin-top: calc(var(--sp-7) * -1);
  position: relative; z-index: 5;
}
.trust__item { text-align: center; }
.trust__num { font-family: var(--font-display); font-size: var(--step-2); color: var(--navy-900); font-weight: 800; }
.trust__lab { font-size: var(--step--1); color: var(--text-soft); }

/* ----- 8. Двуколонни секции ---------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2);
  position: relative;
}
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
  border-radius: var(--r-lg);
}
.checklist { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background:
    linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.7 8.25-8.25 1.4 1.45z'/%3E%3C/svg%3E") center/80% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.7 8.25-8.25 1.4 1.45z'/%3E%3C/svg%3E") center/80% no-repeat;
  margin-top: 3px;
}

/* ----- 9. Активен начин на живот (тъмен блок) ---------------------------- */
.band {
  background: var(--navy-fill); color: #e7eefc; position: relative; overflow: hidden;
}
.band::before { content: ""; position: absolute; inset: 0; background: var(--blue-glow); }
.band .shell { position: relative; z-index: 2; }
.band .eyebrow { color: var(--cyan-400); }
.band .eyebrow::before { background: linear-gradient(90deg, var(--silver-300), var(--cyan-400)); }
.band h2 { color: #fff; }
.band .lead { color: #c7d4ec; }
.band .split__media { box-shadow: 0 20px 50px rgba(0,0,0,.4); }

/* ----- 10. Feature cards -------------------------------------------------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-5);
}
.card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--sky-400); }
.icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  display: grid; place-items: center; margin-bottom: var(--sp-4);
  position: relative; box-shadow: var(--shadow-1);
}
.icon::before, .icon::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
/* варианти на CSS икони */
.icon--drop::before { width: 16px; height: 16px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: var(--cyan-400); }
.icon--shield::before { width: 22px; height: 26px; background: var(--chrome-200);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5 3.4 8.5 8 11 4.6-2.5 8-6 8-11V5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5 3.4 8.5 8 11 4.6-2.5 8-6 8-11V5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.icon--leaf::before { width: 22px; height: 22px; background: var(--cyan-400);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 19C4 12 9 4 20 4c0 11-8 16-15 15m0 0 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 19C4 12 9 4 20 4c0 11-8 16-15 15m0 0 6-6'/%3E%3C/svg%3E") center/contain no-repeat; }
.icon--pulse::before { width: 26px; height: 2px; background: var(--cyan-400); }
.icon--pulse::after { width: 8px; height: 14px; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--chrome-200); }
.icon--clock::before { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--chrome-200); background: transparent; }
.icon--clock::after { width: 2px; height: 8px; top: 18px; left: calc(50% - 1px); background: var(--cyan-400); }
.icon--gauge::before { width: 24px; height: 12px; border-radius: 12px 12px 0 0; box-shadow: inset 0 0 0 2px var(--chrome-200); background: transparent; top: 22px; }
.icon--gauge::after { width: 2px; height: 10px; top: 18px; left: calc(50% - 1px); background: var(--cyan-400); transform-origin: bottom; transform: rotate(28deg); }
.card h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); color: var(--navy-900); }
.card p { color: var(--text-soft); margin: 0; font-size: var(--step--1); }

/* ----- 11. Quality grid --------------------------------------------------- */
.quality {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.qcard {
  border-radius: var(--r-lg); padding: var(--sp-6);
  background: linear-gradient(180deg, #fff, var(--chrome-100));
  border: 1px solid var(--line);
}
.qcard b { display: block; font-family: var(--font-display); font-size: var(--step-1); color: var(--navy-900); margin-bottom: var(--sp-2); }
.qcard span { color: var(--text-soft); font-size: var(--step--1); }

/* ----- 12. FAQ accordion -------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; margin-bottom: var(--sp-3); box-shadow: var(--shadow-1); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--navy-900);
  padding: var(--sp-4) var(--sp-5); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.acc__btn:hover { background: var(--chrome-100); }
.acc__icon { flex: none; width: 22px; height: 22px; position: relative; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--blue-600); border-radius: 2px; }
.acc__icon::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.acc__icon::after  { width: 2px; height: 14px; top: 4px; left: 10px; transition: transform .3s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc__panel-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-soft); }

/* ----- 13. Order section -------------------------------------------------- */
.order { background: linear-gradient(180deg, var(--chrome-100), #fff); }
.order__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--sp-7); align-items: center; }
.order__media { position: relative; display: grid; place-items: center; }
.order__media img { width: min(70%, 300px); filter: drop-shadow(0 26px 40px rgba(12,22,51,.28)); }
.order__media::before {
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.30), transparent 65%); z-index: -1;
}
.pricebox {
  display: inline-flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-4);
}
.pricebox b { font-family: var(--font-display); font-size: var(--step-3); color: var(--navy-900); }
.pricebox span { color: var(--text-soft); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-2); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-weight: 700; font-size: var(--step--1); color: var(--navy-800); margin-bottom: var(--sp-2); }
.field input {
  width: 100%; font: inherit; padding: .8em 1em; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--chrome-100); color: var(--ink-900);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus { background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.18); outline: none; }
.field input[aria-invalid="true"] { border-color: #dc2626; background: #fef2f2; }
.field__error { color: #dc2626; font-size: var(--step--1); margin-top: var(--sp-2); display: none; }
.field__error.show { display: block; }

.consent { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-4); font-size: var(--step--1); color: var(--text-soft); }
.consent input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--blue-600); flex: none; }

/* ----- 14. Footer / contact ---------------------------------------------- */
.site-footer { background: var(--navy-900); color: #c7d4ec; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-7); padding-block: var(--sp-8) var(--sp-6); }
.site-footer h3 { color: #fff; font-size: var(--step-1); margin-bottom: var(--sp-4); }
.site-footer a { color: var(--silver-300); }
.site-footer a:hover { color: var(--cyan-400); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.footer-bottom {
  border-top: 1px solid rgba(226,232,240,.15); padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between;
  font-size: var(--step--1); color: var(--silver-300);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ----- 15. Disclaimer band ------------------------------------------------ */
.disclaimer-band {
  background: var(--chrome-100); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-5);
  font-size: var(--step--1); color: var(--text-soft);
}
.disclaimer-band strong { color: var(--navy-900); }

/* ----- 16. Cookie banner -------------------------------------------------- */
.cookie {
  position: fixed; inset: auto var(--sp-5) var(--sp-5) var(--sp-5); z-index: 150;
  max-width: 560px; margin-inline: auto;
  background: var(--navy-800); color: #e7eefc;
  border: 1px solid rgba(226,232,240,.2); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-2);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: var(--step--1); margin-bottom: var(--sp-4); }
.cookie a { color: var(--cyan-400); }
.cookie__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cookie .btn { padding: .6em 1.2em; font-size: var(--step--1); }

/* ----- 17. Content pages (legal) ----------------------------------------- */
.doc { max-width: 780px; }
.doc h1 { font-size: var(--step-3); color: var(--navy-900); margin-bottom: var(--sp-3); }
.doc h2 { font-size: var(--step-1); color: var(--navy-800); margin: var(--sp-6) 0 var(--sp-3); }
.doc p, .doc li { color: var(--text-soft); }
.doc ul { padding-left: 1.2rem; display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.doc .meta { font-size: var(--step--1); color: var(--ink-500); margin-bottom: var(--sp-6); }
.doc table { width: 100%; border-collapse: collapse; margin: var(--sp-4) 0; }
.doc th, .doc td { text-align: left; padding: var(--sp-3); border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.doc th { color: var(--navy-900); }

/* ----- 18. Success page --------------------------------------------------- */
.success { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.success__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-8); box-shadow: var(--shadow-2); max-width: 540px;
}
.success__check {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto var(--sp-5);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  display: grid; place-items: center; box-shadow: var(--shadow-blue);
  animation: pop .5s var(--ease);
}
.success__check::after {
  content: ""; width: 40px; height: 40px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.7 8.25-8.25 1.4 1.45z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.7 8.25-8.25 1.4 1.45z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ----- 19. Scroll reveal -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ----- 20. Респонсив ------------------------------------------------------ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__product { order: -1; }
  .hero__product img { width: min(56%, 260px); }
  .split, .order__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .split--reverse .split__media { order: 0; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav__links.open { max-height: 420px; }
  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: var(--sp-4) var(--sp-5); }
  .nav__links .btn { margin: var(--sp-3) var(--sp-5); }
}

@media (max-width: 540px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .section { padding-block: var(--sp-8); }
  .cookie { inset: auto var(--sp-3) var(--sp-3) var(--sp-3); }
}
