/* =========================
   76 Objektservice — CLEAN (replace whole style.css)
   ========================= */

:root{
  --bg:#F5FAFF;
  --bg2:#EEF6FF;
  --card:#FFFFFF;
  --stroke:#E2ECF8;

  --text:#0E223D;
  --muted:#51677F;
  --muted2:#7A90A7;

  --blue:#2A6AEF;
  --blue2:#4DB4FF;
  --blue3:#1F5ED8;

  --shadow: 0 26px 70px rgba(14,34,61,.10);
  --shadow2: 0 14px 34px rgba(14,34,61,.08);
  --shadow3: 0 10px 20px rgba(14,34,61,.06);

  --r:18px;
  --r2:26px;

  --ring: 0 0 0 5px rgba(30,120,255,.16);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-padding-top: 88px; }
section[id]{ scroll-margin-top: 88px; }

body{
  margin:0;
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}

/* background */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(30,120,255,.16), transparent 60%),
    radial-gradient(900px 520px at 88% 10%, rgba(42,169,255,.12), transparent 60%),
    radial-gradient(900px 520px at 50% 95%, rgba(25,195,125,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.14;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(14,34,61,.06) 0 1px,
      transparent 1px 18px
    );
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

/* =========================
   Header (sticky)
   ========================= */
.header{
  position:sticky;
  top:0;
  z-index:70;
background: transparent !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,236,248,.55);
  transform: translateZ(0);
}

.headerinner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brandlogo{
  width:46px;
  height:46px;
  object-fit: cover;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 12px 24px rgba(15,35,58,.10);
  flex: 0 0 auto;
}

.brandtext{ display:flex; flex-direction:column; line-height:1.1; }
.brandname{
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
  color:#0b1220;
}
.brand__tag{
  margin-top:2px;
  color: rgba(11,18,32,.70);
  font-weight:600;
  font-size:12.5px;
}

.headeractions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
}

/* ===== FIX HEADER: always pinned ===== */
.header.header--sticky{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(245,250,255,.94) !important;
  border-bottom: 1px solid var(--stroke) !important;
}

/* чтобы контент не уезжал под фиксированную шапку */
body{
  padding-top: 86px; /* если шапка выше/ниже — подстрой */
}

/* убрать возможные конфликты */
.header, .topbar{
  transform: none !important;
  -webkit-transform: none !important;
}
/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.90);
  color:var(--text);
  font-weight:900;
  box-shadow: var(--shadow3);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}

.btn:hover{
  transform: translateY(-2px);
  background:#fff;
  border-color: rgba(30,120,255,.25);
  box-shadow: var(--shadow2);
}

.btn--primary{
  border:0;
  color:#fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 18px 40px rgba(30,120,255,.22);
}
.btn--primary:hover{
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  filter: brightness(1.05);
  color:#fff;
}

.btn--ghost{
  background: rgba(255,255,255,.55);
}

.w100{ width:100%; }

/* Burger (если используешь) */
.burger{
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.82);
  display:none;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-direction:column;
}
.burger span{
  width:18px; height:2px;
  background: rgba(14,34,61,.70);
  border-radius: 10px;
}

.mobile{
  border-top:1px solid var(--stroke);
  background: rgba(245,250,255,.96);
backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobileinner{
  padding:18px 0;
  display:grid;
  gap:10px;
}
.mobilelink{
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.90);
  color:var(--muted);
  font-weight:900;
}

/* =========================
   Typography
   ========================= */
.h1{
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin:14px 0 12px;
}
.h2{
  margin:0 0 6px;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing:-0.02em;
}
.lead{
  color: var(--muted);
  font-size: 16.5px;
  line-height:1.75;
  margin:0 0 18px;
}
.muted{ color:var(--muted); }
.small{ font-size:12.5px; line-height:1.6; }

.heroAccent{
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:1000;
}

/* =========================
   Hero (CENTERED, no image block)
   ========================= */
.hero{ padding:44px 0 12px; }

