/* ============================================================
   Florida Keys Cleaning Co. — Prototype Stylesheet
   Mobile-first. Brand colors pulled from logo (sky blue + leaf green).
   ADA: 4.5:1 contrast on body text, visible focus states, 44px targets.
   ============================================================ */

:root {
  --blue: #15627e;          /* AA-passing brand teal (6.8:1 on white). Old brighter #2BA8D4 = 2.74:1, failed AA. */
  --blue-bright: #2BA8D4;   /* original logo sky-blue, kept for decorative-only use (revert --blue here if Michael wants it back) */
  --blue-deep: #15627e;     /* link/accent teal — collapsed onto --blue so all text passes AA on the soft off-white bg too (old #1B7FA8 = 4.28:1 there, failed). */
  --blue-ink: #0E3A4D;       /* dark text-safe blue */
  --green: #5FA830;          /* logo leaf green, darkened for AA contrast */
  --green-bright: #7AC943;
  --ink: #15252B;            /* near-black body text */
  --gray: #5A6B72;
  --line: #E4ECEF;
  --bg: #FFFFFF;
  --bg-soft: #F4FAFC;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 58, 77, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 58, 77, 0.16);
  --container: 1140px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;  /* keysy soft-serif headings */
}

/* Headings use the display serif (Fraunces) for a coastal-boutique feel; body stays Poppins. */
h1, h2, h3, h4,
.hero-content h1, .section-head h2, .page-hero h1, .area-text h2, .final-cta h2,
.svc-detail h3, .service-card h3, .prose h2, .prose h3, .step h3,
.wizard-step h2, .role-card h3, .login-card h2, .job-card h3, .post-card h3, .err-wrap h1 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Visible focus for keyboard users (ADA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.radio-card input:focus-visible + .radio-card-inner {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Skip link (ADA) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue-ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ BUTTONS (min 44px touch target) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; opacity: .88; }
/* Logo image in sticky header */
.brand-logo { height: 48px; width: auto; display: block; }
/* Logo image in footer */
.footer-logo { height: 68px; width: auto; display: block; margin-bottom: 12px; }
/* Footer brand-text (legacy Pacifico — unused now but kept for safety) */
.brand-text { font-family: 'Pacifico', cursive; color: var(--blue); font-size: 1.35rem; font-weight: 400; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 48px; height: 48px; background: transparent; border: none; cursor: pointer;
}
.nav-toggle-bar { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu {
  list-style: none; position: absolute; top: 70px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  flex-direction: column; padding: 8px 20px 20px;
  display: none; box-shadow: var(--shadow);
}
.nav-menu.open { display: flex; }
.nav-menu li { width: 100%; }
.nav-menu a {
  display: block; padding: 14px 4px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav-menu a:hover { text-decoration: none; color: var(--blue-deep); }
.nav-cta { color: var(--blue-deep) !important; }

/* ============ FIXED ANIMATED BACKGROUND (whole page) ============ */
/* Canvas is fixed behind everything; full page scroll scrubs messy->clean.
   A fixed scrim keeps text legible (ADA contrast) over the photo. */
.bg-stage { position: fixed; inset: 0; z-index: 0; }
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  background: #0E3A4D url('hero-static.webp?v=4') center/cover no-repeat; /* poster while frames preload */
}
.bg-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,58,77,.30) 0%, rgba(14,58,77,.42) 45%, rgba(14,58,77,.30) 100%);
}
/* All page content sits above the fixed background */
.site-header, #main, .site-footer { position: relative; z-index: 2; }

/* ============ HERO (first screen) ============ */
.hero-first { min-height: calc(100vh - 70px); display: flex; align-items: center; position: relative; }
/* Hero scrim — a WCAG 1.4.3 fix, measured, not guessed.
 *
 * The hero is white text over a photograph of a bright room (white sofa, sunlit glass). Measured
 * on the live page 2026-09-19 by screenshotting each text element, masking the glyphs and reading
 * the real pixels behind them: the eyebrow line ran at 2.13:1, the sub-paragraph 2.35:1 and the
 * H1 2.41:1 — against 4.5:1 for the small text and 3:1 for the large heading. Automated checkers
 * report these as "1:1" because they compare the text colour to a transparent parent and cannot
 * see the image at all, which is why they were never actioned before.
 *
 * Scrim strength was chosen by measurement, not taste: candidates at 25%, 35%, 45% and 55% plus
 * two gradients were rendered and re-measured against the brightest 5% of the true background.
 * 25% and 35% still failed the eyebrow. 45% is the lightest that clears every element
 * (H1 5.40:1, eyebrow 4.78:1, sub 5.22:1), so it is the one used — the photograph stays visible. */
