/* ============================================
   Khanyanjalo Primary School — Design System
   Colors from school branding poster:
   Maroon #600010 | Gold #C5963E | Cream #F7EFE1
   ============================================ */

:root {
  --maroon: #600010;
  --maroon-dark: #4a000c;
  --maroon-light: #7a0018;
  --gold: #C5963E;
  --gold-light: #d4aa58;
  --gold-dark: #a67d2e;
  --cream: #F7EFE1;
  --cream-dark: #ebe0cc;
  --text: #2c1810;
  --text-muted: #5c4a3a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(96, 0, 16, 0.12);
  --shadow-lg: 0 12px 48px rgba(96, 0, 16, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.script {
  font-family: var(--font-script);
  font-weight: 600;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ---- Navigation ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 239, 225, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 150, 62, 0.2);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--maroon);
}

.nav-brand:hover {
  color: var(--maroon);
}

.nav-logo {
  flex-shrink: 0;
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.nav-brand-text small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 50px;
  transition: all var(--transition);
}

.nav-menu a:hover {
  color: var(--maroon);
  background: rgba(96, 0, 16, 0.06);
}

.nav-cta {
  background: var(--maroon) !important;
  color: var(--white) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--maroon-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--cream);
  z-index: 0;
}

.brush {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

.brush-maroon {
  background: var(--maroon);
}

.brush-gold {
  background: var(--gold);
}

.brush-1 {
  width: 420px;
  height: 280px;
  top: -60px;
  left: -120px;
  transform: rotate(-15deg);
  border-radius: 40% 60% 50% 50%;
  opacity: 0.25;
}

.brush-2 {
  width: 360px;
  height: 240px;
  top: 10%;
  right: -80px;
  transform: rotate(20deg);
  border-radius: 60% 40% 55% 45%;
}

.brush-3 {
  width: 500px;
  height: 200px;
  bottom: -40px;
  left: 20%;
  transform: rotate(-5deg);
  border-radius: 50% 50% 40% 60%;
  opacity: 0.2;
}

.brush-4 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
  opacity: 0.2;
}

.brush-5 {
  width: 400px;
  height: 250px;
  bottom: -80px;
  left: -100px;
  opacity: 0.15;
}

.star, .heart {
  position: absolute;
  color: var(--gold);
  pointer-events: none;
  user-select: none;
}

.star {
  font-size: 1.2rem;
  opacity: 0.7;
}

.heart {
  font-size: 1rem;
  opacity: 0.5;
}

.star-1 { top: 18%; left: 12%; }
.star-2 { top: 35%; right: 18%; font-size: 1.5rem; }
.star-3 { bottom: 25%; left: 8%; font-size: 0.9rem; }
.heart-1 { top: 28%; right: 10%; }
.heart-2 { bottom: 30%; right: 25%; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin: 2.5rem auto 1.5rem;
  padding-top: 1.5rem;
  z-index: 2;
}

.hero-sunshine {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.82;
}

.sun-glow {
  position: absolute;
  inset: -70px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 244, 190, 1) 0%, rgba(255, 220, 120, 0.75) 22%, rgba(197, 150, 62, 0.45) 42%, rgba(197, 150, 62, 0.2) 58%, rgba(247, 239, 225, 0) 78%);
  filter: blur(12px);
  animation: sunPulse 5s ease-in-out infinite;
  z-index: 1;
}

