/* =========================================================================
   Northstar HVAC/R — redesigned homepage
   Vanilla CSS. Tweak the tokens in :root and the rest of the file follows.
   ========================================================================= */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  /* Brand palette — only colors already in use on the current site */
  --navy-900: #02093e;     /* deepest brand navy (footer, dark sections)   */
  --navy-800: #011145;     /* primary brand navy                            */
  --navy-700: #031045;     /* primary brand navy (alt)                     */
  --navy-600: #135796;     /* secondary navy                                */
  --blue-500: #1d74c3;     /* primary accent — buttons, links, badges       */
  --blue-400: #2a9cff;     /* lighter blue (hover, highlights)              */
  --gold:     #ffc402;     /* star ratings, sparing accent                  */

  --ink:      #0d1326;     /* near-black body text on light                 */
  --ink-2:    #333;
  --muted:    #69727d;     /* secondary text                                */
  --line:     #e5e7eb;     /* hairline dividers                             */
  --soft:     #f5f7fa;     /* off-white section background                  */
  --white:    #ffffff;

  /* Typography */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --pad-section: clamp(64px, 8vw, 120px);
  --pad-x:       clamp(20px, 4vw, 64px);

  /* Component */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 10px 30px rgba(2, 9, 62, .08);
  --shadow-lg: 0 24px 60px rgba(2, 9, 62, .14);
  --tx-fast:   .2s ease;
  --tx:        .35s ease;
}

/* ----- Reset ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

ul { list-style: none; padding: 0; margin: 0; }

/* ----- Layout primitives ------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: var(--pad-section) 0; }

.section-dark {
  background: var(--navy-700);
  color: var(--white);
}

.section-soft { background: var(--soft); }

/* ----- Typography ------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.8vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--blue-500);
}
.section-dark .eyebrow { color: var(--blue-400); }
.section-dark .eyebrow::before { background: var(--blue-400); }

.section-title {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-title h2 { margin-bottom: 14px; }
.section-title p { color: var(--muted); font-size: 17px; }
.section-dark .section-title p { color: rgba(255, 255, 255, .75); }

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  transition: transform var(--tx-fast), box-shadow var(--tx-fast), background var(--tx-fast), color var(--tx-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(29, 116, 195, .35);
}
.btn-primary:hover {
  background: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(29, 116, 195, .45);
}
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-outline {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--navy-700);
}
.btn-outline:hover { background: var(--navy-700); color: var(--white); }

.btn .icon { width: 16px; height: 16px; }

/* ----- Header ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 9, 62, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  color: var(--white);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 38px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  transition: color var(--tx-fast);
}
.nav-menu a:hover { color: var(--blue-400); }

/* Services dropdown */
.nav-menu .has-dropdown { position: relative; }
.nav-menu .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-menu .dropdown-toggle .caret {
  width: 12px;
  height: 12px;
  transition: transform var(--tx-fast);
}
.nav-menu .has-dropdown:hover .dropdown-toggle .caret,
.nav-menu .has-dropdown:focus-within .dropdown-toggle .caret { transform: rotate(180deg); }
.nav-menu .dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tx-fast), transform var(--tx-fast);
  z-index: 50;
}
.nav-menu .has-dropdown:hover .dropdown,
.nav-menu .has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-menu .dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
  transition: background var(--tx-fast), color var(--tx-fast);
}
.nav-menu .dropdown a:hover {
  background: var(--soft);
  color: var(--blue-500);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.nav-phone .icon { color: var(--blue-400); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}
.nav-toggle .icon { width: 22px; height: 22px; margin: auto; }

@media (max-width: 960px) {
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 10px; }
  .nav-phone span { display: none; } /* show only icon at small sizes */
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 100px var(--pad-x) 40px;
  transform: translateX(100%);
  transition: transform var(--tx);
  z-index: 99;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-drawer .btn { margin-top: 28px; width: 100%; justify-content: center; }
.mobile-drawer .submenu-label {
  display: block;
  padding: 14px 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-drawer li.submenu a {
  padding-left: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, .92);
}

/* ----- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 30%, rgba(29, 116, 195, .25), transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 8vw, 130px);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-pill .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--blue-500);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--blue-400); }
.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, .78);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust > div { min-width: 140px; }
.hero-trust .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-trust .num span { color: var(--blue-400); }
.hero-trust .label {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .04em;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(29, 116, 195, .25), transparent);
  padding: 0;
  isolation: isolate;
}
.hero-photo img {
  display: block;
  max-height: 620px;
  width: auto;
  border-radius: var(--radius-lg);
}
.hero-photo .blob {
  position: absolute;
  inset: 8% 8%;
  background: radial-gradient(circle, rgba(29, 116, 195, .55), transparent 65%);
  filter: blur(60px);
  z-index: -1;
}

.hero-photo .floating-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-photo .floating-card .stars { color: var(--gold); font-size: 14px; }
.hero-photo .floating-card strong { display: block; font-size: 14px; }
.hero-photo .floating-card span { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .hero-photo img { max-height: 460px; margin: 0 auto; }
  .hero-photo .floating-card { left: 10px; }
}

/* ----- Brand row -------------------------------------------------------- */
/* Dark background so the white-on-dark brand logos (Carrier, Trane) read.   */
.brand-row {
  background: var(--navy-800);
  color: rgba(255, 255, 255, .85);
  padding: 36px 0;
}
.brand-row .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.brand-row .label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
}
.brand-row .logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  align-items: center;
  justify-content: flex-end;
}
.brand-row .logos img {
  height: 32px;
  width: auto;
  opacity: .85;
  transition: opacity var(--tx-fast);
}
.brand-row .logos img:hover { opacity: 1; }

