/* ============================================================
   Homepage styles
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--space-section) * 0.5) var(--space-section);
  background-color: var(--color-bg-cream);
}

.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -150px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 180, 131, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -190px;
  bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 182, 162, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

/* Text-only hero: center the content on its own line */
.hero__content {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.hero__subtitle {
  margin-inline: auto;
}

.hero__actions {
  justify-content: center;
}

/* Two-column hero: text alongside a photo */
.hero__media {
  aspect-ratio: 3 / 2;
  width: 100%;
}

@media (min-width: 900px) {
  .hero--media .container {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }
  .hero--media .hero__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 360px;
  }
  .hero--media .hero__content {
    max-width: none;
    margin-inline: 0;
    text-align: left;
    align-self: center;
  }
  .hero--media .hero__subtitle {
    margin-inline: 0;
  }
  .hero--media .hero__actions {
    justify-content: flex-start;
  }
}

/* Botanical watermark in the Areas of Focus section */
.focus-section { position: relative; overflow: hidden; }
.focus-section .brand-watermark {
  width: 360px;
  right: -90px;
  bottom: -110px;
}
.focus-section .container { position: relative; z-index: 1; }

.hero__title {
  font-size: var(--font-size-hero);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (max-width: 767px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

/* About teaser (text-only, readable measure) */
.about-teaser {
  max-width: 46rem;
  margin-inline: auto;
}

/* Two-column media variant: text beside a photo.
   Double-class selectors so these beat the base `.about-teaser` /
   `.expect-preview` (max-width: 46rem) rules regardless of source order. */
.about-teaser.about-teaser--media,
.expect-preview.expect-preview--media {
  max-width: none;
  display: grid;
  gap: var(--space-2xl);
  align-items: stretch;
}

/* Mobile / stacked: honest 3:2 frame */
.about-teaser__media,
.expect-preview__media {
  aspect-ratio: 3 / 2;
  width: 100%;
}

@media (min-width: 900px) {
  .about-teaser.about-teaser--media,
  .expect-preview.expect-preview--media {
    grid-template-columns: 1fr 1fr;
  }
  /* Photo column fills the text column's height and cover-crops, so a long
     text block never sits beside a tiny letterboxed image. */
  .about-teaser__media,
  .expect-preview__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }
}

.about-teaser__text h2 {
  margin-bottom: var(--space-md);
}

.about-teaser__text p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

/* "Why Choose" list inside the About teaser */
.why-choose__title {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.why-choose {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.why-choose li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: var(--space-xs);
  color: var(--color-text-secondary);
}

.why-choose li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* Focus grid */
.focus-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

@media (min-width: 640px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .focus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.focus-card {
  display: block;
  padding: var(--space-xl);
  background-color: var(--color-bg);
  border-radius: var(--border-radius-2xl);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.focus-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
  background-color: var(--color-bg-warm);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.focus-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.focus-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* Expect preview (text-only, readable measure) */
.expect-preview {
  max-width: 46rem;
  margin-inline: auto;
}

.expect-preview__text h2 {
  margin-bottom: var(--space-md);
}

.expect-preview__text p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

/* "Getting Started is Simple" numbered steps */
.steps-list__title {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.steps-list {
  /* the global reset strips list-style — restore numbering */
  list-style: decimal;
  margin: 0 0 var(--space-lg);
  padding-left: 1.4em;
}

.steps-list li {
  margin-bottom: var(--space-xs);
  color: var(--color-text-secondary);
}

.steps-list li::marker {
  color: var(--color-primary);
  font-weight: 600;
}

/* Philosophy */
.philosophy-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-card {
  padding: var(--space-xl);
}

.philosophy-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.philosophy-card p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin: 0;
}
