:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --metal: #c89a44;
  --ink: #111116;
  --wine: #850e51;
  --ruby: #a80824;
  --copper: #a65511;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(39px, 7vw, 76px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(31px, 4.8vw, 54px);
  line-height: 1.02;
}

h3,
h4 {
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.15;
}

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

.site-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ruby), var(--wine));
  border: 1px solid rgba(200, 154, 68, 0.75);
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.hero-bg {
  background-image: linear-gradient(90deg, rgba(8, 8, 12, 0.92) 0%, rgba(17, 17, 22, 0.72) 48%, rgba(133, 14, 81, 0.2) 100%), url('../images/hero-technician.jpg');
  background-size: cover;
  background-position: center;
}

.section-dark {
  background: radial-gradient(circle at 15% 10%, rgba(168, 8, 36, 0.24), transparent 34%), linear-gradient(135deg, #111116, #19121a 55%, #230815);
}

.section-line::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--ruby), var(--metal));
}

.section-line.center::after {
  margin-left: auto;
  margin-right: auto;
}

.premium-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 22, 0.1);
  box-shadow: 0 18px 50px rgba(17, 17, 22, 0.08);
}

.dark-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.dark-card h3,
.dark-card h4,
.dark-card p,
.dark-card li,
.dark-card span {
  color: #fff;
}

.metal-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 154, 68, 0.8), transparent);
}

.cta-button,
.header-phone,
.mobile-menu-phone,
.sticky-call-button {
  white-space: nowrap;
  position: relative;
  overflow: visible;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.cta-button::after,
.header-phone::after,
.mobile-menu-phone::after,
.sticky-call-button::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  opacity: 0;
  animation: pulseGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}

.cta-button:hover,
.header-phone:hover,
.mobile-menu-phone:hover,
.sticky-call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(168, 8, 36, 0.28);
}

.desktop-only-phone {
  display: none !important;
}

.mobile-only-sticky {
  display: flex !important;
}

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

  .mobile-only-sticky {
    display: none !important;
  }
}

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

  h2 {
    font-size: clamp(31px, 10vw, 38px);
  }

  .hero-bg {
    background-position: 59% center;
  }
}

.hero-trust-icon {
  width: auto;
  height: 48px;
  max-width: 92px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(200, 154, 68, 0.8);
  padding: 6px 10px;
}

.icon-box svg {
  width: 34px;
  height: 34px;
  stroke: var(--ruby);
  stroke-width: 1.8;
  fill: none;
}

.review-track {
  transition: transform 420ms ease;
}

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

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

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.sticky-call-wrap {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.sticky-call-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-panel {
  transform: translateX(100%);
  transition: transform 260ms ease;
}

.mobile-menu-panel.is-open {
  transform: translateX(0);
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.footer-text,
.footer-text a,
.footer-text p,
.footer-text li,
.footer-text h3 {
  font-size: 14px;
}
