/* ============================================
   Design System — H.E. Abdullah bin Muhair Al Ketbi
   Deep Obsidian / Sovereign Gold / Midnight
   Military-Institutional Premium
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #05080f;
  --bg-secondary: #0a0f1a;
  --bg-tertiary: #0d1424;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-alt: #070c16;

  --accent: #c4a956;
  --accent-dim: rgba(196, 169, 86, 0.7);
  --accent-glow: rgba(196, 169, 86, 0.15);
  --accent-warm: #d4b96e;
  --accent-deep: #9a8040;
  --accent-silver: #b2bec3;
  --accent-bronze: #cd7f32;

  --text-100: #ffffff;
  --text-90: rgba(255, 255, 255, 0.9);
  --text-70: rgba(255, 255, 255, 0.7);
  --text-50: rgba(255, 255, 255, 0.5);
  --text-35: rgba(255, 255, 255, 0.35);
  --text-20: rgba(255, 255, 255, 0.2);

  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(196, 169, 86, 0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-blur: blur(30px) saturate(1.2);

  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 40px 100px rgba(0, 0, 0, 0.5);

  --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-70);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner {
  width: 44px;
  height: 44px;
  border: 2.5px solid rgba(196, 169, 86, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ========== NAVIGATION ========== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s;
  background: transparent;
}

.main-nav.scrolled {
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(25px) saturate(1.2);
  -webkit-backdrop-filter: blur(25px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-logo-accent {
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-50);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  transition: all 0.3s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-100);
  background: rgba(196, 169, 86, 0.08);
}

.nav-links a.active {
  color: var(--accent);
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-70);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== SECTIONS ========== */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-primary) 100%);
}

.section-header {
  margin-bottom: 4rem;
}

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

.section-label {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-50);
  margin-top: 1rem;
  max-width: 600px;
  line-height: 1.7;
}

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

.gold-rule {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: 3px;
  margin-top: 1.2rem;
}

.gold-rule-center {
  margin-left: auto;
  margin-right: auto;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background:
    radial-gradient(ellipse at 30% 40%, rgba(196, 169, 86, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(154, 128, 64, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(196, 169, 86, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 3rem 0;
}

.hero-content {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.hero-pretitle {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-pretitle::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-100);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-name-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-size: 0.92rem;
  color: var(--text-50);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-tagline {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-dim);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hero-stat {
  text-align: center;
  padding: 1.2rem 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.hero-stat:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.hero-stat-value {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-35);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Image */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-elevated), 0 0 80px rgba(196, 169, 86, 0.05);
}

.hero-image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.hero-image-ornament {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(5, 8, 15, 0.7), transparent);
  pointer-events: none;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.35s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196, 169, 86, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.35s;
}

.btn-secondary:hover {
  background: rgba(196, 169, 86, 0.06);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-primary svg,
.btn-secondary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ========== GLASS CARDS ========== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 169, 86, 0.25), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(196, 169, 86, 0.04);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(196, 169, 86, 0.12), rgba(154, 128, 64, 0.08));
  border: 1px solid rgba(196, 169, 86, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.card-icon-warm {
  background: linear-gradient(135deg, rgba(212, 185, 110, 0.12), rgba(205, 127, 50, 0.08));
  border-color: rgba(212, 185, 110, 0.18);
}

.card-icon-warm svg {
  stroke: var(--accent-warm);
}

.card-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 0.88rem;
  color: var(--text-50);
  line-height: 1.7;
}

/* ========== GRID LAYOUTS ========== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-item-large {
  grid-column: span 2;
}

.bento-item-tall {
  grid-row: span 2;
}

/* ========== PULL QUOTE ========== */
.pull-quote {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-90);
  line-height: 1.7;
  padding: 2.5rem 3rem;
  background: var(--glass-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  color: rgba(196, 169, 86, 0.15);
  font-style: normal;
  line-height: 1;
}

.pull-quote-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.2rem;
  font-style: normal;
}

/* ========== TIMELINE ========== */
.h-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.h-timeline-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all 0.3s;
  position: relative;
}

.h-timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.h-timeline-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.h-timeline-card:hover::before { opacity: 1; }

.h-timeline-year {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}

.h-timeline-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 0.5rem;
}

.h-timeline-text {
  font-size: 0.84rem;
  color: var(--text-50);
  line-height: 1.6;
}

/* ========== VERTICAL TIMELINE ========== */
.v-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.v-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep), transparent);
}