.sun-rays {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      rgba(255, 220, 120, 0) 0deg,
      rgba(255, 220, 120, 0.75) 8deg,
      rgba(255, 220, 120, 0) 16deg,
      rgba(255, 220, 120, 0) 22deg,
      rgba(255, 210, 100, 0.65) 30deg,
      rgba(255, 220, 120, 0) 38deg,
      rgba(255, 220, 120, 0) 44deg,
      rgba(255, 210, 100, 0.7) 52deg,
      rgba(255, 220, 120, 0) 60deg,
      rgba(255, 220, 120, 0) 66deg,
      rgba(255, 210, 100, 0.65) 74deg,
      rgba(255, 220, 120, 0) 82deg,
      rgba(255, 220, 120, 0) 88deg,
      rgba(255, 210, 100, 0.7) 96deg,
      rgba(255, 220, 120, 0) 104deg,
      rgba(255, 220, 120, 0) 110deg,
      rgba(255, 210, 100, 0.65) 118deg,
      rgba(255, 220, 120, 0) 126deg,
      rgba(255, 220, 120, 0) 132deg,
      rgba(255, 210, 100, 0.7) 140deg,
      rgba(255, 220, 120, 0) 148deg,
      rgba(255, 220, 120, 0) 154deg,
      rgba(255, 210, 100, 0.65) 162deg,
      rgba(255, 220, 120, 0) 170deg,
      rgba(255, 220, 120, 0) 176deg,
      rgba(255, 210, 100, 0.7) 184deg,
      rgba(255, 220, 120, 0) 192deg,
      rgba(255, 220, 120, 0) 198deg,
      rgba(255, 210, 100, 0.65) 206deg,
      rgba(255, 220, 120, 0) 214deg,
      rgba(255, 220, 120, 0) 220deg,
      rgba(255, 210, 100, 0.7) 228deg,
      rgba(255, 220, 120, 0) 236deg,
      rgba(255, 220, 120, 0) 242deg,
      rgba(255, 210, 100, 0.65) 250deg,
      rgba(255, 220, 120, 0) 258deg,
      rgba(255, 220, 120, 0) 264deg,
      rgba(255, 210, 100, 0.7) 272deg,
      rgba(255, 220, 120, 0) 280deg,
      rgba(255, 220, 120, 0) 286deg,
      rgba(255, 210, 100, 0.65) 294deg,
      rgba(255, 220, 120, 0) 302deg,
      rgba(255, 220, 120, 0) 308deg,
      rgba(255, 210, 100, 0.7) 316deg,
      rgba(255, 220, 120, 0) 324deg,
      rgba(255, 220, 120, 0) 330deg,
      rgba(255, 210, 100, 0.65) 338deg,
      rgba(255, 220, 120, 0) 346deg,
      rgba(255, 220, 120, 0) 360deg
    );
  mask: radial-gradient(circle, #000 38%, transparent 74%);
  -webkit-mask: radial-gradient(circle, #000 38%, transparent 74%);
  animation: sunSpin 28s linear infinite;
  filter: drop-shadow(0 0 28px rgba(197, 150, 62, 0.55));
  z-index: 1;
}

.sun-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -58%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff9dc 0%, #ffe07a 24%, #f0bc4a 52%, #c5963e 100%);
  box-shadow:
    0 0 0 10px rgba(255, 236, 170, 0.35),
    0 0 48px rgba(255, 210, 100, 0.85),
    0 0 80px rgba(255, 190, 70, 0.45),
    0 22px 44px rgba(197, 150, 62, 0.45),
    inset -12px -16px 28px rgba(168, 110, 20, 0.4),
    inset 12px 14px 24px rgba(255, 255, 255, 0.55);
  z-index: 1;
}

.hero-logo-front {
  position: relative;
  z-index: 10;
  display: inline-block;
}

.hero-logo-wrap::before,
.hero-logo-front::before {
  content: "";
  position: absolute;
  top: 6%;
  left: 50%;
  width: min(290px, 82vw);
  height: 92%;
  transform: translateX(-50%);
  border-radius: 48% 48% 42% 42%;
  background: radial-gradient(circle at 50% 42%, rgba(247, 239, 225, 0.98) 0%, rgba(247, 239, 225, 0.92) 52%, rgba(247, 239, 225, 0) 78%);
  z-index: 5;
  pointer-events: none;
}

.hero-logo-wrap > .hero-logo,
.hero-logo-front .hero-logo,
.hero-logo {
  position: relative;
  z-index: 10;
  display: block;
  margin: 0 auto;
  width: min(280px, 78vw);
  height: auto;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
  filter:
    drop-shadow(0 14px 28px rgba(96, 0, 16, 0.18))
    drop-shadow(0 4px 12px rgba(96, 0, 16, 0.12));
}

