/* ==========================================================================
   ARC — Atsiri Research Center
   Shared Glassmorphism Stylesheet
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --green-900: #0a2e1a;
  --green-800: #0f3d24;
  --green-700: #145a32;
  --green-600: #1a7042;
  --gold: #d4a843;
  --gold-light: #e8c55a;
  --navy: #0c1a2e;
  --ink: #0a1a10;
  --bg-light: #f8fafc;
  --bg-dark: #0a2e1a;
  --text-dark: #0c1a2e;
  --text-light: #f8fafc;
  --text-muted: rgba(12, 26, 46, 0.65);
  --text-muted-light: rgba(248, 250, 252, 0.72);

  /* Glass */
  --glass-white: rgba(255, 255, 255, 0.65);
  --glass-white-soft: rgba(255, 255, 255, 0.45);
  --glass-dark: rgba(10, 46, 26, 0.4);
  --glass-dark-strong: rgba(10, 46, 26, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-dark: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 10px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px -6px rgba(0, 0, 0, 0.10), 0 20px 48px -12px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;

  /* Layout */
  --nav-h: 72px;
  --container: 1200px;
  --container-wide: 1360px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background:
    radial-gradient(1200px 800px at 10% 0%, rgba(20, 90, 50, 0.08), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(212, 168, 67, 0.06), transparent 55%),
    radial-gradient(900px 600px at 50% 100%, rgba(12, 26, 46, 0.05), transparent 55%),
    var(--bg-light);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(212, 168, 67, 0.3); color: var(--green-900); }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: var(--container-wide); }

.section { position: relative; padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--green-900); color: var(--text-light); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-light { background: var(--bg-light); }

/* Subtle elegant pattern overlay for sections */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(20, 90, 50, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 80% 90%, rgba(212, 168, 67, 0.03) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(12, 26, 46, 0.02) 0%, transparent 45%);
  background-size: 100% 100%;
}
.section-dark::before {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(212, 168, 67, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 45%);
}
.section > .container { position: relative; z-index: 1; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header.left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green-700);
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(20, 90, 50, 0.08);
}
.section-dark .eyebrow {
  color: var(--gold-light);
  background: rgba(232, 197, 90, 0.12);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.section-dark .section-subtitle { color: var(--text-muted-light); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.1875rem; line-height: 1.6; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 90, 50, 0.3);
}
.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 90, 50, 0.35);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-900);
  box-shadow: 0 4px 14px rgba(212, 168, 67, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 67, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(12, 26, 46, 0.18);
}
.btn-outline:hover {
  border-color: var(--green-700);
  color: var(--green-700);
  background: rgba(20, 90, 50, 0.05);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 0, 0, 0.04);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-brand img { height: 40px; width: auto; }
.nav-brand-text {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-light);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.navbar.scrolled .nav-brand-text { color: var(--text-dark); }
.nav-brand-text span { display: block; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}
.navbar.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a:hover { background: rgba(255, 255, 255, 0.1); }
.navbar.scrolled .nav-links a:hover { background: rgba(20, 90, 50, 0.08); }
.nav-links a.active {
  color: var(--gold-light) !important;
  font-weight: 600;
}
.navbar.scrolled .nav-links a.active { color: var(--green-700) !important; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-900);
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 10px rgba(212, 168, 67, 0.25);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled .nav-toggle span { background: var(--text-dark); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text-dark); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text-dark); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 46, 26, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 32px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--gold-light); background: rgba(255, 255, 255, 0.08); }
.mobile-menu a.active { color: var(--gold-light); }
.mobile-menu .nav-cta { margin-top: 16px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(20, 90, 50, 0.5), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(212, 168, 67, 0.15), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(12, 26, 46, 0.4), transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 40%, var(--navy) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle at 85% 60%, rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(circle at 45% 80%, rgba(212,168,67,0.02) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px, 80px 80px;
  opacity: 0.7;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
}
.hero-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 8px 32px rgba(212, 168, 67, 0.3));
  animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero .hero-sub {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero .hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-style: italic;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-icon {
  width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  position: relative;
}
.hero-scroll-icon::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 20px; } }

/* ==========================================================================
   GLASS CARD
   ========================================================================== */
