/* ============================================================
   JAMSON GROUP — Corporate Website Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-navy: #0B1D3A;
  --color-navy-light: #132B52;
  --color-navy-dark: #071428;
  --color-teal: #1A5E63;
  --color-teal-light: #237A80;
  --color-teal-dark: #134548;
  --color-gold: #C4A35A;
  --color-gold-light: #D4B86F;
  --color-gold-dark: #A88B45;
  --color-warm-white: #FAF8F5;
  --color-off-white: #F0EDE8;
  --color-soft-gray: #6B7280;
  --color-medium-gray: #9CA3AF;
  --color-light-border: #E5E1DB;
  --color-dark-border: #2A3A54;
  --color-white: #FFFFFF;
  --color-black: #111111;
  --color-success: #2E7D4F;
  --color-error: #C0392B;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-text: 720px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 8px 30px rgba(11, 29, 58, 0.1);
  --shadow-xl: 0 16px 50px rgba(11, 29, 58, 0.12);
  --shadow-card: 0 2px 16px rgba(11, 29, 58, 0.06);
  --shadow-card-hover: 0 8px 40px rgba(11, 29, 58, 0.12);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-smooth: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-header: 1000;
  --z-mobile-menu: 1100;
  --z-overlay: 900;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-navy);
  background-color: var(--color-warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-teal-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--color-gold);
  color: var(--color-white);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 {
  font-size: var(--text-6xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-soft-gray);
  max-width: 65ch;
}

.text-display {
  font-family: var(--font-display);
}

.text-serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.text-label {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.text-subtitle {
  font-size: var(--text-lg);
  color: var(--color-soft-gray);
  font-weight: 400;
  line-height: 1.6;
}

.text-large {
  font-size: var(--text-xl);
  line-height: 1.6;
}

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

.text-navy {
  color: var(--color-navy);
}

.text-white {
  color: var(--color-white);
}

.text-gold {
  color: var(--color-gold);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--text {
  max-width: var(--container-text);
}

section {
  padding: var(--space-5xl) 0;
}

.section--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy h5,
.section--navy h6 {
  color: var(--color-white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.7);
}

.section--off-white {
  background-color: var(--color-off-white);
}

.section--teal {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: var(--color-white);
}

.section--teal p {
  color: rgba(255, 255, 255, 0.8);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 163, 90, 0.3);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

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

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

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

.btn--teal:hover {
  background-color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 94, 99, 0.3);
}

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

.btn--navy:hover {
  background-color: var(--color-navy-light);
  border-color: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 29, 58, 0.3);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-teal);
  padding: 0;
  border: none;
  font-weight: 600;
}

.btn--ghost:hover {
  color: var(--color-gold);
}

.btn--ghost .btn-arrow {
  transition: transform var(--transition-fast);
}

.btn--ghost:hover .btn-arrow {
  transform: translateX(4px);
}

.btn--lg {
  padding: 1.05rem 2.5rem;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-md) 0;
  box-shadow: 0 1px 8px rgba(11, 29, 58, 0.06);
}

.site-header.scrolled .nav-link {
  color: var(--color-navy);
}

.site-header.scrolled .logo-text {
  color: var(--color-navy);
}

.site-header.scrolled .logo-sub {
  color: var(--color-soft-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.logo-emblem {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-emblem svg {
  width: 100%;
  height: 100%;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
}

.logo-sub {
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
  margin-top: 1px;
}

.site-header.scrolled .logo-sub {
  color: var(--color-gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
}

/* Header for pages with light backgrounds */
.header--light .nav-link {
  color: var(--color-navy);
}

.header--light .logo-text {
  color: var(--color-navy);
}

.header--light .logo-sub {
  color: var(--color-gold);
}

.header--light .hamburger-line {
  background-color: var(--color-navy);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
  background: none;
  border: none;
  z-index: calc(var(--z-mobile-menu) + 10);
  position: relative;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-white);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-white);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-navy);
  z-index: var(--z-mobile-menu);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  padding: var(--space-3xl);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .mobile-nav-link {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-fast);
  opacity: 0;
  transform: translateY(20px);
}

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

.mobile-menu .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu .mobile-nav-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu .mobile-nav-link:hover {
  color: var(--color-gold);
}

.mobile-menu .mobile-nav-cta {
  margin-top: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  transition-delay: 0.4s;
}

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

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 29, 58, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 58, 0.92) 0%,
    rgba(11, 29, 58, 0.75) 50%,
    rgba(26, 94, 99, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-top: var(--space-5xl);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-label-line {
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
}

.hero-label-text {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero h1 .hero-highlight {
  color: var(--color-gold);
  display: block;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-gold-light);
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero decorative elements */
.hero-decor {
  position: absolute;
  z-index: 1;
}

.hero-decor--lines {
  right: 10%;
  bottom: 15%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(196, 163, 90, 0.15);
  border-radius: var(--radius-lg);
}

.hero-decor--circle {
  right: 8%;
  top: 25%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(196, 163, 90, 0.08);
}

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--space-5xl) + 80px) 0 var(--space-4xl);
  background-color: var(--color-navy);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 29, 58, 0.95) 0%,
    rgba(11, 29, 58, 0.85) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

