 :root {
  --bg: #0f1724;
  --bg2: #131d2b;
  --bg3: #172335;
  --bg4: #203047;
  --accent: #9b2d30;
  --accent-dark: #7f2428;
  --text: #f2eadf;
  --text2: #c8bdad;
  --text3: #918879;
  --gold: #d9a441;
  --line: rgba(242, 234, 223, .10);
  --line2: rgba(242, 234, 223, .16);
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: 'Oswald', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; padding-top: 64px; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, textarea { font-family: inherit; font-size: 16px; }
::selection { background: var(--accent); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; line-height: 1.15; transition: background-color .2s, border-color .2s, color .2s, transform .2s; text-align: center; }
.btn--red { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn--red:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: rgba(15, 23, 36, .55); color: var(--text); border: 1px solid var(--line2); }
.btn--ghost:hover { background: rgba(242, 234, 223, .08); border-color: rgba(242, 234, 223, .32); }
.btn--block { width: 100%; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(15, 23, 36, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__bar { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
.logo__mark svg { width: 22px; height: 22px; color: #fff; }
.logo__text { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); line-height: 1; }
.logo__text--accent { color: var(--accent); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 14px; font-weight: 600; color: var(--text2); transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.nav__phone:hover { color: var(--accent); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 999px; transition: .25s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; inset: 64px 0 0; z-index: 99; background: var(--bg); padding: 24px; flex-direction: column; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 19px; font-weight: 700; padding: 16px 0; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }

section { padding: 84px 0; position: relative; }
section[id] { scroll-margin-top: 80px; }
.tag { display: inline-block; margin-bottom: 12px; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--text); margin-bottom: 16px; }
.h2-accent { color: var(--text); }
.section-sub { font-size: 16px; line-height: 1.65; color: var(--text2); max-width: 650px; }
.section-head { margin-bottom: 42px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

.hero { position: relative; min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); padding: 76px 0; display: flex; align-items: center; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-poster, .hero__bg-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg-poster img, .hero__bg-video { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; filter: saturate(1) contrast(1.06) brightness(.9); }
.hero__bg-poster { display: block; }
.hero__bg-video { z-index: 1; }
.hero__bg-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(15,23,36,.94) 0%, rgba(15,23,36,.74) 42%, rgba(15,23,36,.32) 100%), linear-gradient(180deg, rgba(15,23,36,.10) 0%, rgba(15,23,36,.80) 100%); }
.hero__content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }
.hero__eyebrow { display: inline-block; margin-bottom: 14px; color: var(--gold); font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__title { max-width: 830px; margin-bottom: 20px; color: var(--text); font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: .98; letter-spacing: -.04em; }
.hero__title-accent { color: var(--text); display: block; }
.hero__offer { max-width: 620px; margin-bottom: 28px; color: rgba(242,234,223,.88); font-size: clamp(16px, 1.8vw, 21px); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__adv-carousel { display: flex; flex-wrap: wrap; gap: 12px; max-width: 880px; }
.hero__adv-item { min-width: 170px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(19,29,43,.78); border: 1px solid rgba(242,234,223,.12); }
.hero__adv-item b { display: block; color: var(--text); font-size: 16px; font-weight: 800; line-height: 1.2; }
.hero__adv-item span { display: block; margin-top: 3px; color: var(--text2); font-size: 13px; line-height: 1.35; }

.advantages, .works, .form-section, .footer { background: var(--bg); }
.services, .reviews, .contact { background: var(--bg2); }
.adv__grid, .services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv__card, .svc, .review, .form, .contact__channel { background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.adv__card, .svc { padding: 26px; transition: border-color .2s, transform .2s; }
.adv__card:hover, .svc:hover, .contact__channel:hover { border-color: rgba(242,234,223,.24); }
.adv__icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 12px; background: rgba(155,45,48,.18); color: #f2b3b5; font-size: 20px; font-weight: 800; }
.adv__card h4, .svc h3 { margin-bottom: 8px; color: var(--text); font-size: 19px; font-weight: 800; line-height: 1.25; }
.adv__card p, .svc p { color: var(--text2); font-size: 14px; line-height: 1.62; }
.svc { display: flex; flex-direction: column; min-height: 100%; position: relative; }
.svc__badge { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(155,45,48,.18); color: #f2b3b5; font-size: 12px; font-weight: 800; }
.svc__num { margin-bottom: 10px; color: var(--accent); font-size: 28px; font-weight: 900; line-height: 1; }
.svc__time { margin-top: auto; align-self: flex-start; padding-top: 14px; color: var(--text2); font-size: 13px; font-weight: 700; }

.works__viewport { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.works__carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; overflow: visible; padding: 0; cursor: default; }
.works__item { margin: 0; padding: 10px; background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 10px; overflow: hidden; }
.ba__side { position: relative; overflow: hidden; background: var(--bg2); border-radius: 10px; }
.ba__side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
.ba__label { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; color: #fff; background: rgba(15,23,36,.78); font-size: 12px; font-weight: 800; }
.ba__label--before { background: rgba(155,45,48,.86); }
.ba__label--after { background: rgba(28,98,63,.86); }
.works__cap { padding: 14px 6px 2px; color: var(--text2); font-size: 14px; font-weight: 700; text-align: center; }
.works__nav, .works__hint { display: none; }

.reviews__carousel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; overflow: visible; }
.review { grid-column: span 2; padding: 24px; }
.review:nth-child(4) { grid-column: 2 / span 2; }
.review:nth-child(5) { grid-column: 4 / span 2; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg4); color: var(--text); font-weight: 800; flex-shrink: 0; }
.review__name { color: var(--text); font-size: 16px; font-weight: 800; }
.review__meta { color: var(--text3); font-size: 12px; }
.review__stars { margin-bottom: 10px; color: #f5b84b; font-size: 14px; }
.review__text { color: var(--text); font-size: 14px; line-height: 1.62; }
.reviews__hint { display: none; }

.form-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 500px); gap: clamp(40px, 5vw, 76px); align-items: center; }
.form-section__text { max-width: 620px; }
.form-section__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.form-section__list li { display: flex; gap: 10px; color: var(--text2); font-size: 15px; }
.form-section__list li::before { content: ''; width: 7px; height: 7px; margin-top: .7em; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.form { display: flex; flex-direction: column; gap: 13px; padding: 30px; }
.form__head { margin-bottom: 2px; color: var(--text); font-size: 24px; font-weight: 900; }
.form label { display: flex; flex-direction: column; gap: 7px; color: var(--text2); font-size: 13px; font-weight: 800; }
.form input, .form textarea { padding: 14px 15px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, box-shadow .2s; font-size: 16px; }
.form input:focus, .form textarea:focus { outline: 0; border-color: rgba(155,45,48,.75); box-shadow: 0 0 0 3px rgba(155,45,48,.16); }
.form input.err { border-color: var(--accent); }
.form textarea { resize: vertical; }
.form__err { min-height: 14px; color: #e36f6f; font-size: 12px; font-weight: 700; }
.form__ok { padding: 14px; border-radius: var(--radius-sm); background: rgba(155,45,48,.16); color: var(--text); text-align: center; font-size: 14px; font-weight: 800; }
.form__hint { color: var(--text3); text-align: center; font-size: 12px; }
.form__hint a { color: var(--text2); text-decoration: underline; }

.contact__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); gap: 34px; align-items: stretch; }
.contact__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.contact__channel { display: flex; align-items: center; gap: 14px; padding: 18px; transition: border-color .2s; }
.contact__channel-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(155,45,48,.18); color: #f2b3b5; }
.contact__channel-icon svg { width: 22px; height: 22px; }
.contact__channel--phone .contact__channel-icon { background: rgba(217,164,65,.15); color: var(--gold); }
.contact__channel-body b { display: block; color: var(--text); font-size: 17px; font-weight: 900; }
.contact__channel-body span { color: var(--text2); font-size: 13px; }
.contact__addr { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); }
.contact__addr-item { display: flex; flex-direction: column; gap: 4px; }
.contact__addr-item .label { color: var(--accent); font-size: 12px; font-weight: 900; }
.contact__addr-item .value { color: var(--text); font-size: 15px; }
.contact__addr-item a.value:hover { color: var(--text2); }

.footer { padding: 48px 0 28px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 46px; margin-bottom: 32px; }
.footer__brand p { max-width: 430px; margin-top: 14px; color: var(--text3); font-size: 14px; line-height: 1.65; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__col h5 { margin-bottom: 12px; color: var(--text); font-size: 13px; font-weight: 900; }
.footer__col a, .footer__col span { display: block; margin-bottom: 8px; color: var(--text2); font-size: 14px; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text3); font-size: 12px; }
.footer__bottom a { color: var(--text3); text-decoration: underline; }
.footer__bottom a:hover { color: var(--text2); }

.fab-group { position: fixed; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .2s; }
.fab svg { width: 24px; height: 24px; }
.fab--call { background: var(--accent); }
.fab--call:hover { background: var(--accent-dark); }
.fab--tg { background: #2a8bd9; }
.fab--tg:hover { background: #1f78be; }
.fab::after { display: none; }

@media (min-width: 1360px) { :root { --maxw: 1320px; } }
@media (min-width: 1680px) { :root { --maxw: 1440px; } }
@media (hover: hover) { .btn--red:hover, .btn--ghost:hover, .adv__card:hover, .svc:hover { transform: translateY(-2px); } }
@media (max-width: 1023px) { .adv__grid, .services__grid { grid-template-columns: repeat(2, 1fr); } .reviews__carousel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .review, .review:nth-child(4), .review:nth-child(5) { grid-column: auto; } .form-section__inner, .contact__grid { grid-template-columns: 1fr; } .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .nav__links, .nav__phone { display: none; } .nav__burger { display: flex; } .hero__bg-video { display: none; } }
@media (max-width: 640px) {
  .container, .hero__content { padding: 0 18px; }
  section { padding: 54px 0; }
  .section-head { margin-bottom: 28px; }
  .h2 { font-size: 30px; line-height: 1.14; }
  .section-sub { font-size: 14px; }
  .nav__bar { padding: 0 18px; }
  .logo__mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo__text { font-size: 18px; }
  .mobile-menu { padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .mobile-menu a { font-size: 18px; padding: 15px 0; }
  .hero { min-height: calc(100svh - 64px); max-height: 760px; padding: 96px 0 44px; align-items: flex-end; }
  .hero__bg-poster img, .hero__bg-video { object-position: 60% center; }
  .hero__bg-overlay { background: linear-gradient(180deg, rgba(15,23,36,.20) 0%, rgba(15,23,36,.55) 40%, rgba(15,23,36,.88) 75%, rgba(15,23,36,.98) 100%); }
  .hero__eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 12px; }
  .hero__title { font-size: clamp(33px, 9.2vw, 46px); line-height: 1.03; letter-spacing: -.03em; margin-bottom: 14px; }
  .hero__title-accent { color: var(--gold); }
  .hero__offer { font-size: 15px; line-height: 1.55; margin-bottom: 24px; max-width: 38ch; }
  .hero__cta { flex-direction: column; gap: 10px; margin-bottom: 26px; }
  .hero__cta .btn { width: 100%; }
  .hero__adv-carousel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  .hero__adv-item { min-width: 0; padding: 14px; background: rgba(19,29,43,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: rgba(242,234,223,.14); }
  .hero__adv-item b { font-size: 15px; }
  .hero__adv-item span { font-size: 12px; }
  .adv__grid, .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .adv__card, .svc { padding: 20px 18px; }
  .svc__badge { position: static; display: inline-block; }
  .works__viewport { padding: 0 18px; }
  .works__carousel { grid-template-columns: 1fr; gap: 20px; }
  .works__item { padding: 10px; }
  .ba { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ba__side img { aspect-ratio: 3 / 4; }
  .ba__label { left: 8px; bottom: 8px; padding: 4px 10px; font-size: 11px; }
  .works__cap { font-size: 13px; padding-top: 12px; }
  .reviews__carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 18px 6px; }
  .review { flex: 0 0 min(86vw, 340px); scroll-snap-align: center; padding: 20px; }
  .form { padding: 22px 18px; }
  .contact__map, .contact__map iframe { min-height: 280px; }
  .footer { padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .fab { width: 46px; height: 46px; }
  .fab svg { width: 21px; height: 21px; }
  .fab-group { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
}
@media (max-width: 400px) { .hero__title { font-size: 30px; } .h2 { font-size: 26px; } .footer__cols { grid-template-columns: 1fr; } }
