:root {
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 55, 73, 0.12);
  z-index: 60;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #111827;
}

.nav-link {
  color: #1E3749;
  font-weight: 800;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: #F3B34D;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

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

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

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

.hamburger {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(30, 55, 73, 0.2);
  background: #ffffff;
  color: #1E3749;
  display: grid;
  place-items: center;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger span::before {
  transform: translateY(-7px);
}

.hamburger span::after {
  transform: translateY(5px);
}

.hamburger[aria-expanded="true"] span {
  background: transparent;
}

.hamburger[aria-expanded="true"] span::before {
  background: #1E3749;
  transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] span::after {
  background: #1E3749;
  transform: rotate(-45deg) translate(1px, -1px);
}

.mobile-panel {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(30, 55, 73, 0.14);
  box-shadow: 0 28px 70px rgba(12, 26, 36, 0.24);
  z-index: 55;
}

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

.phone-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  background: #1E3749;
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42), 0 18px 42px rgba(12, 26, 36, 0.25);
  animation: whitePulse 2.4s ease-in-out infinite;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.phone-button:hover,
.cta-button:hover {
  background: #122635;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.cta-button.accent {
  background: #F3B34D;
  color: #111827 !important;
  border-color: rgba(17, 24, 39, 0.2);
}

.cta-button.accent:hover {
  background: #FFD06D;
  color: #111827 !important;
}

@keyframes whitePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42), 0 18px 42px rgba(12, 26, 36, 0.25); }
  50% { box-shadow: 0 0 0 13px rgba(255, 255, 255, 0), 0 22px 54px rgba(12, 26, 36, 0.3); }
}

.hero-section {
  position: relative;
  min-height: 760px;
  background-image: linear-gradient(90deg, rgba(12, 26, 36, 0.94) 0%, rgba(30, 55, 73, 0.82) 46%, rgba(30, 55, 73, 0.28) 100%), url("../images/hero-technician.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-section::before {
  width: 360px;
  height: 360px;
  border: 1px solid rgba(91, 134, 164, 0.28);
  transform: rotate(22deg);
  right: -130px;
  top: 110px;
}

.hero-section::after {
  width: 1px;
  height: 78%;
  background: linear-gradient(180deg, transparent, rgba(243, 179, 77, 0.9), transparent);
  left: 54%;
  top: 12%;
}

.hero-title {
  font-size: 39px;
  line-height: 1.04;
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(58px, 6vw, 88px);
  }
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
}

.trust-stars {
  color: #F3B34D;
  letter-spacing: 4px;
  font-size: 24px;
  line-height: 1;
}

.trust-badge-img {
  width: auto;
  height: 48px;
  max-height: 48px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.86);
  padding: 5px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.glass-card h2,
.glass-card h3,
.glass-card p,
.glass-card li,
.glass-card span {
  color: #ffffff !important;
}

.benefit-icon,
.service-icon,
.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #5B86A4, #1E3749);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-eyebrow {
  color: #1E3749;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
}

.section-rule {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, #F3B34D, #5B86A4);
  margin-top: 16px;
}

.section-title {
  font-size: 31px;
  line-height: 1.08;
  color: #111827 !important;
}

@media (min-width: 768px) {
  .section-title {
    font-size: clamp(44px, 4vw, 62px);
  }
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .info-grid {
    grid-template-columns: 65fr 35fr;
    gap: 54px;
  }

  .info-grid.image-left {
    grid-template-columns: 35fr 65fr;
  }
}

.image-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #0C1A24;
  box-shadow: 22px 22px 0 rgba(91, 134, 164, 0.16);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 55, 73, 0.15), rgba(243, 179, 77, 0.12));
}

.service-card,
.review-card,
.faq-card,
.area-card {
  background: #ffffff;
  border: 1px solid rgba(30, 55, 73, 0.14);
  box-shadow: 0 22px 60px rgba(12, 26, 36, 0.08);
}

.service-card h3,
.review-card h3,
.faq-card h3,
.area-card h3 {
  color: #111827 !important;
  font-size: 22px;
}

.service-card p,
.review-card p,
.faq-card p,
.area-card p,
.area-card li {
  color: #374151;
}

.dark-band {
  background: radial-gradient(circle at 18% 0%, rgba(91, 134, 164, 0.34), transparent 34%), linear-gradient(135deg, #0C1A24, #1E3749);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dark-band h2,
.dark-band h3,
.dark-band p,
.dark-band li,
.dark-band span {
  color: #ffffff !important;
}

.dark-band .service-card,
.dark-band .area-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.dark-band .service-card p,
.dark-band .area-card p,
.dark-band .area-card li {
  color: rgba(255, 255, 255, 0.88) !important;
}

.metric-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.98));
  border-left: 4px solid #F3B34D;
}

.reviews-track {
  display: flex;
  transition: transform 360ms ease;
}

.review-slide {
  min-width: 100%;
  padding: 0 10px;
}

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

.carousel-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #1E3749;
  border: 1px solid rgba(30, 55, 73, 0.24);
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  color: #111827;
  font-weight: 900;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.mobile-sticky-call {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  z-index: 80;
  background: #0C1A24;
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
  box-shadow: 0 -18px 42px rgba(12, 26, 36, 0.26);
}

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

@media (min-width: 768px) {
  .mobile-sticky-call,
  .mobile-sticky-call.is-visible {
    display: none !important;
  }
}

.site-footer {
  background: #0C1A24;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-footer a,
.site-footer p,
.site-footer li,
.site-footer address,
.site-footer span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff !important;
}

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

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

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