/* =====================================================
   JOSÉ RAÚL MULINO — PRESIDENTIAL WEBSITE
   Premium Corporate-Government Aesthetic
   ===================================================== */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette */
  --navy:       #0a1628;
  --navy-mid:   #11243e;
  --navy-light: #1a3356;
  --gold:       #c9a84c;
  --gold-light: #e4c96a;
  --gold-dark:  #a8883a;
  --red:        #b22234;
  --red-soft:   #d4445a;
  --silver:     #c0c5ce;
  --silver-light:#e4e7ec;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --text-dark:  #1a1f2e;
  --text-body:  #3d4455;
  --text-muted: #6b7280;
  --glass-bg:   rgba(255,255,255,0.06);
  --glass-border:rgba(255,255,255,0.12);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Manrope', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1280px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Utility ---------- */
.container { width: 92%; max-width: var(--container); margin: 0 auto; }
.section-pad { padding: var(--section-pad) 0; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-white { background: var(--white); }
.bg-off { background: var(--off-white); }

/* ---------- Scroll Reveal ---------- */
.sr { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.sr.visible { opacity: 1; transform: translateY(0); }
.sr-delay-1 { transition-delay: 0.1s; }
.sr-delay-2 { transition-delay: 0.2s; }
.sr-delay-3 { transition-delay: 0.3s; }
.sr-delay-4 { transition-delay: 0.4s; }
.sr-delay-5 { transition-delay: 0.5s; }

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.bg-navy .section-heading { color: var(--white); }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}
.bg-navy .section-sub { color: var(--silver); }

/* =====================================================
   PASSCODE GATE
   ===================================================== */
.gate-wrapper {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}
.gate-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(178,34,52,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0a1628 0%, #11243e 100%);
}
.gate-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gate-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFade 6s infinite ease-in-out;
}
@keyframes particleFade {
  0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
  50% { opacity: 0.6; transform: translateY(-80px) scale(1.5); }
}
.gate-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.gate-coat {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: coatPulse 3s infinite ease-in-out;
}
@keyframes coatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.3); }
  50% { box-shadow: 0 0 0 16px rgba(201,168,76,0); }
}
.gate-coat svg { width: 36px; height: 36px; fill: var(--gold); }
.gate-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 6px;
}
.gate-subtitle {
  font-size: 0.85rem;
  color: var(--silver);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.gate-input-group {
  position: relative;
  max-width: 380px;
  margin: 0 auto 16px;
}
.gate-input-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  text-align: left;
}
.gate-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 4px;
  text-align: center;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.gate-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.gate-input::placeholder { color: rgba(255,255,255,0.25); letter-spacing: 2px; }
.gate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.gate-error {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--red-soft);
  opacity: 0;
  transition: opacity 0.3s;
}
.gate-error.show { opacity: 1; }
.gate-wrapper.success {
  animation: gateOut 0.8s var(--ease-in-out) forwards;
}
@keyframes gateOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); pointer-events: none; }
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 0 4%;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.site-header.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.site-header.scrolled .header-inner { height: 64px; }
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-icon {
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.logo-text span {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 9999;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 600;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* =====================================================
   HERO SECTIONS
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.92) 0%,
    rgba(10,22,40,0.75) 40%,
    rgba(10,22,40,0.6) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 680px;
}
.hero h2 em {
  font-style: italic;
  color: var(--gold);
}
.hero-text {
  font-size: 1.1rem;
  color: var(--silver);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: border-color 0.3s, background 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* Page Hero (shorter) */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}
.page-hero .hero-bg img {
  object-position: top center;
}
.page-hero .hero-overlay {
  background: linear-gradient(0deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.78) 50%, rgba(10,22,40,0.65) 100%);
}
.page-hero .hero-content {
  padding: 100px 0 60px;
}
.page-hero h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
}
.page-hero h2 em {
  color: var(--gold);
}
.page-hero .hero-label {
  color: var(--gold);
}
.page-hero .hero-text {
  color: var(--silver);
}

/* =====================================================
   HOME-SPECIFIC SECTIONS
   ===================================================== */

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,22,40,0.15);
}
.intro-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
}
.intro-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}
.intro-text .section-heading { margin-bottom: 16px; }
.intro-text p {
  margin-bottom: 16px;
  color: var(--text-body);
  line-height: 1.85;
}
.intro-text p:last-of-type { margin-bottom: 28px; }

/* Priorities Cards */
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.priority-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 30px;
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
  border: 1px solid rgba(10,22,40,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.priority-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: left;
}
.priority-card:hover::before { transform: scaleX(1); }
.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,22,40,0.1);
}
.priority-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.priority-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.priority-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.priority-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Metrics */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metric-item {
  padding: 48px 30px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.metric-item:last-child { border-right: none; }
.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
}

