/* ==========================================================================
   Dr. Sparkle Cleaning — brand stylesheet
   Palette: #2B1E4A (purple) · #A3C644 (green) · #1A1A1A (ink) · #F7F7F4 (off-white)
   ========================================================================== */

/* ---- Fonts (self-hosted, variable) ---- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0;
}

/* ---- Tokens ---- */
:root {
  --purple: #2B1E4A;
  --purple-deep: #221639;
  --green: #A3C644;
  --green-soft: rgba(163, 198, 68, 0.14);
  --green-text: #5F7A15;      /* accessible green for small text on light bg */
  --ink: #1A1A1A;
  --off: #F7F7F4;
  --white: #FFFFFF;
  --muted: #55506B;
  --faint: #8A87A0;
  --line: #E9E7F0;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --shadow-card: 0 1px 2px rgba(43, 30, 74, .06);
  --shadow-lift: 0 18px 40px rgba(43, 30, 74, .14);
  --wrap: 1200px;
  --pad-x: clamp(18px, 4vw, 40px);
  --pad-sec: clamp(64px, 8vw, 110px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
::selection { background: var(--green); color: var(--purple); }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--purple); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---- Typography helpers ---- */
h1, h2, h3 { font-family: var(--serif); color: var(--purple); letter-spacing: -0.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-text); font-weight: 700; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--green); }
.sec-title { font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 16px; }
.sec-lead { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes dsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dsGlow {
  0%, 100% { box-shadow: 0 10px 26px rgba(43, 30, 74, .20), 0 0 0 0 rgba(163, 198, 68, 0); }
  50% { box-shadow: 0 10px 26px rgba(43, 30, 74, .20), 0 0 24px 3px rgba(163, 198, 68, .55); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 12px; border: none; font-family: var(--sans);
  transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s, background .2s;
}
.btn-green { background: var(--green); color: var(--purple); box-shadow: 0 10px 26px rgba(163, 198, 68, .35); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(163, 198, 68, .55); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 8px 22px rgba(43, 30, 74, .28); }
.btn-purple:hover { transform: translateY(-2px); }
.btn-outline { border: 1.5px solid #CFCBDE; color: var(--purple); font-weight: 600; background: transparent; }
.btn-outline:hover { border-color: var(--green); background: var(--green-soft); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 244, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }

/* Logo lockup */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-dr { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--purple); letter-spacing: 0.01em; }
.logo-dr .dot { color: var(--green); }
.logo-sparkle { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--purple); letter-spacing: -0.015em; margin-top: 1px; }
.logo-cleaning { font-size: 9.5px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--green-text); font-weight: 600; margin-top: 5px; }
.logo--reverse .logo-dr, .logo--reverse .logo-sparkle { color: #fff; }
.logo--reverse .logo-cleaning { color: var(--green); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #4A4560; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--purple); }
.nav-cta { padding: 11px 20px; font-size: 14px; white-space: nowrap; }

/* ---- Hero ---- */
.hero { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, var(--off) 100%); overflow: hidden; }
.hero-halo {
  position: absolute; top: -120px; right: -60px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 198, 68, 0.14), transparent 70%); pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 4vw, 60px);
  padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(28px, 4vw, 48px);
}
.hero h1 { font-weight: 600; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; margin: 0 0 22px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(163, 198, 68, 0.4); z-index: -1; border-radius: 3px;
}
.hero-sub { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; color: var(--muted); max-width: 540px; margin: 0 0 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(163, 198, 68, 0.7); background: var(--green-soft);
  color: #4C6210; border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 600;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 13px; color: var(--faint); margin: 18px 0 0; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; background: var(--purple); border-radius: 22px; padding: 14px;
  box-shadow: 0 30px 60px rgba(43, 30, 74, .25);
}
.hero-frame-inner { padding: 4px; border: 1px solid rgba(163, 198, 68, 0.6); border-radius: 15px; }
.hero-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 11px; }
.hero-float {
  position: absolute; left: -14px; bottom: 26px; background: #fff; color: var(--purple);
  border-radius: 13px; padding: 12px 16px; box-shadow: 0 16px 34px rgba(43, 30, 74, .2);
  display: flex; align-items: center; gap: 11px; animation: dsFloat 5s ease-in-out infinite;
}
.hero-float .icon-tile { width: 38px; height: 38px; border-radius: 9px; background: var(--off); display: inline-flex; align-items: center; justify-content: center; }
.hero-float b { display: block; font-size: 14px; }
.hero-float small { font-size: 12px; color: var(--muted); }