@keyframes sunSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sunPulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-tag {
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-motto {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Sections ---- */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-header-light .section-label {
  color: var(--gold-light);
}

.section-header-light h2 {
  color: var(--white);
}

.section-header-light .section-intro {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- About ---- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-grid-two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.bilingual-block p + p {
  margin-top: 1rem;
}

.bilingual-zu {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(197, 150, 62, 0.25);
  font-style: italic;
  color: var(--text-muted);
}

.about-card .bilingual-zu strong {
  color: var(--maroon);
  font-style: normal;
}

.about-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(197, 150, 62, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.about-icon {
  width: 48px;
  height: 48px;
  color: var(--maroon);
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-banner {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.about-banner .script {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}

.about-banner span {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Values ---- */
.values {
  background: var(--maroon);
  overflow: hidden;
}

.values-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.value-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 150, 62, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.value-card .bilingual-zu {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(197, 150, 62, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.value-card .bilingual-zu strong {
  color: var(--gold);
  font-style: normal;
}

.value-card-featured {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
}

.value-card-featured h3 {
  font-size: 1.05rem;
}

.value-subtitle {
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 0;
}

.value-card-body {
  width: 100%;
}

/* ---- Academics ---- */
.academics {
  background: var(--cream);
}

.academics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.academic-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.academic-item:hover {
  transform: translateY(-3px);
}

.academic-grade {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: rgba(197, 150, 62, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.academic-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

.academic-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.programs {
  text-align: center;
}

.programs h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  list-style: none;
}

.program-tags li {
  background: var(--maroon);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: background var(--transition);
}

.program-tags li:hover {
  background: var(--gold);
  color: var(--maroon);
}

/* ---- POPIA ---- */
.popia {
  background: var(--cream);
}

.popia-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 150, 62, 0.25);
  box-shadow: var(--shadow);
  text-align: center;
}

.popia-box h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

.popia-box p {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.popia-box p:last-child {
  margin-bottom: 0;
}

.popia-box a {
  color: var(--maroon);
  font-weight: 600;
}

.popia-box a:hover {
  color: var(--gold-dark);
}

.popia-note {
  margin-top: 1.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 150, 62, 0.2);
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark) !important;
}

/* ---- News ---- */
.news {
  background: var(--white);
}

.news-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.news-social-item {
  min-width: 0;
}

.news-social-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 1rem;
}

.news-facebook,
.news-tiktok {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(197, 150, 62, 0.2);
  box-shadow: var(--shadow-lg);
  background: var(--cream);
}

.news-facebook .fb-page,
.news-facebook .fb-page span,
.news-facebook iframe {
  width: 100% !important;
}

.news-tiktok {
  min-height: 420px;
}

.news-tiktok .tiktok-embed,
.news-tiktok iframe {
  width: 100% !important;
  margin: 0 !important;
}

.news-social-follow {
  margin-top: 1.25rem;
  text-align: center;
}

.news-social-follow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.news-social-follow a:hover {
  background: var(--maroon-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.news-social-follow-tiktok a {
  background: #010101;
}

.news-social-follow-tiktok a:hover {
  background: #1a1a1a;
  color: var(--white);
}

/* ---- Contact ---- */
.contact {
  background: var(--cream);
}

.contact-grid {
  max-width: 640px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-details svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 0.15rem;
}

.contact-details span,
.contact-details a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--maroon);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-details a:hover {
  color: var(--gold-dark);
}

.footer-social {
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 150, 62, 0.35);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--gold);
  color: var(--maroon);
  border-color: var(--gold);
}

.site-footer .social-link {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, 0.85);
}

.footer-banner {
  background: var(--maroon);
  text-align: center;
  padding: 1.25rem;
  border-bottom: 3px solid var(--gold);
}

.footer-banner p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}

.footer-brand {
  position: relative;
  z-index: 2;
}

.footer-logo-wrap,
.footer-brand .footer-logo,
.footer-brand img {
  position: relative;
  z-index: 3;
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(247, 239, 225, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 150, 62, 0.45);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  width: 130px;
  height: auto;
  object-fit: contain;
  box-sizing: content-box;
  filter: drop-shadow(0 2px 6px rgba(96, 0, 16, 0.15));
}

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-motto {
  font-size: 1.1rem !important;
  color: var(--gold) !important;
  opacity: 1 !important;
}

.footer-credit {
  text-align: center;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  opacity: 0.75;
}

.footer-credit p + p {
  margin-top: 0.35rem;
}

.footer-credit a {
  color: var(--gold-light);
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--gold);
}

.footer-credit strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid rgba(197, 150, 62, 0.2);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 0.85rem 1rem;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 0.5rem;
    text-align: center;
  }

  .news-social-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-logo-wrap {
    margin-inline: auto;
  }

  .footer-brand .footer-logo,
  .footer-brand img {
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .values-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .value-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 1.15rem 1rem;
    gap: 1rem;
    height: auto;
  }

  .value-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
  }

  .value-card-body {
    flex: 1;
    min-width: 0;
  }

  .value-card h3 {
    margin-bottom: 0.35rem;
  }

  .hero-sunshine {
    top: -170px;
    width: 260px;
    height: 260px;
    opacity: 0.72;
  }

  .sun-core {
    width: 92px;
    height: 92px;
  }

  .hero-logo-wrap::before,
  .hero-logo-front::before {
    width: min(260px, 88vw);
  }

  .hero-logo-wrap > .hero-logo,
  .hero-logo-front .hero-logo,
  .hero-logo {
    z-index: 10;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

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

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