/* =========================================================================
   SCHOOL WEBSITE STARTER KIT — MAIN STYLESHEET
   Reusable across schools. Colors below are LetterLand Academy's defaults
   (extracted from their logo); Admin > Theme lets a school administrator
   override --brand-primary / --brand-secondary / --brand-accent live,
   without touching this file (see includes/header.php theme injection).
   ========================================================================= */

:root {
  --brand-primary-dark: #073A56;
  --brand-primary-dark-rgb: 7,58,86;
  --brand-primary: #0B4C6F;
  --brand-primary-mid: #0E6089;
  --brand-primary-soft: #E7F1F6;
  --brand-secondary: #4C9A2A;
  --brand-secondary-soft: #EEF7E9;
  --brand-accent: #F26722;
  --brand-accent-dark: #D14E0F;
  --brand-accent-soft: #FDECE0;
  --red-accent: #A6282E;
  --cream: #FBF9F1;
  --white: #FFFFFF;
  --ink: #1A1F1C;
  --gray: #667085;
  --gray-light: #EDEFEC;
  --border: #E2E5E0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(7,58,86,0.08);
  --shadow-md: 0 10px 30px rgba(7,58,86,0.14);
  --shadow-lg: 0 20px 50px rgba(7,58,86,0.22);

  --container: 1200px;
  --header-h: 88px;
  --mobile-bar-h: 62px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-h);
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.25;
  color: var(--brand-primary-dark);
  font-weight: 700;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--brand-primary-dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--brand-accent-dark);
  background: var(--brand-accent-soft);
  border: 1px solid var(--brand-accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-dark .eyebrow { background: rgba(212,175,55,0.15); color: var(--brand-accent); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--gray); font-size: 1.05rem; }
.section-dark .section-head p { color: #D9E5DE; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--brand-accent); color: var(--brand-primary-dark); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--brand-accent-dark); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--brand-primary); color: var(--white); }
.btn-primary:hover { background: var(--brand-primary-mid); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--brand-primary-dark); }
.btn-outline-primary { border-color: var(--brand-primary); color: var(--brand-primary); background: transparent; }
.btn-outline-primary:hover { background: var(--brand-primary); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1DA851; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--brand-primary-dark);
  color: #CFE2D6;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a { color: #CFE2D6; }
.topbar a:hover { color: var(--brand-accent); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.topbar-social a:hover { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-primary-dark); }
@media (max-width: 640px) { .topbar .topbar-item.hide-mobile { display: none; } }

/* ---------- Main navigation ---------- */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 500;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; border-radius: 8px; }
.brand-text { line-height: 1.15; }
.brand-text .name { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--brand-primary-dark); font-size: 1.05rem; display: block; }
.brand-text .tag { color: var(--brand-accent-dark); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; }

.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-primary); background: var(--brand-primary-soft); }
.nav-cta { display: none; align-items: center; gap: 10px; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: none; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--brand-primary-dark); }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile slide-in menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 900;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open { visibility: visible; pointer-events: auto; }
.mobile-menu-backdrop {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(var(--brand-primary-dark-rgb),0.55);
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  background: var(--brand-primary-dark);
  color: var(--white);
  padding: 22px 22px 30px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-menu-close { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; border: none; color: var(--white); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-menu a { display: block; padding: 13px 10px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--white); }
.mobile-menu a.active { color: var(--brand-accent); }
.mobile-menu .btn { width: 100%; margin-bottom: 12px; }

/* ---------- Sticky mobile action bar ---------- */
.mobile-action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--mobile-bar-h);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
  display: flex;
  z-index: 600;
}
@media (min-width: 1080px) { .mobile-action-bar { display: none; } }
.mobile-action-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  border-right: 1px solid var(--border);
}
.mobile-action-bar a:last-child { border-right: none; }
.mobile-action-bar svg { width: 20px; height: 20px; }
.mobile-action-bar a.mab-apply { background: var(--brand-accent); color: var(--brand-primary-dark); }
.mobile-action-bar a.mab-whatsapp { background: #25D366; color: var(--white); }

/* ---------- Hero sections ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--brand-primary-dark) center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(var(--brand-primary-dark-rgb),0.55) 0%, rgba(var(--brand-primary-dark-rgb),0.82) 100%);
}
.hero-home { min-height: 92vh; }
.hero-inner { min-height: 46vh; }
.hero-carousel-slides { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-dots {
  position: absolute; bottom: 22px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; z-index: 3;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero-dots button.active { background: var(--brand-accent); transform: scale(1.3); }
.hero-content { max-width: 720px; padding: 70px 0; }
.hero-content .eyebrow { background: rgba(255,255,255,0.14); border-color: var(--brand-accent); color: var(--brand-accent); }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  margin-bottom: 18px;
}
.hero-content .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #E7EFE9;
  margin-bottom: 30px;
  max-width: 60ch;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
  max-width: 620px;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { text-align: left; border-left: 3px solid var(--brand-accent); padding-left: 12px; }
.hero-stat .num { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--brand-accent); display: block; }
.hero-stat .lbl { font-size: 0.8rem; color: #D9E5DE; }
.breadcrumb { font-size: 0.85rem; color: #D9E5DE; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--brand-accent); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card-body p { color: var(--gray); font-size: 0.94rem; flex: 1; }
.card-tag {
  align-self: flex-start;
  background: var(--brand-accent-soft);
  color: var(--brand-accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Icon feature card (why choose us / values) */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  height: 100%;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.93rem; }
