/* =========================================================
   спецтехника27 — общий стиль сайта
   Токены: asphalt / steel / concrete / orange / yellow
   ========================================================= */
:root{
  --asphalt:#1C1D1B;
  --asphalt-soft:#262825;
  --steel:#4A4F54;
  --concrete:#E8E6E0;
  --concrete-white:#F7F6F3;
  --orange:#E85D25;
  --orange-dark:#C24A1B;
  --yellow:#F2B705;
  --white:#FFFFFF;
  --radius:2px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  color:var(--asphalt);
  background:var(--concrete-white);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Oswald', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.02em;
  line-height:1.08;
}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
:focus-visible{outline:3px solid var(--orange); outline-offset:2px;}

/* Hazard stripe divider — signature element */
.hazard{
  height:10px;
  background:repeating-linear-gradient(135deg,
    var(--asphalt) 0 18px,
    var(--yellow) 18px 36px);
}

/* ===== Header ===== */
header{
  background:var(--asphalt);
  color:var(--white);
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.logo{
  font-family:'Oswald', sans-serif;
  font-size:20px; font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.logo span{color:var(--orange);}
nav{display:flex; gap:28px;}
nav a{
  font-size:14px; font-weight:500;
  color:rgba(255,255,255,0.78);
  transition:color .15s;
}
nav a:hover{color:var(--white);}
.header-actions{display:flex; align-items:center; gap:14px;}
.phone-link{
  font-family:'IBM Plex Mono', monospace;
  font-size:15px; font-weight:600;
  color:var(--white);
  display:none;
}
@media(min-width:840px){ .phone-link{display:block;} }

/* ===== Mobile nav toggle ===== */
.nav-toggle{
  display:none;
  flex-direction:column; justify-content:space-between;
  width:26px; height:18px; padding:0;
  background:transparent; border:none; cursor:pointer;
  flex-shrink:0;
}
.nav-toggle span{
  display:block; width:100%; height:2px; background:var(--white);
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

@media(max-width:839px){
  .nav-toggle{display:flex;}
  header nav{
    position:absolute; top:72px; left:0; right:0;
    display:flex; flex-direction:column; gap:0;
    background:var(--asphalt);
    border-top:1px solid rgba(255,255,255,0.08);
    max-height:0; overflow:hidden;
    transition:max-height .25s ease;
  }
  header nav.open{ max-height:320px; }
  header nav a{
    padding:16px 24px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    font-size:15px;
  }
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 22px;
  font-size:14px; font-weight:600;
  border-radius:var(--radius);
  cursor:pointer; border:none;
  transition:transform .12s, background .15s;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}
.btn-primary{background:var(--orange); color:var(--white);}
.btn-primary:hover{background:var(--orange-dark);}
.btn-ghost{background:transparent; color:var(--white); border:1px solid rgba(255,255,255,0.35);}
.btn-ghost:hover{border-color:var(--white);}
.btn-wa{background:#2E9E5B; color:var(--white);}
.btn-wa:hover{background:#268049;}

/* ===== Breadcrumbs (equipment/service/district pages) ===== */
.breadcrumbs{
  background:var(--asphalt-soft);
  padding:14px 0;
}
.breadcrumbs .wrap{display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.breadcrumbs a, .breadcrumbs span{
  font-size:13px; color:rgba(255,255,255,0.55);
}
.breadcrumbs a:hover{color:var(--yellow);}
.breadcrumbs .sep{color:rgba(255,255,255,0.3);}
.breadcrumbs .current{color:var(--white);}

/* ===== Hero (shared shape, content differs per page) ===== */
.hero{
  background:var(--asphalt);
  color:var(--white);
  position:relative;
  overflow:hidden;
  padding:56px 0 0;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom, black, transparent 85%);
  pointer-events:none;
}
.hero-inner{position:relative; padding-bottom:48px;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:13px; font-weight:600;
  color:var(--yellow);
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin-bottom:18px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:28px; height:2px; background:var(--yellow); }
.hero h1{
  font-size:clamp(30px, 5vw, 52px);
  max-width:820px;
  margin-bottom:18px;
}
.hero h1 em{color:var(--orange); font-style:normal;}
.hero-sub{
  font-size:clamp(16px, 2vw, 18px);
  color:rgba(255,255,255,0.72);
  max-width:600px;
  margin-bottom:32px;
  font-weight:400;
}
.hero-ctas{display:flex; flex-wrap:wrap; gap:14px; margin-bottom:48px;}
.hero-ctas .btn{padding:15px 28px; font-size:15px;}

.specs{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  border-top:1px solid rgba(255,255,255,0.12);
}
@media(min-width:720px){ .specs{grid-template-columns:repeat(4, 1fr);} }
.spec{
  padding:22px 24px;
  border-right:1px solid rgba(255,255,255,0.12);
  border-bottom:1px solid rgba(255,255,255,0.12);
}
@media(min-width:720px){ .spec:nth-child(4){border-right:none;} .spec{border-bottom:none;} }
.spec-num{ font-family:'IBM Plex Mono', monospace; font-size:26px; font-weight:600; color:var(--yellow); display:block; }
.spec-label{ font-size:12.5px; color:rgba(255,255,255,0.6); margin-top:4px; }

/* ===== Section shell ===== */
section{padding:72px 0;}
.section-head{max-width:640px; margin-bottom:40px;}
.section-eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px; font-weight:600;
  color:var(--orange-dark);
  text-transform:uppercase;
  letter-spacing:0.08em;
  margin-bottom:10px;
  display:block;
}
.section-head h2{font-size:clamp(24px,3.2vw,34px);}
.section-head p{color:var(--steel); margin-top:14px; font-size:16px;}
.body-text{color:var(--steel); font-size:16px; max-width:760px;}
.body-text + .body-text{margin-top:14px;}

/* ===== Advantage / feature grid ===== */
.adv-grid{
  display:grid; grid-template-columns:1fr; gap:1px;
  background:rgba(0,0,0,0.08);
  border:1px solid rgba(0,0,0,0.08);
}
@media(min-width:640px){ .adv-grid{grid-template-columns:1fr 1fr;} }
@media(min-width:960px){ .adv-grid{grid-template-columns:repeat(3,1fr);} }
.adv-card{ background:var(--white); padding:26px 24px; }
.adv-card .mono{font-size:13px; color:var(--orange-dark); display:block; margin-bottom:12px;}
.adv-card h3{ font-family:'Inter',sans-serif; text-transform:none; font-size:16.5px; font-weight:700; margin-bottom:8px; letter-spacing:0; }
.adv-card p{font-size:14.5px; color:var(--steel);}

/* ===== Fleet grid (used on homepage + "related" on subpages) ===== */
.fleet{background:var(--asphalt-soft);}
.fleet .section-head p{color:rgba(255,255,255,0.6);}
.fleet .section-head h2{color:var(--white);}
.fleet .section-eyebrow{color:var(--yellow);}
.fleet-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media(min-width:640px){ .fleet-grid{grid-template-columns:repeat(3,1fr);} }
@media(min-width:960px){ .fleet-grid{grid-template-columns:repeat(4,1fr);} }
.fleet-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.1);
  padding:20px 18px;
  transition:background .15s, border-color .15s;
}
.fleet-card:hover{background:rgba(255,255,255,0.08); border-color:var(--orange);}
.fleet-card .mono{ font-size:11px; color:rgba(255,255,255,0.4); display:block; margin-bottom:10px; }
.fleet-card h3{ font-family:'Inter',sans-serif; text-transform:none; letter-spacing:0; color:var(--white); font-size:15.5px; font-weight:600; margin-bottom:10px; }
.fleet-card .link{font-size:13px; color:var(--yellow); font-weight:600;}

/* ===== Steps ===== */
.steps{ display:grid; grid-template-columns:1fr; gap:0; }
@media(min-width:760px){ .steps{grid-template-columns:repeat(4,1fr);} }
.step{ position:relative; border-left:2px solid var(--concrete); padding-left:22px; padding-bottom:32px; }
@media(min-width:760px){ .step{border-left:none; border-top:2px solid var(--concrete); padding-left:0; padding-top:22px; padding-bottom:0;} }
.step-num{ font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:600; color:var(--orange); display:block; margin-bottom:8px; }
.step h3{ font-family:'Inter',sans-serif; text-transform:none; letter-spacing:0; font-size:16.5px; font-weight:700; margin-bottom:6px; }
.step p{font-size:14px; color:var(--steel);}

/* ===== Spec / price table (equipment pages) ===== */
.spec-table{width:100%; border-collapse:collapse; background:var(--white); border:1px solid rgba(0,0,0,0.08);}
.spec-table th, .spec-table td{ text-align:left; padding:14px 18px; font-size:14.5px; border-bottom:1px solid rgba(0,0,0,0.08); }
.spec-table th{
  font-family:'IBM Plex Mono', monospace; font-size:12px; text-transform:uppercase;
  letter-spacing:0.04em; color:var(--steel); background:var(--concrete);
}
.spec-table td.price{font-family:'IBM Plex Mono', monospace; font-weight:600; color:var(--orange-dark);}
.spec-table tr:last-child td{border-bottom:none;}
.table-scroll{overflow-x:auto; -webkit-overflow-scrolling:touch;}
.table-note{font-size:13px; color:var(--steel); margin-top:12px;}

/* ===== Use-case list (для каких работ) ===== */
.use-list{list-style:none; display:grid; gap:10px; margin-top:6px;}
.use-list li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:15px; color:var(--asphalt);
  padding:14px 16px; background:var(--white); border:1px solid rgba(0,0,0,0.08);
}
.use-list li::before{
  content:""; width:8px; height:8px; margin-top:6px; flex-shrink:0;
  background:var(--orange);
}

/* ===== FAQ accordion ===== */
.faq{max-width:760px;}
.faq-item{border-bottom:1px solid rgba(0,0,0,0.1);}
.faq-item summary{
  list-style:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 4px; font-weight:600; font-size:15.5px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+"; font-family:'IBM Plex Mono',monospace; font-size:20px; color:var(--orange); flex-shrink:0; margin-left:16px;
}
.faq-item[open] summary::after{content:"–";}
.faq-item p{ padding:0 4px 18px; color:var(--steel); font-size:14.5px; max-width:640px; }

/* ===== Related pages (перелинковка) ===== */
.related-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
@media(min-width:640px){ .related-grid{grid-template-columns:repeat(3,1fr);} }
.related-card{
  display:block; padding:18px; background:var(--white);
  border:1px solid rgba(0,0,0,0.08); font-size:14.5px; font-weight:600;
  transition:border-color .15s, transform .12s;
}
.related-card:hover{border-color:var(--orange); transform:translateY(-1px);}
.related-card .mono{ display:block; font-size:11px; font-weight:500; color:var(--steel); margin-bottom:8px; }

/* ===== Request form section ===== */
.request{background:var(--concrete);}
.request-grid{ display:grid; grid-template-columns:1fr; gap:40px; }
@media(min-width:900px){ .request-grid{grid-template-columns:1fr 1fr;} }
.request-copy h2{font-size:clamp(24px,3.2vw,34px); margin-bottom:16px;}
.request-copy p{color:var(--steel); font-size:16px; margin-bottom:24px; max-width:440px;}
.request-copy .phone-big{ font-family:'IBM Plex Mono', monospace; font-size:24px; font-weight:600; display:block; margin-bottom:6px; }
.request-copy .phone-note{font-size:13px; color:var(--steel);}
form{ background:var(--white); padding:32px; border:1px solid rgba(0,0,0,0.08); }
.field{margin-bottom:16px;}
.field label{display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--asphalt);}
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1px solid #D6D3CC; border-radius:var(--radius);
  font-family:'Inter',sans-serif; font-size:14.5px; background:var(--concrete-white);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:2px solid var(--orange); outline-offset:1px; border-color:var(--orange);
}
form .btn-primary{width:100%; padding:15px; font-size:15px; margin-top:6px;}
.form-divider{ display:flex; align-items:center; gap:12px; margin:18px 0 4px; color:var(--steel); font-size:13px; }
.form-divider::before, .form-divider::after{content:""; flex:1; height:1px; background:#D6D3CC;}
.btn-wa-full{width:100%; padding:14px;}
.form-note{font-size:12px; color:var(--steel); margin-top:14px; text-align:center;}

/* ===== Footer ===== */
footer{background:var(--asphalt); color:rgba(255,255,255,0.6); padding:52px 0 28px;}
.footer-grid{ display:grid; grid-template-columns:1fr; gap:36px; margin-bottom:40px; }
@media(min-width:760px){ .footer-grid{grid-template-columns:1.4fr 1fr 1fr;} }
.footer-grid h4{
  font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:14px;
  color:var(--white); letter-spacing:0.05em; margin-bottom:14px;
}
.footer-links{display:flex; flex-direction:column; gap:9px;}
.footer-links a{font-size:14px; transition:color .15s;}
.footer-links a:hover{color:var(--white);}
.footer-logo{
  font-family:'Oswald', sans-serif; font-size:19px; font-weight:600;
  color:var(--white); text-transform:uppercase; margin-bottom:14px; display:block;
}
.footer-logo span{color:var(--orange);}
.footer-about{font-size:14px; max-width:320px; margin-bottom:16px;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1); padding-top:22px; font-size:12.5px;
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px;
}