@media (max-width: 720px) {
  .brand-row .container { grid-template-columns: 1fr; gap: 16px; }
  .brand-row .logos { justify-content: flex-start; gap: 24px 36px; }
  .brand-row .logos img { height: 22px; }
}

/* ----- Feature cards (hero-adjacent: licensed/reliable/community) ------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -60px;       /* lift onto hero edge */
  position: relative;
  z-index: 5;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .ico {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(29, 116, 195, .12);
  color: var(--blue-500);
  display: grid;
  place-items: center;
}
.feature h4 { font-size: 16px; margin-bottom: 4px; text-transform: capitalize; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; margin-top: -32px; }
}

/* ----- About ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-photos {
  position: relative;
  padding-bottom: 50px;
  padding-right: 50px;
}
.about-photos img.main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-photos img.inset {
  position: absolute;
  width: 55%;
  bottom: 0;
  right: 0;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-content h2 { margin-bottom: 22px; }
.about-content p { color: var(--muted); margin-bottom: 18px; }
.about-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 36px;
}
.about-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--soft);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
}
.about-tag .dot {
  width: 8px; height: 8px;
  background: var(--blue-500);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photos { padding: 0; }
  .about-photos img.inset { position: static; width: 70%; margin: -40px 0 0 auto; display: block; }
}

/* ----- Services --------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--tx), box-shadow var(--tx);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-card .num {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 46px;
  height: 46px;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  letter-spacing: .04em;
}
.service-card .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; flex: 1; }
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-500);
}
.service-card .more svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--tx-fast); }
.service-card:hover .more svg { transform: translateX(4px); }

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* CTA variant — sits in service grid as the 6th tile */
.service-card--cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 60%, #134f8a 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.service-card--cta::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 116, 195, .55), transparent 70%);
  top: -100px; right: -120px;
  z-index: 0;
}
.service-card--cta::after {
  /* subtle dotted texture for visual interest */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .5;
  z-index: 0;
}
.cta-card-body {
  position: relative;
  z-index: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cta-card-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
}
.cta-card-pulse .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #34d399;            /* available green pulse  */
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.service-card--cta h3 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1.1;
}
.service-card--cta p {
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  margin-bottom: 18px;
}
.cta-card-perks {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}
.cta-card-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
}
.cta-card-perks svg {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .2);
  color: #34d399;
}
.cta-card-btn { align-self: flex-start; }

