/* style.css — креативна графітова тема Бухцентру */
:root{
  --bg:#0b0d10;
  --bg2:#101318;
  --panel:#151a20;
  --panel2:#10141a;
  --ink:#f4f6f8;
  --muted:#aeb7c4;
  --line:rgba(255,255,255,.12);
  --line-strong:rgba(255,255,255,.22);
  --accent:#6fe7b1;
  --accent-warm:#d9b36c;
  --accent-blue:#8fb3ff;
  --danger:#ff9c9c;
  --shadow-soft:0 18px 46px rgba(0,0,0,.32);
  --shadow-strong:0 24px 80px rgba(0,0,0,.52);
  --radius:8px;
  --wrap:1160px;
  --header-h:88px;
  --sans:ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{min-height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  background-size:36px 36px, 36px 36px, auto;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, rgba(111,231,177,.08), transparent 28%, rgba(217,179,108,.07) 62%, transparent 82%),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.26));
  opacity:.82;
  z-index:-1;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{display:block;max-width:100%;height:auto}
button,input,textarea{font:inherit}

.wrap{
  width:min(var(--wrap), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#000;
  border:1px solid var(--line);
  border-radius:8px;
  z-index:9999;
}

.site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:1000;
  background:rgba(8,10,13,.76);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:var(--header-h);
  gap:18px;
  transition:min-height .22s ease;
}

.site-header.is-scrolled .header-inner{
  min-height:70px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:218px;
}

.brand img{
  width:58px;
  height:58px;
  border-radius:999px;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
  transition:transform .22s ease;
}

.site-header.is-scrolled .brand img{
  transform:scale(.86);
}

.brand-word b,
.brand-word small{
  display:block;
}

.brand-word b{
  font-size:18px;
  line-height:1;
}

.brand-word small{
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}

.nav-link,
.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 10px;
  border-radius:8px;
  color:var(--muted);
  font-weight:750;
  font-size:14px;
}

.nav-link.is-active,
.nav-link:hover{
  color:var(--ink);
  background:rgba(255,255,255,.06);
}

.nav-cta{
  margin-left:6px;
  color:#07110d;
  background:var(--accent);
  border:1px solid rgba(111,231,177,.55);
  box-shadow:0 10px 30px rgba(111,231,177,.12);
  font-weight:900;
}

.nav-toggle{
  display:none;
  width:44px;
  height:40px;
  border-radius:8px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  height:2px;
  margin:6px 10px;
  border-radius:2px;
  background:var(--ink);
}

.content{
  min-height:70vh;
  padding-top:var(--header-h);
}

.hero{
  position:relative;
  padding:58px 0 36px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
}

.hero-logo{
  width:104px;
  height:104px;
  border-radius:999px;
  margin-bottom:18px;
  box-shadow:0 18px 45px rgba(0,0,0,.38);
}

.eyebrow,
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--accent);
  font:800 12px/1.2 var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
}

.hero-title,
.h1{
  margin:12px 0;
  font-size:54px;
  line-height:1.04;
  letter-spacing:0;
}

.hero-title{
  max-width:780px;
}

.h1{
  font-size:44px;
}

.ink{
  color:var(--accent);
}

.hero-text,
.lead{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
  max-width:68ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:22px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  gap:10px;
  padding:12px 16px;
  border-radius:8px;
  border:1px solid rgba(111,231,177,.48);
  background:var(--accent);
  color:#07110d;
  box-shadow:0 16px 40px rgba(111,231,177,.12);
  font-weight:900;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover{
  transform:translateY(-2px);
  opacity:1;
}

.btn:active{
  transform:translateY(0);
}

.btn-ghost,
.btn.btn-ghost{
  color:var(--ink);
  background:rgba(255,255,255,.04);
  border-color:var(--line-strong);
  box-shadow:none;
}

.btn-light{
  background:var(--ink);
  border-color:var(--ink);
  color:#111318;
}

.hero-metrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:24px;
}

.metric{
  min-height:104px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(255,255,255,.045);
}

.metric-num{
  color:var(--ink);
  font:900 26px/1 var(--mono);
}

