/* ═══════════════════════════════════════════════
   ClearlySpace Landing Pages — CSS
   Scoped under .cs-landing
   ═══════════════════════════════════════════════ */

.cs-landing, .cs-landing *, .cs-landing *::before, .cs-landing *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

.cs-landing {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px; line-height: 1.5; color: #1a2a3a;
  max-width: 100%; overflow-x: hidden;
  padding-bottom: 60px;
}

/* ── Reusable ──────────────────────────────────── */
.csl-label { font-size: 11px; font-weight: 600; color: #5a6a7a; text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 6px; }
.csl-h2 { font-size: 20px; font-weight: 600; color: #1e3a5f; margin: 0 0 18px; line-height: 1.3; }
.csl-section { padding: 28px 20px; border-bottom: 1px solid #e2e6ec; }
.csl-input { display: block; width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px; color: #1a2a3a; background: #fff; border: 1.5px solid #e2e6ec; border-radius: 8px; min-height: 48px; -webkit-appearance: none; }
.csl-input:focus { outline: none; border-color: #4fc3c3; box-shadow: 0 0 0 3px rgba(79,195,195,0.1); }

/* ── Buttons ───────────────────────────────────── */
.csl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 24px; font-family: inherit; font-size: 15px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; text-decoration: none; text-align: center; min-height: 52px; transition: all 0.2s; -webkit-tap-highlight-color: transparent; }
.csl-btn--primary { background: #0f6e56; color: #fff; }
.csl-btn--primary:hover { background: #085041; }
.csl-btn--wa { background: #25D366; color: #fff; }
.csl-btn--wa:hover { background: #1fb855; }
.csl-btn--phone { background: #1e3a5f; color: #fff; }
.csl-btn--phone:hover { background: #152d4a; }
.csl-btn--large { font-size: 16px; padding: 16px 24px; min-height: 56px; }

/* ── Header Bar ────────────────────────────────── */
.csl-bar { background: #1e3a5f; padding: 10px 20px; text-align: center; }
.csl-bar__text { color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 500; letter-spacing: 0.3px; }

/* ── Hero ──────────────────────────────────────── */
.csl-hero { background: linear-gradient(180deg, #f0faf8 0%, #fff 100%); padding: 36px 20px 28px; text-align: center; }
.csl-hero__badge { display: inline-block; background: rgba(79,195,195,0.15); color: #0f6e56; font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 0.5px; }
.csl-hero__h1 { font-size: 26px; font-weight: 700; color: #1e3a5f; margin: 0 0 10px; line-height: 1.2; }
.csl-hero__sub { font-size: 15px; color: #5a6a7a; margin: 0 0 6px; line-height: 1.5; }
.csl-hero__guarantee { font-size: 13px; color: #0f6e56; font-weight: 600; margin: 0 0 20px; }
.csl-hero__price { display: inline-flex; align-items: baseline; gap: 6px; background: rgba(79,195,195,0.1); padding: 8px 20px; border-radius: 24px; margin-bottom: 20px; }
.csl-hero__from { font-size: 13px; color: #5a6a7a; }
.csl-hero__amount { font-size: 32px; font-weight: 700; color: #0f6e56; }
.csl-hero__cta-wrap { max-width: 380px; margin: 0 auto; }
.csl-hero__urgency { font-size: 12px; color: #f59e0b; font-weight: 600; margin: 8px 0 0; }

/* ── How It Works ──────────────────────────────── */
.csl-steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.csl-step { display: flex; gap: 14px; align-items: flex-start; }
.csl-step__icon { flex-shrink: 0; line-height: 0; }
.csl-step__title { font-size: 14px; font-weight: 600; color: #1e3a5f; margin: 0 0 2px; }
.csl-step__desc { font-size: 12px; color: #5a6a7a; margin: 0; }

/* ── Widget Section ────────────────────────────── */
.csl-widget-section { padding: 24px 20px; display: flex; justify-content: center; }

/* ── Packages ──────────────────────────────────── */
.csl-packages { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.csl-package { background: #fff; border: 2px solid #e2e6ec; border-radius: 10px; padding: 18px 12px; text-align: center; position: relative; }
.csl-package--featured { border-color: #4fc3c3; background: rgba(79,195,195,0.05); }
.csl-package__label { font-size: 15px; font-weight: 600; color: #1e3a5f; margin: 0 0 4px; }
.csl-package__badge { display: inline-block; font-size: 10px; font-weight: 600; color: #0f6e56; background: rgba(79,195,195,0.15); padding: 2px 8px; border-radius: 10px; margin-bottom: 4px; }
.csl-package__badge--value { color: #854f0b; background: rgba(245,158,11,0.12); }
.csl-package__desc { font-size: 11px; color: #5a6a7a; margin: 0; }

/* ── Value Stack Grid ──────────────────────────── */
.csl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.csl-grid__item { background: #f8f9fb; border-radius: 8px; padding: 14px; }
.csl-grid__title { font-size: 13px; font-weight: 600; color: #1e3a5f; margin: 0 0 2px; }
.csl-grid__desc { font-size: 11px; color: #5a6a7a; margin: 0; }

/* ── Bonuses ───────────────────────────────────── */
.csl-bonuses { display: flex; flex-direction: column; gap: 8px; }
.csl-bonus { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid #e2e6ec; border-radius: 8px; }
.csl-bonus__title { font-size: 13px; font-weight: 600; color: #1e3a5f; margin: 0; }
.csl-bonus__desc { font-size: 11px; color: #5a6a7a; margin: 2px 0 0; }
.csl-bonus__value { text-align: right; flex-shrink: 0; margin-left: 12px; }
.csl-bonus__was { font-size: 11px; color: #5a6a7a; text-decoration: line-through; margin: 0; }
.csl-bonus__free { font-size: 13px; font-weight: 600; color: #0f6e56; margin: 0; }

/* ── Value Total ───────────────────────────────── */
.csl-value-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #f8f9fb; border-radius: 8px; margin-top: 12px; }
.csl-value-total__label { font-size: 13px; color: #5a6a7a; }
.csl-value-total__was { font-size: 13px; color: #5a6a7a; text-decoration: line-through; margin-right: 8px; }
.csl-value-total__now { font-size: 15px; font-weight: 700; color: #0f6e56; }

/* ── What We Clean ─────────────────────────────── */
.csl-checklist { display: flex; flex-direction: column; gap: 10px; }
.csl-checklist__item { display: flex; align-items: flex-start; gap: 10px; }
.csl-checklist__tick { color: #0f6e56; font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.csl-checklist__text { font-size: 13px; color: #1a2a3a; line-height: 1.5; }

/* ── Guarantee ─────────────────────────────────── */
.csl-guarantee { background: rgba(79,195,195,0.06); border-top: 1px solid rgba(79,195,195,0.2); border-bottom: 1px solid rgba(79,195,195,0.2); padding: 28px 20px; text-align: center; }
.csl-guarantee__text { font-size: 14px; color: #5a6a7a; line-height: 1.6; max-width: 560px; margin: 0 auto; }

/* ── Before/After ──────────────────────────────── */
.csl-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e2e6ec; border-radius: 8px; overflow: hidden; }
.csl-ba__panel { background: #fff; padding: 16px; text-align: center; }
.csl-ba__panel--after { background: rgba(79,195,195,0.04); }
.csl-ba__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.csl-ba__label { display: block; font-size: 11px; font-weight: 600; color: #5a6a7a; margin-top: 8px; }
.csl-ba__label--after { color: #0f6e56; }
.csl-ba__caption { font-size: 12px; color: #5a6a7a; text-align: center; margin-top: 8px; }

/* ── Reviews ───────────────────────────────────── */
.csl-reviews { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.csl-review { background: #f8f9fb; border-radius: 10px; padding: 20px; }
.csl-review__stars { display: flex; gap: 2px; margin-bottom: 10px; }
.csl-star { color: #f59e0b; font-size: 16px; }
.csl-review__text { font-size: 14px; color: #1a2a3a; font-style: italic; line-height: 1.6; margin: 0 0 10px; }
.csl-review__name { font-size: 12px; font-weight: 600; color: #5a6a7a; margin: 0; }

/* ── Trust Row ─────────────────────────────────── */
.csl-trust-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.csl-trust-badge { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #5a6a7a; }
.csl-trust-dot { color: #0f6e56; font-size: 10px; }

/* ── Lead Magnet ───────────────────────────────── */
.csl-lead-magnet { background: #1e3a5f; padding: 28px 20px; text-align: center; }
.csl-lead-magnet__heading { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.csl-lead-magnet__sub { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0 0 18px; line-height: 1.5; }
.csl-lead-magnet__fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; max-width: 380px; margin-left: auto; margin-right: auto; }
.csl-lead-magnet__form .csl-input { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.csl-lead-magnet__form .csl-input::placeholder { color: rgba(255,255,255,0.5); }
.csl-lead-magnet__form .csl-input:focus { border-color: #4fc3c3; }
.csl-lead-magnet__form .csl-btn { max-width: 380px; margin: 0 auto; display: flex; }
.csl-lead-magnet__status { font-size: 13px; margin-top: 10px; }

/* ── FAQ ───────────────────────────────────────── */
.csl-faq { display: flex; flex-direction: column; }
.csl-faq__item { border-bottom: 1px solid #e2e6ec; padding: 12px 0; }
.csl-faq__item:last-child { border-bottom: none; }
.csl-faq__q { font-size: 14px; font-weight: 600; color: #1e3a5f; cursor: pointer; padding: 2px 0; list-style: none; }
.csl-faq__q::-webkit-details-marker { display: none; }
.csl-faq__q::before { content: '+'; display: inline-block; width: 20px; font-weight: 600; color: #4fc3c3; }
details[open] .csl-faq__q::before { content: '−'; }
.csl-faq__a { font-size: 13px; color: #5a6a7a; margin: 8px 0 0 20px; line-height: 1.6; }

/* ── Agent Section ─────────────────────────────── */
.csl-agent { background: #1e3a5f; padding: 28px 20px; }
.csl-agent__label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 6px; text-align: center; }
.csl-agent__h2 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 8px; text-align: center; line-height: 1.3; }
.csl-agent__sub { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0 0 18px; text-align: center; line-height: 1.5; }
.csl-agent__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.csl-agent__perk { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.75); }
.csl-agent__tick { color: rgba(79,195,195,0.8); font-size: 12px; }
.csl-agent__cta { display: flex; gap: 8px; }
.csl-agent__cta .csl-btn { flex: 1; }
.csl-agent__cta .csl-btn--phone { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); }

/* ── Final CTA ─────────────────────────────────── */
.csl-final { padding: 32px 20px; text-align: center; }
.csl-final__h2 { font-size: 22px; font-weight: 700; color: #1e3a5f; margin: 0 0 6px; }
.csl-final__sub { font-size: 14px; color: #5a6a7a; margin: 0 0 20px; }
.csl-final__buttons { max-width: 340px; margin: 0 auto; }
.csl-final__dual { display: flex; gap: 8px; margin-top: 10px; }
.csl-final__dual .csl-btn { flex: 1; font-size: 13px; padding: 10px; min-height: 44px; }
.csl-final__phone { font-size: 12px; color: #5a6a7a; margin: 12px 0 0; }

/* ── Sticky CTA Bar ────────────────────────────── */
.csl-sticky { position: fixed; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #1e3a5f; box-shadow: 0 -2px 10px rgba(0,0,0,0.15); z-index: 9999; }
.csl-sticky__text { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; font-family: 'DM Sans', sans-serif; }
.csl-sticky__btn { background: #0f6e56; color: #fff; padding: 10px 20px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.csl-sticky__btn:hover { background: #085041; }

/* ── Responsive ────────────────────────────────── */
@media (min-width: 640px) {
  .csl-section, .csl-hero, .csl-guarantee, .csl-lead-magnet, .csl-agent, .csl-final, .csl-locations { padding-left: 32px; padding-right: 32px; }
  .csl-steps { grid-template-columns: 1fr 1fr 1fr; }
  .csl-hero__h1 { font-size: 30px; }
  .csl-hero__amount { font-size: 36px; }
  .csl-reviews { flex-direction: row; }
  .csl-review { flex: 1; }
}

@media (min-width: 900px) {
  .csl-section, .csl-hero, .csl-guarantee, .csl-lead-magnet, .csl-agent, .csl-final, .csl-locations { padding-left: 48px; padding-right: 48px; max-width: 860px; margin-left: auto; margin-right: auto; }
  .csl-hero { max-width: 100%; }
  .csl-hero__h1 { font-size: 34px; }
  .csl-h2 { font-size: 22px; }
}

/* ── Breadcrumbs ───────────────────────────────── */
.csl-breadcrumbs { padding: 10px 20px; font-size: 12px; color: #5a6a7a; }
.csl-breadcrumbs__link { color: #4fc3c3; text-decoration: none; }
.csl-breadcrumbs__link:hover { text-decoration: underline; }
.csl-breadcrumbs__sep { margin: 0 6px; color: #bbb; }
.csl-breadcrumbs__current { color: #1e3a5f; font-weight: 500; }

/* ── Step Icons ────────────────────────────────── */
.csl-step__icon { flex-shrink: 0; line-height: 0; }

/* ── Location Links ────────────────────────────── */
.csl-locations { padding: 24px 20px; border-top: 1px solid #e2e6ec; }
.csl-locations__heading { font-size: 12px; font-weight: 600; color: #5a6a7a; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 8px; }
.csl-locations__links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.csl-locations__link { font-size: 13px; color: #0f6e56; text-decoration: none; padding: 4px 12px; background: rgba(79,195,195,0.08); border-radius: 6px; transition: background 0.2s; }
.csl-locations__link:hover { background: rgba(79,195,195,0.18); text-decoration: none; }

/* ── Exit Intent Popup ─────────────────────────── */
.csl-exit { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.csl-exit__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); }
.csl-exit__modal { position: relative; background: #fff; border-radius: 16px; padding: 32px 24px; max-width: 380px; width: 90%; text-align: center; box-shadow: 0 16px 48px rgba(0,0,0,0.2); animation: csl-popIn 0.3s ease; }
@keyframes csl-popIn { from { opacity: 0; transform: scale(0.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.csl-exit__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; color: #999; cursor: pointer; line-height: 1; }
.csl-exit__close:hover { color: #333; }
.csl-exit__heading { font-size: 20px; font-weight: 700; color: #1e3a5f; margin: 0 0 8px; }
.csl-exit__text { font-size: 14px; color: #5a6a7a; margin: 0 0 20px; line-height: 1.5; }
.csl-exit__modal .csl-btn { margin-bottom: 10px; }
.csl-exit__sub { font-size: 12px; color: #5a6a7a; margin: 0; }

/* Grid card visible background */
.csl-grid__item { background: rgba(79,195,195,0.06) !important; border: 0.5px solid rgba(79,195,195,0.12); }

/* Strip widget chrome on landing pages */
.csl-widget-section .cs-widget .cs-header { display: none !important; }
.csl-widget-section .cs-widget .cs-hook { display: none !important; }
.csl-widget-section .cs-widget { max-width: 100% !important; border-radius: 0 !important; box-shadow: none !important; border: none !important; background: transparent !important; }
.csl-widget-section .cs-widget .cs-step { padding-left: 0 !important; padding-right: 0 !important; }
.csl-widget-section { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: -8px; margin-bottom: -8px; }

/* Prevent sticky CTA covering content */
.cs-landing { padding-bottom: 70px !important; }

/* Local context */
.csl-local-context { font-size: 14px; color: #5a6a7a; line-height: 1.7; margin: 0; }