.page-hero .text-label {
  margin-bottom: var(--space-md);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: var(--text-sm);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .breadcrumb-current {
  color: var(--color-gold);
}

/* ---------- Stats Section ---------- */
.stats-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-light-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 1px;
  background-color: var(--color-light-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-number .stat-suffix {
  font-size: var(--text-3xl);
  color: var(--color-gold);
}

.stat-label {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-soft-gray);
  letter-spacing: 0.03em;
}

/* ---------- Introduction Section ---------- */
.intro-section {
  padding: var(--space-5xl) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.intro-content {
  max-width: 520px;
}

.intro-content h2 {
  margin-bottom: var(--space-lg);
}

.intro-content p {
  margin-bottom: var(--space-lg);
}

.intro-image {
  position: relative;
}

.intro-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.intro-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.intro-image-accent {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  background-color: var(--color-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  padding: var(--space-lg);
  text-align: center;
}

.intro-image-accent-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .text-label {
  margin-bottom: var(--space-md);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  margin: 0 auto;
}

.section-divider {
  width: 50px;
  height: 3px;
  background-color: var(--color-gold);
  margin: var(--space-lg) 0;
  border-radius: 2px;
}

.section-header--center .section-divider {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Entity Cards ---------- */
.entities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.entity-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid var(--color-light-border);
}

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

.entity-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.entity-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.entity-card:hover .entity-card-image img {
  transform: scale(1.05);
}

.entity-card-number {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.entity-card-body {
  padding: var(--space-2xl);
}

.entity-card-category {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}

.entity-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.entity-card-desc {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.entity-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.entity-card-link:hover {
  color: var(--color-gold);
  gap: var(--space-md);
}

/* ---------- Ecosystem Section ---------- */
.ecosystem-section {
  padding: var(--space-5xl) 0;
  background-color: var(--color-navy);
  overflow: hidden;
}

.ecosystem-visual {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  box-shadow: 0 0 60px rgba(196, 163, 90, 0.3);
}

.ecosystem-center-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.ecosystem-center-sub {
  font-size: var(--text-xs);
  color: var(--color-navy);
  opacity: 0.7;
  margin-top: 4px;
}

.ecosystem-node {
  position: absolute;
  width: 160px;
  text-align: center;
  z-index: 5;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.ecosystem-node:hover {
  transform: scale(1.08);
}

.ecosystem-node-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  transition: all var(--transition-base);
  font-size: var(--text-lg);
}

.ecosystem-node:hover .ecosystem-node-dot {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.ecosystem-node-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.ecosystem-node-desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), opacity var(--transition-base);
  opacity: 0;
}

.ecosystem-node:hover .ecosystem-node-desc {
  max-height: 80px;
  opacity: 1;
}

/* Node positions */
.ecosystem-node--1 {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}
.ecosystem-node--1:hover {
  transform: translateX(-50%) scale(1.08);
}

.ecosystem-node--2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.ecosystem-node--2:hover {
  transform: translateY(-50%) scale(1.08);
}

.ecosystem-node--3 {
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}
.ecosystem-node--3:hover {
  transform: translateX(-50%) scale(1.08);
}

.ecosystem-node--4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.ecosystem-node--4:hover {
  transform: translateY(-50%) scale(1.08);
}

/* Connecting lines using SVG */
.ecosystem-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ecosystem-lines svg {
  width: 100%;
  height: 100%;
}

.ecosystem-line {
  stroke: rgba(196, 163, 90, 0.2);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 6 4;
}

/* Orbit rings */
.ecosystem-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ecosystem-orbit--1 {
  width: 55%;
  height: 55%;
}

.ecosystem-orbit--2 {
  width: 80%;
  height: 80%;
}

/* ---------- Philosophy Section ---------- */
.philosophy-section {
  position: relative;
  padding: var(--space-5xl) 0;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.philosophy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 58, 0.92) 0%,
    rgba(26, 94, 99, 0.88) 100%
  );
}

.philosophy-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.philosophy-content h2 {
  color: var(--color-white);
  font-size: var(--text-5xl);
  line-height: 1.15;
  margin-bottom: var(--space-2xl);
}

.philosophy-content h2 .text-gold {
  color: var(--color-gold);
}

.philosophy-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.philosophy-quote {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.philosophy-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Values Section ---------- */
.values-section {
  padding: var(--space-5xl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-light-border);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background-color: var(--color-off-white);
  color: var(--color-teal);
  transition: all var(--transition-base);
}

.value-card:hover .value-icon {
  background-color: var(--color-gold);
  color: var(--color-navy);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
  margin: 0 auto;
}

/* ---------- Why Section ---------- */
.why-section {
  padding: var(--space-5xl) 0;
  background-color: var(--color-off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.why-card {
  padding: var(--space-2xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-border);
  transition: all var(--transition-base);
}

.why-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--color-gold);
}

.why-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.why-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.why-card p {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
}

/* ---------- Timeline Section ---------- */
.timeline-section {
  padding: var(--space-5xl) 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--color-gold),
    var(--color-teal),
    var(--color-gold)
  );
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-3xl);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: 3px solid var(--color-warm-white);
  box-shadow: 0 0 0 3px var(--color-gold);
  z-index: 2;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
  max-width: 100%;
}

