:root {
  --primary-color: #6B4C7A;
  --secondary-color: #8B6A9A;
  --accent-color: #D4A920;
  --light-color: #F4EFF8;
  --dark-color: #221630;
  --gradient-primary: linear-gradient(135deg, #8B6A9A 0%, #6B4C7A 100%);
  --hover-color: #563C62;
  --background-color: #FBF8FD;
  --text-color: #342040;
  --border-color: rgba(107, 76, 122, 0.13);
  --divider-color: rgba(107, 76, 122, 0.07);
  --shadow-color: rgba(34, 22, 48, 0.13);
  --highlight-color: #9A7210;
  --highlight-bg: #FCF6DC;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--alt-font);
  font-size: clamp(14px, 4vw, 15px);
  color: var(--text-color);
  background-color: var(--background-color);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── PATTERN: nested concentric squares ── */
.pattern-bg {
  background-color: var(--background-color);
  background-image:
    linear-gradient(rgba(107,76,122,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,76,122,0.04) 1px, transparent 1px),
    linear-gradient(rgba(107,76,122,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,76,122,0.025) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

/* ════════════ HEADER ════════════ */
.site-header {
  padding: 1.2rem 0;
  background: var(--dark-color);
  position: relative;
  overflow: hidden;
}

.header-deco { display: none; position: absolute; inset: 0; pointer-events: none; }
.header-deco span {
  position: absolute;
  border-radius: 50%;
}
.header-deco span:nth-child(1) {
  width: 160px; height: 160px;
  right: 4%; top: -60px;
  border: 1px solid rgba(107,76,122,0.2);
}
.header-deco span:nth-child(2) {
  width: 100px; height: 100px;
  right: 8%; top: -25px;
  border: 1px solid rgba(212,169,32,0.12);
}
.header-deco span:nth-child(3) {
  width: 56px; height: 56px;
  right: 6%; bottom: -15px;
  background: rgba(107,76,122,0.08);
}
@media (min-width: 768px) { .header-deco { display: block; } }

.header-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: clamp(17px, 4vw, 22px);
  color: #fff;
  letter-spacing: 0.05em;
}
.logo-text em { font-style: normal; color: var(--accent-color); }

/* ════════════ MAIN ════════════ */
main { flex: 1; }

.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ════════════ PRODUCT HERO TITLE ════════════ */
/* Уникальный элемент: большой заголовок продукта НАД двухколоночным гридом */
.product-hero {
  background: var(--dark-color);
  padding: 2.25rem 0 0;
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(107,76,122,0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(107,76,122,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.product-hero-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--main-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.hero-title {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 72px);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: normal;
  color: var(--secondary-color);
  display: block;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-transform: uppercase;
}

/* ════════════ PRODUCT GRID ════════════ */
.product-section {
  background: var(--background-color);
  padding: 2.5rem 0 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* ────── LEFT COL ────── */
.left-col { display: flex; flex-direction: column; gap: 1rem; }

.product-image-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px var(--shadow-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.product-image-wrap::before {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,76,122,0.07) 0%, transparent 70%);
}
.product-image-wrap::after {
  content: '';
  position: absolute;
  left: -30px; bottom: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,169,32,0.06) 0%, transparent 70%);
}
.product-image-wrap picture,
.product-image-wrap img {
  display: block;
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  max-height: 265px;
  object-fit: contain;
  margin: 0 auto;
}

.guarantee-block {
  background: var(--dark-color);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border-left: 4px solid var(--accent-color);
}
.guarantee-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent-color); margin-top: 2px; }
.guarantee-block p {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  line-height: 1.4;
}
.guarantee-block span {
  display: block;
  font-family: var(--alt-font);
  font-weight: 400;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

/* Features — 3 col horizontal strip */
.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.55rem;
}
.feature-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.8rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: box-shadow 0.25s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 10px 30px rgba(107,76,122,0.15);
  transform: translateY(-2px);
}
.feature-icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--light-color);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-color);
}
.feature-icon-circle svg { width: 16px; height: 16px; color: var(--primary-color); }
.feature-item span {
  font-family: var(--main-font);
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.3;
}

