/* =========================
   Base
========================= */
:root{
  --bg: #ffffff;
  --text: #0b0c10;
  --muted: rgba(11,12,16,.68);
  --muted2: rgba(11,12,16,.52);

  --dark: #0b0c10;
  --dark2: #12141a;
  --darkText: rgba(255,255,255,.92);
  --darkMuted: rgba(255,255,255,.72);
  --darkMuted2: rgba(255,255,255,.56);

  --accent: #e0202a;
  --accentSoft: rgba(224,32,42,.14);

  --border: rgba(11,12,16,.10);
  --border2: rgba(11,12,16,.14);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-sm: 0 10px 24px rgba(11,12,16,.06);
  --shadow-md: 0 18px 48px rgba(11,12,16,.10);

  --container: 1160px;

  --h1: clamp(34px, 4vw, 56px);
  --h2: clamp(26px, 2.6vw, 40px);
  --h3: 18px;

  --gap: clamp(14px, 2vw, 24px);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img{
  max-width: 100%;
  display: block;
}

a{ color: inherit; text-decoration: none; }

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

.hero__subtitle{
  position: relative;
  padding-left: 16px;
}
.hero__subtitle::before{
  content: '';
  position: absolute;
  left: 0;
  top: .35em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}


.h1{ font-size: var(--h1); letter-spacing: -0.02em; line-height: 1.05; margin: 14px 0 0; }
.h2{ font-size: var(--h2); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.h2--dark{ color: var(--darkText); }
.h3{ font-size: 18px; margin: 0; letter-spacing: -0.01em; }
.h3--dark{ color: var(--darkText); }
.lead{ font-size: 16px; color: rgba(255,255,255,.99); margin: 14px 0 0; }
.text{ font-size: 16px; color: var(--muted); margin: 14px 0 0; }
.muted{ color: var(--muted); margin: 10px 0 0; }
.muted--dark{ color: var(--darkMuted); }
.link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
}
.link::after{
  content:"";
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(224,32,42,.25));
  position: absolute;
  left: 0;
  bottom: -6px;
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .25s ease;
  opacity: .9;
}
.link:hover::after{ transform: scaleX(1); }

/* =========================
   Buttons
========================= */
.btn{
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  height: 48px;
  padding: 0 50px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 34px rgba(224,32,42,.22);
}
.btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 24px 48px rgba(224,32,42,.28);
}

.btn--outline{
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.04);
}
.btn--outline:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
}
.btn--outline-dark{
  border-color: rgba(255,255,255,.22);
  color: var(--darkText);
  background: rgba(255,255,255,.06);
}
.btn--outline-dark:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.32);
}

