/* ============================================================
   Акумуляторний шуруповерт 12V — лендинг
   Дизайн-система: промислово-чистий, помаранчевий акцент
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Manrope:wght@400;500;600;700&display=swap');

:root{
  --bg:        #f6f5f3;
  --surface:   #ffffff;
  --ink:       #16181b;
  --ink-2:     #3d4147;
  --muted:     #6c7079;
  --line:      #e4e2dd;
  --line-2:    #d3d0c9;

  --dark:      #17191c;
  --dark-2:    #21242a;
  --dark-line: #33373e;

  --accent:    #ea580c;
  --accent-2:  #c2410c;
  --accent-soft:#fff1e9;

  --ok:        #1f7a3d;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,18,21,.06), 0 2px 8px rgba(16,18,21,.05);
  --shadow-md: 0 6px 22px rgba(16,18,21,.10), 0 2px 6px rgba(16,18,21,.06);
  --shadow-lg: 0 24px 60px rgba(16,18,21,.16);

  --maxw: 1180px;
  --gut: clamp(18px, 4vw, 40px);

  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }

h1,h2,h3,h4{
  font-family:var(--font-head);
  line-height:1.05;
  letter-spacing:-.01em;
  margin:0;
  font-weight:800;
}
h1{ font-size:clamp(34px,5.2vw,60px); letter-spacing:-.02em; }
h2{ font-size:clamp(27px,3.6vw,42px); }
h3{ font-size:clamp(20px,2.2vw,26px); font-weight:700; }
p{ margin:0; text-wrap:pretty; }

.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding-inline:var(--gut); }
.eyebrow{
  font-family:var(--font-head);
  font-weight:700; font-size:13px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent); display:inline-flex; align-items:center; gap:9px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--accent); display:inline-block; }
.section{ padding-block:clamp(54px,8vw,96px); }
.lead{ color:var(--ink-2); font-size:clamp(17px,1.5vw,20px); max-width:60ch; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-head); font-weight:700; font-size:16px;
  padding:15px 26px; border-radius:var(--radius-sm); border:0;
  transition:transform .12s ease, background .18s ease, box-shadow .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-accent{ background:var(--accent); color:#fff; box-shadow:0 8px 20px rgba(234,88,12,.28); }
.btn-accent:hover{ background:var(--accent-2); box-shadow:0 12px 26px rgba(234,88,12,.34); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-ghost{ background:transparent; border:1.5px solid var(--line-2); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--ink); }
.btn-lg{ padding:18px 34px; font-size:18px; }
.btn-block{ width:100%; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(246,245,243,.86);
  backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:18px; height:70px; }
.brand{ display:flex; align-items:center; gap:11px; font-family:var(--font-head); font-weight:800; font-size:19px; letter-spacing:-.01em; }
.brand .mark{
  width:34px; height:34px; border-radius:9px; background:var(--ink);
  display:grid; place-items:center; color:var(--accent); font-weight:900; font-size:18px; flex:none;
}
.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-links a{ font-weight:600; font-size:15px; color:var(--ink-2); }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-phone{ font-family:var(--font-head); font-weight:700; font-size:16px; white-space:nowrap; }
.burger{ display:none; background:none; border:0; padding:8px; }
.burger span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:.2s; }

/* ---------- hero ---------- */
.hero{ background:linear-gradient(180deg,#fff 0%, var(--bg) 100%); border-bottom:1px solid var(--line); overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,5vw,64px); align-items:center; padding-block:clamp(40px,6vw,72px); }
.hero h1{ margin-top:18px; }
.hero .lead{ margin-top:20px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:22px 30px; margin-top:30px; }
.hero-trust .ti{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:14.5px; color:var(--ink-2); }
.hero-trust .ti .ic{ width:20px; height:20px; color:var(--accent); flex:none; }
.hero-media{ position:relative; }
.hero-media .photo{
  aspect-ratio:1/1; border-radius:var(--radius); overflow:hidden; background:var(--surface);
  border:1px solid var(--line); box-shadow:var(--shadow-lg);
}
.hero-media .photo img{ width:100%; height:100%; object-fit:cover; }
.price-badge{
  position:absolute; left:-14px; bottom:24px; background:var(--ink); color:#fff;
  border-radius:var(--radius); padding:16px 20px; box-shadow:var(--shadow-md);
}
.price-badge .old{ color:#9aa0a8; text-decoration:line-through; font-size:15px; font-weight:600; }
.price-badge .now{ font-family:var(--font-head); font-weight:900; font-size:30px; color:#fff; line-height:1; }
.price-badge .now span{ color:var(--accent); }
.badge-save{
  position:absolute; right:-10px; top:18px; background:var(--accent); color:#fff;
  font-family:var(--font-head); font-weight:800; font-size:15px; padding:9px 14px; border-radius:999px;
  box-shadow:0 8px 18px rgba(234,88,12,.35); transform:rotate(4deg);
}

/* ---------- marquee strip ---------- */
.strip{ background:var(--ink); color:#fff; }
.strip .wrap{ display:flex; flex-wrap:wrap; gap:14px 40px; padding-block:16px; justify-content:center; }
.strip .it{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:14.5px; color:#d7dade; }
.strip .it b{ color:#fff; font-family:var(--font-head); }
.strip .it .ic{ color:var(--accent); width:18px; height:18px; }

/* ---------- features ---------- */
.head-block{ max-width:62ch; }
.head-block h2{ margin-top:14px; }
.head-block p{ margin-top:14px; color:var(--ink-2); }
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:46px; }
.feature{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow-sm); transition:transform .15s ease, box-shadow .15s ease;
}
.feature:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.feature .ic-wrap{ width:46px; height:46px; border-radius:11px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; margin-bottom:16px; }
.feature .ic-wrap svg{ width:24px; height:24px; }
.feature h3{ font-size:19px; }
.feature p{ margin-top:9px; color:var(--muted); font-size:15.5px; }

/* ---------- gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:40px; }
.gallery figure{ margin:0; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:var(--surface); box-shadow:var(--shadow-sm); }
.gallery img{ aspect-ratio:1/1; width:100%; object-fit:cover; transition:transform .4s ease; }
.gallery figure:hover img{ transform:scale(1.05); }

/* ---------- specs ---------- */
.specs-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; margin-top:44px; }
.specs-media{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-md); position:sticky; top:90px; }
.specs-media img{ width:100%; aspect-ratio:14/9; object-fit:cover; }
.spec-table{ width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.spec-table tr{ border-bottom:1px solid var(--line); }
.spec-table tr:last-child{ border-bottom:0; }
.spec-table th{ text-align:left; font-weight:600; color:var(--muted); padding:15px 20px; font-size:15px; width:52%; }
.spec-table td{ text-align:right; font-family:var(--font-head); font-weight:700; padding:15px 20px; font-size:15.5px; }
.spec-table tr:nth-child(odd) th, .spec-table tr:nth-child(odd) td{ background:#faf9f7; }

/* ---------- kit / комплектация ---------- */
.kit{ background:var(--dark); color:#fff; }
.kit .eyebrow{ color:#ffae7a; }
.kit .eyebrow::before{ background:#ffae7a; }
.kit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.kit h2{ color:#fff; margin-top:14px; }
.kit-list{ list-style:none; padding:0; margin:26px 0 0; display:grid; gap:12px; }
.kit-list li{ display:flex; align-items:center; gap:14px; font-weight:600; color:#e7e9ec; font-size:16.5px; padding-bottom:12px; border-bottom:1px solid var(--dark-line); }
.kit-list li .n{ font-family:var(--font-head); font-weight:800; color:var(--accent); width:30px; flex:none; }
.kit-media{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--dark-line); box-shadow:var(--shadow-lg); }
.kit-media img{ width:100%; aspect-ratio:14/9; object-fit:cover; }

/* ---------- reviews ---------- */
.reviews-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:42px; }
.review{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); }
.stars{ color:var(--accent); letter-spacing:2px; font-size:17px; }
.review p{ margin-top:12px; color:var(--ink-2); font-size:15.5px; }
.review .who{ margin-top:16px; display:flex; align-items:center; gap:12px; }
.review .ava{ width:40px; height:40px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-family:var(--font-head); font-weight:800; }
.review .who b{ font-family:var(--font-head); font-size:15px; }
.review .who span{ display:block; color:var(--muted); font-size:13px; font-weight:500; }

/* ---------- faq ---------- */
.faq{ max-width:820px; margin:40px auto 0; display:grid; gap:12px; }
.faq details{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:6px 22px; box-shadow:var(--shadow-sm); }
.faq summary{ list-style:none; cursor:pointer; padding:16px 0; font-family:var(--font-head); font-weight:700; font-size:17px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .plus{ width:22px; height:22px; flex:none; position:relative; }
.faq summary .plus::before, .faq summary .plus::after{ content:""; position:absolute; background:var(--accent); border-radius:2px; }
.faq summary .plus::before{ left:0; right:0; top:10px; height:2px; }
.faq summary .plus::after{ top:0; bottom:0; left:10px; width:2px; transition:transform .2s; }
.faq details[open] summary .plus::after{ transform:scaleY(0); }
.faq details p{ padding:0 0 18px; color:var(--ink-2); font-size:15.5px; }

/* ---------- order form ---------- */
.order{ background:linear-gradient(180deg, var(--bg), #fff); border-top:1px solid var(--line); }
.order-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,60px); align-items:center; }
.order-info h2{ margin-top:14px; }
.order-info .lead{ margin-top:14px; }
.order-perks{ list-style:none; padding:0; margin:26px 0 0; display:grid; gap:14px; }
.order-perks li{ display:flex; gap:13px; align-items:flex-start; font-weight:600; font-size:16px; color:var(--ink-2); }
.order-perks .ic{ width:24px; height:24px; flex:none; color:var(--ok); margin-top:1px; }
.order-card{
  background:var(--surface); border:1px solid var(--line-2); border-radius:18px;
  padding:clamp(24px,3vw,36px); box-shadow:var(--shadow-lg); position:relative;
}
.order-card .card-price{ display:flex; align-items:baseline; gap:12px; margin-bottom:8px; }
.order-card .card-price .now{ font-family:var(--font-head); font-weight:900; font-size:36px; line-height:1; }
.order-card .card-price .old{ color:var(--muted); text-decoration:line-through; font-weight:600; }
.order-card .card-price .save{ margin-left:auto; background:var(--accent-soft); color:var(--accent-2); font-family:var(--font-head); font-weight:800; font-size:13px; padding:6px 11px; border-radius:999px; }
.field{ margin-top:14px; }
.field label{ display:block; font-weight:600; font-size:14px; margin-bottom:7px; color:var(--ink-2); }
.field input, .field select, .field textarea{
  width:100%; font-family:inherit; font-size:16px; color:var(--ink);
  padding:14px 15px; border:1.5px solid var(--line-2); border-radius:var(--radius-sm);
  background:#fff; transition:border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgba(234,88,12,.12);
}
.field.invalid input, .field.invalid select{ border-color:#d33; box-shadow:0 0 0 4px rgba(211,51,51,.1); }
.field .err{ display:none; color:#c0271f; font-size:13px; font-weight:600; margin-top:6px; }
.field.invalid .err{ display:block; }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.qty{ display:flex; align-items:stretch; border:1.5px solid var(--line-2); border-radius:var(--radius-sm); overflow:hidden; width:140px; }
.qty button{ width:44px; background:#f3f1ee; border:0; font-size:22px; color:var(--ink-2); font-family:var(--font-head); }
.qty button:hover{ background:#e9e6e1; }
.qty input{ border:0; text-align:center; width:52px; border-radius:0; font-family:var(--font-head); font-weight:700; font-size:18px; }
.qty input:focus{ box-shadow:none; }
.form-note{ margin-top:14px; font-size:13px; color:var(--muted); text-align:center; }
.form-note a{ color:var(--accent-2); font-weight:600; text-decoration:underline; }

/* ---------- footer ---------- */
.site-footer{ background:var(--dark); color:#c4c8ce; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:36px; padding-block:clamp(44px,6vw,68px); border-bottom:1px solid var(--dark-line); }
.footer-col h4{ font-family:var(--font-head); color:#fff; font-size:15px; letter-spacing:.04em; text-transform:uppercase; margin-bottom:18px; font-weight:700; }
.footer-col .brand{ color:#fff; margin-bottom:14px; }
.footer-col p{ font-size:15px; line-height:1.7; }
.footer-links{ list-style:none; padding:0; margin:0; display:grid; gap:11px; }
.footer-links a{ color:#c4c8ce; font-size:15px; }
.footer-links a:hover{ color:#fff; }
.footer-contact{ display:grid; gap:13px; }
.footer-contact .ci{ display:flex; gap:12px; align-items:flex-start; font-size:15px; }
.footer-contact .ci .ic{ width:19px; height:19px; color:var(--accent); flex:none; margin-top:3px; }
.footer-contact a:hover{ color:#fff; }
.hours{ display:grid; gap:6px; }
.hours .hr{ display:flex; justify-content:space-between; gap:16px; font-size:14.5px; border-bottom:1px dashed var(--dark-line); padding-bottom:6px; }
.hours .hr span:last-child{ color:#fff; font-weight:600; }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; padding-block:24px; font-size:13.5px; color:#8c9198; }
.footer-bottom .pays{ display:flex; gap:8px; align-items:center; }
.footer-bottom .pays .chip{ background:var(--dark-2); border:1px solid var(--dark-line); border-radius:6px; padding:5px 10px; font-size:12px; font-weight:700; font-family:var(--font-head); color:#d7dade; }

/* ---------- content pages ---------- */
.page-hero{ background:var(--dark); color:#fff; padding-block:clamp(46px,7vw,80px); }
.page-hero .crumb{ font-size:14px; color:#9aa0a8; margin-bottom:14px; }
.page-hero .crumb a:hover{ color:#fff; }
.page-hero h1{ color:#fff; }
.page-hero p{ color:#c4c8ce; margin-top:14px; max-width:62ch; }
.prose{ max-width:820px; margin:0 auto; }
.prose h2{ margin-top:44px; }
.prose h3{ margin-top:30px; }
.prose p{ margin-top:14px; color:var(--ink-2); }
.prose ul{ margin-top:14px; padding-left:22px; color:var(--ink-2); display:grid; gap:9px; }
.prose li{ padding-left:4px; }
.prose strong{ color:var(--ink); }
.info-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:8px; }
.info-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-sm); }
.info-card .ic-wrap{ width:46px; height:46px; border-radius:11px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; margin-bottom:16px; }
.info-card .ic-wrap svg{ width:24px; height:24px; }
.info-card h3{ font-size:19px; }
.info-card p{ margin-top:9px; color:var(--muted); font-size:15.5px; }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.contact-block{ display:grid; gap:18px; }
.contact-item{ display:flex; gap:15px; align-items:flex-start; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; box-shadow:var(--shadow-sm); }
.contact-item .ic-wrap{ width:44px; height:44px; border-radius:11px; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; flex:none; }
.contact-item .ic-wrap svg{ width:22px; height:22px; }
.contact-item h4{ font-family:var(--font-head); font-size:14px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin-bottom:5px; }
.contact-item .v{ font-family:var(--font-head); font-weight:700; font-size:18px; }
.contact-item .v a:hover{ color:var(--accent-2); }
.contact-item small{ color:var(--muted); display:block; margin-top:3px; font-size:13.5px; }

/* ---------- alert (php form result) ---------- */
.alert{ border-radius:var(--radius); padding:16px 20px; font-weight:600; margin-bottom:24px; display:flex; gap:12px; align-items:center; }
.alert-ok{ background:#e8f5ec; border:1px solid #b8e0c6; color:#1f7a3d; }
.alert-err{ background:#fdeceb; border:1px solid #f4c4c1; color:#c0271f; }

/* ---------- reveal animation ---------- */
@media (prefers-reduced-motion: no-preference){
  .reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
  .reveal.in{ opacity:1; transform:none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-media{ order:-1; max-width:460px; }
  .specs-wrap, .kit-grid, .order-grid, .contact-grid{ grid-template-columns:1fr; }
  .specs-media{ position:static; }
  .feature-grid, .reviews-grid, .info-cards{ grid-template-columns:1fr 1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; gap:30px; }
}
@media (max-width: 680px){
  body{ font-size:16px; }
  .nav-links{
    display:none; position:absolute; top:70px; left:0; right:0; background:var(--surface);
    flex-direction:column; align-items:stretch; gap:0; padding:8px var(--gut) 16px; border-bottom:1px solid var(--line); box-shadow:var(--shadow-md);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:13px 0; border-bottom:1px solid var(--line); }
  .nav-phone{ display:none; }
  .burger{ display:block; }
  .feature-grid, .reviews-grid, .gallery, .info-cards{ grid-template-columns:1fr 1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .row2{ grid-template-columns:1fr; }
  .price-badge{ left:0; }
}
@media (max-width: 460px){
  .gallery{ grid-template-columns:1fr 1fr; }
  .feature-grid, .reviews-grid, .info-cards{ grid-template-columns:1fr; }
  .strip .wrap{ justify-content:flex-start; }
}
