:root{
  --slate:#2f3640;
  --slate-700:#3b424c;
  --terracotta:#b04a2f;
  --terracotta-700:#8f3924;
  --wood:#ceb89a;
  --wood-200:#e6d9c6;
  --white:#ffffff;
  --muted:#f5f6f8;
  --ok:#2ecc71;
  --warn:#f39c12;
  --error:#e74c3c;
  --text:#222;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,"Helvetica Neue",Arial,sans-serif;background:var(--muted);color:var(--text);scroll-behavior:smooth}
h1,h2,h3,h4,h5,h6{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;letter-spacing:.5px;margin:0 0 12px 0;color:var(--slate)}
a{color:var(--terracotta);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1180px;margin:0 auto;padding:0 16px}
.topbar{background:var(--slate);color:#fff;font-size:.9rem}
.topbar .container{display:flex;justify-content:space-between;align-items:center;padding:8px 16px}
.social{display:flex;gap:10px}
.social a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,.06);transition:.2s}
.social a:hover{background:rgba(255,255,255,.15)}
header.nav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e5e7eb}
.nav .container{display:flex;align-items:center;gap:20px;padding:12px 16px}
.logo{display:flex;align-items:center;gap:12px}
.logo img{display:block;max-width:150px;max-height:80px;object-fit:cover;object-position:center;border-radius:8px}
.site-title{font-weight:800;color:var(--slate);text-transform:uppercase;font-size:1rem;letter-spacing:1px}
nav.primary{margin-left:auto}
nav.primary ul{list-style:none;display:flex;gap:18px;margin:0;padding:0}
nav.primary a{color:var(--slate-700);font-weight:600}
.cart-link{display:inline-flex;align-items:center;gap:8px;background:var(--terracotta);color:#fff;padding:8px 12px;border-radius:8px}
.cart-count{background:#fff;color:var(--terracotta);font-weight:700;padding:2px 8px;border-radius:999px}
.hero{position:relative;min-height:60vh;display:flex;align-items:center;background-image:url('images/1.jpg');background-size:cover;background-position:center;background-attachment:fixed}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(47,54,64,.75),rgba(47,54,64,.35))}
.hero .container{position:relative;color:#fff}
.badge{display:inline-block;background:rgba(206,184,154,.95);color:#222;padding:6px 10px;border-radius:8px;margin-bottom:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.hero h1{font-size:2.4rem;color:#fff}
.hero p.subtitle{font-size:1.1rem;opacity:.95;margin-top:6px}
.motto{margin-top:10px;font-weight:700;color:#fff}
.cta-row{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:10px;border:none;padding:12px 16px;border-radius:10px;font-weight:700;cursor:pointer;transition:.2s}
.btn-primary{background:var(--terracotta);color:#fff}
.btn-primary:hover{background:var(--terracotta-700)}
.btn-secondary{background:#fff;color:var(--slate)}
.section{padding:56px 0}
.section.alt{background:#fff}
.section.dark{background:var(--slate);color:#fff}
.section .section-head{display:flex;flex-direction:column;gap:6px;margin-bottom:20px}
.kv{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.kv .kv-block{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px;display:flex;gap:12px;align-items:flex-start}
.kv .icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:var(--wood);border-radius:8px}
.kv h3{margin:0 0 6px 0}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:16px}
.stat{background:#fff;border-radius:12px;padding:16px;text-align:center;border:1px solid #e5e7eb}
.stat .num{font-size:1.6rem;font-weight:800;color:var(--terracotta)}
.longtext p{margin:10px 0;line-height:1.7}
.catalog{display:grid;grid-template-columns:repeat(1,1fr);gap:18px}
.product-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;display:grid;grid-template-columns:160px 1fr auto;gap:16px;padding:16px;align-items:center}
.product-image{width:100%;height:250px;max-width:250px;max-height:250px;object-fit:cover;object-position:center;border-radius:8px;aspect-ratio:1/1}
.product-info h3{margin:0 0 6px 0}
.price{font-weight:800;color:var(--terracotta);margin:6px 0}
.product-actions{display:flex;flex-direction:column;gap:10px}
.more-link{display:inline-flex;align-items:center;font-weight:700}
.more-link svg{margin-left:6px}
.more-products{margin-top:8px}
.more-products a{margin-right:12px}
.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.guide{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden}
.guide img{width:100%;height:300px;object-fit:cover;object-position:center;border-radius:0}
.guide .body{padding:14px}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gallery img{width:100%;height:300px;object-fit:cover;object-position:center;border-radius:8px;aspect-ratio:1/1}
.map-wrap{position:relative;background:linear-gradient(135deg,#e6e9ef,#d1d5db);border-radius:12px;border:1px solid #cfd6df;height:420px;overflow:hidden}
.map{position:absolute;inset:0}
.marker{position:absolute;width:14px;height:14px;background:var(--terracotta);border-radius:50%;box-shadow:0 0 0 4px rgba(176,74,47,.25);cursor:pointer}
.marker::after{content:attr(data-city);position:absolute;left:16px;top:-6px;background:#fff;padding:4px 8px;border-radius:8px;border:1px solid #e5e7eb;white-space:nowrap}
.newsletter{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px}
.newsletter input[type="email"]{width:100%;padding:12px;border-radius:10px;border:1px solid #cfd6df}
form .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
form .row.single{grid-template-columns:1fr}
input,textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #cfd6df;background:#fff}
textarea{min-height:120px;resize:vertical}
footer{background:#0f141a;color:#cfd6df;padding:28px 0;margin-top:40px}
footer a{color:#e6d9c6}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr .8fr;gap:20px}
.footer-bottom{margin-top:16px;border-top:1px solid #1f2937;padding-top:12px;display:flex;justify-content:space-between;align-items:center}
.badge-eco{display:inline-block;background:rgba(46,204,113,.1);color:var(--ok);padding:4px 8px;border-radius:8px;margin-left:8px}
.cookie-banner{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:2px solid var(--terracotta);padding:16px;display:none;z-index:999}
.cookie-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
.cookie-actions{display:flex;gap:8px;flex-wrap:wrap}
.btn-outline{background:#fff;border:1px solid #cfd6df;color:var(--slate);padding:10px 14px;border-radius:10px;font-weight:700}
.table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb}
.table th,.table td{padding:12px;border-bottom:1px solid #e5e7eb;text-align:left}
.qty{display:inline-flex;align-items:center;border:1px solid #cfd6df;border-radius:8px;overflow:hidden}
.qty button{background:#f1f5f9;border:none;width:32px;height:32px;cursor:pointer}
.qty input{width:48px;text-align:center;border:none}
.total-line{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-weight:800}
.notice{padding:12px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;margin:12px 0}
.team{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.team-member {
  text-align: center;
  margin: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.team-photo {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 15px;
}
.team-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #333;
}
.team-position {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  margin: 5px 0 10px 0;
}
.team-bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 10px 0;
}
.badge-industrial{background:#1f2937;color:#fff;padding:4px 8px;border-radius:8px}
@media(max-width:1024px){
  .kv{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(2,1fr)}
  .team{grid-template-columns:repeat(2,1fr)}
  .newsletter{grid-template-columns:1fr}
  .product-card{grid-template-columns:1fr}
  .guide-grid{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .kv{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
  .team{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}
