/* Miracle Cleaning LLC — main.css v2 */
/* 2026 high-end: blues, whites, glass, generous whitespace */

:root {
  /* Deep brand navy (logo) */
  --navy: #102a4d;
  --navy-deep: #081a31;
  --navy-soft: #1f4068;

  /* Primary blues */
  --blue: #2c5fa3;
  --blue-mid: #4a82c6;
  --blue-light: #c7dceb;

  /* Sky/sparkle accent (matches logo wave + star) */
  --sky: #5bb4d8;
  --sky-light: #a5d8eb;
  --aqua: #00b4d8;
  --aqua-glow: #48cae4;

  /* Backgrounds */
  --paper: #ffffff;
  --ice: #f4f9fd;
  --mist: #eaf2f9;
  --frost: rgba(255, 255, 255, 0.72);
  --frost-strong: rgba(255, 255, 255, 0.88);
  --frost-tint: rgba(196, 220, 235, 0.35);

  /* Text */
  --ink: #0c1b33;
  --ink-soft: #506584;
  --ink-mute: #7a8aa0;
  --line: #dde7f0;
  --line-soft: #ebf2f8;

  /* Action gradient (replaces coral) */
  --grad-blue: linear-gradient(135deg, #2c5fa3 0%, #4a82c6 60%, #5bb4d8 100%);
  --grad-blue-deep: linear-gradient(135deg, #1f4068 0%, #2c5fa3 100%);
  --grad-sky: linear-gradient(135deg, #5bb4d8 0%, #a5d8eb 100%);

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(16, 42, 77, 0.04);
  --shadow-sm: 0 4px 14px rgba(16, 42, 77, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 42, 77, 0.09);
  --shadow-lg: 0 24px 60px rgba(16, 42, 77, 0.14);
  --shadow-blue: 0 12px 30px rgba(44, 95, 163, 0.22);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Legacy alias — most HTML files still reference var(--coral); repointed to brand accent */
  --coral: var(--blue);
  --coral-deep: var(--navy);
  --wave: var(--sky);
  --cream: var(--ice);
  --success: var(--sky);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: "Inter", "Helvetica Neue", -apple-system, sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
a { color: var(--blue); text-decoration: none; transition: color .18s; }
a:hover { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 780px; margin: 0 auto; }

/* ===== Top nav (frosted glass) ===== */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: var(--frost-strong);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem; max-width: 1180px; margin: 0 auto;
}
.topnav .brand img { height: 46px; }
.nav-links { display: none; gap: 1.75rem; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--grad-blue);
  color: white !important;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
  box-shadow: var(--shadow-blue);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(44,95,163,0.32); }
@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, var(--mist) 0%, transparent 60%),
    linear-gradient(180deg, var(--ice) 0%, var(--paper) 80%);
  padding: 4.5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle 280px at 15% 25%, var(--frost-tint), transparent),
    radial-gradient(circle 200px at 85% 75%, var(--frost-tint), transparent);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero-logo {
  display: block;
  width: 480px;
  max-width: 85%;
  aspect-ratio: 1.9 / 1;
  margin: 0 auto 2rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 22px 50px rgba(8, 22, 45, 0.38),
    0 8px 18px rgba(8, 22, 45, 0.24);
  padding: 24px 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.hero-logo:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 48px rgba(8, 22, 45, 0.42),
    0 8px 18px rgba(8, 22, 45, 0.26);
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .hero-logo { width: 320px; padding: 18px 26px; margin-bottom: 1.5rem; }
}

.hero h1 { margin-bottom: 1.25rem; }
.hero .lede {
  font-size: 1.2rem; color: var(--ink-soft);
  max-width: 680px; margin: 0 auto 2.25rem;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 1.85rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all .18s ease;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--grad-blue);
  color: white;
  box-shadow: 0 8px 18px -6px rgba(44, 95, 163, 0.42);
  border: none;
  background-clip: padding-box;
}
.btn-primary:hover {
  background: var(--grad-blue-deep);
  box-shadow: 0 18px 44px rgba(44, 95, 163, 0.30);
  color: white;
}
.btn-outline {
  background: var(--frost-strong);
  color: var(--navy);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: white;
  border-color: var(--blue);
  color: var(--blue);
}

