/* =========================================================
   Andy's Carpet Cleaning — styles
   ========================================================= */

:root {
  --navy: #0a2463;
  --navy-2: #12317f;
  --blue: #1565d8;
  --sky: #3fa9f5;
  --aqua: #bfe6ff;
  --ice: #eef7ff;
  --ink: #0f1b33;
  --muted: #4d5b75;
  --line: #d9e6f5;
  --white: #ffffff;
  --urgent: #e0483e;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 36, 99, .08);
  --shadow: 0 12px 32px rgba(10, 36, 99, .12);
  --shadow-lg: 0 24px 60px rgba(10, 36, 99, .2);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Lobster", "Brush Script MT", cursive;

  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 40px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.7em; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 216, .35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(21, 101, 216, .45); }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-house { width: 44px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-script); font-size: 1.95rem; color: var(--navy); letter-spacing: .5px; }
.brand-sub {
  font-family: var(--font-head); font-weight: 800; font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-top: 7px;
}
.brand-light, .brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--aqua); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--navy); text-decoration: none; transition: background-color .2s ease;
}
.main-nav a:hover { background: var(--ice); }

.header-call { padding: .7em 1.2em; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--ice); cursor: pointer; padding: 12px 11px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 120px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(63, 169, 245, .25), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(21, 101, 216, .14), transparent 60%),
    linear-gradient(180deg, #f3f9ff 0%, #e3f1ff 100%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow-light { color: var(--aqua); }

.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-bottom: 28px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero-points li, .check-list li { position: relative; padding-left: 30px; font-weight: 600; color: var(--navy); }
.hero-points li::before, .check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.hero-art { position: relative; }
.hero-art > svg {
  width: 100%; height: auto; border-radius: 28px;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; background: #fff;
}
.badge {
  position: absolute; left: -22px; bottom: -26px;
  width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, var(--blue), var(--navy));
  color: #fff; font-family: var(--font-script); font-size: 1.2rem; line-height: 1.1;
  box-shadow: 0 12px 30px rgba(10, 36, 99, .35); border: 5px solid #fff;
  transform: rotate(-10deg);
}
.badge strong { font-weight: 400; font-size: 1.4rem; color: var(--aqua); }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; }

/* Floating bubbles */
.bubbles span {
  position: absolute; bottom: -80px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, rgba(191, 230, 255, .7) 45%, rgba(63, 169, 245, .35) 100%);
  border: 1.5px solid rgba(255, 255, 255, .9);
  animation: rise linear infinite; opacity: .8; pointer-events: none;
}
.bubbles span:nth-child(1) { left: 4%;  width: 26px; height: 26px; animation-duration: 14s; }
.bubbles span:nth-child(2) { left: 18%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: -4s; }
.bubbles span:nth-child(3) { left: 36%; width: 34px; height: 34px; animation-duration: 18s; animation-delay: -9s; }
.bubbles span:nth-child(4) { left: 52%; width: 18px; height: 18px; animation-duration: 12s; animation-delay: -2s; }
.bubbles span:nth-child(5) { left: 68%; width: 22px; height: 22px; animation-duration: 16s; animation-delay: -7s; }
.bubbles span:nth-child(6) { left: 84%; width: 12px; height: 12px; animation-duration: 9s;  animation-delay: -5s; }
.bubbles span:nth-child(7) { left: 94%; width: 30px; height: 30px; animation-duration: 20s; animation-delay: -12s; }

@keyframes rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: .8; }
  50%  { transform: translate(18px, -50vh); }
  100% { transform: translate(-10px, -110vh); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: linear-gradient(180deg, var(--ice), #f8fbff); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #b9d6f5; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.service-card p { color: var(--muted); margin-bottom: 0; }

.service-icon {
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  box-shadow: 0 8px 18px rgba(21, 101, 216, .3), inset 0 0 0 4px rgba(255, 255, 255, .25);
}
.service-icon svg { width: 40px; height: 40px; }

.tag {
  display: inline-block; margin-top: 16px; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-head); font-size: .76rem; font-weight: 700;
  background: var(--ice); color: var(--blue);
}
.tag-urgent { background: #fdecea; color: #b8322a; }

.service-card-cta {
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); border: 0; color: #fff;
}
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 22px; }

