/* ====== Base / Tokens ====== */
:root{
  --bg:#ffffff;
  --bg-alt:#f6f4f1;
  --bg-alt-2:#fbf0e6;
  --line:#e7e3dd;
  --text:#211f1c;
  --text-muted:#6b6459;
  --accent:#d9560f;
  --accent-dark:#b8460a;
  --accent-ink:#fff5ee;
  --ok:#2f7d4f;
  --radius:14px;
  --radius-sm:8px;
  --shadow:0 4px 18px rgba(33,31,28,.07);
  --shadow-lg:0 18px 48px rgba(33,31,28,.14);
  --maxw:1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.2;font-weight:700}
p{margin:0 0 1em}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}

.section{padding:64px 0}
.section--alt{background:var(--bg-alt)}
.section--tight{padding:40px 0}

.eyebrow{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:10px;
}

.h1{font-size:clamp(28px,4.6vw,46px);letter-spacing:-0.02em}
.h2{font-size:clamp(24px,3.2vw,34px);letter-spacing:-0.01em}
.lead{font-size:18px;color:var(--text-muted);max-width:640px}

.muted{color:var(--text-muted)}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 24px;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:active{transform:scale(.97)}
.btn--primary{background:var(--accent);color:#fff;box-shadow:0 8px 20px rgba(217,86,15,.28)}
.btn--primary:hover{background:var(--accent-dark)}
.btn--ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--accent);color:var(--accent)}
.btn--light{background:#fff;color:var(--accent);}
.btn--light:hover{background:var(--accent-ink)}
.btn--sm{padding:9px 16px;font-size:13.5px}
.btn--block{width:100%}
.btn[disabled]{opacity:.45;cursor:not-allowed}

/* ====== Header ====== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:14px 20px;max-width:var(--maxw);margin:0 auto;
}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.01em}
.logo__mark{width:34px;height:34px;flex:none}
.logo__sub{display:block;font-size:11px;font-weight:600;color:var(--text-muted);letter-spacing:.03em}

.nav{display:flex;align-items:center;gap:22px}
.nav a{font-weight:600;font-size:15px;color:var(--text-muted);padding:6px 0;border-bottom:2px solid transparent;white-space:nowrap}
.nav a:hover,.nav a[aria-current="page"]{color:var(--text);border-color:var(--accent)}

.header-actions{display:flex;align-items:center;gap:14px}
.header-phone{font-weight:700;font-size:15.5px;white-space:nowrap}
.header-phone small{display:block;font-weight:500;font-size:11px;color:var(--text-muted)}

.burger{
  display:none;width:42px;height:42px;border-radius:10px;border:1px solid var(--line);
  background:#fff;align-items:center;justify-content:center;cursor:pointer;flex:none;
}
.burger span,.burger span::before,.burger span::after{
  content:"";display:block;width:18px;height:2px;background:var(--text);position:relative;transition:.2s;
}
.burger span::before{position:absolute;top:-6px}
.burger span::after{position:absolute;top:6px}

.mobile-nav{
  display:none;position:fixed;inset:0 0 auto 0;top:65px;background:#fff;
  border-bottom:1px solid var(--line);box-shadow:var(--shadow-lg);z-index:49;
  padding:10px 20px 24px;
}
.mobile-nav.is-open{display:block}
.mobile-nav a{display:block;padding:14px 4px;font-weight:700;font-size:17px;border-bottom:1px solid var(--line)}
.mobile-nav .header-phone{display:block;margin-top:14px}

@media (max-width:1010px){
  .nav{display:none}
  .header-order-btn{display:none}
  .burger{display:flex}
}

@media (max-width:600px){
  .header-phone{display:none}
  .logo__sub{white-space:normal}
}

/* ====== Hero ====== */
.hero{
  position:relative;
  padding:72px 0 56px;
  background:
    radial-gradient(circle at 85% 8%, var(--bg-alt-2) 0%, rgba(251,240,230,0) 55%),
    linear-gradient(180deg,#fff, var(--bg-alt) 120%);
  overflow:hidden;
}
.hero__inner{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.hero__actions{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}
.hero__stats{display:flex;gap:32px;margin-top:40px;flex-wrap:wrap}
.hero__stat b{display:block;font-size:28px;letter-spacing:-.02em}
.hero__stat span{font-size:13px;color:var(--text-muted)}

.hero__art{
  position:relative;border-radius:20px;overflow:hidden;background:#fff;
  border:1px solid var(--line);box-shadow:var(--shadow-lg);
  aspect-ratio:4/3.1;
}
.hero__art-grid{
  position:absolute;inset:0;
  display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);
  gap:1px;background:var(--line);
}
.hero__art-grid img{width:100%;height:100%;object-fit:contain;background:#fff;padding:10px}

@media (max-width:960px){
  .hero__inner{grid-template-columns:1fr}
  .hero__art{order:-1}
}

/* ====== USP cards ====== */
.usp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}
.usp-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 22px;box-shadow:var(--shadow);
}
.usp-card__icon{
  width:42px;height:42px;border-radius:11px;background:var(--accent-ink);
  display:flex;align-items:center;justify-content:center;color:var(--accent);margin-bottom:14px;
}
.usp-card h3{font-size:17px;margin-bottom:6px}
.usp-card p{font-size:14.5px;color:var(--text-muted);margin:0}

@media (max-width:960px){.usp-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.usp-grid{grid-template-columns:1fr}}

/* ====== Section header row ====== */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px;flex-wrap:wrap}