.hero-first::before { content: ''; position: absolute; inset: 0; background: rgba(8,36,50,.45); pointer-events: none; z-index: 0; }
.hero-first > * { position: relative; z-index: 1; }
.hero-content { color: #fff; max-width: 720px; width: 100%; margin: 0 auto; padding: 40px 20px; text-shadow: 0 2px 16px rgba(14,58,77,.45); position: relative; z-index: 1; }
/* 🛑 No `opacity` on hero text. Opacity multiplies against whatever is behind it, so it lowers
   real contrast while looking harmless in the stylesheet — the same mechanism that failed the
   paused-automation rows in the 2026-08-16 audit. Use a colour, never a transparency. */
.hero-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: .8rem; margin-bottom: 14px; }
.hero-content h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.08; font-weight: 800; margin-bottom: 18px; }
.hero-sub { font-size: clamp(1rem, 2.6vw, 1.25rem); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { text-shadow: none; }
.scroll-cue { display: flex; align-items: center; gap: 10px; margin-top: 34px; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }
.scroll-cue span { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.7); border-radius: 12px; position: relative; flex: none; }
.scroll-cue span::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: #fff;
  border-radius: 2px; transform: translateX(-50%); animation: cueDot 1.6s infinite;
}
@keyframes cueDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Mobile: hide scroll cue (not needed on touch) */
@media (max-width: 759px) {
  .scroll-cue { display: none; }
}

/* ============ TRUST BAR ============ */
.trust-bar { background: rgba(14,58,77,.62); backdrop-filter: blur(6px); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 20px; }
.trust-item { text-align: center; }
.trust-num { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; }
.trust-label { display: block; font-size: .85rem; opacity: .85; margin-top: 2px; }

/* ============ SECTIONS (transparent — animated bg shows through) ============ */
.section { padding: 64px 0; }
.section-alt { background: transparent; }
.section-head {
  text-align: center; max-width: 660px; margin: 0 auto 44px;
  background: rgba(14,58,77,.55); backdrop-filter: blur(7px);
  padding: 26px 30px; border-radius: 18px;
}
.section-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: .78rem; color: #8FD8F2; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800; line-height: 1.15; color: #fff; }
.section-lead { color: rgba(255,255,255,.92); margin-top: 12px; font-size: 1.05rem; }

/* ============ SERVICES ============ */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.featured { border-color: var(--blue); border-width: 2px; }
.service-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; padding: 6px 16px; border-radius: 999px;
}
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 15px; background: rgba(43,168,212,0.10); color: var(--blue); }
.service-icon svg { width: 27px; height: 27px; display: block; }
.service-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--gray); margin-bottom: 18px; }
.service-link { font-weight: 600; color: var(--blue-deep); }
.addons-note {
  text-align: center; color: #fff; margin: 30px auto 0; font-size: .95rem; max-width: 620px;
  background: rgba(14,58,77,.5); backdrop-filter: blur(6px); padding: 12px 22px; border-radius: 999px;
}

/* ============ QUOTE CALCULATOR ============ */
.quote-section { background: transparent; }
.quote-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.quote-form fieldset { border: none; margin-bottom: 22px; }
.quote-form legend { font-weight: 700; font-size: 1rem; margin-bottom: 12px; color: var(--ink); }