/* ===== Trust bar ===== */
.trust-bar {
  background: var(--grad-blue-deep);
  color: white;
  padding: 1.1rem 0;
  position: relative;
}
.trust-bar .items {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.25rem;
  font-size: 0.95rem; font-weight: 500;
}
.trust-bar .items span { display: flex; align-items: center; gap: 0.5rem; }
.trust-bar .check { color: var(--aqua-glow); font-weight: 700; }

/* ===== Sections ===== */
section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head .eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--blue); font-size: 0.78rem; font-weight: 700;
  margin-bottom: 0.65rem;
}

/* ===== Service cards (clean, light, glass) ===== */
.services { background: var(--ice); position: relative; }
.services::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
}
.service-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 1.75rem; right: 1.75rem; height: 3px;
  background: var(--grad-sky);
  border-radius: 0 0 3px 3px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.service-card.featured::before { background: var(--grad-blue); height: 4px; }
.service-card.featured { border-color: var(--blue-light); }
.service-card .price {
  color: var(--navy);
  font-size: 1.75rem; font-weight: 700; margin: 1rem 0 0.5rem;
  letter-spacing: -0.02em;
}
.service-card .price small {
  font-size: 0.8rem; color: var(--ink-mute); font-weight: 400; display: block;
  letter-spacing: 0;
}
.service-card .tagline {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
  letter-spacing: 0.01em;
  text-align: center;
}
.service-card ul { list-style: none; margin: 1.25rem 0; text-align: left; display: inline-block; }
.service-card li {
  padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: var(--ink-soft);
  font-size: 0.95rem;
}
.service-card li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-sky);
}
.service-card .card-cta {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: 0.75rem;
  color: var(--blue); font-weight: 600; font-size: 0.95rem;
  transition: gap .2s;
}
.service-card .card-cta:hover { gap: .6rem; color: var(--navy); }

/* ===== Why us ===== */
.why { background: var(--paper); position: relative; }
.why-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item {
  background: linear-gradient(180deg, var(--paper) 0%, var(--ice) 100%);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  transition: transform .25s, box-shadow .25s;
}
.why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-item .icon {
  font-size: 2rem; margin-bottom: 0.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--grad-sky);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(91, 180, 216, 0.25);
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.95rem; margin-bottom: 0; }

/* ===== Meet Sam ===== */
.meet-sam {
  background:
    radial-gradient(ellipse 800px 400px at 20% 50%, var(--mist) 0%, transparent 65%),
    var(--ice);
}
.sam-wrap {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
@media (min-width: 800px) { .sam-wrap { grid-template-columns: 300px 1fr; gap: 4rem; } }
.sam-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5; max-width: 340px;
  margin: 0 auto;
  border: 4px solid white;
}
.sam-photo img { width: 100%; height: 100%; object-fit: cover; }
.sam-quote {
  font-style: italic;
  color: var(--navy); font-size: 1.2rem; font-weight: 500;
  border-left: 3px solid var(--blue);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.25rem 0;
  line-height: 1.5;
}
.sam-sig {
  color: var(--blue); font-weight: 600; margin-top: 0.75rem;
  letter-spacing: -0.01em;
}

/* ===== Hero Lead-capture button + modal ===== */
/* Hero lead-capture button — third item in .hero-actions, wraps to its own row, capped width, text centered */
.hero-quote-btn {
  flex-basis: 100%;
  max-width: 460px;
  margin: .2rem auto 0;
  display: flex;
  justify-content: center;
}
/* Hero CTA primary buttons inherit the global .btn-primary fix (border:none + background-clip:padding-box) */

