/* ── Chiro Site Theme ── */
:root {
  /* Site-specific overrides could go here if needed */
  --color-primary-dark-rgb: 26, 86, 83;
}

/* ── Hero ── */
.hero {
  padding: var(--space-4xl) var(--space-lg);
  padding-top: clamp(200px, 38vw, 420px);
  text-align: center;
  background-color: var(--color-background);
  background-image: url('/assets/images/rock-boat-swan-bird.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 90% auto;
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 45ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* ── Trust Signals ── */
.trust-signals {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
  padding: var(--space-md);
  border-top: var(--border-thin);
  border-bottom: var(--border-thin);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

.trust-icon {
  color: var(--color-primary);
  font-size: var(--text-lg);
}

/* ── How It Works ── */
.how-it-works {
  padding: var(--space-4xl) 0;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.steps-grid > * {
  flex: 0 1 calc((100% - 2 * var(--space-lg)) / 3);
  min-width: 220px;
}

@media (max-width: 480px) {
  .steps-grid > * {
    flex: 1 1 100%;
  }
}

.step-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.step-card h3 {
  margin-bottom: var(--space-sm);
}

/* ── Section Dividers ── */
.section-intro {
  text-align: left;
  max-width: 60ch;
  margin: 0 auto var(--space-3xl);
}

.section-intro h2 {
  text-align: center;
}

/* ── Page Photos ── */
.page-photo {
  margin: var(--space-xl) 0;
  text-align: center;
}

.page-photo img {
  width: 100%;
  border-radius: var(--radius-md);
}

.page-photo--portrait img {
  max-width: 320px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-photo--banner img {
  max-width: 900px;
  aspect-ratio: 4 / 1;
  object-fit: cover;
}

.page-photo--landscape img {
  max-width: 800px;
}

.page-photo--wide img {
  max-width: 800px;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-2xl) var(--space-md);
    padding-top: clamp(240px, 45vw, 380px);
    background-size: 85% auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: clamp(200px, 55vw, 320px);
    background-size: 80% auto;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: var(--text-3xl); }
  .hero-ctas { flex-direction: column; }
  .trust-signals { flex-direction: column; gap: var(--space-md); align-items: center; }
}

/* ── About page ── */
.about-portrait {
  margin: var(--space-xl) auto var(--space-2xl);
  max-width: 320px;
  text-align: center;
}

.about-portrait img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  display: block;
}

.journey-video-sequence {
  margin: var(--space-lg) auto var(--space-xl);
  max-width: 480px;
  text-align: center;
}

.journey-sequence-video {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

.journey-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.journey-legend-label {
  font-size: var(--text-sm);
  margin-top: 0;
}

.journey-legend-desc {
  font-size: var(--text-sm);
}

.button-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* ── Step Cards — text-aligned variant ── */
/* Extends .step-card for left-aligned content with lists */
.step-card--left {
  text-align: left;
}

.step-card--left ul {
  padding-left: var(--space-lg);
  margin: var(--space-sm) 0 0;
}

.step-card--left li {
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
