
  :root {
    --primary: #1C2B3A;
    --primary-light: #243447;
    --accent: #E8973A;
    --accent-dark: #cf8130;
    --accent2: #5B8A6F;
    --bg: #F5F2EE;
    --bg2: #EDEAE5;
    --text: #1C2B3A;
    --text-light: #6B7280;
    --white: #ffffff;
    --card-shadow: 0 4px 28px rgba(28,43,58,0.09);
    --radius: 14px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-padding-top:100px; 
  }
  h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 800; }
 
  /* MODAL */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(28,43,58,.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }
  .modal {
    background: var(--white); border-radius: 20px;
    padding: 44px 38px; max-width: 420px; width: 92%;
    position: relative;
    transform: translateY(32px) scale(.97);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
  }
  .modal-overlay.open .modal { transform: translateY(0) scale(1); }
  .modal h3 { font-size: 1.5rem; margin-bottom: 6px; color: var(--primary); }
  .modal > p { color: var(--text-light); margin-bottom: 22px; font-size: .88rem; }
  .modal-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 1.3rem; cursor: pointer; color: var(--text-light);
    background: none; border: none; line-height: 1;
  }
  .modal-close:hover { color: var(--text); }
 
  /* FORMS */
  .form-group { margin-bottom: 14px; }
  .form-group label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 5px; color: var(--primary); letter-spacing: .02em; }
  .form-group input {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid #d8d3cc; border-radius: 10px;
    font-family: inherit; font-size: .95rem; background: var(--bg);
    transition: border-color .2s, box-shadow .2s; outline: none;
  }
  .form-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,151,58,.15); }
 
  /* BUTTONS */
  .btn {
    display: inline-block; cursor: pointer; border: none;
    font-family: inherit; font-weight: 700; letter-spacing: .02em;
    border-radius: 8px; transition: transform .15s, box-shadow .18s, background .2s;
    text-decoration: none; white-space: nowrap;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.14); }
  .btn:active { transform: translateY(0); }
  .btn-accent { background: var(--accent); color: var(--white); padding: 13px 26px; font-size: .92rem; }
  .btn-accent:hover { background: var(--accent-dark); }
  .btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); padding: 11px 24px; font-size: .88rem; }
  .btn-outline:hover { background: var(--accent); color: var(--white); }
  .btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.3); padding: 11px 24px; font-size: .88rem; }
  .btn-ghost:hover { background: rgba(255,255,255,.22); }
  .btn-full { display: block; width: 100%; text-align: center; padding: 14px; }
 
  /* HEADER */
  header {
    background: var(--primary);
    position: sticky; top: 0; z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
  }
  .header-inner {
    max-width: 1260px; margin: 0 auto;
    padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; gap: 24px;
  }
  
   .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem; letter-spacing: .06em;
    color: var(--white); text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
  } 
  /* .logo-mark {
    width: 38px; height: 38px; background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
  } */
  .logo-mark{
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 14px;
  position: relative;
  overflow: visible;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:
    0 10px 30px rgba(232,151,58,.35),
    inset 0 1px 0 rgba(255,255,255,.25);

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.logo-mark img{
  width: 72px;
  height: 72px;
  object-fit: contain;

  position:absolute;
  top:-12px;
  left:-12px;

  filter:
    drop-shadow(0 10px 18px rgba(0,0,0,.35));

  transition:
    transform .45s cubic-bezier(.34,1.56,.64,1);
}

.logo:hover .logo-mark{
  transform: rotate(-6deg) scale(1.05);
}

.logo:hover .logo-mark img{
  transform: rotate(8deg) scale(1.08);
}
  nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
  .nav-link {
    color: rgba(255,255,255,.72); text-decoration: none;
    font-size: .85rem; font-weight: 600; letter-spacing: .02em;
    padding: 8px 12px; border-radius: 6px;
    transition: color .2s, background .2s;
  }
  .nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
  .header-cta { flex-shrink: 0; display: flex; align-items: center; gap: 12px; } 
  .header-cta .btn {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: .82rem;
  padding: 11px 16px;
}
  .header-sub {
    background: var(--accent); text-align: center;
    font-size: .75rem; color: var(--white); font-weight: 700;
    padding: 5px 0; letter-spacing: .07em; text-transform: uppercase;
  }
  .nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
  }
   /* .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }  */
   .nav-toggle span { /* АНИМАЦИЯ БУРГЕРА */
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

 
  /* HERO */
  .hero {
    position: relative; min-height: 90vh;
    display: flex; align-items: center; overflow: hidden;
    background: var(--primary);
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: url('photo/bg.avif');
    background-size: cover; background-position: center;
    background-color: #2a3f54;
    transform: scale(1.08);
    will-change: transform;
  }
  .hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(28,43,58,.9) 0%, rgba(28,43,58,.72) 55%, rgba(28,43,58,.38) 100%);
  }
  .hero-bg-hint span {
    background: rgba(255,255,255,.07); border: 1.5px dashed rgba(255,255,255,.22);
    border-radius: 12px; padding: 10px 22px;
    color: rgba(255,255,255,.38); font-size: .78rem; letter-spacing: .04em;
  }
  .hero-content {
    position: relative; z-index: 2;
    max-width: 1260px; margin: 0 auto;
    padding: 100px 28px 80px;
    display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,151,58,.18); border: 1px solid rgba(232,151,58,.4);
    border-radius: 50px; padding: 6px 16px;
    font-size: .73rem; color: var(--accent); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; margin-bottom: 22px;
  }
  .hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    color: var(--white); line-height: 1.04;
    letter-spacing: .03em; margin-bottom: 22px;
  }
  .hero h1 span { color: var(--accent); }
  .hero-sub {
    font-size: 1.03rem; color: rgba(255,255,255,.8);
    margin-bottom: 36px; line-height: 1.75; font-weight: 400;
  }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero-stats {
    display: flex; gap: 0; margin-top: 44px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px; overflow: hidden;
  }
  .hero-stat {
    flex: 1; text-align: center; padding: 18px 12px;
    border-right: 1px solid rgba(255,255,255,.1);
  }
  .hero-stat:last-child { border-right: none; }
  .hero-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem; letter-spacing: .03em;
    color: var(--accent); display: block; line-height: 1;
  }
  .hero-stat-label { font-size: .68rem; color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; display: block; }
  .hero-photo-side { display: flex; justify-content: center; align-items: center; }
  .hero-photo-card {
    width: 100%; max-width: 460px; aspect-ratio: 3/4;
    border-radius: 20px; overflow: hidden;
    border: 2px solid rgba(255,255,255,.14);
    box-shadow: 0 32px 80px rgba(0,0,0,.45);
    background: #243447; position: relative;
  }
  .hero-photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .photo-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px;
    background: linear-gradient(145deg, #1C2B3A 0%, #2a4060 50%, #3a5a45 100%);
    color: rgba(255,255,255,.32); text-align: center; padding: 24px;
  }
  .photo-placeholder p { font-size: .8rem; line-height: 1.5; }
 
  /* SECTION COMMONS */
  section { padding: 88px 28px; }
  .container { max-width: 1260px; margin: 0 auto; }
  .section-tag {
    display: inline-block;
    font-size: .7rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent);
    background: rgba(232,151,58,.1); border: 1px solid rgba(232,151,58,.22);
    border-radius: 50px; padding: 4px 14px; margin-bottom: 14px;
  }
  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    color: var(--text); margin-bottom: 14px; line-height: 1.15; letter-spacing: .03em;
  }
  .section-desc { color: var(--text-light); max-width: 540px; margin-bottom: 48px; font-size: .95rem; line-height: 1.7; }
  
  /* TG-BOT */
