/* ============================================================
   HOW IT WORKS PAGE
   ============================================================ */

/* Hero */
.how-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #002920 0%, #004B42 55%, #006655 100%);
  color: var(--white);
  padding: 140px 48px 80px;
}

.how-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(163,224,180,.07) 0%, transparent 60%);
  pointer-events: none;
}

.how-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

.how-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.how-hero-top { margin-bottom: 64px; }
.how-hero-top h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 16px 0 20px;
  color: var(--white);
}
.how-hero-top h1 em { color: var(--sage); font-style: italic; }
.how-hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  max-width: 640px;
}

/* Steps row */
.how-steps-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.how-hero-step {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(163,224,180,.2);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  min-width: 110px;
  flex: 1;
}

.how-hero-step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 6px;
}

.how-hero-step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.how-hero-step-time {
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
}

.how-step-arrow {
  font-size: 1.5rem;
  color: rgba(163,224,180,.5);
  flex-shrink: 0;
}

.how-hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,.7);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
}

.how-hero-note-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Overview cards */
.how-overview {
  background: var(--cream);
  padding: 80px 48px;
  display: flex;
  justify-content: center;
}

.how-overview-inner {
  max-width: 1280px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-ov-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
}

.how-ov-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.how-ov-card h3 {
  font-size: 1.2rem;
  color: var(--forest-dark);
  margin: 0 0 12px;
}

.how-ov-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Phases */
.how-phase { padding: 100px 48px; }

.how-phase--dark {
  background: var(--forest-deep);
  color: var(--white);
}

.how-phase-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.how-phase-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
}

.how-phase--dark .how-phase-label { color: var(--sage); }

.how-phase-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 20px;
}

.how-phase-inner h2 em { color: var(--forest); font-style: italic; }
.how-phase--dark .how-phase-inner h2 em { color: var(--sage); }

.how-phase-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 48px;
}

/* Phase steps */
.how-phase-steps { display: flex; flex-direction: column; gap: 0; }

.how-ps {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 36px;
  border-left: 2px solid var(--border);
  margin-left: 18px;
  padding-left: 28px;
  position: relative;
}

.how-ps:last-child { border-left-color: transparent; }

.how-ps-num {
  position: absolute;
  left: -18px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.how-ps-num--dark { background: var(--sage); color: var(--forest-deep); }

.how-ps-body { padding-top: 6px; }
.how-ps-body h4 {
  font-size: 1rem;
  color: var(--forest-dark);
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 600;
}
.how-ps-body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 10px;
}
.how-ps-duration {
  display: inline-block;
  font-size: 0.8125rem;
  background: var(--sage-pale);
  color: var(--forest);
  border-radius: 20px;
  padding: 3px 12px;
  font-weight: 500;
}

.how-phase-steps--dark .how-ps { border-left-color: rgba(163,224,180,.2); }
.how-phase-steps--dark .how-ps:last-child { border-left-color: transparent; }
.how-phase-steps--dark .how-ps-body h4 { color: var(--white); }
.how-phase-steps--dark .how-ps-body p { color: rgba(255,255,255,.7); }
.how-phase-steps--dark .how-ps-duration { background: rgba(163,224,180,.12); color: var(--sage); }

/* Info card */
.how-info-card {
  background: var(--sage-pale);
  border: 1px solid rgba(0,75,66,.15);
  border-radius: 16px;
  padding: 32px;
}

.how-info-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--forest);
  margin-bottom: 20px;
}

.how-info-list {
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.how-info-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,75,66,.08);
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.how-info-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-size: 0.875rem;
}

.how-info-list--check li::before { content: '✓'; color: var(--forest); }

.how-info-note {
  display: flex;
  gap: 12px;
  background: rgba(0,75,66,.06);
  border-radius: 8px;
  padding: 16px;
}

