:root{
  --bg:#f3f4f6;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --card:#ffffff;
  --shadow:0 12px 28px rgba(17,24,39,.08);
  --r:16px;

  /* цветмет: медь/золото */
  --c1:#ffcc66;
  --c2:#ff8a3d;
  --c3:#ff4b2e;
  --accent: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));

  --max:1220px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden; /* не даём странице уезжать вправо */
}
a{color:inherit;text-decoration:none}
.container{ max-width: 1220px; margin: 0 auto; padding: 0 18px; }

/* topline */
.topline{
  background:#fff;
  border-bottom:1px solid var(--border);
  font-size:13px;
  color:var(--muted);
}
.topline .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0; flex-wrap:wrap;
}
.topline .row .left, .topline .row .right{
  display:flex; gap:14px; align-items:center; flex-wrap:wrap;
}

/* header (как реф) */
header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:60;
}
.head{
  display:flex; align-items:center; gap:14px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width:200px;
}
.brand .logo{
  width:40px; height:40px; border-radius:14px;
  background:var(--accent);
  box-shadow:0 10px 18px rgba(255,138,61,.18);
  overflow:hidden;
  position:relative;
  flex:0 0 auto;
}
.brand .logo img{
  width:100%; height:100%; object-fit:contain; background:#fff;
}
.brand .name{font-weight:900; letter-spacing:.2px; line-height:1.05;}
.brand .tag{
  display:block;
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  margin-top:2px;
}

.catalog-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#111827;
  color:#fff;
  font-weight:850;
  cursor:pointer;
  user-select:none;
  flex:0 0 auto;
}
.catalog-btn .burger{width:18px; height:12px; position:relative; display:inline-block;}
.catalog-btn .burger:before,
.catalog-btn .burger:after,
.catalog-btn .burger i{
  content:"";
  position:absolute; left:0; right:0;
  height:2px; background:#fff; border-radius:3px;
}
.catalog-btn .burger:before{top:0}
.catalog-btn .burger i{top:5px}
.catalog-btn .burger:after{bottom:0}

.search{
  flex:1 1 auto;
  display:flex;
  gap:10px;
  align-items:center;
  min-width:260px;
}
.search input{
  width:100%;
  border:1px solid var(--border);
  background:#f9fafb;
  border-radius:12px;
  padding:14px 14px;
  font-size:14px;
  outline:none;
}
.search button{
  border:0;
  border-radius:12px;
  padding:14px 16px;
  font-weight:900;
  background:var(--accent);
  color:#111827;
  cursor:pointer;
  box-shadow:0 10px 18px rgba(17,24,39,.10);
  white-space:nowrap;
}

.head-right{
  display:flex; align-items:center; gap:12px;
  flex:0 0 auto;
}
.phone{
  font-weight:900;
  color:#111827;
  white-space:nowrap;
}
.mini-links{
  display:flex; gap:10px; align-items:center;
  color:var(--muted); font-weight:750; font-size:13px;
  white-space:nowrap;
}

