/**
 * New conventional homepage (templates/homepage.php). Namespace: home-*.
 * Legacy sections reuse style.css classes; this file styles only the new
 * blocks (hero, trust bar, AI strip, pricing teaser minis).
 */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  padding: 150px 0 96px;
  overflow: hidden;
  background: var(--gradient-hero);
}
.home-hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: var(--home-hero-bg);
  background-size: cover;
  background-position: center 30%;
  opacity: 0.14;
  filter: saturate(0.7);
  pointer-events: none;
}
.home-hero-content {
  position: relative;
  text-align: center;
}
.home-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 17ch;
  margin: 0 auto var(--spacing-md);
}
.home-hero-content .subheadline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0 auto var(--spacing-lg);
}
.home-hero-note {
  margin-top: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.home-hero-shot {
  position: relative;
  max-width: 1100px;
  margin-top: 56px;
}

/* ── Honest trust bar ──────────────────────────────────────────────────── */
.home-trustbar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
}
.home-trustbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-trustbar-list li {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-left: 24px;
}
.home-trustbar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-cyan);
  opacity: 0.9;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 12px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 12px no-repeat;
  background-color: var(--primary-cyan);
}
.home-trustbar-list a {
  color: inherit;
  text-decoration: none;
}
.home-trustbar-list a:hover {
  color: var(--primary-cyan);
}

/* ── Module hub cards ──────────────────────────────────────────────────── */
.home-modules .home-module-more {
  display: inline-block;
  margin-top: var(--spacing-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-cyan);
}

/* ── AI transparency strip ─────────────────────────────────────────────── */
.home-ai-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  list-style: none;
  margin: 40px 0 24px;
  padding: 0;
}
.home-ai-strip li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-elevated);
}

/* ── Pricing teaser minis ──────────────────────────────────────────────── */
.home-pricing-teaser {
  display: grid;
  gap: var(--spacing-lg);
  max-width: 880px;
  margin: 0 auto var(--spacing-xl);
}
@media (min-width: 700px) {
  .home-pricing-teaser {
    grid-template-columns: repeat(3, 1fr);
  }
}
.home-price-mini {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-elevated);
}
.home-price-mini--featured {
  border-color: var(--primary-cyan);
  box-shadow: 0 12px 32px rgba(0, 116, 143, 0.12);
}
.home-price-mini h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-sm);
}
.home-price-figure {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.home-price-figure span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}
.home-price-mini > p:last-child {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

/* ── Role tour cards ───────────────────────────────────────────────────── */
/* The preview sits flush inside the card, so the padding moves onto the
   heading and the image gets the card's own top corners. */
.tour-card {
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.tour-card-shot {
  display: block;
  background: var(--bg-subtle, #f4f6f8);
  border-bottom: 1px solid var(--border-color);
}
.tour-card-shot img {
  display: block;
  width: 100%;
  height: auto;
  /* The captures are 16:10 of a whole screen; cropping to the top-left keeps
     the part that reads at card size instead of shrinking the whole page. */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}
.tour-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-cyan);
  margin: 0;
  padding: var(--spacing-lg) var(--spacing-xl);
}
