/* ============================================================
   HOME SECTIONS CSS — home-sections.css
   Load after omegapix-theme.css + home-hero.css
   
   SECTIONS:
   1. PROMO ROW          — photo booth | stats | retainer
   2. WHY CHOOSE         — 4-card value proposition grid
   3. SCHOOL SERVICES    — 6-card school offering grid
   4. TESTIMONIALS       — 3-column review cards
   5. FINAL CTA          — dark espresso call-to-action band
   6. OX STATS BAR       — inline stats strip (bottom of page)
   7. RESPONSIVE         — mobile breakpoints
============================================================ */

/* ── 1. PROMO ROW ──────────────────────────────────────────── */

.ox-promo-row {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;  /* narrower stats center */
  margin: 16px auto 20px;                 /* tight gap above/below */
  width: 88%;
  max-width: 1600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(42,20,8,.18);
  min-height: 140px;                      /* ~50% of original 280px */
}

/* Promo banner — compact, high-impact */
.ox-promo-banner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 28px;      /* tight padding */
  overflow: hidden;
}

/* Background image layer */
.ox-promo-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.ox-promo-banner:hover .ox-promo-bg-img { transform: scale(1.04); }

/* Dark overlay */
.ox-promo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,12,4,.85), rgba(90,42,8,.72));
}

/* Content sits above overlay */
.ox-promo-content {
  position: relative; z-index: 2; color: #fff;
}
.ox-promo-label {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: 15px; color: #f2c98b;
  margin-bottom: 4px;
}
.ox-promo-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700;
  line-height: 1.15; margin-bottom: 6px;
  letter-spacing: -.3px;
}
.ox-promo-content p {
  font-size: 12px; color: rgba(255,255,255,.7);
  line-height: 1.55; margin-bottom: 12px; max-width: 260px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; /* max 2 lines */
}
.ox-promo-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ox-coral); color: #fff;
  padding: 8px 18px; border-radius: 100px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(199,29,33,.35);
}
.ox-promo-btn:hover {
  background: var(--ox-coral-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199,29,33,.45);
}

/* CENTER stats strip — compact 2x2 grid */
.ox-stats-center {
  background: linear-gradient(135deg, #f0e8d8, #e4d4b4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  justify-items: center;
  padding: 0;
  gap: 0;
  position: relative;
}
.ox-stat-center-item {
  text-align: center;
  padding: 14px 10px;
  width: 100%;
  border-right: 1px solid rgba(212,168,85,.2);
  border-bottom: 1px solid rgba(212,168,85,.2);
}
.ox-stat-center-item:nth-child(even) { border-right: none; }
.ox-stat-center-item:nth-last-child(-n+2) { border-bottom: none; }
.ox-stat-center-icon { font-size: 14px; margin-bottom: 2px; opacity: .6; }
.ox-stat-center-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--ox-coral); line-height: 1;
}
.ox-stat-center-item span {
  font-size: 8px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  color: #8a7060; display: block; margin-top: 2px;
}
/* Hide dividers and tagline — using grid layout instead */
.ox-stat-center-divider { display: none; }
.ox-stats-tagline { display: none; }

/* ── 2. WHY CHOOSE ─────────────────────────────────────────── */