.radio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card-inner {
  display: flex; flex-direction: column; gap: 2px; text-align: center;
  padding: 14px 8px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  transition: .15s; min-height: 64px; justify-content: center;
}
.radio-card-inner strong { font-size: .95rem; }
.radio-card-inner small { color: var(--gray); font-size: .72rem; }
.radio-card input:checked + .radio-card-inner { border-color: var(--blue); background: rgba(43,168,212,.08); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.field select {
  width: 100%; min-height: 48px; padding: 10px 14px; font-family: var(--font); font-size: 1rem;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field select:focus { border-color: var(--blue); }

.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-card {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 48px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: .92rem;
}
.checkbox-card input { width: 20px; height: 20px; accent-color: var(--blue); }
.checkbox-card:has(input:checked) { border-color: var(--green); background: rgba(95,168,48,.08); }

.quote-result {
  background: var(--blue-ink); color: #fff; border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-lg); align-self: start; position: sticky; top: 90px;
}
.quote-result-label { text-transform: uppercase; letter-spacing: 2px; font-size: .75rem; opacity: .8; }
.quote-price { font-size: 3rem; font-weight: 800; line-height: 1; margin: 8px 0; }
.quote-range { opacity: .85; font-size: .95rem; margin-bottom: 18px; }
.quote-disclaimer { font-size: .82rem; opacity: .8; margin-bottom: 18px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
.quote-trust { text-align: center; font-size: .8rem; opacity: .75; margin-top: 10px; }

/* ============ HOW IT WORKS ============ */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.step {
  text-align: center; background: rgba(14,58,77,.55); backdrop-filter: blur(7px);
  border-radius: var(--radius); padding: 30px 24px;
}
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  background: var(--blue); color: #fff; border-radius: 50%; font-size: 1.4rem; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.step p { color: rgba(255,255,255,.9); }

/* ============ REVIEWS ============ */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
/* Review stars: #F5A623 measured 2.03:1 on white, against the 4.5:1 the star glyphs need as text.
   Same hue and saturation, lightness dropped until it cleared the threshold — 4.71:1. */
.stars { color: #A16707; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-style: italic; margin-bottom: 14px; }
.review-card cite { color: var(--gray); font-style: normal; font-weight: 600; font-size: .9rem; }

/* ============ SERVICE AREA ============ */
.area-inner { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.area-text { background: rgba(14,58,77,.55); backdrop-filter: blur(7px); border-radius: var(--radius); padding: 32px 30px; }
.area-text .section-eyebrow { color: #8FD8F2; }
.area-text h2 { margin: 10px 0 14px; font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; color: #fff; }
.area-text p { color: rgba(255,255,255,.92); margin-bottom: 22px; }
.map-placeholder {
  display: grid; place-items: center; gap: 10px; min-height: 280px;
  background: linear-gradient(135deg, #d9f0f7, #eafbe6); border-radius: var(--radius);
  font-size: 3rem; color: var(--blue-deep); border: 1px dashed var(--blue);
}
.map-placeholder span { font-size: 1rem; font-weight: 600; }

/* ============ FINAL CTA ============ */
/* Same story as the hero: white text sitting straight on the page-level photograph, measured at
   2.59:1 against the 3:1 this heading size needs. A scrim at the same strength as the hero's
   brings it to the same place; `background: transparent` was what left it exposed. */
.final-cta { background: transparent; color: #fff; text-align: center; padding: 90px 0; position: relative; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: rgba(8,36,50,.45); pointer-events: none; z-index: 0; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2, .final-cta .cta-or { text-shadow: 0 2px 18px rgba(14,58,77,.75); }
.final-cta h2 { font-size: clamp(1.5rem, 4.5vw, 2.4rem); font-weight: 800; max-width: 720px; margin: 0 auto 26px; }
.cta-or { margin-top: 18px; opacity: .95; }
.cta-or a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer { background: var(--blue-ink); color: #cfe3eb; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
.footer-brand .brand-text { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin-top: 10px; max-width: 320px; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col a, .footer-brand a { color: #cfe3eb; }
.footer-col p { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px;
  display: flex; flex-direction: column; gap: 8px; text-align: center; font-size: .85rem;
}
.footer-bottom a { color: #cfe3eb; }

/* ============ SCROLL REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Respect reduced-motion (ADA) */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ MOBILE FIXES ============ */
@media (max-width: 759px) {
  /* Stack the 2-col form row on narrow screens so fields don't get squeezed */
  .field-row { grid-template-columns: 1fr; }
  /* Shrink logo slightly on very small phones */
  .brand-logo { height: 40px; }
  .footer-logo { height: 56px; }
  /* 5-step stepper: shrink text + drop letter-spacing so each label stays one
     whole word across 5 columns (no mid-word breaks like "SCHEDU/LE"). */
  .wizard-progress { gap: 4px; }
  .wizard-progress .wp-step { font-size: .58rem; letter-spacing: 0; padding-bottom: 8px; }
}

/* ============ DESKTOP / TABLET ============ */
@media (min-width: 760px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-wrap { grid-template-columns: 1.4fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .area-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; display: flex; flex-direction: row; gap: 6px; align-items: center;
    background: transparent; border: none; box-shadow: none; padding: 0; width: auto;
  }
  .nav-menu li { width: auto; }
  .nav-menu a { border: none; padding: 10px 16px; }
  .nav-cta { background: var(--blue); color: #fff !important; border-radius: 999px; padding: 10px 22px !important; }
  .nav-cta:hover { background: var(--blue-ink); }
  .nav-login { color: var(--blue-ink) !important; }
}

/* ============================================================
   INNER PAGES  (Services, About, Contact, Book, Reviews,
   Careers, Blog, Login, 404). No canvas background — content
   renders dark-on-white. Scope: <main class="inner">.
   ============================================================ */

/* Compact gradient hero banner at top of each inner page */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-ink) 100%);
  color: #fff; padding: 64px 0 56px; text-align: center;
}
.page-hero .page-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
  font-size: .78rem; color: #8FD8F2; margin-bottom: 12px;
}
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; line-height: 1.1; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 620px; margin: 16px auto 0; font-size: 1.08rem; }
.page-hero .breadcrumb { font-size: .85rem; opacity: .8; margin-top: 18px; }
.page-hero .breadcrumb a { color: #fff; text-decoration: underline; }

/* Inner-page section heads: transparent, dark text */
.inner .section { background: var(--bg); }
.inner .section-alt { background: var(--bg-soft); }
.inner .section-head {
  background: transparent; backdrop-filter: none; padding: 0;
  margin: 0 auto 40px; text-align: center;
}
.inner .section-head h2 { color: var(--ink); }
.inner .section-eyebrow { color: var(--blue-deep); }
.inner .section-lead { color: var(--gray); }

/* Generic prose / text content */
.prose { max-width: 720px; margin: 0 auto; color: var(--ink); }
.prose p { margin-bottom: 18px; color: var(--gray); }
.prose h2, .prose h3 { color: var(--ink); margin: 28px 0 12px; }
.prose ul { margin: 0 0 18px 22px; color: var(--gray); }
.prose li { margin-bottom: 8px; }

/* Placeholder note chip — visible reminder of what's awaiting Michael */
.ph {
  display: inline-block; background: #FFF4D6; border: 1px dashed #E0B100;
  color: #7A5C00; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin: 6px 0;
}

/* ============ TEXT INPUTS / TEXTAREA (forms beyond homepage) ============ */
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-family: var(--font);
  font-size: 1rem; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field .hint { font-size: .82rem; color: var(--gray); margin-top: 6px; }
.field .req { color: #C0392B; }

/* ============ SERVICES PAGE ============ */
.svc-detail {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 26px; margin-bottom: 26px;
}
.svc-detail h3 { font-size: 1.5rem; margin-bottom: 8px; }
.svc-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue-deep); background: rgba(43,168,212,0.12); padding: 3px 10px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.svc-detail .svc-price { color: var(--blue-deep); font-weight: 700; margin-bottom: 14px; }
.svc-detail ul { list-style: none; }
.svc-detail li { padding: 7px 0 7px 28px; position: relative; color: var(--gray); }
.svc-detail li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ============ CONTACT / TWO-COLUMN LAYOUT ============ */
.two-col { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1000px; margin: 0 auto; }
.contact-info { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info .ci-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-info .ci-ico { color: var(--blue); font-size: 1.2rem; flex: none; }
.contact-info a { color: var(--blue-deep); font-weight: 600; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px; }
.form-success {
  display: none; background: rgba(95,168,48,.1); border: 1px solid var(--green);
  color: #2E5417; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px; font-weight: 600;
}
.form-success.show { display: block; }

/* ============ BOOK WIZARD ============ */
.wizard-wrap { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
/* Grid/flex items default to min-width:auto, so the 5-step progress stepper's
   min-content was forcing the wizard wider than its column (14px mobile overflow).
   Letting these shrink to their track keeps the wizard inside the viewport. */
.wizard-wrap > *, .wizard, .book-summary { min-width: 0; }
.wizard-progress .wp-step { min-width: 0; }
.wizard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 24px;
}
.wizard-progress { display: flex; gap: 6px; margin-bottom: 26px; }
.wizard-progress .wp-step {
  flex: 1; text-align: center; font-size: .72rem; font-weight: 700; color: var(--gray);
  padding-bottom: 10px; border-bottom: 3px solid var(--line); text-transform: uppercase; letter-spacing: .5px;
}
.wizard-progress .wp-step.active { color: var(--blue-deep); border-bottom-color: var(--blue); }
.wizard-progress .wp-step.done { color: var(--green); border-bottom-color: var(--green); }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: wzfade .3s ease; }
@keyframes wzfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard-step h2 { font-size: 1.4rem; margin-bottom: 6px; }
.wizard-step .step-lead { color: var(--gray); margin-bottom: 20px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wizard-nav .btn-back { background: transparent; border-color: var(--line); color: var(--gray); }
.wizard-nav .btn-back:hover { background: var(--bg-soft); }
.wizard-error { color: #C0392B; font-size: .9rem; margin-top: 10px; min-height: 1.2em; }
.book-summary {
  background: var(--blue-ink); color: #fff; border-radius: var(--radius);
  padding: 26px 24px; align-self: start; position: sticky; top: 90px;
}
.book-summary h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; opacity: .85; margin-bottom: 14px; }
.book-summary .bs-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.book-summary .bs-row span:first-child { opacity: .8; }
.book-summary .bs-total { font-size: 2.2rem; font-weight: 800; margin: 16px 0 4px; }
.book-summary .bs-range { opacity: .8; font-size: .88rem; }
.wizard-done { text-align: center; padding: 30px 10px; }
.wizard-done .done-ico { font-size: 3rem; color: var(--green); }
.wizard-done h2 { margin: 12px 0 8px; }
.wizard-done p { color: var(--gray); max-width: 460px; margin: 0 auto 8px; }

/* ============ REVIEWS PAGE ============ */
.reviews-summary { text-align: center; margin-bottom: 36px; }
.reviews-summary .big-rating { font-size: 3.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.reviews-summary .stars { justify-content: center; font-size: 1.4rem; }

/* ============ CAREERS PAGE ============ */
.lang-toggle { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; }
.lang-toggle button {
  border: 2px solid var(--line); background: #fff; color: var(--gray); font-weight: 600;
  padding: 8px 20px; border-radius: 999px; cursor: pointer; min-height: 44px;
}
.lang-toggle button.active { border-color: var(--blue); background: rgba(43,168,212,.08); color: var(--blue-deep); }
[data-lang] { display: none; }
[data-lang].active { display: block; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; margin-bottom: 18px;
}
.job-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.job-meta { color: var(--gray); font-size: .9rem; margin-bottom: 12px; }
.job-meta span { margin-right: 16px; }

/* ============ BLOG PAGE ============ */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #d9f0f7, #eafbe6); display: grid; place-items: center; font-size: 2.4rem; }
.post-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.post-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-deep); font-weight: 700; }
.post-card h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.post-card p { color: var(--gray); flex: 1; }
.post-card .post-link { margin-top: 14px; font-weight: 600; color: var(--blue-deep); }

/* ============ LOGIN / PORTAL ENTRY ============ */
.role-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 920px; margin: 0 auto 40px; }
.role-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 24px; text-align: center; transition: .2s; cursor: pointer; display: block;
}
.role-card:hover { transform: translateY(-4px); border-color: var(--blue); text-decoration: none; box-shadow: var(--shadow-lg); }
.role-card .role-ico { font-size: 2.2rem; margin-bottom: 10px; }
.role-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.role-card p { color: var(--gray); font-size: .92rem; }
.login-card { max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; }
.login-card h2 { text-align: center; margin-bottom: 6px; }
.login-card .login-sub { text-align: center; color: var(--gray); margin-bottom: 22px; font-size: .92rem; }

/* ============ 404 ============ */
.err-wrap { text-align: center; padding: 90px 20px; max-width: 560px; margin: 0 auto; }
.err-wrap .err-code { font-size: 5rem; font-weight: 800; color: var(--blue); line-height: 1; }
.err-wrap h1 { font-size: 1.8rem; margin: 10px 0 14px; }
.err-wrap p { color: var(--gray); margin-bottom: 26px; }

/* ============ INNER-PAGE DESKTOP ============ */
@media (min-width: 760px) {
  .svc-detail { grid-template-columns: 1.2fr 1fr; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .wizard-wrap { grid-template-columns: 1.5fr 1fr; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* ============================================================
   FKC A11Y — keyboard focus-visible (added 2026-05-31, lead/Opus)
   Pure keyboard-navigation win from the ADA audit: a clearly
   visible focus ring on interactive elements, shown ONLY for
   keyboard users (:focus-visible), so mouse clicks stay clean.
   WCAG 2.1 AA 2.4.7 Focus Visible. Zero impact on the approved
   visual design. Uses a dark ink ring for contrast on light
   backgrounds + a white ring fallback for dark/teal surfaces.
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible {
  outline: 3px solid #0E3A4D;          /* brand ink — ~AA on white */
  outline-offset: 2px;
  border-radius: 4px;
}
/* On dark / teal surfaces, use a light ring so it stays visible */
.bg-stage :focus-visible,
.btn-primary:focus-visible,
footer :focus-visible,
[class*="dark"] :focus-visible {
  outline-color: #ffffff;
  box-shadow: 0 0 0 5px rgba(14,58,77,.55);
}

/* ============================================================
   FKC PREMIUM POLISH — "finished product" pass (2026-06-01)
   Michael feedback: the site read "builder-grade / plain / not
   detailed." This pass adds crafted frosted glass, decorative
   dividers, animated stat counters, a How-It-Works timeline, an
   FAQ accordion, trust badges, and service-card accents — all
   WITHIN the transparent canvas design so the messy->clean scrub
   still shows through every section.
   ============================================================ */

/* ---- Refined frosted glass: top sheen + light inner border + layered depth.
   Turns the flat translucent panels into crafted cards (the single biggest
   "premium vs builder-grade" lever for glassmorphism). ---- */
.section-head,
.step,
.area-text,
.addons-note {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02) 42%),
    rgba(14,58,77,0.58);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 24px 60px rgba(7,30,40,0.42),
    inset 0 1px 0 rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(11px) saturate(1.12);
  backdrop-filter: blur(11px) saturate(1.12);
}
/* Inner pages render on white — keep their section heads clean/transparent */
.inner .section-head { background: transparent; border: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---- Decorative divider under section eyebrows (a small designed detail
   that instantly reads "crafted" instead of default-template) ---- */
.deco-rule { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 4px auto 10px; color: #8FD8F2; }
.deco-rule::before, .deco-rule::after { content: ''; height: 2px; width: 44px; border-radius: 2px; }
.deco-rule::before { background: linear-gradient(90deg, transparent, currentColor); }
.deco-rule::after  { background: linear-gradient(90deg, currentColor, transparent); }
.deco-rule i { width: 8px; height: 8px; transform: rotate(45deg); background: currentColor; border-radius: 2px; flex: none; box-shadow: 0 0 10px rgba(143,216,242,.6); }
.inner .deco-rule { color: var(--blue); }
.inner .deco-rule i { box-shadow: none; }

/* ---- Trust badges strip (Licensed/Insured • Veteran-Owned • Locally Owned •
   5-Star Google) — leans into Michael's veteran + local angle ---- */
.badge-section { padding: 30px 0 6px; }
.badge-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: 0 auto; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.20); color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: 0 12px 28px rgba(7,30,40,0.32), inset 0 1px 0 rgba(255,255,255,0.24);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
.badge-pill svg { width: 18px; height: 18px; flex: none; }
.badge-pill .bp-star { color: #F5A623; }
.badge-pill .bp-ico { color: #8FD8F2; }

/* ---- Animated counters: number pulses subtly as it lands ---- */
.trust-num.counting { will-change: contents; }

/* ---- How It Works -> connected timeline (line links the step nodes) ---- */
.step-num {
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(43,168,212,0.18), 0 12px 26px rgba(7,30,40,0.40);
}
@media (min-width: 760px) {
  .step { position: relative; }
  /* connector lives only in the gap between cards, aligned to the number-node center */
  .step::after {
    content: ''; position: absolute; top: 58px; right: -13px; width: 26px; height: 3px;
    background: linear-gradient(90deg, rgba(143,216,242,.75), rgba(143,216,242,.45));
    border-radius: 2px; z-index: 0;
  }
  .step:last-child::after { display: none; }
}

/* ---- Service cards: subtle icon lift on hover (accent bar removed per Michael) ---- */
.service-icon { transition: transform .2s ease; }
.service-card:hover .service-icon { transform: translateY(-2px) scale(1.06); }

/* ---- "Google Review" source pill on real testimonials ---- */
.rev-src {
  display: inline-block; font-weight: 600; font-size: .7rem; letter-spacing: 0; text-transform: none;
  color: var(--blue-deep); background: rgba(43,168,212,.12); padding: 2px 9px; border-radius: 999px;
  margin-left: 6px; vertical-align: middle;
}

/* ---- Whole review card links to the Google listing (stretched-link pattern) ---- */
.review-card { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--blue-deep); }
.review-link::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* makes the whole card clickable */
.review-card:hover .review-link { text-decoration: underline; }
.rating-count { color: var(--gray); margin: 10px 0 18px; }
.rating-count strong { color: var(--ink); }

/* ---- Quote calculator: frequency row (5 options) + add-on prices + savings ---- */
.freq-row { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (min-width: 560px) { .freq-row { grid-template-columns: repeat(5, 1fr); } }
/* equal-size boxes: each label stretches to the row height and the inner fills it */
.freq-row .radio-card { display: flex; }
.freq-row .radio-card-inner { flex: 1; min-height: 72px; }
.freq-row .radio-card-inner strong { white-space: nowrap; }
.freq-row .radio-card-inner small { color: var(--green); font-weight: 600; }
.freq-row .radio-card input:checked + .radio-card-inner { border-color: var(--green); background: rgba(95,168,48,.08); }
.checkbox-card em { font-style: normal; color: var(--gray); font-size: .82rem; }
.checkbox-card:has(input:checked) em { color: var(--green); }
.quote-range strong { color: var(--green-bright); }

/* ---- Final CTA: phone + email both as white bubbles ---- */
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.cta-actions .btn { margin: 0; }
.btn-email { font-size: .95rem; max-width: 100%; }
@media (max-width: 480px) { .btn-email { font-size: .82rem; padding: 12px 18px; } }

/* ---- Contact page: direct call/email card (no form) ---- */
.contact-cta-card { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.contact-cta-lead { color: var(--gray); margin-bottom: 22px; }
.contact-cta-btn { margin-bottom: 12px; }
.contact-cta-btn:last-child { margin-bottom: 0; }
.contact-email-btn { background: #fff; color: var(--blue-deep); border: 2px solid var(--blue); font-size: .98rem; }
.contact-email-btn:hover { background: rgba(43,168,212,.08); color: var(--blue-deep); }
@media (max-width: 420px) { .contact-email-btn { font-size: .82rem; padding: 12px 14px; } }

/* ---- FAQ accordion (new section, glass to match the canvas design) ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 36px rgba(7,30,40,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: none; cursor: pointer; text-align: left; color: #fff;
  font-family: var(--font); font-weight: 600; font-size: 1.04rem; padding: 18px 22px; min-height: 44px;
}
/* Chevron click-icon (down) that flips up when open — clear "this is clickable" cue */
.faq-q .faq-plus { flex: none; width: 26px; height: 26px; position: relative; border-radius: 50%; background: rgba(143,216,242,.14); transition: transform .3s ease, background .2s ease; }
.faq-q .faq-plus::before { content: ''; position: absolute; top: 8px; left: 8px; width: 9px; height: 9px; border-right: 2.5px solid #8FD8F2; border-bottom: 2.5px solid #8FD8F2; transform: rotate(45deg); }
.faq-q:hover .faq-plus { background: rgba(143,216,242,.28); }
.faq-item.open .faq-plus { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: rgba(255,255,255,.92); padding: 0 22px 20px; margin: 0; }

/* ---- Recent Work gallery (structure ready; fills with Michael's real
   Google-review photos when they arrive — left out of the live page until
   then so no empty boxes show) ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 1000px; margin: 0 auto; }
.gallery-grid figure {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.15);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
/* ===== Official Quote: capture form + anti-fraud receipt card ===== */
.quote-capture{margin-top:14px;display:flex;flex-direction:column;gap:10px;text-align:left}
.quote-capture h4{font-family:'Fraunces',Georgia,serif;font-size:1.1rem;margin:0 0 2px;color:#0e2433}
.quote-capture p.cq-sub{font-size:.82rem;color:#3a5566;margin:0 0 4px}
.quote-capture .cq-field{display:flex;flex-direction:column;gap:4px}
.quote-capture label{font-size:.76rem;font-weight:600;color:#0e2433}
.quote-capture input{padding:11px 12px;border:1px solid rgba(14,36,51,.18);border-radius:10px;font:inherit;background:#fff;color:#0e2433}
.quote-capture input:focus{outline:none;border-color:#15627e;box-shadow:0 0 0 3px rgba(21,98,126,.22)}
.cq-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.quote-err{color:#c0392b;font-size:.82rem;min-height:1em;margin:0}
.quote-card-wrap{margin-top:8px;text-align:center}
#quoteCardCanvasWrap canvas{max-width:100%;height:auto;border-radius:14px;box-shadow:0 10px 30px rgba(14,36,51,.18)}
.quote-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.quote-card-actions .btn{flex:1 1 140px}
.quote-id-note{font-size:.82rem;color:#3a5566;margin-top:12px;line-height:1.45}
.quote-id-note strong{color:#0e2433;letter-spacing:.5px}
/* ===== Booking: address autocomplete (address-pricing add-on) ===== */
.field.addr-autocomplete{position:relative}
.addr-suggest{position:absolute;left:0;right:0;top:100%;z-index:40;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid rgba(14,36,51,.16);border-radius:12px;box-shadow:0 14px 34px rgba(14,36,51,.18);max-height:280px;overflow:auto}
.addr-suggest-item{padding:10px 12px;border-radius:8px;cursor:pointer;font-size:.92rem;color:#0e2433;line-height:1.35}
.addr-suggest-item:hover,.addr-suggest-item.active{background:rgba(43,168,212,.12)}
.addr-note{margin:6px 0 0;font-size:.82rem;min-height:1.1em}
.addr-note.loading{color:#3a5566}
.addr-note.ok{color:#1c7c4a;font-weight:600}
/* address field optional label + generic dropdown anchor */
.addr-autocomplete{position:relative}
.field-optional{font-weight:400;color:#5a7080;font-size:.85em}
/* ===== Booking/quote done screen: saveable card + call/email CTAs ===== */
.done-card{margin:18px auto 4px;max-width:520px}
.done-card canvas{width:100%;height:auto;border-radius:14px;box-shadow:0 14px 34px rgba(14,36,51,.18)}
.done-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:16px}
.done-actions .btn{flex:1 1 160px;max-width:240px}

/* Visually hidden, still read aloud. Used for <legend> elements that name a form step whose
   visible title is already an <h2>, so the group gets an accessible name without a duplicated
   heading on screen. `clip-path` rather than `display:none`, which would hide it from AT too. */
.fkc-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