.quote-modal[hidden] { display: none; }
.quote-modal {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: qmFadeIn 0.18s ease-out;
}
@keyframes qmFadeIn { from { opacity: 0; } to { opacity: 1; } }
.quote-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 22, 45, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.quote-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 24px 60px rgba(8, 22, 45, 0.5);
  animation: qmSlideUp 0.22s ease-out;
}
@keyframes qmSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.quote-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none;
  font-size: 28px; line-height: 1;
  color: var(--ink-soft, #5a6878);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 50%;
  transition: background 0.15s;
}
.quote-modal-close:hover { background: rgba(0,0,0,0.06); }
.quote-modal-head { margin-bottom: 1rem; }
.quote-eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.quote-modal-head h3 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem 0;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.quote-modal-head p {
  color: var(--ink-soft, #5a6878);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}

.quote-form .hidden-bot { position: absolute; left: -9999px; }
.qf-row {
  display: block;
  margin-bottom: 0.8rem;
}
.qf-row > span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}
.qf-row > span small {
  color: var(--ink-soft, #5a6878);
  font-weight: 400;
  letter-spacing: 0;
}
.qf-row input,
.qf-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(16, 42, 77, 0.18);
  border-radius: 8px;
  font-size: 0.97rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--navy);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.qf-row input:focus,
.qf-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 95, 163, 0.15);
}
.qf-row textarea { resize: vertical; min-height: 70px; }
.qf-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
}
.qf-fineprint {
  font-size: 0.72rem;
  color: var(--ink-soft, #7a8898);
  text-align: center;
  margin: 0.75rem 0 0 0;
  line-height: 1.4;
}

.quote-success {
  text-align: center;
  padding: 1rem 0.5rem;
}
.quote-success .qs-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5bb4d8, #2c5fa3);
  color: #fff;
  font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 22px rgba(44, 95, 163, 0.3);
}
.quote-success h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.6rem 0;
}
.quote-success p {
  color: var(--ink-soft, #5a6878);
  font-size: 0.95rem;
  margin: 0 0 1.25rem 0;
}

@media (max-width: 480px) {
  .quote-modal-card { padding: 1.4rem 1.2rem 1.2rem; }
  .quote-modal-head h3 { font-size: 1.2rem; }
}

/* ===== Service Area (interactive Leaflet map) ===== */
.service-area-section {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 900px 500px at 80% 30%, rgba(91, 180, 216, 0.08) 0%, transparent 65%),
    #ffffff;
}
.service-area-section .section-head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.service-area-section h2 { margin-bottom: 0.75rem; }
.service-area-section .section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.map-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 77, 0.12);
  box-shadow: 0 12px 36px rgba(16, 42, 77, 0.22);
  background: var(--navy);
}
#serviceAreaMap {
  height: 560px;
  background: #0a1a35;
}

