/* ==========================================================================
   HERO — mobile-first
   ========================================================================== */

/* ---- Section ---- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 24px 28px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero {
    padding: 48px 32px;
    gap: 32px;
  }
}

@media (min-width: 1200px) {
  .hero {
    flex-direction: row;
    align-items: center;
    padding: 60px 48px;
    gap: 48px;
    min-height: calc(100svh - 68px);
  }
}

/* ---- Dark mode background ---- */
[data-theme="dark"] .hero {
  background-color: var(--bg-dark);
}

[data-theme="dark"] .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 75% 15%,
      rgba(61, 138, 90, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Raise content above gradient overlay and decorative leaves */
.hero__content,
.hero__image-wrap,
.hero__trust {
  position: relative;
  z-index: 2;
}

/* ---- Decorative leaves ---- */
.hero__leaf {
  position: absolute;
  z-index: 1;
  display: block;
  /* span is inline by default — must override */
  pointer-events: none;
  color: var(--color-primary);
  opacity: 0.06;
}

.hero__leaf--1 {
  top: 10px;
  left: 20px;
  width: 120px;
  height: 120px;
  transform: rotate(-25deg);
}

.hero__leaf--2 {
  bottom: 40px;
  right: 30px;
  width: 80px;
  height: 80px;
  transform: rotate(15deg);
}

.hero__leaf svg {
  display: block;
  width: 100%;
  height: 100%;
}

[data-theme="dark"] .hero__leaf {
  color: var(--color-primary);
  opacity: 0.08;
}

/* ---- Text content ---- */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1200px) {
  .hero__content {
    flex: 1;
    align-items: flex-start;
    text-align: left;
    gap: 32px;
  }
}

/* ---- Headline ---- */
.hero__headline {
  margin: 0;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}

[data-theme="dark"] .hero__headline {
  color: var(--color-text-white);
}

@media (min-width: 768px) {
  .hero__headline {
    font-size: 32px;
  }
}

@media (min-width: 1200px) {
  .hero__headline {
    font-size: 42px;
  }
}

/* ---- Subheadline ---- */
.hero__sub {
  margin: 0;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

[data-theme="dark"] .hero__sub {
  color: #B0AFAC;
}

@media (min-width: 768px) {
  .hero__sub {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .hero__sub {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* ---- CTA button ---- */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background-color: var(--color-mint-cta);
  color: var(--bg-white);
  border-radius: 100px;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
  align-self: center;
}

[data-theme="dark"] .hero__cta {
  color: var(--color-text-primary);
  box-shadow: 0 4px 16px rgba(94, 196, 154, 0.25);
}

.hero__cta:hover {
  background-color: var(--color-mint-cta-dark);
}

[data-theme="dark"] .hero__cta:hover {
  box-shadow: 0 4px 24px rgba(94, 196, 154, 0.35);
}

@media (min-width: 768px) {
  .hero__cta {
    padding: 16px 32px;
  }
}

@media (min-width: 1200px) {
  .hero__cta {
    padding: 18px 36px;
    align-self: flex-start;
  }
}

/* Arrow icon wrapper: hidden on mobile */
.hero__cta-icon {
  display: none;
  flex-shrink: 0;
  line-height: 0;
}

.hero__cta-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .hero__cta-icon {
    display: block;
  }
}

/* ---- Image ---- */
.hero__image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .hero__image-wrap {
    border-radius: 16px;
  }

  .hero__image {
    height: 340px;
  }
}

@media (min-width: 1200px) {
  .hero__image-wrap {
    flex: 1;
    border-radius: 20px;
    align-self: stretch;
  }

  .hero__image {
    height: 100%;
    min-height: 420px;
  }
}

/* ---- Trust strip — mobile only ---- */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-tertiary);
}

@media (min-width: 768px) {
  .hero__trust {
    display: none;
  }
}

.hero__trust-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.hero__trust-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.hero__trust-icon--shield {
  color: var(--color-mint-cta);
}

.hero__trust-icon--heart {
  color: var(--color-warm-coral);
}

.hero__trust-sep {
  opacity: 0.4;
  font-size: 14px;
}

.hero__trust-label {
  color: var(--color-text-tertiary);
}

[data-theme="dark"] .hero__trust-label {
  color: #B0AFAC;
}
