/* ============================================================
   Lead Orange Academy – style.css
   Path: /css/style.css
   Brand: Deep Navy #1B2D4A | Burnt Orange #E07B20
   Design: Light, modern, professional (2026)
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colours */
  --navy:          #1B2D4A;
  --navy-dark:     #111e32;
  --navy-light:    #2a4166;
  --orange:        #E07B20;
  --orange-dark:   #c46a14;
  --orange-light:  #f5a04a;
  --orange-pale:   #fff4ea;

  /* Neutrals */
  --white:         #ffffff;
  --off-white:     #f8f9fb;
  --gray-50:       #f3f4f6;
  --gray-100:      #e8eaed;
  --gray-200:      #d1d5db;
  --gray-300:      #9ca3af;
  --gray-400:      #6b7280;
  --gray-500:      #4b5563;
  --gray-700:      #374151;
  --gray-900:      #111827;

  /* Typography */
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:    'Georgia', 'Times New Roman', serif;

  --text-xs:       0.75rem;
  --text-sm:       0.875rem;
  --text-base:     1rem;
  --text-md:       1.125rem;
  --text-lg:       1.25rem;
  --text-xl:       1.5rem;
  --text-2xl:      1.875rem;
  --text-3xl:      2.25rem;
  --text-4xl:      3rem;
  --text-5xl:      3.75rem;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;

  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.14);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max:     1180px;
  --header-height:     72px;
  --sidebar-width:     300px;
  --content-gap:       2.5rem;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--gray-700);
  background-color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--orange-dark); }

ul, ol { list-style: none; }

.recent-posts ul {list-style: circle}
.hp-img{border-radius: 14px;  margin: 0 0 4% 0;}
button {
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  background: none;
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--content-gap);
  align-items: start;
  padding-block: var(--space-16);
}

.content-primary { min-width: 0; }
.content-sidebar  { min-width: 0; }

/* ===== DISPLAY UTILITIES ===== */
.d-block  { display: block; }
.d-flex   { display: flex; }
.d-grid   { display: grid; }
.d-none   { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap{ flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ===== SPACING UTILITIES ===== */
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-8  { margin-bottom: var(--space-8); }
.pt-8  { padding-top: var(--space-8); }
.pb-8  { padding-bottom: var(--space-8); }
.py-16 { padding-block: var(--space-16); }

/* ===== TEXT UTILITIES ===== */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-sm      { font-size: var(--text-sm); }
.text-lg      { font-size: var(--text-lg); }
.text-xl      { font-size: var(--text-xl); }
.text-navy    { color: var(--navy); }
.text-orange  { color: var(--orange); }
.text-muted   { color: var(--gray-400); }
.font-medium  { font-weight: var(--weight-medium); }
.font-semibold{ font-weight: var(--weight-semibold); }
.font-bold    { font-weight: var(--weight-bold); }
.uppercase    { text-transform: uppercase; }
.tracking-wide{ letter-spacing: 0.06em; }

/* ===== ACCENT ===== */
.accent { color: var(--orange); }

/* ===== SECTION HELPERS ===== */
.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid rgba(224,123,32,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--navy);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-5);
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-200) 50%, var(--gray-100) 100%);
  margin-block: var(--space-12);
}

.content-section {
  margin-bottom: var(--space-12);
}

.paragraph {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--gray-500);
  margin-bottom: var(--space-5);
}
.paragraph:last-child { margin-bottom: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover    { transform: translateY(-1px); }
.btn:active   { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(224,123,32,0.35);
}

.btn-secondary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27,45,74,0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.btn-sm  { font-size: var(--text-xs); padding: 0.5rem 1rem; }
.btn-lg  { font-size: var(--text-base); padding: 0.875rem 1.875rem; }
.btn-xl  { font-size: var(--text-md); padding: 1rem 2.25rem; }
.btn-full{ width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-6);
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
 width: 350px;
  object-fit: cover;
  max-height: 96px;
  margin-bottom: -31px;
}

.logo-text {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-500);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--gray-50);
}

.nav-link.active {
  color: var(--orange);
  font-weight: var(--weight-semibold);
}

.nav-cta {
  margin-left: var(--space-3);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-toggle:hover { background: var(--gray-50); }

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.open .hamburger:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .hamburger:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .hamburger:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2d5488 100%);
  overflow: hidden;
  padding-top: var(--space-24);
  padding-bottom: calc(var(--space-24) + 40px);
}

/* Geometric background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(224,123,32,0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,123,32,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 60px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-light);
  background: rgba(224,123,32,0.15);
  border: 1px solid rgba(224,123,32,0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, var(--text-5xl));
  font-weight: var(--weight-extrabold);
  color: var(--white);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero-title .accent { color: var(--orange-light); }

.hero-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.75);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 50px; }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding-block: var(--space-10);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid var(--gray-100);
  animation-delay: var(--delay, 0s);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--gray-400);
  font-weight: var(--weight-medium);
}

/* ===== FEATURE CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(224,123,32,0.2);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-pale);
  border-radius: var(--radius-lg);
  color: var(--orange);
  margin-bottom: var(--space-5);
}
.card-icon svg { width: 22px; height: 22px; }

.card-title {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.card-text {
  font-size: var(--text-sm);
  color: var(--gray-400);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.card-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.card-link:hover { gap: var(--space-2); color: var(--orange-dark); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  margin-top: var(--space-8);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,123,32,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.cta-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--white);
  line-height: var(--leading-snug);
}

.cta-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  max-width: 460px;
  line-height: var(--leading-relaxed);
}

/* ===== SIDEBAR ===== */
.content-sidebar {  display: flex;  flex-direction: column;  gap: var(--space-6);  position: sticky;  top: calc(var(--header-height) + var(--space-6));  max-height: calc(100vh - var(--header-height) - var(--space-12));  overflow-y: auto;  scrollbar-width: thin;  scrollbar-color: var(--gray-200) transparent;}

