/* LIME Window Cleaning — design system from LIME Full Brand Package 10.21.26 */

@font-face {
  font-family: "Megion";
  src: url("/assets/fonts/Megion-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lime: #00be3a;
  --lime-text: #007a2e;   /* lime darkened to pass WCAG AA on light backgrounds */
  --lime-bright: #8df0b0; /* lime lightened to pass WCAG AA on mint backgrounds */
  --mint: #016636;        /* brand "Mint" = deep green */
  --mint-deep: #014f2a;
  --offwhite: #e6fcec;
  --paper: #f4fdf7;       /* lighter tint of off-white for page background */
  --ink: #252525;
  --white: #ffffff;
  --radius: 28px;
  --radius-sm: 16px;
  --font-display: "Megion", "Arial Black", sans-serif;
  --font-body: "Saira", Arial, sans-serif;
  --shadow: 0 2px 24px rgba(1, 102, 54, 0.08);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--mint);
  font-weight: 700;
}
h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 18px; }
h3, .card-h { font-size: 22px; margin-bottom: 10px; }
.kicker {
  display: inline-block;
  font: 600 14px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: 14px;
}
.lead { font-size: 19px; max-width: 46em; }
.muted { color: #4a5a50; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 16px/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: #003d20; }
.btn-lime:hover { background: #00a833; color: #003d20; }
.btn-ghost { border-color: var(--offwhite); color: var(--offwhite); }
.btn-ghost:hover { background: var(--offwhite); color: var(--mint); }
.btn-mint { background: var(--mint); color: var(--offwhite); }
.btn-mint:hover { background: var(--mint-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 253, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(1, 102, 54, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { height: 40px; width: auto; }
.logo-word {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--mint);
}
.logo-tag {
  font: 500 12px/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.logo-light .logo-word, .logo-light .logo-tag { color: var(--offwhite); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font: 600 15px/1 var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mint);
  text-decoration: none;
}
.nav a:hover { color: var(--lime); }
.nav .btn { padding: 12px 26px; }
.nav-sub { position: relative; }
.nav-sub > a::after { content: " ▾"; font-size: 11px; }
.nav-sub .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  padding-top: 12px;
  min-width: 230px;
}
.nav-sub:hover .sub, .nav-sub:focus-within .sub { display: block; }
.sub-inner {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
}
.sub-inner a {
  padding: 10px 14px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 15px;
}
.sub-inner a:hover { background: var(--offwhite); color: var(--mint); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero-outer { padding: 14px; }
.hero {
  position: relative;
  background: var(--mint) url("/assets/img/bg-limeburst.jpg") center / cover no-repeat;
  background-blend-mode: multiply;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--offwhite);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 24px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero h1 { color: var(--offwhite); }
.hero .display {
  display: block;
  font-size: clamp(44px, 7vw, 88px);
  color: var(--offwhite);
}
.hero .sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  margin-top: 18px;
  color: var(--offwhite);
  opacity: 0.95;
}
.hero p.lead { color: var(--offwhite); opacity: 0.92; margin-top: 16px; font-size: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { position: relative; min-height: 340px; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% 4% 2% 10%;
  background: var(--lime);
  border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%;
}
.hero-art img:not(.hero-float) {
  position: relative;
  max-height: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25));
}
.hero-art-photo img:not(.hero-float) {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  transform: rotate(-1.5deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.hero-art-photo::before {
  inset: -4% -3% -4% 55%;
  border-radius: 42% 58% 50% 50% / 48% 42% 58% 52%;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 600;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ico { color: var(--lime-bright); font-size: 17px; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-mint {
  background: var(--mint);
  color: var(--offwhite);
}
.section-mint h2, .section-mint h3 { color: var(--offwhite); }
.section-mint .kicker, .hero .kicker { color: var(--lime-bright); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; margin-top: 38px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.card img.icon { width: 74px; height: 74px; object-fit: contain; margin-bottom: 16px; }
.card h3, .card .card-h { color: var(--mint); }
.card p { font-size: 15.5px; color: #3c4a42; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--lime-text); }
a.card:hover { outline: 2px solid var(--lime); }

/* steps */
.step-num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 10px;
}

/* guarantee strip */
.guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}
.guarantee .card { background: rgba(230, 252, 236, 0.08); box-shadow: none; border: 1.5px solid rgba(230, 252, 236, 0.25); }
.guarantee h3 { color: var(--lime-bright); }
.guarantee p { color: var(--offwhite); opacity: 0.9; }

/* photo placeholders until Drive/GBP photos arrive */
.ph {
  background: repeating-linear-gradient(45deg, var(--offwhite), var(--offwhite) 12px, #d8f5e1 12px, #d8f5e1 24px);
  border: 2px dashed var(--lime);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  font-weight: 600;
  min-height: 220px;
  text-align: center;
  padding: 20px;
}

/* textured light section (brand line-art background) */
.section-texture {
  background: #dff0e5 url("/assets/img/bg-mascot-light.jpg") center / cover no-repeat;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 38px auto 0; display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 20px 24px;
}
.faq summary {
  font-weight: 600;
  font-size: 17px;
  color: var(--mint);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::after { content: "+"; font-family: var(--font-display); color: var(--lime); font-size: 24px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: #3c4a42; }

/* ---------- Reviews ---------- */
.review-card { text-align: left; }
.review-card .stars { color: var(--lime); font-size: 20px; letter-spacing: 3px; margin-bottom: 12px; }
.review-card p { font-size: 15.5px; }
.review-name { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 14px; color: var(--mint); }

/* ---------- City links ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chip {
  background: var(--white);
  border: 1.5px solid rgba(1, 102, 54, 0.18);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--mint);
  text-decoration: none;
}
.chip:hover { border-color: var(--lime-text); color: var(--lime-text); }

/* ---------- CTA band ---------- */
.cta-band { padding: 14px; }
.cta-inner {
  background: var(--lime) url("/assets/img/bg-mascot-green.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  text-align: center;
  padding: 64px 24px;
}
.cta-inner h2 { color: #003d20; font-size: clamp(32px, 5vw, 54px); }
.cta-inner p { color: #003d20; font-weight: 600; max-width: 40em; margin: 10px auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--mint);
  color: var(--offwhite);
  margin-top: 14px;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.site-footer h2 {
  font: 700 14px/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-bright);
  margin-bottom: 16px;
}
.site-footer a { color: var(--offwhite); text-decoration: none; opacity: 0.92; }
.site-footer a:hover { color: var(--lime-bright); opacity: 1; }
.site-footer ul { list-style: none; display: grid; gap: 9px; font-size: 15px; }
.footer-logo img { height: 44px; margin-bottom: 18px; }
.footer-nap { font-size: 15px; line-height: 1.8; opacity: 0.92; }
.footer-legal {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(230, 252, 236, 0.2);
  font-size: 13.5px;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* ---------- Long-form (blog + legal) ---------- */
.post-body { font-size: 17px; }
.post-body h2 { font-size: clamp(24px, 3vw, 32px); margin: 36px 0 14px; }
.post-body h3 { margin: 26px 0 10px; }
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol { margin: 0 0 16px 24px; display: grid; gap: 8px; }
.post-body a { color: var(--lime-text); font-weight: 600; }
.post-body img { border-radius: var(--radius-sm); margin: 20px 0; }
.post-body table { border-collapse: collapse; margin: 20px 0; width: 100%; }
.post-body td, .post-body th { border: 1px solid #cde8d6; padding: 10px; text-align: left; }

/* ---------- Mobile sticky call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 253, 247, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 18px rgba(1, 102, 54, 0.14);
}
.call-bar .btn { flex: 1; text-align: center; padding: 14px 10px; font-size: 15px; }
@media (max-width: 760px) {
  .call-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 40px; }
  .hero-art { min-height: 280px; }
  .hero-art img:not(.hero-float) { max-height: 300px; }
}
@media (max-width: 1020px) {
  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    font: 700 15px var(--font-body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mint);
    cursor: pointer;
    padding: 10px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px 24px;
    gap: 16px;
  }
  .nav.open { display: flex; }
  .nav-sub .sub { display: block; position: static; padding-top: 6px; min-width: 0; }
  .sub-inner { box-shadow: none; padding: 0 0 0 12px; }
}
@media (max-width: 760px) {
  .grid-4, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-art-in {
  from { opacity: 0; transform: scale(0.94) rotate(-1.5deg); }
  to { opacity: 1; transform: scale(1) rotate(-1.5deg); }
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-9px) rotate(-1.2deg); }
}
.hero h1 { animation: hero-in 0.7s ease both; }
.hero .lead, .hero p.lead { animation: hero-in 0.7s ease 0.12s both; }
.hero-ctas { animation: hero-in 0.7s ease 0.22s both; }
.hero-badges { animation: hero-in 0.7s ease 0.32s both; }
.hero-art img:not(.hero-float) {
  animation: hero-art-in 0.8s ease 0.15s both, float-soft 7s ease-in-out 1.2s infinite;
}
.card { transition: transform 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease; }
a.card:hover, .faq details:hover { transform: translateY(-4px); }
.chip { transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.chip:hover { transform: translateY(-2px); }
.grid img, .review-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.grid img:hover { transform: scale(1.025); }

/* ---------- Accessibility ---------- */
.btn-light { background: var(--offwhite); color: var(--mint); }
.btn-light:hover { background: var(--white); color: var(--mint); }
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--lime-text);
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--mint);
  color: var(--offwhite);
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Continuous motion ---------- */
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(6px, -16px) rotate(6deg); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) rotate(5deg); }
  50% { transform: translate(-8px, -12px) rotate(-5deg); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4px, -20px) scale(1.06); }
}
.hero-float {
  position: absolute;
  width: 64px;
  height: 64px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25));
  pointer-events: none;
}
.hero-float.f1 { top: -4%; left: 2%; animation: float-a 5s ease-in-out infinite; }
.hero-float.f2 { bottom: 4%; left: -6%; width: 54px; animation: float-b 6.5s ease-in-out 0.8s infinite; }
.hero-float.f3 { top: 8%; right: -4%; width: 58px; animation: float-c 5.8s ease-in-out 1.6s infinite; }


/* stronger mascot/art float */
@keyframes float-soft-2 {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(-0.6deg); }
}
.hero-art img:not(.hero-float) { animation: hero-art-in 0.8s ease 0.15s both, float-soft-2 5.5s ease-in-out 1.2s infinite; }

/* marquee strip */
.marquee {
  overflow: hidden;
  background: var(--lime);
  padding: 13px 0;
  margin: 0 14px 14px;
  border-radius: var(--radius);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font: 700 14px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #003d20;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .hero-float, .marquee-track { animation: none !important; }
}

/* ---------- Lemi placements ---------- */
.cta-inner { position: relative; }
.cta-mascot {
  position: absolute;
  bottom: 0;
  right: 4%;
  width: clamp(80px, 11vw, 150px);
  pointer-events: none;
  animation: float-soft-2 5s ease-in-out infinite;
  transform-origin: bottom center;
}
@media (max-width: 760px) {
  .cta-mascot { display: none; }
}
.mascot-page {
  width: 190px;
  margin: 30px auto 0;
  animation: float-soft-2 5s ease-in-out infinite;
}
