﻿:root {
  --bg: #0d0d0d;
  --section: #141414;
  --card: #1a1a1a;
  --card-soft: rgba(26, 26, 26, 0.86);
  --line: #2a2a2a;
  --text: #e2e2e2;
  --muted: #9a9a9a;
  --soft: #c9c9c9;
  --accent: #e8c96d;
  --accent-strong: #c9a84c;
  --black: #070707;
  --container: 1200px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

section {
  scroll-margin-top: 80px;
}

:focus-visible {
  outline: 3px solid rgba(232, 201, 109, 0.48);
  outline-offset: 3px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 80px;
  padding: 0 32px;
  background: rgba(9, 9, 9, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1;
}

.brand-text strong {
  font-family: Oswald, Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-text small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 180ms ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: #2aabee;
  border-radius: var(--radius);
}

.messenger-link svg,
.floating-telegram svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 64px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.96) 0%, rgba(7, 7, 7, 0.82) 43%, rgba(7, 7, 7, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.08) 0%, rgba(13, 13, 13, 0.9) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 620px);
  gap: 32px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  font-family: Oswald, Inter, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(40px, 4vw, 52px);
  line-height: 1.08;
}

h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof span {
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(232, 201, 109, 0.4);
  background: rgba(0, 0, 0, 0.42);
  border-radius: var(--radius);
}

.lead-card {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid rgba(232, 201, 109, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.hero-lead-card {
  max-width: 460px;
  margin-top: 24px;
  padding: 24px;
}

.hero-lead-card .form-title {
  font-size: 26px;
}

.form-title {
  margin-bottom: 0;
  color: #fff;
  font-family: Oswald, Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.form-note,
.lead-card small {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.lead-card label {
  display: grid;
  gap: 8px;
}

.lead-card label span {
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.lead-card input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.lead-card input::placeholder {
  color: #777;
}

.button {
  width: 100%;
  min-height: 56px;
  padding: 0 32px;
  color: var(--black);
  font-weight: 900;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: 96px 0;
}

.services-section,
.contacts-section {
  background: var(--section);
}

.section-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-head p:last-child,
.cta-copy > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.case-card,
.review-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  display: grid;
  grid-template-rows: 248px 1fr;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
  transition: transform 320ms ease, filter 320ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 201, 109, 0.56);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

.service-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.03) contrast(1.08);
}

.service-body {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.service-body h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--accent);
  transition: width 220ms ease;
}

.service-card:hover .service-body h3::before {
  width: 72px;
}

.service-body p,
.case-copy p,
.review-card p {
  color: var(--muted);
  line-height: 1.6;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.service-meta span {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.service-meta small {
  color: var(--muted);
  font-weight: 800;
}

.service-body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: var(--accent);
  font-weight: 900;
  border: 1px solid rgba(232, 201, 109, 0.38);
  border-radius: var(--radius);
}

.before-after-section {
  background: var(--bg);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 201, 109, 0.42);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.compare figure {
  position: relative;
  margin: 0;
  height: 180px;
  overflow: hidden;
  background: #090909;
}

.compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: 4px;
}

.case-copy {
  padding: 24px;
}

.case-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-copy strong {
  display: block;
  margin-top: 16px;
  color: #fff;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.fact-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid var(--accent);
}

.fact-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.fact-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(232, 201, 109, 0.05), rgba(232, 201, 109, 0)),
    var(--bg);
}

.reviews-head {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.review-controls {
  display: flex;
  gap: 8px;
}

.review-controls button {
  width: 48px;
  height: 48px;
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.review-window {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 16px;
  transition: transform 220ms ease;
}

.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 288px;
  padding: 32px;
}

.stars {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 18px;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card strong {
  margin-top: 24px;
  color: #fff;
}

.review-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.review-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
}

.review-dots button.is-active {
  width: 32px;
  background: var(--accent);
  border-radius: 999px;
}

.cta-section {
  background: var(--section);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: 64px;
  align-items: center;
}

.cta-copy {
  max-width: 760px;
}

.cta-photo {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: #0c0c0c;
}

.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
  display: block;
}

.lead-card-light {
  background: var(--card);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.contact-lines a,
.contact-lines span {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.map-wrap {
  min-height: 400px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: grayscale(0.8) contrast(1.05) brightness(0.82);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border: 0;
}

.floating-telegram {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  background: #2aabee;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.footer {
  padding: 32px 0;
  color: var(--muted);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer a {
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  body.nav-open .site-nav {
    position: fixed;
    inset: 80px 0 auto;
    display: grid;
    gap: 0;
    padding: 8px 32px 24px;
    background: rgba(9, 9, 9, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .cta-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .lead-card {
    max-width: 520px;
  }

  .services-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .topbar {
    min-height: 72px;
    padding: 0 16px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-text small {
    font-size: 10px;
  }

  body.nav-open .site-nav {
    inset: 72px 0 auto;
    padding-inline: 16px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.72) 62%, var(--bg) 100%);
  }

  .hero-image {
    object-position: 64% 50%;
  }

  .hero-grid {
    gap: 24px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-lead,
  .section-head p:last-child,
  .cta-copy > p,
  .contact-copy > p {
    font-size: 16px;
  }

  .hero-lead {
    margin-bottom: 24px;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof span {
    padding: 8px 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .services-grid,
  .case-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-rows: 232px 1fr;
  }

  .compare figure {
    height: 204px;
  }

  .reviews-head {
    display: grid;
  }

  .review-card {
    flex-basis: 88%;
    min-height: 320px;
  }

  .cta-photo {
    aspect-ratio: 4 / 3;
  }

  .cta-photo img {
    height: 100%;
    object-position: 50% 50%;
  }

  .floating-telegram {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 36px;
  }

  .lead-card {
    gap: 12px;
    padding: 20px;
  }

  .form-title {
    font-size: 28px;
  }

  .lead-card input,
  .button {
    min-height: 52px;
  }

  .hero-proof {
    display: grid;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare figure {
    height: 190px;
  }

  .contact-lines a,
  .contact-lines span {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