.herogrid{
  display:grid;
  grid-template-columns: 1fr;
  align-items:center;
}

.herovisual{ display:none; } /* у тебя блок пустой — скрываем */

.herocontent{
  max-width: 820px;
  margin: 0 auto;
  text-align:center;
}

.kicker{
  display:flex;
  justify-content:center;
  gap:10px;
  align-items:center;
  color: var(--muted);
  font-weight:900;
}
.dot{
  width:10px;height:10px;
  border-radius:999px;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(30,120,255,.12);
}

.herocta{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 14px;
}

.herotrust{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.badge{
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(30,120,255,.18);
  background: rgba(30,120,255,.08);
  font-size:12px;
  font-weight:900;
  color: rgba(14,34,61,.88);
}

/* =========================
   Sections
   ========================= */
.section{ padding:58px 0; }
.section--alt{
  background: rgba(238,246,255,.72);
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
}
.sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

/* =========================
   Cards / Services
   ========================= */
.card{
  border-radius: var(--r2);
  border:1px solid var(--stroke);
  background: var(--card);
  box-shadow: var(--shadow3);
  padding:18px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.service{
  position:relative;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service::before{
  content:"";
  position:absolute;
  inset:-40% -40%;
  background: radial-gradient(500px 260px at 20% 20%, rgba(42,169,255,.16), transparent 65%);
  opacity:0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
}
.service:hover{
  transform: translateY(-6px) rotate(-0.2deg);
  box-shadow: var(--shadow);
  border-color: rgba(30,120,255,.25);
}
.service:hover::before{
  opacity:1;
  transform: translateY(0);
}

.serviceicon{
  width:44px;height:44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(30,120,255,.10);
  border:1px solid rgba(30,120,255,.20);
  margin-bottom:10px;
  font-size:20px;
}

.service h3{ margin:4px 0 6px; font-size:18px; }
.service p{ margin:0 0 10px; color:var(--muted); line-height:1.65; }

.ticks{
  margin:0 0 10px;
  padding-left:16px;
  color:var(--muted);
  line-height:1.65;
}

.link{
  display:inline-flex;
  font-weight:900;
  color: var(--blue3);
  transition: transform .15s ease, color .15s ease;
}
.link:hover{
  transform: translateX(2px);
  color: var(--blue);
}

/* твой последний блок уже с классом service--full */
.service--full{ grid-column: 1 / -1; }

/* =========================
   Forms
   ========================= */
.form{ display:grid; gap:12px; }
.
field{ display:grid; gap:8px; }

label{
  font-size:12.5px;
  color:var(--muted2);
  font-weight:900;
}

input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.96);
  color: var(--text);
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

input:focus,select:focus,textarea:focus{
  border-color: rgba(30,120,255,.50);
  box-shadow: var(--ring);
}

.grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
textarea{ resize:vertical; min-height:120px; }

.check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: var(--muted);
  font-size:12.5px;
  line-height:1.5;
  margin:2px 0 10px;
}
.check input{ width:16px;height:16px;margin-top:3px; }

.fineprint{
  color:var(--muted2);
  font-size:12px;
  line-height:1.5;
  margin:0;
}

.success{
  margin-top:12px;
  padding:12px;
  border-radius: 14px;
  border:1px solid rgba(25,195,125,.35);
  background: rgba(25,195,125,.10);
  font-weight:900;
}

.regFormCard{ background: rgba(255,255,255,.94); }
.regFormCardtop{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}
.miniTitle{ font-weight:900; }
.miniSub{ color:var(--muted2); font-size:12.5px; margin-top:2px; }

/* =========================
   Footer
   ========================= */
.footer{
  padding:34px 0 18px;
  border-top:1px solid var(--stroke);
  background: rgba(238,246,255,.70);
}

.footergrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:32px;
  align-items:start;
}

.brand--footer .brandlogo{
  width:42px;
  height:42px;
  border-radius:14px;
}

.brand__name{
  font-weight:900;
}

.footertitle{
  margin:0 0 8px;
  font-size:14px;
  font-weight:900;
}

