/* ================================================
   HOME PAGE — home.css
   ================================================ */

/* ─── HERO ───────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  background: var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-sub {
  margin: 24px 0 36px;
  max-width: 440px;
}

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

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  /* Replace with:
     background: none;
     and add: <img src="images/hero.jpg" alt="Hero" style="width:100%;height:100%;object-fit:cover;">
  */
}

/* Floating stat cards */
.hero-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 1s ease 0.6s both;
}

.hero-card--tl {
  top: 32px;
  left: -36px;
}

.hero-card--br {
  bottom: 48px;
  right: -24px;
}

.hero-card-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
  line-height: 1;
}

.hero-card-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* ─── STATS ──────────────────────────────────── */
.stats-row {
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num span {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--sage);
  font-weight: 500;
}

.stat-lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── PRODUCTS ───────────────────────────────── */
.products-section {
  padding: 100px 0;
  background: var(--cream-dark);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
}

.product-body {
  padding: 24px 24px 28px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.product-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
}

.product-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.product-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.product-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.product-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.product-card:hover .product-cta {
  color: var(--sage);
  border-color: var(--sage);
}

.product-card:hover .product-cta svg {
  transform: translateX(3px);
}

/* ─── FEATURE SPLIT ──────────────────────────── */
.feature-split {
  padding: 120px 0;
}

.feature-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.feature-img-wrap {
  position: relative;
}

.feature-img {
  width: 100%;
  aspect-ratio: 4/5;
}

.feature-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}

.feature-badge svg { flex-shrink: 0; }

.feature-text .body-lg {
  margin: 20px 0 36px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 44px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(74, 122, 101, 0.1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-list strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 3px;
}

.feature-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ───────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--cream-dark);
}

.testimonials-header {
  margin-bottom: 60px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}

.testi-stars {
  color: var(--sand);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.testi-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 28px;
  font-style: italic;
  font-family: var(--font-display);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}

.testi-author span {
  font-size: 12px;
  color: var(--muted);
}

/* ─── CTA BAND ───────────────────────────────── */
.cta-band {
  background: var(--navy);
  padding: 80px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { gap: 48px; }
  .feature-split-inner { gap: 60px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-main { aspect-ratio: 16/9; }
  .hero-card--tl { left: 16px; top: 16px; }
  .hero-card--br { right: 16px; bottom: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-split-inner { grid-template-columns: 1fr; gap: 60px; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 48px 0 60px; }
  .hero-img-main { aspect-ratio: 4/3; }
  .hero-card { padding: 10px 14px; }
  .hero-card-num { font-size: 22px; }
  .stat { padding: 28px 14px; min-width: 0; }
  .stat-num { font-size: 32px; }
  .stat-num span { font-size: 14px !important; }
  .stat-lbl { font-size: 11px; letter-spacing: 0.3px; }
  .feature-split { padding: 72px 0 !important; }
  .feature-badge { right: 12px; bottom: -16px; }
  .testimonials { padding: 72px 0 56px !important; }
  .cta-band { padding: 60px 0; }
}