/* ============================================
   how-it-works.css
   Page-specific styles for the How It Works page
   Global styles (colors, nav, footer, buttons) live in style.css
   ============================================ */

/* ============================================
   HERO
   ============================================ */
.hiw-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 80px 72px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.hiw-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hiw-hero-bg-text {
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 180px;
  color: rgba(201,168,76,0.04);
  letter-spacing: 8px;
  pointer-events: none;
  line-height: 1;
}

.hiw-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hiw-hero-content h1 {
  color: var(--white);
  font-size: clamp(44px, 5vw, 80px);
  margin-bottom: 20px;
}
.hiw-hero-content h1 em { color: var(--gold); }

.hiw-hero-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps-section {
  padding: 100px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
  margin-bottom: 80px;
}

.step-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.step-card:hover { background: var(--cream); }

/* Gold top bar on hover */
.step-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s;
}
.step-card:hover::after {
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
}

/* Arrow connector between cards — desktop only */
.step-card:not(:last-child)::before {
  content: '→';
  position: absolute;
  top: 48px;
  right: -14px;
  font-size: 20px;
  color: var(--gold);
  z-index: 10;
  background: var(--white);
  width: 28px;
  text-align: center;
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
  letter-spacing: 2px;
}

.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.1;
}

.step-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--grey);
  font-weight: 300;
}
.step-desc strong {
  color: var(--black);
  font-weight: 500;
}

/* ============================================
   QUICK FACTS STRIP
   ============================================ */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black);
  border: 1px solid rgba(201,168,76,0.15);
  margin-bottom: 80px;
}

.fact-item {
  background: var(--charcoal);
  padding: 32px 24px;
  text-align: center;
}

.fact-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
  display: block;
}

.fact-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
  display: block;
}

/* ============================================
   BOTTOM CTA
   ============================================ */
.hiw-cta {
  text-align: center;
  padding: 0 0 100px;
}

.hiw-cta h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 16px;
}
.hiw-cta h2 em { color: var(--gold); }

.hiw-cta p {
  font-size: 15px;
  color: var(--grey);
  font-weight: 300;
  margin-bottom: 36px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hiw-hero { padding: 120px 24px 60px; }
  .steps-section { padding: 60px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card::before { display: none; }
  .facts-strip { grid-template-columns: 1fr 1fr; }
}