.timeline-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
}

/* ---------- About Page ---------- */
.about-story {
  padding: var(--space-5xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-md);
}

.about-vision-mission {
  padding: var(--space-5xl) 0;
  background-color: var(--color-navy);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.vm-card {
  padding: var(--space-2xl);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
}

.vm-card h3 {
  color: var(--color-gold);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.vm-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  max-width: 100%;
}

.about-what-we-do {
  padding: var(--space-5xl) 0;
}

.about-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.about-how-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-border);
  transition: all var(--transition-base);
}

.about-how-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.about-how-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-off-white);
  color: var(--color-teal);
}

.about-how-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.about-how-card h4 {
  font-family: var(--font-display);
  margin-bottom: var(--space-sm);
}

.about-how-card p {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
  margin: 0 auto;
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: var(--space-5xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
}

.contact-info {
  padding-right: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  margin-bottom: var(--space-2xl);
}

.contact-detail {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.contact-detail-content h5 {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.contact-detail-content p {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
  margin: 0;
}

.contact-detail-content a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-detail-content a:hover {
  color: var(--color-gold);
}

.contact-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* Contact Form */
.contact-form-wrap {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-light-border);
}

.contact-form-wrap h3 {
  margin-bottom: var(--space-xl);
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.form-label .required {
  color: var(--color-error);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-navy);
  background-color: var(--color-warm-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(26, 94, 99, 0.1);
  background-color: var(--color-white);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-medium-gray);
  margin-top: var(--space-md);
  font-style: italic;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background-color: rgba(46, 125, 79, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.form-success h4 {
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.form-success p {
  color: var(--color-soft-gray);
  margin: 0 auto;
}

/* ---------- Map Section ---------- */
.map-section {
  position: relative;
  height: 400px;
  background-color: var(--color-off-white);
  overflow: hidden;
}

.map-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E8E4DF 0%, #D5D0C9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: 
    linear-gradient(rgba(11, 29, 58, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 29, 58, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-roads {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.map-road {
  position: absolute;
  background-color: var(--color-navy);
}

.map-road--h1 {
  top: 30%;
  left: 0;
  right: 0;
  height: 3px;
}

.map-road--h2 {
  top: 60%;
  left: 10%;
  right: 20%;
  height: 2px;
}

.map-road--v1 {
  left: 40%;
  top: 0;
  bottom: 0;
  width: 3px;
}

.map-road--v2 {
  left: 65%;
  top: 15%;
  bottom: 10%;
  width: 2px;
}

.map-road--d1 {
  top: 20%;
  left: 20%;
  width: 200px;
  height: 2px;
  transform: rotate(30deg);
}

.map-pin {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: mapPinBounce 2s infinite;
}

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

.map-pin-marker {
  width: 48px;
  height: 48px;
  background-color: var(--color-teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(26, 94, 99, 0.3);
}

.map-pin-marker-inner {
  width: 16px;
  height: 16px;
  background-color: var(--color-white);
  border-radius: 50%;
  transform: rotate(45deg);
}

.map-pin-label {
  background-color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.map-pin-label-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-navy);
}

.map-pin-label-sub {
  font-size: var(--text-xs);
  color: var(--color-soft-gray);
}

/* ---------- Entity Detail Pages ---------- */
.entity-overview {
  padding: var(--space-5xl) 0;
}

.entity-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.entity-overview-content h2 {
  margin-bottom: var(--space-lg);
}

.entity-overview-content p {
  margin-bottom: var(--space-md);
}

.entity-features {
  padding: var(--space-5xl) 0;
  background-color: var(--color-off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-border);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background-color: var(--color-off-white);
  color: var(--color-teal);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
}

.entity-strengths {
  padding: var(--space-5xl) 0;
}

.strengths-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  border: 1px solid var(--color-light-border);
}

.strength-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.strength-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2.5;
}

.strength-item p {
  font-size: var(--text-sm);
  color: var(--color-navy);
  margin: 0;
  font-weight: 500;
}

.entity-audience {
  padding: var(--space-5xl) 0;
  background-color: var(--color-off-white);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.audience-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-border);
}

.audience-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-off-white);
  color: var(--color-gold);
}

.audience-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.audience-card h5 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.audience-card p {
  font-size: var(--text-xs);
  color: var(--color-soft-gray);
  margin: 0;
}

.entity-cta-section {
  padding: var(--space-5xl) 0;
  background-color: var(--color-navy);
  text-align: center;
}

.entity-cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.entity-cta-section p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto var(--space-2xl);
  max-width: 500px;
}

/* ---------- Legal Pages ---------- */
.legal-section {
  padding: var(--space-5xl) 0;
}

.legal-content {
  max-width: var(--container-text);
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  max-width: 100%;
  margin-bottom: var(--space-md);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.legal-content ul li {
  font-size: var(--text-sm);
  color: var(--color-soft-gray);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.legal-content a {
  color: var(--color-teal);
}

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

.legal-update {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  font-style: italic;
  margin-bottom: var(--space-2xl);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-5xl);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-4xl);
  border-bottom: 1px solid var(--color-dark-border);
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: var(--text-2xl);
}

.footer-brand .logo-sub {
  color: var(--color-gold);
  font-size: var(--text-xs);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-top: var(--space-lg);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 2px 0;
}

.footer-link:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-contact-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  color: var(--color-gold);
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.footer-social-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

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

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="500"] { transition-delay: 0.5s; }

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-animate:nth-child(1) { animation-delay: 0.2s; }
.hero-animate:nth-child(2) { animation-delay: 0.4s; }
.hero-animate:nth-child(3) { animation-delay: 0.6s; }
.hero-animate:nth-child(4) { animation-delay: 0.8s; }
.hero-animate:nth-child(5) { animation-delay: 1s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse glow for ecosystem center */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 40px rgba(196, 163, 90, 0.2);
  }
  50% {
    box-shadow: 0 0 80px rgba(196, 163, 90, 0.4);
  }
}

