/* ===================================================================
   KARSEIL — landing page styles
   Світла преміум-палітра: крем + золото + теракота
   =================================================================== */

:root{
  --cream:      #fffaf3;
  --cream-2:    #fff5e8;
  --sand:       #f7ead6;
  --sand-2:     #f0dfc4;
  --line:       #e8d9be;
  --ink:        #2c2318;
  --ink-2:      #5b4e3c;
  --ink-3:      #8a7c66;
  --gold:       #c08b18;
  --gold-2:     #e0ae3c;
  --gold-soft:  #f6e3ba;
  --rose:       #c0442f;
  --rose-soft:  #fce7e2;
  --green:      #2f7d4f;
  --white:      #ffffff;

  --r:    18px;
  --r-sm: 12px;
  --shadow:    0 10px 30px rgba(120, 95, 45, .10);
  --shadow-lg: 0 24px 60px rgba(120, 95, 45, .18);
  --bar-h: 52px;

  --font:  'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--font);
  font-size:17px;
  line-height:1.62;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
s{ opacity:.6; }
.accent{ color:var(--gold); }

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding-inline:20px;
}

/* ---------- КНОПКИ ---------- */
.btn{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  padding:17px 38px;
  border:0;
  border-radius:100px;
  background:linear-gradient(135deg,#d99b1f,#b8780f 60%,#d99b1f);
  color:#fff;
  font-family:inherit;
  font-size:17px;
  font-weight:800;
  line-height:1.25;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(184,120,15,.32);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  position:relative;
  overflow:hidden;
}
.btn::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.45) 50%,transparent 80%);
  transform:translateX(-120%);
  animation:shine 3.4s ease-in-out infinite;
}
@keyframes shine{ 0%,65%{transform:translateX(-120%);} 100%{transform:translateX(120%);} }
.btn:hover{ transform:translateY(-2px); box-shadow:0 16px 34px rgba(184,120,15,.42); filter:saturate(1.06); }
.btn:active{ transform:translateY(0); }
.btn__sub{
  font-size:12.5px;
  font-weight:600;
  opacity:.92;
  letter-spacing:.2px;
}
.btn--big{ padding:20px 46px; font-size:19px; }
.btn--full{ display:flex; width:100%; }

/* ---------- ВЕРХНЯ СТРІЧКА ----------
   Статична (не fixed), щоб ніколи не перекривати головну картинку */