.ox-why-section {
  padding: 88px 0 72px;
  background: #f8f0e4;
}
.ox-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.ox-why-card {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(212,168,85,.18);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 6px 24px rgba(42,20,8,.07);
  transition: all .3s;
}
.ox-why-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(42,20,8,.13);
  border-color: rgba(199,29,33,.2);
}
.ox-why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ox-coral), #e05030);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ox-why-icon i { font-size: 22px; color: #fff; }
.ox-why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--ox-espresso); margin-bottom: 10px;
}
.ox-why-card p { font-size: 13.5px; color: #6a5040; line-height: 1.8; }

/* ── 3. SCHOOL SERVICES ────────────────────────────────────── */

.ox-school-section {
  padding: 88px 0 72px;
  background: linear-gradient(to bottom, #f4ece0, #f0e4d4);
}
.ox-school-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.ox-school-card {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(212,168,85,.18);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all .3s;
  text-decoration: none;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.ox-school-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(42,20,8,.12);
  border-color: rgba(199,29,33,.25);
  background: rgba(255,255,255,.9);
}
.ox-school-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--ox-coral-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: all .3s;
}
.ox-school-card:hover .ox-school-card-icon {
  background: var(--ox-coral);
}
.ox-school-card-icon i { font-size: 20px; color: var(--ox-coral); transition: color .3s; }
.ox-school-card:hover .ox-school-card-icon i { color: #fff; }
.ox-school-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600;
  color: var(--ox-espresso); margin-bottom: 8px;
}
.ox-school-card p { font-size: 13.5px; color: #6a5040; line-height: 1.75; flex: 1; }
.ox-school-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px;
  color: var(--ox-coral); font-size: 11px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  transition: gap .2s;
}
.ox-school-card:hover .ox-school-card-link { gap: 9px; }
.ox-school-cta {
  text-align: center; margin-top: 52px;
}

/* ── 4. TESTIMONIALS ───────────────────────────────────────── */

.ox-testimonials-section {
  padding: 88px 0 72px;
  background: #f8f0e4;
}
.ox-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.ox-testimonial-card {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(212,168,85,.18);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 6px 24px rgba(42,20,8,.07);
  display: flex; flex-direction: column;
  transition: all .3s;
}
.ox-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(42,20,8,.11);
}
.ox-testimonial-stars {
  color: var(--ox-gold);
  font-size: 20px; letter-spacing: 2px;
  margin-bottom: 16px;
}
.ox-testimonial-card blockquote {
  font-size: 14.5px; color: #5a4030;
  line-height: 1.8; font-style: italic;
  flex: 1; margin: 0 0 22px;
  border: none; padding: 0;
  quotes: "\201C" "\201D";
}
.ox-testimonial-card blockquote::before { content: open-quote; }
.ox-testimonial-card blockquote::after  { content: close-quote; }
.ox-testimonial-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid rgba(212,168,85,.2);
  padding-top: 18px;
}
.ox-testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ox-sand), var(--ox-tan));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ox-testimonial-avatar i { color: var(--ox-brown); font-size: 16px; }
.ox-testimonial-author strong {
  display: block; font-size: 14px;
  font-weight: 700; color: var(--ox-espresso);
}
.ox-testimonial-author span {
  font-size: 11.5px; color: var(--ox-gold2);
  font-weight: 600; display: block; margin-top: 2px;
}

/* ── 5. FINAL CTA ──────────────────────────────────────────── */

.ox-final-cta {
  padding: 0 0 72px;
}
.ox-final-cta-inner {
  background: linear-gradient(135deg, var(--ox-espresso), var(--ox-brown2));
  border-radius: 24px;
  padding: 88px 80px;
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 52px rgba(42,20,8,.2);
  position: relative;
  overflow: hidden;
}
/* Subtle glow behind CTA */
.ox-final-cta-inner::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 200px;
  background: radial-gradient(ellipse, rgba(212,168,85,.12) 0%, transparent 70%);
  pointer-events: none;
}
.ox-final-cta-inner .ox-eyebrow {
  color: rgba(212,168,85,.65); margin-bottom: 14px;
}
.ox-final-cta-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400; margin-bottom: 16px; color: #fff;
}
.ox-final-cta-inner h2 em { color: var(--ox-gold-lt); font-style: italic; }
.ox-final-cta-inner p {
  font-size: 16px; color: rgba(255,255,255,.75);
  line-height: 1.8; margin-bottom: 36px;
  max-width: 620px; margin-left: auto; margin-right: auto;
}
.ox-final-cta-buttons {
  display: flex; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}

/* ── 6. OX STATS BAR (bottom strip) ───────────────────────── */