/* ----- Why-us / value props -------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: stretch;
  align-items: center;
}
.why-list {
  display: grid;
  gap: 18px;
}
.why-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--tx-fast);
}
.why-item:hover { background: rgba(255, 255, 255, .07); }
.why-item .ico {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-500);
  color: var(--white);
  display: grid;
  place-items: center;
}
.why-item h3 { font-size: 18px; color: var(--white); margin-bottom: 6px; }
.why-item p { color: rgba(255, 255, 255, .7); font-size: 14px; margin: 0; }

.why-photo {
  display: flex;
}
.why-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ----- Stats band ------------------------------------------------------- */
.stats-band {
  background: var(--blue-500);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat .num {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .label {
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
}

@media (max-width: 900px) {
  .stats-band { grid-template-columns: 1fr 1fr; padding: 36px 24px; gap: 28px; }
}

/* ----- Values bento ---------------------------------------------------- */
/* Asymmetric tile grid — two large 2-col tiles bookend a 3-col mid row.   */
.values-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.values-header h2 { line-height: 1.05; }
.values-header p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  max-width: 460px;
}
@media (max-width: 800px) {
  .values-header { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}

.values-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}
@media (max-width: 900px) {
  .values-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-bento { grid-template-columns: 1fr; }
}

.bento-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform var(--tx-fast), border-color var(--tx-fast), box-shadow var(--tx-fast);
}
.bento-tile:hover {
  transform: translateY(-4px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow);
}
.bento-tile h3 {
  font-size: 22px;
  margin: 0;
  color: var(--navy-800);
}
.bento-tile p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.bento-tile .tile-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: .12em;
}
.bento-tile .tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(29, 116, 195, .1);
  color: var(--blue-500);
  display: grid;
  place-items: center;
  margin-top: auto;     /* push to bottom by default */
}
.bento-tile .tile-icon svg { width: 24px; height: 24px; }

/* Large featured tile — spans 2 columns, has bigger heading + bg accent */
.bento-tile--lg {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--soft) 0%, var(--white) 60%);
}
.bento-tile--lg h3 { font-size: 32px; }
.bento-tile--lg p { font-size: 15px; max-width: 380px; }
.bento-tile--lg .tile-icon {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 88px; height: 88px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  margin: 0;
}
.bento-tile--lg .tile-icon svg { width: 44px; height: 44px; }

@media (max-width: 900px) {
  /* At tablet, only the first large tile (Comfort) spans both columns.
     Tile 07 (Transparent) collapses to one column so the bottom row reads 06 | 07 cleanly. */
  .bento-tile--lg { grid-column: span 1; }
  .values-bento > .bento-tile--lg:first-of-type { grid-column: span 2; }
  .values-bento > .bento-tile--lg:first-of-type h3 { font-size: 28px; }
}
@media (max-width: 560px) {
  .bento-tile--lg { grid-column: span 1; }
  .values-bento > .bento-tile--lg:first-of-type { grid-column: span 1; }
  .bento-tile--lg .tile-icon { width: 64px; height: 64px; bottom: 20px; right: 20px; }
  .bento-tile--lg .tile-icon svg { width: 32px; height: 32px; }
}

/* Accent variant — solid blue tile (used for tiles 02 + 06) */
.bento-tile--accent {
  background: linear-gradient(160deg, var(--blue-500) 0%, var(--navy-600) 100%);
  border-color: transparent;
  color: var(--white);
}
.bento-tile--accent h3 { color: var(--white); }
.bento-tile--accent p { color: rgba(255, 255, 255, .8); }
.bento-tile--accent .tile-num { color: rgba(255, 255, 255, .7); }
.bento-tile--accent .tile-icon {
  background: rgba(255, 255, 255, .14);
  color: var(--white);
}
.bento-tile--accent:hover { border-color: transparent; }

/* Dark variant — navy tile (tile 04) */
.bento-tile--dark {
  background: var(--navy-800);
  border-color: transparent;
  color: var(--white);
}
.bento-tile--dark h3 { color: var(--white); }
.bento-tile--dark p { color: rgba(255, 255, 255, .75); }
.bento-tile--dark .tile-num { color: var(--blue-400); }
.bento-tile--dark .tile-icon {
  background: rgba(29, 116, 195, .25);
  color: var(--blue-400);
}
.bento-tile--dark:hover { border-color: transparent; }

