:root {
  --font-heading: "Arial", "Helvetica Neue", sans-serif;
  --font-body: "Arial", "Helvetica Neue", sans-serif;
  --ink: #171717;
  --paper: #ffffff;
  --blueprint: #e5e5e5;
  --accent: #f5d76e;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.65;
  background:
    linear-gradient(rgba(23,23,23,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,23,.035) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -.035em;
  color: #111827;
  line-height: 1.08;
}

h1 {
  font-size: clamp(39px, 7vw, 72px);
}

h2 {
  font-size: clamp(31px, 5vw, 48px);
}

h3, h4 {
  font-size: clamp(22px, 3vw, 28px);
}

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

.container-wide {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.cut-card {
  position: relative;
  border: 1px solid rgba(23,23,23,.18);
  background: #fff;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 24px 60px rgba(23,23,23,.08);
}

.dark-card {
  background: rgba(23,23,23,.84);
  border-color: rgba(245,215,110,.45);
  color: #fff;
}

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

.accent-rule {
  width: 66px;
  height: 7px;
  background: var(--accent);
  margin-top: 18px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f5d76e;
  color: #171717 !important;
  border: 2px solid #f5d76e;
  padding: 15px 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  border-radius: 0;
  box-shadow: 0 0 0 0 rgba(255,255,255,.55);
  animation: callPulse 2.2s infinite;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn-call:hover {
  transform: translateY(-2px);
  background: #171717;
  color: #fff !important;
}

@keyframes callPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70% { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23,23,23,.14);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #171717 !important;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.logo-link img {
  width: 42px;
  height: 42px;
}

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

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

.mobile-menu-btn {
  display: inline-flex !important;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid #171717;
  color: #171717;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(23,23,23,.14);
  background: #fff;
}

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

.nav-link {
  color: #171717 !important;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #171717 url('../images/hero-technician.jpg') center/cover no-repeat;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.74) 48%, rgba(0,0,0,.35) 100%);
}

.hero > .container-wide {
  position: relative;
  z-index: 1;
}

.hero h1, .hero p, .hero li {
  color: #fff;
}

.stars {
  color: #f5d76e;
  font-size: 28px;
  letter-spacing: 5px;
  line-height: 1;
}

.gallery-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.gallery-badges img {
  width: auto;
  height: 48px;
  max-width: 132px;
  object-fit: contain;
  border: 1px solid rgba(245,215,110,.5);
  background: rgba(255,255,255,.92);
  padding: 5px;
}

.icon-box {
  width: 54px;
  height: 54px;
  border: 2px solid #f5d76e;
  display: grid;
  place-items: center;
  color: #f5d76e;
  flex: 0 0 auto;
}

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

.service-icon {
  width: 68px;
  height: 68px;
  border: 2px solid #171717;
  display: grid;
  place-items: center;
  background: #f5d76e;
  color: #171717;
}

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

.blueprint-dark {
  background:
    linear-gradient(rgba(245,215,110,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,215,110,.08) 1px, transparent 1px),
    #171717;
  background-size: 32px 32px;
  color: #fff;
}

.blueprint-dark h2, .blueprint-dark h3, .blueprint-dark p, .blueprint-dark li {
  color: #fff;
}

.blueprint-dark .cut-card:not(.dark-card) h2,
.blueprint-dark .cut-card:not(.dark-card) h3,
.blueprint-dark .cut-card:not(.dark-card) h4 {
  color: #111827;
}

.blueprint-dark .cut-card:not(.dark-card) p,
.blueprint-dark .cut-card:not(.dark-card) li {
  color: #262626;
}

.split-section {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 9px;
  height: 9px;
  background: #f5d76e;
}

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

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

.review-card {
  min-width: 100%;
  padding: 12px;
}

.map-frame iframe {
  width: 100%;
  min-height: 430px;
  display: block;
  filter: grayscale(.2) contrast(1.05);
}

.faq-item {
  border: 1px solid rgba(23,23,23,.18);
  background: #fff;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 20px;
  font-weight: 900;
  color: #111827;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #262626;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(23,23,23,.96);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

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

.mobile-sticky-call a {
  width: 100%;
  min-height: 54px;
  color: #171717 !important;
}

.footer {
  background: #171717;
  color: #fff;
  padding: 54px 0 86px;
}

.footer h2, .footer h3, .footer p, .footer a, .footer li {
  color: #fff !important;
}

.footer small {
  color: #e5e5e5;
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }
  .desktop-phone {
    display: inline-flex !important;
  }
  .mobile-menu-btn, .mobile-menu {
    display: none !important;
  }
  .mobile-sticky-call, .mobile-sticky-call.is-visible {
    display: none !important;
  }
  .split-section {
    grid-template-columns: 65fr 35fr;
  }
  .split-section.image-left {
    grid-template-columns: 35fr 65fr;
  }
  .split-section.image-left .split-image {
    order: -1;
  }
  .review-card {
    min-width: 33.3333%;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 39px; }
  h2 { font-size: 31px; }
  .hero { min-height: 860px; padding: 56px 0; }
  .mobile-sticky-call.is-enabled {
    display: block !important;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .draw-line {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: drawBlueprint linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 45%;
  }
  @keyframes drawBlueprint {
    to { stroke-dashoffset: 0; }
  }
}