.metric-text{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.hero-visual{
  position:relative;
  min-height:520px;
  border:1px solid var(--line);
  border-radius:8px;
  background:
    linear-gradient(160deg, rgba(111,231,177,.10), rgba(255,255,255,.025) 42%, rgba(217,179,108,.08)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.045) 40px);
  box-shadow:var(--shadow-strong);
  overflow:hidden;
}

.hero-dashboard{
  position:absolute;
  inset:22px;
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:14px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(8,10,13,.82);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transform-style:preserve-3d;
  transition:transform .22s ease;
}

.dashboard-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.dashboard-top img{
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
}

.dashboard-top strong{
  display:block;
  margin-top:8px;
  font-size:22px;
  line-height:1.15;
}

.dashboard-score{
  display:grid;
  grid-template-columns:.72fr 1fr;
  gap:16px;
  align-items:center;
  padding:18px;
  border:1px solid rgba(111,231,177,.20);
  border-radius:8px;
  background:linear-gradient(135deg, rgba(111,231,177,.12), rgba(255,255,255,.035));
}

.dashboard-score span{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.dashboard-score strong{
  display:block;
  margin-top:6px;
  color:var(--accent);
  font:950 56px/1 var(--mono);
}

.dashboard-score p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.dashboard-tile{
  min-height:128px;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:rgba(255,255,255,.04);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.dashboard-tile:hover{
  transform:translateY(-2px);
  border-color:rgba(111,231,177,.32);
  background:rgba(111,231,177,.07);
}

.dashboard-tile span{
  color:var(--accent-warm);
  font:900 12px/1 var(--mono);
}

.dashboard-tile b{
  display:block;
  margin-top:18px;
  font-size:21px;
}

.dashboard-tile small{
  display:block;
  margin-top:7px;
  color:var(--muted);
  line-height:1.4;
}

.dashboard-bottom{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}

.dashboard-bottom div{
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:rgba(0,0,0,.18);
}

.dashboard-bottom b,
.dashboard-bottom span{
  display:block;
}

.dashboard-bottom span{
  color:var(--muted);
  margin-top:3px;
  font-size:13px;
}

.section{
  padding:58px 0;
}

.section-dark,
.section-contrast{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.035);
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}

.h2{
  margin:0 0 16px;
  font-size:30px;
  line-height:1.15;
  letter-spacing:0;
}

.h2-invert{color:var(--ink)}
.muted{color:var(--muted)}
.invert{color:rgba(255,255,255,.82)}

.cards3,
.cards2,
.feature-grid{
  display:grid;
  gap:14px;
}

.cards3,
.feature-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.cards2{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.card,
.feature-card,
.contact-card,
.form-card,
.price-card,
.value,
.callout{
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(20,24,29,.68);
  box-shadow:var(--shadow-soft);
}

.card,
.feature-card,
.contact-card,
.form-card,
.price-card,
.callout{
  padding:18px;
}

.micro-note{
  margin-top:14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(255,255,255,.035);
  color:var(--muted);
  line-height:1.55;
}

.card h3,
.feature-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.card p,
.feature-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.feature-card{
  position:relative;
  min-height:196px;
  overflow:hidden;
}

.feature-card::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:0;
  height:3px;
  background:linear-gradient(90deg, var(--accent), var(--accent-warm), var(--accent-blue));
}

.feature-index{
  display:inline-flex;
  width:32px;
  height:32px;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  border:1px solid rgba(111,231,177,.35);
  border-radius:999px;
  color:var(--accent);
  font:900 12px/1 var(--mono);
}

.page-head{
  padding:44px 0 16px;
}

.prose{
  max-width:980px;
}

.prose h2{
  margin:28px 0 10px;
  font-size:26px;
}

.prose p,
.prose li{
  color:var(--muted);
  line-height:1.75;
}

.prose ul{
  padding-left:18px;
}

.contract-doc h3{
  margin:22px 0 8px;
  color:var(--ink);
  font-size:20px;
  line-height:1.25;
}

.contract-doc p{
  max-width:92ch;
}

.divider{
  height:1px;
  margin:24px 0;
  background:var(--line);
}

.check{
  list-style:none;
  padding-left:0;
}

.check li{
  position:relative;
  padding-left:30px;
  margin:10px 0;
}

.check li::before{
  content:"";
  position:absolute;
  left:0;
  top:7px;
  width:16px;
  height:16px;
  border:1px solid rgba(111,231,177,.45);
  border-radius:999px;
}

.check li::after{
  content:"";
  position:absolute;
  left:5px;
  top:11px;
  width:7px;
  height:4px;
  border-left:2px solid var(--accent);
  border-bottom:2px solid var(--accent);
  transform:rotate(-45deg);
}

.service-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:start;
}