.btn--ghost{
  border-color: var(--border);
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--wide{
  margin-top: 6px;
  padding: 16px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.btn--sm{ height: 40px; padding: 0 14px; font-weight: 800; }

/* =========================
   Header
========================= */

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,12,16,.06);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

/* =========================
   LEFT PART
========================= */
.header__left{
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo{
  display: inline-flex;
  align-items: center;
}

.logo img{
  height: 52px;
  width: auto;
  display: block;
}

/* =========================
   NAV
========================= */
.nav{
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link{
  position: relative;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(11,12,16,.75);
  letter-spacing: -0.01em;
  padding: 6px 0;
  transition: color .2s ease;
}

.nav__link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav__link:hover{
  color: rgba(11,12,16,1);
}

.nav__link:hover::after{
  transform: scaleX(1);
}

/* =========================
   RIGHT PART
========================= */
.header__right{
  display: flex;
  align-items: center;
  gap: 35px;
}

/* =========================
   MANAGER
========================= */
.manager{
  display: flex;
  align-items: center;
  gap: 16px;
}

.manager__avatar{
  position: relative;
  width: 42px;
  height: 42px;
}

.manager__avatar img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ПУЛЬСАЦИЯ */
.manager__pulse{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(34,197,94,.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70%{ box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.manager__content{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.manager__text{
    text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(11,12,16,.65);
}













/* =========================
   SHOWCASE SLIDER
========================= */
.showcase {
  padding: 80px 0 100px;
  background: #fff;
}

.showcase__head {
  max-width: 520px;
  margin-bottom: 36px;
}

.showcase__sub {
  margin-top: 10px;
  color: rgba(11,12,16,.6);
  font-size: 15px;
}

/* =========================
   SLIDER CORE
========================= */
.showcase__slider {
  position: relative;
}

.showcase__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.showcase__track::-webkit-scrollbar {
  display: none;
}

/* =========================
   SLIDE
========================= */
.showcase__slide {
  flex: 0 0 78%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   ARROWS
========================= */
.showcase__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(11,12,16,.08);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
  z-index: 2;
}

.showcase__arrow:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.showcase__arrow--prev {
  left: -24px;
}

.showcase__arrow--next {
  right: -24px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px) {
  .showcase {
    padding: 60px 0 80px;
  }

  .showcase__slide {
    flex: 0 0 88%;
    border-radius: 18px;
  }

  .showcase__arrow {
    display: none;
  }
}
















/* =========================
   SERVICES CATALOG
========================= */
.services-catalog {
  padding: 120px 0;
  background: #fafafa;
}

.services-catalog__head {
  max-width: 520px;
  margin-bottom: 56px;
}

.services-catalog__sub {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(11,12,16,.6);
}

/* =========================
   GRID
========================= */
.services-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(11,12,16,.08);
}

/* =========================
   ITEM
========================= */
.service-cat {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(11,12,16,.08);
  transition: background .2s ease;
}

.service-cat:nth-child(odd) {
  padding-right: 40px;
}

.service-cat:nth-child(even) {
  padding-left: 40px;
}

.service-cat:hover {
  background: rgba(11,12,16,.02);
}

/* =========================
   MEDIA
========================= */
.service-cat__media {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(11,12,16,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-cat__media img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 15px;
  object-fit: contain;
}

/* =========================
   TEXT
========================= */
.service-cat__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(11,12,16,.9);
}

















.hero__inline-form {
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.hero__input {
  height: 46px;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  min-width: 240px;
}

.hero__input::placeholder {
  color: rgba(0,0,0,.4);
}

.hero__submit {
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(224,32,42,.45);
}







/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-btn{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 22px 1px;
  border-radius: 9px;
  background: #7130E4;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(113, 48, 228, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
}

.whatsapp-btn__icon{
  width: 20px;
  height: 20px;
}

/* =========================
   PHONE
========================= */
.phonebox{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

@media (max-width: 1080px){
  .phonebox{
    display: none;
  }
}

/* Social buttons */
.contact__socials{
  margin-top: 22px;
  display: flex;
  gap: 14px;
}

.social{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.social img{
  width: 28px;
  height: 28px;
}

/* Telegram */
.social--tg{
  background: #229ED9;
}

/* MAX (нейтрально-техничный) */
.social--max{
  background: #7130E4;
}

/* Avito */
.social--avito{
  background: white;
}

/* Hover */
.social:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}



.phone{
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: rgba(11,12,16,1);
}

.phonebox__note{
  font-size: 12px;
  color: rgba(11,12,16,.45);
  margin-top: 2px;
  font-weight: 500;
}

/* =========================
   BURGER
========================= */
.burger{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(11,12,16,.10);
  background: rgba(255,255,255,.9);

  display: none;              /* включаем через media */
  flex-direction: column;     /* ВАЖНО: вертикально */
  align-items: center;
  justify-content: center;
  gap: 5px;

  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}


.burger span{
  width: 18px;
  height: 2px;
  background: rgba(11,12,16,.82);
  border-radius: 2px;
  display: block;
}

.burger:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 980px){
  .nav{
    display: none;
  }

  .burger{
    display: inline-flex;
  }

  .header__left{
    gap: 20px;
  }
}

.hero__title{
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero__subtitle{
  margin-top: 14px;
  max-width: 520px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
}

/* =========================
   Hero
========================= */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--dark);
  min-height: 86vh;
  display: flex;
  align-items: stretch;
}
.hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(.95);
  transform: scale(1.02);
}
.hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(224,32,42,.18), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(11,12,16,.55), rgba(11,12,16,.88));
}

.hero__inner{
  position: relative;
  z-index: 1;
  padding: 68px 0 58px;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}
.pill__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(224,32,42,.16);
}

.hero__content .h1{ color: #fff; }
.hero__actions{
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust{
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust__item{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 160px;
}
.trust__label{
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.trust__value{
  display: block;
  margin-top: 6px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.92);
}

.hero__panel .panel{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 22px 54px rgba(0,0,0,.28);
}
.panel__head{
  margin-bottom: 20px;
}
.panel__title{ color: rgba(255,255,255,.92); margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.panel__sub{ color: rgba(255,255,255,.72); margin: 8px 0 0; font-size: 14px; }

/* =========================
   Forms
========================= */
.form{ display: grid; gap: 12px; }
.form__row{ display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.field{ display: grid; gap: 8px; }
.field__label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.input, .textarea, .select{
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 12px 14px;
  color: rgba(255,255,255,.92);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.textarea{ resize: vertical; }
.input::placeholder, .textarea::placeholder{ color: rgba(255,255,255,.55); }
.input:focus, .textarea:focus, .select:focus{
  border-color: rgba(224,32,42,.55);
  box-shadow: 0 0 0 6px rgba(224,32,42,.14);
}

.form__note{
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.35;
}

/* Dark panel (contacts) */

.panel--dark{
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 26px;
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
}


.panel__title--dark{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.panel__sub--dark{
  margin-top: 6px;
  color: rgba(255,255,255,.65);
  font-size: 14px;
}

.field__label--dark{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.input--dark,
.select--dark,
.textarea--dark{
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-weight: 600;
  outline: none;
  transition: border .2s ease, background .2s ease, box-shadow .2s ease;
}

.input--dark::placeholder,
.textarea--dark::placeholder{
  color: rgba(255,255,255,.45);
}

.input--dark:focus,
.select--dark:focus,
.textarea--dark:focus{
  border-color: rgba(255,255,255,.38);
  background: rgba(0,0,0,.45);
  box-shadow: 0 0 0 3px rgba(224,32,42,.25);
}

.form__note--dark{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}


/* =========================
   Sections
========================= */
.section{ padding: clamp(52px, 6vw, 84px) 0; }
.section--light{
  background: #fafafa;
  border-top: 1px solid rgba(11,12,16,.06);
  border-bottom: 1px solid rgba(11,12,16,.06);
}
.section--white{ background: #fff; }
.section--dark{ background: var(--dark); }
.section--contrast{
  background: radial-gradient(900px 500px at 15% 20%, rgba(224,32,42,.22), rgba(0,0,0,0) 60%),
              linear-gradient(180deg, var(--dark), #07080b);
}

.section__head{
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 26px;
}
.section__head--dark .muted{ color: var(--darkMuted); }





/* =========================
   HERO FORM
========================= */
.hero-form {
  max-width: 420px;
  background: rgba(255,255,255,.96);
  border-radius: 22px;
  padding: 20px 26px 24px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 4px 12px rgba(0,0,0,.12);
}

.hero-form__title {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}

.hero-form__subtitle {
  font-size: 14px;
  color: rgba(0,0,0,.6);
  margin-bottom: 20px;
}

/* =========================
   FIELDS
========================= */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
}

.field__input,
.field__textarea {
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: rgba(0,0,0,.4);
}

.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(224,32,42,.18);
}

/* =========================
   SUBMIT
========================= */
.hero-form__submit {
  margin-top: 6px;
  height: 52px;
  width: 100%;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(224,32,42,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(224,32,42,.45);
}

/* =========================
   NOTE
========================= */
.hero-form__note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0,0,0,.45);
  line-height: 1.4;
}











/* =========================
   Slider
========================= */
.slider{
  position: relative;
}
.slider__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 4px 2px;
}
.banner{
  background: #fff;
  border: 1px solid rgba(11,12,16,.08);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  min-height: 190px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.banner:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224,32,42,.24);
}
.banner__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  background: rgba(224,32,42,.08);
  border: 1px solid rgba(224,32,42,.18);
}
.banner__icon svg{ width: 22px; height: 22px; }

.slider__controls{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.iconbtn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(11,12,16,.10);
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  font-weight: 900;
}
.iconbtn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }

.dots{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(11,12,16,.18);
  border: 1px solid rgba(11,12,16,.10);
  cursor: pointer;
  transition: width .18s ease, background .18s ease;
}
.dot.is-active{
  width: 24px;
  background: rgba(224,32,42,.70);
  border-color: rgba(224,32,42,.35);
}

/* =========================
   About
========================= */
.grid2{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.bullets{ margin-top: 35px; display: grid; gap: 12px; }
.bullet{
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(11,12,16,.76);
  font-weight: 700;
}
.bullet__mark{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  box-shadow: 0 0 0 6px rgba(224,32,42,.14);
}
.about__actions{ margin-top: 50px; display: flex; gap: 12px; flex-wrap: wrap; }

.facts__card{
  background: #fff;
  border: 1px solid rgba(11,12,16,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.facts__top{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}
.kpi{
  border: 1px solid rgba(11,12,16,.08);
  border-radius: 18px;
  padding: 14px 14px;
  background: #fff;
}
.kpi__num{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.kpi__label{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.facts__media{
  position: relative;
  height: 240px;
}
.facts__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facts__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(11,12,16,.36));
}
.facts__bottom{
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

/* =========================
   Services Cards
========================= */
.cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card{
  background: #fff;
  border: 1px solid rgba(11,12,16,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224,32,42,.22);
}
.card__media{
  position: relative;
  height: 190px;
}
.card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__shade{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 240px at 20% 20%, rgba(224,32,42,.18), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.22));
}
.card__body{
  padding: 18px 18px 18px;
  display: grid;
  gap: 10px;
}
.card__foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tag{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(11,12,16,.58);
  background: rgba(11,12,16,.04);
  border: 1px solid rgba(11,12,16,.08);
  padding: 8px 10px;
  border-radius: 999px;
}

/* =========================
   Advantages (dark)
========================= */
.adv{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: start;
}
.adv__left{
  display: grid;
  gap: 12px;
}
.adv__item{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.adv__item:hover{
  transform: translateY(-1px);
  border-color: rgba(224,32,42,.22);
  background: rgba(255,255,255,.06);
}
.adv__icon{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.case{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.case__media{
  position: relative;
  height: 230px;
}
.case__media img{ width: 100%; height: 100%; object-fit: cover; }
.case__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,16,.12), rgba(11,12,16,.72));
}
.case__body{
  padding: 18px;
  display: grid;
  gap: 10px;
}
.case__meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 2px;
}
.chip{
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* =========================
   Steps
========================= */
.steps{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  border: 1px solid rgba(11,12,16,.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:hover{
  transform: translateY(-1px);
  border-color: rgba(224,32,42,.20);
  box-shadow: var(--shadow-md);
}
.step__num{
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(224,32,42,.10);
  border: 1px solid rgba(224,32,42,.18);
  color: var(--accent);
}

/* =========================
   Contacts
========================= */
.contact{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: start;
}
.contact__list{
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.contact__row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.contact__k{
  color: rgba(255,255,255,.62);
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 12px;
}
.contact__v{
  color: rgba(255,255,255,.90);
  font-weight: 800;
}
.contact__cta{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.footer{
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,255,255,.74);
}
.footer__left{
  display: grid;
  gap: 6px;
}
.footer__brand{
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.88);
}
.footer__copy{ font-size: 12px; }
.footer__right{
  display: flex;
  gap: 14px;
}
.footer__link{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.footer__link:hover{ color: rgba(255,255,255,.92); }

/* =========================
   Modal + Toast
========================= */
.modal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(11,12,16,.62);
  backdrop-filter: blur(6px);
}
.modal__panel{
  position: relative;
  width: min(520px, 100%);
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(11,12,16,.10);
  box-shadow: 0 40px 120px rgba(0,0,0,.30);
  padding: 18px;
  z-index: 1;
}
.modal__panel--wide{ width: min(760px, 100%); }
.modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(11,12,16,.10);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 0;
  display: grid;
  place-items: center;
}
.modal .field__label{ color: rgba(11,12,16,.62); }
.modal .input, .modal .textarea, .modal .select{
  background: #fff;
  border-color: rgba(11,12,16,.12);
  color: rgba(11,12,16,.92);
}
.modal .input::placeholder, .modal .textarea::placeholder{ color: rgba(11,12,16,.42); }
.modal .form__note{ color: rgba(11,12,16,.54); }

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 90;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,12,16,.82);
  color: rgba(255,255,255,.92);
  box-shadow: 0 20px 60px rgba(0,0,0,.30);
  font-weight: 800;
}

/* =========================
   Reveal animation
========================= */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive (минимально, без “второй версии”)
   Desktop-first: адаптив — аккуратно, без переизобретения
========================= */
@media (max-width: 980px){
  .header__inner{ grid-template-columns: 1fr auto; }
  .nav{ display: none; }
  .burger{ display: inline-flex; }
  .hero__inner{ grid-template-columns: 1fr; }
  .hero{ min-height: auto; }
  .form__row{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .adv{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .facts__top{ grid-template-columns: 1fr; }
  .footer{ flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
  .reveal{ opacity: 1; transform: none; }
}


/* =========================
   HARD FIX: hidden attribute
========================= */
[hidden] {
  display: none !important;
}













/* =========================
   Map
========================= */

.map{
  margin-top: 36px;
  border-radius: 28px;
  overflow: hidden;
}

.map__inner{
  position: relative;
  height: 420px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  overflow: hidden;
}

.map__frame{
  width: 100%;
  height: 100%;
}

/* карточка поверх карты */
.map__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map__card{
  pointer-events: auto;
  position: absolute;
  right: 24px;
  top: 24px;
  max-width: 350px;
  background: rgba(11,12,16,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}

.map__title{
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.01em;
}

.map__address{
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}

.map__link{
  margin-top: 10px;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--accent);
}











/* =========================
   Floating CTA
========================= */

.floating-cta{
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  z-index: 95;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 0 0 0 rgba(224,32,42,.6),
    0 18px 40px rgba(224,32,42,.55);

  animation: ctaGlow 3s infinite;
}

.floating-cta__icon img{
  width: 31px;
  height: 31px;
  display: block;
  filter: brightness(0) invert(1);
}


.floating-cta:hover{
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 20px 40px rgba(224,32,42,.6);
}

/* Иконка */
.floating-cta__icon{
  position: relative;
  z-index: 2;
  font-size: 22px;
  color: #fff;
  font-weight: 900;
}

/* Пульсация */
.floating-cta__pulse{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(224,32,42,.55);
  animation: ctaPulse 2s infinite;
}


@keyframes ctaPulse{
  0%{
    transform: scale(1);
    opacity: .7;
  }
  50%{
    transform: scale(1.8);
    opacity: 0;
  }
  100%{
    opacity: 0;
  }
}

@keyframes ctaGlow{
  0%{
    box-shadow:
      0 0 0 0 rgba(224,32,42,.6),
      0 18px 40px rgba(224,32,42,.45);
  }
  50%{
    box-shadow:
      0 0 0 14px rgba(224,32,42,.12),
      0 22px 46px rgba(224,32,42,.65);
  }
  100%{
    box-shadow:
      0 0 0 0 rgba(224,32,42,.6),
      0 18px 40px rgba(224,32,42,.45);
  }
}














.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform .3s ease;
}


.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-nav {
  display: grid;
  gap: 14px;
}

.mobile-nav__link {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.mobile-menu__meta {
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 18px;
}

.mobile-phone {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.mobile-note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}



.no-scroll {
  overflow: hidden;
}








@media (max-width: 1080px){

  .nav{
    display: none;
  }

  .burger{
    display: flex;
  }

  .header__right{
    margin-left: auto;          /* 🔑 КЛЮЧЕВО */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
  }

  .manager{
    flex-shrink: 0;             /* 🔑 НЕ ДАЁМ ЦЕНТРОВАТЬСЯ */
  }

  .phonebox{
    display: none;
  }

  .manager__text{
    display: none;
  }
}







@media (max-width: 768px) {

  /* HEADER */
  .header__inner {
    padding: 12px 0;
  }

  .logo img {
    height: 44px;
  }

  /* HERO */
  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 42px 0 32px;
  }

  .hero-form {
    max-width: 100%;
    margin-top: 26px;
  }

  /* SERVICES */
  .services-catalog__grid {
    grid-template-columns: 1fr;
  }

  .service-cat {
    grid-template-columns: 64px 1fr;
    padding: 18px 0;
  }

  .service-cat:nth-child(odd),
  .service-cat:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  /* ABOUT */
  .grid2 {
    grid-template-columns: 1fr;
  }

  /* ADV */
  .adv {
    grid-template-columns: 1fr;
  }

  /* STEPS */
  .steps {
    grid-template-columns: 1fr;
  }

  /* CONTACTS */
  .contact {
    grid-template-columns: 1fr;
  }

  .contact__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}



@media (max-width: 1080px){
.whatsapp-btn{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 22px -1px;
  border-radius: 9px;
  background: #25D366;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37,211,102,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
}




@media (max-width: 768px){
.service-cat__title {
  font-size: 16px;
  font-weight: 700;
  margin-left: 32px;
  line-height: 1.35;
  color: rgba(11,12,16,.9);
}
}







@media (max-width: 460px){

  /* Скрываем менеджера целиком */
  .manager{
    display: none;
  }

  /* Чуть выравниваем бургер */
  .burger{
    margin-left: auto;
  }

}








/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .35s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__inner {
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

/* HEAD */
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mobile-menu__logo {
  height: 36px;
}

.mobile-menu__close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(11,12,16,.12);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* NAV */
.mobile-nav {
  display: grid;
  gap: 10px;
}

.mobile-nav__link {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(11,12,16,.08);
  font-weight: 800;
  font-size: 16px;
  color: #0b0c10;
  background: #fff;
}

/* MANAGER */
.mobile-manager {
  margin-top: 24px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(11,12,16,.04);
  display: flex;
  gap: 14px;
  align-items: center;
}

.mobile-manager__avatar {
  position: relative;
  width: 48px;
  height: 48px;
}

.mobile-manager__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.mobile-manager__pulse {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.mobile-manager__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-manager__text {
  font-size: 13px;
  font-weight: 700;
}

/* WhatsApp */
.mobile-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.mobile-whatsapp img {
  width: 18px;
}

/* CONTACTS */
.mobile-contacts {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(11,12,16,.08);
  text-align: center;
}

.mobile-phone {
  font-weight: 900;
  font-size: 18px;
  display: block;
}

.mobile-note {
  font-size: 12px;
  color: rgba(11,12,16,.5);
  margin-top: 4px;
}














.contact__socials-new{
  display: flex;
  gap: 9px; /* расстояние между кружками */
  margin-top: 1px;
}

.social-new{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 30%;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-new img{
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Цвета для каждой соцсети */
.social-new--tg{ background-color: #229ED9; }      /* Telegram синий */
.social-new--max{ background-color: #7130E5; }     /* MAX оранжевый */
.social-new--avito{ background-color: #FFFFFF; box-shadow: 0 4px 10px rgba(0, 160, 233, 0.35); }   /* Avito голубой */

/* hover эффект */
.social-new:hover{
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

