:root {
  --ink: #0d2b4a;
  --ink-2: #173b5c;
  --paper: #f6f8fb;
  --gold: #ffbe18;
  --line: rgba(13, 43, 74, 0.14);
  --shadow: 0 24px 70px rgba(13, 43, 74, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: #27384a;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
.brand-name {
  font-family: var(--font-heading);
}

h1 {
  font-size: clamp(32px, 8vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h2 {
  color: #111827;
  font-size: clamp(26px, 5.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3,
h4 {
  color: #111827;
  font-size: 22px;
  line-height: 1.16;
}

p,
li,
dd,
dt {
  font-size: 16px;
  line-height: 1.75;
}

a,
button {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.site-header {
  background: rgba(246, 248, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

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

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

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

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--gold);
}

.brand-name {
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.nav-link {
  color: #1f3349;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.cta-button,
.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: #111827;
  font-weight: 900;
  white-space: nowrap;
  min-height: 52px;
  padding: 0 22px;
  box-shadow: 6px 6px 0 rgba(13, 43, 74, 0.2);
}

.cta-button:hover,
.phone-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(13, 43, 74, 0.22);
  background: #ffd35c;
}

.header-phone {
  color: #111827 !important;
}

.hero {
  min-height: 760px;
  background-image: linear-gradient(90deg, rgba(6, 23, 41, 0.94) 0%, rgba(13, 43, 74, 0.82) 46%, rgba(13, 43, 74, 0.28) 100%), url("../images/hero-technician.jpg");
  background-position: center;
  background-size: cover;
}

.hero h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

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

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 23px;
}

.review-icons img {
  width: auto;
  height: 45px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 6px 8px;
  max-width: 128px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.glass-card p,
.glass-card li,
.glass-card span {
  color: #fff;
}

.pin {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #111827;
  font-weight: 900;
  animation: pinDrop 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.status-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(13, 43, 74, 0.08);
}

.section-pad {
  padding: 72px 0;
}

.section-kicker {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.heading-underline {
  width: 78px;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 190, 24, 0));
  margin-top: 16px;
}

.mat-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(13, 43, 74, 0.08);
}

.mat-card p,
.mat-card li,
.mat-card span {
  color: #27384a;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--ink);
}

.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

.icon-box svg {
  width: 30px;
  height: 30px;
}

.two-col {
  display: grid;
  gap: 28px;
  align-items: center;
}

.two-col .text-side,
.two-col .image-side {
  min-width: 0;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 65% 35%;
  }

  .two-col.reverse {
    grid-template-columns: 35% 65%;
  }
}

.site-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  box-shadow: 12px 12px 0 var(--ink);
}

.process-step {
  border-left: 5px solid var(--ink);
}

.cta-band {
  background: radial-gradient(circle at 12% 18%, rgba(255, 190, 24, 0.22), transparent 28%), linear-gradient(135deg, #0d2b4a, #071a2e);
}

.map-frame iframe {
  width: 100%;
  min-height: 420px;
  filter: saturate(0.9) contrast(1.04);
}

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

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

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

.carousel-btn {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
}

.carousel-btn:hover {
  background: var(--gold);
  color: #111827;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

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

.mobile-menu-panel {
  display: none;
}

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

.sticky-call {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  background: var(--gold);
  border-top: 3px solid #111827;
  color: #111827;
  font-weight: 900;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  white-space: nowrap;
  box-shadow: 0 -18px 42px rgba(13, 43, 74, 0.22);
}

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

@media (max-width: 767px) {
  .sticky-call {
    display: flex !important;
  }

  body.has-sticky-space {
    padding-bottom: 72px;
  }

  .hero {
    min-height: 850px;
    background-position: 58% center;
  }

  .section-pad {
    padding: 54px 0;
  }
}

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

.appear {
  opacity: 0;
  transform: translateY(24px);
}

.appear.is-visible {
  animation: scrollAppear 700ms ease forwards;
}

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

@keyframes pinDrop {
  from {
    transform: translateY(-18px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes scrollAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