.promo-bar{
  position:relative;
  z-index:80;
  min-height:var(--bar-h);
  background:linear-gradient(90deg,#fdf0d5,#f8e0b4,#fdf0d5);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 14px rgba(150,120,60,.12);
}
.promo-bar__in{
  display:flex; align-items:center; justify-content:center;
  gap:12px;
  min-height:var(--bar-h);
  flex-wrap:wrap;
  font-size:14px;
  padding-block:8px;
}
.promo-bar__fire{ font-size:18px; animation:pulse 1.4s ease-in-out infinite; }
@keyframes pulse{ 50%{ transform:scale(1.18); } }
.promo-bar__text b{ color:var(--rose); }
.promo-bar__timer{
  font-weight:800;
  font-variant-numeric:tabular-nums;
  background:var(--ink);
  color:#ffd98a;
  padding:4px 12px;
  border-radius:8px;
  letter-spacing:1px;
}
.promo-bar__btn{
  background:var(--rose);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:13.5px;
  padding:8px 18px;
  border-radius:100px;
  white-space:nowrap;
  transition:background .2s;
}
.promo-bar__btn:hover{ background:#a5361f; }

/* ===================================================================
   HERO
   =================================================================== */
.hero{ background:linear-gradient(180deg,var(--cream-2),var(--cream)); }

/* Головна картинка — повністю відкрита: без накладок, градієнтів і бейджів */
.hero__img{ width:100%; font-size:0; }
.hero__img img{ width:100%; height:auto; }

.hero__body{ padding-block:44px 66px; text-align:center; }

.hero__tag{
  display:inline-block;
  background:var(--white);
  border:1px solid var(--line);
  color:var(--ink-3);
  font-size:12.5px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase;
  padding:8px 18px; border-radius:100px;
  box-shadow:var(--shadow);
}
.hero__title{
  font-family:var(--serif);
  font-size:clamp(34px,5.6vw,66px);
  line-height:1.08;
  font-weight:700;
  margin:22px 0 0;
  letter-spacing:-.5px;
}
.hero__sub{
  max-width:720px;
  margin:20px auto 0;
  font-size:clamp(16px,2vw,19px);
  color:var(--ink-2);
}

/* ---------- ЦІНА ---------- */
.price{
  display:flex; align-items:stretch; justify-content:center;
  gap:0;
  max-width:560px;
  margin:34px auto 0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  text-align:left;
}
.price__left{ flex:1; padding:24px 26px; }
.price__old{ font-size:14px; color:var(--ink-3); }
.price__old s{ font-weight:700; }
.price__new{
  font-family:var(--serif);
  font-size:64px; font-weight:700; line-height:1;
  color:var(--rose);
  margin:4px 0 6px;
}
.price__new span{ font-family:var(--font); font-size:22px; font-weight:800; }
.price__note{ font-size:13px; color:var(--ink-3); }
.price__note b{ color:var(--gold); }

.price__stick{
  width:150px;
  background:linear-gradient(160deg,#fdf0d2,#f3dcaa);
  border-left:1px dashed var(--line);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:18px 10px;
  text-align:center;
}
.price__discount{
  font-size:30px; font-weight:800;
  color:var(--rose);
  letter-spacing:-1px;
}
.price__timer{
  margin-top:8px;
  font-weight:800; font-size:19px;
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  letter-spacing:.5px;
}
.price__timer-lbl{ font-size:11px; color:var(--ink-3); text-transform:uppercase; letter-spacing:1px; }

/* ---------- БУЛІТИ ---------- */
.bullets{
  list-style:none;
  max-width:720px;
  margin:32px auto 0;
  padding:0;
  text-align:left;
  display:grid;
  gap:10px;
}
/* Текст пункту має бути суцільним рядком, тому li — блок,
   а іконка винесена в абсолют (інакше <b> і решта тексту
   стають окремими flex-елементами й ламаються у дві вузькі колонки) */
.bullets li{
  display:block;
  position:relative;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  padding:13px 18px 13px 44px;
  font-size:16px;
  line-height:1.5;
  color:var(--ink-2);
  box-shadow:0 4px 14px rgba(150,120,60,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.bullets li:hover{ transform:translateX(4px); box-shadow:0 8px 20px rgba(150,120,60,.12); }
.bullets li b{ color:var(--ink); }
.bullets__ico{
  position:absolute;
  left:19px; top:13px;
  color:var(--gold-2);
  font-size:15px;
  line-height:1.6;
}

.hero .btn--big{ margin-top:30px; }

.hero__trust{
  display:flex; justify-content:center; flex-wrap:wrap;
  gap:14px 44px;
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid var(--line);
}
.hero__trust-i{ display:flex; flex-direction:column; }
.hero__trust-i b{ font-family:var(--serif); font-size:30px; color:var(--gold); line-height:1; }
.hero__trust-i span{ font-size:13px; color:var(--ink-3); margin-top:4px; }

/* ===================================================================
   СЕКЦІЇ
   =================================================================== */
.sec{ padding-block:82px; }
.sec__label{
  font-size:12px; font-weight:800; letter-spacing:3px; text-transform:uppercase;
  color:var(--gold);
  margin-bottom:14px;
}
.sec__title{
  font-family:var(--serif);
  font-size:clamp(28px,4.2vw,50px);
  line-height:1.12;
  font-weight:700;
  margin:0 0 16px;
  letter-spacing:-.4px;
}
.sec__lead{ max-width:760px; color:var(--ink-2); font-size:17px; margin:0 0 34px; }

/* ---------- БЛОК ПРОБЛЕМИ ---------- */
.problem{ background:var(--white); }
.problem__grid{
  display:grid;
  grid-template-columns:1.55fr 1fr;
  gap:48px;
  margin-top:28px;
}
.problem__text p{ margin:0 0 18px; color:var(--ink-2); }
.problem__text b{ color:var(--ink); }
.problem__list{
  list-style:none; padding:0;
  margin:0 0 22px;
  display:grid; gap:9px;
}
.problem__list li{
  position:relative;
  padding:11px 16px 11px 42px;
  background:var(--rose-soft);
  border-left:3px solid var(--rose);
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  color:#7a3627;
  font-size:15.6px;
}
.problem__list li::before{
  content:"✕";
  position:absolute; left:15px; top:11px;
  color:var(--rose); font-weight:800; font-size:13px;
}
.problem__quote{
  background:linear-gradient(135deg,var(--cream-2),var(--sand));
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:26px 28px;
  margin:26px 0;
  position:relative;
}
.problem__quote::before{
  content:"“";
  position:absolute; top:-8px; left:18px;
  font-family:var(--serif); font-size:78px; color:var(--gold-2); opacity:.45; line-height:1;
}
.problem__quote p{ font-family:var(--serif); font-size:21px; line-height:1.45; color:var(--ink); margin:0 0 10px; }
.problem__quote span{ font-size:13px; color:var(--ink-3); font-weight:600; }
.problem__final{
  font-size:19px !important;
  color:var(--ink) !important;
  padding:18px 22px;
  background:var(--gold-soft);
  border-radius:var(--r-sm);
}

.problem__side{ display:grid; gap:16px; align-content:start; }
.problem__card{
  background:linear-gradient(160deg,var(--cream-2),var(--white));
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:22px 22px 20px;
  box-shadow:var(--shadow);
  position:relative;
}
.problem__card-num{
  position:absolute; top:-14px; left:20px;
  width:34px; height:34px; border-radius:50%;
  background:var(--gold-2); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:15px;
  box-shadow:0 6px 14px rgba(184,140,30,.35);
}
.problem__card h3{ margin:8px 0 8px; font-size:17px; line-height:1.3; }
.problem__card p{ margin:0; font-size:14.6px; color:var(--ink-3); }
.problem__prod{ margin:6px auto 0; width:74%; }

/* ---------- ПОРІВНЯННЯ ---------- */
.compare{ background:linear-gradient(180deg,var(--cream),var(--sand)); }
.vs{
  display:grid;
  grid-template-columns:1fr 70px 1fr;
  align-items:center;
  gap:0;
  margin-bottom:44px;
}
.vs__col{
  border-radius:var(--r);
  padding:26px 26px 22px;
  background:var(--white);
  box-shadow:var(--shadow);
}
.vs__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.vs__col li{ position:relative; padding-left:28px; font-size:15.3px; color:var(--ink-2); }
.vs__head{ font-weight:800; font-size:17px; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--line); }

.vs__col--bad{ border:1px solid #f0d6cf; }
.vs__col--bad .vs__head{ color:var(--rose); }
.vs__col--bad li::before{ content:"✕"; position:absolute; left:0; top:0; color:var(--rose); font-weight:800; }

.vs__col--good{
  border:2px solid var(--gold-2);
  background:linear-gradient(160deg,#fffdf7,#fdf3df);
  box-shadow:0 18px 44px rgba(184,140,30,.20);
  transform:scale(1.03);
  z-index:2;
}
.vs__col--good .vs__head{ color:var(--gold); }
.vs__col--good li::before{ content:"✓"; position:absolute; left:0; top:0; color:var(--green); font-weight:800; }

.vs__mid{
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-weight:700; font-size:24px;
  color:var(--ink-3);
}

.table-wrap{
  overflow-x:auto;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  -webkit-overflow-scrolling:touch;
}
.tbl{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
  font-size:15px;
}
.tbl th,.tbl td{
  padding:15px 16px;
  text-align:center;
  border-bottom:1px solid #f2e7d5;
}
.tbl th{
  background:var(--cream-2);
  font-size:13.5px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--ink-3);
  position:sticky; top:0;
}
.tbl td:first-child,.tbl th:first-child{
  text-align:left;
  font-weight:700;
  color:var(--ink);
  background:#fffdf9;
}
.tbl tbody tr:hover td{ background:#fffcf4; }
.tbl__win{
  background:linear-gradient(180deg,#fdf3dc,#fbeccd) !important;
  color:var(--ink) !important;
  font-weight:800;
  border-left:2px solid var(--gold-2);
  border-right:2px solid var(--gold-2);
}
.tbl thead .tbl__win{
  background:linear-gradient(180deg,#e2ae3d,#cf9520) !important;
  color:#fff !important;
  border-top:2px solid var(--gold-2);
  font-size:15px;
}
.tbl tbody tr:last-child .tbl__win{ border-bottom:2px solid var(--gold-2); }
.tbl__yes{ color:var(--green) !important; }
.tbl__no{ color:var(--rose); }
.tbl__part{ color:#b3821a; }

.compare__cta{
  display:flex; align-items:center; justify-content:space-between;
  gap:26px; flex-wrap:wrap;
  margin-top:36px;
  padding:26px 30px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow:var(--shadow);
}
.compare__cta-txt{ font-size:17px; color:var(--ink-2); max-width:620px; }

/* ---------- КІЛЬЦЕВА ГАЛЕРЕЯ ---------- */
.gallery{ background:var(--white); overflow:hidden; }
.ring{
  position:relative;
  margin-top:26px;
  padding-block:10px 20px;
}
.ring__stage{
  position:relative;
  height:470px;
  perspective:1400px;
  overflow:hidden;
}
.ring__track{
  position:absolute; inset:0;
  transform-style:preserve-3d;
}
.ring__item{
  position:absolute;
  top:0; left:50%;
  width:290px;
  margin:0;
  transform-style:preserve-3d;
  transition:transform .6s cubic-bezier(.22,.8,.27,1), opacity .6s ease, filter .6s ease;
  cursor:pointer;
}
.ring__item img{
  width:100%;
  height:396px;
  object-fit:cover;
  border-radius:var(--r);
  border:1px solid var(--line);
  box-shadow:var(--shadow-lg);
  background:var(--sand);
}
.ring__item figcaption{
  margin-top:12px;
  text-align:center;
  font-size:14px;
  font-weight:700;
  color:var(--ink-3);
}
.ring__item.is-active figcaption{ color:var(--gold); }

.ring__nav{
  position:absolute;
  top:190px;
  z-index:10;
  width:52px; height:52px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--white);
  color:var(--ink);
  font-size:26px; line-height:1;
  cursor:pointer;
  box-shadow:var(--shadow);
  transition:background .2s, transform .2s;
}
.ring__nav:hover{ background:var(--gold-2); color:#fff; transform:scale(1.08); }
.ring__nav--prev{ left:max(16px,calc(50% - 560px)); }
.ring__nav--next{ right:max(16px,calc(50% - 560px)); }

.ring__dots{ display:flex; justify-content:center; gap:8px; margin-top:22px; }
.ring__dots button{
  width:9px; height:9px; padding:0;
  border:0; border-radius:50%;
  background:var(--sand-2);
  cursor:pointer;
  transition:width .25s, background .25s;
}
.ring__dots button.is-active{ width:26px; border-radius:6px; background:var(--gold-2); }

.gallery__cta{ text-align:center; margin-top:34px; }

/* ---------- ВІДГУКИ ---------- */
.reviews{ background:linear-gradient(180deg,var(--sand),var(--cream)); }
.rating{
  display:flex; align-items:center; gap:40px; flex-wrap:wrap;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:26px 32px;
  box-shadow:var(--shadow);
  margin-bottom:34px;
}
.rating__big{
  font-family:var(--serif);
  font-size:66px; font-weight:700; line-height:1;
  color:var(--gold);
  display:flex; flex-direction:column; align-items:center;
}
.rating__stars{ font-size:20px; color:var(--gold-2); letter-spacing:2px; margin-top:6px; }
.rating__big em{ font-style:normal; font-family:var(--font); font-size:12.5px; color:var(--ink-3); font-weight:600; margin-top:4px; }
.rating__bars{ flex:1; min-width:250px; display:grid; gap:7px; }
.rating__row{ display:flex; align-items:center; gap:12px; font-size:13px; color:var(--ink-3); font-weight:700; }
.rating__row i{ flex:1; height:8px; background:var(--sand); border-radius:6px; overflow:hidden; }
.rating__row b{ display:block; height:100%; background:linear-gradient(90deg,var(--gold-2),var(--gold)); border-radius:6px; }
.rating__row em{ font-style:normal; width:36px; text-align:right; }

.rev-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.rev{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:22px 24px;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.rev:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.rev__top{ display:flex; align-items:center; gap:12px; }
.rev__top img{ width:50px; height:50px; border-radius:50%; flex:none; }
.rev__top b{ display:block; font-size:15.5px; }
.rev__top span{ font-size:12px; color:var(--green); font-weight:600; }
.rev__stars{ color:var(--gold-2); letter-spacing:2px; margin:12px 0 8px; font-size:16px; }
.rev p{ margin:0; font-size:15.2px; color:var(--ink-2); }
.rev__meta{ margin-top:14px; padding-top:12px; border-top:1px solid #f3e9d8; font-size:12.5px; color:var(--ink-3); }

/* ---------- КРОКИ ---------- */
.steps{ background:var(--white); }
.steps__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:30px;
}
.step{
  background:linear-gradient(170deg,var(--cream-2),var(--white));
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:28px 22px 24px;
  position:relative;
  box-shadow:var(--shadow);
  transition:transform .2s ease;
}
.step:hover{ transform:translateY(-5px); }
.step__n{
  font-family:var(--serif);
  font-size:46px; font-weight:700; line-height:1;
  color:var(--gold-2);
  opacity:.55;
  margin-bottom:10px;
}
.step h3{ margin:0 0 8px; font-size:18px; }
.step p{ margin:0; font-size:14.8px; color:var(--ink-3); }

.guarantee{
  display:flex; align-items:flex-start; gap:18px;
  margin-top:30px;
  padding:26px 30px;
  background:linear-gradient(135deg,#f2fbf5,#e8f6ee);
  border:1px solid #cfe8da;
  border-radius:var(--r);
  font-size:16px; color:#2c4a38;
}
.guarantee b{ color:#1e5e3a; }
.guarantee__ico{
  flex:none;
  width:44px; height:44px; border-radius:50%;
  background:var(--green); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; font-weight:800;
}

/* ---------- ФІНАЛЬНИЙ БЛОК + ФОРМА ---------- */
.final{ background:linear-gradient(180deg,var(--cream),var(--sand)); }
.final__img{ width:100%; font-size:0; }
.final__img img{ width:100%; height:auto; }
.final__body{ padding-block:44px 82px; text-align:center; }
.final__title{
  font-family:var(--serif);
  font-size:clamp(30px,4.6vw,54px);
  font-weight:700; line-height:1.1;
  margin:0 0 12px;
}
.final__sub{ color:var(--ink-2); max-width:640px; margin:0 auto 36px; }

.order{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:22px;
  text-align:left;
  align-items:start;
}
.form{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:30px 32px;
  box-shadow:var(--shadow-lg);
}
.form__row{ margin-bottom:18px; }
.form__row label{
  display:block;
  font-size:13.5px; font-weight:700;
  color:var(--ink-2);
  margin-bottom:7px;
}
.form input[type=text],.form input[type=tel],.form .form__select{
  width:100%;
  padding:15px 17px;
  font-family:inherit; font-size:16px;
  color:var(--ink);
  background:var(--cream-2);
  border:1.5px solid var(--line);
  border-radius:var(--r-sm);
  transition:border-color .18s, background .18s, box-shadow .18s;
}
.form input::placeholder{ color:#b6a88d; }
.form input:focus,.form .form__select:focus{
  outline:none;
  background:var(--white);
  border-color:var(--gold-2);
  box-shadow:0 0 0 4px rgba(224,174,60,.16);
}
.form input.is-bad,.form .form__select.is-bad{ border-color:var(--rose); background:var(--rose-soft); }
.form__err{ display:block; min-height:16px; margin-top:5px; font-size:12.5px; color:var(--rose); font-weight:600; }
.form__err--ok{ color:var(--green); }
.form__policy{ margin:14px 0 0; font-size:12px; color:var(--ink-3); text-align:center; }

.packs{ display:grid; gap:10px; }
.pack{ display:block; cursor:pointer; position:relative; }
.pack input{ position:absolute; opacity:0; pointer-events:none; }
.pack__b{
  display:block;
  padding:15px 18px;
  border:1.5px solid var(--line);
  border-radius:var(--r-sm);
  background:var(--cream-2);
  transition:border-color .18s, background .18s, box-shadow .18s;
}
.pack:hover .pack__b{ border-color:var(--gold-2); }
.pack input:checked + .pack__b{
  border-color:var(--gold);
  background:linear-gradient(135deg,#fdf3dc,#fbeaca);
  box-shadow:0 0 0 3px rgba(224,174,60,.18);
}
.pack__t{ display:block; font-weight:800; font-size:16px; }
.pack__p{ display:block; font-size:19px; font-weight:800; color:var(--rose); margin-top:2px; }
.pack__p s{ font-size:14px; color:var(--ink-3); font-weight:600; }
.pack__d{ display:block; font-size:13px; color:var(--ink-3); margin-top:3px; }
.pack--hot .pack__b,
.pack--best .pack__b{ padding-top:24px; }
.pack__flag{
  position:absolute; top:-9px; left:16px;
  background:var(--rose); color:#fff;
  font-size:11px; font-weight:800; letter-spacing:1px;
  text-transform:uppercase;
  padding:4px 11px; border-radius:100px;
  box-shadow:0 5px 12px rgba(192,68,47,.32);
}
.pack__flag--best{
  background:linear-gradient(135deg,#d99b1f,#b8780f);
  box-shadow:0 5px 12px rgba(184,120,15,.34);
  letter-spacing:.8px;
}

.order__side{ display:grid; gap:16px; }
.order__timer{
  background:linear-gradient(150deg,#fdf0d2,#f2d9a4);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:20px;
  text-align:center;
  box-shadow:var(--shadow);
}
.order__timer span{ font-size:13px; font-weight:700; color:var(--ink-3); text-transform:uppercase; letter-spacing:1.4px; }
.order__timer div{
  font-size:38px; font-weight:800; line-height:1.1;
  font-variant-numeric:tabular-nums;
  color:var(--rose);
  margin-top:6px;
}
.order__list{
  list-style:none; margin:0; padding:22px 24px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  display:grid; gap:10px;
  font-size:15px; color:var(--ink-2); font-weight:600;
  box-shadow:var(--shadow);
}
.order__list li{ color:var(--ink-2); }
.order__stock{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:20px 24px;
  box-shadow:var(--shadow);
}
.order__stock-txt{ font-size:13.5px; color:var(--ink-3); font-weight:700; }
.order__stock-bar{
  height:10px; margin:10px 0 8px;
  background:var(--sand);
  border-radius:6px; overflow:hidden;
}
.order__stock-bar b{
  display:block; height:100%; width:8.5%;
  background:linear-gradient(90deg,#e0673f,var(--rose));
  border-radius:6px;
  transition:width .6s ease;
}
.order__stock-num{ font-size:13px; color:var(--rose); font-weight:800; }

/* ---------- ФУТЕР ---------- */
.footer{
  background:var(--white);
  border-top:1px solid var(--line);
  padding-block:36px 96px;
  text-align:center;
}
.footer__logo{
  font-family:var(--serif);
  font-size:28px; font-weight:700;
  letter-spacing:6px;
  color:var(--gold);
}
.footer p{ margin:10px 0 0; font-size:13.5px; color:var(--ink-3); }
.footer__small{ font-size:12px !important; opacity:.8; }

/* ---------- МОБІЛЬНА КНОПКА ---------- */
.mob-cta{
  display:none;
  position:fixed; left:12px; right:12px; bottom:12px;
  z-index:70;
  padding:16px;
  border-radius:100px;
  background:linear-gradient(135deg,#d99b1f,#b8780f);
  color:#fff; font-weight:800; font-size:16px;
  text-align:center; text-decoration:none;
  box-shadow:0 12px 30px rgba(184,120,15,.42);
}

/* ===================================================================
   МОДАЛЬНІ ВІКНА
   =================================================================== */
.modal{
  position:fixed; inset:0;
  z-index:120;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
}
.modal[hidden]{ display:none; }
.modal__bg{
  position:absolute; inset:0;
  background:rgba(60,45,20,.45);
  backdrop-filter:blur(3px);
  animation:fadeIn .25s ease;
}
@keyframes fadeIn{ from{ opacity:0; } }
.modal__win{
  position:relative;
  width:100%; max-width:430px;
  max-height:92vh; overflow-y:auto;
  background:linear-gradient(170deg,#fffdf8,#fdf3e2);
  border:1px solid var(--line);
  border-radius:24px;
  padding:34px 32px 26px;
  text-align:center;
  box-shadow:0 30px 80px rgba(60,45,20,.35);
  animation:popIn .38s cubic-bezier(.2,.9,.3,1.15);
}
@keyframes popIn{ from{ opacity:0; transform:translateY(26px) scale(.94); } }
.modal__x{
  position:absolute; top:12px; right:14px;
  width:34px; height:34px;
  border:0; border-radius:50%;
  background:var(--sand);
  color:var(--ink-3);
  font-size:22px; line-height:1;
  cursor:pointer;
  transition:background .18s, color .18s;
}
.modal__x:hover{ background:var(--rose); color:#fff; }
.modal__win h3{ font-size:21px; margin:10px 0 8px; }
.modal__win p{ font-size:15px; color:var(--ink-2); margin:0 0 18px; }
.modal__win p b{ color:var(--rose); }
.modal__win--ok{ max-width:390px; }
.modal__check{
  width:72px; height:72px; margin:0 auto 14px;
  border-radius:50%;
  background:var(--green); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:38px; font-weight:800;
  box-shadow:0 12px 28px rgba(47,125,79,.35);
}
body.is-locked{ overflow:hidden; }

/* ===================================================================
   АДАПТИВ
   =================================================================== */
@media (max-width:1100px){
  .problem__grid{ grid-template-columns:1fr; gap:34px; }
  .problem__side{ grid-template-columns:repeat(3,1fr); }
  .problem__prod{ display:none; }
  .rev-grid{ grid-template-columns:repeat(2,1fr); }
  .steps__grid{ grid-template-columns:repeat(2,1fr); }
  .ring__nav--prev{ left:12px; }
  .ring__nav--next{ right:12px; }
}

@media (max-width:900px){
  .order{ grid-template-columns:1fr; }
  .vs{ grid-template-columns:1fr; gap:14px; }
  .vs__mid{ padding:4px 0; }
  .vs__col--good{ transform:none; }
}

@media (max-width:760px){
  body{ font-size:16px; }
  .sec{ padding-block:56px; }
  .promo-bar__text{ display:none; }
  .promo-bar__in{ gap:8px; }
  .hero__body{ padding-bottom:50px; }
  .price{ flex-direction:column; max-width:420px; }
  .price__stick{ width:100%; border-left:0; border-top:1px dashed var(--line); flex-direction:row; gap:16px; }
  .price__timer{ margin-top:0; }
  .problem__side{ grid-template-columns:1fr; }
  .rev-grid{ grid-template-columns:1fr; }
  .steps__grid{ grid-template-columns:1fr; }
  .compare__cta{ flex-direction:column; text-align:center; padding:22px; }
  .compare__cta .btn{ width:100%; }
  .form{ padding:24px 20px; }
  .ring__stage{ height:400px; }
  .ring__item{ width:210px; }
  .ring__item img{ height:300px; }
  .ring__nav{ top:140px; width:44px; height:44px; font-size:22px; }
  .mob-cta{ display:block; }
  .footer{ padding-bottom:110px; }
  .rating{ padding:20px; gap:22px; }
  .rating__big{ font-size:52px; }
  .btn--big{ width:100%; padding:18px 22px; font-size:17px; }
  .hero__trust{ gap:12px 26px; }
  .hero__trust-i b{ font-size:24px; }
}

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

/* ---------- ПОЯВА ПРИ ПРОКРУТЦІ (керується JS) ---------- */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .55s ease, transform .55s ease;
}
.reveal.is-in{ opacity:1; transform:none; }
.step.reveal.is-in:hover{ transform:translateY(-5px); }
.rev.reveal.is-in:hover{ transform:translateY(-4px); }

@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; }
}

/* ===================================================================
   КРУЖЕЧОК ЗНИЖКИ (замість поп-апа)
   =================================================================== */
.promo-dot{
  position:fixed;
  right:22px; bottom:22px;
  z-index:75;
  width:88px; height:88px;
  border-radius:50%;
  background:radial-gradient(circle at 34% 30%,#ffe9b4,#dba82f);
  color:#41320f;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-decoration:none;
  border:3px solid #fff;
  box-shadow:0 12px 28px rgba(160,120,30,.38);
  transition:transform .2s ease, box-shadow .2s ease;
}
.promo-dot::before{
  content:"";
  position:absolute; inset:-3px;
  border-radius:50%;
  border:2px solid var(--gold-2);
  animation:ring 2.2s ease-out infinite;
}
@keyframes ring{
  0%   { transform:scale(1);    opacity:.75; }
  100% { transform:scale(1.42); opacity:0; }
}
.promo-dot:hover{ transform:scale(1.07); box-shadow:0 16px 34px rgba(160,120,30,.5); }
.promo-dot__val{ font-size:24px; font-weight:800; line-height:1; letter-spacing:-.5px; }
.promo-dot__lbl{
  font-size:10px; font-weight:700;
  text-transform:uppercase; letter-spacing:2px;
  margin-top:3px; opacity:.8;
}

/* ===================================================================
   СПОВІЩЕННЯ ПРО ЗАМОВЛЕННЯ
   =================================================================== */
.toasts{
  position:fixed;
  left:20px; bottom:20px;
  z-index:76;
  display:flex; flex-direction:column-reverse; gap:10px;
  max-width:min(330px,calc(100vw - 40px));
  pointer-events:none;
}
.toast{
  display:flex; align-items:center; gap:12px;
  padding:12px 16px 12px 12px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow-lg);
  opacity:0;
  transform:translateY(14px);
  transition:opacity .35s ease, transform .35s ease;
}
.toast.is-in{ opacity:1; transform:none; }
.toast__img{
  width:44px; height:44px; flex:none;
  border-radius:10px;
  background:var(--sand);
  object-fit:cover;
}
.toast__body{ min-width:0; }
.toast__name{ font-size:14px; font-weight:800; line-height:1.3; }
.toast__name b{ color:var(--gold); }
.toast__txt{ font-size:12.5px; color:var(--ink-3); line-height:1.4; }
.toast__txt i{ font-style:normal; color:var(--green); font-weight:700; }

@media (max-width:760px){
  .promo-dot{ width:68px; height:68px; right:14px; bottom:80px; }
  .promo-dot__val{ font-size:19px; }
  .promo-dot__lbl{ font-size:8.5px; letter-spacing:1.4px; }
  /* right лишає місце під кружечок знижки, щоб вони не накладались */
  .toasts{ left:12px; right:92px; bottom:80px; max-width:none; }
  .toast__txt{ font-size:12px; }
}

@media (prefers-reduced-motion:reduce){
  .promo-dot::before{ display:none; }
}

/* ===================================================================
   ТАБЛИЦЯ ПОРІВНЯННЯ НА ВУЗЬКИХ ЕКРАНАХ
   Залишається таблицею — просто стискається під ширину екрана
   =================================================================== */
.th-short{ display:none; }

@media (max-width:820px){
  /* фіксована розкладка + відсоткові колонки = таблиця завжди влазить */
  .tbl{
    min-width:0;
    width:100%;
    table-layout:fixed;
    font-size:13px;
  }
  .tbl th,
  .tbl td{
    padding:9px 6px;
    overflow-wrap:break-word;
    word-break:break-word;
    hyphens:auto;
  }
  .tbl th{ font-size:11px; letter-spacing:0; }
  .tbl thead .tbl__win{ font-size:12.5px; }

  .tbl th:first-child,
  .tbl td:first-child{ width:27%; font-size:12.5px; }
  .tbl th:not(:first-child),
  .tbl td:not(:first-child){ width:18.25%; }

  /* короткі назви колонок замість повних */
  .th-full{ display:none; }
  .th-short{ display:inline; }
}

@media (max-width:560px){
  .tbl{ font-size:12px; }
  .tbl th,.tbl td{ padding:8px 4px; }
  .tbl th{ font-size:10px; }
  .tbl th:first-child,.tbl td:first-child{ font-size:11.5px; }
  .tbl__win{ border-left-width:2px; border-right-width:2px; }
}

@media (max-width:420px){
  .tbl{ font-size:11px; }
  .tbl th,.tbl td{ padding:7px 3px; }
  .tbl th{ font-size:9.5px; }
  .tbl th:first-child,.tbl td:first-child{ width:28%; font-size:10.5px; }
  .tbl th:not(:first-child),.tbl td:not(:first-child){ width:18%; }
}

/* ===================================================================
   МІСЦЕ ПІД КАРТИНКУ В СЕКЦІЇ (webp)
   Поки файлу немає — показує акуратну рамку-заглушку
   =================================================================== */
.sec-img{
  position:relative;
  /* квадрат 1:1; ширину обмежуємо, бо квадрат на всю ширину
     контейнера (1180px) був би завеликий на десктопі */
  margin:0 auto 32px;
  max-width:560px;
  aspect-ratio:1 / 1;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:linear-gradient(135deg,var(--cream-2),var(--sand));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.sec-img::after{
  content:attr(data-ph);
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase;
  color:#bcab8a;
}
.sec-img img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* потрібне явно: display:block вище перебиває браузерне [hidden]{display:none} */
.sec-img img[hidden]{ display:none; }

@media (max-width:760px){
  .sec-img{ margin-bottom:24px; }
  .sec-img::after{ font-size:11px; letter-spacing:1.4px; }
}

/* ---------- ВИПАДНИЙ СПИСОК КОМПЛЕКТІВ ---------- */
.form .form__select{
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  /* місце під стрілку праворуч */
  padding-right:44px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c08b18' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 17px center;
}
/* поки комплект не обрано — текст приглушений, як placeholder */
.form__select:invalid{ color:#b6a88d; }
.form__select option{ color:var(--ink); }
.form__select option[value=""]{ color:#b6a88d; }
