:root {
  --black: #111111;
  --dark: #1a1a1a;
  --gray-900: #2b2b2b;
  --gray-700: #555555;
  --gray-500: #8a8a8a;
  --gray-300: #d8d5d0;
  --gray-100: #f3f1ee;
  --white: #ffffff;
  --accent: #b08d57;
  --radius: 2px;
  --container: 1200px;
  --header-h: 76px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.3rem; }
p { color: var(--gray-700); margin: 0 0 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--gray-900); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--gray-100); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-300);
}
.header-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo span { font-weight: 300; color: var(--gray-700); }
.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-900);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--black); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.phone { font-weight: 600; font-size: .92rem; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.burger span { width: 22px; height: 2px; background: var(--black); display: block; }

/* Hero */
.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}
.hero-inner { max-width: 640px; padding-top: 80px; padding-bottom: 80px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 { color: var(--white); }
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }

/* Strip stats */
.strip { border-bottom: 1px solid var(--gray-300); }
.strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 24px;
}
.strip-item { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.strip-item strong { font-size: 1.3rem; font-weight: 700; }
.strip-item span { font-size: .82rem; color: var(--gray-700); }

/* Sections generic */
section { padding: 88px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head p { margin: 0; }

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  border: 1px solid var(--gray-300);
  background: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.filter-btn.active,
.filter-btn:hover { border-color: var(--black); color: var(--black); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.product-card {
  cursor: pointer;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,.09);
  transform: translateY(-3px);
}
.product-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-100);
}
.product-card-body { padding: 18px 20px 22px; }
.product-card-cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.product-card-name { font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.product-card-tagline { font-size: .88rem; color: var(--gray-700); margin-bottom: 12px; }
.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card-price { font-weight: 700; font-size: .95rem; }
.product-card-link {
  font-size: .82rem;
  font-weight: 600;
  border-bottom: 1px solid var(--black);
}

/* About */
.about { background: var(--gray-100); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-media {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}
.check-list { margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  padding-left: 26px;
  position: relative;
  font-size: .95rem;
  color: var(--gray-900);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--black);
  border-radius: 50%;
}

/* Delivery */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.delivery-card {
  border: 1px solid var(--gray-300);
  padding: 26px 22px;
  border-radius: var(--radius);
}
.delivery-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.delivery-card p { margin: 0; font-size: .9rem; }

/* CTA */
.cta { background: var(--black); color: var(--white); }
.cta .eyebrow { color: rgba(255,255,255,.7); }
.cta h2 { color: var(--white); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner > div { max-width: 560px; }
.cta-contacts { display: flex; gap: 24px; flex-wrap: wrap; margin: 0; }
.cta-contacts a { font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }

/* Footer */
.site-footer { border-top: 1px solid var(--gray-300); padding: 30px 0; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-row p { margin: 0; font-size: .85rem; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal[aria-hidden="false"] { display: block; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.55);
}
.modal-panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  margin: 40px auto;
  max-width: 960px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  border-radius: 4px;
  padding: 32px;
}
.modal-form { max-width: 480px; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gray-900);
}
.modal-close:hover { background: var(--gray-300); }

/* Product modal */
.product-modal-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
.product-gallery-main {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.product-gallery-thumbs img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: .6;
  border: 2px solid transparent;
}
.product-gallery-thumbs img.active { opacity: 1; border-color: var(--black); }
.product-tagline { font-weight: 500; color: var(--gray-900); }
.product-price { font-size: 1.3rem; font-weight: 700; margin: 18px 0; }

/* Lead form */
.form-sub { font-size: .9rem; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--gray-900); }
.form-row input,
.form-row textarea {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--black);
}
.form-row input:disabled { background: var(--gray-100); color: var(--gray-700); }
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--gray-700);
  margin-bottom: 20px;
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; }
.checkbox-row a { text-decoration: underline; }
.form-error {
  background: #fdecec;
  color: #b3261e;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .85rem;
  margin-bottom: 16px;
}
.lead-success { text-align: center; padding: 20px 0; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .phone { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-row { grid-template-columns: repeat(2, 1fr); }
  .product-modal-body { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .modal-panel { padding: 22px; margin: 16px auto; }
}

@media (max-width: 960px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    padding: 20px 24px;
    gap: 16px;
  }
}
