/* ============================================================
   МВ-Сервис — Лендинг
   ============================================================ */

/* — Header — */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(247,248,245,.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 4px; margin: 0 11px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--emerald-500); transition: right .3s var(--ease);
}
.nav-links a:hover { color: var(--emerald-700); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); font-size: 15px; }
.nav-phone svg { width: 17px; height: 17px; color: var(--emerald-600); }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .3s var(--ease); }
.burger.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* — Hero — */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5.6vw, 74px); letter-spacing: -.032em; line-height: 1.05; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--emerald-600); }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(52%) rotate(2deg); transform-origin: bottom;
  transition: opacity .85s var(--ease), transform .85s var(--ease); }
.hero-title.in .w { opacity: 1; transform: none; }
.hero-lead { margin-top: 26px; max-width: 520px; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .t { }
.hero-trust .num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; }
.hero-trust .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; max-width: 130px; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  aspect-ratio: 4/5; background: var(--paper-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -28px; bottom: 46px; background: #fff; border-radius: var(--r-md);
  padding: 18px 22px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.hero-badge { animation: floatY 5.5s ease-in-out infinite; }
.hero-chip-top { animation: floatY 4.5s ease-in-out infinite .4s; }
.hero-badge .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-600); display: grid; place-items: center; flex: none; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge .tt { font-weight: 800; font-size: 15px; }
.hero-badge .ss { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.hero-chip-top {
  position: absolute; right: -18px; top: 34px; background: var(--ink); color: #fff;
  border-radius: var(--r-full); padding: 11px 18px; font-size: 13.5px; font-weight: 700;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 9px;
}
.hero-chip-top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-300); animation: pulseDot 2.2s ease-out infinite; }
.hero-glow { position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .5;
  background: radial-gradient(circle, rgba(26,165,116,.4), transparent 65%); top: -120px; right: -160px;
  animation: floatGlow 16s ease-in-out infinite; }

/* — Marquee логотипы/сервисы — */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: #fff; }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 34s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.marquee-item svg { width: 20px; height: 20px; color: var(--emerald-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* — Секция общая — */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px); margin-top: 18px; }
.section-head p { margin-top: 18px; }

/* — Услуги — */
.services { background: var(--paper-2); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--card); border-radius: var(--r-lg); padding: 32px; position: relative;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.service-card .ic {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--emerald-50), #fff); color: var(--emerald-600);
  border: 1px solid var(--line); margin-bottom: 22px; transition: .4s var(--ease);
}
.service-card:hover .ic { background: var(--emerald-600); color: #fff; border-color: transparent; transform: rotate(-6deg); }
.service-card .ic svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 20px; font-weight: 700; }
.service-card p { margin-top: 11px; color: var(--muted); font-size: 14.5px; }
.service-card .num { position: absolute; top: 26px; right: 30px; font-family: var(--font-display); font-size: 15px; color: var(--faint); }
.service-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--emerald-700); opacity: 0; transform: translateY(4px); transition: .3s var(--ease); }
.service-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card:hover .service-more { opacity: 1; transform: none; }
.service-card:hover .service-more svg { transform: translateX(4px); }
@media (hover: none) { .service-more { opacity: 1; transform: none; } }

/* — Полоса статистики — */
.stats { background: var(--emerald-800); color: #fff; position: relative; overflow: hidden; }
.stats::before { content:""; position:absolute; inset:0; background:
  radial-gradient(circle at 15% 20%, rgba(26,165,116,.35), transparent 45%),
  radial-gradient(circle at 85% 90%, rgba(182,145,63,.22), transparent 42%); }
.stats .wrap { position: relative; }
.stats-grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 62px); line-height: 1; }
.stat .num small { font-size: .5em; color: var(--emerald-300); }
.stat .lbl { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 15px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* — О компании / split — */
.about-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.about-photos { position: relative; }
.about-photos .big { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 3/4; }
.about-photos .big img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .small {
  position: absolute; right: -24px; bottom: -30px; width: 54%; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-lg); border: 6px solid #fff; aspect-ratio: 4/3;
}
.about-photos .small img { width: 100%; height: 100%; object-fit: cover; }
.about-list { margin-top: 30px; display: grid; gap: 18px; }
.about-item { display: flex; gap: 16px; align-items: flex-start; }
.about-item .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-600); display: grid; place-items: center; flex: none; }
.about-item .ic svg { width: 20px; height: 20px; }
.about-item h4 { font-size: 17px; font-weight: 700; }
.about-item p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* — BENTO преимущества — */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 212px 212px 158px; gap: 18px; margin-top: 50px;
  grid-template-areas:
    "hero hero img1 stat"
    "hero hero feat img2"
    "wide wide wide wide";
}
.bento-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.bt-hero { grid-area: hero; } .bt-img1 { grid-area: img1; } .bt-stat { grid-area: stat; }
.bt-feat { grid-area: feat; } .bt-img2 { grid-area: img2; } .bt-wide { grid-area: wide; }