.ox-stats-bar-bottom {
  background: linear-gradient(to right, #f0e8d8, #ecdcc8);
  border-top: 1px solid rgba(212,168,85,.18);
  border-bottom: 1px solid rgba(212,168,85,.18);
  padding: 22px 0;
}
.ox-stats-bar-inner {
  max-width: 1600px; margin: 0 auto; padding: 0 52px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 0; flex-wrap: wrap;
}
.ox-stat-bottom {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 24px;
  border-right: 1px solid rgba(212,168,85,.22);
  flex: 1; min-width: 140px;
}
.ox-stat-bottom:last-child { border-right: none; }
.ox-stat-bottom-icon { font-size: 22px; opacity: .65; flex-shrink: 0; }
.ox-stat-bottom-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700;
  color: var(--ox-coral); display: block; line-height: 1;
}
.ox-stat-bottom-l {
  font-size: 9px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #8a7060; display: block; margin-top: 2px;
}
/* Tagline at the end of stats row */
.ox-stat-bottom-tagline {
  flex: 0 0 auto;
  text-align: right;
  padding-left: 24px;
  border-right: none;
}
.ox-stat-bottom-tagline .script {
  font-family: 'Dancing Script', cursive;
  font-size: 16px; color: #c8782a; display: block;
}
.ox-stat-bottom-tagline .sub {
  font-size: 11px; color: #8a7060; margin-top: 3px; display: block;
}

/* ── 7. RESPONSIVE ─────────────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1200px) {
  .ox-promo-row { grid-template-columns: 1fr 300px 1fr; width: 92%; }
  .ox-why-grid { grid-template-columns: repeat(2, 1fr); }
  .ox-school-grid { grid-template-columns: repeat(2, 1fr); }
  .ox-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .ox-final-cta-inner { padding: 64px 48px; }
  .ox-stats-bar-inner { padding: 0 28px; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .ox-promo-row {
    grid-template-columns: 1fr;
    width: 94%; margin: 36px auto;
  }
  .ox-promo-banner { min-height: 220px; }
  .ox-stats-center { flex-direction: row; flex-wrap: wrap; padding: 24px; }
  .ox-stat-center-item { flex: 0 0 50%; }
  .ox-stat-center-divider { display: none; }
  .ox-stats-tagline { display: none; } /* hidden on tablet, shown in stats bar */

  .ox-why-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .ox-school-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .ox-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  .ox-why-section, .ox-school-section,
  .ox-testimonials-section { padding: 60px 0 48px; }
  .ox-why-grid, .ox-school-grid, .ox-testimonials-grid { margin-top: 36px; }
}

/* Mobile */
@media (max-width: 640px) {
  .ox-promo-row { width: 96%; border-radius: 14px; }
  .ox-promo-banner { padding: 32px 24px; }
  .ox-promo-content h3 { font-size: 22px; }

  .ox-why-grid { grid-template-columns: 1fr; }
  .ox-school-grid { grid-template-columns: 1fr; }
  .ox-testimonials-grid { grid-template-columns: 1fr; }

  .ox-why-card, .ox-school-card, .ox-testimonial-card { padding: 24px 20px; }
  .ox-why-section, .ox-school-section,
  .ox-testimonials-section { padding: 48px 0 40px; }

  .ox-final-cta { padding: 0 0 48px; }
  .ox-final-cta-inner { padding: 52px 24px; border-radius: 16px; }
  .ox-final-cta-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .ox-final-cta-buttons .ox-btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Stats bar — 2 per row on mobile */
  .ox-stats-bar-inner { padding: 0 14px; flex-wrap: wrap; }
  .ox-stat-bottom { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(212,168,85,.15); padding: 10px 14px; }
  .ox-stat-bottom:nth-child(odd) { border-right: 1px solid rgba(212,168,85,.15); }
  .ox-stat-bottom-tagline { flex: 0 0 100%; text-align: center; padding: 14px 0 0; border-top: 1px solid rgba(212,168,85,.15); }
}
