/* ============================================================
   index.css — Missahoe Montessori School
   Modern redesign · uniform with about/programs/gallery/news
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: #2d2d2d; background: #fff;
  line-height: 1.65; overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

:root {
  --teal:    #58d4f0;
  --gold:    #cfa900;
  --gold-dk: #a88200;
  --dark:    #0b3d2e;
  --text:    #555;
  --light:   #f7fbfd;
  --radius:  14px;
  --shadow:  0 8px 32px rgba(0,0,0,0.08);
  --header-h: 72px;
}

.container { width: 92%; max-width: 1180px; margin: 0 auto; }

/* ─────────────────────────────────────────────
   SHARED BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff;
  padding: 12px 26px; border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--gold-dk); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(207,169,0,0.35);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.7); color: #fff;
  padding: 11px 24px; border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 600; font-size: 0.95rem;
  transition: gap 0.25s, color 0.2s;
}
.btn-link:hover { color: var(--gold-dk); gap: 12px; }

/* ─────────────────────────────────────────────
   EYEBROW LABELS
───────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.eyebrow-light { color: rgba(255,255,255,0.7); }

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(88,212,240,0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(88,212,240,1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.header-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 52px; height: 52px; object-fit: contain; }
.logo-name { display: block; font-size: 1rem; font-weight: 700; color: #1a1a1a; line-height: 1.2; }
.logo-tag  { display: block; font-size: 0.7rem; color: #333; }
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: #222;
  padding: 6px 11px; border-radius: 6px; transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--gold-dk); }
.btn-enroll {
  background: var(--gold); color: #fff !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 600;
  font-size: 0.88rem; margin-left: 6px;
  transition: background 0.2s, transform 0.2s;
}
.btn-enroll:hover { background: var(--gold-dk); transform: translateY(-1px); }

/* ─────────────────────────────────────────────
   HAMBURGER
───────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 42px; height: 42px;
  background: rgba(255,255,255,0.2); border: none;
  border-radius: 9px; cursor: pointer; padding: 8px; z-index: 1100;
  transition: background 0.25s;
}
.hamburger:hover { background: rgba(207,169,0,0.2); }
.hamburger span {
  display: block; width: 22px; height: 2px; background: #1a1a1a;
  border-radius: 3px; transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.23,1,0.32,1), opacity 0.25s, width 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   DRAWER
───────────────────────────────────────────── */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px); z-index: 1050;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.nav-drawer {
  position: fixed; top: 0; right: 0; width: 300px; max-width: 85vw;
  height: 100vh; background: #fff; z-index: 1100;
  display: flex; flex-direction: column; padding: 0 0 30px;
  box-shadow: -6px 0 40px rgba(0,0,0,0.14);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.23,1,0.32,1);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.drawer-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 24px 20px; border-bottom: 1px solid #f0f0f0; margin-bottom: 10px;
}
.drawer-brand img { width: 38px; }
.drawer-brand span { font-weight: 700; font-size: 0.95rem; color: #1a1a1a; }
.nav-drawer a {
  display: block; padding: 13px 24px; font-size: 0.97rem; font-weight: 500; color: #333;
  opacity: 0; transform: translateX(16px);
  transition: background 0.2s, color 0.2s, opacity 0.35s, transform 0.35s, padding-left 0.2s;
}
.nav-drawer.open a               { opacity: 1; transform: translateX(0); }
.nav-drawer.open a:nth-child(2)  { transition-delay: 0.06s; }
.nav-drawer.open a:nth-child(3)  { transition-delay: 0.10s; }
.nav-drawer.open a:nth-child(4)  { transition-delay: 0.14s; }
.nav-drawer.open a:nth-child(5)  { transition-delay: 0.18s; }
.nav-drawer.open a:nth-child(6)  { transition-delay: 0.22s; }
.nav-drawer.open a:nth-child(7)  { transition-delay: 0.26s; }
.nav-drawer.open a:nth-child(8)  { transition-delay: 0.30s; }
.nav-drawer a:hover               { background: #f5fbfe; color: var(--gold); padding-left: 30px; }
.nav-drawer a.active              { color: var(--gold); font-weight: 600; background: rgba(207,169,0,0.07); }
.drawer-enroll {
  margin: 14px 24px 0 !important; padding: 13px 24px !important;
  background: var(--gold) !important; color: #fff !important;
  border-radius: 10px !important; text-align: center !important; font-weight: 600 !important;
}
.drawer-enroll:hover { background: var(--gold-dk) !important; padding-left: 24px !important; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero-section {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; overflow: hidden;
  margin-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.06);
  filter: brightness(0.78);
}
.hero-image.active {
  opacity: 1;
  animation: kenBurns 10s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.13) translate(-1.2%, -0.8%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,61,46,0.68) 0%, rgba(0,0,0,0.42) 100%);
  z-index: 1;
}

/* Decorative orbs */
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
}
.hero-orb-1 {
  width: 420px; height: 420px; right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(88,212,240,0.12) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 300px; height: 300px; left: 5%; bottom: 10%;
  background: radial-gradient(circle, rgba(207,169,0,0.1) 0%, transparent 70%);
}

