/* =====================================================================
   ЭлитШеф — own stylesheet, built from scratch for the new markup.
   ===================================================================== */

:root {
  --ink:        #23271f;
  --ink-soft:   #5b6056;
  --bg:         #faf7f1;
  --bg-alt:     #f1ece2;
  --panel:      #ffffff;
  --line:       #e4ddd0;
  --accent:     #c9552e;
  --accent-dark:#9f3f1f;
  --accent-soft:#f1a15a;
  --gold:       #e3a63d;
  --dark:       #1c231e;
  --dark-soft:  #2c352c;
  --radius-s:   10px;
  --radius-m:   18px;
  --radius-l:   28px;
  --shadow:     0 18px 40px -18px rgba(28, 24, 16, .35);
  --shadow-sm:  0 8px 20px -10px rgba(28, 24, 16, .3);
  --container:  1160px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; position: relative; }

.section__title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.5px;
  text-align: center;
  color: var(--ink);
  margin-bottom: 46px;
}
.section__title span { color: var(--accent); }
.section__title:after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
  margin: 18px auto 0;
}
.section__title--left { text-align: left; }
.section__title--left:after { margin: 18px 0 0; }
.section__title--onDark { color: #fff; }
.section__title--onDark span { color: var(--accent-soft); }
.section__title--onDark:after { background: var(--accent-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 34px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(159, 63, 31, .55); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--block { width: 100%; }
.btn--cta { height: 64px; padding: 0 40px; font-size: 18px; }

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar { background: var(--dark); padding: 14px 0; }
.topbar__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2px;
}
.topbar__icon { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; opacity: .9; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 60px 0 110px;
  background: var(--dark) center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 0%, #3a4636 0%, rgba(28,35,30,.92) 55%, rgba(20,25,20,.97) 100%);
}
.hero__wrap { position: relative; z-index: 2; }
.hero__intro { text-align: center; padding-bottom: 30px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.hero__eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.hero__title { font-size: 60px; line-height: 1; font-weight: 800; letter-spacing: -1px; }
.hero__title b { color: var(--accent-soft); }
.hero__slogan { margin-top: 16px; font-size: 22px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.85); }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}
.hero__usp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.hero__usp li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,255,255,.92);
}
.hero__usp li:before {
  content: "\2713";
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
}

.hero__scroll {
  position: absolute;
  left: 0; right: 0; bottom: -26px;
  margin: auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  z-index: 5;
}
.hero__scroll:before {
  content: "";
  position: absolute;
  left: 50%; top: 42%;
  width: 12px; height: 12px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- offer card (shared: hero + final CTA) ---------- */
.offer-card {
  background: var(--panel);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--ink);
}
.offer-card--centered { max-width: 420px; margin: 0 auto; }
.offer-card__ribbon {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 14px 16px;
}
.offer-card__body { padding: 26px; }
.offer-card__timer-block { text-align: center; margin-bottom: 18px; }
.offer-card__timer-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.offer-card__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--bg-alt);
  border-radius: var(--radius-s);
  padding: 14px 10px;
  margin-bottom: 18px;
  text-align: center;
}
.offer-card__price span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.offer-card__price-old b { font-size: 22px; font-weight: 700; color: var(--ink-soft); text-decoration: line-through; }
.offer-card__price-new b { font-size: 30px; font-weight: 800; color: var(--accent); }
.offer-card__price-new span { color: var(--accent-dark); }

/* ---------- countdown ---------- */
.countdown { display: flex; align-items: center; justify-content: center; gap: 8px; }
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 8px 4px;
}
.countdown__num { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 10px; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.countdown__sep { font-size: 20px; font-weight: 700; color: var(--ink-soft); }
.countdown--light .countdown__unit { background: rgba(255,255,255,.1); }
.countdown--light .countdown__num { color: #fff; }
.countdown--light .countdown__label { color: rgba(255,255,255,.65); }
.countdown--light .countdown__sep { color: rgba(255,255,255,.6); }

/* ---------- order form ---------- */
.order-form__row { margin-bottom: 12px; }
.order-form input[type="text"],
.order-form input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.order-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,85,46,.15); }
.order-form input::placeholder { color: var(--ink-soft); }
.order-form__msg { min-height: 18px; text-align: center; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.order-form__msg--ok { color: #2f8f4e; }
.order-form__msg--error { color: var(--accent-dark); }
.order-form__secure { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; }

/* =========================================================
   GALLERY / SLIDER
   ========================================================= */
.gallery { background: var(--bg-alt); }
.slider { position: relative; }
.slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide {
  flex: 0 0 calc(50% - 10px);
  scroll-snap-align: start;
}
.slider__slide img { border-radius: var(--radius-m); box-shadow: var(--shadow-sm); width: 100%; height: 340px; object-fit: cover; }
.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--ink);
  z-index: 3;
}
.slider__nav--prev { left: -23px; }
.slider__nav--next { right: -23px; }

/* =========================================================
   COATING
   ========================================================= */