.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  min-height: 48px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(107,76,122,0.35);
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-cart:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(107,76,122,0.45);
}
.btn-cart svg { width: 18px; height: 18px; }

/* ────── RIGHT COL ────── */
.product-info-col { display: flex; flex-direction: column; gap: 1.1rem; }

/* Цена — доминирующий элемент справа */
.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  background: var(--dark-color);
  border-radius: 12px;
  width: fit-content;
}
.price-amount {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: clamp(28px, 5.5vw, 40px);
  color: var(--accent-color);
  line-height: 1;
}
.price-currency {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

.product-description {
  font-size: clamp(13px, 4vw, 14px);
  line-height: 1.8;
  color: var(--text-color);
}
.product-description + .product-description { margin-top: -0.35rem; }

.advantages-label {
  font-family: var(--main-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 0.55rem;
}
.advantages-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.advantages-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.5;
  padding: 0.5rem 0.85rem;
  background: var(--light-color);
  border-radius: 8px;
}
.advantages-list li svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-color);
}

.cta-highlight {
  background: var(--highlight-bg);
  border: 1.5px solid rgba(154,114,16,0.28);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-highlight::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(212,169,32,0.1);
}
.cta-highlight strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: clamp(13px, 4vw, 15px);
  color: var(--highlight-color);
  line-height: 1.4;
}
.cta-highlight strong em { font-style: normal; color: var(--primary-color); }

/* ════════════ BENEFITS BAND ════════════ */
.benefits-band {
  background: var(--dark-color);
  padding: 2.75rem 0;
  position: relative;
  overflow: hidden;
}
.benefits-band::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,76,122,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.band-header { text-align: center; margin-bottom: 1.75rem; }
.band-header h2 {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: clamp(18px, 4vw, 26px);
  color: #fff;
  letter-spacing: 0.02em;
}
.band-header h2 em { font-style: normal; color: var(--accent-color); }
.band-header p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 0.3rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 580px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }

.benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,106,154,0.2);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: background 0.2s;
}
.benefit-card:hover { background: rgba(255,255,255,0.08); }
.benefit-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(107,76,122,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.7rem;
}
.benefit-icon svg { width: 21px; height: 21px; color: var(--secondary-color); }
.benefit-card h3 {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 0.35rem;
}
.benefit-card p { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.55; }

/* ════════════ TESTIMONIALS ════════════ */
.testimonials-section {
  background: var(--light-color);
  padding: 2.75rem 0;
}

.section-title { text-align: center; margin-bottom: 1.75rem; }
.section-title h2 {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: clamp(18px, 4vw, 24px);
  color: var(--dark-color);
  letter-spacing: 0.01em;
}
.section-title-bar {
  width: 36px; height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: 0.55rem auto 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px rgba(107,76,122,0.14);
  transform: translateY(-2px);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  bottom: -0.5rem; right: 0.75rem;
  font-size: 68px;
  font-family: Georgia, serif;
  color: var(--light-color);
  line-height: 1;
  pointer-events: none;
}

.t-header { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.55rem; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.t-name { font-family: var(--main-font); font-weight: 700; font-size: 13px; color: var(--dark-color); }
.t-loc  { font-size: 11px; color: var(--secondary-color); }
.t-stars { display: flex; gap: 2px; margin-bottom: 0.5rem; }
.t-stars svg { width: 13px; height: 13px; fill: var(--accent-color); }
.t-text { font-size: 13px; color: var(--text-color); line-height: 1.65; font-style: italic; position: relative; z-index: 1; }

/* ════════════ FOOTER ════════════ */
.site-footer { background: var(--dark-color); }

.footer-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 1.15rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.footer-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-logo-icon { width: 26px; height: 26px; }
.footer-logo-text {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.05em;
}
.footer-logo-text em { font-style: normal; color: var(--accent-color); }

.footer-nav { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
@media (min-width: 768px) { .footer-nav { flex-direction: row; gap: 1.5rem; } }
.footer-nav a { font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent-color); }

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.6rem 1.5rem;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  max-width: 1250px;
  margin: 0 auto;
  width: 100%;
}