.hero-content {
  position: relative; z-index: 2; color: #fff;
}
.hero-badge-wrap {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 16px; border-radius: 50px; font-size: 0.8rem;
  margin-bottom: 22px; color: rgba(255,255,255,0.88);
}
.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 700;
  line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.01em;
  max-width: 700px;
}
.hero-content h1 em { font-style: italic; color: var(--gold); }
.hero-content > p {
  font-size: clamp(0.97rem, 1.8vw, 1.1rem); opacity: 0.88;
  max-width: 580px; margin-bottom: 34px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; margin-bottom: 52px; flex-wrap: wrap; }

/* Stats */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px; padding: 20px 28px; width: fit-content;
}
.stat-item { text-align: center; padding: 0 28px; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { padding-right: 0; }
.stat-num {
  display: inline; font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--gold);
}
.stat-suf { font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.stat-item p { font-size: 0.75rem; color: rgba(255,255,255,0.75); margin-top: 2px; }
.stat-divider {
  width: 1px; height: 50px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.72rem; z-index: 2;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.5); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: rgba(255,255,255,0.8); border-radius: 3px;
  animation: wheelDrop 1.8s ease-in-out infinite;
}
@keyframes wheelDrop    { 0%,100%{opacity:1;transform:translateY(0)}50%{opacity:0;transform:translateY(8px)} }
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-6px)} }

/* ─────────────────────────────────────────────
   WELCOME SECTION
───────────────────────────────────────────── */
.welcome-section { padding: 90px 0; }
.welcome-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
}
.welcome-image { position: relative; }
.img-frame {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  position: relative;
}
.img-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* Decorative corner accents */
.corner {
  position: absolute; width: 50px; height: 50px;
  border-color: var(--gold); border-style: solid; border-radius: 3px;
}
.corner-tl { top: -8px; left: -8px; border-width: 3px 0 0 3px; }
.corner-br { bottom: -8px; right: -8px; border-width: 0 3px 3px 0; }

.welcome-quote {
  position: absolute; bottom: 24px; left: -24px;
  background: #fff; border-radius: 14px;
  padding: 18px 20px; max-width: 260px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.quote-icon { margin-bottom: 8px; }
.welcome-quote p { font-size: 0.82rem; font-style: italic; color: #444; line-height: 1.5; margin-bottom: 6px; }
.welcome-quote strong { font-size: 0.78rem; color: var(--gold); font-weight: 600; }

.floating-badge {
  position: absolute; top: -16px; right: -16px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  box-shadow: 0 10px 30px rgba(207,169,0,0.4);
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}
}
.fb-number { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.fb-number span { font-size: 1.2rem; }
.fb-label { font-size: 0.62rem; opacity: 0.88; line-height: 1.3; margin-top: 2px; padding: 0 8px; }

.welcome-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700;
  color: var(--dark); line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.01em;
}
.welcome-content > p { color: var(--text); font-size: 0.97rem; margin-bottom: 32px; }

/* Feature grid */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px;
}
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: 12px; background: var(--light);
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.feature-item:hover {
  background: #fff; box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(88,212,240,0.15);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}
.feature-item:hover .feature-icon { background: rgba(207,169,0,0.15); color: var(--gold-dk); }
.feature-item h3 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-item p  { font-size: 0.8rem; color: var(--text); line-height: 1.5; }

/* ─────────────────────────────────────────────
   PROGRAMS SECTION
───────────────────────────────────────────── */
.programs-section {
  padding: 80px 0;
  background: var(--light);
}
.programs-header {
  text-align: center; margin-bottom: 52px;
}
.programs-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--dark);
  font-weight: 700; margin: 8px 0 12px; letter-spacing: -0.01em;
}
.programs-header p { color: var(--text); max-width: 500px; margin: 0 auto; font-size: 0.95rem; }

.programs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px;
}

.program-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease;
  cursor: default;
}
.program-card:hover {
  transform: translateY(-10px) perspective(600px) rotateX(2deg);
  box-shadow: 0 28px 56px rgba(0,0,0,0.12);
}
.program-icon-wrap {
  position: relative; width: 64px; height: 64px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.program-icon-wrap svg {
  position: relative; z-index: 1;
  color: var(--dark); transition: color 0.3s;
}
.icon-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(88,212,240,0.14);
  transition: background 0.3s, transform 0.4s;
}
.program-card:hover .icon-ring {
  background: rgba(207,169,0,0.15);
  transform: scale(1.15);
}
.program-card:hover .program-icon-wrap svg { color: var(--gold); }

.program-age-tag {
  display: inline-block; background: rgba(88,212,240,0.14); color: #0a8faa;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px; margin-bottom: 10px;
}
.program-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.program-card p  { font-size: 0.84rem; color: var(--text); line-height: 1.65; margin-bottom: 18px; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--gold);
  transition: gap 0.25s, color 0.2s;
}
.card-link:hover { color: var(--gold-dk); gap: 10px; }

