/**
 * SD Muhammadiyah Al Bayyin — Design System
 * Warm Islamic Modern — professional, lively, distinctly Indonesian
 */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES & UTILITIES (tidak bergantung Tailwind)
   ============================================ */
:root {
  --primary: #1a6b5c;
  --primary-dark: #0f4a3f;
  --accent: #c9952a;
  --accent-light: #f0d78c;
  --accent-dark: #a67c1a;
  --ink: #1c2b2a;
  --ink-muted: #5c716e;
  --canvas: #fffcf8;
  --canvas-parchment: #f5f0e8;
  --nav-height: 72px;
  --topbar-height: 36px;
}

/* Warna */
.text-primary { color: var(--primary) !important; }
.text-accent-light { color: var(--accent-light) !important; }
.text-accent-dark { color: var(--accent-dark) !important; }
.text-ink { color: var(--ink) !important; }
.text-on-dark { color: #ffffff !important; }
.text-on-primary { color: #ffffff !important; }
.text-ink-muted-48 { color: var(--ink-muted) !important; }
.text-ink-muted-80 { color: #3d524f !important; }
.text-primary-on-dark { color: #7ddfc8 !important; }
.bg-canvas { background-color: var(--canvas) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-canvas-parchment { background-color: var(--canvas-parchment) !important; }
.border-hairline { border-color: #d9cfc0 !important; }

/* Layout */
.max-w-content-wide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Spacing tokens */
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }
.gap-sm { gap: 0.75rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }
.mb-xl { margin-bottom: 2rem; }
.mb-xxl { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.px-sm { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-xxs { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.pt-lg { padding-top: 1.5rem; }
.rounded-pill { border-radius: 9999px; }

/* Fix Tailwind v4 build bug: max-w-* salah map ke spacing (24px!) */
.max-w-lg { max-width: 32rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-2xl { max-width: 42rem !important; }

.hero-desc {
  max-width: 36rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-grid-text {
  min-width: 0;
  width: 100%;
}

/* Opacity text helpers */
.text-on-dark-90 { color: rgba(255, 255, 255, 0.9); }
.text-on-dark-80 { color: rgba(255, 255, 255, 0.8); }
.text-on-dark-70 { color: rgba(255, 255, 255, 0.7); }
.text-on-dark-65 { color: rgba(255, 255, 255, 0.65); }
.text-on-dark-60 { color: rgba(255, 255, 255, 0.6); }

.bg-white-10 { background-color: rgba(255, 255, 255, 0.1); }
.border-white-20 { border-color: rgba(255, 255, 255, 0.2); }
.bg-primary-soft { background-color: rgba(26, 107, 92, 0.1); }
.bg-accent-soft { background-color: rgba(201, 149, 42, 0.1); }
.border-accent-soft { border-color: rgba(201, 149, 42, 0.3); }

.card-on-dark {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.badge-primary-soft {
  background: rgba(26, 107, 92, 0.15);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-accent-soft {
  background: rgba(201, 149, 42, 0.15);
  color: var(--accent-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Site header — satu wrapper fixed */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 252, 248, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 107, 92, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(15, 74, 63, 0.12);
}

body {
  padding-top: var(--nav-height);
}

@media (min-width: 768px) {
  body {
    padding-top: calc(var(--topbar-height) + var(--nav-height));
  }
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1c2b2a;
  background-color: #fffcf8;
}

.font-arabic {
  font-family: 'Amiri', 'Traditional Arabic', serif;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.text-hero-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-display-lg {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.text-display-md {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

.text-lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
}

.text-tagline {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.text-body-strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.text-body-default {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.text-dense-link {
  font-size: 0.9375rem;
  line-height: 2.2;
}

.text-caption {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.text-caption-strong {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.text-fine-print {
  font-size: 0.75rem;
  line-height: 1.4;
}

.text-micro-legal {
  font-size: 0.625rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.text-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Section label with gold accent */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c9952a;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #c9952a, #e8c56a);
  border-radius: 2px;
}

.section-label.center {
  justify-content: center;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201, 149, 42, 0.25);
  display: none;
}

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

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #e8c56a;
}

/* ============================================
   NAVIGATION
   ============================================ */
.global-nav {
  background: transparent;
  color: var(--ink);
  height: var(--nav-height);
  transition: box-shadow 0.3s;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1a6b5c 0%, #0f4a3f 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(26, 107, 92, 0.3);
  flex-shrink: 0;
}

.nav-link-item {
  color: #1c2b2a;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link-item:hover {
  color: #1a6b5c;
  background: rgba(26, 107, 92, 0.06);
}

.nav-link-item.active {
  color: #1a6b5c;
  font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, #1a6b5c 0%, #0f4a3f 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(26, 107, 92, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 107, 92, 0.45);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, #c9952a 0%, #a67c1a 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(201, 149, 42, 0.35);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 149, 42, 0.45);
}

.btn-secondary-pill {
  background: transparent;
  color: #1a6b5c;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid #1a6b5c;
  border-radius: 10px;
  padding: 0.6875rem 1.4375rem;
  transition: all 0.2s;
}

.btn-secondary-pill:hover {
  background: #1a6b5c;
  color: #ffffff;
}

.btn-secondary-pill.border-on-dark {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-secondary-pill.border-on-dark:hover {
  background: #ffffff;
  color: #1a6b5c;
  border-color: #ffffff;
}

.btn-store-hero {
  background: linear-gradient(135deg, #c9952a 0%, #a67c1a 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: 12px;
  padding: 1rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(201, 149, 42, 0.4);
}

.btn-store-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 149, 42, 0.5);
}

.btn-icon-circular {
  background: rgba(26, 107, 92, 0.1);
  color: #1a6b5c;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon-circular:hover {
  background: #1a6b5c;
  color: #ffffff;
  transform: translateY(-2px);
}

.text-link {
  color: #1a6b5c;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.text-link:hover {
  color: #c9952a;
}

/* ============================================
   HERO
   ============================================ */
.hero-school {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f4a3f 0%, #1a6b5c 50%, #146356 100%);
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
}

@media (min-width: 768px) {
  .hero-school {
    min-height: calc(100vh - var(--topbar-height) - var(--nav-height));
    margin-top: calc(-1 * (var(--topbar-height) + var(--nav-height)));
    padding-top: calc(var(--topbar-height) + var(--nav-height));
  }
}

.hero-school::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-school::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fffcf8' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 149, 42, 0.2);
  border: 1px solid rgba(201, 149, 42, 0.4);
  color: #f0d78c;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.hero-photo-main {
  grid-column: 1 / -1;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-photo-sub {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f0d78c;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

/* ============================================
   SECTIONS & TILES
   ============================================ */
.product-tile-light {
  background-color: #fffcf8;
  padding: 5rem 1.5rem;
}

.product-tile-parchment {
  background-color: #f5f0e8;
  padding: 5rem 1.5rem;
}

.product-tile-dark {
  background: linear-gradient(135deg, #0f4a3f 0%, #1a6b5c 100%);
  color: #ffffff;
  padding: 5rem 1.5rem;
  position: relative;
}

.product-tile-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20l10-10v20zM20 20L10 10v20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Dark surface w/ subtle Islamic geometric texture (fee-sheet band & invitation panel) */
.surface-dark-geo {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.045'%3E%3Cpath d='M20 20l10-10v20zM20 20L10 10v20z'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, #0f4a3f 0%, #1a6b5c 100%);
  background-size: 40px 40px, auto;
  background-repeat: repeat, no-repeat;
}

.page-header-dark {
  background: linear-gradient(135deg, #0f4a3f 0%, #1a6b5c 100%);
  padding: 3rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: calc(var(--nav-height) + 3rem);
}

@media (min-width: 768px) {
  .page-header-dark {
    margin-top: calc(-1 * (var(--topbar-height) + var(--nav-height)));
    padding-top: calc(var(--topbar-height) + var(--nav-height) + 3rem);
  }
}

.page-header-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ============================================
   CARDS
   ============================================ */
.store-utility-card {
  background: #ffffff;
  border: 1px solid rgba(26, 107, 92, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.store-utility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #1a6b5c, #c9952a);
  opacity: 0;
  transition: opacity 0.25s;
}

.store-utility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 74, 63, 0.12);
}

.store-utility-card:hover::before {
  opacity: 1;
}

.store-utility-card.bg-white\/10 {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.store-utility-card.bg-white\/10::before {
  background: linear-gradient(180deg, #f0d78c, #c9952a);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.feature-icon-green {
  background: rgba(26, 107, 92, 0.12);
  color: #1a6b5c;
}

.feature-icon-gold {
  background: rgba(201, 149, 42, 0.15);
  color: #a67c1a;
}

.feature-icon-teal {
  background: rgba(26, 107, 92, 0.08);
  color: #1a6b5c;
}

/* Quick access cards */
.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(26, 107, 92, 0.08);
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 74, 63, 0.12);
  border-color: #1a6b5c;
}

.quick-link-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
  transition: transform 0.25s;
}

.quick-link-card:hover .quick-link-icon {
  transform: scale(1.08);
}

/* Stat cards */
.stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(26, 107, 92, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15, 74, 63, 0.1);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.875rem;
  font-size: 1.125rem;
}

.stat-card-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1a6b5c;
  line-height: 1;
}

.stat-card-label {
  font-size: 0.875rem;
  color: #5c716e;
  margin-top: 0.375rem;
  font-weight: 500;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #1a6b5c 0%, #0f4a3f 60%, #0a3d34 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 149, 42, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Testimonial */
.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(26, 107, 92, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(201, 149, 42, 0.2);
  font-family: Georgia, serif;
}

/* News card */
.news-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26, 107, 92, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 74, 63, 0.12);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 1.25rem;
}

/* Agenda card on dark bg */
.agenda-date-badge {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #c9952a, #a67c1a);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201, 149, 42, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-school {
  background: #0f2b27;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 1.5rem 2rem;
}

.footer-school h4 {
  color: #f0d78c;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.footer-school a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-school a:hover {
  color: #f0d78c;
}

.footer-brand-mark {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #1a6b5c, #0f4a3f);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(26, 107, 92, 0.4);
}

.footer-muhammadiyah-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 149, 42, 0.15);
  border: 1px solid rgba(201, 149, 42, 0.3);
  color: #f0d78c;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  margin-top: 1rem;
}

.footer-social {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-social:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* Legacy footer alias */
.footer-apple {
  background: #0f2b27;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 1.5rem 2rem;
}

/* ============================================
   FORM & MISC
   ============================================ */
.search-input {
  background: #ffffff;
  border: 1px solid rgba(26, 107, 92, 0.15);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #1a6b5c;
  box-shadow: 0 0 0 3px rgba(26, 107, 92, 0.1);
}

.shadow-product {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 768px) {
  .product-tile-light,
  .product-tile-parchment,
  .product-tile-dark {
    padding: 5rem 2rem;
  }
}

@media (min-width: 1441px) {
  /* already defined above */
}

@media (max-width: 640px) {
  .hero-stat-bar {
    gap: 1rem;
  }

  .hero-stat-number {
    font-size: 1.375rem;
  }

  .cta-banner {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid #c9952a;
  outline-offset: 2px;
}
