/* === БАЗА === */
:root {
  --bg: #faf6f3;
  --bg-2: #f3ebe5;
  --surface: #ffffff;
  --ink: #2e2420;
  --ink-2: #6a5d55;
  --ink-3: #9d9089;
  --line: #ece2da;
  --accent: #c98a6b;        /* теплий нюд-теракот */
  --accent-2: #e0a988;      /* світлий нюд */
  --accent-deep: #a3674a;   /* темний нюд */
  --rose: #d99b91;          /* пудрово-рожевий */
  --mocha: #4a3b34;         /* мокко */
  --mocha-deep: #2e2420;    /* темна мокко */
  --gold: #d4a25e;
  --success: #6a9d6e;
  --radius: 16px;
  --shadow-lg: 0 30px 60px -20px rgba(74, 59, 52, .22), 0 12px 25px -10px rgba(74, 59, 52, .12);
  --shadow-md: 0 12px 25px -10px rgba(74, 59, 52, .15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--accent-2); }

h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
}

h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 22px; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-sub {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--ink-2);
  font-size: 17px;
}

/* === TOPBAR === */
.topbar {
  background: linear-gradient(90deg, var(--mocha) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.topbar__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

/* === HEADER === */
.header {
  background: rgba(250,246,243,.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 21px;
}
.logo__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: 12px;
  font-size: 20px;
}
.logo__text b { color: var(--accent); }
.logo--light { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 15px;
  transition: color .2s;
}
.nav a:hover { color: var(--accent); }
.nav__cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700 !important;
}
.nav__cta:hover { filter: brightness(1.05); }

/* === HERO === */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(201, 138, 107, .18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(217, 155, 145, .15), transparent 50%),
    var(--bg);
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content { animation: slideUp .8s ease-out; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-block;
  background: rgba(201, 138, 107, .15);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero__lead {
  font-size: 18px;
  color: var(--ink-2);
  margin: 18px 0 28px;
  max-width: 540px;
}

.price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--mocha-deep) 0%, var(--mocha) 100%);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.price-block::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201, 138, 107, .4), transparent 70%);
  pointer-events: none;
}
.price-block__left { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.price-block__old {
  text-decoration: line-through;
  color: #968377;
  font-size: 22px;
}
.price-block__new {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 54px;
  color: var(--accent-2);
  line-height: 1;
}
.price-block__per { color: rgba(255,255,255,.85); font-size: 14px; }
.price-block__per b { color: var(--accent-2); }
.price-block__save {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: 'Fredoka', sans-serif;
  z-index: 1;
  position: relative;
}

.hero__list { list-style: none; margin-bottom: 32px; }
.hero__list li {
  padding: 8px 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  font-family: inherit;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(201, 138, 107, .55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -8px rgba(201, 138, 107, .7);
  filter: brightness(1.05);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--big { width: 100%; padding: 20px; font-size: 18px; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.trust__item b {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
  line-height: 1.1;
}
.trust__item span { font-size: 13px; color: var(--ink-3); }

.hero__image { position: relative; }
.hero__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero__sticker {
  position: absolute;
  top: -10px; right: -10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  width: 110px; height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transform: rotate(-12deg);
  border: 4px solid var(--bg);
}
.hero__sticker span { font-size: 13px; line-height: 1; }
.hero__sticker b { font-family: 'Fredoka', sans-serif; font-size: 24px; }

/* === PROBLEM === */
.problem { padding: 80px 0; background: #fff; }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem__card {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--accent);
}
.problem__icon { font-size: 44px; display: block; margin-bottom: 16px; }
.problem__card h3 { margin-bottom: 10px; font-size: 20px; }
.problem__card p { color: var(--ink-2); font-size: 15px; }

/* === ABOUT === */
.about { padding: 80px 0; background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.about__text h2 { margin-bottom: 18px; }
.about__text p { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.about__list {
  list-style: none;
  margin-top: 22px;
  background: linear-gradient(135deg, rgba(201, 138, 107, .07), rgba(217, 155, 145, .07));
  padding: 22px 24px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
}
.about__list li span { font-size: 20px; flex-shrink: 0; }

/* === BENEFITS === */
.benefits {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s;
  border-bottom: 3px solid transparent;
}
.benefit:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.benefit__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 138, 107, .18), rgba(201, 138, 107, .06));
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 18px;
}
.benefit h3 { margin-bottom: 10px; font-size: 20px; }
.benefit p { color: var(--ink-2); font-size: 15px; }

/* === GALLERY === */
.gallery { padding: 80px 0; background: #fff; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--bg);
  transition: transform .3s;
}
.gallery figure:hover { transform: translateY(-6px); }
.gallery figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.gallery figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  text-align: center;
}

/* === SIZES === */
.sizes { padding: 80px 0; background: var(--bg); }
.size-table {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.size-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 15px;
}
.size-row:last-child { border-bottom: none; }
.size-row--head {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: .03em;
}
.size-row:not(.size-row--head):nth-child(even) { background: var(--bg); }
.size-tag {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
}
.size-row--head .size-tag {
  color: #fff;
  font-size: 16px;
}
.sizes__tip {
  max-width: 760px;
  margin: 22px auto 0;
  padding: 16px 20px;
  background: rgba(201, 138, 107, .08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

/* === SPECS === */
.specs { padding: 80px 0; background: #fff; }
.specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.specs__col {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.specs__col--full { grid-column: 1 / -1; }
.specs__col h3 { margin-bottom: 20px; font-size: 21px; }
.specs__col ul { list-style: none; }
.specs__col ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.specs__col ul li:last-child { border-bottom: none; }
.specs__col ul li span { color: var(--ink-2); }
.specs__col ul li b { color: var(--ink); text-align: right; }

.package {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.package__item {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border-radius: 12px;
}
.package__num {
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.package__item b { font-size: 16px; display: block; margin-bottom: 4px; }
.package__item p { font-size: 13px; color: var(--ink-2); margin: 0; }

/* === HOWTO === */
.howto { padding: 80px 0; background: var(--bg); }
.howto__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
}
.step__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
}
.step__num {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { color: var(--ink-2); font-size: 14px; }

/* === REVIEWS === */
.reviews {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at top, rgba(201, 138, 107, .08), transparent 60%),
    #fff;
}
.reviews__stars {
  font-size: 22px;
  color: var(--accent);
  letter-spacing: .15em;
  margin-top: 14px;
}
.reviews__stars span {
  display: block;
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-top: 6px;
  font-weight: 500;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--bg);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform .3s;
}
.review:hover { transform: translateY(-4px); }
.review header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review header > div:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.review header b { font-size: 15px; font-weight: 700; }
.review header span:not(.stars) { font-size: 12px; color: var(--ink-3); }
.review .stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .1em;
}
.review p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 19px;
  flex-shrink: 0;
}
.avatar--1 { background: linear-gradient(135deg, #c98a6b, #a3674a); }
.avatar--2 { background: linear-gradient(135deg, #d99b91, #b06b60); }
.avatar--3 { background: linear-gradient(135deg, #e0a988, #c2825e); }
.avatar--4 { background: linear-gradient(135deg, #b89a7a, #8f7350); }
.avatar--5 { background: linear-gradient(135deg, #d4a25e, #ab7d3a); }
.avatar--6 { background: linear-gradient(135deg, #c08a8a, #9a6464); }

/* === ORDER === */
.order {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at top left, rgba(201, 138, 107, .28), transparent 50%),
    linear-gradient(135deg, var(--mocha-deep) 0%, var(--mocha) 100%);
  color: #fff;
}
.order__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.order__info h2 { color: #fff; margin-bottom: 16px; }
.order__info > p { color: rgba(255,255,255,.7); margin-bottom: 28px; font-size: 16px; }
.order__list { list-style: none; margin-bottom: 32px; }
.order__list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
}
.order__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.order__old {
  text-decoration: line-through;
  color: rgba(255,255,255,.4);
  font-size: 20px;
}
.order__new {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 46px;
  color: var(--accent-2);
  line-height: 1;
}
.order__per { color: rgba(255,255,255,.7); }

.order__form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form h3 { margin-bottom: 24px; font-size: 24px; color: var(--ink); }
.form__row { margin-bottom: 16px; }
.form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.form label span { display: block; margin-bottom: 6px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, background .2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form textarea { resize: vertical; min-height: 60px; }
.form__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.5;
}

/* === FAQ === */
.faq { padding: 80px 0; background: var(--bg); }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.faq summary {
  padding: 22px 26px;
  font-weight: 700;
  font-size: 17px;
  font-family: 'Fredoka', sans-serif;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 26px;
  color: var(--accent);
  font-weight: 400;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 26px 22px;
  color: var(--ink-2);
  font-size: 15px;
}

/* === FOOTER === */
.footer {
  background: var(--mocha-deep);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand .logo { color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: 14px; line-height: 1.6; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer__col p { font-size: 14px; padding: 6px 0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero__grid,
  .about__grid,
  .order__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__media { max-width: 480px; margin: 0 auto; }
  .problem__grid,
  .benefits__grid,
  .reviews__grid,
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .howto__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav a:not(.nav__cta) { display: none; }
  .hero__image { order: -1; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .problem__grid,
  .benefits__grid,
  .reviews__grid,
  .specs__grid,
  .howto__grid,
  .gallery__grid,
  .package,
  .footer__inner,
  .trust { grid-template-columns: 1fr; }
  .form__row--two { grid-template-columns: 1fr; }
  .order__form-wrap { padding: 24px; }
  .price-block { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero { padding: 30px 0 50px; }
  .hero__sticker { width: 92px; height: 92px; top: -5px; right: -5px; }
  .hero__sticker b { font-size: 20px; }
  section { padding: 50px 0 !important; }
  .specs__col { padding: 24px; }
  .topbar { font-size: 12px; }
  .size-row { grid-template-columns: 0.7fr 1.8fr 1.2fr; padding: 12px 14px; font-size: 13px; gap: 8px; }
  .size-tag { font-size: 18px; }
  .size-row--head .size-tag { font-size: 13px; }
}
