/* ============================================================
   LONGEVITY ATHLETICS — HOME.CSS
   Homepage-specific styles
   ============================================================ */

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  background-image: url('https://longevityathletics.com/wp-content/uploads/2025/05/6b1754cf-0694-450a-8047-622f97510128.webp');
  background-position: 0px -207px;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--dark-1);
  padding: 8em 30px 14em;
  position: relative;
  overflow: hidden;
}

/* Dark overlay + chevron PNG — exactly as original */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(13, 13, 13, 0.76);
  background-image: url('https://longevityathletics.com/wp-content/uploads/2024/09/chevron-overlay-2-33.png');
  background-position: 62vw 100%;
  background-repeat: no-repeat;
  background-size: 438px;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  display: none;
}

/* SVG shape divider at hero bottom */
.hero-shape-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: calc(119% + 1.3px);
  height: 59px;
  z-index: 2;
  pointer-events: none;
}

.hero-shape-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-shape-bottom path {
  fill: #fff;
}

.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 0;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero h3 {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

/* ── HERO CTA BUTTON ──────────────────────────────────────── */
.hero .btn--primary {
  background: var(--dark-1);
  border: 2px solid var(--accent);
  color: var(--white);
  font-style: italic;
}

.hero .btn--primary:hover {
  background: #111;
  box-shadow: none;
  transform: none;
}

/* ── FEATURES ROW ─────────────────────────────────────────── */
.features-section {
  padding: 80px 30px 80px;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 32px 16px;
}

.feature-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 80px;
  height: 80px;
  fill: var(--dark-1);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--dark-1);
  margin-bottom: 16px;
  line-height: 1.05;
}

.feature-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* ── MID CTA BANNER ───────────────────────────────────────── */
.mid-cta {
  padding: 80px 30px 100px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mid-cta::before {
  display: none;
}

.mid-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mid-cta h3 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--dark-1);
  margin-bottom: 12px;
  line-height: 1.05;
}

.mid-cta-subtitle {
  font-size: 1.05rem;
  color: #aaa;
  margin-bottom: 36px;
}

/* .mid-cta-btn inherits base .btn styles */

/* ── SERVICES WAVE DIVIDER ────────────────────────────────── */
.services-wave-divider {
  display: block;
  line-height: 0;
  margin-bottom: -2px;
  background: var(--white);
}

.services-wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ── SERVICES SECTION ─────────────────────────────────────── */
.services-section {
  background: var(--dark-1);
  padding: 100px 0 0;
  position: relative;
}

.services-header {
  padding: 0 30px;
  max-width: var(--container-max);
  margin: 0 auto 0;
  text-align: center;
}

.services-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 0;
}

/* Service card backgrounds */
.service-card:nth-child(1) .service-card-bg {
  background: linear-gradient(135deg, #1a2a3a 0%, #0d1a26 100%);
}
.service-card:nth-child(2) .service-card-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
}
.service-card:nth-child(3) .service-card-bg {
  background: linear-gradient(135deg, #1a2a1a 0%, #0d1a0d 100%);
}
.service-card:nth-child(4) .service-card-bg {
  background: linear-gradient(135deg, #2a1a2a 0%, #1a0d1a 100%);
}
.service-card:nth-child(5) .service-card-bg {
  background: linear-gradient(135deg, #2a2a1a 0%, #1a1a0d 100%);
}
.service-card:nth-child(6) .service-card-bg {
  background: linear-gradient(135deg, #1a2a2a 0%, #0d1a1a 100%);
}

/* Add geometric decorative elements */
.service-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(0,175,239,0.1);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.5s ease;
}

.service-card:hover::after {
  border-color: rgba(0,175,239,0.2);
  transform: scale(1.3);
}

/* ── STEPS SECTION ────────────────────────────────────────── */
.steps-section {
  padding: 80px 30px;
  background: var(--white);
}

.steps-header {
  text-align: center;
  margin-bottom: 60px;
}

.steps-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--dark-1);
  margin-bottom: 0;
}

.steps-cta-area {
  text-align: center;
  margin-top: 60px;
}

.steps-cta-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

/* ── REVIEWS SECTION ──────────────────────────────────────── */
.reviews-section {
  padding: 80px 30px;
  background: var(--light-gray);
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--dark-1);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.25;
}

/* ── CTA + FAQ SECTION ────────────────────────────────────── */
.cta-faq-section {
  padding: 100px 30px 80px;
  background: var(--dark-1);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 55% 0, 100% 60px, 100% 100%, 0 100%);
  margin-top: -1px;
}

/* Decorative chevrons — large upward-pointing outlines matching original */
.cta-faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='700' viewBox='0 0 420 700'%3E%3Cpolygon points='210,30 390,160 390,220 210,90 30,220 30,160' fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='3'/%3E%3Cpolygon points='210,190 390,320 390,380 210,250 30,380 30,320' fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='3'/%3E%3Cpolygon points='210,350 390,480 390,540 210,410 30,540 30,480' fill='none' stroke='rgba(255,255,255,0.14)' stroke-width='3'/%3E%3Cpolygon points='210,510 390,640 390,700 210,570 30,700 30,640' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='3'/%3E%3C/svg%3E") right top / 420px auto repeat-y;
  pointer-events: none;
}

.cta-faq-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-faq-top {
  text-align: left;
  margin-bottom: 60px;
  max-width: 60%;
}

.cta-faq-top h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.1;
}

.faq-header {
  text-align: center;
  margin-bottom: 32px;
}

.faq-header h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-header h4 strong {
  font-weight: 900;
}

/* ── MAP / LOCATION SECTION ───────────────────────────────── */
.location-section {
  padding: 80px 30px;
  background: var(--dark-3);
}

.location-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.location-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.location-address {
  font-style: normal;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.location-address strong {
  color: var(--white);
  font-family: var(--font-heading);
}

/* ── RESPONSIVE HOME ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-item {
    padding: 32px 20px;
    background: var(--light-gray);
  }

  .location-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