#tg-bot {
  background: linear-gradient(135deg, #1C2B3A 0%, #1a3a2a 100%);
  position: relative;
  overflow: hidden;
}
#tg-bot::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(42,171,238,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.tgbot-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.tgbot-text .section-title { color: var(--white); }
.tgbot-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 22px;
}
.tgbot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.tgbot-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  line-height: 1.55;
}
.tgbot-list li strong { color: var(--accent); }
.tgbot-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2AABEE;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(42,171,238,0.35);
}
.btn-tg:hover {
  background: #1a9cd8;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42,171,238,0.45);
}
.tgbot-hint {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  margin-top: 12px;
}
.tgbot-qr-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  width: 260px;
  height: 320px;
}
.tgbot-qr-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B7280;
  margin-bottom: 16px;
}
.tgbot-qr-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #f0f0f0;
}
.tgbot-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tgbot-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0369a1;
}

@keyframes pulse-tg {
  0%, 100% { box-shadow: 0 6px 24px rgba(42,171,238,0.35); }
  50% { box-shadow: 0 6px 40px rgba(42,171,238,0.65); }
}
.btn-tg { animation: pulse-tg 2.5s ease-in-out infinite; }



  /* SERVICES СТАРЫЙ СЕРВИС */
  #services { background: var(--white); }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .service-card {
    background: var(--bg); border-radius: var(--radius);
    overflow: hidden; border: 1px solid rgba(28,43,58,.07);
    box-shadow: var(--card-shadow);
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
  }
   .service-card:hover { transform: translateY(-7px); box-shadow: 0 18px 48px rgba(28,43,58,.14); } 
  .service-img {
    width: 100%; aspect-ratio: 16/10; overflow: hidden;
    background: #d0cbc3; position: relative; flex-shrink: 0;
  }

  .service-card:hover .service-img img {
      transform: scale(1.06);
    }
  .service-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
  .svc-photo-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #c5c0b7 0%, #b5b0a6 100%);
    color: rgba(28,43,58,.38); font-size: .77rem; font-weight: 600;
    letter-spacing: .04em; text-align: center; padding: 12px;
  }
  .service-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
  .service-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
  .service-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; letter-spacing: .04em;
    color: var(--accent); margin-bottom: 8px;
  }
  .service-tag2 {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(91,138,111,.12); color: var(--accent2);
    border-radius: 50px; padding: 4px 12px;
    font-size: .73rem; font-weight: 700; margin-bottom: 12px;
  }
  .service-body p { color: var(--text-light); font-size: .87rem; flex: 1; margin-bottom: 20px; line-height: 1.6; } 


 
  /* PORTFOLIO */
  #portfolio { background: var(--bg); }
  .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .portfolio-card {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--card-shadow); background: var(--white);
    transition: transform .22s, box-shadow .22s;
  }
  .portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(28,43,58,.14); }
  .portfolio-img {
    width: 100%; aspect-ratio: 4/3; overflow: hidden;
    position: relative;
  }
  .portfolio-img img { 
    width: 100%; height: 100%; object-fit: cover; display: block;
} 
  .port-photo-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    color: rgba(28,43,58,.36); font-size: .75rem; font-weight: 600;
    letter-spacing: .04em; text-align: center; padding: 12px;
  }
  .portfolio-info { padding: 20px 22px 24px; }
  .portfolio-tag {
    font-size: .7rem; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 6px; display: block;
  }
  .portfolio-info h3 { font-size: .97rem; margin-bottom: 6px; }
  .portfolio-info p { font-size: .83rem; color: var(--text-light); }
 
  /* WHY */
  #why { background: var(--primary); }
  #why .section-tag { background: rgba(232,151,58,.15); }
  #why .section-title { color: var(--white); }
  #why .section-desc { color: rgba(255,255,255,.6); }
  .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .why-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius); padding: 28px 24px; transition: background .2s;
  }
  .why-card:hover { background: rgba(255,255,255,.11); }
  .why-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem; color: var(--accent); opacity: .7;
    line-height: 1; margin-bottom: 10px; display: block;
  }
  .why-card h4 { font-size: .97rem; color: var(--white); margin-bottom: 8px; }
  .why-card p { font-size: .84rem; color: rgba(255,255,255,.62); line-height: 1.6; }
 
  /* LEAD FORM */
  #contact { background: var(--bg2); }
  .lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .lead-text p { color: var(--text-light); line-height: 1.75; margin-bottom: 24px; font-size: .95rem; }
  .lead-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; margin-bottom: 10px; color: var(--text);
  }
  .lead-check-dot {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; color: var(--white); font-weight: 800; margin-top: 1px;
  }
  .lead-form-box {
    background: var(--white); border-radius: 20px;
    padding: 40px 36px; box-shadow: 0 8px 48px rgba(28,43,58,.1);
  }
  .lead-form-box h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--primary); }
  .lead-form-box > p { font-size: .84rem; color: var(--text-light); margin-bottom: 22px; }
 
  /* HOW */
  #how { background: var(--white); }
  .steps-wrap {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    position: relative; margin-top: 8px;
  }
  .steps-wrap::before {
    content: ''; position: absolute; top: 33px; left: 11%; right: 11%;
    height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); z-index: 0;
  }
  .step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
  .step-num {
    width: 66px; height: 66px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 6px 22px rgba(28,43,58,.28);
    border: 3px solid var(--bg); position: relative;
  }
  .step-num::after {
    content: ''; position: absolute; inset: -4px;
    border-radius: 50%; border: 2px solid var(--accent); opacity: .4;
  }
  .step h4 { font-size: .95rem; margin-bottom: 8px; }
  .step p { font-size: .82rem; color: var(--text-light); line-height: 1.55; }
  