.service-aside .panel{
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(20,24,29,.66);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.panel-b{
  padding:16px;
}

.panel-t{
  font-weight:900;
  margin-bottom:6px;
}

.panel-d{
  color:var(--muted);
  line-height:1.6;
  margin-bottom:12px;
}

.steps{
  list-style:none;
  padding:0;
  margin:20px 0 0;
  display:grid;
  gap:10px;
}

.step{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:14px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(20,24,29,.64);
}

.step-n{
  color:var(--accent);
  font:900 18px/1 var(--mono);
}

.step-t{
  font-weight:900;
  margin-bottom:4px;
}

.step-d{
  color:var(--muted);
  line-height:1.6;
}

.timeline{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:10px;
  margin-top:22px;
}

.timeline::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:24px;
  height:1px;
  background:linear-gradient(90deg, var(--accent), var(--accent-warm), var(--accent-blue));
}

.timeline-step{
  position:relative;
  padding:58px 14px 14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(12,15,19,.82);
}

.timeline-step b{
  position:absolute;
  top:10px;
  left:14px;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--accent);
  color:#07110d;
  font:900 12px/1 var(--mono);
}

.timeline-step span{
  display:block;
  font-weight:900;
}

.timeline-step small{
  display:block;
  margin-top:6px;
  color:var(--muted);
  line-height:1.45;
}

.cta-bar,
.cta-inline{
  margin-top:20px;
  padding:16px;
  border-radius:8px;
  border:1px solid var(--line);
  background:rgba(20,24,29,.68);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.cta-title{
  font-weight:950;
}

.cta-sub{
  color:var(--muted);
  margin-top:4px;
  line-height:1.5;
}

.values{
  margin-top:20px;
}

.value-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.value{
  display:flex;
  gap:12px;
  padding:14px;
}

.value-ico{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid rgba(111,231,177,.32);
  border-radius:999px;
  color:var(--accent);
  font:900 13px/1 var(--mono);
  flex:0 0 auto;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:16px;
  align-items:start;
}

.contact-lines{
  display:grid;
  gap:10px;
  margin-top:10px;
}

.contact-line{
  display:flex;
  gap:10px;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding-bottom:10px;
}

.contact-line span{
  color:var(--muted);
}

.phone-links{
  display:grid;
  gap:4px;
  text-align:right;
}

.contact-visual{
  margin-top:16px;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  background:rgba(0,0,0,.18);
}

.form label{
  display:block;
  font-weight:800;
  margin:12px 0;
}

.form input,
.form textarea{
  width:100%;
  margin-top:8px;
  padding:12px;
  border-radius:8px;
  border:1px solid var(--line-strong);
  background:rgba(0,0,0,.25);
  color:var(--ink);
  outline:none;
}

.form input:focus,
.form textarea:focus{
  border-color:rgba(111,231,177,.55);
  box-shadow:0 0 0 4px rgba(111,231,177,.10);
}

.f-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.chk{
  display:flex !important;
  gap:10px;
  align-items:flex-start;
  color:var(--muted);
}

.chk input{
  width:18px;
  height:18px;
  margin-top:3px;
}

.alert{
  padding:12px;
  border-radius:8px;
  border:1px solid var(--line);
  margin-bottom:12px;
}

.alert.success{
  background:rgba(111,231,177,.08);
  border-color:rgba(111,231,177,.24);
}

.alert.error{
  background:rgba(255,156,156,.08);
  border-color:rgba(255,156,156,.28);
}

.form-hint{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.iframe-wrap{
  margin-top:14px;
  border-radius:8px;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(0,0,0,.35);
  box-shadow:var(--shadow-soft);
}

.iframe-wrap iframe{
  width:100% !important;
  height:430px;
  border:0;
  display:block;
  filter:invert(1) hue-rotate(180deg);
}

.map-section{
  padding:0 0 58px;
}

.map-frame{
  width:100%;
  height:min(520px, 58vw);
  min-height:360px;
  border-block:1px solid var(--line);
  background:rgba(0,0,0,.24);
  box-shadow:var(--shadow-strong);
  overflow:hidden;
}

.map-frame iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
  filter:grayscale(.35) contrast(1.08) invert(.92) hue-rotate(180deg);
}

.notfound{
  text-align:center;
  padding:40px 0;
}

.nf-code{
  font:900 64px/1 var(--mono);
  letter-spacing:.12em;
}

.site-footer{
  margin-top:40px;
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.28);
}