.ecosystem-center {
  animation: pulseGlow 3s infinite;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-animate {
    opacity: 1;
    transform: none;
  }

  .map-pin {
    animation: none;
  }
}

/* ---------- Focus States ---------- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background-color: var(--color-gold);
  color: var(--color-navy);
  padding: var(--space-sm) var(--space-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ---------- Responsive Design ---------- */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  section {
    padding: var(--space-4xl) 0;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .intro-image {
    order: -1;
  }

  .entities-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .about-how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strengths-list {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile navigation trigger */
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .ecosystem-visual {
    max-width: 500px;
  }

  .ecosystem-node {
    width: 130px;
  }

  .ecosystem-center {
    width: 140px;
    height: 140px;
  }

  .ecosystem-center-title {
    font-size: var(--text-base);
  }

  .entity-overview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --text-6xl: 2.25rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }

  section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding-top: calc(var(--space-4xl) + 40px);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-decor--lines,
  .hero-decor--circle {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  .stat-item {
    padding: var(--space-md);
  }

  .intro-image-accent {
    width: 140px;
    height: 140px;
    bottom: -15px;
    left: -15px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-right: 0;
    padding-left: 60px;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }

  .about-how-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-hero {
    padding: calc(var(--space-4xl) + 60px) 0 var(--space-2xl);
  }

  /* Ecosystem mobile layout */
  .ecosystem-visual {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    max-width: 100%;
    padding: var(--space-xl) 0;
  }

  .ecosystem-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 150px;
    height: 150px;
  }

  .ecosystem-node {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 300px;
    padding: var(--space-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ecosystem-node:hover {
    transform: none !important;
    background-color: rgba(255, 255, 255, 0.08);
  }

  .ecosystem-node-desc {
    max-height: 80px;
    opacity: 1;
  }

  .ecosystem-lines,
  .ecosystem-orbit {
    display: none;
  }

  .ecosystem-node-dot {
    width: 44px;
    height: 44px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --text-6xl: 1.875rem;
    --text-5xl: 1.625rem;
    --text-4xl: 1.5rem;
  }

  .hero-tagline {
    font-size: var(--text-lg);
  }

  .hero-description {
    font-size: var(--text-base);
  }

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

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

  .logo-text {
    font-size: var(--text-lg);
  }

  .logo-sub {
    font-size: 0.5625rem;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .hamburger,
  .mobile-menu,
  .hero-decor,
  .btn,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}