/* АВИТО-КАРУСЕЛЬ ОТЗЫВОВ */
#reviews { background: var(--bg); }

.avito-carousel-wrap { overflow: hidden; }

.avito-track {
  display: flex;
  gap: 18px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.avito-card {
  flex: 0 0 calc(33.33% - 13px);
  background: var(--white);
  border: 1px solid rgba(28,43,58,.09);
  box-shadow: 0 4px 20px rgba(28,43,58,.07);
  padding: 22px 20px 18px;
  box-sizing: border-box;
  transition: transform .22s, box-shadow .22s;
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.avito-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(28,43,58,.13);
}

.avito-card-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}

.avito-carousel-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px;
}
.avito-dots { display: flex; gap: 7px; margin: 0 auto; }
.avito-dot-item {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(28,43,58,.18); cursor: pointer;
  transition: background .2s, transform .2s;
}
.avito-dot-item.active {
  background: var(--accent); transform: scale(1.4);
}
.avito-btns { display: flex; gap: 8px; }
.avito-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(28,43,58,.18);
  background: var(--white); cursor: pointer;
  font-size: 1.3rem; font-weight: 700;
  color: var(--text); line-height: 1;
  transition: background .15s, border-color .15s;
  display: flex; align-items: center; justify-content: center;
}
.avito-btn:hover { background: var(--bg2); border-color: var(--accent); }
.avito-btn:disabled { opacity: .3; cursor: default; }