.bt-hero { background: linear-gradient(155deg, var(--emerald-700), var(--emerald-900)); border: none; color: #fff; padding: 32px; display: flex; flex-direction: column; }
.bt-hero .bt-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(80px); top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(26,165,116,.5), transparent 65%); animation: floatGlow 15s ease-in-out infinite; }
.bt-hero > * { position: relative; z-index: 1; }
.bt-badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald-300);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 6px 13px; border-radius: 99px; }
.bt-hero h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); margin: 16px 0 12px; line-height: 1.12; }
.bt-hero > p { color: rgba(255,255,255,.78); font-size: 14.5px; }
.bt-metrics { display: flex; gap: 26px; margin: auto 0 20px; }
.bt-metrics b { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; }
.bt-metrics b small { font-size: .5em; color: var(--emerald-300); }
.bt-metrics span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 5px; }
.bt-hero .btn { align-self: flex-start; }

.bt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bt-img:hover img { transform: scale(1.07); }
.bt-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,37,27,.55), transparent 45%); }
.bt-cap { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.bt-cap .chip { background: rgba(255,255,255,.92); color: var(--emerald-700); }

.bt-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--emerald-50); color: var(--emerald-600); flex: none; }
.bt-ic svg { width: 23px; height: 23px; }
.bt-ic.em { background: linear-gradient(150deg, var(--emerald-500), var(--emerald-700)); color: #fff; box-shadow: var(--sh-emerald); }

.bt-stat { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.bt-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); color: var(--emerald-700); margin-top: 16px; line-height: 1; }
.bt-lbl { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

.bt-feat { padding: 26px; display: flex; flex-direction: column; }
.bt-feat h4 { font-size: 17px; font-weight: 700; margin-top: 16px; }
.bt-feat p { color: var(--muted); font-size: 13.5px; margin-top: 7px; }

.bt-wide { display: flex; align-items: center; gap: 22px; padding: 24px 30px; }
.bt-wide-txt { flex: 1; min-width: 0; }
.bt-wide-txt h4 { font-size: 19px; font-weight: 700; }
.bt-wide-txt p { color: var(--muted); font-size: 14px; margin-top: 5px; }
.bt-wide-metric { flex: none; text-align: center; padding-left: 24px; border-left: 1px solid var(--line); }
.bt-wide-metric b { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--emerald-700); display: block; line-height: 1; }
.bt-wide-metric span { font-size: 12px; color: var(--muted); }

/* — Объекты / направления — */
.objects-grid { grid-template-columns: repeat(4, 1fr); }
.object-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--sh-md); }
.object-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.object-card:hover img { transform: scale(1.07); }
.object-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(6,37,27,.86) 4%, rgba(6,37,27,.15) 46%, transparent 70%); }
.object-card .cap { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; color: #fff; }
.object-card .cap h4 { font-size: 19px; font-weight: 700; }
.object-card .cap p { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 4px; }

/* — Процесс — */
.process { background: var(--paper-2); }
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: st; }
.step { position: relative; padding-top: 30px; }
.step::before { content: counter(st, decimal-leading-zero); counter-increment: st;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--emerald-600);
  position: absolute; top: 0; left: 0; }
.step .bar { height: 3px; background: var(--line-2); border-radius: 3px; position: relative; margin-bottom: 22px; }
.step .bar::after { content:""; position:absolute; left:0; top:0; height:100%; width:34%; background: var(--emerald-500); border-radius: 3px; }
.step h4 { font-size: 19px; font-weight: 700; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* — Кабинеты промо — */
.portal { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.portal::before { content:""; position:absolute; width: 700px; height: 700px; border-radius:50%; filter: blur(120px);
  background: radial-gradient(circle, rgba(18,138,95,.4), transparent 62%); top: -260px; left: -180px; }
.portal .wrap { position: relative; }
.portal .section-head h2 { color: #fff; }
.portal .section-head p { color: rgba(255,255,255,.7); }
.portal-grid { grid-template-columns: repeat(2, 1fr); }
.portal-card {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 38px;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.portal-card:hover { transform: translateY(-6px); border-color: rgba(26,165,116,.5); }
.portal-card .tag { display: inline-flex; align-items:center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald-300); }
.portal-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; margin: 16px 0 12px; }
.portal-card > p { color: rgba(255,255,255,.72); font-size: 15px; }
.portal-features { margin: 24px 0 30px; display: grid; gap: 13px; }
.portal-features li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.85); }
.portal-features li svg { width: 19px; height: 19px; color: var(--emerald-300); flex: none; margin-top: 2px; }