/* ---------- Before & After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-card {
  margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.ba-card figcaption { padding: 16px 20px 18px; color: var(--muted); font-size: .95rem; }
.ba-card figcaption strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--navy); }

.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eef5;
  user-select: none; -webkit-user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-tag {
  position: absolute; top: 12px; padding: 4px 12px; border-radius: 999px; pointer-events: none;
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(10, 36, 99, .78);
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; background: rgba(21, 101, 216, .9); }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px;
  background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .3); pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6' fill='none' stroke='%230a2463' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
  -webkit-appearance: none; appearance: none;
}
.ba:has(.ba-range:focus-visible) .ba-handle::after { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- Emergency banner ---------- */
.emergency { background: linear-gradient(110deg, var(--navy) 0%, var(--blue) 100%); color: #fff; padding: 44px 0; }
.emergency-inner { display: flex; align-items: center; gap: 28px; }
.emergency-inner h2 { color: #fff; font-size: 1.7rem; margin-bottom: .25em; }
.emergency-inner p { margin: 0; color: rgba(255, 255, 255, .85); }
.emergency-inner .btn { margin-left: auto; flex: none; }
.emergency-icon {
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: var(--aqua);
}
.emergency-icon svg { width: 32px; height: 32px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-align: center;
}
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
.feature-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
  display: grid; place-items: center; background: var(--ice); color: var(--blue);
}
.feature-icon svg { width: 28px; height: 28px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--sky) 0 12px, transparent 12px 22px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--navy));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
  box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(21, 101, 216, .3);
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; }
.step a { font-weight: 700; text-decoration: none; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.area-copy h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; }
.area-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; }

.area-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy);
}
.area-list li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z' fill='%231565d8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.area-list li:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.area-list li:first-child::before { filter: brightness(0) invert(1); }

.area-note { margin: 0; color: var(--muted); }
.area-note a { font-weight: 700; text-decoration: none; }
.area-note a:hover { text-decoration: underline; }

