:root{
  --bg:#000;
  --text:#fff;
  --accent:#ff4d2d;
  --accent2:#ff2d2d;
  --card:rgba(0,0,0,.42);
  --line:rgba(255,255,255,.14);
  --glass:rgba(0,0,0,.72);
  --shadow:0 14px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,sans-serif;
  background:
    linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.10)),
    url("../images/99.jpg") center center/cover no-repeat fixed; 
  color:var(--text);
  overflow-x:hidden;
  padding-top:74px;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1240px,calc(100% - 32px));margin:0 auto}

.hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  padding:28px 0 18px;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.0);
  z-index:1;
}

.hero-center-title{
  position:absolute;
  top:140px;
  left:0;
  width:100%;
  text-align:center;
  z-index:3;
  pointer-events:none;
}

.hero-center-name{
  font-size:36px;
  line-height:1.1;
  font-weight:700;
  margin:0;
}

.hero-center-subtitle{
  font-size:30px;
  line-height:1.1;
  color:var(--accent2);
  font-weight:700;
  margin-top:4px;
}

.hero-inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:42px;
  align-items:start;
}

.hero-text{padding-top:100px}

.hero-text h1{
  margin:0 0 12px;
  max-width:740px;
  font-size:clamp(24px,3vw,48px);
  line-height:1.03;
  font-weight:800;
  letter-spacing:-.02em;
  text-shadow:0 6px 18px rgba(0,0,0,.55);
}

.hero-list{
  list-style:none;
  margin:0 0 16px;
  padding:0;
  max-width:760px;
}

.hero-list li{
  position:relative;
  padding-left:26px;
  margin:7px 0;
  font-size:clamp(12px,1.05vw,17px);
  line-height:1.25;
}

.hero-list li::before{
  content:"➜";
  position:absolute;
  left:0;
  top:0;
  color:var(--accent);
  font-weight:700;
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 20px;
  margin:6px 0 16px;
  border-radius:12px;
  color:#111;
  background:linear-gradient(180deg,#f6f6f6 0%,#9b9b9b 100%);
  box-shadow:0 10px 24px rgba(0,0,0,.35);
  font-size:clamp(15px,1.6vw,22px);
  font-weight:800;
  white-space:nowrap;
}

.hero-contacts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:8px;
  max-width:860px;
}

.hero-contact{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(0,0,0,.38);
  border:1px solid var(--line);
  backdrop-filter:blur(4px);
  min-width:0;
}

.contact-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:10px;
  font-size:22px;
  font-weight:700;
}

.contact-icon.telegram{background:linear-gradient(135deg,#1c9dea,#49c1ff)}
.contact-icon.max{background:linear-gradient(135deg,#6f44ff,#ff4fd8)}
.contact-icon.phone{background:linear-gradient(135deg,#00b65f,#22d36f)}

.hero-contact strong{
  display:block;
  font-size:14px;
  line-height:1.15;
  white-space:nowrap;
}

.hero-contact small{
  display:block;
  margin-top:3px;
  font-size:12px;
  opacity:.86;
}

.hero-photo-wrap{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  padding-top:100px;
}

.hero-photo-frame{
  width:min(340px,100%);
  margin-left:24px;
  padding:10px;
  border-radius:18px;
  background:rgba(255,255,255,.93);
  box-shadow:var(--shadow);
}

.hero-photo-frame img{
  border-radius:10px;
}

.hero-footer{
  grid-column:1 / -1;
  text-align:center;
  margin-top:14px;
  color:rgba(255,255,255,.92);
}

.hero-footer a{
  display:inline-block;
  margin-bottom:6px;
}

.hero-footer p{
  margin:4px 0;
  font-size:13px;
  font-weight:700;
}

.hero-footer small{
  display:block;
  margin:0 auto;
  max-width:920px;
  font-size:11px;
  line-height:1.35;
  opacity:.9;
}

.section{
  position:relative;
  padding:78px 0;
}



.section h2{
  margin:0 0 22px;
  font-size:clamp(24px,3vw,42px);
  line-height:1.1;
  text-align:center;
}

.section-lead{
  max-width:920px;
  margin:0 auto 28px;
  text-align:center;
  font-size:clamp(14px,1.4vw,18px);
  opacity:.92;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
  box-shadow:var(--shadow);
}

.card h3{margin:0 0 10px;font-size:22px}
.card p{margin:0;opacity:.92;line-height:1.6}

.result-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.result{text-align:center}
.result .num{
  font-size:44px;
  font-weight:900;
  color:#fff;
  line-height:1;
}
.result .label{
  margin-top:10px;
  font-size:15px;
  opacity:.92;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
}
.gallery-item{
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
}
.gallery-item img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.gallery-item .cap{
  padding:12px 14px;
  font-size:14px;
  opacity:.92;
}

.form{
  max-width:560px;
  margin:0 auto;
  display:grid;
  gap:14px;
}
.form input,
.form textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  font:inherit;
  background:rgba(255,255,255,.96);
  color:#111;
}
.form textarea{
  min-height:100px;
  resize:vertical;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-weight:700;
  border:0;
  cursor:pointer;
}
.btn--primary{
  padding:14px 18px;
  background:linear-gradient(180deg,#ff4d4d 0%,#c80000 100%);
  color:#fff;
  font-size:16px;
}

.footer{
  padding:24px 0;
  text-align:center;
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.5);
}

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

.fab{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:3000;
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(180deg,#25d366 0%,#128c7e 100%);
  box-shadow:0 14px 28px rgba(0,0,0,.35);
  font-size:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

@media (max-width:900px){
  body{padding-top:64px}
  .hero{min-height:auto;padding:16px 0 18px}
  .hero-inner{grid-template-columns:1fr;gap:12px}
  .hero-center-title{position:static;margin:0 0 12px}
  .hero-center-name{font-size:22px}
  .hero-center-subtitle{font-size:20px}
  .hero-photo-wrap{order:-1;justify-content:center;padding-top:0}
  .hero-photo-frame{width:min(240px,100%);margin-left:0;padding:8px}
  .hero-text{order:1;padding-top:10px}
  .hero-contacts{grid-template-columns:1fr}
  .hero-btn{width:100%;font-size:15px}
  .hero-text h1{font-size:clamp(22px,6vw,38px)}
  .hero-list li{font-size:14px}
  .section{padding:58px 0}
}

@media (max-width:480px){
  .container{width:calc(100% - 20px)}
  .hero-center-name{font-size:18px}
  .hero-center-subtitle{font-size:17px}
  .hero-photo-frame{width:min(220px,100%);padding:6px}
  .contact-icon{
    width:36px;
    height:36px;
    flex-basis:36px;
    font-size:18px;
  }
  .hero-footer p{font-size:12px}
  .fab{
    width:56px;
    height:56px;
    right:14px;
    bottom:14px;
    font-size:26px;
  }
}