/* — Отзывы — */
.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.review .stars { color: var(--brass); display: flex; gap: 3px; margin-bottom: 16px; }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.review .who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.review .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.review .who .nm { font-weight: 700; font-size: 15px; }
.review .who .rl { font-size: 13px; color: var(--muted); }

/* — FAQ — */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--emerald-300); box-shadow: var(--sh-md); }
.faq-q { display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq-q .qi { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; background: var(--emerald-50); color: var(--emerald-600); display: grid; place-items: center; flex: none; transition: .3s var(--ease); }
.faq-q .qi svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.faq-item.open .qi { background: var(--emerald-600); color: #fff; }
.faq-item.open .qi svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* — CTA + форма — */
.cta { padding: clamp(70px, 9vw, 120px) 0; }
.cta-box {
  background: linear-gradient(155deg, var(--emerald-700), var(--emerald-900));
  border-radius: var(--r-xl); padding: clamp(34px, 5vw, 66px); color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.cta-box::before { content:""; position:absolute; width: 500px; height: 500px; border-radius:50%; filter: blur(110px);
  background: radial-gradient(circle, rgba(182,145,63,.3), transparent 60%); right: -180px; bottom: -200px; }
.cta-box .l { position: relative; }
.cta-box h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.8vw, 44px); }
.cta-box p { margin-top: 18px; color: rgba(255,255,255,.8); font-size: 16px; }
.cta-contacts { margin-top: 30px; display: grid; gap: 14px; }
.cta-contacts a, .cta-contacts .ci { display: flex; align-items: center; gap: 13px; font-size: 15.5px; font-weight: 600; }
.cta-contacts .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.cta-contacts .ic svg { width: 18px; height: 18px; }

.lead-form { background: #fff; border-radius: var(--r-lg); padding: 30px; position: relative; box-shadow: var(--sh-lg); }
.lead-form h3 { font-size: 21px; font-weight: 700; color: var(--ink); }
.lead-form .sub { color: var(--muted); font-size: 14px; margin-top: 6px; margin-bottom: 20px; }
.form-note { font-size: 12px; color: var(--faint); margin-top: 12px; text-align: center; }

/* — Страница услуги — */
.svc-hero { position: relative; padding: 140px 0 70px; overflow: hidden; }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--emerald-700); }
.crumbs b { color: var(--ink); font-weight: 700; }
.crumbs span { color: var(--line-2); }
.svc-hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; }
.svc-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero-badge { position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: var(--r-full); padding: 10px 18px 10px 12px; display: flex; align-items: center; gap: 11px; box-shadow: var(--sh-md); font-weight: 700; font-size: 14.5px; }
.svc-hero-badge .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--emerald-600); color: #fff; display: grid; place-items: center; }
.svc-hero-badge .ic svg { width: 19px; height: 19px; }