.footer-grid{
  padding:26px 0 18px;
  display:grid;
  grid-template-columns:1fr 1.45fr;
  gap:18px;
}

.footer-brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.footer-brand img{
  border-radius:999px;
}

.footer-title{
  font-weight:950;
}

.footer-sub{
  color:var(--muted);
  margin-top:2px;
}

.footer-cols{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.footer-col a{
  display:block;
  padding:6px 0;
  color:rgba(255,255,255,.78);
}

.footer-h{
  font-weight:900;
  margin-bottom:8px;
}

.footer-text{
  color:var(--muted);
  padding-top:6px;
  line-height:1.5;
}

.footer-bottom{
  padding:12px 0 18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:rgba(255,255,255,.62);
  border-top:1px solid rgba(255,255,255,.06);
  flex-wrap:wrap;
}

.footer-mini{
  font:700 12px/1 var(--mono);
}

.footer-mini a{
  color:var(--accent);
}

.call-fab{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:999;
}

.call-fab__btn{
  width:56px;
  height:56px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:#07110d;
  border:1px solid rgba(111,231,177,.55);
  box-shadow:0 18px 45px rgba(0,0,0,.45);
  animation:pulseRing 2.5s infinite;
}

.call-fab__icon{
  width:22px;
  height:22px;
  fill:currentColor;
}

@keyframes pulseRing{
  0%{box-shadow:0 0 0 0 rgba(111,231,177,.32), 0 18px 45px rgba(0,0,0,.45)}
  70%{box-shadow:0 0 0 14px rgba(111,231,177,0), 0 18px 45px rgba(0,0,0,.45)}
  100%{box-shadow:0 0 0 0 rgba(111,231,177,0), 0 18px 45px rgba(0,0,0,.45)}
}

.reveal{
  opacity:0;
  transform:translateY(12px);
}

.reveal.is-in{
  opacity:1;
  transform:translateY(0);
  transition:opacity .65s ease, transform .65s ease;
}

@media (max-width:1100px){
  .hero-title{font-size:44px}
  .h1{font-size:38px}
  .hero-grid{grid-template-columns:1fr}
  .hero-visual{min-height:560px}
  .timeline{grid-template-columns:1fr}
  .timeline::before{display:none}
}

@media (max-width:980px){
  .brand{min-width:auto}
  .brand-word{display:none}
  .nav-toggle{display:block}
  .nav{
    position:fixed;
    left:12px;
    right:12px;
    top:74px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:8px;
    background:rgba(8,10,13,.96);
  }
  .nav.is-open{display:flex}
  .nav-cta{margin-left:0}
  .cards3,
  .cards2,
  .feature-grid,
  .service-grid,
  .contact-grid,
  .footer-grid,
  .value-grid{
    grid-template-columns:1fr;
  }
  .footer-cols{grid-template-columns:1fr}
  .f-row{grid-template-columns:1fr}
}

@media (max-width:700px){
  .wrap{width:min(var(--wrap), calc(100% - 28px))}
  .hero{padding-top:38px}
  .hero-title{font-size:36px}
  .h1{font-size:34px}
  .h2{font-size:26px}
  .hero-metrics{grid-template-columns:1fr}
  .hero-visual{min-height:620px}
  .hero-dashboard{inset:12px; padding:14px}
  .dashboard-score,
  .dashboard-grid,
  .dashboard-bottom{
    grid-template-columns:1fr;
  }
  .cta-bar,
  .cta-inline,
  .section-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .map-frame{
    min-height:320px;
    height:62vh;
  }
}

@media (max-width:575.98px){
  .iframe-wrap iframe{height:960px}
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
  }
}