.highlight-link {
  color: #E8973A; /* Оранжевый цвет */
  font-weight: 700; /* Жирное начертание */
  text-decoration: none; /* Убираем подчёркивание */
  transition: color 0.2s ease; /* Плавный переход цвета при наведении */
}

.highlight-link:hover {
  color: #ff6b00; /* Темнее при наведении */
  text-decoration: underline; /* Подчёркивание при наведении (опционально) */
}

@media (max-width: 1024px) {
  .avito-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 640px) {
  .avito-card { flex: 0 0 100%; }
}



 
  /* FAQ */
  #faq { background: var(--white); }
  .faq-list { max-width: min(740px, 100%); }
  .faq-item { border-bottom: 1px solid rgba(28,43,58,.1); }
  .faq-q {
    width: 100%; background: none; border: none; text-align: left;
    padding: 20px 0; font-family: inherit; font-size: .95rem; font-weight: 700;
    color: var(--text); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
  }
  .faq-q:hover { color: var(--accent); }
  .faq-icon {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; flex-shrink: 0; transition: transform .3s, background .2s;
  }
  .faq-item.open .faq-icon { transform: rotate(180deg); background: var(--accent); }
  .faq-a {
    max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s;
    font-size: .9rem; color: var(--text-light); line-height: 1.65;
  }
  .faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }
 
  /* FOOTER */
  footer { background: var(--primary); color: rgba(255,255,255,.75); }
  .footer-inner { max-width: 1260px; margin: 0 auto; padding: 64px 28px 32px; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr  ; gap: 52px; margin-bottom: 48px; }
  .footer-brand p { font-size: .86rem; line-height: 1.7; margin-top: 14px; color: rgba(255,255,255,.55); }
  .footer-col h4 {
    font-size: .78rem; font-weight: 800; color: var(--white);
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: .1em;
  }
  .footer-col p, .footer-col a {
    font-size: .86rem; color: rgba(255,255,255,.6);
    display: block; text-decoration: none; margin-bottom: 9px;
  }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; font-size: .78rem; color: rgba(255,255,255,.35);
  }
   .footer-link-icon {  /*новое */
  display: flex !important;
  align-items: center;
  gap: 8px;
  }
  .footer-link-icon svg {
  flex-shrink: 0;
  border-radius: 4px;
  }
 
  /* TOAST */
  .toast {
    position: fixed; bottom: 28px; right: 28px; z-index: 2000;
    background: var(--primary); color: var(--white);
    border-radius: 12px; padding: 16px 22px;
    font-weight: 700; font-size: .88rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
    transform: translateY(80px); opacity: 0;
    transition: all .38s cubic-bezier(.34,1.56,.64,1);
    display: flex; align-items: center; gap: 10px;
    border-left: 4px solid var(--accent);
  }
  .toast.show { transform: translateY(0); opacity: 1; }
 
  /* ANIMATIONS */
  .fade-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
  .fade-up:nth-child(2) { transition-delay: .1s; }
  .fade-up:nth-child(3) { transition-delay: .2s; }
  .fade-up:nth-child(4) { transition-delay: .3s; }

 
  /* RESPONSIVE */
  @media (max-width: 1024px) {
    nav { display: none; }
    nav.mobile-open {
      display: flex; flex-direction: column;
      position: absolute; top: 70px; left: 0; right: 0;
      background: var(--primary-light); padding: 16px 28px;
      gap: 4px; z-index: 199; box-shadow: 0 8px 24px rgba(0,0,0,.2);
    }
    .nav-toggle { display: flex; }
    .services-grid, .portfolio-grid, .why-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-wrap { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .steps-wrap::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .lead-wrap { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-photo-side { display: none; }
  }
  @media (max-width: 640px) {
    section { padding: 64px 20px; }
    .services-grid, .portfolio-grid, .why-grid, .reviews-grid { grid-template-columns: 1fr; }
    .steps-wrap { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-btns { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stat { min-width: 45%; }
    .lead-form-box { padding: 28px 22px; }
    .header-inner { padding: 0 18px; } 
  }
  @media (max-width: 420px) {
    .steps-wrap { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
  }
  @media (max-width: 768px) {
  .tgbot-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tgbot-qr {
    display: flex;
    justify-content: center;
  }
  .tgbot-qr-card {
  display: none;
  }
}
@media (max-width: 400px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
}
@media (max-width: 480px) {
  .header-cta .btn {
    display: none; /* скрываем, sticky-bar заменяет */
  }
}
@media (max-width: 768px) {
  .header-cta .btn {
    display: none;
  }
}
@media (max-width: 480px) {
  .modal {
    padding: 32px 22px;
    border-radius: 16px 16px 0 0;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(32px);
  }
  .modal-overlay {
    align-items: flex-end;
  }
}

/* Стили для выпадающего меню */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  color: var(--white);
}

.arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* Скрытое меню по умолчанию */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary);
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Показ меню при наведении */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(232, 151, 58, 0.2);
  color: var(--white);
}

#footer-mascot {  /* cat */
    --xtt-mascot-size: 1;
    --xtt-mascot-size-x: 72px;
    --xtt-mascot-size-y: 54px;
    --xtt-mascot-top-offset: -50px;
    --xtt-mascot-top-offset-mobile: 0px;
    --xtt-mascot-top: calc(var(--xtt-mascot-top-offset) + var(--xtt-mascot-top-offset-mobile));
    --xtt-mascot-h: calc(var(--xtt-mascot-size-y) * var(--xtt-mascot-size));
    --xtt-mascot-w: calc(var(--xtt-mascot-size-x) * var(--xtt-mascot-size));
    z-index: 99;
    position: absolute;
    top: calc(var(--xtt-mascot-top) * var(--xtt-mascot-size));
    left: 18px;
    height: var(--xtt-mascot-h);
    width: var(--xtt-mascot-w);
    background-image: url(/photo/kitty-1.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: calc(var(--xtt-mascot-w) * 2) calc(var(--xtt-mascot-h));
}

#footer-mascot:hover, #footer-mascot:focus {
    background-position: calc(var(--xtt-mascot-w)*-1) 0px;
}



/* 
.consent-group {
  margin-top: 16px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: default;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 0;
}

#m-consent {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  outline: none;
  border: 1px solid #ccc;
  background: white;
  transition: none;
}

#m-consent:checked {
  background-color: #0066cc;
  border-color: #0066cc;
}

#m-consent::after {
  content: '';
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 4px;
  border: solid white;
  border-width: 0 0 2px 2px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

#m-consent:checked::after {
  display: block;
}

.consent-text {
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.consent-text a {
  color: #0066cc;
  text-decoration: none;
  cursor: pointer;
}

.consent-text a:hover {
  text-decoration: underline;
} */



