:root{
  --bg: #060b12;
  --bg2:#0b1320;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.60);
  --brand: #8EC48E;
  --brand2:#78b77c;
  --line: rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
  --max: 1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(142,196,142,.14), transparent 55%),
              radial-gradient(900px 600px at 100% 15%, rgba(142,196,142,.10), transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* PRELOADER */
.preloader{
  position:fixed;
  inset:0;
  background: radial-gradient(900px 600px at 20% 10%, rgba(142,196,142,.14), transparent 60%),
              radial-gradient(900px 600px at 90% 15%, rgba(142,196,142,.10), transparent 62%),
              linear-gradient(180deg, #050a12 0%, #060b12 100%);
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}
.preloader-inner{
  width: min(420px, 100%);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  padding: 22px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
  text-align:center;
}
.preloader-logo{
  width: 170px;
  height: auto;
  opacity: .95;
}
.preloader-spinner{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.16);
  border-top-color: rgba(142,196,142,.95);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {to {transform: rotate(360deg)}}
.preloader-text{
  color: rgba(255,255,255,.72);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
}
.preloader--hide{
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .45s cubic-bezier(0.16, 1, 0.3, 1), transform .45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events:none;
}

.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:3px; z-index:9999;
  background: rgba(255,255,255,.06);
}
.scroll-progress span{
  display:block; height:100%; width:0%;
  background: linear-gradient(90deg, var(--brand), rgba(142,196,142,.4));
  transition: width 0.1s ease-out;
}

/* --- ХЕДЕР: СПРАВЖНЄ СКЛО --- */
.site-header {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 2000;
  background: rgba(6, 11, 18, 0.25); 
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.15), rgba(255,255,255,0));
  pointer-events: none;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.brand img {
  height: 40px; 
  width: auto; 
  transition: transform 0.3s ease;
  /* Цей фільтр  перетворює темний логотип на  білий */
  filter: brightness(0) invert(1); 
}
.brand:hover img { transform: scale(1.03); }
.brand:hover img { transform: scale(1.03); }

.nav{display:flex; align-items:center; gap:18px; position:relative}
.nav-list{
  display:flex; align-items:center; gap:22px;
  padding:0; margin:0; list-style:none;
}
.nav-link{
  font-weight:600;
  font-size:14px;
  color: var(--text);
  padding:10px 10px;
  border-radius:12px;
  transition: background .3s ease, color .3s ease, transform .2s ease;
}
.nav-link:hover{background: rgba(255,255,255,.1); transform: translateY(-1px);}
.header-cta{display:inline-flex}

.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  align-items:center; justify-content:center;
  gap:5px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-toggle:active { transform: scale(0.95); }
.nav-toggle span{
  width:18px; height:2px; border-radius:2px;
  background: rgba(255,255,255,.75);
  display:block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-list.open ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-list.open ~ .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-list.open ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(0.2, 0.8, 0.2, 1), background .3s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease;
  will-change: transform;
}
.btn:active{transform: translateY(1px) scale(0.98)}

@keyframes buttonPulse {
  0% { box-shadow: 0 8px 25px rgba(142,196,142,.15), inset 0 1px 1px rgba(255,255,255,.3); }
  50% { box-shadow: 0 12px 35px rgba(142,196,142,.45), inset 0 1px 1px rgba(255,255,255,.5); }
  100% { box-shadow: 0 8px 25px rgba(142,196,142,.15), inset 0 1px 1px rgba(255,255,255,.3); }
}

.btn-primary{
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand2) 100%);
  color: #0b1410;
  animation: buttonPulse 3s infinite;
}
.btn-primary:hover{
  filter: brightness(1.05);
  animation: none;
  box-shadow: 0 16px 40px rgba(142,196,142,.5), inset 0 1px 1px rgba(255,255,255,.4);
  transform: translateY(-2px);
}

.btn-ghost{
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}
.w100{width:100%}


.hero{
  position:relative;
  min-height: 100vh;
  padding: 110px 0 40px; 
  display:flex;
  align-items:center;
  overflow: hidden;
}
.hero-bg{
  position:absolute; inset:-10%;
  background:
    radial-gradient(900px 600px at 25% 15%, rgba(142,196,142,.25), transparent 62%),
    radial-gradient(900px 600px at 80% 20%, rgba(142,196,142,.15), transparent 60%),
    linear-gradient(180deg, rgba(6,11,18,.10), rgba(6,11,18,.50)),
    url("title.black.webp");
  background-size: cover;
  background-position:center;
  filter: brightness(1.2) saturate(1.05) contrast(1.02);
  transform: scale(1.05);
  z-index:-2;
  will-change: transform;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,11,18,.10), rgba(6,11,18,.75));
  z-index:-1;
  pointer-events: none;
}

