:root {
  --font-heading: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --blueprint: #E0F2FE;
  --ink: #164E63;
  --cyan: #06B6D4;
  --gold: #F59E0B;
  --line: rgba(6, 182, 212, 0.22);
  --shadow: 0 24px 70px rgba(15, 78, 99, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
  color: #374151;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
}

h1, h2, h3, h4 {
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111827;
}

h1 {
  font-size: clamp(2.1rem, 8vw, 4.85rem);
}

h2 {
  font-size: clamp(1.75rem, 6vw, 3.15rem);
}

h3, h4 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

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

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(22, 78, 99, 0.12);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 850;
  white-space: nowrap;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

.desktop-nav a, .mobile-menu a {
  color: #164E63;
  font-weight: 750;
}

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

.phone-button, .primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.phone-button, .primary-button {
  background: #164E63;
  color: #fff;
  box-shadow: 0 15px 35px rgba(22, 78, 99, 0.24);
}

.secondary-button {
  background: #fff;
  color: #164E63;
  border: 1px solid rgba(22, 78, 99, 0.18);
}

.phone-button:hover, .primary-button:hover, .secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.28);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(22, 78, 99, 0.18);
  border-radius: 14px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #164E63;
  display: block;
}

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
}

.mobile-menu.is-open {
  display: grid;
  gap: 12px;
}

.hero {
  overflow: hidden;
  background: radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.95), transparent 30%), linear-gradient(135deg, #E0F2FE, #F8FAFC 46%, #BDEFFF);
  border-bottom: 1px solid rgba(22, 78, 99, 0.12);
}

.hero-grid {
  display: grid;
  gap: 30px;
  padding: 42px 0 48px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #164E63;
  font-weight: 850;
  box-shadow: 0 8px 28px rgba(22, 78, 99, 0.12);
}

.stars {
  color: #F59E0B;
  font-size: 24px;
  letter-spacing: 0.06em;
  margin: 14px 0 12px;
}

.hero p.lead {
  font-size: clamp(1.03rem, 4vw, 1.24rem);
  color: #164E63;
  max-width: 680px;
}

.hero-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.gallery-badge {
  height: 50px;
  width: auto;
  max-width: 112px;
  object-fit: contain;
  border: 1px solid rgba(22, 78, 99, 0.16);
  border-radius: 16px;
  background: #fff;
  padding: 7px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-media {
  position: relative;
  min-height: 330px;
  border-radius: 34px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.trace-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  background: rgba(22, 78, 99, 0.9);
  border: 1px solid rgba(224, 242, 254, 0.32);
  border-radius: 24px;
  padding: 16px;
}

.section {
  padding: 58px 0;
}

.section-alt {
  background: linear-gradient(180deg, #F8FAFC, #E0F2FE);
}

.section-dark {
  background: #164E63;
  color: #E0F2FE;
}

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

.section-dark p, .section-dark li {
  color: #E0F2FE;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 820px;
}

.intro-card {
  background: #fff;
  border: 1px solid rgba(22, 78, 99, 0.12);
  box-shadow: var(--shadow);
  border-radius: 30px;
  padding: clamp(24px, 5vw, 42px);
}

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

.service-card, .info-card, .step-card, .review-card, .faq-item {
  background: #fff;
  color: #374151;
  border: 1px solid rgba(22, 78, 99, 0.12);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 78, 99, 0.08);
}

.service-card h3, .info-card h3, .step-card h3, .review-card h3, .faq-item h3 {
  color: #111827;
}

.service-card::before, .step-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #06B6D4, #164E63);
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
}

.sign-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sign-list li {
  background: #fff;
  border-left: 6px solid #06B6D4;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 14px 30px rgba(15, 78, 99, 0.08);
}

.split-block {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.split-text, .split-media {
  min-width: 0;
}

.split-media img, .map-frame iframe {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.split-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.process-grid, .info-grid, .area-grid, .faq-grid {
  display: grid;
  gap: 18px;
}

.cta-panel {
  display: grid;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #164E63, #0E7490);
  color: #fff;
  border-radius: 34px;
  padding: clamp(24px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.cta-panel h2, .cta-panel p {
  color: #fff;
}

.reviews-shell {
  position: relative;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 88%);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  scroll-snap-align: start;
}

.review-stars {
  color: #F59E0B;
  font-size: 20px;
}

.review-controls {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.review-controls button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(22, 78, 99, 0.18);
  background: #fff;
  color: #164E63;
  font-weight: 900;
}

.zip-list, .city-list, .payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.zip-list li, .city-list li, .payment-list li {
  background: #E0F2FE;
  color: #164E63;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}

.map-frame iframe {
  height: 390px;
  border: 0;
}

.site-footer {
  background: #0F172A;
  color: #E5E7EB;
  padding: 44px 0 96px;
}

.site-footer .logo, .site-footer a, .site-footer p, .site-footer li {
  color: #E5E7EB;
}

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

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none !important;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.98);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.sticky-call a {
  width: 100%;
  max-width: 520px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #06B6D4;
  color: #0F172A;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes blueprintTrace {
  0% { stroke-dashoffset: 190; opacity: 0.2; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.trace-line {
  stroke-dasharray: 190;
  animation: blueprintTrace 3.6s ease-in-out infinite alternate;
}

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

  .desktop-phone {
    display: inline-flex !important;
  }

  .menu-toggle, .mobile-menu {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    align-items: center;
    min-height: 680px;
    padding: 58px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .info-grid, .area-grid, .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-block {
    grid-template-columns: 65fr 35fr;
  }

  .split-block.media-left {
    grid-template-columns: 35fr 65fr;
  }

  .split-block.media-left .split-media {
    order: -1;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .reviews-track {
    grid-auto-columns: calc((100% - 40px) / 3);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

@media (max-width: 767px) {
  h1, h2 {
    letter-spacing: -0.03em;
  }

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

  .site-footer {
    padding-bottom: 112px;
  }
}

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

/* Fix mobile phone button text color */
.mobile-menu a.phone-button,
.mobile-menu a.phone-button:visited,
.mobile-menu a.phone-button:hover,
.mobile-menu a.phone-button:focus {
  color: #FFFFFF !important;
  background-color: #164E63 !important;
}

/* Mobile logo: allow company name to wrap onto two lines */
@media (max-width: 767px) {
  .site-header .logo {
    white-space: normal;
    min-width: 0;
    max-width: calc(100vw - 100px);
    font-size: 16px;
    line-height: 1.15;
    gap: 8px;
  }

  .site-header .logo img {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
  }
}