/* Quote */
.quote-section {
  position: relative;
  padding: var(--section-pad) 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
  overflow: hidden;
}
.quote-section::before {
  content: '"';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 12rem;
  color: rgba(201,168,76,0.06);
  line-height: 1;
}
.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.5;
  font-style: italic;
  position: relative;
}
.quote-attr {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Latest Updates */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.update-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}
.update-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,22,40,0.12);
}
.update-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
}
.update-card-body {
  padding: 24px;
}
.update-card-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.update-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.update-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0f1f38 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.cta-banner .section-heading { color: var(--white); }
.cta-banner .section-sub { margin: 0 auto 32px; color: var(--silver); }

/* =====================================================
   ABOUT PAGE — TIMELINE
   ===================================================== */
.timeline {
  position: relative;
  padding: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201,168,76,0.15));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--off-white);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
}
.timeline-content {
  width: 45%;
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
  border: 1px solid rgba(10,22,40,0.04);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(odd) { flex-direction: column; padding-left: 50px; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: 100%; }
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.value-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); }
.value-card .priority-icon {
  margin: 0 auto 16px;
  background: rgba(201,168,76,0.1);
}
.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.7;
}

/* =====================================================
   GOVERNANCE PAGE
   ===================================================== */
.gov-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.pillar-card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
  border: 1px solid rgba(10,22,40,0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,22,40,0.1);
}
.pillar-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  margin-bottom: 16px;
}
.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.pillar-card .pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-card .pillar-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; }

/* Info Banner */
.info-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,22,40,0.12);
  margin-top: 48px;
}
.info-banner-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: top center;
}
.info-banner-content {
  background: var(--navy);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-banner-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}
.info-banner-content p {
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* =====================================================
   SECURITY PAGE
   ===================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.security-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
  border-left: 4px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
}
.security-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,22,40,0.1);
}
.security-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.security-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =====================================================
   ECONOMY PAGE
   ===================================================== */
.econ-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.econ-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
  border: 1px solid rgba(10,22,40,0.04);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}
.econ-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.econ-card:hover { transform: translateY(-4px); }
.econ-card:hover::after { transform: scaleX(1); }
.econ-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.econ-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Animated Counters */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.counter-box {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
}
.counter-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.counter-label {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* =====================================================
   GALLERY PAGE
   ===================================================== */
.masonry-grid {
  columns: 3;
  column-gap: 20px;
  margin-top: 48px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s;
}
.masonry-item:hover { transform: scale(1.015); }
.masonry-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,22,40,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,22,40,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) { .masonry-grid { columns: 2; } }
@media (max-width: 480px) { .masonry-grid { columns: 1; } }

/* =====================================================
   NEWS PAGE
   ===================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 48px;
}
.news-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,22,40,0.12);
}
.news-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}
.news-card-body {
  padding: 28px;
}
.news-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.news-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.news-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.news-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.3s;
}
.read-more:hover { gap: 10px; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-form {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(10,22,40,0.1);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-detail {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.contact-detail h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-detail a,
.contact-detail p {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
}
.contact-detail a:hover { color: var(--gold); }

/* Map placeholder */
.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 48px;
  box-shadow: 0 4px 24px rgba(10,22,40,0.08);
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--navy);
  color: var(--silver);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  width: 92%;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; fill: var(--white); }
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: var(--gold);
  transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-image img { height: 360px; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: none; }
  .updates-grid { grid-template-columns: 1fr 1fr; }
  .info-banner { grid-template-columns: 1fr; }
  .info-banner-img { min-height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h2 { font-size: 2rem; }
  .hero-content { padding: 100px 0 60px; }
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .updates-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .info-banner-content { padding: 40px 28px; }
  .gov-pillars { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .metrics-strip { grid-template-columns: 1fr; }
  .metric-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .metric-item:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .counter-grid { grid-template-columns: 1fr; }
}

/* ---------- Article Page ---------- */
.article-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px var(--section-pad);
}
.article-wrapper .news-card-tag { margin-bottom: 16px; }
.article-wrapper h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.article-wrapper .news-card-date { margin-bottom: 32px; display: block; }
.article-wrapper p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 20px;
}
.article-wrapper img {
  width: 100%;
  border-radius: 12px;
  margin: 32px 0;
  object-fit: cover;
  object-position: top center;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.back-link:hover { gap: 12px; }

/* Split section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,22,40,0.12);
}
.split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
}
.split-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.split-text p {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .split-section,
  .split-section.reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-img img { height: 300px; }
}

/* Parallax-like background section */
.parallax-section {
  padding: var(--section-pad) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.8);
}
.parallax-section .container { position: relative; z-index: 2; }

@media (max-width: 768px) {
  .parallax-section { background-attachment: scroll; }
}

/* Page transition */
.page-transition {
  animation: pageIn 0.6s var(--ease-out);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