/* Compact ZIP list below the map */
.service-area-section .zip-list {
  margin: 1.25rem auto 0;
  max-width: 920px;
  padding: 0 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.service-area-section .zip-list .city {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.service-area-section .zip-list .row {
  margin: 0.15rem 0;
}
@media (max-width: 700px) {
  #serviceAreaMap { height: 440px; }
  .map-frame-header { padding: 12px 16px; }
}

/* Leaflet overrides to match site palette */
.leaflet-container { background: #0a1a35 !important; }
.leaflet-popup-content-wrapper {
  background: #102a4d; color: #fff; border-radius: 8px;
}
.leaflet-popup-content { margin: 10px 14px; font-size: 14px; line-height: 1.4; }
.leaflet-popup-content b { color: #5bb4d8; }
.leaflet-popup-tip { background: #102a4d; }
.leaflet-control-attribution {
  background: rgba(16, 42, 77, 0.85) !important;
  color: #fff !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: #9bb8d8 !important; }

/* City label markers */
.city-label-wrapper { background: transparent; border: none; pointer-events: none; }
.city-label {
  display: inline-block;
  background: rgba(16, 42, 77, 0.95);
  color: #ffffff;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
}

/* ===== Pricing teaser (dark glass band) ===== */
.pricing-teaser {
  background:
    radial-gradient(ellipse 900px 500px at 30% 40%, rgba(91, 180, 216, 0.15) 0%, transparent 60%),
    var(--navy);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-teaser::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91, 180, 216, 0.12), transparent 60%);
  pointer-events: none;
}
.pricing-teaser h2 { color: white; }
.pricing-teaser p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 1.75rem; }
.pricing-snap {
  display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; margin: 2.25rem 0;
}
.pricing-snap .chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 0.2rem;
  transition: transform .2s, background .2s;
}
.pricing-snap .chip:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }
.pricing-snap .chip strong {
  color: var(--aqua-glow);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.02em;
}
.pricing-snap .chip small { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.pricing-snap .chip.chip-more {
  background: rgba(255,255,255,0.04);
  border-style: dashed;
  border-color: rgba(255,255,255,0.32);
}
.pricing-snap .chip.chip-more strong {
  font-size: 1.85rem;
  color: rgba(255,255,255,0.92);
}
.pricing-snap .chip.chip-more small {
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* ===== Reviews placeholder ===== */
.reviews { background: var(--paper); }
.reviews-empty {
  background: var(--ice);
  border: 1px dashed var(--blue-light);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.reviews-empty .badge {
  display: inline-block;
  background: var(--grad-blue);
  color: white;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1rem;
  box-shadow: var(--shadow-blue);
}

/* ===== FAQ ===== */
.faq { background: var(--ice); }
.faq-item {
  background: var(--paper);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  padding: 1.35rem 1.75rem;
  border: 1px solid var(--line-soft);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--blue-light); box-shadow: var(--shadow-sm); }
.faq-item summary {
  font-weight: 600; color: var(--navy); cursor: pointer;
  list-style: none; position: relative; padding-right: 1.75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  font-size: 1.5rem; color: var(--blue);
  transition: transform .25s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 0.7rem; margin-bottom: 0; }

/* ===== Lead form (glass-clean) ===== */
.lead-form {
  background: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 680px; margin: 0 auto;
  border: 1px solid var(--line-soft);
}
.lead-form .row { display: grid; gap: 1rem; margin-bottom: 1.1rem; }
@media (min-width: 640px) { .lead-form .row.two { grid-template-columns: 1fr 1fr; } }
.lead-form label {
  display: block; font-weight: 600; color: var(--navy);
  margin-bottom: 0.4rem; font-size: 0.85rem;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem;
  background: var(--ice);
  color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(44, 95, 163, 0.10);
}
.lead-form .honeypot { display: none; }
.lead-form .submit-row { margin-top: 1.75rem; text-align: center; }
.lead-form .btn-primary { width: 100%; }
@media (min-width: 640px) { .lead-form .btn-primary { width: auto; min-width: 260px; } }

/* ===== Sticky mobile CTA (glass) ===== */
.sticky-mobile {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--frost-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -8px 32px rgba(16, 42, 77, 0.10);
  padding: 0.7rem 0.85rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.55rem;
}
.sticky-mobile a {
  text-align: center; padding: 0.75rem 0.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.9rem;
  transition: transform .15s, box-shadow .15s;
}
.sticky-mobile a:hover { transform: translateY(-1px); }
.sticky-mobile .smb-call {
  background: var(--grad-blue);
  color: white;
  box-shadow: var(--shadow-blue);
}
.sticky-mobile .smb-text {
  background: var(--navy);
  color: white;
}
.sticky-mobile .smb-quote {
  background: var(--frost-strong);
  color: var(--navy);
  border: 1.5px solid var(--blue-light);
}
@media (min-width: 880px) { .sticky-mobile { display: none; } }
body { padding-bottom: 78px; }
@media (min-width: 880px) { body { padding-bottom: 0; } }

/* ===== Footer ===== */
.footer {
  background:
    radial-gradient(ellipse 800px 400px at 80% 20%, rgba(91, 180, 216, 0.08) 0%, transparent 60%),
    var(--navy-deep);
  color: white;
  padding: 4rem 0 1.75rem;
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 {
  color: var(--aqua-glow);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer a, .footer p, .footer li {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem; margin-bottom: 0.55rem;
}
.footer a:hover { color: white; }
.footer ul { list-style: none; }
.footer .brand-line {
  font-size: 1.5rem; color: white; margin-bottom: 0.65rem;
  font-weight: 700; letter-spacing: -0.02em;
}
.footer .legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem; text-align: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}

/* ===== Utility ===== */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Smooth reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Hero carousel (added in carousel pass) ===== */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  transform: scale(1.05);
  animation: kenburns 24s ease-in-out infinite;
}
.hero-bg .slide.active { opacity: 1; }
@keyframes kenburns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(16,42,77,0.55) 0%, rgba(16,42,77,0.45) 35%, rgba(16,42,77,0.80) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.35) 100%);
}
.hero > .container {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero h1 {
  color: white !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero h1 span { color: var(--aqua-glow); }
.hero .lede {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.hero .btn-outline {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.hero .btn-outline:hover {
  background: white;
  color: var(--navy);
  border-color: white;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 1.5rem;
}
/* Scroll-down indicator */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,0.85);
  font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 12px); }
}

/* ===== Gallery section (added in carousel pass) ===== */
.gallery {
  background: var(--ice);
  padding: 5rem 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: block;
  background: var(--paper);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Gallery lightbox (simple click-to-enlarge) */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 26, 49, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95%; max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.15); color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  width: 48px; height: 48px;
  font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
