:root {
  --primary: #a85d98;
  --primary-dark: #8d4b7e;
  --accent: #f4e4ef;
  --bg: #fffdfd;
  --text: #273142;
  --muted: #6b7280;
  --line: #ece7eb;
  --shadow: 0 20px 50px rgba(168, 93, 152, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 82px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 78px; height: auto; object-fit: contain; }
.brand h1 { margin: 0; font-size: 1.15rem; color: var(--primary); }
.brand p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.nav { display: flex; gap: 22px; font-weight: 700; }
.nav a:hover, .nav a.active { color: var(--primary); }
.hero {
  background: linear-gradient(135deg, #f7edf4 0%, #ffffff 50%, #f3e3ef 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center;
  padding: 68px 0;
}
.pill {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--primary); border: 1px solid #e3cadc; font-weight: 700;
  box-shadow: var(--shadow);
}
.hero h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.15; margin: 16px 0; }
.hero h2 span { color: var(--primary); display: block; }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 650px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 18px; border: 1px solid transparent; font-weight: 700;
  transition: .25s ease; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.slider {
  position: relative; background: #fff; border: 1px solid #f0e8ee; border-radius: 34px;
  box-shadow: var(--shadow); padding: 14px;
}
.slide { display: none; }
.slide.active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.slide img { width: 100%; height: 520px; object-fit: cover; border-radius: 24px; }
.slide-caption {
  position: absolute; right: 30px; bottom: 30px; left: 30px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff; padding: 70px 20px 20px; border-radius: 24px;
}
.slide-caption h3 { margin: 0 0 6px; font-size: 2rem; }
.slide-caption p { margin: 0; color: rgba(255,255,255,.9); }
.slider-dots { display: flex; gap: 10px; justify-content: center; padding: 14px 0 4px; }
.slider-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; background: #d8bfd2; cursor: pointer;
}
.slider-dots button.active { background: var(--primary); }
.section { padding: 76px 0; }
.section.alt { background: #faf8fa; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.kicker { color: var(--primary); font-weight: 800; letter-spacing: .4px; margin-bottom: 8px; }
.section h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card, .partner, .product-card, .stat, .contact-box {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 12px 30px rgba(15,23,42,.04);
}
.card { padding: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.stat { padding: 26px; background: linear-gradient(135deg, var(--primary), #c07ab1); color: #fff; border: 0; }
.stat strong { display: block; font-size: 2rem; }
.services li { list-style: none; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; }
.partner { padding: 26px; }
.partner-badge { display: inline-block; background: var(--accent); color: var(--primary); padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.partner h4 { margin: 14px 0 8px; font-size: 1.35rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { overflow: hidden; transition: .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 360px; object-fit: cover; }
.product-card-content { padding: 18px; }
.product-card h4 { margin: 0 0 6px; font-size: 1.22rem; }
.product-card p { margin: 0 0 12px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { background: #f3f4f6; color: #4b5563; border-radius: 999px; padding: 6px 11px; font-size: .78rem; }
.cta {
  background: linear-gradient(135deg, var(--primary), #c07ab1); color: #fff; text-align: center;
  border-radius: 34px; padding: 54px 22px; box-shadow: var(--shadow);
}
.cta h3 { margin-top: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.contact-box { padding: 24px; }
.contact-box p { margin: 0 0 12px; }
.contact-form { display: grid; gap: 14px; }
.input, .textarea {
  width: 100%; padding: 14px 16px; border-radius: 18px; border: 1px solid #ddd6dd; font: inherit;
}
.textarea { min-height: 140px; resize: vertical; }
.footer { border-top: 1px solid var(--line); margin-top: 34px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.muted { color: var(--muted); }
.product-hero { padding: 52px 0 24px; }
.breadcrumbs { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.product-detail-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: start; }
.product-media { overflow: hidden; border-radius: 32px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.product-media img { width: 100%; height: 720px; object-fit: cover; }
.detail-panel { padding: 28px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.detail-panel h1 { margin-top: 0; margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.4rem); }
.spec-list { display: grid; gap: 12px; margin: 22px 0; }
.spec-item { padding: 14px 16px; border-radius: 18px; background: #faf7fa; border: 1px solid var(--line); }
.note { background: #fff7fb; border: 1px solid #f1d8e8; color: #6b4b61; padding: 16px 18px; border-radius: 18px; }
.catalog-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.catalog-nav a { padding: 16px; border: 1px solid var(--line); border-radius: 18px; font-weight: 700; }
.catalog-nav a:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 1100px) {
  .product-grid, .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .about-grid, .contact-grid, .product-detail-grid, .grid-3, .stats { grid-template-columns: 1fr; }
  .product-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .slide img { height: 420px; }
  .product-media img { height: 500px; }
}
@media (max-width: 640px) {
  .product-grid, .grid-4 { grid-template-columns: 1fr; }
  .topbar-inner, .footer-inner { flex-direction: column; align-items: start; }
  .hero-grid { padding: 42px 0; }
  .slide img { height: 320px; }
  .slide-caption h3 { font-size: 1.45rem; }
}