.coating { background: var(--panel); }
.coating__wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 54px;
  align-items: center;
}
.coating__lead { font-size: 17px; color: var(--ink-soft); margin: -20px 0 26px; }
.coating__desc { font-size: 16px; color: var(--ink-soft); margin-bottom: 24px; }
.coating__ions { display: grid; gap: 16px; background: var(--bg-alt); border-radius: var(--radius-m); padding: 22px; }
.coating__ions li { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.coating__ion {
  flex: 0 0 58px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coating__photo img { border-radius: var(--radius-l); box-shadow: var(--shadow); width: 100%; height: 460px; object-fit: cover; }

/* =========================================================
   PROBLEMS
   ========================================================= */
.problems { background: var(--dark); }
.problems__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.problem-card { text-align: center; color: #fff; }
.problem-card img { border-radius: var(--radius-m); box-shadow: var(--shadow-sm); width: 100%; height: 160px; object-fit: cover; margin-bottom: 14px; }
.problem-card p { font-size: 14px; font-weight: 700; line-height: 1.35; }

/* =========================================================
   WHY + CTA STRIP
   ========================================================= */
.why { background: var(--bg-alt); padding-bottom: 0; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card { background: var(--panel); border-radius: var(--radius-m); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.why-card img { margin: 0 auto 18px; max-height: 54px; }
.why-card p { font-size: 15px; font-weight: 700; line-height: 1.4; }

.cta-strip { background: var(--dark); margin-top: 60px; padding: 34px 0; }
.cta-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px; }
.cta-strip__timer { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-strip__timer span { font-size: 13px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* =========================================================
   SIZES
   ========================================================= */
.sizes { color: #fff; background: var(--dark-soft) center / cover no-repeat; }
.sizes__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,15,.6), rgba(15,20,15,.82)); }
.sizes__wrap { position: relative; z-index: 2; }
.sizes__wrap .section__title { max-width: 640px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.sizes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.size-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(15,18,14,.55);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-m);
  padding: 26px;
  backdrop-filter: blur(4px);
}
.size-card img { flex: 0 0 100px; width: 100px; }
.size-card__d { display: block; font-size: 28px; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.size-card p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }

/* =========================================================
   CARE — washing & storage tips
   ========================================================= */
.care { background: var(--bg-alt); }
.care__wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 54px;
  align-items: center;
}
.care__photo img { border-radius: var(--radius-l); box-shadow: var(--shadow); width: 100%; height: 460px; object-fit: cover; }
.care__lead { font-size: 17px; color: var(--ink-soft); margin: -20px 0 26px; }
.care__list { display: grid; gap: 14px; }
.care__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--panel);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.care__num {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   EXPERT
   ========================================================= */
.expert { background: var(--dark); color: #fff; }
.expert__wrap { display: grid; grid-template-columns: 320px 1fr; gap: 46px; align-items: center; }
.expert__photo { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--dark-soft); }
.expert__photo img { width: 100%; height: 100%; object-fit: cover; }
.expert__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 48px;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0));
  text-align: center;
}
.expert__caption b { display: block; font-size: 19px; text-transform: uppercase; margin-bottom: 4px; }
.expert__caption span { font-size: 13px; color: rgba(255,255,255,.75); }
.expert__quote .section__title { margin-bottom: 24px; }
.expert__highlight {
  background: var(--accent);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.expert__quote > p:not(.expert__highlight) { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.85); }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: var(--bg-alt); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--panel); border-radius: var(--radius-m); box-shadow: var(--shadow-sm); padding: 28px; text-align: center; }
.review-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.review-card b { display: block; color: var(--accent); font-size: 17px; margin-bottom: 12px; }
.review-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* =========================================================
   STEPS + DELIVERY
   ========================================================= */
.steps { background: var(--panel); padding-bottom: 0; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.step-card img { width: 72px; margin: 0 auto 18px; }
.step-card p { font-size: 15px; font-weight: 700; text-transform: uppercase; line-height: 1.4; }

.delivery { background: var(--dark); margin-top: 60px; padding: 40px 0; }
.delivery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.delivery__item {
  text-align: center;
  color: #fff;
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.delivery__item:first-child { border-left: none; }
.delivery__item b { display: block; font-size: 15px; text-transform: uppercase; margin-bottom: 8px; }
.delivery__item span { display: block; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.4; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { text-align: center; color: #fff; background: var(--dark) center / cover no-repeat; }
.final-cta__wrap { position: relative; z-index: 2; }
.final-cta .section__title { margin-bottom: 40px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.7; padding: 34px 0; text-align: center; }
.site-footer a { color: var(--accent-soft); text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__usp { grid-template-columns: 1fr; }
  .offer-card { width: 100%; max-width: 440px; margin: 0 auto; }
  .coating__wrap { grid-template-columns: 1fr; }
  .coating__photo { order: -1; }
  .coating__photo img { height: 320px; }
  .care__wrap { grid-template-columns: 1fr; }
  .care__photo { order: -1; }
  .care__photo img { height: 280px; }
  .problems__grid { grid-template-columns: repeat(3, 1fr); }
  .expert__wrap { grid-template-columns: 1fr; }
  .expert__photo { width: 100%; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section__title { font-size: 27px; margin-bottom: 30px; }
  .topbar__list { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .topbar__item { justify-content: center; }
  .hero__title { font-size: 42px; }
  .hero__slogan { font-size: 17px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .sizes__grid { grid-template-columns: 1fr; }
  .size-card { flex-direction: column; text-align: center; }
  .articles__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; gap: 34px; }
  .delivery__grid { grid-template-columns: 1fr; gap: 22px; }
  .delivery__item { border-left: none; border-top: 1px solid rgba(255,255,255,.2); padding: 18px 0 0; }
  .delivery__item:first-child { border-top: none; padding-top: 0; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
  .slider__slide { flex-basis: 82%; }
  .slider__nav--prev { left: 4px; }
  .slider__nav--next { right: 4px; }
}

@media (max-width: 480px) {
  .why__grid { grid-template-columns: 1fr; }
  .problems__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 34px; }
  .countdown__unit { min-width: 44px; }
  .countdown__num { font-size: 19px; }
}