/* Пушинки кульбаби */
.dandelion-seed {
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(142, 196, 142, 0.6);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: floatSeed linear infinite;
  will-change: transform, opacity;
}
@keyframes floatSeed {
  0% { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: translateY(-50vh) translateX(30px) scale(1.2); opacity: 0.8; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-120vh) translateX(-30px) scale(0.8); opacity: 0; }
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  z-index: 1;
}

.badge{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  transition: background 0.3s ease;
}
.badge:hover { background: rgba(255,255,255,.1); }

.hero-copy h1{
  margin: 20px 0 18px;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.lead{
  margin: 0 0 28px;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  font-size: 18px;
  max-width: 54ch;
}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin: 8px 0 24px}

.trust{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.trust-item{
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}
.trust-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.08);
}
.trust-title{display:block; font-weight:900; letter-spacing:-0.01em}
.trust-sub{display:block; margin-top:3px; color: var(--muted2); font-size: 13px; line-height: 1.35}

.hero-card{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(0,0,0,.55);
}
.hero-card-top{padding: 22px 22px 10px}
.hero-card-top h2{margin:0 0 6px; font-size: 18px}
.hero-card-top p{margin:0; color: var(--muted); line-height:1.6}
.hero-card-actions{display:grid; gap:10px; padding: 14px 22px 18px}
.hero-card-meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.08);
}
.meta-label{display:block; color: var(--muted2); font-size: 12px}
.meta-value{display:block; font-weight: 800; margin-top: 2px}

/* scroll cue */
.scroll-cue{
  position:absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 38px; height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  display:flex; align-items:flex-start; justify-content:center;
  padding-top: 10px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.scroll-cue:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
}
.scroll-cue span{
  width: 6px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.7);
  animation: cue 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue{
  0%{transform: translateY(0); opacity:.45}
  50%{transform: translateY(16px); opacity:1}
  100%{transform: translateY(0); opacity:.45}
}


.band{padding: 70px 0}
.band-inner{
  max-width: 900px;
  margin: 0 auto;
  text-align:center;
}
.band h2{
  margin:0 0 10px;
  font-size: clamp(24px, 3.4vw, 38px);
  letter-spacing:-0.02em;
}
.band p{
  margin:0 auto;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}
.band-green{
  background: linear-gradient(180deg, rgba(142,196,142,.16), rgba(142,196,142,.08));
  border-top: 1px solid rgba(142,196,142,.22);
  border-bottom: 1px solid rgba(142,196,142,.14);
}
.band-soft{
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.section{padding: 70px 0}
.section-head{
  text-align:center;
  max-width: 850px;
  margin: 0 auto 34px;
}
.section-head h2{
  margin:0 0 10px;
  font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing:-0.02em;
}
.section-head p{margin:0; color: var(--muted); line-height: 1.7}
.section-head.light h2,
.section-head.light p{color: rgba(255,255,255,.92)}
.section-head.light p{color: rgba(255,255,255,.78)}


.services-grid{display:grid; gap: 18px}

.service{
  position: relative;
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  isolation:isolate;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
  border-color: rgba(142, 196, 142, 0.25);
}
.service::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(142,196,142,.14), transparent 60%),
    radial-gradient(700px 400px at 80% 10%, rgba(142,196,142,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  z-index:-1;
  transition: opacity 0.4s ease;
}
.service:hover::before { opacity: 0.8; }
.service::after{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 6px;
  background: linear-gradient(180deg, var(--brand), rgba(142,196,142,.0));
  opacity:.85;
  z-index:0;
}
.service-body, .service-media{position:relative; z-index:1}

.service:nth-child(even){grid-template-columns: 1fr 420px}
.service:nth-child(even) .service-media{order:2}
.service:nth-child(even)::after{
  background: linear-gradient(180deg, rgba(120,183,124,1), rgba(120,183,124,0));
}
.service:nth-child(3n)::after{
  background: linear-gradient(180deg, rgba(40,179,129,1), rgba(40,179,129,0));
}
.service:nth-child(4n)::after{
  background: linear-gradient(180deg, rgba(142,196,142,1), rgba(0,0,0,0));
}

.service-media{
  position:relative;
  overflow:hidden;
  background: rgba(0,0,0,.22);
  min-height: 320px;
}
.service-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.1) translateY(var(--scroll-y, 0px));
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: saturate(1.02) contrast(1.02);
  will-change: transform;
}
.service:hover .service-media img{
  transform: scale(1.15) translateY(var(--scroll-y, 0px));
  filter: saturate(1.1) contrast(1.08);
}
.service-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.06) 55%, rgba(0,0,0,0));
  opacity:.9;
  pointer-events:none;
}
.service:nth-child(even) .service-media::after {
  background: linear-gradient(270deg, rgba(0,0,0,.45), rgba(0,0,0,.06) 55%, rgba(0,0,0,0));
}