/* cart link + badge (для шапки и моб меню) */
.cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:900;
  white-space:nowrap;
}
.cart-link:hover{background:#f3f4f6}
.cart-badge{
  position:absolute;
  top:-8px; right:-8px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* UI building blocks */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 16px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
  border:1px solid var(--border);
  background:#fff;
  color:#111827;
  user-select:none;
}
.btn.primary{
  border:0;
  background:var(--accent);
  color:#111827;
}
.pill{
  display:inline-flex;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
  font-weight:800;
  font-size:12px;
}

/* footer */
footer{
  margin-top:22px;
  background:#fff;
  border-top:1px solid var(--border);
}
.foot{
  padding:18px 0 26px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  color:var(--muted);
  font-size:13px;
}
@media (max-width: 980px){ .foot{grid-template-columns:1fr} }
.small{font-size:12.5px; line-height:1.55}
.foot b{color:#111827}

/* mobile */
@media (max-width: 980px){
  .container{padding:0 14px}
  .head{flex-wrap:wrap; gap:10px}
  .brand{min-width:unset}
  .catalog-btn{flex:1 1 auto; justify-content:center}
  .search{width:100%; order:10}
  .head-right{width:100%; justify-content:space-between; flex-wrap:wrap}
  .phone{font-size:14px}
}
@media (max-width: 520px){
  .topline{display:none}
  .head{padding:10px 0}
  .brand .tag{display:none}
  .catalog-btn{width:100%; padding:12px 14px; border-radius:14px}
  .search{gap:8px}
  .search input{padding:14px 14px; font-size:14px}
  .search button{padding:14px 14px}
}

/* bottom mobile nav */
.bottom-nav{
  display:none;
  position:fixed;
  left:14px; right:14px; bottom:14px;
  z-index:1000;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:0 18px 40px rgba(17,24,39,.18);
  padding:10px;
}
.bottom-nav .grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.bottom-nav a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 8px;
  border-radius:14px;
  font-weight:900;
  font-size:11.5px;
  color:#111827;
}
.bottom-nav a:hover{background:#f3f4f6}
.bottom-nav svg{width:20px;height:20px}
.bottom-nav .cart-badge{top:2px; right:16px}

@media (max-width:520px){
  .bottom-nav{display:block}
  body{padding-bottom:88px}
}
/* ===== Home CTA blocks ===== */
.h2{margin:0 0 10px; font-size:26px; font-weight:950; letter-spacing:-.3px;}
.lead{margin:0; color:var(--muted); line-height:1.65; font-weight:650;}
.kicker{display:inline-flex; padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:#fff; color:var(--muted); font-weight:900; font-size:12px;}

.cta-strip{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:stretch;
  margin-top:14px;
}
@media (max-width:980px){ .cta-strip{grid-template-columns:1fr;} }

.cta-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px;}
.trust{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-top:14px;
}
@media (max-width:980px){ .trust{grid-template-columns: repeat(2, 1fr);} }
.trust-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:12px;
}
.trust-item b{display:block; font-weight:950;}
.trust-item span{display:block; color:var(--muted); margin-top:4px; font-weight:700; font-size:12.5px;}

.cta-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:14px;
}
.cta-card__title{font-weight:950; font-size:16px;}
.cta-card__sub{color:var(--muted); font-weight:700; font-size:12.5px; margin-top:4px;}
.cta-form{display:grid; gap:10px; margin-top:12px;}
.cta-alt{display:grid; gap:10px;}

.grid-3{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width:980px){ .grid-3{grid-template-columns:1fr;} }

.info-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:14px;
}
.info-card h3{margin:10px 0 6px; font-size:15px; font-weight:950;}
.info-card p{margin:0; color:var(--muted); line-height:1.6; font-weight:650;}
.ic-ico{width:44px;height:44px;border-radius:14px;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 10px 18px rgba(255,138,61,.18);}

.steps{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:14px;
}
.steps-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-top:12px;
}
@media (max-width:980px){ .steps-row{grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .steps-row{grid-template-columns:1fr;} }

.step{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#f9fafb;
}
.step .num{
  width:32px;height:32px;border-radius:12px;
  background:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-weight:950;
}
.step b{display:block; margin-top:10px; font-weight:950;}
.step span{display:block; margin-top:6px; color:var(--muted); line-height:1.5; font-weight:650; font-size:13px;}

.final-cta{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.final-actions{display:flex; gap:10px; flex-wrap:wrap;}
/* ===== Unified form style (как верхняя форма) ===== */
:root{
  --field-bg:#f9fafb;
  --field-border:#e5e7eb;
  --field-border-focus: rgba(255,138,61,.45);
  --field-shadow: 0 10px 18px rgba(17,24,39,.06);
}

.field,
input.field,
textarea.field,
select.field{
  width:100%;
  border:1px solid var(--field-border);
  background:var(--field-bg);
  border-radius:14px;
  padding:14px 14px;
  font-size:14px;
  font-weight:750;
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

textarea.field{ min-height: 120px; resize: vertical; }

.field::placeholder{ color:#9ca3af; font-weight:700; }

.field:focus{
  background:#fff;
  border-color: rgba(255,138,61,.35);
  box-shadow: 0 0 0 4px var(--field-border-focus), var(--field-shadow);
}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 980px){ .form-row{grid-template-columns:1fr} }

.form-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn.primary{
  box-shadow: 0 10px 18px rgba(255,138,61,.20);
}

.cta-card .btn,
.cta-card .field{
  border-radius:14px;
}
/* LOGO image вместо градиентной точки */
.brand .logo{
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}