/* ---- Stat bar ---- */
.statbar { position: relative; padding-bottom: clamp(44px, 5vw, 64px); }
.statbar-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(12px, 1.5vw, 18px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(24px, 3vw, 34px) clamp(18px, 2vw, 28px);
  box-shadow: 0 20px 50px rgba(43, 30, 74, .07);
}
.stat { text-align: center; }
.stat::before { content: ""; display: block; width: 34px; height: 2px; background: var(--green); margin: 0 auto 14px; }
.stat-num { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.03em; color: var(--purple); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; max-width: 190px; margin-left: auto; margin-right: auto; }

/* ---- Sector strip (green) ---- */
.sectors { background: var(--green); }
.sectors-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 26px; padding-top: 18px; padding-bottom: 18px;
}
.sector {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple);
}

/* ---- Sections ---- */
.section { padding-top: var(--pad-sec); padding-bottom: var(--pad-sec); }
.section--off { background: var(--off); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }

/* ---- Service cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.svc-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card);
  transition: opacity .5s ease-out, transform .5s ease-out, box-shadow .25s ease-out, border-color .25s ease-out;
}
.svc-card:hover { box-shadow: var(--shadow-lift); border-color: var(--green); transform: translateY(-4px); }
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease-out;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--off); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--purple); }
.svc-card h3 { font-weight: 600; font-size: 21px; margin: 0 0 6px; }
.svc-price { font-weight: 700; font-size: 15px; color: var(--green-text); margin-bottom: 12px; }
.svc-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.svc-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--purple); display: inline-flex; align-items: center; gap: 7px; }

/* ---- Why cards + proof images ---- */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; margin-bottom: clamp(36px, 4vw, 52px); }
.proof {
  padding: 6px; border: 1px solid rgba(163, 198, 68, 0.6); border-radius: 15px;
  background: #fff; box-shadow: 0 8px 24px rgba(43, 30, 74, .06);
}
.proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.proof figcaption { text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 9px 0 4px; font-weight: 600; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.why-num { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.why-num b { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--green-text); }
.why-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.why-card h3 { font-weight: 600; font-size: 19px; margin: 0 0 10px; line-height: 1.25; }
.why-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Promise (dark anchor) ---- */
.promise { position: relative; background: var(--purple); color: #fff; overflow: hidden; padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.promise-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-weight: 900; font-size: clamp(320px, 52vw, 760px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px rgba(163, 198, 68, 0.18);
  pointer-events: none; user-select: none; z-index: 0;
}
.promise-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.promise .eyebrow { color: var(--green); }
.promise .eyebrow::before { background: var(--green); }
.promise h2 { color: #fff; font-weight: 600; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; margin: 0 0 28px; }
.promise-body { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; color: rgba(255, 255, 255, 0.84); text-align: left; display: flex; flex-direction: column; gap: 18px; }
.promise-body p { margin: 0; }
.promise-fine { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 18px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); text-align: left; }

/* ---- Founding strip ---- */
.founding { background: linear-gradient(90deg, var(--green), #B5D45B); color: var(--purple); }
.founding-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: clamp(28px, 3.5vw, 40px); padding-bottom: clamp(28px, 3.5vw, 40px); }
.founding h2 { font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 8px; }
.founding p { font-size: 15px; line-height: 1.55; margin: 0; color: rgba(43, 30, 74, 0.85); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.step { text-align: center; }
.step-n {
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 15px;
  background: var(--purple); color: var(--green); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 23px; box-shadow: 0 12px 26px rgba(43, 30, 74, .2);
}
.step h3 { font-weight: 600; font-size: 20px; margin: 0 0 10px; }
.step p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 auto; max-width: 300px; }

/* ---- Areas ---- */
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.area-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.area-head h3 { font-weight: 600; font-size: 22px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--off); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13.5px; color: #4A4560; }

.marquee-mask {
  margin-top: clamp(32px, 4vw, 48px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: dsMarquee 42s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-item {
  display: flex; align-items: center; gap: 18px; padding: 0 26px;
  font-family: var(--serif); font-size: 22px; color: var(--purple); white-space: nowrap; font-weight: 500;
}
.marquee-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--sans); font-weight: 600; font-size: 16.5px; color: var(--purple);
}
.faq-q svg { flex-shrink: 0; transition: transform .3s ease-out; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease-out; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { margin: 0; padding: 0 22px 22px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ---- Quote / CTA ---- */
.quote { background: linear-gradient(135deg, var(--green), #AECF52); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.quote-grid {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 52px); align-items: center;
}
.quote-copy { color: var(--purple); }
.quote-copy h2 { font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; margin: 0 0 14px; }
.quote-copy > p { font-size: 17px; line-height: 1.6; color: rgba(43, 30, 74, 0.85); margin: 0 0 22px; }
.quote-alts { display: flex; flex-wrap: wrap; gap: 12px; }
.quote-alt {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(43, 30, 74, 0.08); border: 1px solid rgba(43, 30, 74, 0.3);
  color: var(--purple); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 12px 18px; border-radius: 11px; transition: background .2s;
}
.quote-alt:hover { background: rgba(43, 30, 74, 0.14); }
.quote-hours { font-size: 13.5px; color: rgba(43, 30, 74, 0.75); margin: 18px 0 0; }

.quote-grid--wa { align-items: stretch; }
.wa-panel {
  background: #fff; border-radius: 18px; padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 24px 50px rgba(43, 30, 74, .25);
}
.wa-panel-label { font-size: 13px; font-weight: 600; color: var(--purple); margin: 0 0 14px; }
.wa-chip-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.wa-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-soft); border: 1.5px solid rgba(163, 198, 68, 0.55);
  color: var(--purple); text-decoration: none; font-weight: 600; font-size: 13.5px;
  padding: 9px 15px; border-radius: 999px; transition: background .2s, border-color .2s, transform .2s;
}
.wa-chip::before { content: "+"; color: var(--green-text); font-weight: 800; }
.wa-chip:hover { background: rgba(163, 198, 68, 0.32); border-color: var(--green); transform: translateY(-2px); }

.wa-mega {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #25D366, #1EBE57);
  color: #fff; text-decoration: none; border-radius: 16px;
  padding: 20px 22px; box-shadow: 0 16px 32px rgba(37, 211, 102, .4);
  animation: dsGlow 2.8s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}
.wa-mega:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 20px 40px rgba(37, 211, 102, .5); }
.wa-mega-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center;
}
.wa-mega-copy { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.wa-mega-copy strong { font-size: clamp(18px, 2.2vw, 21px); font-weight: 700; line-height: 1.2; }
.wa-mega-copy small { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.wa-mega-arrow { flex-shrink: 0; opacity: 0.85; }
.quote-form-note { text-align: center; font-size: 12.5px; color: var(--faint); margin: 16px 0 0; }
.quote-form-note a { color: var(--purple); font-weight: 600; }

/* ---- Footer ---- */
.site-footer { background: var(--purple); color: #fff; padding: clamp(48px, 6vw, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; align-items: start; }
.footer-tag { font-size: 14px; color: rgba(255, 255, 255, 0.65); margin: 14px 0 0; line-height: 1.6; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badge { border: 1px solid rgba(163, 198, 68, 0.6); color: #D6E5A3; border-radius: 999px; padding: 6px 13px; font-size: 12px; font-weight: 500; }
.footer-h { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 14px; }
.footer-phone { color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.footer-contact-list a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-contact-list a:hover { color: var(--green); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px;
  padding: 22px 0 calc(24px + 74px); font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) { .footer-bottom { padding-bottom: 24px; } }

/* ---- Mobile sticky bar ---- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(34, 22, 57, 0.97); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(163, 198, 68, 0.35);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px;
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px; border-radius: 11px;
}
.mobile-bar .mb-call { border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; }
.mobile-bar .mb-wa { border: 1.5px solid rgba(163, 198, 68, 0.7); color: var(--green); }
.mobile-bar .mb-quote { background: var(--green); color: var(--purple); font-weight: 700; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { .nav-links { display: none; } }

/* Very small phones: keep the sticky bar buttons on one line */
@media (max-width: 380px) {
  .mobile-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mobile-bar a { font-size: 13px; padding: 12px 4px; gap: 5px; white-space: nowrap; }
}

/* Small phones: let the headline lines flow instead of forcing breaks */
@media (max-width: 640px) {
  .hero h1 .reveal { display: inline !important; }
  .hero h1 .hl { white-space: normal; }
  .hero h1 .hl::after { display: none; }
  .hero-float { left: 8px; }
}

/* ---- WhatsApp floating button (desktop) ---- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px); }
@media (min-width: 768px) { .wa-float { display: flex; } }

/* ==========================================================================
   Blog — listing + post (content delivered by Uplift AI custom API)
   ========================================================================== */
.blog-hero { padding: clamp(56px, 7vw, 88px) 0 12px; }
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 2.4vw, 28px); margin-top: 8px;
}
.blog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
  text-decoration: none; color: inherit; transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--green); }
.blog-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--off); }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-chip {
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green-text); background: var(--green-soft); border-radius: 999px; padding: 4px 10px;
}
.blog-card h3 { font-size: 19px; margin: 2px 0 0; line-height: 1.3; }
.blog-card-excerpt { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.blog-card-meta { font-size: 12.5px; color: var(--faint); display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.blog-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.blog-state h3 { margin-bottom: 10px; }
.blog-state code { background: var(--off); padding: 2px 7px; border-radius: 6px; font-size: 13px; }
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.blog-pagination button {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 18px;
  font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--sans);
}
.blog-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.blog-pagination span { font-size: 13.5px; color: var(--muted); }

/* Post page */
.post-hero { padding: clamp(44px, 5.5vw, 64px) 0 16px; }
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.post-title { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.14; margin: 0 0 18px; max-width: 820px; }
.post-byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.post-byline a { color: var(--purple); font-weight: 600; text-decoration: none; }
.post-byline .dot { opacity: .5; }
.post-featured { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-card); }
.post-featured img { width: 100%; display: block; }
.post-body { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: #2A2740; }
.post-body h2 { font-family: var(--serif); color: var(--purple); font-size: 26px; margin: 40px 0 14px; }
.post-body h3 { font-family: var(--serif); color: var(--purple); font-size: 21px; margin: 32px 0 12px; }
.post-body p { margin: 0 0 20px; }
.post-body img { max-width: 100%; border-radius: 12px; margin: 24px 0; }
.post-body a { color: var(--green-text); text-decoration: underline; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-freshness { font-size: 13px; color: var(--faint); max-width: 760px; margin: 0 auto 6px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 34px auto 0; }
.post-tags span { font-size: 12.5px; background: var(--off); border-radius: 999px; padding: 5px 12px; color: var(--muted); }
.post-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--purple); text-decoration: none; margin-bottom: 22px; font-size: 14.5px; }
.post-cta { max-width: 760px; margin: clamp(40px, 5vw, 60px) auto 0; padding: 28px; background: var(--off); border-radius: var(--radius); text-align: center; }
.post-cta h3 { margin: 0 0 8px; }
.post-cta p { color: var(--muted); margin: 0 0 18px; }
