/* ============================================
   HOME PAGE — leonmagara.com
   Styles specific to index.html
   ============================================ */

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1B2A4A 0%, #2E5A88 50%, #1B2A4A 100%);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  color: var(--color-white);
}

.hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  line-height: 1.05;
}

.hero-tagline {
  font-size: 1.5rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.25rem;
  clip-path: inset(0 100% 0 0);
}

.hero-tagline.revealed {
  clip-path: inset(0 0% 0 0);
}

.hero-subtext {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.5rem;
}

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

.hero-ctas .btn-primary {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.hero-ctas .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-navy);
}

.hero-ctas .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.hero-ctas .btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.hero-badge {
  margin-top: 1.5rem;
}

/* Hero headshot placeholder */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-headshot-placeholder {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.hero-headshot-placeholder i {
  width: 48px;
  height: 48px;
}

.hero-headshot-placeholder span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Proof Bar --- */
.proof-section {
  background-color: var(--color-light-gray);
  padding: 3.5rem 1.5rem;
}

.proof-section .proof-bar {
  max-width: var(--max-width);
  margin: 0 auto;
}

.proof-stat .stat-prefix,
.proof-stat .stat-suffix {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

/* --- Pipeline Section --- */
.pipeline-section {
  padding: var(--spacing-section) 1.5rem;
}

.pipeline-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.pipeline-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pipeline-intro h2 {
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--color-slate);
  font-weight: 400;
}

.pipeline-pivot {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 2rem 0;
  text-align: center;
}

.pipeline-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-slate);
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

/* Pipeline visual */
.pipeline-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
  margin-top: 1rem;
}

.pipeline-node {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-card);
  margin: 0 0.75rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  display: block;
  color: inherit;
}

.pipeline-node:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-card-hover);
  color: inherit;
}

.pipeline-node[data-stage="1"] { border-top-color: var(--color-warm-sand); }
.pipeline-node[data-stage="2"] { border-top-color: var(--color-cool-blue); }
.pipeline-node[data-stage="3"] { border-top-color: var(--color-soft-green); }
.pipeline-node[data-stage="4"] { border-top-color: var(--color-deep-navy); }

.pipeline-stage-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.pipeline-node[data-stage="1"] .pipeline-stage-label { color: #b8944e; }
.pipeline-node[data-stage="2"] .pipeline-stage-label { color: #4a8ab5; }
.pipeline-node[data-stage="3"] .pipeline-stage-label { color: #3a9e5c; }
.pipeline-node[data-stage="4"] .pipeline-stage-label { color: var(--color-navy); }

.pipeline-subtitle {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-slate);
  margin-bottom: 0.75rem;
}

.pipeline-project {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* SVG connectors */
.pipeline-connectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Pipeline tagline */
.pipeline-tagline {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  opacity: 0;
}

/* --- Services Section --- */
.services-section {
  padding: var(--spacing-section) 1.5rem;
}

.services-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .card-icon {
  width: 48px;
  height: 48px;
  color: var(--color-blue);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-slate);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

.service-card .card-link {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-base);
}

.service-card .card-link:hover {
  gap: 0.6rem;
}

/* --- About Teaser --- */
.about-teaser {
  background-color: var(--color-light-gray);
  padding: var(--spacing-section) 1.5rem;
}

.about-teaser-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-teaser-inner p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-slate);
  margin-bottom: 2rem;
}

.about-teaser-inner a {
  font-weight: 600;
  font-size: 1rem;
}

/* --- CTA Footer --- */
.cta-footer {
  background-color: var(--color-navy);
  padding: var(--spacing-section) 1.5rem;
  text-align: center;
}

.cta-footer h2 {
  color: var(--color-white);
  margin-bottom: 2rem;
}

.cta-footer .btn-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.cta-footer .btn-primary:hover {
  background-color: #3a6fa0;
  color: var(--color-white);
}

/* --- Mobile Pipeline --- */
.pipeline-mobile-arrow {
  display: none;
  text-align: center;
  color: var(--color-slate);
  padding: 0.5rem 0;
}

.pipeline-mobile-arrow i {
  width: 24px;
  height: 24px;
  display: inline-block;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .hero-headshot-placeholder {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 2rem) 0 3rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-badge {
    display: flex;
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-headshot-placeholder {
    width: 180px;
    height: 180px;
  }

  .hero-headshot-placeholder i {
    width: 32px;
    height: 32px;
  }

  /* Proof bar mobile */
  .proof-stat .stat-prefix,
  .proof-stat .stat-suffix {
    font-size: 2rem;
  }

  /* Pipeline mobile */
  .pipeline-visual {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pipeline-connectors {
    display: none;
  }

  .pipeline-mobile-arrow {
    display: block;
  }

  .pipeline-node {
    margin: 0;
  }

  .pipeline-pivot {
    font-size: 2rem;
  }

  /* Services mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--nav-height) + 1.5rem) 0 2rem;
  }

  .hero-inner {
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-subtext {
    font-size: 0.9375rem;
  }

  .hero-headshot-placeholder {
    width: 140px;
    height: 140px;
  }

  .pipeline-pivot {
    font-size: 1.75rem;
  }

  .proof-section {
    padding: 2.5rem 1rem;
  }
}