/* ----- Gallery ---------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid .gallery-thumb {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tx);
}
.gallery-grid .gallery-thumb:hover img { transform: scale(1.05); }
.gallery-grid .gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(2, 9, 62, .6) 100%);
  opacity: 0;
  transition: opacity var(--tx-fast);
}
.gallery-grid .gallery-thumb:hover::after { opacity: 1; }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ----- Lightbox --------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  cursor: zoom-out;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
  user-select: none;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
  padding: 12px;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 18px; right: 24px; font-size: 2.8rem; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); font-size: 3.2rem; }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); font-size: 3.2rem; }

/* ----- CTA banner (full-bleed, edge-to-edge) --------------------------- */
.cta-banner-full {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(64px, 10vw, 120px) 0;
  background: var(--navy-800);
}
.cta-banner-full .cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(29, 116, 195, .4), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(29, 116, 195, .25), transparent 55%),
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 60%, #134f8a 100%);
  z-index: 0;
}
.cta-banner-full .cta-banner-bg::after {
  /* dotted texture overlay */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta-banner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-banner-full h2 { color: var(--white); margin-bottom: 12px; max-width: 640px; }
.cta-banner-full p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 580px; font-size: 17px; }
.cta-banner-full .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 800px) {
  .cta-banner-grid { grid-template-columns: 1fr; }
  .cta-banner-full .cta-actions { justify-content: flex-start; }
}

/* ----- FAQ -------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.faq-grid .intro h2 { margin-bottom: 16px; }
.faq-grid .intro p { color: var(--muted); }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tx-fast), box-shadow var(--tx-fast);
}
.faq-item.is-open { border-color: var(--blue-500); box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-800);
}
.faq-q .plus {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue-500);
  transition: transform var(--tx-fast), background var(--tx-fast), color var(--tx-fast);
}
.faq-item.is-open .plus {
  background: var(--blue-500);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tx);
}
.faq-a-inner { padding: 0 26px 22px; color: var(--muted); }
.faq-item.is-open .faq-a { max-height: 400px; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Service area ---------------------------------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.area-cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.area-cities li {
  padding: 12px 16px;
  background: var(--soft);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.area-cities li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue-500);
  border-radius: 999px;
}
.area-photo img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; gap: 40px; }
  .area-cities { grid-template-columns: 1fr 1fr; }
}

/* ----- Contact section ------------------------------------------------- */
.contact-section {
  position: relative;
  padding: var(--pad-section) 0;
  background: var(--soft);
  overflow: hidden;
}
.contact-section .contact-bg-shape {
  /* Soft blue-tinted blob behind everything for visual interest */
  position: absolute;
  top: -120px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 116, 195, .14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.contact-section .container { position: relative; z-index: 1; }

.contact-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.contact-header h2 { margin-bottom: 14px; line-height: 1.05; }
.contact-headline-accent {
  background: linear-gradient(120deg, var(--blue-500), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-header p { color: var(--muted); font-size: 17px; margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Left side: info cards stack --- */
.contact-info {
  display: grid;
  gap: 20px;
  align-content: start;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 480px) {
  .contact-row { grid-template-columns: 1fr; }
}

.contact-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--tx-fast), transform var(--tx-fast), box-shadow var(--tx-fast);
  overflow: hidden;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow);
}
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(29, 116, 195, .1);
  color: var(--blue-500);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.contact-card-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-card-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
}
.contact-card-value--sm { font-size: 16px; line-height: 1.4; }
.contact-card-foot {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* --- Featured (24/7 phone) card --- */
.contact-card--featured {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 50%, #134f8a 100%);
  border-color: transparent;
  color: var(--white);
}
.contact-card--featured .contact-card-glow {
  position: absolute;
  width: 260px; height: 260px;
  top: -90px; right: -90px;
  background: radial-gradient(circle, rgba(29, 116, 195, .55), transparent 70%);
  pointer-events: none;
}
.contact-card--featured .contact-card-icon {
  background: rgba(255, 255, 255, .14);
  color: var(--white);
}
.contact-card--featured .contact-card-label { color: rgba(255, 255, 255, .65); }
.contact-card--featured .contact-card-value { color: var(--white); font-size: 32px; letter-spacing: -.01em; }
.contact-card--featured .contact-card-foot { color: rgba(255, 255, 255, .7); }
.contact-card--featured:hover { border-color: transparent; }

.contact-card-pulse {
  position: absolute;
  top: 22px; right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  z-index: 1;
}
.contact-card-pulse .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 1.6s infinite;
}

