:root {
  --ink: #111111;
  --muted: #666666;
  --line: #e3e3e3;
  --soft: #f6f6f6;
  --panel: #fafafa;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(25px, 3vw, 34px); }
h3 { font-size: 17px; }
p { margin: 0 0 14px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { font-weight: 800; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); text-transform: none; }
.main-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.main-nav a { font-size: 13px; color: #333; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-bottom-color: #111; text-decoration: none; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; width: 40px; height: 38px; font-size: 17px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border: 1px solid #111; border-radius: 3px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer;
}
.btn:hover { text-decoration: none; opacity: 0.88; }
.btn-dark { background: #111; color: #fff; }
.btn-line { background: #fff; color: #111; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 78px 0 72px; background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .lead { font-size: 18px; color: #444; max-width: 640px; margin: 18px 0 26px; }
.hero .eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding: 68px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 30px; max-width: 760px; }
.section-head p { color: var(--muted); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.07); }
.product-media { background: #fafafa; height: 230px; display: flex; align-items: center; justify-content: center; padding: 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-title { font-size: 15px; font-weight: 700; margin: 0; }
.product-price { font-size: 15px; font-weight: 700; margin: 0; }
.product-note { font-size: 12px; color: var(--muted); margin: 0; }
.product-card .btn { margin-top: auto; }

.promo-card { border: 1px solid var(--line); background: #111; color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.promo-card h3 { color: #fff; margin: 0; }
.promo-card p { color: #d4d4d4; font-size: 13px; margin: 0; }
.promo-card .btn { background: #fff; color: #111; border-color: #fff; align-self: flex-start; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list li::before { content: "\2714"; color: #111; font-weight: 700; margin-right: 12px; }

/* Company strip */
.company-strip { border: 1px solid var(--line); padding: 24px 26px; background: #fff; }
.company-strip .address { font-size: 17px; font-weight: 700; }
.company-strip .meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
.fact { border-top: 3px solid #111; padding-top: 12px; }
.fact .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fact .value { font-weight: 700; font-size: 15px; margin-top: 4px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.product-detail .media { background: #fafafa; border: 1px solid var(--line); height: 460px; display: flex; align-items: center; justify-content: center; padding: 30px; overflow: hidden; }
.product-detail .media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-detail .price { font-size: 24px; font-weight: 700; margin: 12px 0 18px; }
.product-benefits { list-style: none; padding: 0; margin: 0 0 24px; }
.product-benefits li { padding: 8px 0 8px 26px; position: relative; font-size: 14px; border-bottom: 1px solid var(--line); }
.product-benefits li::before { content: "\2714"; position: absolute; left: 0; font-weight: 700; }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.crumb a:hover { text-decoration: underline; }
.detail-note { font-size: 13px; color: var(--muted); }

/* Tables / info pages */
.info-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.info-table th, .info-table td { border-bottom: 1px solid var(--line); padding: 13px 16px; text-align: left; font-size: 14px; vertical-align: top; }
.info-table th { width: 34%; background: #fafafa; color: var(--muted); font-weight: 600; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.note { margin-top: 20px; padding: 14px 18px; border: 1px solid var(--line); background: #fafafa; color: var(--muted); font-size: 13px; }
.legal-block { border: 1px solid var(--line); padding: 24px 26px; margin-bottom: 18px; background: #fff; }
.legal-block h2 { font-size: 21px; }
.legal-block p, .legal-block li { color: #444; font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fafafa; padding: 46px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.site-footer h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.site-footer p { font-size: 13px; color: #444; }
.footer-brand { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav.open { display: flex; }
  .main-nav a { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { height: 220px; }
  .product-detail .media { height: 320px; }
  .fact-grid { grid-template-columns: 1fr; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr { border-bottom: 1px solid var(--line); }
  .info-table th { border-bottom: 0; }
}