.how-info-note span { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.how-info-note p { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* Destination times */
.how-dest-times {
  background: var(--cream);
  border: 1px solid rgba(0,75,66,.12);
  border-radius: 16px;
  padding: 32px;
}

.how-dest-times-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #004B42;
  margin-bottom: 24px;
}

.how-dest-time-row {
  display: grid;
  grid-template-columns: 28px 90px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.how-dest-flag { font-size: 1.1rem; }
.how-dest-name { font-size: 0.8125rem; color: #004B42; font-weight: 500; }

.how-dest-bar {
  height: 6px;
  background: rgba(0,75,66,.12);
  border-radius: 3px;
  overflow: hidden;
}
.how-dest-bar-fill {
  height: 100%;
  width: var(--w, 50%);
  background: #004B42;
  border-radius: 3px;
}

.how-dest-weeks {
  font-size: 0.75rem;
  color: rgba(0,75,66,.6);
  white-space: nowrap;
}

.how-dest-times-note {
  font-size: 0.8125rem;
  color: rgba(0,75,66,.55);
  margin: 20px 0 0;
  border-top: 1px solid rgba(0,75,66,.1);
  padding-top: 16px;
  font-style: italic;
}

/* Professions */
.how-professions {
  background: var(--cream);
  padding: 100px 48px;
}

.how-professions-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.how-professions-header {
  margin-bottom: 40px;
}

.how-professions-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 12px 0 12px;
}
.how-professions-header h2 em { color: var(--forest); font-style: italic; }
.how-professions-sub { color: var(--muted); line-height: 1.7; }

.how-prof-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.how-prof-tab-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.how-prof-tab-btn.active,
.how-prof-tab-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.how-prof-panel { display: none; }
.how-prof-panel.active { display: block; }

.how-prof-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.how-prof-body h3 {
  font-size: 1.4rem;
  color: var(--forest-dark);
  margin: 0 0 16px;
}
.how-prof-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin: 24px 0 12px;
  font-family: var(--font-body);
}
.how-prof-body p { color: var(--text); line-height: 1.75; margin-bottom: 16px; }
.how-prof-body ul {
  padding-left: 20px;
  margin: 0 0 16px;
}
.how-prof-body ul li { margin-bottom: 8px; color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.how-prof-body ul li strong { color: var(--text); }

.how-note {
  display: flex;
  gap: 12px;
  background: rgba(0,75,66,.05);
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid var(--forest);
}
.how-note--warning { background: rgba(184,150,46,.08); border-left-color: var(--gold); }
.how-note span { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.how-note p { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.65; }

.how-prof-dests {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.how-prof-dests-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--forest);
  margin-bottom: 16px;
}
.how-prof-dest-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.how-prof-dest-item:last-child { border-bottom: none; }
.how-prof-dest-item--limited { color: var(--gold); }
.how-prof-dest-item--na { color: var(--muted); }
.how-prof-dest-item span { font-size: 0.75rem; color: var(--muted); }
.how-prof-dest-note { font-size: 0.75rem; background: var(--sage-pale); color: var(--forest); border-radius: 20px; padding: 2px 8px; }

/* FAQ */
.how-faq {
  padding: 100px 48px;
}
.how-faq-inner { max-width: 900px; margin: 0 auto; }
.how-faq-header { margin-bottom: 48px; }
.how-faq-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 12px 0; }
.how-faq-header h2 em { color: var(--forest); font-style: italic; }

.how-faq-list { display: flex; flex-direction: column; gap: 0; }

.how-faq-item {
  border-bottom: 1px solid var(--border);
}

.how-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.how-faq-q:hover { color: var(--forest); }

.how-faq-icon {
  font-size: 1.5rem;
  color: var(--forest);
  transition: transform .25s;
  flex-shrink: 0;
  line-height: 1;
}

.how-faq-item.open .how-faq-icon { transform: rotate(45deg); }

.how-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}
.how-faq-item.open .how-faq-a { max-height: 400px; padding-bottom: 24px; }
.how-faq-a p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 0.9375rem; }

/* CTA */
.how-cta {
  background: var(--forest-dark);
  color: var(--white);
  padding: 80px 48px;
}
.how-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.how-cta-left h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
.how-cta-left p { color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 32px; }
.how-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.how-cta-pillars { display: flex; flex-direction: column; gap: 24px; }
.how-cta-pillar { display: flex; gap: 16px; align-items: flex-start; }
.how-cta-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(163,224,180,.15);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.how-cta-pillar strong { display: block; color: var(--white); margin-bottom: 4px; }
.how-cta-pillar p { color: rgba(255,255,255,.6); font-size: 0.875rem; margin: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .how-phase-inner,
  .how-prof-grid,
  .how-cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .how-overview-inner { grid-template-columns: 1fr 1fr; }
  .how-steps-row { gap: 8px; }
}

@media (max-width: 640px) {
  .how-hero,
  .how-overview,
  .how-phase,
  .how-professions,
  .how-faq,
  .how-cta { padding-left: 20px; padding-right: 20px; }
  .how-overview-inner { grid-template-columns: 1fr; }
  .how-steps-row { display: none; }
  .how-dest-time-row { grid-template-columns: 28px 70px 1fr; }
  .how-dest-weeks { display: none; }
}