.service-body{padding: 24px 28px}
.service-body h3{
  margin:0 0 10px;
  font-size: 22px;
  letter-spacing:-0.01em;
}
.service-body p{margin:0 0 16px; color: var(--muted); line-height: 1.7}


.service-body ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.service-body li{
  position:relative;
  padding: 8px 12px 8px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.84);
  line-height: 1.35;
  font-size: 13px;
  max-width: 100%;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.service-body li:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(142,196,142,.3);
  transform: translateY(-2px);
}
.service-body li::before{
  content:"✓";
  position:absolute;
  left: 12px;
  top: 7px;
  color: var(--brand);
  font-weight: 900;
}


.service-feature {
  background: linear-gradient(135deg, rgba(142,196,142,.12) 0%, rgba(6,11,18,.6) 100%);
  border: 2px solid rgba(142,196,142,.5); 
  box-shadow: 0 0 35px rgba(142,196,142,.2), inset 0 0 25px rgba(142,196,142,.1); 
  z-index: 2; 
}
.service-feature:hover {
  border-color: rgba(142,196,142,1);
  box-shadow: 0 0 50px rgba(142,196,142,.4), inset 0 0 30px rgba(142,196,142,.2);
}
.service-feature::after {
  width: 10px; 
  background: linear-gradient(180deg, #60d660, #28b381); 
  opacity: 1;
}
.service-feature .btn { margin-top: 18px; }


.about{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  margin-top: 8px;
  transition: box-shadow 0.4s ease;
}
.about:hover { box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.about-media{background: rgba(0,0,0,.22); overflow: hidden;}
.about-media img{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.05) translateY(var(--scroll-y, 0px));
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.about:hover .about-media img { transform: scale(1.1) translateY(var(--scroll-y, 0px)); }
.about-body{padding: 32px 28px}
.about-body h2{margin:0 0 12px; font-size: 32px; letter-spacing:-0.02em}
.about-body p{margin:0 0 14px; color: var(--muted); line-height:1.75}
.about-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top: 16px}


.why{
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.03);
  padding: 32px;
}
.why-head{text-align:center; max-width: 820px; margin: 0 auto 24px}
.why-head h2{margin:0 0 8px; font-size: 32px}
.why-head p{margin:0; color: var(--muted); line-height:1.7}
.why-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 14px;
}

.why-card{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 24px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.2, 0.8, 0.2, 1), background .3s ease, box-shadow 0.3s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.why-card:hover::before {
  left: 150%;
}
.why-card:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,.06);
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
}
.why-icon{font-size: 28px; transition: transform 0.3s ease;}
.why-card:hover .why-icon { transform: scale(1.1) rotate(5deg); }
.why-card h3{margin:14px 0 8px; font-size: 18px; position: relative; z-index: 2;}
.why-card p{margin:0; color: var(--muted); line-height:1.65; font-size: 14px; position: relative; z-index: 2;}

.section-contacts{
  background: linear-gradient(180deg, rgba(40,179,129,.18), rgba(6,11,18,0));
  border-top: 1px solid rgba(40,179,129,.22);
}
.contacts{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
.contacts-map{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
}
.contacts-map img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.6s ease;
}
.contacts-map:hover img { transform: scale(1.03); }
.contacts-card{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 28px;
  transition: box-shadow 0.3s ease;
}
.contacts-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.contacts-line{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}
.contacts-line:last-of-type{border-bottom:none}
.label{color: var(--muted2); font-size: 14px}
.value{font-weight: 800; font-size: 15px;}
.link{color: rgba(255,255,255,.92); transition: color 0.2s ease;}
.link:hover{color: var(--brand)}
.contacts-actions{display:grid; gap:12px; margin-top: 18px}
.socials{display:flex; gap: 14px; margin-top: 20px}
.socials img{
  width: 32px; height: 32px;
  opacity: .88;
  transition: transform .3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity .3s ease;
}
.socials a:hover img{transform: translateY(-4px) scale(1.05); opacity: 1; filter: drop-shadow(0 4px 8px rgba(142,196,142,0.4));}