.svc-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.svc-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-includes li { display: flex; gap: 13px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; font-weight: 600; font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.svc-includes li:hover { border-color: var(--emerald-300); box-shadow: var(--sh-sm); }
.svc-includes .ci { width: 26px; height: 26px; border-radius: 8px; background: var(--emerald-50); color: var(--emerald-600); display: grid; place-items: center; flex: none; }
.svc-includes .ci svg { width: 15px; height: 15px; }

.svc-benefits { grid-template-columns: repeat(3, 1fr); }
.svc-benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.svc-benefit .bn { font-family: var(--font-display); font-size: 30px; color: var(--emerald-300); font-weight: 700; }
.svc-benefit h4 { font-size: 19px; font-weight: 700; margin: 14px 0 8px; }
.svc-benefit p { color: var(--muted); font-size: 14.5px; }

.svc-others { grid-template-columns: repeat(3, 1fr); }

/* — Объекты: портфолио — */
.obj-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.obj-filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-full); border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: .2s var(--ease); }
.obj-filter span { font-size: 12px; color: var(--muted); background: var(--paper-2); border-radius: 99px; padding: 1px 8px; transition: .2s; }
.obj-filter:hover { border-color: var(--emerald-400); color: var(--emerald-700); }
.obj-filter.active { background: var(--emerald-600); border-color: var(--emerald-600); color: #fff; box-shadow: var(--sh-emerald); }
.obj-filter.active span { background: rgba(255,255,255,.22); color: #fff; }

.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.pf-photo { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.portfolio-card:hover .pf-photo img { transform: scale(1.06); }
.pf-type { position: absolute; top: 14px; left: 14px; background: rgba(16,32,26,.72); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; }
.pf-status { position: absolute; bottom: 14px; left: 14px; display: inline-flex; align-items: center; gap: 5px; background: var(--emerald-600); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 99px; }
.pf-status svg { width: 13px; height: 13px; }
.pf-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pf-body h3 { font-size: 19px; font-weight: 700; line-height: 1.2; }
.pf-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 8px; }
.pf-loc svg { width: 15px; height: 15px; flex: none; }
.pf-metrics { display: flex; gap: 26px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pf-metrics .mv { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.pf-metrics .ml { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pf-services { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.pf-tag { font-size: 12px; font-weight: 600; color: var(--emerald-700); background: var(--emerald-50); padding: 5px 11px; border-radius: 99px; }

/* — О компании: история — */
.about-timeline { display: grid; gap: 0; }
.tl-year { display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; transition: background .3s; }
.tl-year:last-child { border-bottom: 1px solid var(--line); }
.tl-year .y { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--emerald-600); line-height: 1; }
.tl-year-body h4 { font-size: 20px; font-weight: 700; }
.tl-year-body p { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 640px; }

/* — О компании: команда — */
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card { text-align: center; }
.team-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--sh-md); margin-bottom: 18px; background: var(--paper-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h4 { font-size: 18px; font-weight: 700; }
.team-card p { color: var(--emerald-700); font-size: 14px; margin-top: 4px; font-weight: 600; }

/* — О компании: лицензии — */
.certs-grid { grid-template-columns: repeat(3, 1fr); }
.cert-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; transition: border-color .3s, box-shadow .3s; }
.cert-card:hover { border-color: var(--emerald-300); box-shadow: var(--sh-sm); }
.cert-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--emerald-50); color: var(--brass); display: grid; place-items: center; flex: none; }
.cert-card .ic svg { width: 24px; height: 24px; }
.cert-card h4 { font-size: 16px; font-weight: 700; }
.cert-card p { color: var(--muted); font-size: 13.5px; margin-top: 5px; }

/* — Footer — */
.footer { background: var(--emerald-900); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: #fff; }
.footer p { font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: var(--emerald-300); }
.footer-contact { display: grid; gap: 13px; }
.footer-contact a, .footer-contact span { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--emerald-300); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; }

/* — Мобильное меню — */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--paper); padding: 100px 24px 40px; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: .4s var(--ease); overflow-y: auto; }
.mobile-menu.open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu a { display: block; padding: 16px 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
.mobile-menu .mm-actions { margin-top: 28px; display: grid; gap: 12px; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .objects-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .svc-benefits, .svc-others { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-photos { max-width: 440px; }
  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro { position: static; }
  .svc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-split { grid-template-columns: 1fr; gap: 30px; }
  .svc-includes { grid-template-columns: 1fr; }
  .tl-year { grid-template-columns: 1fr; gap: 8px; }
  .team-grid, .certs-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat + .stat { border-left: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); padding-top: 34px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: minmax(210px, auto); grid-template-areas: none; }
  .bt-hero, .bt-img1, .bt-stat, .bt-feat, .bt-img2, .bt-wide { grid-area: auto; }
  .bt-hero, .bt-wide { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  /* крупные CTA переносят текст и не вылезают за экран */
  .btn-lg { white-space: normal; text-align: center; max-width: 100%; }
  .hero { padding: 120px 0 60px; }
  .services-grid, .reviews-grid, .objects-grid, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat, .stat:nth-child(n) { border: none; padding-top: 0; }
  .hero-badge { left: 0; }
  .hero-chip-top { right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn span { display: none; }
  .about-photos .small { right: 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(180px, auto); }
  .bt-hero { grid-column: auto; }
  .bt-wide { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 16px; }
  .bt-wide-metric { border-left: none; padding-left: 0; }
}
