/* =================================================================
   AL HUDA ISLAMIC SCHOOL — Stylesheet
   ================================================================= */

/* --- Font imports --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Design tokens --- */
:root {
  --orange-50: #FFF8EE;
  --orange-100: #FAEEDA;
  --orange-200: #FAC775;
  --orange-300: #EF9F27;
  --orange-500: #BA7517;
  --orange-700: #854F0B;
  --orange-900: #633806;

  --green-50: #F1F8E5;
  --green-100: #EAF3DE;
  --green-200: #C0DD97;
  --green-300: #97C459;
  --green-500: #639922;
  --green-700: #3B6D11;
  --green-900: #173404;
  --green-deep: #1F4F37;

  --cream: #FAFAF7;
  --paper: #FFFFFF;
  --ink: #2C2C2A;
  --ink-soft: #5A5852;
  --ink-mute: #888780;
  --border: #E5E2D7;

  --wa: #25D366;
  --wa-dark: #128C7E;

  --shadow-sm: 0 1px 2px rgba(28, 28, 26, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 28, 26, 0.06);
  --shadow-lg: 0 12px 32px rgba(28, 28, 26, 0.10);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* --- Reset & base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-700); }
button { font-family: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 0.5rem;
}
.tagline {
  font-family: var(--display);
  font-style: italic;
  color: var(--orange-700);
  font-size: 1.125rem;
}

/* --- Layout primitives --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }
.section-lg { padding: 6rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head .sub { color: var(--ink-soft); max-width: 600px; margin: 0 auto; }

/* --- Top notification bar --- */
.topbar {
  background: var(--green-deep);
  color: var(--green-100);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--green-200); }
.topbar a:hover { color: var(--paper); }
.topbar-info { display: flex; gap: 1rem; align-items: center; }
.topbar-social { display: flex; gap: 0.5rem; align-items: center; }
.topbar-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; transition: transform .15s; }
.topbar-social a:hover { transform: translateY(-1px) scale(1.08); }
.topbar-social a img { width: 18px; height: 18px; display: block; }
.brand-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.brand-icon-sm { width: 16px; height: 16px; }
.brand-icon-lg { width: 24px; height: 24px; }
.footer a .brand-icon { margin-right: 6px; }

/* --- Header / Navigation --- */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { width: 44px; height: 44px; }
.logo-text strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.1;
}
.logo-text span { font-size: 0.75rem; color: var(--ink-mute); }
.menu { display: flex; gap: 0.25rem; align-items: center; }
.menu a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  transition: all .2s;
}
.menu a:hover, .menu a.active { color: var(--orange-700); background: var(--orange-50); }
.nav-actions { display: flex; gap: 0.5rem; align-items: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  transition: all .2s;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--body);
}
.btn-primary { background: var(--orange-500); color: var(--orange-100); }
.btn-primary:hover { background: var(--orange-700); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-wa { background: var(--wa); color: var(--paper); }
.btn-wa:hover { background: var(--wa-dark); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--orange-700); border: 1.5px solid var(--orange-300); }
.btn-outline:hover { background: var(--orange-50); color: var(--orange-700); }
.btn-cream { background: var(--orange-100); color: var(--orange-900); }
.btn-cream:hover { background: var(--paper); color: var(--orange-900); }
.btn-sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-green { background: var(--green-100); color: var(--green-900); }
.badge-orange { background: var(--orange-100); color: var(--orange-900); }
.badge-cream { background: var(--orange-50); color: var(--orange-700); border: 1px solid var(--orange-200); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--orange-50) 100%);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--orange-100) 0%, transparent 70%);
  opacity: 0.6;
  border-radius: 50%;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero-text h1 { margin-bottom: 1rem; }
