:root {
  --bg: #0a0a0b;
  --section: #121315;
  --card: #17181b;
  --card-soft: rgba(16, 17, 20, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f2f2f2;
  --muted: #a8adb5;
  --soft: #d9dde4;
  --accent: #e31d25;
  --accent-strong: #ff2a32;
  --black: #050506;
  --container: 1240px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

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

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: 92px;
}

:focus-visible {
  outline: 3px solid rgba(227, 29, 37, 0.5);
  outline-offset: 3px;
}

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

.topbar {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(1540px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  padding: 0 28px;
  background: rgba(7, 8, 10, 0.92);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-mark {
  color: var(--accent);
  font-family: Oswald, Inter, sans-serif;
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-mark b {
  font-weight: 700;
}

.brand-sub {
  color: #fff;
  font-size: 18px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

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

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

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(227, 29, 37, 0.28);
}

.button-ghost,
.button-dark {
  background: rgba(10, 10, 11, 0.65);
  border-color: rgba(227, 29, 37, 0.75);
}

.button-dark:hover,
.button-ghost:hover {
  border-color: var(--accent-strong);
}

.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: 790px;
  margin-top: -104px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 180px 0 70px;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.84) 35%, rgba(5, 5, 6, 0.18) 74%, rgba(5, 5, 6, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.18) 0%, rgba(10, 10, 11, 0.95) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
}

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

.kicker {
  margin: 0 0 20px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  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;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 1.03;
}

h1 span {
  display: block;
}

h2 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.16;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 34px;
}

.hero-actions .button {
  min-width: 210px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  overflow: hidden;
  background: rgba(13, 14, 16, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-proof article {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero-proof article:last-child {
  border-right: 0;
}

.hero-proof span {
  color: var(--accent);
  font-family: Oswald, Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.hero-proof strong {
  display: block;
  margin: 10px 0 8px;
}

.hero-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.stats-band {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(18, 19, 21, 0.96);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.stats-grid article {
  min-height: 112px;
  padding: 28px 34px;
  border-right: 1px solid var(--line);
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid span {
  display: block;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.stats-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: 104px 0;
}

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

.section-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-head p:last-child,
.about-grid p,
.booking-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

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

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

.service-card:hover,
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 29, 37, 0.6);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.32);
}

.service-card img,
.case-image img,
.cta-photo img,
.real-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.service-body > span,
.case-copy > span {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

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

.service-body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: #fff;
  font-weight: 900;
  border: 1px solid rgba(227, 29, 37, 0.62);
  border-radius: var(--radius);
}

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

.about-grid,
.booking-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.about-points span {
  padding: 16px 18px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
}

.real-photo-card {
  position: relative;
  min-height: 420px;
}

.real-photo-card img {
  min-height: 420px;
}

.real-photo-card figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  color: #fff;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

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

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

.case-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #050506;
}

.tag {
  position: absolute;
  bottom: 14px;
  padding: 7px 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 5px;
}

.tag-before {
  left: 14px;
  background: rgba(0, 0, 0, 0.72);
}

.tag-after {
  right: 14px;
  background: var(--accent);
}

.case-copy {
  padding: 26px;
}

.stars {
  margin-bottom: 18px;
  color: var(--accent-strong);
  letter-spacing: 2px;
}

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

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

.review-controls button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(227, 29, 37, 0.62);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.review-controls button:hover {
  background: rgba(227, 29, 37, 0.18);
  transform: translateY(-1px);
}

.review-controls svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review-window {
  overflow: hidden;
}

.reviews-grid {
  display: flex;
  gap: 18px;
  transition: transform 240ms ease;
}

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

.review-card strong {
  display: block;
  margin-top: 22px;
  color: #fff;
}

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

.review-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

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

.booking-section {
  background: linear-gradient(180deg, rgba(227, 29, 37, 0.08), rgba(227, 29, 37, 0)), var(--bg);
}

.booking-grid {
  grid-template-columns: minmax(0, 1fr) 430px;
}

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

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

.lead-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.form-title {
  margin-bottom: 4px;
  font-family: Oswald, Inter, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.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: #747b85;
}

.lead-card .consent-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.lead-card .consent-line input {
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.lead-card .consent-line span {
  color: inherit;
  font-size: inherit;
  font-weight: 500;
}

.lead-card small {
  color: var(--muted);
  line-height: 1.5;
}

.contact-grid {
  align-items: stretch;
}

.contact-lines {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

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

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

.floating-phone {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  font-size: 26px;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.floating-phone svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

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

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

.footer p {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

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

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

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

@media (max-width: 1120px) {
  .topbar {
    top: 0;
    width: 100%;
    grid-template-columns: auto auto;
    border-inline: 0;
    border-top: 0;
    border-radius: 0;
  }

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

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

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

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

  .hero {
    margin-top: -86px;
    min-height: 760px;
    padding-top: 150px;
  }

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

  .review-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .about-grid,
  .booking-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: calc(100vw - 32px);
    max-width: var(--container);
  }

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

  .brand-mark {
    font-size: 30px;
  }

  .brand-sub {
    font-size: 14px;
    letter-spacing: 2px;
  }

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

  .hero {
    margin-top: -74px;
    min-height: auto;
    padding: 128px 0 54px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 6, 0.9) 0%, rgba(5, 5, 6, 0.72) 58%, var(--bg) 100%),
      linear-gradient(90deg, rgba(5, 5, 6, 0.82), rgba(5, 5, 6, 0.28));
  }

  h1 {
    max-width: calc(100vw - 32px);
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .hero-lead,
  .hero-actions,
  .hero-proof {
    max-width: calc(100vw - 32px);
  }

  .button {
    max-width: 100%;
  }

  h2 {
    font-size: 34px;
  }

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

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-proof,
  .stats-grid,
  .services-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .reviews-head {
    display: grid;
  }

  .review-card {
    flex-basis: 100%;
  }

  .hero-proof article,
  .stats-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof article:last-child,
  .stats-grid article:last-child {
    border-bottom: 0;
  }

  .stats-band {
    margin-top: 0;
  }

  .section {
    padding: 70px 0;
  }

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

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

  .real-photo-card,
  .real-photo-card img,
  .map-wrap,
  .map-wrap iframe {
    min-height: 340px;
  }

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

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

@media (max-width: 600px) {
  .container,
  .hero-copy,
  .hero-lead,
  .hero-actions,
  .hero-proof {
    max-width: 358px;
  }

  .container {
    margin-left: 16px;
    margin-right: auto;
  }

  h1 {
    font-size: 31px;
    max-width: 358px;
  }

  .lead-card {
    padding: 22px;
  }

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

  .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;
  }
}
