/* =========================================================
   Vero Window Cleaning — styles.css
   Bright & airy theme. One stylesheet for the whole site.
   Brand colors live in :root below — change them once here.
   ========================================================= */

:root {
  /* Brand (sky blue) */
  --brand: #0284c7;
  --brand-600: #0369a1;
  --brand-700: #075985;
  --brand-400: #38bdf8;
  --brand-100: #e0f2fe;
  --brand-50: #f0f9ff;

  /* Call-to-action (warm orange so the main "Free Quote" pops) */
  --cta: #ea580c;
  --cta-600: #c2410c;

  /* Ink + neutrals */
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-sky: #f0f9ff;
  --star: #f59e0b;

  /* System */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(2, 132, 199, .25);
  --shadow-lg: 0 24px 60px -20px rgba(2, 132, 199, .35);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--sky { background: linear-gradient(180deg, var(--brand-50), #ffffff); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-600); background: var(--brand-50);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--brand-100);
}
.section-head { max-width: 720px; margin: 0 auto 50px; }
.section-head.left { margin-inline: 0; }
.section-head p { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--ink-2); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 10px 24px -10px rgba(234, 88, 12, .65); }
.btn-primary:hover { background: var(--cta-600); color: #fff; transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }
.btn-white { background: #fff; color: var(--brand-700); }
.btn-white:hover { color: var(--brand-700); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: 17px 30px; font-size: 1.07rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-size: 1.18rem; letter-spacing: -.02em; line-height: 1.05; }
.brand-name small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); }

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a { color: var(--ink-2); font-weight: 600; padding: 10px 14px; border-radius: 10px; display: inline-block; }
.primary-nav a:hover { color: var(--brand-700); background: var(--brand-50); }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: "▾"; font-size: .7em; margin-left: 5px; color: var(--muted); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .2s; z-index: 50;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink-2); }
.dropdown a:hover { background: var(--brand-50); color: var(--brand-700); }
.dropdown a small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.header-cta .btn { padding: 11px 18px; font-size: .95rem; }
.btn-call { gap: 7px; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 12px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--brand-50) 0%, #ffffff 70%); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(56,189,248,.35), transparent 70%); z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 50px; align-items: center; padding: clamp(48px, 7vw, 90px) 0;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 16px; height: 16px; color: var(--brand); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--brand); }
.hero-sub { font-size: 1.18rem; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.stars { color: var(--star); letter-spacing: 2px; }

.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-figure { aspect-ratio: 4 / 3.4; background: linear-gradient(135deg, #bae6fd, #e0f2fe); position: relative; }
.float-badge {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 13px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line);
}
.float-badge .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.float-badge b { color: var(--ink); display: block; font-size: .98rem; line-height: 1.2; }
.float-badge span { font-size: .8rem; color: var(--muted); }
.float-badge.tl { top: 18px; left: -18px; }
.float-badge.br { bottom: 18px; right: -18px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--ink); color: #cbd5e1; }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; padding-block: 20px; }
.trustbar .stat { display: flex; align-items: center; gap: 10px; font-size: .96rem; }
.trustbar .stat b { color: #fff; font-size: 1.15rem; }
.trustbar .stat svg { width: 20px; height: 20px; color: var(--brand-400); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%;
}
.service-card { display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.service-card .icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); color: var(--brand-600); margin-bottom: 18px;
}
.service-card .icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .98rem; }
.service-card .more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--brand-600); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more { gap: 10px; }

/* Feature list */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); flex: none; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* Checklist */
.checklist { display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-600); font-weight: 800; font-size: .85rem;
  display: grid; place-items: center; margin-top: 3px;
}

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
}
.media-frame .ratio { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.img-note { color: var(--brand-700); font-weight: 600; font-size: .9rem; text-align: center; padding: 20px; }

/* ---------- Reviews ---------- */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column;
}
.review .stars { font-size: 1.05rem; margin-bottom: 12px; }
.review p { color: var(--ink-2); font-size: 1.02rem; }
.review .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.review .who b { color: var(--ink); display: block; }
.review .who span { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 56px 20px 22px; font-size: 1.06rem; font-weight: 700; color: var(--ink);
  position: relative; font-family: inherit;
}
.faq-q::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--brand); transition: transform .25s;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; border-radius: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbeafe; font-size: 1.12rem; max-width: 620px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 5vw, 50px); }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand-600); }
.breadcrumbs span { margin: 0 7px; }
.page-hero h1 { max-width: 880px; }
.page-hero p { margin-top: 16px; font-size: 1.15rem; max-width: 720px; color: var(--ink-2); }
.page-hero .hero-actions { margin-top: 26px; }

/* ---------- Quote / form ---------- */
.quote-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: .95rem; }
.field .req { color: var(--cta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-50); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.form-success { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.form-success.show { display: block; }

.jobber-embed {
  border: 2px dashed var(--brand-400); border-radius: var(--radius-lg); background: var(--brand-50);
  padding: 28px; text-align: center; color: var(--brand-700);
}
.jobber-embed h3 { color: var(--brand-700); margin-bottom: 8px; }
.jobber-embed code { background: #fff; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--brand-100); font-size: .88em; }

/* Contact list */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.contact-item b { color: var(--ink); display: block; }
.contact-item a, .contact-item span { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94a3b8; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #94a3b8; margin-top: 16px; max-width: 320px; font-size: .96rem; }
.footer-links li { margin-bottom: 11px; }
.footer-contact li { margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--brand-400); flex: none; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cbd5e1; }
.social a:hover { background: var(--brand); color: #fff; }
.social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Misc ---------- */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.maxw { max-width: 760px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: 74px 0 auto 0; background: #fff; margin: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; visibility: hidden;
  }
  .primary-nav.open { max-height: calc(100vh - 74px); overflow-y: auto; visibility: visible; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 18px 24px; }
  .primary-nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .has-dropdown > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--brand-100); border-radius: 0; margin: 2px 0 6px 12px; padding: 0;
    min-width: 0;
  }
  .mobile-cta { display: flex !important; gap: 12px; padding: 6px 18px 18px; }
  .mobile-cta .btn { flex: 1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-badge.tl { left: 8px; } .float-badge.br { right: 8px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn, .page-hero .hero-actions .btn { flex: 1; }
}
.mobile-cta { display: none; }

/* ---------- Photos ---------- */
.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .ratio { padding: 0; }
.media-frame .ratio img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.with-photo { background: none; }
.photo-credit { font-size: .72rem; color: var(--muted); text-align: right; margin-top: 6px; opacity: .8; }
