/* ═══════════════════════════════════════════════
   HOME PAGE — page-specific styles
   Imports: styles.css (shared design system)
═══════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  background: var(--white);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 45%, rgba(245,196,0,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy { max-width: 560px; }

.hero-copy .eyebrow { margin-bottom: 1rem; }

.display em {
  font-style: italic;
  color: var(--yellow);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--text-3);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* TCO comparison panel */
.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.hero-bars { display: flex; flex-direction: column; gap: 1rem; }

.hero-bar-row { display: flex; flex-direction: column; gap: .4rem; }

.hero-bar-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-2);
}

.hero-bar-track {
  height: 40px;
  background: var(--surface);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.hero-bar {
  height: 100%;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  transition: width 1s ease;
}

.hero-bar-red   { background: rgba(255,107,53,.15); border: 1px solid rgba(255,107,53,.3); }
.hero-bar-green { background: rgba(0,184,122,.15);  border: 1px solid rgba(0,184,122,.3);  }

.hero-bar--baseline { width: 100%; }
.hero-bar--result   { width: 60%; }

.hero-bar-value {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.hero-panel-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.hero-panel-saving {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--navy);
}

.hero-panel-saving strong { color: var(--green); }

.hero-panel-note {
  font-size: var(--fs-xs);
  color: var(--text-3);
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-panel { max-width: 540px; }
}

@media (max-width: 600px) {
  .hero { padding: calc(var(--nav-h) + 2rem) 0 4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── VALUE STACK SECTION ── */
.value-stack-section .value-stack { max-width: 560px; margin: 0 auto; }

.value-stack .value-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.value-price-incl { color: var(--green); font-weight: 600; }

.value-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0;
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.value-cost-row strong { color: var(--navy); }

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
}

.stat-number {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--navy);
  margin-top: .5rem;
}

.stat-sub {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-3);
  margin-top: .25rem;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── DAMAGING ADMISSIONS ── */
.admissions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.admissions-copy .eyebrow { margin-bottom: 1rem; }

.admissions-copy p {
  color: var(--text-2);
  line-height: 1.75;
  margin-top: 1rem;
  font-size: var(--fs-base);
}

.admissions-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.admissions-card h3 { margin-bottom: 1rem; }

.promise-list { display: flex; flex-direction: column; gap: .75rem; }

.promise-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: var(--fs-base);
  color: var(--text-2);
  line-height: 1.5;
}

.promise-icon {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

@media (max-width: 768px) {
  .admissions-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── HOW IT WORKS ── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: none;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 1px;
  background: var(--border-2);
}

.step-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  position: relative;
}

.step-item:not(:last-child) { border-bottom: 1px solid var(--border); }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -.03em;
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  background: var(--white);
  position: relative;
  z-index: 1;
  padding-top: .1rem;
}

.step-body h3 { margin-bottom: .5rem; }

.step-body p {
  font-size: var(--fs-base);
  color: var(--text-2);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .steps-list::before { display: none; }
  .step-item { gap: 1.25rem; }
}

/* ── SOCIAL PROOF ── */
.marquee-wrap { margin: 2rem 0; }

.marquee-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-3);
  letter-spacing: -.01em;
  white-space: nowrap;
  padding: .5rem 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-card p {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: var(--fs-xs);
  font-style: normal;
}

.testimonial-card footer strong { color: var(--navy); font-size: var(--fs-sm); }
.testimonial-card footer span   { color: var(--text-3); }

/* Case study */
.case-study-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-study-card h3 { font-size: 1.2rem; }

.cs-metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.cs-metric {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.cs-metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}

.cs-metric-label {
  font-size: var(--fs-xs);
  color: var(--text-3);
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── CATEGORIES BENTO GRID ── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cat-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  cursor: pointer;
}

.cat-tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--yellow-border);
}

.cat-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-glow);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.cat-tile h3 { font-size: var(--fs-lg); }

.cat-norms {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: auto;
}

@media (max-width: 768px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cats-grid { grid-template-columns: 1fr; }
}

/* ── CTA SECTION (dark) ── */
.cta-section { padding: 5rem 0; }

.cta-section .eyebrow      { color: rgba(255,255,255,.5); }
.cta-section .section-title { color: #fff; }
.cta-section .cta-body     { color: rgba(255,255,255,.75); }

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.cta-urgency { margin-top: 1.5rem; }

.urgency-bar {
  height: 8px;
  background: rgba(255,255,255,.12);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: .75rem;
}

.urgency-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 100px;
  transition: width 1s ease;
}

.urgency-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
}

.urgency-text strong { color: var(--yellow); }

.cta-action { min-width: 280px; display: flex; flex-direction: column; gap: .75rem; }

.cta-note {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
  text-align: center;
}

@media (max-width: 768px) {
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-action { min-width: unset; }
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.faq-item {
  border: 1px solid rgba(10,22,40,.08);
  border-radius: var(--r);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s ease;
}

.faq-item[open] { border-color: rgba(10,22,40,.18); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--navy);
  list-style: none;
  gap: 1rem;
  -webkit-user-select: none;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s ease;
  line-height: 1;
}

.faq-item[open] .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.25rem 1.1rem;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.65;
}
