:root {
  --bg: #fbf6f4;
  --bg-soft: #f6efec;
  --bg-card: rgba(255, 255, 255, 0.88);
  --text: #43393a;
  --muted: #736668;
  --line: #eadcdd;
  --primary: #cc969b;
  --primary-dark: #b97d84;
  --accent: #efd8da;
  --accent-2: #f3e8df;
  --shadow: 0 18px 45px rgba(165, 120, 125, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(231, 205, 209, 0.55), transparent 28%),
    radial-gradient(circle at top right, rgba(246, 233, 223, 0.7), transparent 24%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(251, 246, 244, 0.78);
  border-bottom: 1px solid rgba(234, 220, 221, 0.8);
}

.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(190, 140, 145, 0.18);
}

.brand__text,
.footer__brand {
  min-width: 0;
}

.brand__title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.95;
  color: var(--primary);
}

.brand__subtitle {
  display: block;
  margin-top: 3px;
  color: #88797c;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.96rem;
  color: #645759;
}

.nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav__button {
  padding: 13px 20px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 14px 24px rgba(201, 142, 146, 0.22);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #705f61;
  margin: 5px 0;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  padding: 64px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 36px;
  align-items: center;
}

.hero__content h1,
.section-head h2,
.why-copy h2,
.before-after__content h2,
.selection-box__copy h2,
.faq-copy h2,
.cta-box h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.93;
  max-width: 12ch;
}

.hero__content p,
.section-head p,
.why-copy p,
.before-after__content p,
.selection-box__copy p,
.faq-copy p,
.cta-box p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero__actions,
.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.feature-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  padding: 11px 16px;
  color: #6c5f61;
  font-size: 0.94rem;
}

.hero__visual {
  position: relative;
  min-height: 640px;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(234, 220, 221, 0.8);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card--main {
  inset: 0 48px 78px 0;
  padding: 24px;
}

.hero-card--small {
  width: 48%;
  bottom: 0;
  padding: 18px;
}

.hero-card--left {
  left: 0;
}

.hero-card--right {
  right: 0;
}

.hero-card__badge,
.product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-dark);
  background: #fbf1f2;
  border: 1px solid #f0dadd;
}

.hero-card__canvas,
.category-card__art,
.product-card__visual,
.state-card div {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-card__canvas::before,
.category-card__art::before,
.product-card__visual::before,
.state-card div::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,0.96), rgba(255,255,255,0) 25%),
    radial-gradient(circle at 76% 26%, rgba(255,255,255,0.55), rgba(255,255,255,0) 22%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.35), rgba(255,255,255,0) 30%);
  z-index: 0;
}

.hero-card__canvas::after,
.category-card__art::after,
.product-card__visual::after,
.state-card div::after {
  content: "";
  position: absolute;
  inset: auto 12% 12% auto;
  width: 58%;
  height: 28%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  transform: rotate(-10deg);
  opacity: 0.35;
}