.section-dark .feature-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section-dark .feature-card p { color: #D9E5DE; }
.section-dark .feature-icon { background: rgba(212,175,55,0.15); color: var(--brand-accent); }

/* ---------- Two column content blocks ---------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split-media { position: relative; }
.split-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  display: none;
}
@media (min-width: 640px) { .split-badge { display: block; } }
.split-text h2 { margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.split-text p { color: var(--gray); margin-bottom: 16px; }
.split-text ul.check-list { margin-top: 18px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--ink);
}
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand-accent-dark); margin-top: 2px; }

/* ---------- Quote / message block ---------- */
.quote-block {
  background: var(--cream);
  border-left: 5px solid var(--brand-accent);
  border-radius: var(--radius-sm);
  padding: 28px 26px;
  position: relative;
}
.quote-block .quote-mark { font-family: 'Poppins', serif; font-size: 3.5rem; color: var(--brand-accent); line-height: 0.5; display:block; margin-bottom: 14px;}
.quote-block p { color: var(--ink); }
.quote-person { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.quote-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-accent); }
.quote-person .name { font-weight: 700; color: var(--brand-primary-dark); }
.quote-person .role { font-size: 0.85rem; color: var(--gray); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
}
.testimonial-card .stars { color: var(--brand-accent); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.msg { color: var(--ink); margin-bottom: 18px; font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-person .name { font-weight: 700; font-size: 0.92rem; }
.testimonial-person .role { font-size: 0.8rem; color: var(--gray); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.gallery-filters button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}
.gallery-filters button.active, .gallery-filters button:hover { background: var(--brand-primary); color: var(--white); border-color: var(--brand-primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4,1fr); } }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(var(--brand-primary-dark-rgb),0.85), transparent);
  color: var(--white);
  font-size: 0.78rem;
  padding: 20px 10px 8px;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover .cap { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000;
  background: rgba(7,15,10,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 22px; right: 26px; color: var(--white); font-size: 2rem; background: none; border: none; }

/* ---------- News ---------- */
.news-card .card-body time { font-size: 0.78rem; color: var(--brand-accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.news-card .card-body h3 { margin-top: 6px; }
.news-card .read-more { margin-top: auto; font-weight: 700; color: var(--brand-primary); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(11,61,40,0.12); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: 0.92rem; }
.alert-success { background: #E7F7EC; color: #146C2E; border: 1px solid #B7E4C4; }
.alert-error { background: #FDECEC; color: #A6282E; border: 1px solid #F3C2C2; }

/* ---------- Contact info cards ---------- */
.contact-info-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-info-grid { grid-template-columns: repeat(3,1fr); } }
.contact-info-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center;
}
.contact-info-card .feature-icon { margin: 0 auto 16px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { color: var(--gray); font-size: 0.92rem; }
.contact-info-card a:hover { color: var(--brand-primary); }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- FAQ Accordion ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; background: var(--white); font-weight: 700; color: var(--brand-primary-dark);
  border: none;
}
.faq-question .plus { font-size: 1.4rem; color: var(--brand-accent-dark); transition: transform .2s ease; flex-shrink:0; }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: var(--cream); }
.faq-answer-inner { padding: 0 20px 18px; color: var(--gray); }
.faq-item.open .faq-answer { max-height: 500px; }

/* ---------- Timeline / process steps ---------- */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding-top: 10px; }
.step .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins',sans-serif; font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.9rem; }

/* ---------- Table (fees/requirements) ---------- */
.info-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.info-list li { display: flex; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-list li svg { color: var(--brand-accent-dark); width: 20px; height:20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--brand-primary-dark), var(--brand-primary));
  color: var(--white);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: #D9E5DE; max-width: 620px; margin: 0 auto 26px; }
.cta-banner .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-primary-dark); color: #C9D9CF; }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 54px; background: var(--white); border-radius: 8px; padding: 3px; }
.footer-brand .name { color: var(--white); font-family: 'Poppins',sans-serif; font-weight: 700; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a:hover { color: var(--brand-accent); }
.footer-col p { font-size: 0.9rem; margin-bottom: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-primary-dark); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; align-items: flex-start; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--brand-accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  font-size: 0.82rem;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
}
.footer-bottom a:hover { color: var(--brand-accent); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: calc(var(--mobile-bar-h) + 18px);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-accent); color: var(--brand-primary-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 400; border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (min-width: 1080px) { .back-to-top { bottom: 24px; } }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page .code { font-family:'Poppins',sans-serif; font-size: 6rem; font-weight: 800; color: var(--brand-accent); line-height: 1; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Misc responsive helpers ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.hide-sm { display: none; }
@media (min-width: 760px) { .hide-sm { display: block; } }

/* =========================================================================
   ICON SIZE FIX — unsized inline SVGs default to a large browser intrinsic
   size unless constrained. This sets a sane default everywhere, while more
   specific rules above (e.g. .feature-icon svg) still win automatically.
   ========================================================================= */
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.btn svg { width: 18px; height: 18px; }
.btn-sm svg { width: 15px; height: 15px; }
.topbar-item svg { width: 15px; height: 15px; }
.topbar-social a svg { width: 13px; height: 13px; }
.footer-social a svg { width: 16px; height: 16px; }
.mobile-menu-close svg { width: 18px; height: 18px; }
.back-to-top svg { width: 20px; height: 20px; }
.faq-question .plus svg { width: 18px; height: 18px; }
.read-more svg { width: 15px; height: 15px; }
.alert svg, .a-alert svg { width: 17px; height: 17px; }

/* =========================================================================
   HOMEPAGE ANNOUNCEMENT POPUP — content editable via Admin > Homepage Popup.
   Reuses existing tokens (--brand-*, --radius, --shadow-lg) and existing
   button/eyebrow/btn-row classes so it matches the rest of the site.
   ========================================================================= */
.site-popup-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1050;
  background: rgba(var(--brand-primary-dark-rgb), 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.site-popup-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s linear 0s;
}
.site-popup {
  background: var(--white);
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.site-popup-overlay.open .site-popup { transform: translateY(0) scale(1); }
.site-popup-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(7,15,10,0.45);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.site-popup-close:hover { background: var(--brand-accent); }
.site-popup-close svg { width: 18px; height: 18px; }
.site-popup-media { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.site-popup-media img { width: 100%; height: 100%; object-fit: cover; }
.site-popup-body { padding: 26px 26px 28px; }
.site-popup-media + .site-popup-body { padding-top: 22px; }
.site-popup-body h3 { font-size: clamp(1.15rem, 3vw, 1.45rem); margin: 10px 0 12px; }
.site-popup-body p { color: var(--gray); margin-bottom: 12px; }
.site-popup-body p:last-of-type { margin-bottom: 20px; }
.site-popup-body .btn-row { margin-top: 4px; }
@media (max-width: 480px) {
  .site-popup-body .btn-row .btn { flex: 1 1 auto; }
}