/* ============================================================
   RENOVAR LANDING PAGE — edu.css
   Page-specific styles for the educational landing page.
   Shared component styles (cards, ROI, gallery, footer-cities)
   are in base.css. This file handles education-only sections.
   ============================================================ */

/* ── ADU Explainer: side-by-side layout ──────────────────────── */
.adu-explainer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin-top: 36px;
}

.adu-explainer-visual {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.adu-explainer-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.adu-explainer-content {
  text-align: left;
}

.adu-explainer-definition {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 28px;
}

.adu-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.adu-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.adu-fact-icon {
  width: 36px;
  height: 36px;
  background: rgba(45, 154, 111, 0.08);
  border: 1px solid rgba(45, 154, 111, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.adu-fact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  display: block;
}

.adu-fact-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  padding-top: 7px;
}

/* ── Legality Section: accent strip ──────────────────────────── */
.legality-section {
  position: relative;
}

.legality-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.legality-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.legality-explanation {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 28px;
}

.legality-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
  justify-content: center;
}

.legality-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
}

.legality-points li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.legality-cta {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 24px;
  text-align: center;
}

.legality-cta button {
  display: inline;
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}

.legality-cta button:hover {
  color: var(--accent-light);
}

/* ── Process section (lighter 3-step) ───────────────────────── */
.process-light-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 540px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (min-width: 768px) {
  .adu-explainer {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .adu-explainer-visual {
    flex: 1;
    min-width: 0;
    max-width: none;
  }

  .adu-explainer-content {
    flex: 1.2;
    min-width: 0;
  }

  .adu-explainer-definition {
    font-size: 1.2rem;
  }

  .legality-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .adu-explainer {
    gap: 64px;
  }

  .adu-explainer-definition {
    font-size: 1.25rem;
  }

  .stepper.stepper-horizontal-3 {
    display: flex;
    gap: 0;
    max-width: 100%;
  }
  .stepper.stepper-horizontal-3 .step {
    padding-left: 0;
    padding-bottom: 0;
    flex: 1;
    text-align: center;
    padding-top: 64px;
  }
  .stepper.stepper-horizontal-3 .step::before {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }
  .stepper.stepper-horizontal-3 .step::after {
    left: calc(50% + 28px);
    top: 20px;
    bottom: auto;
    width: calc(100% - 56px);
    height: 1px;
  }
  .stepper.stepper-horizontal-3 .step:last-child::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .adu-facts-grid {
    grid-template-columns: 1fr;
  }

  .legality-section::before {
    width: 3px;
  }

  .legality-points {
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   /learn hero — full-bleed image with overlaid text
   (scoped here so the shared .hero on other pages is untouched)
   ============================================================ */
.hero-viewport.learn-hero {
  min-height: 0;
  height: auto;
  position: relative;
  overflow: hidden;
}
.learn-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.learn-hero-bg picture,
.learn-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.learn-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8, 16, 12, 0.62) 0%, rgba(8, 16, 12, 0.38) 38%, rgba(8, 16, 12, 0.7) 100%);
}
.learn-hero .hero {
  position: relative;
  z-index: 2;
  min-height: 66vh;
  padding: 132px 20px 80px;
  align-items: center;
}
.learn-hero .hero-inner { color: #fff; }
.learn-hero .hero-label { color: #6fe0ad; }
.learn-hero .hero-label::before,
.learn-hero .hero-label::after { background: #6fe0ad; }
.learn-hero h1 {
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}
.learn-hero h1 .text-accent {
  color: #6fe0ad;
  -webkit-text-fill-color: #6fe0ad;
}
.learn-hero .hero-sub {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
@media (max-width: 600px) {
  .learn-hero .hero { min-height: 78vh; padding-top: 112px; }
}