.hero-text .tagline { display: block; margin-bottom: 1.5rem; }
.hero-text p { color: var(--ink-soft); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual > img { width: 100%; max-width: 500px; margin: 0 auto; display: block; border-radius: var(--radius-lg); filter: drop-shadow(0 12px 24px rgba(186, 117, 23, 0.15)); }
.mascot-pair { display: flex; align-items: flex-end; justify-content: center; gap: 0; max-width: 520px; margin: 0 auto; position: relative; }
.mascot-pair img { width: 52%; max-width: 280px; height: auto; filter: drop-shadow(0 12px 24px rgba(186, 117, 23, 0.18)); }
.mascot-pair .mascot-huda { transform: translateY(12px) translateX(20px); z-index: 2; }
.mascot-pair .mascot-aisyah { transform: translateY(-8px) translateX(-20px); z-index: 1; }
@media (max-width: 560px) {
  .mascot-pair .mascot-huda { transform: translateY(8px) translateX(10px); }
  .mascot-pair .mascot-aisyah { transform: translateY(-4px) translateX(-10px); }
}
.hero-card {
  position: absolute;
  background: var(--paper);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  display: flex; gap: 0.625rem; align-items: center;
}
.hero-card-1 { top: -22px; left: 8px; }
@media (max-width: 768px) {
  .hero-card-1 { top: -16px; left: 8px; font-size: 0.75rem; padding: 0.5rem 0.75rem; }
  .hero-card-1 .hero-card-emoji { width: 26px; height: 26px; font-size: 14px; }
}
.hero-card-emoji { width: 32px; height: 32px; border-radius: 50%; background: var(--orange-100); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.hero-card strong { display: block; color: var(--ink); font-weight: 600; }
.hero-card span { color: var(--ink-mute); font-size: 0.6875rem; }

/* --- Stats --- */
.stats {
  background: var(--green-deep);
  color: var(--green-100);
  padding: 2rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: var(--display); font-size: 2.5rem; font-weight: 600; color: var(--orange-200); display: block; line-height: 1; }
.stat-lbl { font-size: 0.875rem; color: var(--green-200); margin-top: 0.5rem; }

/* --- Cards --- */
.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all .25s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--orange-200); }
.card-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--orange-100); color: var(--orange-700); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 1rem; }
.card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.9375rem; }

