/* ============================================================
   JCBTECH — modern dark landing
   ============================================================ */

/* ============ TOKENS ============ */
:root{
  --yellow: #FDC800;
  --yellow-soft: rgba(253,200,0,.12);
  --yellow-line: rgba(253,200,0,.35);
  --bg: #0B0B0D;
  --surface: #15161A;
  --surface-2: #1C1D23;
  --input: #101114;
  --text: #F5F5F2;
  --muted: rgba(255,255,255,.62);
  --muted-2: rgba(255,255,255,.45);
  --line: rgba(255,255,255,.09);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.55);
  --ease: cubic-bezier(.22,.9,.28,1);
  --ff-head: 'Barlow Condensed', 'Manrope', sans-serif;
  --ff-body: 'Manrope', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
h1,h2,h3,h4{
  font-family: var(--ff-head); font-weight:800; line-height:.98;
  margin:0; letter-spacing:.01em; text-transform:uppercase;
}
p{ margin:0; }
::selection{ background: var(--yellow); color: #000; }

/* film grain */
body::after{
  content:''; position:fixed; inset:-50%; z-index:2000; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity:.05;
  animation: grain 9s steps(10) infinite;
}
@keyframes grain{
  0%,100%{ transform:translate(0,0); } 10%{ transform:translate(-4%,-6%); }
  30%{ transform:translate(5%,3%); } 50%{ transform:translate(-6%,5%); }
  70%{ transform:translate(4%,-4%); } 90%{ transform:translate(-3%,4%); }
}

/* custom scrollbar */
::-webkit-scrollbar{ width:11px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background:#2b2c33; border-radius:8px; border:3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover{ background: var(--yellow); }

:focus-visible{ outline:2px solid var(--yellow); outline-offset:3px; border-radius:4px; }

.container{
  width:100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ PROGRESS BAR ============ */
.progress-bar{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background: linear-gradient(90deg, var(--yellow), #fff2b8);
  z-index: 9999;
  transition: width .1s linear;
}

/* ============ REVEAL ANIMATION ============ */
[data-reveal]{
  opacity:0;
  transform: translateY(34px) scale(.985);
  filter: blur(4px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
[data-reveal].is-visible{
  opacity:1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight:800;
  font-size: 15px;
  letter-spacing:.02em;
  white-space:nowrap;
  position:relative;
  overflow:hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg{ transition: transform .3s var(--ease); }
.btn--primary{
  background: var(--yellow);
  color: #000;
  box-shadow: 0 10px 30px -10px rgba(253,200,0,.55);
}
.btn--primary::after{
  content:''; position:absolute; top:0; left:-80%; width:50%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .55s var(--ease);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(253,200,0,.75); }
.btn--primary:hover::after{ left: 130%; }
.btn--primary:hover svg{ transform: translateX(4px); }
.btn--ghost{
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,.22);
}
.btn--ghost:hover{ border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn--lg{ padding: 18px 34px; font-size:17px; }
.btn--sm{
  padding: 10px 20px; font-size: 13px;
  border:1.5px solid rgba(255,255,255,.2); border-radius:100px; color: var(--text);
}
.btn--sm:hover{ background: var(--yellow); border-color: var(--yellow); color:#000; }
.btn--block{ width:100%; }

/* ============ HEADER ============ */
.header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled{
  padding: 10px 0;
  background: rgba(11,11,13,.78);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px -16px rgba(0,0,0,.6);
}
.header__inner{ display:flex; align-items:center; justify-content:space-between; gap: 24px; }

.logo{ display:flex; align-items:center; gap:12px; }
.logo__box{
  background: var(--yellow); color:#000;
  font-family: var(--ff-head); font-weight:800; font-size:25px;
  width:54px; height:46px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  letter-spacing:-0.5px;
  transition: transform .3s var(--ease);
}
.logo:hover .logo__box{ transform: rotate(-5deg) scale(1.04); }
.logo__text{ font-family: var(--ff-head); font-weight:700; font-size:25px; color:var(--text); letter-spacing:.06em; }
.logo__text em{ font-style:normal; color: var(--yellow); }

.nav__list{ display:flex; gap: 34px; }
.nav__list a{
  color: var(--muted); font-weight:600; font-size:17px;
  position:relative; padding: 6px 0;
  transition: color .25s;
}
.nav__list a::after{
  content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: var(--yellow); transition: width .3s var(--ease);
}
.nav__list a:hover, .nav__list a.active{ color:var(--text); }
.nav__list a:hover::after, .nav__list a.active::after{ width:100%; }

.header__actions{ display:flex; align-items:center; gap: 18px; }
.header__phone{
  display:flex; align-items:center; gap:8px;
  color:var(--text); font-weight:700; font-size:17px;
  transition: color .25s;
}
.header__phone:hover{ color: var(--yellow); }
.header__phone svg{ color: var(--yellow); }

.header__phones{ display:flex; flex-direction:column; gap:2px; }
.header__phone--second{ color: var(--muted); }
.header__phone--second:hover{ color: var(--yellow); }

.burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 42px; height: 42px;
  position: relative; z-index: 460;
}
.burger span{ width:24px; height:2px; background:var(--text); margin:0 auto; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.burger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2){ opacity:0; }
.burger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex; align-items:center;
  padding: 150px 0 90px;
  background: radial-gradient(120% 120% at 15% 0%, #1c1d22 0%, var(--black) 55%);
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:-12% 0;
  background-image: linear-gradient(180deg, rgba(11,11,13,.9) 0%, rgba(11,11,13,.62) 45%, rgba(11,11,13,.92) 100%), url('../img/hero-bg.webp');
  background-size:cover; background-position: 50% 38%;
  will-change: transform;
}
.hero__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 34%, #000 15%, transparent 78%);
  mask-image: radial-gradient(75% 60% at 50% 34%, #000 15%, transparent 78%);
}
.hero__glow{
  position:absolute; top:-14%; right:-8%;
  width: 680px; height: 680px; border-radius:50%;
  background: radial-gradient(circle, rgba(253,200,0,.22), transparent 62%);
  filter: blur(14px);
  animation: floatGlow 10s ease-in-out infinite;
}
@keyframes floatGlow{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-40px, 44px) scale(1.1); }
}

.hero__inner{
  position:relative; z-index:2;
  display:grid; grid-template-columns: 1fr;
  gap: 40px; align-items:center;
}
.hero__text{ display:flex; flex-direction:column; align-items:center; text-align:center; }

.badge{
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(253,200,0,.1); color: var(--yellow);
  border: 1px solid var(--yellow-line);
  backdrop-filter: blur(8px);
  padding: 10px 22px; border-radius: 100px;
  font-size: 17px; font-weight:700; margin-bottom: 30px;
}
.badge::before{
  content:''; width:9px; height:9px; border-radius:50%; background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(253,200,0,.22);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot{
  0%,100%{ box-shadow: 0 0 0 3px rgba(253,200,0,.3); }
  50%{ box-shadow: 0 0 0 8px rgba(253,200,0,0); }
}

.hero__title{
  color:var(--text);
  font-size: clamp(56px, 8vw, 118px);
  margin-bottom: 30px;
  text-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.text-accent{
  color: var(--yellow); position:relative;
  text-shadow: 0 0 42px rgba(253,200,0,.4);
}

.hero__desc{
  color: var(--muted); font-size: 24px; line-height:1.55; font-weight:500;
  max-width: 880px; margin: 0 auto 44px;
}
.hero__actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-bottom: 60px; }
.hero__actions .btn--ghost{ backdrop-filter: blur(8px); }

.hero__stats{ display:flex; gap: 20px; flex-wrap:wrap; justify-content:center; width:100%; }
.stat{
  display:flex; flex-direction:column; align-items:center; text-align:center; flex:1; min-width: 200px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm); padding: 24px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.stat:hover{ background: rgba(253,200,0,.09); border-color: var(--yellow-line); transform: translateY(-4px); }
.stat__num{ font-family: var(--ff-head); font-size: 34px; color:var(--text); font-weight:800; line-height:1.1; text-transform:uppercase; }
.stat__label{ display:block; color: var(--muted-2); font-size: 26px; margin-top:6px; }

.scroll-cue{
  position:absolute; bottom: 28px; left:50%; transform:translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.28); border-radius: 20px;
  z-index:2;
  transition: border-color .3s;
}
.scroll-cue:hover{ border-color: var(--yellow); }
.scroll-cue span{
  position:absolute; top:8px; left:50%; transform:translateX(-50%);
  width:4px; height:9px; border-radius:2px; background: var(--yellow);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue{
  0%{ opacity:1; top:8px; }
  70%{ opacity:0; }
  100%{ opacity:0; top:24px; }
}

/* ============ YELLOW TAPE MARQUEE ============ */
.tape{
  background: var(--yellow);
  overflow:hidden;
  padding: 20px 0;
  position:relative; z-index:3;
}
.tape__track{
  display:flex; gap: 0; width:max-content;
  animation: tapeMove 28s linear infinite;
}
.tape__track span{
  font-family: var(--ff-head); font-weight:800; font-size: 30px;
  color:#000; text-transform:uppercase; letter-spacing:.04em;
  white-space:nowrap; padding-right: 24px;
}
@keyframes tapeMove{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ============ SECTION HEAD ============ */
.section-head{ max-width: 680px; margin: 0 0 56px; }
.section-head--center{ max-width: none; margin-left:auto; margin-right:auto; text-align:center; }
.section-head--center .section-sub{ margin-left:auto; margin-right:auto; max-width: 620px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color: var(--yellow); background: var(--yellow-soft);
  border: 1px solid rgba(253,200,0,.25);
  padding: 7px 16px; border-radius:100px; font-size:13.5px; font-weight:800;
  text-transform:uppercase; letter-spacing:.08em; margin-bottom: 18px;
}
.section-title{ font-size: clamp(38px, 4.6vw, 64px); margin-bottom: 16px; color: var(--text); }
.section-title--light{ color:var(--text); }
.section-sub{ color: var(--muted); font-size: 17.5px; line-height:1.6; }

/* ============ SERVICES ============ */
.process{
  padding: 110px 0;
  position:relative; overflow:hidden;
  border-bottom: 1px solid var(--line);
}
.process::before{
  content:''; position:absolute; top:-24%; left:50%; transform:translateX(-50%);
  width: 1000px; height:520px; background: radial-gradient(circle, rgba(253,200,0,.14), transparent 65%);
  pointer-events:none; z-index:1;
}
.process__bg{
  position:absolute; inset:-15% 0; z-index:0;
  background-image: url('../img/services-bg.webp');
  background-position:center; background-size:cover; background-repeat:no-repeat;
  will-change: transform;
}
.process__overlay{
  position:absolute; inset:0; z-index:0;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
  opacity:.88;
}
.process .container{ position:relative; z-index:2; }

.services-grid{
  position:relative; display:grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.service-item{
  display:flex; align-items:center; gap:16px;
  background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-item:hover{
  background: linear-gradient(155deg, rgba(253,200,0,.15), rgba(253,200,0,.04));
  border-color: var(--yellow-line); transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,.65);
}
.service-item__icon{
  flex-shrink:0; width:48px; height:48px; border-radius: 13px;
  background: var(--yellow-soft); color: var(--yellow);
  display:flex; align-items:center; justify-content:center;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.service-item:hover .service-item__icon{ background: var(--yellow); color: #000; transform: rotate(-6deg) scale(1.06); }
.service-item span:last-child{ color: rgba(255,255,255,.92); font-size: 15.5px; font-weight:600; line-height:1.4; }

/* ============ EQUIPMENT ============ */
.equipment{ padding: 110px 0; background: var(--bg); border-bottom: 1px solid var(--line); }

.tabs{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom: 48px; }
.tab{
  padding: 12px 24px; border-radius: 100px; font-weight:700; font-size:14.5px;
  background: var(--surface); color: var(--muted); border:1px solid var(--line);
  transition: all .3s var(--ease);
}
.tab:hover{ color: var(--text); border-color: rgba(255,255,255,.3); transform: translateY(-1px); }
.tab.active{ background: var(--yellow); color: #000; border-color: var(--yellow); box-shadow: 0 8px 22px -8px rgba(253,200,0,.5); }

.equip-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.equip-card{
  background: var(--surface); border-radius: var(--radius); overflow:hidden;
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  display:flex; flex-direction:column;
}
.equip-card.filtered-out{ display:none; }
.equip-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(253,200,0,.28); }
.equip-card__media{
  position:relative; aspect-ratio: 4/3; background:#F2F2EE;
  overflow:hidden;
}
.equip-card__media::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,.16));
  pointer-events:none;
}
.equip-card__media img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .55s var(--ease);
}
.equip-card:hover .equip-card__media img{ transform: scale(1.07); }
.equip-card__badge{
  position:absolute; top:14px; left:14px; z-index:2;
  background: var(--yellow); color:#000; font-size:11.5px; font-weight:800;
  padding:6px 13px; border-radius:100px; text-transform:uppercase; letter-spacing:.05em;
}
.equip-card__body{ padding: 26px; display:flex; flex-direction:column; gap:12px; flex:1; }
.equip-card__body h3{ font-size: 30px; color: var(--text); }
.equip-card__desc{ color: var(--muted); font-size:14.5px; line-height:1.55; }
.equip-card__specs{ display:flex; flex-direction:column; gap:7px; margin: 6px 0 10px; }
.equip-card__specs li{
  font-size:13.5px; color: var(--muted); display:flex; justify-content:space-between; gap:10px;
  border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom:7px;
}
.equip-card__specs li b{ color: var(--text); font-weight:700; }
.equip-card__foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top: 8px; }
.price{ font-family: var(--ff-head); font-size: 19px; font-weight:800; color: var(--yellow); text-transform:uppercase; letter-spacing:.02em; }
.price i{ font-style:normal; color:var(--muted-2); font-size:13px; font-weight:600; }

/* ============ WHY (BENTO) ============ */
.why{ padding: 110px 0; background: linear-gradient(200deg, var(--surface) 0%, var(--bg) 90%); border-bottom: 1px solid var(--line); }
.why-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 18px;
  counter-reset: why;
}
.why-card{
  position:relative;
  background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  overflow:hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  counter-increment: why;
}
.why-card::after{
  content: counter(why, decimal-leading-zero);
  position:absolute; top: 18px; right: 24px;
  font-family: var(--ff-head); font-weight:800; font-size: 58px; line-height:1;
  color: transparent; -webkit-text-stroke: 1.3px rgba(255,255,255,.14);
  transition: -webkit-text-stroke-color .4s;
}
.why-card:hover{ transform: translateY(-6px); border-color: var(--yellow-line); background: linear-gradient(155deg, rgba(253,200,0,.1), rgba(253,200,0,.02)); }
.why-card:hover::after{ -webkit-text-stroke-color: rgba(253,200,0,.5); }
.why-card:nth-child(1){ grid-column: span 2; }
.why-card:nth-child(4){ grid-column: span 2; }
.why-card__icon{
  width: 58px; height:58px; border-radius: 15px;
  background: var(--yellow); color: #000;
  display:flex; align-items:center; justify-content:center; margin-bottom: 20px;
  transition: transform .4s var(--ease);
}
.why-card:hover .why-card__icon{ transform: rotate(-8deg) scale(1.07); }
.why-card h3{ font-size: 26px; margin-bottom: 10px; color: var(--text); }
.why-card p{ color: var(--muted); font-size: 15.5px; line-height:1.6; max-width: 480px; }

/* ============ GALLERY ============ */
.gallery{ padding: 110px 0 120px; background: var(--bg); overflow:hidden; border-bottom: 1px solid var(--line); }
.gallery__track-wrap{ overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery__track{
  display:flex; gap: 22px; width: max-content;
  animation: marquee 36s linear infinite;
}
.gallery__track-wrap:hover .gallery__track{ animation-play-state: paused; }
.gallery__item{
  width: 420px; aspect-ratio: 4/3; border-radius: var(--radius); overflow:hidden;
  flex-shrink:0; position:relative;
  border: 1px solid var(--line);
}
.gallery__item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .55s var(--ease);
}
.gallery__item:hover img{ transform: scale(1.07); }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ============ CTA BAND ============ */
.cta-band{ background: var(--yellow); padding: 84px 0; position:relative; overflow:hidden; }
.cta-band::before{
  content:'JCB'; position:absolute; right:-2%; top:50%; transform:translateY(-50%);
  font-family: var(--ff-head); font-weight:800; font-size: 360px; line-height:1;
  color: transparent; -webkit-text-stroke: 2px rgba(0,0,0,.1);
  pointer-events:none;
}
.cta-band__inner{ position:relative; display:flex; align-items:center; justify-content:space-between; gap: 36px; flex-wrap:wrap; }
.cta-band h2{ font-size: clamp(36px,4.6vw,64px); color: #000; margin-bottom:10px; }
.cta-band p{ color: rgba(0,0,0,.68); font-size:18px; font-weight:600; max-width: 560px; }
.cta-band__phones{ display:flex; align-items:baseline; gap:22px; flex-wrap:wrap; margin-top: 18px; }
.cta-band__phone{
  display:block; font-family: var(--ff-head); font-weight:800;
  font-size: clamp(30px, 3.4vw, 48px); color: #000;
  letter-spacing:.01em;
  transition: opacity .25s;
}
.cta-band__phone--second{ font-size: clamp(20px, 2.2vw, 30px); }
.cta-band__phone:hover{ opacity:.7; }
.cta-band .btn--primary{ background: #000; color:#fff; box-shadow:none; }
.cta-band .btn--primary:hover{ background:#1c1c1c; box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }

/* ============ CONTACTS ============ */
.contacts{ padding: 120px 0; background: var(--bg); }
.contacts__inner{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:start; }
.contacts__list{ display:flex; flex-direction:column; gap: 20px; margin-top: 32px; }
.contacts__list li{ display:flex; align-items:center; gap:14px; font-weight:700; font-size:18px; color: var(--text); }
.contacts__list li a{ transition: color .25s; }
.contacts__list li a:hover{ color: var(--yellow); }
.contacts__list svg{ color: var(--yellow); flex-shrink:0; }

.contacts__form{
  background: var(--surface-2); padding: 42px; border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display:flex; flex-direction:column; gap: 20px;
}
.contacts__form h3{ font-size: 28px; margin-bottom:4px; color: var(--text); }
.contacts__note{ font-size:12.5px; color: var(--muted-2); text-align:center; }

.field{ position:relative; }
.field input, .field select{
  width:100%; padding: 17px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.14); font-size: 15px; font-family:inherit;
  background: var(--input); color: var(--text);
  transition: border-color .25s, background .25s;
}
.field select{ color: var(--muted); appearance:none; }
.field input:focus, .field select:focus{ outline:none; border-color: var(--yellow); background:#14151a; }
.field label{
  position:absolute; left:16px; top:17px; color: var(--muted-2); font-size:15px;
  pointer-events:none; transition: all .2s var(--ease); background: var(--input); padding: 0 6px; border-radius:4px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label{
  top:-9px; font-size: 12px; color: var(--yellow); font-weight:700;
}

/* ============ FOOTER ============ */
.footer{ background: var(--bg); border-top: 1px solid var(--line); padding: 44px 0; }
.footer__inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: 22px; }
.footer__nav{ display:flex; gap: 28px; flex-wrap:wrap; }
.footer__nav a{ color: var(--muted); font-size:15px; font-weight:600; transition:color .25s; }
.footer__nav a:hover{ color: var(--yellow); }
.footer__copy{ color: var(--muted-2); font-size:13px; }

/* ============ FAB ============ */
.fab{
  position: fixed; right: 26px; z-index: 400;
  width: 56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.fab--call{ bottom: 26px; background: var(--yellow); color: #000; animation: pulse 2.4s ease-in-out infinite; }
.fab--call:hover{ transform: scale(1.1); }
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(253,200,0,.5), 0 14px 30px -10px rgba(0,0,0,.5); }
  50%{ box-shadow: 0 0 0 14px rgba(253,200,0,0), 0 14px 30px -10px rgba(0,0,0,.5); }
}
.fab--top{
  bottom: 94px; background: var(--surface-2); color:var(--text); border:1px solid var(--line);
  opacity:0; pointer-events:none; transform: translateY(10px);
}
.fab--top.visible{ opacity:1; pointer-events:auto; transform: translateY(0); }
.fab--top:hover{ background: var(--yellow); color:#000; }

/* ============ MODAL ============ */
.modal{
  position:fixed; inset:0; z-index: 1000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition: opacity .3s var(--ease);
  padding: 20px;
}
.modal.active{ opacity:1; pointer-events:auto; }
.modal__overlay{ position:absolute; inset:0; background: rgba(5,5,6,.72); backdrop-filter: blur(6px); }
.modal__box{
  position:relative; background: var(--surface-2); border:1px solid var(--line);
  border-radius: 24px; padding: 42px;
  width: 100%; max-width: 460px;
  transform: translateY(26px) scale(.96); transition: transform .35s var(--ease);
  box-shadow: 0 46px 90px -22px rgba(0,0,0,.7);
}
.modal.active .modal__box{ transform: translateY(0) scale(1); }
.modal__box h3{ font-size: 30px; margin-bottom:8px; color: var(--text); }
.modal__sub{ color: var(--muted); font-size:14.5px; margin-bottom: 24px; }
.modal__close{
  position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,.07); font-size:22px; line-height:1; color: var(--muted);
  display:flex; align-items:center; justify-content:center; transition: all .25s;
}
.modal__close:hover{ background: var(--yellow); color: #000; transform: rotate(90deg); }
#modalForm{ display:flex; flex-direction:column; gap:18px; }
.modal__success{ display:none; flex-direction:column; align-items:center; gap:14px; text-align:center; padding: 20px 0; color: var(--text); }
.modal__success svg{ color: var(--yellow); }
.modal.success #modalForm{ display:none; }
.modal.success .modal__sub{ display:none; }
.modal.success .modal__success{ display:flex; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px){
  .equip-grid{ grid-template-columns: repeat(2,1fr); }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid{ grid-template-columns: repeat(2,1fr); }
  .why-card:nth-child(1), .why-card:nth-child(4){ grid-column: span 2; }
  .cta-band::before{ font-size: 240px; }
  .cta-band__phones{ flex-direction:column; align-items:flex-start; gap:6px; }
}

@media (max-width: 960px){
  .contacts__inner{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav{
    position: fixed; top: 0; right: 0; height:100vh; width: min(330px, 84vw);
    background: var(--surface); border-left:1px solid var(--line);
    padding: 110px 32px 32px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    z-index: 450;
  }
  .nav.open{ transform: translateX(0); }
  .nav__list{ flex-direction:column; gap: 4px; }
  .nav__list a{ display:block; padding: 15px 0; font-size:19px; border-bottom:1px solid var(--line); }
  .header__phone{ display:none; }
  .burger{ display:flex; }
  .header__actions .btn--primary{ display:none; }
  .tape__track span{ font-size: 24px; }
  .gallery__item{ width: 330px; }
}

@media (max-width: 760px){
  .equip-grid{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .why-card:nth-child(1), .why-card:nth-child(4){ grid-column: auto; }
  .cta-band__inner{ flex-direction:column; align-items:flex-start; }
  .cta-band::before{ display:none; }
  .hero{ padding-top: 130px; }
  .hero__stats{ gap: 14px; }
  .badge{ display:none; }
}

@media (max-width: 560px){
  .container{ padding: 0 18px; }
  .hero__title{ font-size: clamp(38px, 12.6vw, 56px); }
  .hero__actions{ flex-direction:column; width:100%; }
  .hero__actions .btn{ width:100%; }
  .hero__desc{ font-size: 19px; }
  .modal__box{ padding: 32px 22px; }
  .stat__num{ font-size: 28px; }
  .gallery__item{ width: 280px; }
  .contacts__form{ padding: 30px 22px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html{ scroll-behavior:auto; }
  body::after{ animation:none; }
}
