/* =====================================================================
   Skye High Window Cleaning — Design System
   Brand: #2f3b69 (navy), black, white. Clean, professional, trustworthy.
   Self-contained: no external fonts/CDNs (faster + more secure + private).
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #2f3b69;
  --navy-dark: #232c50;
  --navy-deep: #1a2140;
  --sky: #3f7fd6;          /* accent for CTAs / links */
  --sky-light: #eaf2fc;
  --ink: #16181d;          /* near-black body text */
  --muted: #5a6275;        /* secondary text */
  --white: #ffffff;
  --mist: #f5f7fb;         /* light section background */
  --line: #e3e8f0;         /* borders / dividers */
  --gold: #f5b50a;         /* review stars */
  --good: #1f9d57;         /* success / guarantees */

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(26, 33, 64, .08), 0 1px 2px rgba(26, 33, 64, .06);
  --shadow: 0 10px 30px rgba(26, 33, 64, .10);
  --shadow-lg: 0 24px 60px rgba(26, 33, 64, .16);

  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --space: clamp(3.5rem, 7vw, 6rem);
}

/* ---------- 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);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy-deep); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-weight: 700; font-size: .8rem; color: var(--sky); margin-bottom: .75rem;
}

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #dfe5f3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.measure { max-width: 720px; }
.center.measure { margin-inline: auto; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  font-weight: 700; font-size: 1.02rem; line-height: 1; cursor: pointer;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--sky); color: #fff; box-shadow: 0 8px 20px rgba(63,127,214,.35); }
.btn--primary:hover { background: #356fc0; }
.btn--call { background: var(--gold); color: #1a1400; box-shadow: 0 8px 20px rgba(245,181,10,.35); }
.btn--call:hover { background: #e7a900; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row { justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep); color: #cdd5ec; font-size: .9rem;
  display: flex; justify-content: center;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar__hours { color: #aeb8d8; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--navy-deep); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand__name { font-size: 1.05rem; line-height: 1.05; }
.brand__name small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav__links a { color: var(--navy-deep); font-weight: 600; padding: .55rem .8rem; border-radius: 10px; font-size: .98rem; }
.nav__links a:hover { background: var(--mist); text-decoration: none; color: var(--sky); }
.nav__links a[aria-current="page"] { color: var(--sky); }
.nav__cta { margin-left: .4rem; }

/* dropdown */
.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: .5rem; list-style: none; margin: .3rem 0 0; display: none;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.submenu a { display: block; padding: .6rem .75rem; border-radius: 9px; }

/* mobile nav */
.nav__toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: .55rem .7rem; cursor: pointer; font-size: 1.3rem; line-height: 1; }
#nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); background: #fff;
    flex-direction: column; align-items: stretch; gap: .2rem; padding: 5rem 1.1rem 2rem;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto;
  }
  #nav-toggle:checked ~ .nav__links { transform: translateX(0); }
  .nav__links a { padding: .85rem .8rem; border-radius: 10px; }
  .submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 .8rem; }
  .nav__cta { margin: .5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, #141a36 100%); color: #fff; overflow: hidden; }
.hero::after { content:""; position:absolute; inset:0; background: radial-gradient(900px 400px at 85% -10%, rgba(63,127,214,.45), transparent 60%); pointer-events:none; }
.hero .container { position: relative; z-index: 1; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: #c9d3ef; }
.hero .pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: .4rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600; margin-bottom: 1.2rem; }
.hero-stars { color: var(--gold); letter-spacing: 2px; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 1.6rem; backdrop-filter: blur(4px); }
.hero-card img { border-radius: 14px; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; align-items: center; padding-block: 1.4rem; }
.trust__item { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--navy-deep); font-size: .98rem; }
.trust__item svg { width: 22px; height: 22px; color: var(--sky); flex: none; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card a.card__link { font-weight: 700; }
.card .icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-light); color: var(--sky); margin-bottom: 1rem; }
.card .icon svg { width: 28px; height: 28px; }

/* ---------- Feature list ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.4rem; height: 1.4rem;
  background: var(--good); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/68% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/68% no-repeat;
}

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ba figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background:#fff; }
.ba figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ba figcaption { padding: .7rem 1rem; font-weight: 700; color: var(--navy-deep); display:flex; align-items:center; gap:.5rem; }
@media (max-width: 620px){ .ba-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.review p { margin-bottom: 1rem; color: var(--ink); }
.review .who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review .who strong { color: var(--navy-deep); display: block; }
.review .who span { font-size: .85rem; color: var(--muted); }

/* ---------- Area list ---------- */
.area-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; }
.area-list a { display: block; padding: .7rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--navy-deep); }
.area-list a:hover { border-color: var(--sky); color: var(--sky); text-decoration: none; box-shadow: var(--shadow-sm); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem); text-align: center; position: relative; overflow: hidden; }
.cta-banner::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 90% 120%, rgba(63,127,214,.5), transparent 60%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #cdd6f0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); position:absolute; top:-16px; left: 1.3rem; width:38px; height:38px; background: var(--sky); color:#fff; border-radius:50%; display:grid; place-items:center; font-weight:800; box-shadow: var(--shadow-sm); }
.step h3 { margin: .6rem 0 .4rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-deep); padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--sky); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding: 0 0 1.2rem; color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--navy-deep); margin-bottom: .4rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; color: var(--ink); background: #fff; transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(63,127,214,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px){ .field--row { grid-template-columns: 1fr; gap: 0; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; } /* honeypot */
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 11px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e8f6ee; color: #136b39; }
.form-status.err { display: block; background: #fdeaea; color: #b3261e; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 1.4rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--sky); }
.crumbs span { color: var(--navy-deep); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #c9d3ef; max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aeb8d8; padding-block: 3.5rem 1.5rem; }
.site-footer a { color: #dfe5f3; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-brand img { height: 54px; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--sky); }
.footer-social svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call { display: none; }
@media (max-width: 720px){
  .mobile-call {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -6px 20px rgba(0,0,0,.15);
  }
  .mobile-call a { padding: .95rem; text-align: center; font-weight: 800; color: #fff; }
  .mobile-call a:hover { text-decoration: none; }
  .mobile-call .mc-call { background: var(--gold); color: #1a1400; }
  .mobile-call .mc-quote { background: var(--sky); }
  body { padding-bottom: 56px; }
}

/* ---------- Misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px){ .split { grid-template-columns: 1fr; gap: 1.8rem; } }
.rounded { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}
.tag { display:inline-block; background: var(--sky-light); color: var(--sky); font-weight:700; font-size:.8rem; padding:.25rem .7rem; border-radius:999px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
