:root {
  --ink: #111827;
  --muted: #5f6f76;
  --deep: #073232;
  --navy: #091d37;
  --gold: #f4c76b;
  --gold-strong: #d9a739;
  --mist: #eef6f4;
  --paper: #ffffff;
  --line: rgba(244, 199, 107, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fbfa;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(39px, 7vw, 72px);
  color: #ffffff;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(31px, 5vw, 50px);
  color: var(--ink);
  letter-spacing: -0.045em;
}

h3,
h4 {
  font-size: 22px;
  color: var(--ink);
}

p,
li,
a,
button,
input,
textarea {
  font-size: 16px;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(244, 199, 107, 0.2);
  background: rgba(7, 50, 50, 0.94);
  backdrop-filter: blur(18px);
}

.logo-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: #091d37;
  color: var(--gold);
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.desktop-nav,
.header-phone-desktop {
  display: none !important;
}

.mobile-menu-button {
  display: inline-flex !important;
}

@media (min-width: 768px) {
  .desktop-nav,
  .header-phone-desktop {
    display: flex !important;
  }

  .mobile-menu-button,
  .mobile-menu-panel,
  .mobile-sticky-call {
    display: none !important;
  }
}

.mobile-menu-panel {
  display: none;
  position: fixed;
  z-index: 70;
  inset: 68px 0 auto 0;
  padding: 20px;
  background: #073232;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-panel.is-open {
  display: block;
}

.hero {
  min-height: 100svh;
  padding-top: 92px;
  background-image: linear-gradient(90deg, rgba(5, 27, 31, 0.96) 0%, rgba(7, 50, 50, 0.86) 42%, rgba(9, 29, 55, 0.58) 100%), url("../images/hero-technician.jpg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  overflow: hidden;
}

.hero p,
.hero li,
.dark-section p,
.dark-section li {
  color: rgba(255, 255, 255, 0.86);
}

.stars {
  color: var(--gold);
  font-size: 26px;
  letter-spacing: 0.12em;
  text-shadow: 0 0 22px rgba(244, 199, 107, 0.55);
}

.hero-gallery-icon {
  width: auto;
  height: 48px;
  max-width: 96px;
  object-fit: contain;
  padding: 8px 12px;
  border: 1px solid rgba(244, 199, 107, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.52), 0 0 28px rgba(244, 199, 107, 0.34);
  background: linear-gradient(135deg, #f7d88b, #d9a739);
  color: #111827;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .25s ease, transform .25s ease, opacity .25s ease;
}

.cta-button::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255,255,255,.5);
  opacity: .22;
  animation: pulseGlow 2.6s ease-in-out infinite;
  pointer-events: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 18px 42px rgba(244, 199, 107, 0.44);
}

.header-phone-desktop.cta-button {
  min-height: 46px;
  padding: 10px 15px;
}

.outline-card {
  position: relative;
  border: 1px solid rgba(244, 199, 107, 0.32);
  background: rgba(7, 50, 50, 0.66);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.outline-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.section-accent {
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 18px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(244, 199, 107, 0.74);
}

.dark-section {
  background: radial-gradient(circle at 84% 10%, rgba(244, 199, 107, 0.14), transparent 28%), linear-gradient(135deg, #073232, #091d37);
  color: #ffffff;
}

.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: #ffffff;
}

.light-card {
  border: 1px solid rgba(7, 50, 50, 0.12);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(7, 50, 50, 0.08);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.light-card p,
.light-card li,
.light-card span {
  color: #334155;
}

.light-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 199, 107, 0.72);
  box-shadow: 0 24px 70px rgba(7, 50, 50, 0.14);
}

.icon-box {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: rgba(244, 199, 107, 0.12);
  color: var(--gold);
}

.tech-line {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(244, 199, 107, 0.22);
  box-shadow: 0 0 28px rgba(244, 199, 107, 0.12);
}

.two-col-image {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.review-track {
  transition: transform .45s ease;
}

.review-slide {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .review-slide {
    flex-basis: 33.3333%;
  }
}

.service-chip {
  border-left: 3px solid var(--gold);
  background: rgba(238, 246, 244, 0.72);
}

.mobile-sticky-call {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 50, 50, 0.98);
  transform: translateY(110%);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.mobile-sticky-call.is-visible {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-sticky-call a {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

.footer {
  background: #061a1d;
  color: #dbe8e5;
  font-size: 14px;
}

.footer p,
.footer a,
.footer li {
  color: #dbe8e5;
  font-size: 14px;
}

@keyframes pulseGlow {
  0%, 100% { opacity: .16; transform: scale(.985); }
  50% { opacity: .48; transform: scale(1.02); }
}

@media (max-width: 767px) {
  h1 {
    font-size: clamp(39px, 12vw, 50px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 36px);
  }

  .logo-text {
    font-size: 24px;
  }

  .hero {
    padding-top: 86px;
  }

  .cta-button {
    width: 100%;
    padding-inline: 12px;
  }
}