.footer{
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.footer-inner{padding: 44px 0}
.footer-brand h3{margin:0 0 10px; font-size: 22px;}
.footer-brand p{margin:0; color: var(--muted); line-height:1.7}
.footer-cols{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.footer-col h4{margin:0 0 14px; font-size: 15px; color: rgba(255,255,255,.86)}
.footer-col a, .footer-col span{
  display:block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ФІКС КНОПКИ У ФУТЕРІ */
.footer-col a.btn {
  display: inline-flex;
  width: max-content;
  padding: 12px 24px;
  margin-top: 10px;
}

.footer-col a:not(.btn):hover{color: var(--brand); transform: translateX(4px);}
.footer-socials{display:flex; gap: 12px; margin: 10px 0 16px}
.footer-socials img{
  width: 28px; height: 28px; opacity: .9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-socials a:hover img { transform: translateY(-3px); opacity: 1; }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
}
.footer-bottom-inner{
  display:flex; justify-content:space-between; align-items:center; gap: 10px;
  color: var(--muted2);
  font-size: 13px;
}
.backtop{color: var(--muted); font-weight: 800; transition: color 0.2s ease;}
.backtop:hover{color: var(--brand)}

/* ФІКС СТАРОГО ТЕКСТУ ВГОРУ */
.footer-bottom-inner > a.backtop {
  display: none !important;
}


body > a.backtop {
  position: fixed;
  display: flex !important;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: var(--brand);
  color: #0b1410;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  cursor: pointer;
}
body > a.backtop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
body > a.backtop:hover {
  background: var(--brand2);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(142,196,142,0.6);
  color: white;
}
body > a.backtop svg {
  transition: transform 0.3s ease;
}
body > a.backtop:hover svg {
  transform: translateY(-3px);
}


[data-reveal]{
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.revealed{opacity:1; transform: translateY(0) scale(1);}


@media (max-width: 1024px){
  .hero-inner{grid-template-columns: 1fr; gap: 20px}
  .trust{grid-template-columns: 1fr}
  .service{grid-template-columns: 360px 1fr}
  .service:nth-child(even){grid-template-columns: 1fr 360px}
  .contacts{grid-template-columns: 1fr}
  .footer-cols{grid-template-columns: 1fr 1fr; gap: 32px;}
}

@media (max-width: 760px){
  .container{padding:0 16px}

  .header-inner{min-height:68px}
  .brand img{height:34px}
  .header-cta{display:none}
  .nav-toggle{display:inline-flex}

  .nav-list{
    position: absolute;
    right: 0;
    top: calc(68px + 10px);
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 110px);
    overflow:auto;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(6,11,18,.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    display: flex; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.98);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    pointer-events: none;
  }
  .nav-list.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav-link{padding: 14px 16px; font-size: 16px; border-radius: 14px;}

  .hero{min-height: auto; padding: 120px 0 30px}
  

  .hero-bg {
    background-position: 70% center; /* Зміщуємо фокус картинки, щоб показати кращу частину */
    filter: brightness(1.35) saturate(1.15) contrast(1.05); /* Робимо соковитіше */
  }
  .hero::after {
    /* Робимо градієнт прозорішим зверху, щоб скло виглядало гарно */
    background: linear-gradient(180deg, rgba(6,11,18,0.05) 0%, rgba(6,11,18,0.75) 100%);
  }
  
  .hero-copy h1{font-size: 40px}
  .lead{font-size: 16px; margin-bottom: 24px;}
  .hero-actions{flex-direction: column; gap: 14px;}
  .hero-card-top{padding: 20px 20px 12px}
  .hero-card-actions{padding: 12px 20px 18px}
  .hero-card-meta{padding: 16px 20px}

  .band{padding: 56px 0}
  .section{padding: 56px 0}
  .section-head{margin-bottom: 28px}

  .services-grid{gap: 20px}
  .service{grid-template-columns: 1fr}
  .service:nth-child(even){grid-template-columns: 1fr}
  .service:nth-child(even) .service-media{order:0}
  
  .service:hover { transform: translateY(-4px); } 

  .service-media{min-height: 0}
  .service-media img{height: 260px}
  .service-body{padding: 20px 20px 24px}
  .service-body h3{font-size: 20px}
  .service-body p{font-size: 15px; margin-bottom: 20px;}

  .service-body ul{display:grid; grid-template-columns: 1fr; gap: 10px}
  .service-body li{
    border-radius: 14px;
    padding: 12px 14px 12px 36px;
    font-size: 14px;
    line-height: 1.45;
  }
  .service-body li::before{left: 14px; top: 11px}

  .about{grid-template-columns: 1fr}
  .about-body{padding: 24px 20px}
  .about-body h2{font-size: 28px}

  .why{padding: 24px 20px}
  .why-head h2{font-size: 28px;}
  .why-grid{grid-template-columns: 1fr; gap: 16px;}

  .contacts-card{padding: 20px}
  .footer-cols{grid-template-columns: 1fr; gap: 32px;}
  .footer-bottom-inner{flex-direction: column; align-items:flex-start; gap: 16px;}

  body > a.backtop{
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
  }
}

body.menu-open{overflow:hidden}