/* --- Hours card --- */
.contact-hours .contact-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-hours .contact-card-head .contact-card-icon { margin: 0; }
.contact-hours .contact-card-head strong {
  display: block;
  font-size: 18px;
  color: var(--navy-800);
  margin-top: 4px;
}
.hours-list {
  display: grid;
  gap: 10px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-size: 14px;
}
.hours-list li > span:first-child { color: var(--muted); font-weight: 500; }
.hours-list li > span:last-child { color: var(--navy-800); font-weight: 600; }
.hours-list li.emergency {
  background: linear-gradient(120deg, rgba(29, 116, 195, .08), rgba(29, 116, 195, .02));
  border: 1px solid rgba(29, 116, 195, .2);
}
.hours-list li.emergency > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-weight: 600;
}
.hours-list li.emergency .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 1.6s infinite;
}
.hours-list li.emergency > span:last-child { color: var(--blue-500); }

/* --- Contact form --- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}
.contact-form-head h3 { font-size: 26px; margin-bottom: 6px; }
.contact-form-head p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: .02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--tx-fast), box-shadow var(--tx-fast);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa0a6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(29, 116, 195, .12);
}
.field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2369727d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-submit {
  margin-top: 4px;
  align-self: flex-start;
  padding: 16px 32px;
}
.form-fineprint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
/* Success / error states (set by JS after submit) */
.contact-form.is-submitting .form-submit { opacity: .6; pointer-events: none; }
.contact-form.is-success {
  border-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .12);
}

/* ----- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .75);
  padding: 80px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--blue-400); }
.site-footer .brand img { height: 44px; margin-bottom: 18px; }
.site-footer .brand p { font-size: 14px; max-width: 320px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact .icon { color: var(--blue-400); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----- Utility helpers ------------------------------------------------- */
.u-text-center { text-align: center; }
.u-mt-lg       { margin-top: 56px; }

/* Visually-hidden but accessible text */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* =========================================================================
   About page additions
   Small, scoped extensions to the homepage system. New tokens are NOT used —
   everything reuses existing palette + radii + spacing.
   ========================================================================= */

/* Page hero — compact variant of .hero used on inner pages. Keeps the same
   gradient + photo treatment, shrinks vertical padding, and drops the bottom
   trust-stat row that the homepage uses. */
.hero.page-hero { padding-top: 0; }
.page-hero .page-hero-grid {
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  gap: 48px;
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero p.lead { margin-bottom: 28px; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero .hero-photo img { max-height: 480px; }

/* Mission section — short, centered statement on dark background */
.mission-section .mission-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.mission-section .mission-wrap .eyebrow { justify-content: center; }
.mission-section .mission-wrap h2 {
  color: var(--white);
  margin-bottom: 24px;
}
.mission-section .mission-statement {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  font-style: italic;
  margin: 0;
}

/* 3-step process grid — simple numbered cards in a row */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--tx-fast), border-color var(--tx-fast), box-shadow var(--tx-fast);
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow);
}
.step-card .step-num {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(29, 116, 195, .1);
  color: var(--blue-500);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.step-card h3 { color: var(--navy-800); margin: 0; }
.step-card p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; }

/* Accent variant — middle step gets the blue gradient treatment */
.step-card--accent {
  background: linear-gradient(160deg, var(--blue-500) 0%, var(--navy-600) 100%);
  border-color: transparent;
  color: var(--white);
}
.step-card--accent h3 { color: var(--white); }
.step-card--accent p { color: rgba(255, 255, 255, .85); }
.step-card--accent .step-num {
  background: rgba(255, 255, 255, .18);
  color: var(--white);
}
.step-card--accent:hover { border-color: transparent; }