.footermini{
  display:flex;
  gap:14px;
  margin-top:10px;
  flex-wrap:wrap;
  color:var(--muted);
}

.footerbottom{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--stroke);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr 1fr; }
  .burger{ display:flex; }
}

@media (max-width: 900px){
  .container{ width: calc(100% - 24px); } /* чтобы мобильная не была “узкой” */

  .headerinner{
    flex-wrap:wrap;
    gap:10px;
  }
  .headeractions{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }

  .hero{ padding:28px 0 10px; }

  .herocta{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .herocta .btn{ width:100%; }

  .cards{ grid-template-columns: 1fr; }

  .grid2{ grid-template-columns: 1fr; }
  .footergrid{ grid-template-columns: 1fr; }
}

@media (max-width: 420px){
  .h1{ font-size: 30px; }
}
/* =========================
   OVERRIDE PACK (final)
   Put this at the VERY END of style.css
   ========================= */

/* Sticky header always on top */
.header.header--sticky{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245,250,255,.92) !important;
  border-bottom: 1px solid var(--stroke) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Brand text (if you use brand--text) */
.brand--text{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.1;
}
.brand--text .brandname{
  font-size:16px !important;
  font-weight:1000 !important;
}
.brand--text .brandtag{
  font-size:12px !important;
  font-weight:900 !important;
  color: var(--muted2) !important;
}

/* Phone button – more solid */
.btn--phone{
  border: 1px solid var(--stroke) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: var(--shadow3) !important;
  white-space: nowrap;
}
.btn--phone:hover{
  transform: translateY(-2px);
  border-color: rgba(30,120,255,.22) !important;
}
.btn__icon{
  display:inline-grid;
  place-items:center;
  width:26px; height:26px;
  border-radius:999px;
  background: rgba(30,120,255,.10);
  margin-right:10px;
  font-weight:1000;
}

/* HERO: force single column + center everything */
.hero .herogrid,
.hero .herogrid.herogrid--single{
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  align-items: center !important;
}

/* If hero image block exists, hide it */
.hero .heroMedia,
.hero .herovisual{
  display: none !important;
}

/* Center text block */
.hero .herocontent{
  max-width: 820px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Center buttons + badges */
.hero .herocta,
.hero .herotrust,
.hero .herostats{
  justify-content: center !important;
}

/* Make hero buttons look consistent (no weird white hover) */
.hero .btn--ghost{
  background: rgba(255,255,255,.70) !important;
}

/* Mobile: keep header readable */
@media (max-width: 820px){
  .headerinner{
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .headeractions{
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .btn--phone{
    width: 100%;
  }
}

.formMsg{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(25,195,125,.35);
  background: rgba(25,195,125,.12);
  color: #0f5132;
  font-weight: 800;
}
.formMsg--error{
  border-color: rgba(220,53,69,.35);
  background: rgba(220,53,69,.10);
  color: #842029;
}
.legal{
  padding: 28px 0 70px;
}

.legalCard{
  padding: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.legalCard p{
  line-height: 1.75;
}

.linkInline{
  text-decoration: underline;
}

/* === FIX: hero not hidden under sticky header (mobile + desktop) === */
:root{
  --header-h: 88px;       /* дефолт: высота шапки на десктопе */
  --header-h-mobile: 112px; /* высота шапки на мобилке (обычно больше) */
}

/* чтобы якоря (#anfrage и т.д.) тоже не уезжали под шапку */
html{ scroll-padding-top: var(--header-h); }
section[id]{ scroll-margin-top: var(--header-h); }

/* добавляем место под шапку перед hero */
.hero{
  padding-top: calc(44px + var(--header-h));
}

/* мобилка/узкие экраны */
@media (max-width: 900px){
  html{ scroll-padding-top: var(--header-h-mobile); }
  section[id]{ scroll-margin-top: var(--header-h-mobile); }

  .hero{
    padding-top: calc(28px + var(--header-h-mobile));
  }
}