.glass-card {
  background: var(--glass-white);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--ease);
}
.glass-card-dark {
  background: var(--glass-dark);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--ease);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.18), 0 8px 24px -8px rgba(0, 0, 0, 0.12);
}
.section-dark .card-hover:hover {
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 168, 67, 0.15);
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.stat-card {
  padding: 40px 32px;
  text-align: center;
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.section-dark .stat-label { color: var(--text-muted-light); }

/* ==========================================================================
   CARD GRIDS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

.feature-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(20, 90, 50, 0.1), rgba(20, 90, 50, 0.04));
}
.section-dark .feature-icon {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9375rem; color: var(--text-muted); }
.section-dark .feature-card p { color: var(--text-muted-light); }
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-700);
}
.section-dark .feature-tag { color: var(--gold-light); }

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.product-card-body { padding: 0 28px 32px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-card p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 20px; flex: 1; }
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  background: rgba(212, 168, 67, 0.12);
  color: #8a6a10;
  margin-bottom: 16px;
  align-self: flex-start;
}
.section-dark .product-badge { background: rgba(212, 168, 67, 0.15); color: var(--gold-light); }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 24px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(212, 168, 67, 0.1));
}
.timeline-item {
  position: relative;
  padding-left: 72px;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 14px; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--green-900);
  box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.2);
}
.timeline-year {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.timeline-item h4 { font-size: 1.125rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.9375rem; color: var(--text-muted-light); }

/* ==========================================================================
   NEWS / BLOG CARDS
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(135deg, var(--green-800), var(--navy));
}
.news-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.news-card:hover .news-card-img { transform: scale(1.06); }
.news-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.news-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  background: rgba(20, 90, 50, 0.08);
  color: var(--green-700);
  margin-bottom: 12px;
  align-self: flex-start;
}
.news-card h3 { font-size: 1.125rem; margin-bottom: 8px; line-height: 1.35; }
.news-card-excerpt { font-size: 0.875rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-date { font-size: 0.8125rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* Loading spinner */
.news-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px;
  color: var(--text-muted);
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(20, 90, 50, 0.1);
  border-top-color: var(--green-700);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.section-dark .spinner { border-color: rgba(255,255,255,0.1); border-top-color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

/* ==========================================================================
   PAGE HEADER (non-home pages)
   ========================================================================== */
.page-header {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  background: var(--green-900);
  color: #fff;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(20, 90, 50, 0.45), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 168, 67, 0.12), transparent 50%),
    linear-gradient(160deg, var(--green-900), var(--green-800) 50%, var(--navy));
}
.page-header-content { position: relative; z-index: 2; }
.page-header .eyebrow { color: var(--gold-light); background: rgba(232, 197, 90, 0.12); }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.page-header p { font-size: 1.125rem; max-width: 640px; color: rgba(255, 255, 255, 0.8); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ==========================================================================
   TWO-COLUMN LAYOUT
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-content h2 { margin-bottom: 20px; }
.split-content p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 16px; }
.section-dark .split-content p { color: var(--text-muted-light); }
.split-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  position: relative;
  background: var(--green-900);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(212, 168, 67, 0.12), transparent 50%),
    radial-gradient(ellipse at 75% 50%, rgba(20, 90, 50, 0.3), transparent 50%);
}
.cta-banner-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: rgba(255, 255, 255, 0.8); font-size: 1.125rem; margin-bottom: 32px; }
.cta-banner-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   FORM (kontak.html)
   ========================================================================== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 1.5px solid rgba(12, 26, 46, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--green-700);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 90, 50, 0.08);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-control::placeholder { color: rgba(12, 26, 46, 0.35); }
.form-feedback {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.form-feedback.success { display: block; background: rgba(34, 197, 94, 0.1); color: #15803d; border: 1px solid rgba(34, 197, 94, 0.2); }
.form-feedback.error { display: block; background: rgba(239, 68, 68, 0.1); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.2); }

/* ==========================================================================
   CONTACT INFO CARDS
   ========================================================================== */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 48px; }
.contact-info-card { padding: 28px 24px; }
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(20, 90, 50, 0.12), rgba(20, 90, 50, 0.04));
}
.contact-info-card h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px; }
.contact-info-card p { font-size: 1rem; font-weight: 600; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.6; max-width: 280px; }
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s var(--ease);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: rgba(212, 168, 67, 0.15); border-color: rgba(212, 168, 67, 0.3); }
.footer-social svg { width: 18px; height: 18px; fill: rgba(255, 255, 255, 0.7); }
.footer-social a:hover svg { fill: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   ANIMATIONS (IntersectionObserver)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   ENHANCED EFFECTS — Aurora, Leaf Pattern & Stronger Glass
   ========================================================================== */

/* Aurora flowing background on hero & page headers */
.hero::before,
.page-header::before {
  animation: auroraFlow 14s ease-in-out infinite alternate;
}
@keyframes auroraFlow {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(-2%, 2%) rotate(2deg) scale(1.03); }
  66% { transform: translate(2%, -1%) rotate(-1deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* Subtle Nilam leaf pattern overlay */
.leaf-pattern {
  position: relative;
}
.leaf-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23145a32' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 20c12 6 22 20 22 38 0 18-10 32-22 38-12-6-22-20-22-38 0-18 10-32 22-38z' opacity='.6'/%3E%3Cpath d='M60 30c8 5 15 15 15 28 0 13-7 23-15 28-8-5-15-15-15-28 0-13 7-23 15-28z'/%3E%3Cpath d='M60 20v86'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23145a32' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 20c12 6 22 20 22 38 0 18-10 32-22 38-12-6-22-20-22-38 0-18 10-32 22-38z' opacity='.6'/%3E%3Cpath d='M60 30c8 5 15 15 15 28 0 13-7 23-15 28-8-5-15-15-15-28 0-13 7-23 15-28z'/%3E%3Cpath d='M60 20v86'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.section > .container { position: relative; z-index: 2; }

/* Stronger glassmorphism on cards */
.glass-card,
.glass-card-dark,
.stat-card {
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 20px 40px -10px rgba(0, 0, 0, 0.12),
    0 8px 24px -8px rgba(0, 0, 0, 0.08);
}
.glass-card-dark {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 24px 48px -12px rgba(0, 0, 0, 0.25),
    0 8px 24px -8px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { min-height: 40vh; }
  .nav-brand-text span { display: none; }
  .cta-banner-group { flex-direction: column; }
  .cta-banner-group .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-logo { width: 80px; height: 80px; }
  .stat-card { padding: 28px 20px; }
}

/* Print */
@media print {
  .navbar, .nav-toggle, .mobile-menu, .hero-scroll, .footer-social { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
