/**
 * theme.css — Main landing page styles for stratusclean.polsia.app
 * Owns: landing page layout and brand tokens
 * Does NOT own: dashboard (dashboard.css), vertical pages (vertical.css)
 *
 * Brand tokens (confirmed hex values):
 *   Hero Green    #43B02A  (dominant: hero, CTA, primary)
 *   Charcoal Grey #333F48  (authority sections, body text)
 *   Cloud Grey    #D0D3D4  (section backgrounds, muted)
 *   Light Gold    #BD9A51  (RGB 189,154,81 — proof badges, accents)
 *   NOTE: Style guide PDF listed RGB 140,201,115 for Light Gold — those are
 *   green values, not gold. Correct derivation is from #BD9A51 (189,154,81).
 *
 * Typography:
 *   Headlines: "Open Sans" Bold (Town 10 not available in Google Fonts)
 *   Body: "Open Sans" Regular
 *   NO blue anywhere (links use charcoal or green-on-hover)
 */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
  /* Brand palette */
  --green:    #43B02A;
  --charcoal: #333F48;
  --cloud:    #D0D3D4;
  --gold:     #BD9A51;
  --white:    #FFFFFF;
  --bg:       #F5F5F0;
  --surface:  #FFFFFF;
  --border:   #D0D3D4;

  /* Typography */
  --font: 'Open Sans', system-ui, sans-serif;

  /* Legacy aliases used by dashboard.css — resolved to brand values */
  --primary:        #43B02A;
  --primary-light:  #52CC36;
  --accent:         #43B02A;
  --accent-light:   #6ED453;
  --text:           #333F48;
  --text-muted:     #666E75;
  --font-serif:     'Open Sans', system-ui, sans-serif;
  --font-sans:      'Open Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,245,240,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}
.nav-logo-tagline {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.logo-mark { color: var(--green); font-size: 12px; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #fff;
  padding: 96px 32px 88px;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}
.hero-heading {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  font-weight: 400;
}
.hero-bg-texture {
  position: absolute; inset: 0; z-index: 1; opacity: 0.07;
  background:
    radial-gradient(ellipse at 85% 15%, #fff 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(255,255,255,0.4) 0%, transparent 40%);
}

/* STATS */
.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { padding: 40px 48px 40px 0; flex: 1; }
.stat-number {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider { width: 1px; height: 48px; background: var(--border); margin-right: 48px; flex-shrink: 0; }

/* SERVICES */
.services { padding: 96px 32px; max-width: 1160px; margin: 0 auto; }
.services-header { margin-bottom: 64px; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.services h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  transition: background 0.2s;
}
.service-card:hover { background: #F0F7EC; }
.service-icon { color: var(--green); font-size: 16px; margin-bottom: 20px; }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* PROCESS */
.process {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.process-left h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.process-sub { font-size: 16px; color: var(--text-muted); line-height: 1.6; }
.step { display: flex; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { font-size: 28px; font-weight: 700; color: var(--green); line-height: 1; flex-shrink: 0; width: 40px; }
.step-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* TRUST */
.trust { background: var(--charcoal); color: #fff; padding: 80px 32px; }
.trust-inner { max-width: 1160px; margin: 0 auto; }
.trust-header { text-align: center; margin-bottom: 48px; }
.trust-header .section-eyebrow { color: rgba(255,255,255,0.65); }
.trust-header h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trust-logos { margin-bottom: 40px; }
.trust-logo-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; padding: 12px 0; }
.trust-logo-text { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.trust-cta { text-align: center; }
.trust-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.trust-score { font-size: 14px; color: rgba(255,255,255,0.5); margin-left: 10px; }

/* CLOSING */
.closing {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 96px 32px;
  text-align: center;
}
.closing h2 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.closing p { font-size: 16px; color: var(--text-muted); line-height: 1.75; max-width: 620px; margin: 0 auto; }

/* CTA BUTTON */
.btn-cta {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: 24px;
}
.btn-cta:hover { opacity: 0.9; }

/* FOOTER */
.footer { background: var(--charcoal); }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.footer-brand-tagline {
  font-size: 9px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 3px;
}
.footer-info { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-info a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-info a:hover { color: #fff; }

/* CTA FORM SECTION (homepage) */
.cta-form-section {
  background: var(--bg);
  padding: 88px 32px;
  border-top: 1px solid var(--border);
}
.cta-form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.cta-form-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.cta-form-heading {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta-form-body {
  font-size: 16px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 24px;
}
.cta-form-checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-form-checklist li {
  font-size: 14px;
  color: var(--charcoal);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.cta-form-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.cta-form-contact {
  font-size: 14px;
  color: #777;
}
.cta-form-contact a { color: var(--green); text-decoration: none; }
.cta-form-contact a:hover { text-decoration: underline; }
.cta-form-right .lf-card {
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-color: var(--border);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 72px 24px 64px; }
  .stats-grid { flex-wrap: wrap; gap: 0; }
  .stat { padding: 32px 24px 32px 0; flex: 0 0 50%; }
  .stat-divider { display: none; }
  .services { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 48px; padding: 64px 24px; }
  .trust { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .cta-form-section { padding: 64px 20px; }
  .cta-form-inner { grid-template-columns: 1fr; gap: 40px; }
}