/* Box Component */
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}

.box-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--orange);
}
.box-title svg { color: var(--orange); flex-shrink: 0; }

/* Recent Posts List */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.recent-post-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--gray-100);
}
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.recent-post-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--navy);
  line-height: var(--leading-snug);
  transition: color var(--transition-fast);
}
.recent-post-link:hover { color: var(--orange); }

.recent-post-date {
  font-size: var(--text-xs);
  color: var(--gray-300);
}

.box-empty-note {
  font-size: var(--text-sm);
  color: var(--gray-300);
  font-style: italic;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-lg);
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.partner-placeholder {
  height: 56px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.partner-placeholder:hover {
  background: var(--orange-pale);
  border-color: rgba(224,123,32,0.3);
}

/* Box Links */
.box-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.box-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--gray-500);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.box-link::after {
  content: '→';
  font-size: var(--text-xs);
  color: var(--gray-300);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.box-link:hover {
  background: var(--orange-pale);
  color: var(--orange);
}
.box-link:hover::after {
  color: var(--orange);
  transform: translateX(3px);
}

/* Box Notes */
.box-note {
  font-size: var(--text-xs);
  color: var(--gray-300);
  line-height: var(--leading-relaxed);
}

/* Highlight Box */
.sidebar-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.sidebar-highlight::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,123,32,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.box-title--light {
  color: var(--white);
  border-bottom-color: var(--orange);
}
.box-title--light svg { color: var(--orange-light); }

.box-body--light {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

/* ===== SITE MAIN ===== */
.site-main {
  background: var(--off-white);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
}

.footer-top {
  padding-block: var(--space-16);
  max-width: 570px;
  margin: 0% auto;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer-col {}

.footer-brand {}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo-img {
 width: 555px;
  filter: brightness(0) invert(1) opacity(0.9);
  object-fit: cover;
  max-height: 150px;
  margin: -4% auto;
}

.footer-logo-text {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--white);
}

.footer-tagline {
  font-size: 1.4em;
  color: var(--orange-light);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.footer-about {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: var(--leading-relaxed);
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: block;
}

.footer-link:hover {
  color: var(--orange-light);
  padding-left: var(--space-2);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: var(--space-6);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.3);
}

.footer-domain {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.25);
  font-style: italic;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding-block: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(224,123,32,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero-title {
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  font-weight: var(--weight-extrabold);
  color: var(--white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-5);
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ===== CARD COMPONENTS (general) ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: var(--text-sm);
}

.card-body {
  padding: var(--space-6);
}

.card-category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: var(--space-3);
}

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }

/* ===== BADGES / TAGS ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.badge-orange { background: var(--orange-pale); color: var(--orange-dark); }
.badge-navy   { background: rgba(27,45,74,0.08); color: var(--navy); }
.badge-gray   { background: var(--gray-100); color: var(--gray-500); }

/* ===== DIVIDERS ===== */
.divider       { height: 1px; background: var(--gray-100); }
.divider-thick { height: 3px; background: var(--orange); width: 48px; }

/* ===== ALERTS / NOTICES ===== */
.notice {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.notice-info    { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }
.notice-success { background: #f0fdf4; border-color: #22c55e; color: #15803d; }
.notice-warning { background: var(--orange-pale); border-color: var(--orange); color: var(--orange-dark); }

/* ===== TOAST NOTIFICATIONS ===== */
#toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 9999;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--navy);
  color: var(--white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  animation: toastIn var(--transition-base) ease forwards;
}

.toast-success { border-left: 4px solid #22c55e; }
.toast-error   { border-left: 4px solid #ef4444; }
.toast-warning { border-left: 4px solid var(--orange); }
.toast-info    { border-left: 4px solid #3b82f6; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.modal-overlay.open { opacity: 1; }

.modal {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  max-width: 560px;
  width: 100%;
  padding: var(--space-10);
  transform: scale(0.96) translateY(8px);
  transition: transform var(--transition-base);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

/* ===== FORMS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--navy);
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--gray-700);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224,123,32,0.15);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: var(--text-xs);
  color: #ef4444;
  margin-top: var(--space-1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* ── 1024px ── */
@media (max-width: 1024px) {
  :root { --sidebar-width: 260px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* ── 768px ── */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-24: 4rem;
    --space-16: 3rem;
  }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-5) var(--space-6) var(--space-8);
    box-shadow: var(--shadow-lg);
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
    z-index: 99;
  }

  .site-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list { flex-direction: column; gap: var(--space-1); }
  .nav-link { padding: var(--space-3) var(--space-4); }
  .nav-cta  { margin-left: 0; margin-top: var(--space-4); text-align: center; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }

  /* Sidebar */
  .content-sidebar { grid-template-columns: 1fr; }

  /* Grids */
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* CTA banner */
  .cta-banner-inner { padding: var(--space-8) var(--space-6); }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }

  .hero-title { letter-spacing: -0.01em; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .cards-grid { grid-template-columns: 1fr; }

  #toast-container { left: var(--space-4); right: var(--space-4); }
  .toast { min-width: unset; width: 100%; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .hero-wave, #toast-container, .nav-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
