/* ============================================================
   HOME.CSS — Landing page (index.html) specific styles
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  background: var(--bg);
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 84px);
  max-width: 860px;
  margin-bottom: 20px;
  line-height: 1.08;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

.hero-sub {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── SNIPPET BASE ── */
/* Shared by all full-height sections on the landing page */
.snippet {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.snippet-heading {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 18px;
}
.snippet-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

.snippet-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── HOW IT WORKS (landing page) ── */
.how-home-section {
  background: var(--surface-alt);
}

.how-home-header {
  margin-bottom: 52px;
}

.how-home-header .section-label {
  margin-bottom: 12px;
}

.how-home-header h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.how-steps-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 40px;
}

.how-step-home {
  background: var(--surface-alt);
  padding: 44px 36px;
}

.how-step-num {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--border-strong);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}

.how-step-home h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.how-step-home p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.78;
}

.how-closing {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.how-closing a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s;
}
.how-closing a:hover { color: var(--accent-dark); }

/* ── CASE STUDIES CAROUSEL ── */
.carousel-section {
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.carousel-section-header {
  width: 100%;
  margin-bottom: 52px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.carousel-section-header .section-label {
  margin-bottom: 0;
}

.carousel-section h2 {
  font-size: clamp(30px, 4vw, 50px);
  max-width: 480px;
}
.carousel-section h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

.swiper-outer {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56px; /* room for pagination dots */
}

/* ── TESTIMONIAL CARD ── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 52px 56px;
  border-radius: 4px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.testimonial-name {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 3px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 36px;
  quotes: none;
}

.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 32px;
}

.testimonial-stat {
  background: var(--surface-alt);
  padding: 18px 22px;
}

.testimonial-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.testimonial-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: gap .18s;
}
.testimonial-link:hover { gap: 10px; }

/* Placeholder card */
.placeholder-card { background: var(--surface-alt); border-color: var(--border); }
.placeholder-card .testimonial-quote { color: var(--text-muted); }
.placeholder-card .testimonial-link { display: none; }
.placeholder-card .testimonial-stat-num { color: var(--border-strong); }

/* Swiper overrides */
.testimonial-swiper {
  overflow: hidden;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--text);
  --swiper-navigation-size: 20px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color .18s, color .18s;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.swiper-pagination-bullet {
  background: var(--border-strong);
  opacity: 1;
  width: 7px;
  height: 7px;
}
.swiper-pagination-bullet-active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
  transition: width .25s;
}

.carousel-cta-below {
  text-align: center;
  margin-top: 32px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .how-steps-home { grid-template-columns: 1fr; }
  .carousel-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 768px) {
  .swiper-outer { max-width: 100%; }
  .testimonial-card { padding: 36px 28px; }
  .swiper-button-prev,
  .swiper-button-next { display: none; }
}

@media (max-width: 600px) {
  .snippet { padding: 64px 0; }
  .hero { padding: calc(var(--nav-height) + 24px) 0 64px; }
  .how-step-home { padding: 32px 24px; }
  .testimonial-stats { grid-template-columns: 1fr 1fr; }
  .testimonial-stat-num { font-size: 28px; }
}