/* --- Grid utilities --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* --- Feature section (image + text) --- */
.feature {
  background: var(--green-deep);
  color: var(--green-100);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.feature.alt { background: var(--orange-100); color: var(--orange-900); }
.feature .eyebrow { color: var(--green-200); }
.feature.alt .eyebrow { color: var(--orange-700); }
.feature h2 { color: var(--green-50); }
.feature.alt h2 { color: var(--orange-900); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature p { font-size: 1.0625rem; color: var(--green-200); }
.feature.alt p { color: var(--orange-700); }
.feature-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.feature ul li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; }
.feature ul li::before { content: '◆'; position: absolute; left: 0; color: var(--orange-200); }
.feature.alt ul li::before { color: var(--orange-500); }

/* --- News --- */
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.news-featured { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.news-featured-img { position: relative; aspect-ratio: 16/10; background: var(--orange-100); overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-img .news-badge { position: absolute; top: 1rem; left: 1rem; }
.news-badge { background: var(--orange-500); color: var(--paper); padding: 0.3rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.news-featured-body { padding: 1.5rem; }
.news-cat { font-size: 0.75rem; color: var(--orange-500); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.news-title { font-family: var(--display); font-size: 1.5rem; margin: 0.5rem 0 0.75rem; line-height: 1.25; }
.news-meta { font-size: 0.8125rem; color: var(--ink-mute); margin-bottom: 0.75rem; }
.news-excerpt { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 1rem; }
.news-side { display: flex; flex-direction: column; gap: 1rem; }
.news-item { padding: 1rem; background: var(--paper); border-radius: var(--radius-md); border: 1px solid var(--border); transition: all .2s; }
.news-item:hover { border-color: var(--orange-300); }
.news-item .news-title { font-size: 1rem; margin: 0.25rem 0; }
.news-item a { color: var(--ink); }
.news-item a:hover { color: var(--orange-500); }

/* --- Mascot showcase --- */
.mascot-section { padding: 4rem 0; background: var(--cream); }
.mascot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.mascot-card { padding: 1.5rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.mascot-card.huda { background: var(--orange-100); }
.mascot-card.aisyah { background: var(--green-100); }
.mascot-card img { width: 100%; max-width: 360px; height: auto; flex-shrink: 0; }
.mascot-card h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.mascot-card.huda h3 { color: var(--orange-900); }
.mascot-card.aisyah h3 { color: var(--green-900); }
.mascot-card p { font-size: 0.9375rem; }
.mascot-card.huda p { color: var(--orange-700); }
.mascot-card.aisyah p { color: var(--green-700); }

/* --- CTA banner --- */
.cta-banner { background: var(--orange-500); color: var(--orange-100); padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner h2 { color: var(--orange-100); margin-bottom: 0.5rem; }
.cta-banner p { color: var(--orange-200); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* --- Tables (PPDB biaya) --- */
.table-wrap { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
table.biaya { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
table.biaya th, table.biaya td { padding: 0.875rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
table.biaya th { background: var(--orange-50); color: var(--orange-900); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.02em; text-transform: uppercase; }
table.biaya th.num, table.biaya td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.biaya tr.total td { background: var(--orange-100); font-weight: 700; color: var(--orange-900); font-size: 1rem; border-bottom: none; }
table.biaya tr:hover { background: var(--cream); }

/* --- Timeline (PPDB) --- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.timeline-card { background: var(--green-900); color: var(--green-100); padding: 1.5rem; border-radius: var(--radius-md); position: relative; }
.timeline-num { font-size: 0.75rem; font-weight: 700; color: var(--green-300); letter-spacing: 0.05em; }
.timeline-name { font-family: var(--display); font-size: 1.25rem; margin: 0.5rem 0; color: var(--green-50); }
.timeline-date { font-size: 0.875rem; color: var(--green-200); }
.timeline-tes { display: inline-block; margin-top: 0.5rem; padding: 0.25rem 0.625rem; background: var(--green-700); color: var(--green-100); border-radius: 100px; font-size: 0.75rem; font-weight: 600; }

/* --- Discount cards --- */
.diskon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.diskon-card { padding: 1.25rem; background: var(--green-100); border-radius: var(--radius-md); text-align: center; border: 2px dashed var(--green-300); }
.diskon-amount { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--green-900); }
.diskon-when { font-size: 0.8125rem; color: var(--green-700); margin-top: 0.25rem; }

/* --- Comparison cards (BEP vs Reguler) --- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.compare-card { padding: 2rem; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative; }
.compare-card.featured { border: 2px solid var(--orange-500); }
.compare-card.featured::before { content: 'Pilihan Unggulan'; position: absolute; top: -12px; left: 1.5rem; background: var(--orange-500); color: var(--orange-100); padding: 0.25rem 0.875rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.compare-card h3 { margin-bottom: 0.25rem; }
.compare-tag { color: var(--orange-500); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.compare-list { list-style: none; padding: 0; }
.compare-list li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; font-size: 0.9375rem; color: var(--ink-soft); }
.compare-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }

/* --- Profile card (Kepsek) --- */
.profile-card { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start; background: var(--paper); padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.profile-avatar { width: 200px; height: 240px; background: var(--orange-100); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--orange-700); font-size: 0.875rem; text-align: center; padding: 1rem; }
.profile-info dt { font-size: 0.75rem; color: var(--ink-mute); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 1rem; }
.profile-info dt:first-child { margin-top: 0; }
.profile-info dd { color: var(--ink); margin-top: 0.125rem; }

/* --- Sambutan / blockquote --- */
.sambutan {
  background: var(--orange-50);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--orange-500);
  position: relative;
}
.sambutan::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--display);
  font-size: 5rem;
  color: var(--orange-300);
  line-height: 1;
}
.sambutan p { font-size: 1.0625rem; color: var(--orange-900); margin-bottom: 1rem; padding-top: 1rem; }
.sambutan p:last-child { margin-bottom: 0; }
.sambutan-author { font-family: var(--display); font-weight: 600; color: var(--orange-700); margin-top: 1rem; }

/* --- Article (single news page) --- */
.article-hero { padding: 3rem 0; text-align: center; }
.article-hero .badge { margin-bottom: 1rem; }
.article-hero h1 { max-width: 800px; margin: 0 auto 1rem; }
.article-meta { color: var(--ink-mute); font-size: 0.9375rem; }
.article-content { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.article-content p, .article-content ul, .article-content ol { margin-bottom: 1.25rem; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.article-content h2, .article-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--ink); }
.article-content ul, .article-content ol { padding-left: 1.5rem; }
.article-content img { margin: 2rem 0; border-radius: var(--radius-lg); }
.article-figure { margin: 2rem 0; text-align: center; }
.article-figure img { border-radius: var(--radius-lg); }
.article-figure figcaption { font-size: 0.875rem; color: var(--ink-mute); margin-top: 0.75rem; font-style: italic; }

/* --- Winners grid (in news) --- */
.winners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0; }
.winner-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; text-align: center; }
.winner-card .grade { font-size: 0.75rem; color: var(--orange-500); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.winner-card .winner-name { font-family: var(--display); font-weight: 600; margin: 0.25rem 0; color: var(--ink); }
.winner-card .winner-cat { font-size: 0.8125rem; color: var(--ink-soft); }

/* --- Forms (contact) --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-field { display: block; margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--ink); margin-bottom: 0.375rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--orange-500);
}

/* --- Footer --- */
.footer { background: #1C1C1B; color: #B4B2A9; padding: 3rem 0 1.5rem; font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-family: var(--body); color: var(--paper); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #B4B2A9; display: block; padding: 0.25rem 0; }
.footer a:hover { color: var(--orange-200); }
.footer .footer-brand p { color: #888780; margin-top: 0.75rem; max-width: 320px; }
.footer .footer-brand strong { color: var(--paper); font-family: var(--display); font-size: 1.125rem; font-weight: 600; }
.footer-contact a { color: var(--orange-200); }
.footer-bottom { border-top: 1px solid #2D2D2A; padding-top: 1.25rem; margin-top: 2rem; text-align: center; color: #5A5852; font-size: 0.8125rem; }

/* --- Floating WhatsApp button --- */
.float-wa {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 60px; height: 60px;
  background: var(--wa);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform .25s;
  animation: pulse 2s infinite;
}
.float-wa:hover { transform: scale(1.1); color: var(--paper); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* --- Decorative elements --- */
.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.divider-deco { display: flex; align-items: center; justify-content: center; margin: 3rem 0; gap: 1rem; }
.divider-deco::before, .divider-deco::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider-deco-icon { color: var(--orange-500); font-size: 1.25rem; }

/* --- Breadcrumb --- */
.breadcrumb { font-size: 0.8125rem; color: var(--ink-mute); padding: 1rem 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--orange-500); }
.breadcrumb .sep { color: var(--ink-mute); margin: 0 0.5rem; }
.breadcrumb .current { color: var(--ink); }

/* --- 404 page --- */
.error-page { text-align: center; padding: 5rem 1.5rem; }
.error-page img { max-width: 280px; margin: 0 auto 2rem; }
.error-page h1 { font-size: 6rem; color: var(--orange-300); line-height: 1; }
.error-page h2 { margin: 1rem 0; }
.error-page p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 2rem; }

/* --- Responsive --- */
/* Hamburger button (mobile only) */
.hamburger {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.5rem;
  transition: all .2s;
}
.hamburger:hover { background: var(--orange-50); border-color: var(--orange-300); color: var(--orange-700); }
.hamburger .ti { font-size: 1.5rem; }

@media (max-width: 900px) {
  .hero-grid, .feature-grid, .mascot-grid, .compare-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  /* Mobile menu: hidden by default, dropdown when .open */
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .menu.open { display: flex; }
  .menu a {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }
  /* Show hamburger on mobile */
  .hamburger { display: inline-flex; }
  .nav { position: relative; }
  .nav-actions .btn:not(.btn-wa):not(.btn-primary) { display: none; }
  .nav-actions .btn-primary { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
  .topbar-info span:not(:first-child) { display: none; }
  .diskon-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-avatar { width: 100%; max-width: 200px; margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .mascot-card { flex-direction: column; text-align: center; }
  .logo-text strong { font-size: 0.9375rem; }
  .logo-text span { font-size: 0.6875rem; }
  .logo img { width: 38px; height: 38px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 3rem; }
  .section, .section-lg { padding: 3rem 0; }
  table.biaya { font-size: 0.8125rem; }
  table.biaya th, table.biaya td { padding: 0.625rem 0.75rem; }
  .nav-actions .btn { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
  .nav-actions .btn .ti { font-size: 1rem; }
  .container { padding: 0 1rem; }
}

/* --- Lokasi Section --- */
.location { padding: 5rem 0; background: linear-gradient(180deg, var(--cream) 0%, var(--orange-50) 100%); }
.location .section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.location .section-head .kicker { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 0.75rem; }
.location .section-head h2 { font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; color: var(--ink); margin: 0 0 0.75rem; }
.location .section-head p { color: var(--ink-mute); font-size: 1rem; margin: 0; }
.location-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: stretch; }
.location-map { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(28, 28, 26, 0.12); min-height: 420px; transition: transform .3s ease, box-shadow .3s ease; isolation: isolate; }
.location-map:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(28, 28, 26, 0.18); }
.location-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.location-map-overlay { position: absolute; bottom: 16px; left: 16px; background: rgba(255,255,255,0.95); color: var(--ink); padding: 0.625rem 1rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: var(--shadow-md); backdrop-filter: blur(8px); pointer-events: none; }
.location-map-overlay .ti { font-size: 1rem; color: var(--orange-700); }
.location-info { display: flex; flex-direction: column; gap: 1rem; }
.location-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.25rem; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform .25s ease, box-shadow .25s ease; }
.location-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.location-card-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--orange-100), var(--orange-200)); color: var(--orange-700); font-size: 1.25rem; }
.location-card h3 { font-family: var(--display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin: 0 0 0.25rem; }
.location-card p { color: var(--ink-soft); font-size: 0.875rem; margin: 0; line-height: 1.55; }
.location-cta { margin-top: 0.5rem; justify-content: center; }
@media (max-width: 900px) {
  .location { padding: 3.5rem 0; }
  .location-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .location-map { min-height: 320px; }
  .location-map iframe { min-height: 320px; }
}
@media (max-width: 560px) {
  .location { padding: 3rem 0; }
  .location .section-head { margin-bottom: 2rem; }
  .location-map { min-height: 260px; border-radius: var(--radius-md); }
  .location-map iframe { min-height: 260px; }
  .location-map-overlay { font-size: 0.75rem; padding: 0.5rem 0.875rem; bottom: 12px; left: 12px; }
  .location-card { padding: 1rem; }
  .location-card-icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .location-card h3 { font-size: 1rem; }
}

/* --- Mobile topbar fix --- */
@media (max-width: 768px) {
  .topbar { font-size: 0.75rem; padding: 0.4rem 0; }
  .topbar .container { gap: 0.5rem; row-gap: 0.35rem; }
  .topbar-info, .topbar-social { gap: 0.5rem; }
  .topbar-social > span { display: none; }
  .topbar-social a { width: 24px; height: 24px; }
  .topbar-social a img { width: 14px; height: 14px; }
}
@media (max-width: 480px) {
  .topbar .container { justify-content: center; }
  .topbar-info span { font-size: 0.7rem; }
}

/* --- Mascot bigger on mobile --- */
@media (max-width: 900px) {
  .mascot-card img { width: 100%; max-width: 320px; }
}
@media (max-width: 560px) {
  .mascot-card { padding: 1.25rem; }
  .mascot-card img { width: 100%; max-width: 280px; }
}

/* --- Video Profil Section --- */
.video-section { padding: 5rem 0; background: linear-gradient(180deg, var(--orange-50) 0%, var(--cream) 100%); position: relative; overflow: hidden; }
.video-section::before { content: ""; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px; background: radial-gradient(circle, var(--orange-200) 0%, transparent 70%); opacity: 0.45; pointer-events: none; }
.video-section::after { content: ""; position: absolute; bottom: -120px; left: -120px; width: 320px; height: 320px; background: radial-gradient(circle, var(--green-100) 0%, transparent 70%); opacity: 0.55; pointer-events: none; }
.video-section .container { display: block; }
.video-section .section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; position: relative; z-index: 1; }
.video-section .section-head .kicker { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 0.75rem; }
.video-section .section-head h2 { font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; color: var(--ink); margin: 0 0 0.75rem; }
.video-section .section-head p { color: var(--ink-mute); font-size: 1rem; margin: 0; }
.video-wrap { position: relative; width: 100%; max-width: 960px; margin: 0 auto; z-index: 1; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(28, 28, 26, 0.25); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-unmute { position: absolute; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem; background: rgba(255,255,255,0.95); color: var(--ink); border: 0; border-radius: 999px; font-family: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-md); backdrop-filter: blur(8px); transition: transform .2s ease, box-shadow .2s ease; z-index: 2; }
.video-unmute:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28,28,26,0.2); }
.video-unmute .ti { font-size: 1rem; color: var(--orange-700); }
@media (max-width: 768px) {
  .video-section { padding: 3.5rem 0; }
  .video-section .section-head { margin-bottom: 1.75rem; }
  .video-frame { border-radius: var(--radius-md); box-shadow: 0 18px 40px rgba(28, 28, 26, 0.22); }
  .video-unmute { bottom: 10px; right: 10px; padding: 0.5rem 0.75rem; font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .video-section { padding: 3rem 0; }
  .video-section .section-head p { font-size: 0.9375rem; }
}

/* --- Contrast & Readability Fixes --- */
/* Primary orange buttons: bright white text for max readability */
.btn-primary { color: #fff; font-weight: 600; }
.btn-primary:hover { color: #fff; }

/* WhatsApp buttons: pure white bold text with subtle dark text-shadow for contrast on bright green */
.btn-wa { color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.18); }
.btn-wa:hover { color: #fff; }

/* CTA banner: brighter title + readable paragraph on orange background */
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--orange-50); opacity: 0.95; }

/* Footer bottom: brighter readable text instead of dark gray on near-black */
.footer-bottom { color: #b8b6ae; border-top-color: rgba(255,255,255,0.08); }

/* Section subtitle paragraphs: a tad darker for readability on cream */
.section-head p, .section-head .sub { color: var(--ink-soft); }
.video-section .section-head p, .location .section-head p { color: var(--ink-soft); }

/* Feature dark-green section: ensure list items stay readable */
.feature ul, .feature li, .feature p { color: var(--green-100); }
.feature .eyebrow, .feature span.eyebrow { color: var(--orange-200); }

/* Stats section labels are already green-100 - ensure numbers stay readable */
.stats .stat-num { color: var(--orange-200); }
.stats .stat-lbl { color: var(--green-100); opacity: 0.95; }

/* Hero quote tagline: slightly darker orange for readability on cream */
.tagline { color: var(--orange-700); }

/* Topbar text and links: ensure visible on dark green */
.topbar, .topbar a, .topbar span { color: #e8f5d6; }
.topbar a:hover { color: #fff; }


/* ========== Logo Showcase Section ========== */
.logo-showcase {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, #fffaf0 0%, #fff5e1 50%, #faecc8 100%);
  position: relative;
  overflow: hidden;
}
.logo-showcase::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.logo-showcase::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(34, 124, 75, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.logo-showcase-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #fffdf6 100%);
  border-radius: 28px;
  box-shadow:
    0 20px 50px rgba(180, 120, 40, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
  border: 1px solid rgba(255, 220, 150, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.logo-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px rgba(180, 120, 40, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  height: 78%;
  background: radial-gradient(circle, rgba(255, 213, 128, 0.45) 0%, rgba(255, 213, 128, 0.12) 45%, transparent 75%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.logo-showcase-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s ease;
}
.logo-showcase-card:hover .logo-showcase-img {
  transform: scale(1.03);
}
.logo-showcase-caption {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #8b5a1a;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  .logo-showcase { padding: 2.5rem 0 2rem; }
  .logo-showcase-card { padding: 2rem 1.25rem 1.5rem; border-radius: 22px; max-width: 92%; }
  .logo-showcase-img { max-width: 280px; }
  .logo-showcase-caption { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .logo-showcase-img { max-width: 230px; }
}

/* ========== Logo Showcase — Centering & Sharpness Fixes ========== */
.logo-showcase .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-showcase-card {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto !important;
  max-width: 620px !important;
  padding: 2.75rem 2.5rem 2rem !important;
}
.logo-showcase-img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto;
  margin: 0 auto;
  /* render close to native size to stay crisp — native is 800x88 */
  max-height: 70px;
}
.logo-showcase-caption {
  width: 100%;
  text-align: center !important;
  margin: 1.5rem auto 0 !important;
}
@media (max-width: 768px) {
  .logo-showcase-card { max-width: 92% !important; padding: 2rem 1.25rem 1.5rem !important; }
  .logo-showcase-img { max-height: 56px; }
}
@media (max-width: 480px) {
  .logo-showcase-img { max-height: 44px; }
  .logo-showcase-caption { font-size: 0.9rem !important; }
}
/* Mascot clean */
.mascot-section .mascot-card img { width: 100% !important; max-width: 520px !important; height: auto !important; background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; mix-blend-mode: normal !important; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); animation: mascotFloat 6s ease-in-out infinite; display: block; margin: 0 auto; }
.mascot-section .mascot-card.aisyah img { animation-delay: -3s; }
@keyframes mascotFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
@media (max-width: 900px) { .mascot-section .mascot-card img { max-width: 420px !important; } }
@media (max-width: 600px) { .mascot-section .mascot-card img { max-width: 340px !important; } }
/* NavSocial fix */
@media (max-width: 1180px) { .logo .tagline, .logo small, .logo-sub, .brand-tagline { display: none !important; } .menu { gap: 0.6rem !important; } .menu > a, .menu .has-dropdown > a { font-size: 0.92rem !important; padding: 0.45rem 0.6rem !important; } }
@media (max-width: 1100px) { .menu .dropdown-menu { display: none !important; } .menu .has-dropdown > a::after { content: "" !important; } }
.cta-banner .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner .cta-buttons a { display: inline-flex !important; align-items: center; gap: 0.55rem; background: #ffffff !important; color: #854f0b !important; padding: 0.7rem 1.3rem !important; border-radius: 999px !important; font-weight: 600 !important; font-size: 1rem !important; text-decoration: none !important; box-shadow: 0 4px 14px rgba(0,0,0,0.15); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cta-banner .cta-buttons a img, .cta-banner .cta-buttons a svg { width: 20px; height: 20px; }
.cta-banner .cta-buttons a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.22); }
.cta-banner .cta-buttons a[href*="instagram"]:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; color: #fff !important; }
.cta-banner .cta-buttons a[href*="youtube"]:hover { background: #ff0000 !important; color: #fff !important; }
/* Dropdown restore */
.menu .has-dropdown { position: relative; display: inline-block; }
.menu .has-dropdown > a::after { content: " ▾"; font-size: 0.7em; opacity: 0.7; }
.menu .dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(99,57,22,0.18); padding: 0.5rem; min-width: 240px; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 1000; }
.menu .has-dropdown:hover .dropdown-menu, .menu .has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu .dropdown-menu a { display: block; padding: 0.55rem 0.85rem; border-radius: 8px; color: #5a5852; font-size: 0.92rem; white-space: nowrap; }
.menu .dropdown-menu a:hover { background: #faeeda; color: #854f0b; }
.menu .dropdown-menu::before { content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid #fff; }
@media (max-width: 1180px) { .menu .dropdown-menu { display: none !important; } .menu .has-dropdown > a::after { content: "" !important; } }