.hero-card__canvas--big {
  height: 380px;
  margin-top: 18px;
  background:
    linear-gradient(135deg, #f5e7e7, #fbf6f4 42%, #ecd8da 100%);
}

.hero-card__canvas--rose {
  height: 145px;
  background: linear-gradient(135deg, #e6c3c8, #f8eaec 60%, #eed8da);
}

.hero-card__canvas--cream {
  height: 145px;
  background: linear-gradient(135deg, #f3e2d8, #fff9f5 58%, #f1ddd1);
}

.hero-card__meta {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.hero-card__meta strong,
.category-card h3,
.product-card h3,
.problem-card strong,
.why-card h3,
.step-card h3,
.faq-item summary,
.review-card strong {
  font-weight: 600;
}

.hero-card__meta span,
.category-card p,
.product-card p,
.problem-card p,
.why-card p,
.step-card p,
.selection-form span,
.review-card p,
.footer__text,
.footer__links a,
.footer__contacts span,
.helper-note {
  color: var(--muted);
  line-height: 1.7;
}

.compact strong {
  font-size: 1rem;
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: rgba(247, 240, 237, 0.72);
}

.section--problem {
  padding-top: 54px;
}

.section--accent {
  padding-top: 28px;
}

.section--cta {
  padding-top: 32px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.why-copy h2,
.before-after__content h2,
.selection-box__copy h2,
.faq-copy h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 0.98;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #9f7e82;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 26px rgba(201, 142, 146, 0.22);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--ghost,
.btn--secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: #65585a;
}

.btn--ghost:hover,
.btn--secondary:hover,
.btn--ghost-light:hover {
  background: #fff;
}

.btn--light {
  background: #fff;
  color: #584b4d;
}

.btn--ghost-light {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: transparent;
}

.btn--full {
  width: 100%;
}

.category-grid,
.product-grid,
.problem-grid,
.reviews-grid,
.steps-grid,
.why-cards {
  display: grid;
  gap: 22px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reviews-grid,
.steps-grid,
.why-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.product-card,
.problem-card,
.why-card,
.review-card,
.step-card,
.selection-box,
.before-after,
.faq-layout {
  background: var(--bg-card);
  border: 1px solid rgba(234, 220, 221, 0.9);
  box-shadow: var(--shadow);
}

.category-card,
.product-card,
.problem-card,
.why-card,
.review-card,
.step-card {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.category-card__art {
  height: 220px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f1e0e2, #fdf8f7 58%, #ebd5d8);
}

.category-card__art--sand {
  background: linear-gradient(135deg, #f2e0d2, #fcf7f4 58%, #ecdccd);
}

.category-card__art--rose {
  background: linear-gradient(135deg, #e8c9cf, #faeff2 58%, #ead2d7);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary-dark);
  font-weight: 600;
}

.helper-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.98rem;
}

.helper-note a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
}

.product-card__visual {
  height: 250px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #f0e0e2, #fbf8f7 55%, #ebd6d8);
}

.product-card__visual--set {
  background: linear-gradient(135deg, #ebd3d7, #fff8f7 56%, #e6c7cc);
}

.product-card__visual--180 {
  background: linear-gradient(135deg, #ecd5d8, #fff9f8 50%, #dcc3c7);
}

.product-card__visual--cotton {
  background: linear-gradient(135deg, #f2dfd1, #fffaf6 54%, #eed8ca);
}

.product-card__visual--velour {
  background: linear-gradient(135deg, #dfbcc3, #f8ecef 54%, #d2a7b0);
}

.product-card__visual--plaid {
  background: linear-gradient(135deg, #efe0e1, #fefbfa 54%, #f3d4d7);
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.problem-card {
  background: rgba(255, 255, 255, 0.72);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.why-cards {
  align-items: stretch;
}

.why-card span,
.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #fbf0f1;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.before-after,
.selection-box,
.faq-layout,
.cta-box {
  border-radius: 38px;
  padding: 34px;
}

.before-after {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(243, 228, 223, 0.9), rgba(255,255,255,0) 40%),
    rgba(255, 255, 255, 0.82);
}

.before-after__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.state-card {
  padding: 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(234, 220, 221, 0.9);
}

.state-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #8e7377;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.73rem;
}

.state-card div {
  height: 260px;
}

.state-card--before div {
  background: linear-gradient(135deg, #ece3e1, #f7f2f0 58%, #ddd2cf);
}

.state-card--after div {
  background: linear-gradient(135deg, #ead2d6, #fff7f7 58%, #dcbcc2);
}

.selection-box {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 24px;
  align-items: center;
}

.selection-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(234, 220, 221, 0.9);
}

.selection-form label {
  display: grid;
  gap: 8px;
}

.selection-form input,
.selection-form select {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0 16px;
}

.stars {
  color: var(--primary-dark);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 22px;
  border: 1px solid rgba(234, 220, 221, 0.95);
  background: rgba(255,255,255,0.86);
  padding: 18px 20px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 26px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #cf9ca0, #bb7f86);
}

.footer {
  padding: 34px 0 42px;
  border-top: 1px solid rgba(234, 220, 221, 0.9);
  background: rgba(247, 239, 236, 0.85);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.footer-title {
  font-size: 2.1rem;
}

.footer__links,
.footer__contacts {
  display: grid;
  gap: 10px;
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.26s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(234,220,221,0.94);
    border-radius: 28px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .hero__grid,
  .why-grid,
  .before-after,
  .selection-box,
  .faq-layout,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero-card--main {
    inset: 0 24px 86px 0;
  }

  .category-grid,
  .reviews-grid,
  .steps-grid,
  .why-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header__wrap {
    min-height: 78px;
  }

  .brand__logo {
    width: 54px;
    height: 54px;
  }

  .brand__title {
    font-size: 1.7rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero__grid,
  .section,
  .footer {
    gap: 24px;
  }

  .hero__visual {
    min-height: 500px;
  }

  .hero-card--main {
    inset: 0 10px 110px 0;
    padding: 18px;
  }

  .hero-card--small {
    width: calc(50% - 8px);
    padding: 14px;
  }

  .hero-card__canvas--big {
    height: 290px;
  }

  .hero-card__canvas--rose,
  .hero-card__canvas--cream {
    height: 118px;
  }

  .hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .category-grid,
  .product-grid,
  .problem-grid,
  .reviews-grid,
  .steps-grid,
  .why-cards,
  .before-after__cards,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .selection-form {
    padding: 18px;
  }

  .before-after,
  .selection-box,
  .faq-layout,
  .cta-box {
    padding: 24px;
  }

  .cta-box__actions,
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .cta-box__actions .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .hero__content p,
  .section-head p,
  .why-copy p,
  .before-after__content p,
  .selection-box__copy p,
  .faq-copy p,
  .cta-box p,
  .review-card p {
    font-size: 0.97rem;
  }

  .brand__subtitle {
    letter-spacing: 0.2em;
  }
}
