/**
 * Yubayyin Group - UI Components Styles
 */

/* ==========================================================================
   1. Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth), padding var(--transition-smooth);
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-emblem-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-emblem-img {
  transform: scale(1.05);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-name span {
  color: var(--color-gold-400);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-1px);
}

.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-trigger-btn kbd {
  background: var(--bg-main);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  font-size: 0.72rem;
  border: 1px solid var(--border-subtle);
  font-family: inherit;
}

.search-trigger-btn:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.lang-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--border-glow);
}

.mobile-toggle {
  display: none;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  width: 100%;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-150%);
  transition: transform var(--transition-smooth);
  z-index: 99;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(1.2);
}

[data-theme="light"] .hero-bg-image {
  filter: brightness(0.28) saturate(1.3);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(6, 11, 9, 0.7) 0%, rgba(6, 11, 9, 0.4) 50%, var(--bg-main) 100%),
    radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
}

#hero-ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.45); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, #f3ca40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.85);
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats Counter Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.hero-stat-card {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: rgba(11, 20, 17, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.stat-value-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-value-wrap span:first-child {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix {
  color: var(--color-emerald-400);
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   3. Philosophy & Core Pillars
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.philosophy-card {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.philosophy-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-400);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.philosophy-card:hover .philosophy-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.philosophy-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.philosophy-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.card-glow-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.philosophy-card:hover .card-glow-edge {
  opacity: 1;
}

/* ==========================================================================
   4. Ecosystem & Holding Portfolio
   ========================================================================== */
.eco-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.eco-filter-btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.eco-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.eco-filter-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.ecosystem-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.unit-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}

.unit-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.unit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.unit-card:hover .unit-card-img {
  transform: scale(1.06);
}

.unit-category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 11, 9, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  color: var(--color-gold-400);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.unit-card-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.unit-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.unit-tagline {
  font-size: 0.85rem;
  color: var(--text-emerald);
  font-weight: 600;
  margin-bottom: 1rem;
}

.unit-short-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.unit-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--bg-surface-elevated);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.unit-metric-item {
  text-align: center;
}

.unit-metric-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-gold-400);
  font-family: var(--font-display);
}

.unit-metric-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.unit-details-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.unit-details-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--border-glow);
  color: var(--color-emerald-400);
}

/* ==========================================================================
   5. Interactive Solution Scope & Partnership Calculator
   ========================================================================== */
.estimator-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.estimator-steps-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
}

.calc-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.calc-chip-btn {
  padding: 0.85rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-chip-btn strong {
  color: var(--text-primary);
  font-size: 0.92rem;
}

.calc-chip-btn:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.calc-chip-btn.active {
  background: rgba(16, 185, 129, 0.14);
  border-color: var(--color-emerald-500);
  color: var(--color-emerald-400);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.calc-chip-btn.active strong {
  color: var(--color-emerald-300);
}

/* Addons Checkbox Group */
.calc-addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.calc-addon-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.calc-addon-label:hover {
  border-color: var(--border-glow);
}

.calc-addon-input {
  accent-color: var(--color-emerald-500);
  width: 17px;
  height: 17px;
}

/* Result Box */
.estimator-result-panel {
  padding: 2.5rem;
  position: sticky;
  top: 100px;
  border: 1px solid var(--border-gold);
}

.result-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.result-header h3 {
  font-size: 1.35rem;
  color: var(--color-gold-400);
}

.result-specs-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.result-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.result-spec-lbl {
  color: var(--text-secondary);
}

.result-spec-val {
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

.calc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-gold-400);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin: 2px;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   6. Executive Leadership
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.leader-card {
  display: flex;
  gap: 1.75rem;
  padding: 2rem;
  align-items: center;
}

.leader-image-frame {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  background: #021a14;
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-fast);
}

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

.leader-info {
  display: flex;
  flex-direction: column;
}

.leader-name {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.leader-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-emerald);
  margin-bottom: 0.75rem;
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.leader-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.leader-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-muted);
}

/* ==========================================================================
   7. Timeline / Milestone Roadmap
   ========================================================================== */