.v-timeline-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.v-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(196, 169, 86, 0.2);
}

.v-timeline-year {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.v-timeline-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 0.5rem;
}

.v-timeline-text {
  font-size: 0.88rem;
  color: var(--text-50);
  line-height: 1.7;
}

/* ========== ACCORDION ========== */
.accordion-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: all 0.3s;
}

.accordion-item.active {
  border-color: var(--border-accent);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-header-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-90);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-50);
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  stroke: var(--accent);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body-inner {
  padding: 0 1.8rem 1.8rem;
  font-size: 0.88rem;
  color: var(--text-50);
  line-height: 1.7;
}

/* ========== TABS ========== */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-50);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  color: var(--text-100);
  background: var(--bg-card-hover);
}

.tab-btn.active {
  color: var(--accent);
  background: rgba(196, 169, 86, 0.08);
  border-color: var(--border-accent);
}

.tab-pane {
  display: none;
  animation: fadeInUp 0.5s both;
}

.tab-pane.active {
  display: block;
}

/* ========== KPI / STATS ========== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kpi-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all 0.4s;
}

.kpi-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(196, 169, 86, 0.04);
}

.kpi-value {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.kpi-label {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  color: var(--text-35);
  margin-top: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== INFO STRIP ========== */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.info-strip-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-primary);
}

.info-strip-value {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-warm);
  letter-spacing: -0.02em;
}

.info-strip-label {
  font-size: 0.72rem;
  color: var(--text-35);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== SPLIT LAYOUT ========== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout-reverse {
  direction: rtl;
}

.split-layout-reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-card);
}

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

/* ========== PROGRESS BARS ========== */
.progress-row {
  margin-bottom: 1.4rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.progress-label span:first-child {
  color: var(--text-70);
}

.progress-label span:last-child {
  color: var(--accent);
  font-weight: 600;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== FOOTER ========== */
.main-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-text {
  font-size: 0.82rem;
  color: var(--text-35);
  line-height: 1.7;
  margin-top: 0.5rem;
  max-width: 320px;
}

.footer-contact-block {
  margin-top: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-50);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.footer-heading {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-35);
  transition: color 0.3s;
}

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

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-100);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--border-accent);
}

.newsletter-input::placeholder {
  color: var(--text-20);
}

.newsletter-btn {
  padding: 0.75rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-primary);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  box-shadow: 0 8px 24px rgba(196, 169, 86, 0.2);
}

.footer-map {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 120px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) invert(92%) contrast(85%);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-20);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.footer-social a:hover {
  background: rgba(196, 169, 86, 0.08);
  border-color: var(--border-accent);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--text-35);
  transition: fill 0.3s;
}

.footer-social a:hover svg {
  fill: var(--accent);
}

.footer-credit {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.72rem;
  color: var(--text-20);
}

.footer-credit a {
  color: var(--accent);
  transition: opacity 0.3s;
}

.footer-credit a:hover {
  opacity: 0.8;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(196, 169, 86, 0.1);
  box-shadow: 0 8px 30px rgba(196, 169, 86, 0.15);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ========== CONTACT FORM ========== */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form-grid .full-width {
  grid-column: span 2;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-100);
  transition: all 0.3s;
}

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

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-20);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--border-accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(196, 169, 86, 0.06);
}

/* ========== PAGE HERO (Internal) ========== */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(196, 169, 86, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
}

.page-hero-label {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-100);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: var(--text-50);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-pretitle {
    justify-content: center;
  }
  .hero-pretitle::before { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  
  .split-layout,
  .split-layout-reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split-layout-reverse {
    direction: ltr;
  }

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

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 8, 15, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0.3rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    z-index: 999;
  }
  
  .nav-links.open { right: 0; }
  
  .nav-links a {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    width: 100%;
  }
  
  .nav-toggle { display: flex; z-index: 1001; }

  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  .grid-2,
  .grid-3,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item-large,
  .bento-item-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-image-frame img { height: 380px; }
  
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .contact-form-grid .full-width {
    grid-column: span 1;
  }

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

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .hero-stat { padding: 1rem 0.3rem; }
  .hero-stat-value { font-size: 1.3rem; }
  .kpi-value { font-size: 2rem; }
  .pull-quote { padding: 2rem 1.8rem; font-size: 1.1rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .h-timeline { grid-template-columns: 1fr; }
  .tabs-nav { gap: 0.3rem; }
  .tab-btn { font-size: 0.75rem; padding: 0.6rem 1rem; }
}