/* ====== Product grid & cards ====== */
.product-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
}
@media (max-width:1080px){.product-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.product-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:440px){.product-grid{grid-template-columns:1fr}}

.product-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .18s ease, transform .18s ease;
}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.product-card__img{
  aspect-ratio:1/1;background:var(--bg-alt);display:flex;align-items:center;justify-content:center;
  padding:16px;
}
.product-card__img img{width:100%;height:100%;object-fit:contain}
.product-card__body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.product-card__model{font-size:16px;font-weight:700}
.product-card__sku{font-size:12.5px;color:var(--text-muted);font-family:ui-monospace,Consolas,monospace}
.product-card__specs{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.spec-pill{
  font-size:12px;font-weight:600;background:var(--bg-alt);border:1px solid var(--line);
  border-radius:999px;padding:4px 10px;color:var(--text-muted);
}
.product-card__cta{margin-top:auto;padding-top:6px}

.product-card--empty{display:none}

/* ====== Filters ====== */
.catalog-layout{display:grid;grid-template-columns:260px 1fr;gap:32px;align-items:flex-start}
@media (max-width:900px){.catalog-layout{grid-template-columns:1fr}}

.filters{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;
  position:sticky;top:90px;
}
@media (max-width:900px){.filters{position:static}}
.filters h3{font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:14px}
.filter-group{margin-bottom:22px}
.filter-group:last-child{margin-bottom:0}
.filter-group__label{font-weight:700;font-size:14px;margin-bottom:10px;display:block}

.search-input{
  width:100%;padding:11px 14px;border-radius:10px;border:1px solid var(--line);
  font-size:15px;font-family:inherit;background:var(--bg-alt);
}
.search-input:focus{outline:2px solid var(--accent);outline-offset:1px;background:#fff}

.checkbox-row{display:flex;align-items:center;gap:9px;padding:6px 0;font-size:14.5px;cursor:pointer}
.checkbox-row input{width:17px;height:17px;accent-color:var(--accent)}

.range-row{display:flex;align-items:center;gap:8px}
.range-row input[type=number]{
  width:100%;padding:9px 10px;border-radius:8px;border:1px solid var(--line);font-family:inherit;font-size:14px;
}
.range-hint{font-size:12.5px;color:var(--text-muted);margin-top:6px}

.filters-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap;gap:10px}
.results-count{font-size:14.5px;color:var(--text-muted)}
.filters-toolbar-mobile{display:none}
@media (max-width:900px){
  .filters{display:none}
  .filters.is-open{display:block;margin-bottom:20px}
  .filters-toolbar-mobile{display:inline-flex}
}

.empty-state{
  text-align:center;padding:60px 20px;color:var(--text-muted);border:1px dashed var(--line);border-radius:var(--radius);
}

/* ====== Modal (contact / order) ====== */
.modal-backdrop{
  position:fixed;inset:0;background:rgba(33,31,28,.55);z-index:100;
  display:none;align-items:center;justify-content:center;padding:20px;
}
.modal-backdrop.is-open{display:flex}
.modal{
  background:#fff;border-radius:18px;max-width:420px;width:100%;padding:28px;box-shadow:var(--shadow-lg);
  position:relative;
}
.modal__close{
  position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:9px;border:1px solid var(--line);
  background:#fff;font-size:18px;cursor:pointer;color:var(--text-muted);
}
.modal h3{font-size:20px}
.modal__product{font-size:14px;color:var(--text-muted);margin-bottom:20px}
.modal__options{display:flex;flex-direction:column;gap:10px}
.modal__option{
  display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;
  font-weight:600;transition:.15s;
}
.modal__option:hover{border-color:var(--accent);background:var(--accent-ink)}
.modal__option-icon{width:34px;height:34px;border-radius:9px;background:var(--bg-alt);display:flex;align-items:center;justify-content:center;flex:none}

/* ====== CTA band ====== */
.cta-band{
  background:linear-gradient(135deg,var(--accent),#f08a3c);
  color:#fff;border-radius:20px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.cta-band h2{margin-bottom:6px}
.cta-band p{color:rgba(255,255,255,.9);margin:0}
.cta-band__actions{display:flex;gap:12px;flex-wrap:wrap}

/* ====== About page ====== */
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
@media (max-width:900px){.about-grid{grid-template-columns:1fr}}
.check-list li{display:flex;gap:12px;padding:10px 0;font-size:15.5px}
.check-list li::before{
  content:"";flex:none;width:22px;height:22px;margin-top:2px;border-radius:50%;background:var(--ok);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/16px no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/16px no-repeat;
}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
@media (max-width:760px){.steps{grid-template-columns:1fr}}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.step__num{
  width:34px;height:34px;border-radius:50%;background:var(--text);color:#fff;font-weight:700;
  display:flex;align-items:center;justify-content:center;margin-bottom:14px;font-size:14px;
}

.photo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px}
@media (max-width:700px){.photo-strip{grid-template-columns:repeat(2,1fr)}}
.photo-strip figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.photo-strip img{width:100%;height:100%;object-fit:contain}

/* ====== Contacts page ====== */
.contacts-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media (max-width:820px){.contacts-grid{grid-template-columns:1fr}}
.info-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.info-card h3{font-size:16px;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);margin-bottom:16px}
.info-row{display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.info-row:first-of-type{border-top:none;padding-top:0}
.info-row__icon{width:38px;height:38px;border-radius:10px;background:var(--accent-ink);color:var(--accent);display:flex;align-items:center;justify-content:center;flex:none}
.info-row b{display:block;font-size:15.5px}
.info-row span{font-size:14px;color:var(--text-muted)}
.req-table{width:100%;border-collapse:collapse;font-size:14.5px}
.req-table td{padding:9px 0;border-top:1px solid var(--line)}
.req-table tr:first-child td{border-top:none;padding-top:0}
.req-table td:first-child{color:var(--text-muted);width:46%}
.req-table td:last-child{font-weight:600;text-align:right}
.map-frame{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;height:340px;background:var(--bg-alt);
}
.map-frame iframe{width:100%;height:100%;border:0}

/* ====== Footer ====== */
.site-footer{background:#1c1a17;color:#cfc9bf;padding:52px 0 24px;margin-top:20px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.1)}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr}}
.footer-grid h4{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:14px}
.footer-grid a,.footer-grid p{font-size:14.5px;color:#a8a196}
.footer-grid li{margin-bottom:9px}
.footer-grid a:hover{color:#fff}
.footer-logo{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:19px;margin-bottom:12px}
.footer-bottom{display:flex;justify-content:space-between;padding-top:20px;font-size:13px;color:#8a8378;flex-wrap:wrap;gap:10px}

/* ====== Page hero (inner pages) ====== */
.page-hero{padding:44px 0 12px;background:var(--bg-alt)}
.breadcrumbs{font-size:13.5px;color:var(--text-muted);margin-bottom:10px}
.breadcrumbs a:hover{color:var(--accent)}

/* ====== Utilities ====== */
.mt-0{margin-top:0}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
