/* ==========================================================
   Scorpion Machines Sales — main stylesheet
   ========================================================== */
:root{
  --red:#D3191C;
  --red-light:#E01E22;
  --red-dark:#A10F14;
  --black:#0D0D0E;
  --dark:#141415;
  --dark-2:#1D1D1F;
  --light:#F4F4F4;
  --text:#151515;
  --muted:#4A4A4A;
  --wrap:1440px;
  --pad:clamp(16px,3.4vw,52px);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--black);color:#fff;font-family:'Saira',system-ui,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
button{font-family:inherit}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:var(--wrap);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.wrap-md{max-width:1340px}
.wrap-sm{max-width:920px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;text-decoration:none;font-weight:700;letter-spacing:.14em;border-radius:3px;cursor:pointer;border:0;transition:filter .2s ease}
.btn-red{background:linear-gradient(180deg,var(--red-light),#B5141A);color:#fff}
.btn-red:hover{filter:brightness(1.08);color:#fff}
.btn-lg{font-size:17px;padding:17px 40px}
.btn-md{font-size:16px;padding:16px 32px}
.btn-outline{background:transparent;border:2px solid var(--text);color:var(--text);font-size:16px;padding:14px 26px;letter-spacing:.1em}
.btn-outline:hover{background:var(--text);color:#fff}

/* ---------- eyebrow / headings ---------- */
.eyebrow{font-weight:600;font-size:15px;letter-spacing:.32em;color:var(--red)}
.on-dark .eyebrow{color:var(--red-light)}
.section-title{font-weight:800;font-size:clamp(32px,3.4vw,46px);line-height:1.05}
.rule{display:block;width:80px;height:3px;background:var(--red)}
.section-head{display:flex;flex-direction:column;gap:10px;margin-bottom:36px}

/* ---------- top bar ---------- */
.topbar{background:var(--black);font-size:14px}
.topbar .wrap{height:38px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.topbar a,.topbar span{display:flex;align-items:center;gap:8px;text-decoration:none;color:#fff}
.topbar a:hover{color:#fff;opacity:.85}
.topbar-right{display:flex;align-items:center;gap:28px}
.icon-sm{width:16px;height:16px;flex:none;fill:#fff}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:20;background:#fff;color:var(--text);box-shadow:0 2px 12px rgba(0,0,0,.12)}
.site-header .wrap{height:90px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo img{height:72px;width:auto}
.nav{display:flex;gap:44px;align-items:center;font-weight:600;font-size:15px;letter-spacing:.06em}
.nav a{text-decoration:none;color:var(--text);padding:10px 0;border-bottom:3px solid transparent;white-space:nowrap}
.nav a:hover,.nav a.active{color:var(--red)}
.nav a.active{border-bottom-color:var(--red)}
.header-cta{font-size:17px;padding:13px 34px;letter-spacing:.12em;white-space:nowrap}

/* ---------- hero ---------- */
.hero{position:relative;background:var(--dark);overflow:hidden}
.hero-img{position:absolute;top:0;bottom:0;left:38%;right:0}
.hero-img img{width:100%;height:100%;object-fit:cover}
.hero-fade{position:absolute;inset:0;background:linear-gradient(90deg,#141415 0%,#141415 34%,rgba(20,20,21,.75) 44%,rgba(20,20,21,0) 62%)}
.hero-inner{position:relative;padding-top:clamp(48px,5vw,64px);padding-bottom:clamp(56px,6vw,80px);display:flex;justify-content:space-between;gap:32px;min-height:380px}
.hero-copy{max-width:640px;display:flex;flex-direction:column;gap:18px}
.hero-eyebrow{font-weight:600;font-size:clamp(13px,1.3vw,18px);letter-spacing:.38em}
.hero h1{font-weight:800;font-size:clamp(42px,4.6vw,66px);line-height:1}
.hero h1 span{color:var(--red-light)}
.hero-sub{margin:0;font-size:clamp(17px,1.6vw,23px);line-height:1.35;max-width:500px}
.hero-copy .btn{margin-top:14px;align-self:flex-start}
.hero-side{display:flex;flex-direction:column;width:160px;align-self:flex-start;font-weight:600;font-size:15px;letter-spacing:.06em}
.hero-side li{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:2px solid var(--red)}
.hero-side li:last-child{border-bottom:0}
.hero-side svg{width:32px;height:32px;flex:none}
.hero-badge{position:absolute;right:0;bottom:0;background:#ECECEC;color:var(--text);clip-path:polygon(16% 0,100% 0,100% 100%,0 100%);padding:18px clamp(16px,3vw,44px) 16px 70px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-weight:600;font-size:15px;letter-spacing:.14em;line-height:1.35;text-align:right}
.hero-badge .rule{width:90px}

/* ---------- categories ---------- */
.categories{background:var(--light);padding:12px clamp(12px,1.8vw,28px)}
.categories-grid{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.tile{text-decoration:none;color:var(--text);background:linear-gradient(180deg,#E6E6E6,#DADADA);display:flex;flex-direction:column;align-items:center;transition:transform .25s ease,box-shadow .25s ease}
.tile:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.18);color:var(--text)}
.tile img{width:100%;aspect-ratio:230/127;object-fit:cover}
.tile span{display:flex;align-items:center;gap:8px;padding:6px 10px 16px;font-weight:600;font-size:14px;letter-spacing:.04em;text-align:center}
.arrow-red{width:16px;height:16px;flex:none;fill:none;stroke:var(--red);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- about band ---------- */
.about{background:#111112;overflow:hidden}
.about-row{display:flex;flex-wrap:wrap;align-items:stretch}
.about-text{flex:1 1 520px;min-width:0;background:#111112;padding:clamp(32px,3vw,40px) clamp(16px,4vw,120px) clamp(32px,3vw,40px) var(--pad);position:relative;z-index:2;display:flex;flex-direction:column;gap:16px}
.about-text h2{font-weight:700;font-size:clamp(26px,2.2vw,32px);line-height:1.15}
.about-text p{margin:0;max-width:560px;line-height:1.6;color:#E8E8E8}
.about-features{display:flex;flex-wrap:wrap;gap:20px 0;margin-top:10px;font-weight:600;font-size:14px;letter-spacing:.08em;line-height:1.35}
.about-features div{display:flex;align-items:center;gap:14px;padding:0 22px;border-right:1px solid rgba(255,255,255,.25)}
.about-features div:first-child{padding-left:0}
.about-features div:last-child{border-right:0}
.about-features svg{width:42px;height:42px;flex:none}
.about-photo{flex:1 1 380px;min-width:0;position:relative;min-height:230px;z-index:1}
.about-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.about-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.15))}
.about-photo div{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:32px clamp(24px,7vw,110px);font-weight:600;font-size:clamp(19px,1.6vw,22px);letter-spacing:.1em;line-height:1.35}
.about-photo .rule{width:66px}
.about-contact{flex:1 1 420px;min-width:0;background:linear-gradient(135deg,var(--red-light),var(--red-dark));padding:clamp(28px,3vw,36px) var(--pad);position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:14px}
.about-contact .name{text-align:center}
.about-contact .name strong{display:block;font-weight:700;font-size:clamp(24px,2vw,28px);line-height:1.15}
.about-contact .name span{font-size:18px;letter-spacing:.03em}
.contact-line{display:flex;align-items:center;gap:16px;font-size:18px;color:#fff;text-decoration:none;word-break:break-word}
a.contact-line:hover{color:#fff;opacity:.9}
.icon-circle{width:34px;height:34px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.icon-circle svg{width:18px;height:18px;fill:var(--red)}

/* ---------- products ---------- */
.products{background:var(--light);color:var(--text)}
.products .wrap,.service .wrap,.faq .wrap,.contact .wrap{padding-top:clamp(56px,6vw,88px);padding-bottom:clamp(56px,6vw,88px)}
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px}
.card{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;background:#fff;border-bottom:3px solid var(--red);box-shadow:0 2px 8px rgba(0,0,0,.06);transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.16)}
.card:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.card-media{background:linear-gradient(180deg,#ECECEC,#DEDEDE);height:270px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.img-contain{width:88%;height:88%;object-fit:contain;mix-blend-mode:multiply}
.img-cover{width:100%;height:100%;object-fit:cover}
.card-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
.card-cat{font-weight:600;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--red)}
.card-name{font-weight:800;font-size:24px;line-height:1.1;text-transform:uppercase}
.card-sum{font-size:15px;color:var(--muted);flex:1}
.card-more{margin-top:12px;display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;letter-spacing:.12em}

/* ---------- service ---------- */
.service{background:var(--dark)}
.service-row{display:flex;flex-wrap:wrap;gap:56px}
.service-copy{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:16px}
.service-copy p{margin:0;color:#D4D4D4}
.bullets{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px 24px;font-weight:500}
.bullets li,.feature-list li{display:flex;gap:10px;align-items:center}
.bullets li::before,.feature-list li::before{content:"";width:8px;height:8px;background:var(--red-light);flex:none}
.service-copy .btn{align-self:flex-start;margin-top:8px}
.steps{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:14px}
.steps li{display:flex;gap:22px;align-items:center;padding:24px 26px;background:var(--dark-2);border-left:4px solid var(--red)}
.steps b{font-weight:800;font-size:40px;line-height:1;color:var(--red-light)}
.steps strong{display:block;font-weight:700;font-size:20px;letter-spacing:.04em}
.steps span{color:#BDBDBD;font-size:15px}

/* ---------- faq ---------- */
.faq{background:var(--light);color:var(--text)}
.faq-list{display:flex;flex-direction:column;gap:10px}
.faq-item{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.faq-q{all:unset;box-sizing:border-box;cursor:pointer;width:100%;min-height:60px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-weight:600;font-size:18px;color:var(--text)}
.faq-q:focus-visible{outline:3px solid var(--red);outline-offset:-3px}
.faq-q svg{width:22px;height:22px;flex:none;stroke:var(--red);stroke-width:2.6;stroke-linecap:round;fill:none;transition:transform .25s ease}
.faq-q[aria-expanded="true"] svg{transform:rotate(45deg)}
.faq-a{margin:0;padding:0 56px 20px 22px;color:var(--muted)}

/* ---------- contact / form ---------- */
.contact{background:var(--dark)}
.contact-box{display:flex;flex-wrap:wrap;box-shadow:0 20px 50px rgba(0,0,0,.4)}
.contact-side{flex:1 1 360px;min-width:0;background:linear-gradient(135deg,var(--red-light),var(--red-dark));padding:clamp(32px,4vw,52px);display:flex;flex-direction:column;gap:18px}
.contact-side .eyebrow{color:#fff}
.contact-side h2{font-weight:800;font-size:clamp(32px,3.2vw,44px);line-height:1.05}
.contact-side p{margin:0;color:#FFE9E9}
.contact-card{display:flex;flex-direction:column;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.3)}
.contact-card .who{font-weight:700;font-size:20px}
.contact-card .who span{font-weight:400;font-size:16px}
.contact-card a{color:#fff;text-decoration:none;font-size:18px;font-weight:600;word-break:break-word}
.contact-card a:hover{color:#fff;opacity:.85}
.btn-wa{display:inline-flex;align-self:flex-start;align-items:center;gap:10px;background:#fff;color:var(--text)!important;font-weight:700;font-size:15px!important;letter-spacing:.1em;padding:12px 20px;border-radius:3px}
.btn-wa svg{width:20px;height:20px;fill:#25A244}
.form-wrap{flex:2 1 480px;min-width:0;background:#fff;color:var(--text);padding:clamp(32px,4vw,52px)}
.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;letter-spacing:.04em;color:#333}
.form .full{grid-column:1/-1}
.form input,.form select,.form textarea{font-family:inherit;font-size:16px;color:var(--text);background:var(--light);border:1px solid #CFCFCF;border-radius:3px}
.form input,.form select{height:50px;padding:0 14px}
.form textarea{padding:12px 14px;resize:vertical;min-height:120px}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid var(--red);outline-offset:1px}
.form .consent{flex-direction:row;align-items:flex-start;gap:12px;font-weight:400;letter-spacing:0;color:var(--muted)}
.form .consent input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--red);flex:none}
.form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form button[type=submit]{width:100%;height:58px;font-size:17px}
.form button[disabled]{opacity:.6;cursor:wait}
.form-error{grid-column:1/-1;margin:0;padding:12px 14px;background:#FDECEC;border-left:4px solid var(--red);color:#7A0D10;font-size:15px}
.form-error[hidden]{display:none}

/* ---------- footer ---------- */
.site-footer{background:var(--black);border-top:1px solid rgba(255,255,255,.08)}
.site-footer .wrap{padding-top:26px;padding-bottom:26px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:22px}
.site-footer .logo-f{height:52px;width:auto}
.footer-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:15px}
.footer-nav a{text-decoration:none;color:#fff}
.footer-nav a:hover{color:var(--red-light)}
.footer-nav i{font-style:normal;color:#777}
.socials{display:flex;gap:18px}
.socials svg{width:22px;height:22px}
.tagline{display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-weight:500;font-size:13px;letter-spacing:.1em}
.tagline .rule{width:90px;height:2px}

/* ---------- mobile bar ---------- */
.mobile-bar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:30;gap:1px;background:#333}
.mobile-bar a{flex:1;height:58px;display:flex;align-items:center;justify-content:center;background:var(--dark);color:#fff;text-decoration:none;font-weight:700;letter-spacing:.08em}
.mobile-bar a.q{flex:1.3;background:var(--red)}

/* ---------- modal ---------- */
.modal{position:fixed;inset:0;z-index:50;background:rgba(8,8,10,.8);overflow-y:auto;padding:clamp(12px,3vw,40px)}
.modal[hidden]{display:none}
.modal-box{position:relative;max-width:1120px;margin:0 auto;background:#fff;color:var(--text);border-top:5px solid var(--red);display:flex;flex-wrap:wrap}
.modal-close{position:absolute;top:12px;right:12px;z-index:2;width:46px;height:46px;border-radius:50%;border:0;background:var(--text);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.modal-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;fill:none}
.modal-media{flex:1 1 460px;min-width:0;background:linear-gradient(180deg,#ECECEC,#DEDEDE);display:flex;flex-direction:column}
.modal-main{height:clamp(320px,50vw,540px);display:flex;align-items:center;justify-content:center;overflow:hidden}
.modal-main .img-contain{width:90%;height:90%}
.modal-main .img-cover{object-fit:contain}
.thumbs{display:flex;gap:10px;padding:0 16px 16px}
.thumbs button{width:84px;height:84px;padding:0;overflow:hidden;cursor:pointer;background:#D9D9D9;border:1px solid rgba(0,0,0,.2)}
.thumbs button[aria-current="true"]{border:3px solid var(--red)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.modal-info{flex:1 1 400px;min-width:0;padding:clamp(28px,4vw,46px);display:flex;flex-direction:column;gap:16px}
.modal-info h3{font-weight:800;font-size:clamp(34px,3.6vw,48px);line-height:1;text-transform:uppercase}
.modal-info .rule{width:70px}
.modal-info p{margin:0;color:#3F3F3F}
.feature-list{display:flex;flex-direction:column;gap:8px;font-weight:500}
.feature-list li::before{background:var(--red)}
.specs{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #E2E2E2}
.specs div{padding:12px 12px 12px 0;border-bottom:1px solid #E2E2E2}
.specs dt{font-size:12px;color:#6A6A6A;text-transform:uppercase;letter-spacing:.1em}
.specs dd{margin:2px 0 0;font-weight:700}
.modal-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
body.modal-open{overflow:hidden}

/* ---------- thank you page ---------- */
.thanks{min-height:60vh;display:flex;align-items:center;background:var(--light);color:var(--text)}
.thanks .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.thanks svg{width:64px;height:64px;stroke:var(--red);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.thanks h1{font-weight:800;font-size:clamp(34px,4vw,54px);line-height:1.05}
.thanks p{margin:0;font-size:18px;color:var(--muted);max-width:640px}

/* ---------- responsive ---------- */
@media (min-width:1100px){
  .about-text{clip-path:polygon(0 0,100% 0,90% 100%,0 100%)}
  .about-photo{clip-path:polygon(14% 0,100% 0,86% 100%,0 100%);margin:0 -70px}
  .about-contact{clip-path:polygon(12% 0,100% 0,100% 100%,0 100%);padding-left:110px}
}
@media (max-width:1400px){.nav{gap:28px}.logo img{height:62px}}
@media (max-width:1200px){.nav{gap:20px;font-size:14px}.header-cta{padding:12px 22px;font-size:15px}}
@media (max-width:960px){
  .nav{display:none}
  .hero-side,.hero-badge{display:none}
  .hero-img{left:0}
  .hero-fade{background:linear-gradient(180deg,rgba(20,20,21,.55) 0%,rgba(20,20,21,.92) 70%)}
}
@media (max-width:720px){
  .topbar .email{display:none}
  .mobile-bar{display:flex}
  body{padding-bottom:58px}
  .site-header .wrap{height:72px}
  .logo img{height:52px}
  .header-cta{font-size:14px;padding:11px 16px}
  .site-footer .wrap{flex-direction:column;align-items:flex-start}
  .tagline{align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