.timeline-section-wrapper {
  position: relative;
  margin-top: 3.5rem;
}

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

.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--color-emerald-500) 0%, var(--color-gold-400) 100%);
  transform: translateX(-50%);
}

.timeline-node {
  position: relative;
  margin-bottom: 2.5rem;
  display: flex;
  width: 100%;
}

.timeline-node.node-left {
  justify-content: flex-start;
  padding-right: calc(50% + 2rem);
}

.timeline-node.node-right {
  justify-content: flex-end;
  padding-left: calc(50% + 2rem);
}

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-gold-400);
  border: 3px solid var(--bg-main);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-gold-400);
  animation: pulseNode 2s infinite;
}

@keyframes pulseNode {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.timeline-content {
  padding: 1.75rem;
  width: 100%;
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-emerald-400);
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   8. Insights & Articles Grid
   ========================================================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.insight-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.insight-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-emerald-400);
  letter-spacing: 0.05em;
}

.insight-read-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.insight-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.insight-summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.insight-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.insight-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: var(--color-gold-400);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.insight-read-btn:hover {
  transform: translateX(4px);
  color: var(--color-gold-300);
}

/* ==========================================================================
   9. FAQ Accordion
   ========================================================================== */
.faq-accordion-wrapper {
  max-width: 860px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: 14px;
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-arrow {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  color: var(--color-emerald-400);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer-content {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   10. Contact Hub & Global Offices
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3.5rem;
}

.offices-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.office-card {
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.office-pin-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-glow);
  color: var(--color-emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-city {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.office-address {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.office-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.office-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-emerald);
}

.office-contact-link:hover {
  text-decoration: underline;
}

/* Form */
.inquiry-form-panel {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

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

/* ==========================================================================
   11. Global Modals & Command Palette
   ========================================================================== */
.global-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 8, 6, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.global-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.global-modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: rotate(90deg);
}

.modal-content-area {
  padding: 2.5rem;
}

/* Modal Content Inner Styles */
.unit-modal-hero {
  position: relative;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.unit-modal-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-modal-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 11, 9, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--color-gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.modal-unit-heading {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.modal-unit-tagline {
  font-size: 1rem;
  color: var(--color-emerald-400);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.modal-section-block {
  margin-bottom: 1.75rem;
}

.modal-section-block h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.modal-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-highlights-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.list-bullet {
  color: var(--color-gold-400);
  font-size: 0.85rem;
}

.case-study-block {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1.5rem;
  border-radius: 14px;
}

.case-study-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-emerald-400);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.case-study-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Article Modal Styles */
.article-modal-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.article-badge {
  color: var(--color-emerald-400);
  font-weight: 700;
}

.article-modal-title {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.article-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 1.75rem;
}

.article-modal-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.article-modal-author {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

/* Command Palette Overlay */
.palette-window {
  max-width: 640px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.3);
}

.palette-input-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.palette-input-wrap svg {
  color: var(--color-emerald-400);
  flex-shrink: 0;
}

.palette-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: var(--text-primary);
  font-family: inherit;
}

.palette-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.palette-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.palette-item:hover {
  background: rgba(16, 185, 129, 0.12);
}

.palette-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-400);
  flex-shrink: 0;
}

.palette-item-info {
  flex-grow: 1;
}

.palette-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.palette-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.palette-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
}

.palette-highlight {
  background: rgba(212, 175, 55, 0.3);
  color: var(--color-gold-300);
  padding: 0 2px;
  border-radius: 2px;
}

.palette-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-secondary);
}

.palette-empty svg {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   12. Toast Notifications
   ========================================================================== */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(6, 25, 18, 0.95);
  color: #34d399;
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(30, 8, 8, 0.95);
  color: #f87171;
}

.toast-info {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(22, 18, 5, 0.95);
  color: #f3ca40;
}

.toast-icon {
  flex-shrink: 0;
  display: flex;
}

.toast-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-primary);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-top: 1.25rem;
  max-width: 360px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--color-emerald-400);
  transform: translateX(4px);
}

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