/* ============================================================
   Lynch Home Solutions — Window Cleaning
   Palette: sky blue + crisp white + sunlight gold + deep navy
   ============================================================ */

:root {
  --navy:      #0f2a43;
  --navy-soft: #33506b;
  --sky:       #0ea5e9;
  --sky-dark:  #0e76b8;
  --sky-tint:  #e8f6fd;
  --cyan:      #39b6e8;
  --gold:      #f6b73c;
  --gold-dark: #e0961a;
  --white:     #ffffff;
  --paper:     #f6fafd;
  --line:      #dbe7f0;
  --shadow:    0 18px 45px -18px rgba(15, 42, 67, .28);
  --shadow-sm: 0 6px 18px -10px rgba(15, 42, 67, .35);
  --radius:    18px;
  --radius-sm: 12px;
  --sans: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}

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

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

body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost, .btn-nav {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-dark) 100%);
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(14,165,233,.6); }
.btn-ghost {
  background: rgba(255,255,255,.75); color: var(--navy); border-color: var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--sky); color: var(--sky-dark); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,42,67,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.logo-mark-img { height: 40px; width: auto; display: block; }
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
.logo-text em { font-style: normal; color: var(--sky-dark); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a { font-weight: 600; font-size: .95rem; color: var(--navy-soft); transition: color .15s ease; }
.nav-links > a:hover { color: var(--sky-dark); }
.nav-phone { color: var(--navy) !important; font-weight: 700 !important; }
.btn-nav { background: var(--navy); color: #fff; padding: 10px 20px; font-size: .9rem; }
.btn-nav:hover { background: var(--sky-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(246,183,60,.16), transparent 60%),
    linear-gradient(180deg, var(--sky-tint) 0%, #ffffff 100%);
  padding: 92px 0 96px;
}
.hero-shine {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 46%, transparent 52%),
    linear-gradient(115deg, transparent 55%, rgba(255,255,255,.35) 60%, transparent 65%);
}
.hero-inner { position: relative; text-align: center; max-width: 780px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); color: var(--navy-soft);
  font-weight: 600; font-size: .86rem; padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(246,183,60,.25); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); font-weight: 700; letter-spacing: -.02em; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--sky-dark), var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.14rem; color: var(--navy-soft); max-width: 620px; margin: 22px auto 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-trust {
  list-style: none; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px; font-weight: 600; font-size: .92rem; color: var(--navy-soft);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust span { color: var(--sky); font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800;
  color: var(--sky-dark); margin-bottom: 12px;
}
.section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.015em; }
.section-sub { color: var(--navy-soft); font-size: 1.05rem; margin-top: 14px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--sky); box-shadow: var(--shadow); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--sky-tint); margin-bottom: 18px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.card p { color: var(--navy-soft); font-size: .96rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; color: var(--navy-soft); }
.check-list span { color: var(--sky); font-weight: 800; }
.check-list strong { color: var(--navy); }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block; font-family: var(--serif); font-weight: 700; font-size: 2rem;
  color: var(--sky-dark); line-height: 1;
}
.stat-label { display: block; margin-top: 8px; font-size: .88rem; color: var(--navy-soft); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--navy-soft); font-size: .97rem; }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(180deg, #ffffff 0%, var(--sky-tint) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-form-wrap .eyebrow, .contact-book .eyebrow { text-align: left; }
.contact-form-wrap h2, .contact-book h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.book-title { margin-bottom: 20px; }

.ghl-form-wrap {
  margin-top: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.ghl-form-wrap iframe { display: block; width: 100%; min-height: 900px; }

.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); margin-top: 22px;
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .84rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .98rem; color: var(--navy);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background: #fff;
  box-shadow: 0 0 0 4px rgba(14,165,233,.14);
}
.field textarea { resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--sky-dark); cursor: pointer; }
.field-check label { font-size: .82rem; font-weight: 500; color: var(--navy-soft); line-height: 1.5; }
.form-note { margin-top: 12px; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-note.ok { color: var(--sky-dark); }
.form-note.err { color: #d64545; }

.contact-direct { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; font-weight: 700; }
.contact-direct a { color: var(--navy); }
.contact-direct a:hover { color: var(--sky-dark); }

.contact-book {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.calendly-inline-widget { border-radius: var(--radius-sm); overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #cfe0ee; padding: 56px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px 60px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .logo-text { color: #fff; font-size: 1.3rem; }
.footer-brand .logo-text em { color: var(--gold); }
.footer-col h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #7f9bb4; margin-bottom: 14px; }
.footer-col a { display: block; margin-bottom: 9px; color: #cfe0ee; font-size: .95rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--gold); }
.social-link { display: inline-flex; align-items: center; margin-top: 4px; }
.social-icon { display: block; transition: transform .15s ease; }
.social-link:hover .social-icon { transform: translateY(-2px); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; color: #7f9bb4;
}
.footer-copy { font-weight: 600; color: #cfe0ee; margin-bottom: 10px; }
.footer-legal { max-width: 900px; line-height: 1.65; }
.footer-legal a { color: #cfe0ee; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Legal pages ---------- */
.legal-hero {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(246,183,60,.14), transparent 60%),
    linear-gradient(180deg, var(--sky-tint) 0%, #ffffff 100%);
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
.legal-hero .updated { margin-top: 12px; color: var(--navy-soft); font-weight: 600; font-size: .95rem; }
.legal-body { max-width: 820px; padding-top: 48px; padding-bottom: 72px; }
.legal-body h2 {
  font-size: 1.5rem; margin: 38px 0 12px; letter-spacing: -.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--navy-soft); font-size: 1rem; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px 22px; display: grid; gap: 8px; }
.legal-body a { color: var(--sky-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--sky); }
.legal-body strong { color: var(--navy); }
.legal-note {
  background: var(--sky-tint); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; margin: 8px 0 30px; font-size: .96rem;
}
.back-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--sky-dark); margin-bottom: 22px; }
.back-link:hover { color: var(--sky); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 0; border-bottom: 1px solid var(--paper); }
  .btn-nav { text-align: center; margin-top: 10px; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 60px 0; }
}