.area-map svg {
  width: 100%; height: auto; border-radius: 24px; background: #fff;
  border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.map-pins circle { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.map-labels text, .map-hub, .map-water {
  font-family: var(--font-head); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round;
}
.map-labels text { font-size: 13px; font-weight: 700; fill: var(--navy); }
.map-hub { font-size: 20px; font-weight: 800; fill: var(--navy); }
.map-water { font-size: 11px; font-weight: 600; font-style: italic; fill: var(--blue); stroke: #bfe6ff; }

.footer-area { margin-top: 10px; font-size: .92rem; max-width: 32em; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: border-color .2s ease;
}
.faq-list details[open] { border-color: #b9d6f5; }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 60px 20px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--ice)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231565d8' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(63, 169, 245, .3), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0d2f7a 100%);
  color: #fff;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; }
.contact-info > p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }

.contact-phone {
  display: inline-flex; align-items: center; gap: 16px; margin: 12px 0 32px;
  padding: 16px 26px 16px 16px; border-radius: 999px;
  background: #fff; color: var(--navy); text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg); transition: transform .2s ease;
}
.contact-phone:hover { transform: translateY(-3px); }
.contact-phone small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.contact-phone > span:last-child { line-height: 1.1; }
.contact-phone-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff;
}
.contact-phone-icon svg { width: 26px; height: 26px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { color: #fff; }
.check-list li::before { background-color: var(--sky); }
.check-list small { font-weight: 500; color: rgba(255, 255, 255, .7); }

.quote-form {
  background: #fff; color: var(--ink); border-radius: 24px; padding: 34px;
  box-shadow: var(--shadow-lg);
}
.quote-form h3 { font-size: 1.45rem; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 2px solid var(--line); background: #fbfdff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 101, 216, .15); background: #fff;
}
.field.invalid input, .field.invalid select { border-color: var(--urgent); }
.field-error { display: block; margin-top: 6px; color: #b8322a; font-size: .88rem; font-weight: 600; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.form-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px;
  background: var(--ice); border-radius: 999px;
}
.form-tabs label { position: relative; cursor: pointer; }
.form-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.form-tabs span {
  display: block; text-align: center; padding: 10px 12px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.form-tabs input:checked + span { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.form-tabs input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

.form-title { margin-bottom: 6px !important; }
.form-intro { color: var(--muted); font-size: .97rem; margin-bottom: 20px; }

.quote-form[data-mode="book"] .quote-only,
.quote-form[data-mode="quote"] .book-only { display: none; }

.booking-card { scroll-margin-top: calc(var(--header-h) + 12px); }

.calendly-embed {
  position: relative; height: 700px; margin: 0 -18px;
  border-radius: 14px; overflow: hidden; background: var(--ice);
}
.calendly-embed iframe { width: 100%; height: 100%; border: 0; }
.calendly-loading {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0;
  color: var(--muted); font-weight: 600;
}

.nav-book { background: var(--ice); color: var(--blue) !important; }
.nav-book:hover { background: #dbeeff !important; }

.form-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form-status:not(:empty) {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: #e8f7ef; color: #14643c; font-weight: 600;
}
.form-status.is-error { background: #fdecea; color: #b8322a; }
.form-status a { color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: #061844; color: rgba(255, 255, 255, .78); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-tag { margin-top: 14px; font-family: var(--font-head); font-weight: 600; color: var(--aqua); }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Temporary trip (Pensacola) ---------- */
.trip-banner { background: linear-gradient(90deg, #b8322a, var(--urgent)); color: #fff; font-size: .95rem; }
.trip-banner-inner { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.trip-banner p { margin: 0; flex: 1; }
.trip-banner-sub { opacity: .9; margin-left: 4px; }
.trip-banner-link {
  flex: none; color: #fff; font-family: var(--font-head); font-weight: 700; text-decoration: none;
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18);
}
.trip-banner-link:hover { background: rgba(255, 255, 255, .3); }

.pulse {
  flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.nav-urgent { color: #b8322a !important; background: #fdecea; }
.nav-urgent:hover { background: #fbd9d5 !important; }

.trip-note {
  margin: -6px 0 18px; padding: 10px 14px; border-radius: 12px;
  background: #fdecea; color: #8f241d; font-size: .93rem;
}

.trip-ended { background: var(--ice); border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--navy); }
.trip-ended a { font-weight: 700; }

.hero-simple { position: relative; max-width: 860px; text-align: center; }
.hero-simple .lead { margin-inline: auto; }
.hero-simple .hero-actions, .hero-simple .hero-points { justify-content: center; }
.hero-urgent { padding-bottom: 130px; }

.urgent-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  padding: 8px 16px; border-radius: 999px; background: var(--urgent); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}

.scope-note {
  max-width: 760px; margin: 36px auto 0; padding: 18px 22px; border-radius: var(--radius-sm);
  background: var(--ice); border: 1px solid var(--line); color: var(--ink); text-align: center;
}

.tips { list-style: none; counter-reset: tip; padding: 0; margin: 0; display: grid; gap: 14px; }
.tips li {
  counter-increment: tip; position: relative; padding: 18px 20px 18px 70px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  color: var(--muted);
}
.tips li::before {
  content: counter(tip); position: absolute; left: 18px; top: 16px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--navy)); color: #fff;
  font-family: var(--font-head); font-weight: 800;
}
.tips strong { color: var(--navy); }

.area-list-center { justify-content: center; }
.area-group {
  margin: 18px 0 10px; font-size: .82rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.area-group + .area-list { margin-bottom: 6px; }
.map-labels-sm text { font-size: 12px; }
.map-pins .pin-sm { fill: #5b8fd6; stroke: none; }
.map-ring { font-family: var(--font-head); font-size: 12px; font-weight: 700; fill: #1565d8; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.map-caption { margin: 10px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.area-map-wide { max-width: 960px; margin: 0 auto 40px; }
.area-map-wide .map-labels-sm text { font-size: 11.5px; }
.area-columns { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 8px 36px; }
.area-columns .area-group:first-child { margin-top: 0; }
.area-note-center { text-align: center; margin-top: 28px; }
@media (max-width: 920px) { .area-columns { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .area-map-wide { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -16px; padding: 0 16px 6px; }
  .area-map-wide svg { min-width: 600px; }
  .area-map-wide .map-caption::after { content: " Swipe to see the whole map."; }
}
.map-state { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .18em; fill: #8aa0bd; }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { display: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 10px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .header-call { display: none; }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility .25s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }

  .hero { padding: 40px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .area-grid { grid-template-columns: 1fr; gap: 40px; }
  .area-map { max-width: 520px; width: 100%; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .emergency-inner { flex-direction: column; text-align: center; gap: 18px; }
  .emergency-inner .btn { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 72px; } /* room for the mobile bar */
  .container, .container-narrow { width: calc(100% - 32px); }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }

  .hero .eyebrow { font-size: .72rem; letter-spacing: .08em; }
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; align-items: center; gap: 8px; }
  .badge { width: 112px; height: 112px; font-size: .95rem; left: -6px; bottom: -22px; }
  .badge strong { font-size: 1.1rem; }

  .services-grid, .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }

  .quote-form { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .calendly-embed { height: 760px; margin: 0 -14px; }
  .form-tabs span { font-size: .88rem; padding: 10px 6px; }
  .contact-phone { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(10, 36, 99, .1);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 48px; border-radius: 12px; text-decoration: none;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  }
  .mobile-bar-call { background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; }
  .mobile-bar-text { background: var(--ice); color: var(--navy); }
  .mobile-bar-quote { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
  .mobile-bar-two { grid-template-columns: 1fr 1fr; }

  .trip-banner { font-size: .85rem; }
  .trip-banner-inner { flex-wrap: wrap; gap: 6px 10px; padding: 9px 0; }
  .trip-banner-sub { display: block; margin: 2px 0 0; }
  .trip-banner .pulse { display: none; }
  .trip-banner-link { padding: 4px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bubbles { display: none; }
}

/* =========================================================
   Emergency landing (pensacola.html)
   ========================================================= */
.hero-em {
  position: relative; overflow: hidden; color: #fff;
  padding: 56px 0 130px;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(63, 169, 245, .35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(224, 72, 62, .22), transparent 60%),
    linear-gradient(160deg, #061844 0%, #0a2463 45%, #12317f 100%);
}
.hero-em .bubbles span { opacity: .35; }
.hero-em-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-em h1 { color: #fff; font-size: clamp(2.05rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.accent-light {
  background: linear-gradient(90deg, #7fd3ff, #bfe6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-em-lead { color: rgba(255, 255, 255, .86); font-size: 1.12rem; max-width: 36em; margin-bottom: 26px; }

.call-big {
  display: inline-flex; align-items: center; gap: 16px; margin-bottom: 16px;
  padding: 12px 30px 12px 12px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(135deg, #ff5a4e, #d0342b); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.15rem); line-height: 1.05;
  box-shadow: 0 14px 34px rgba(224, 72, 62, .45);
  transition: transform .15s ease, box-shadow .2s ease;
}
.call-big:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(224, 72, 62, .55); }
.call-big small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .05em; opacity: .9; margin-bottom: 2px; }
.call-big-icon {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #d0342b; animation: ring 2.6s ease-in-out infinite;
}
.call-big-icon .icon { width: 28px; height: 28px; }
@keyframes ring {
  0%, 70%, 100% { transform: rotate(0); }
  74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); }
  82% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(0); }
}

.hero-em-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); }
.btn-urgent { background: linear-gradient(135deg, #ff5a4e, #d0342b); color: #fff; box-shadow: 0 8px 20px rgba(224, 72, 62, .35); }
.btn-urgent:hover { box-shadow: 0 12px 28px rgba(224, 72, 62, .45); }
.hero-em-tip { color: rgba(255, 255, 255, .75); font-size: .95rem; margin: 14px 0 22px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.trust-row li { position: relative; padding-left: 28px; font-weight: 600; color: #fff; }
.trust-row li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.em-card {
  position: relative; background: #fff; color: var(--ink); border-radius: 24px; padding: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35); border-top: 6px solid var(--urgent);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.em-card-title { font-size: 1.4rem; margin-bottom: 4px; }
.em-card-sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.em-issues { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.em-issues legend { padding: 0; margin-bottom: 8px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.em-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.em-chips label { position: relative; cursor: pointer; }
.em-chips input { position: absolute; opacity: 0; pointer-events: none; }
.em-chips span {
  display: block; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fbfdff;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.em-chips span:hover { border-color: #f4a49d; }
.em-chips input:checked + span { background: #fdecea; border-color: var(--urgent); color: #b8322a; }
.em-chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.em-issues.invalid .em-chips span { border-color: #f4a49d; }

.save-share { padding: 64px 0; background: var(--ice); }
.save-share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.save-share-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.save-share-card h3 { font-size: 1.25rem; }
.save-share-card p { color: var(--muted); }
.share-status { margin: 10px 0 0; font-size: .9rem; color: #14643c; font-weight: 600; min-height: 1.2em; }

.float-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #ff5a4e, #d0342b); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 14px 34px rgba(224, 72, 62, .45);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.float-call.show { opacity: 1; transform: none; pointer-events: auto; }

@media (min-width: 921px) { .hide-desktop { display: none; } }
@media (max-width: 920px) {
  .hero-em { padding: 36px 0 110px; }
  .hero-em-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-em-copy { text-align: center; }
  .hero-em-lead { margin-inline: auto; }
  .hero-em-actions, .trust-row { justify-content: center; }
}
@media (max-width: 640px) {
  .call-big { width: 100%; justify-content: center; padding-right: 20px; }
  .hero-em-actions .btn { width: 100%; }
  .trust-row { flex-direction: column; align-items: center; gap: 8px; }
  .em-card { padding: 22px 18px; }
  .save-share-grid { grid-template-columns: 1fr; }
  .float-call { display: none; }
  .mobile-bar-em { grid-template-columns: 1.4fr 1fr; }
  .mobile-bar-call-em { background: linear-gradient(135deg, #ff5a4e, #d0342b); color: #fff; font-size: 1.05rem !important; }
}

/* ---------- Hurricane Isaias section (pensacola.html) ---------- */
.isaias { background: linear-gradient(180deg, #fff6f5, #ffffff); border-top: 1px solid #f6d6d2; }
.isaias-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.isaias-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.isaias-copy p { color: var(--muted); font-size: 1.05rem; }
.isaias-copy strong { color: var(--ink); }
.isaias-copy .eyebrow-urgent { color: #b8322a; font-size: .8rem; }
.isaias-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.isaias-card {
  background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid #f6d6d2;
  border-top: 6px solid var(--urgent); box-shadow: var(--shadow);
}
.isaias-card h3 { font-size: 1.25rem; }
.isaias-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.isaias-list li { position: relative; padding-left: 22px; color: var(--muted); }
.isaias-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--urgent); }
.isaias-list strong { color: var(--navy); }
.isaias-note { margin: 0; font-weight: 700; color: #b8322a; }
@media (max-width: 920px) {
  .isaias-grid { grid-template-columns: 1fr; gap: 28px; }
  .isaias-actions .btn { flex: 1 1 220px; }
}

/* ---------- Privacy page ---------- */
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p { color: var(--muted); }
.legal-updated { font-size: .9rem; }
.site-footer .footer-bottom:first-child { margin-top: 0; }