/* Glow on hover */
.card-glow {
  position: absolute; top: -60px; right: -60px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(207,169,0,0.12) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.program-card:hover .card-glow { opacity: 1; }

/* Top accent line */
.program-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.program-card:hover::before { transform: scaleX(1); }

.programs-footer { text-align: center; }

/* ─────────────────────────────────────────────
   NUMBERS STRIP
───────────────────────────────────────────── */
.numbers-section {
  background: var(--dark);
  padding: 60px 0;
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  text-align: center;
}
.number-item {
  padding: 20px; position: relative;
}
.number-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.12);
}
.number-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(88,212,240,0.12);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  transition: background 0.3s, transform 0.3s;
}
.number-item:hover .number-icon {
  background: rgba(207,169,0,0.15); color: var(--gold);
  transform: scale(1.1);
}
.number-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1;
  margin-bottom: 8px;
}
.number-val span { font-size: 1.8rem; }
.number-item p { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────────── */
.cta-section {
  position: relative; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,61,46,0.82) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.cta-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 60px 20px;
}
.cta-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.15; margin: 12px 0 18px;
}
.cta-content h2 em { font-style: italic; color: var(--gold); }
.cta-content > p { font-size: 1rem; opacity: 0.88; max-width: 560px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.cta-contact {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
}
.cta-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.82); font-size: 0.88rem;
  transition: color 0.2s;
}
.cta-contact a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   MAP SECTION
───────────────────────────────────────────── */
.map-section { padding: 80px 0 90px; }
.map-header {
  text-align: center; margin-bottom: 32px;
}
.map-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--dark); font-weight: 700;
  margin: 6px 0 10px;
}
.map-header p {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-size: 0.92rem;
}
.map-frame {
  border-radius: 20px; overflow: hidden;
  height: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
  border: 1px solid #e8f4f8;
}
.map-frame iframe { border: 0; width: 100%; height: 100%; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer { background: #111; color: #ccc; }
.footer-top { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 50px; align-items: start;
}
.footer-brand img { width: 48px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: #aaa; line-height: 1.6; margin-bottom: 18px; }
.footer-brand em { color: var(--gold); font-style: normal; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); color: #bbb;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-socials a:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.footer-nav h4, .footer-contact h4 {
  font-size: 0.85rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 16px;
}
.footer-nav { display: flex; flex-direction: column; gap: 2px; }
.footer-nav a {
  font-size: 0.88rem; color: #999; padding: 5px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-nav a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; color: #999;
}
.contact-item svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; color: #666; }
.footer-bottom-links { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #555; }
.footer-bottom-links a { color: #666; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────── */
[data-animate] { opacity: 0; transition: opacity 0.72s ease, transform 0.72s ease; }
[data-animate="fade-up"]    { transform: translateY(42px); }
[data-animate="fade-left"]  { transform: translateX(-46px); }
[data-animate="fade-right"] { transform: translateX(46px); }
[data-animate].animated     { opacity: 1; transform: translate(0); }
.programs-grid [data-animate].animated:nth-child(2) { transition-delay: 0.08s; }
.programs-grid [data-animate].animated:nth-child(3) { transition-delay: 0.16s; }
.programs-grid [data-animate].animated:nth-child(4) { transition-delay: 0.24s; }
.numbers-grid [data-animate].animated:nth-child(2)  { transition-delay: 0.08s; }
.numbers-grid [data-animate].animated:nth-child(3)  { transition-delay: 0.16s; }
.numbers-grid [data-animate].animated:nth-child(4)  { transition-delay: 0.24s; }

/* ─────────────────────────────────────────────
   BACK TO TOP
───────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; background: var(--gold); color: #fff;
  border: none; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; z-index: 999;
  box-shadow: 0 4px 18px rgba(207,169,0,0.42);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
#back-to-top.show  { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--gold-dk); }

/* ═══════════════════════════════════════════
   TABLET (≤ 960px)
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }

  .welcome-grid   { grid-template-columns: 1fr; gap: 40px; }
  .welcome-quote  { left: 0; }
  .floating-badge { right: 0; }

  .programs-grid  { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid   { grid-template-columns: repeat(2, 1fr); }
  .number-item:nth-child(2)::after { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════
   MOBILE (≤ 600px)
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .logo-tag { display: none; }

  .hero-section   { height: 95vh; }
  .hero-stats     { flex-direction: column; gap: 0; width: 100%; }
  .stat-item      { padding: 12px 24px; }
  .stat-divider   { width: 100%; height: 1px; }

  .welcome-section { padding: 60px 0; }
  .features-grid   { grid-template-columns: 1fr; }
  .img-frame img   { aspect-ratio: 4/3; }

  .programs-grid  { grid-template-columns: 1fr; }
  .numbers-grid   { grid-template-columns: repeat(2, 1fr); }
  .number-item::after { display: none !important; }

  .cta-content h2 { font-size: 1.8rem; }
  .cta-contact    { flex-direction: column; align-items: center; gap: 12px; }

  .map-frame { height: 320px; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-brand   { grid-column: auto; }

  #back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════════
   VERY SMALL (≤ 380px)
═══════════════════════════════════════════ */
@media (max-width: 380px) {
  .logo-name { font-size: 0.88rem; }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
}
