:root {
  --accent: #e31b23;
  --text: #111318;
  --muted: #6d7380;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --radius: 14px;
  --shadow: 0 16px 36px rgba(15, 17, 21, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1160px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eceef1;
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; }
.brand img { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: #fff; }

.site-nav { display: flex; gap: 1.2rem; }
.site-nav a { font-weight: 500; color: #2a2f39; padding-bottom: .2rem; border-bottom: 2px solid transparent; }
.site-nav a.active, .site-nav a:hover { border-color: var(--accent); }

.mobile-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.mobile-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: #111; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.2rem; border-radius: 999px; font-weight: 600; border: 1px solid transparent; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { border-color: #d7dbe1; }
.btn-dark { background: #10131a; color: #fff; }
.text-link { color: var(--accent); font-weight: 600; }

.hero { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(8,10,14,.72), rgba(8,10,14,.3)); }
.hero-content { position: relative; z-index: 1; color: #fff; max-width: 680px; padding: 3rem 0; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1.1; margin: 0 0 1rem; }
.hero-content p { font-size: 1.08rem; color: #eef0f6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }

.section { padding: 5rem 0; }
.light { background: var(--soft); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; gap: 1rem; }
.section h2, .section h1 { font-family: 'Playfair Display', serif; line-height: 1.1; margin: 0; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.category-card { padding: 1.4rem; background: #fff; border-radius: var(--radius); border: 1px solid #eceef1; box-shadow: 0 10px 24px rgba(18,21,29,.04); transition: .25s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card h3 { margin: 0 0 .2rem; }
.category-card span { color: var(--muted); font-size: .95rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.product-card { background: #fff; border-radius: var(--radius); border: 1px solid #eceef1; overflow: hidden; box-shadow: 0 8px 22px rgba(20,24,31,.04); transition: .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-card-body { padding: 1rem; }
.product-card-body small { color: var(--muted); font-weight: 500; }
.product-card-body h3 { margin: .35rem 0 .4rem; font-size: 1.08rem; }
.product-card-body p { color: #404652; margin-top: 0; }
.card-footer { display: flex; align-items: center; justify-content: space-between; font-weight: 600; gap: .8rem; }

.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.why-item { background: #fff; border: 1px solid #eceef1; border-radius: var(--radius); padding: 1.1rem; }
.why-item h3 { margin-top: 0; font-size: 1.04rem; }
.why-item p { color: #4a5160; margin-bottom: 0; }

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.process-step { padding: 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid #eceef1; }
.process-step span { color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.process-step h3 { margin: .45rem 0; }

.cta-banner { background: #10131a; color: #fff; border-radius: 24px; padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cta-banner h2 { color: #fff; margin-bottom: .4rem; }

.products-layout { display: grid; grid-template-columns: 270px 1fr; gap: 1.2rem; }
.filter-box { border: 1px solid #eceef1; border-radius: var(--radius); padding: 1rem; position: sticky; top: 92px; height: fit-content; }
.filter-form { display: grid; gap: .65rem; }
input, textarea, select {
  width: 100%; border: 1px solid #d7dce4; border-radius: 10px; padding: .7rem .75rem; font: inherit;
}
label { font-weight: 600; font-size: .93rem; }

.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.product-gallery .main-image { width: 100%; height: 470px; object-fit: cover; border-radius: var(--radius); }
.thumb-row { margin-top: .7rem; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .45rem; }
.thumb { border: 1px solid #d7dce4; border-radius: 10px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.thumb.active { border-color: var(--accent); }
.thumb img { width: 100%; height: 74px; object-fit: cover; }
.product-info h1 { font-family: 'Playfair Display', serif; margin-top: .35rem; }
.price-lg { font-size: 1.35rem; font-weight: 700; color: var(--accent); }

.about-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2rem; align-items: center; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.about-images img { height: 280px; object-fit: cover; border-radius: var(--radius); }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; }
.contact-form { display: grid; gap: .65rem; }
.card-simple { border: 1px solid #eceef1; border-radius: var(--radius); padding: 1rem; margin-bottom: .7rem; }
.card-simple h3 { margin-top: 0; }

.alert { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 10px; font-weight: 600; }
.alert-success { background: #dff6e6; color: #1e6a3a; }
.alert-error { background: #fde5e7; color: #8d2228; }

.site-footer { background: #0f1116; color: #d9dce3; margin-top: 4rem; padding: 3rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.4rem; }
.site-footer h4 { color: #fff; margin-top: 0; }
.footer-copy { margin-top: 1.8rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.14); color: #9ca4b4; font-size: .92rem; }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: .7s ease; }

@media (max-width: 980px) {
  .product-grid, .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .products-layout, .contact-layout, .about-layout, .product-detail-layout { grid-template-columns: 1fr; }
  .filter-box { position: static; }
}

@media (max-width: 760px) {
  .mobile-toggle { display: inline-block; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid #eceef1;
    display: flex; flex-direction: column; padding: 1rem 4vw; transform: translateY(-130%); transition: .3s ease;
  }
  .site-nav.open { transform: translateY(0); }
  .header-inner > .btn { display: none; }
  .product-grid, .category-grid, .why-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
