/* ==========================================================================
   TURKEY WHISPER (TW) — NASA.GOV WHITE EDITORIAL DESIGN SYSTEM
   Inspiration: Official NASA.gov Light Theme (https://www.nasa.gov/es/)
   Palette: Pure White (#FFFFFF), Subsurface Slate (#F8FAFC, #F1F5F9),
            Deep Navy (#0B3D91), NASA Red (#E03C31), Charcoal Text (#0F172A)
   Zero Emojis — 100% Vector SVG & Technical Aerospace Notation
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Public+Sans:wght@300;400;600;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
  /* 5 Core Palette Colors */
  --brand-blue: #033682;
  --brand-orange: #fb6221;
  --brand-orange-hover: #e04f14;
  --brand-orange-light: #fff4ed;
  --brand-gray: #b3b4b3;
  --brand-black: #000000;
  --brand-white: #FFFFFF;

  /* Surface Colors */
  --bg-white: #FFFFFF;
  --bg-slate-50: #F8FAFC;
  --bg-slate-100: #F1F5F9;
  --bg-slate-200: #b3b4b3;
  --bg-dark-terminal: #000000;
  
  /* Mapped Brand Accents */
  --nasa-red: #fb6221;
  --nasa-red-hover: #e04f14;
  --nasa-red-light: #fff4ed;
  
  --nasa-blue: #033682;
  --nasa-blue-hover: #02265c;
  --nasa-blue-light: #033682;
  --nasa-blue-tint: #f0f4fa;
  
  --nasa-emerald: #059669;
  --nasa-amber: #fb6221;

  /* Typography Colors */
  --text-primary: #000000;
  --text-secondary: #033682;
  --text-muted: #64748B;
  --text-dim: #b3b4b3;

  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-subtle: #b3b4b3;
  --border-focus: #fb6221;
  --card-surface: #FFFFFF;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.08);

  /* Typography Fonts */
  --font-primary: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Metrics & Geometry */
  --container-max: 1340px;
  --header-height: 88px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-white);
  color-scheme: light;
}

body {
  background-color: var(--bg-white);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography System --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-primary);
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.mono {
  font-family: var(--font-mono);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nasa-red);
  margin-bottom: 12px;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--nasa-red);
}

.kicker-blue {
  color: var(--nasa-blue);
}

.kicker-blue::before {
  background-color: var(--nasa-blue);
}

.text-red { color: var(--brand-orange); }
.text-orange { color: var(--brand-orange); }
.text-blue { color: var(--brand-blue); }
.text-gray { color: var(--brand-gray); }
.text-emerald { color: var(--nasa-emerald); }
.text-amber { color: var(--brand-orange); }
.text-muted { color: var(--text-muted); }

/* --- Layout Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.section-slate {
  background-color: var(--bg-slate-50);
}

.section-header {
  max-width: 820px;
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

/* --- Header / Navigation Bar (NASA White Style) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 100%;
  padding: 0 max(20px, 3vw);
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.footer .brand-logo-img {
  height: 32px !important;
  max-height: 32px !important;
}

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

.brand-badge {
  background-color: var(--nasa-red);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.brand-title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 1px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  flex-shrink: 1;
  white-space: nowrap;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}

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

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--nasa-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* --- Language Dropdown Select Tab (NASA Editorial Style) --- */
.lang-tab-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.lang-tab-wrapper:hover {
  background-color: var(--bg-slate-50);
  border-color: var(--text-secondary);
  box-shadow: var(--shadow-md);
}

.lang-icon {
  color: var(--nasa-blue);
  flex-shrink: 0;
}

.chevron-icon {
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.lang-select-tab {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding-right: 12px;
  outline: none;
}

.lang-select-tab option {
  background-color: #FFFFFF;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px;
}

/* --- Language Selector Dropdown (Legacy / Fallback) --- */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background-color: var(--bg-slate-50);
  border-color: var(--text-secondary);
}

.lang-icon {
  color: var(--nasa-blue);
  flex-shrink: 0;
}

.chevron-icon {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.lang-selector.open .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-md);
  padding: 4px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1100;
}

.lang-selector.open .lang-dropdown {
  display: flex;
  animation: fadeInDown 0.15s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.lang-option:hover {
  background-color: var(--bg-slate-100);
}

.lang-option.active {
  background-color: var(--nasa-blue-tint);
  color: var(--nasa-blue);
  font-weight: 700;
}

.lang-flag {
  font-size: 1rem;
  margin-right: 6px;
}

.lang-name {
  flex-grow: 1;
  text-align: left;
}

.lang-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}

.lang-option.active .lang-code {
  color: var(--nasa-blue);
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--nasa-red);
  color: #FFFFFF;
  border-color: var(--nasa-red);
}

.btn-primary:hover {
  background-color: var(--nasa-red-hover);
  border-color: var(--nasa-red-hover);
  box-shadow: 0 4px 16px rgba(251, 98, 33, 0.35);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-slate-50);
  border-color: var(--text-secondary);
}

.btn-blue {
  background-color: var(--nasa-blue);
  color: #FFFFFF;
  border-color: var(--nasa-blue);
}

.btn-blue:hover {
  background-color: var(--nasa-blue-hover);
  box-shadow: 0 4px 16px rgba(11, 61, 145, 0.35);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* --- Hero Section (NASA White Editorial) --- */
.hero {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 96px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-slate-50) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-title span.highlight {
  color: var(--nasa-red);
}

.hero-title-icon {
  display: inline-block;
  vertical-align: middle;
  height: 0.95em;
  width: auto;
  max-height: 58px;
  margin: -6px 8px 0 8px;
  transition: transform var(--transition-normal);
}

.hero-title:hover .hero-title-icon {
  transform: scale(1.12) rotate(-4deg);
}

.hero-lead {
  font-size: 1.22rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border-light);
  border: 1px solid var(--border-light);
  margin-bottom: 36px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.metric-cell {
  background-color: #FFFFFF;
  padding: 18px 16px;
  text-align: left;
}

.metric-val {
  font-family: var(--font-primary);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-figure-wrapper {
  position: relative;
  border: 1px solid var(--border-light);
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-figure-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-figure-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.hero-figure-wrapper:hover .hero-figure-img {
  transform: scale(1.02);
}

.hero-swap {
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.hero-swap-img {
  transition: opacity 1s ease-in-out, transform 0.25s ease;
}

.hero-swap-img:first-child {
  opacity: 1;
}

.hero-swap-img:first-child:not(.active) {
  opacity: 0;
}

.hero-swap-img:not(:first-child) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero-swap-img:not(:first-child).active {
  opacity: 1;
}

.hero-figure-caption {
  padding: 16px 20px;
  background-color: var(--bg-slate-50);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.caption-title {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}

.caption-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --- Cards & Panels --- */
.card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

.card-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nasa-red);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* --- NASA Technical Tabs --- */
.sim-tabs-nav {
  display: flex;
  gap: 2px;
  background-color: var(--border-light);
  border: 1px solid var(--border-light);
  padding: 3px;
  margin-bottom: 36px;
  border-radius: var(--radius-xs);
  overflow-x: auto;
}

.sim-tab-btn {
  flex: 1;
  padding: 14px 18px;
  background-color: #FFFFFF;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.sim-tab-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-slate-50);
}

.sim-tab-btn.active {
  background-color: var(--bg-slate-100);
  color: var(--text-primary);
  box-shadow: inset 0 -3px 0 var(--nasa-red);
}

.sim-panel {
  display: none;
}

.sim-panel.active {
  display: block;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* --- Controls & Range Sliders --- */
.control-group {
  margin-bottom: 24px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.control-label {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.control-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--nasa-red);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-slate-200);
  border-radius: var(--radius-xs);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-xs);
  background: var(--nasa-red);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* --- Readout Grid --- */
.sim-readouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.readout-box {
  background-color: var(--bg-slate-50);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: var(--radius-xs);
}

.readout-val {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.readout-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Scientific Carousel Viewers --- */
.sim-carousel-card {
  display: flex;
  flex-direction: column;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  min-height: 48px;
}

.carousel-slide-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
  line-height: 1.25;
}

.carousel-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--bg-slate-100);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  background-color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.carousel-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: 4px;
  cursor: zoom-in;
}

.carousel-img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  display: block;
  background-color: #FFFFFF;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.carousel-slide:hover .carousel-img {
  transform: scale(1.015);
}

.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--bg-slate-100);
  border-color: var(--text-secondary);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot:hover {
  background-color: var(--text-muted);
}

.carousel-dot.active {
  background-color: var(--nasa-red);
  width: 24px;
}

.carousel-caption {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

/* --- Tables & Data Grids --- */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tech-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background-color: var(--bg-slate-100);
  border-bottom: 2px solid var(--border-light);
  padding: 14px 18px;
  text-align: left;
}

.tech-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.tech-table tr:hover td {
  background-color: var(--bg-slate-50);
}

/* --- ITU Region Buttons --- */
.itu-region-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.itu-btn {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.itu-btn:hover {
  border-color: var(--border-subtle);
  background-color: var(--bg-slate-50);
}

.itu-btn.active {
  border-color: var(--nasa-red);
  background-color: var(--nasa-red-light);
}

.itu-btn-title {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.itu-btn-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --- Mesh Canvas --- */
.mesh-nodes-canvas {
  width: 100%;
  height: 280px;
  background-color: #0B111E;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

/* --- Footer (NASA Dark Contrast Base) --- */
.footer {
  background-color: #070B12;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 40px;
  color: #CBD5E1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col-title {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748B;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
  }
  .brand-sub {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }

  .itu-region-selector {
    grid-template-columns: 1fr;
  }

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

/* ==========================================================================
   8B. ECOSISTEMA MÓVIL Y EMERGENCY UX (COMPANION APP)
   ========================================================================== */
.app-sim-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.88fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 960px) {
  .app-sim-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.app-tabs-nav {
  display: flex;
  background-color: var(--bg-slate-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow-x: auto;
  margin-bottom: 16px;
  gap: 1px;
}

.app-tab-btn {
  flex: 1;
  padding: 11px 14px;
  background-color: #FFFFFF;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.app-tab-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-slate-50);
}

.app-tab-btn.active {
  background-color: var(--bg-slate-100);
  color: var(--text-primary);
  box-shadow: inset 0 -3px 0 var(--nasa-red);
}

.app-panel {
  display: none;
  animation: appFadeIn 0.22s ease forwards;
}

.app-panel.active {
  display: block;
}

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

.app-carousel-viewport {
  overflow: hidden;
  width: 100%;
  min-height: 135px;
  display: flex;
  align-items: center;
}

.app-carousel-track {
  display: flex;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.app-carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-slide-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.app-slide-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}

.app-slide-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.app-carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.app-media-panel {
  display: flex;
  height: 100%;
}

.app-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 520px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: var(--bg-slate-900);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
}

.app-cropped-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-image-frame:hover .app-cropped-img {
  transform: scale(1.025);
}

/* ==========================================================================
   9. FULLSCREEN SCIENTIFIC LIGHTBOX MODAL WITH INTERACTIVE ZOOM
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 10;
  width: 94vw;
  max-width: 1240px;
  height: 90vh;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-header {
  padding: 14px 24px;
  background-color: var(--bg-slate-50);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.lightbox-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lightbox-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-tool-btn {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.lightbox-tool-btn:hover {
  background-color: var(--bg-slate-100);
  border-color: var(--text-secondary);
}

.lightbox-zoom-level {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 48px;
  text-align: center;
}

.lightbox-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 6px;
  margin-left: 8px;
  transition: color var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--nasa-red);
}

.lightbox-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: grab;
}

.lightbox-body.dragging {
  cursor: grabbing;
}

.lightbox-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  will-change: transform;
}

.lightbox-img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-fast);
  z-index: 20;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav-btn:hover {
  background-color: var(--nasa-red);
  color: #FFFFFF;
  border-color: var(--nasa-red);
  box-shadow: 0 4px 16px rgba(251, 98, 33, 0.35);
}

.lightbox-footer {
  padding: 12px 24px;
  background-color: var(--bg-slate-50);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.lightbox-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
  padding-right: 20px;
  line-height: 1.4;
}

.lightbox-counter {
  font-size: 0.8rem;
  font-weight: 700;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

/* ==========================================================================
   10. SECCIÓN CREADORES / FOUNDERS
   ========================================================================== */
.creators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.creator-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--nasa-red);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.creator-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.creator-avatar {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nasa-blue) 0%, var(--nasa-blue-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(3, 54, 130, 0.25);
}

.creator-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: luminosity;
  filter: grayscale(100%) contrast(1.05) brightness(1.02);
  opacity: 0.92;
}

.creator-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--nasa-red);
  opacity: 0.55;
  pointer-events: none;
}

.creator-actions {
  display: none;
}

.creator-body {
  display: flex;
  flex-direction: column;
}

.creator-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nasa-red);
  background-color: var(--nasa-red-light);
  border: 1px solid var(--nasa-red);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
}

.creator-name {
  font-family: var(--font-primary);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.15;
}

.creator-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.creator-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.creator-skills {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.creator-skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background-color: var(--bg-slate-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--nasa-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .creator-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    text-align: left;
  }
  .creator-avatar {
    width: 120px;
    height: 120px;
    margin: 0;
  }
  .creator-name {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   11. BOTÓN FLOTANTE DE WHATSAPP (Logo Turkey circular + destello azul)
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--nasa-blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(3, 54, 130, 0.35);
}

.wa-float-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  display: block;
}

.wa-float-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background-color: var(--nasa-blue);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 3;
}

.wa-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--nasa-blue);
  border-right: 0;
}

.wa-float:hover .wa-float-tooltip,
.wa-float:focus-visible .wa-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .wa-float-tooltip {
    display: none;
  }
}

.wa-float-flash {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 54, 130, 0.55) 0%, rgba(3, 54, 130, 0) 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: waBluePulse 10s ease-in-out infinite;
}

@keyframes waBluePulse {
  0%, 85% {
    opacity: 0;
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(3, 54, 130, 0);
  }
  88% {
    opacity: 1;
    transform: scale(1.0);
    box-shadow: 0 0 0 0 rgba(3, 54, 130, 0.75);
  }
  95% {
    opacity: 0.6;
    transform: scale(1.35);
    box-shadow: 0 0 0 22px rgba(3, 54, 130, 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
    box-shadow: 0 0 0 30px rgba(3, 54, 130, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float-flash {
    animation: none;
  }
}

@media (max-width: 768px) {
  .wa-float {
    width: 58px;
    height: 58px;
    bottom: 18px;
    right: 18px;
  }
  .wa-float-img {
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   12. BANNER DE CONSENTIMIENTO DE COOKIES (Colombia · Ley 1581/2012)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 980px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--nasa-red);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.25);
  padding: 22px 28px;
  z-index: 1800;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 28px;
  align-items: center;
}

.cookie-banner-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nasa-red);
  margin-bottom: 4px;
}

.cookie-banner-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cookie-banner-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 200px;
}

.cookie-banner-actions .btn {
  width: 100%;
  white-space: nowrap;
}

.cookie-banner-link {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nasa-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-banner-link:hover {
  color: var(--nasa-blue-hover);
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 20px;
  }
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cookie-banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
  .cookie-banner-actions .btn {
    flex: 1 1 auto;
  }
}

/* ==========================================================================
   13. MODAL DE POLÍTICA DE COOKIES (Documento legal completo)
   ========================================================================== */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

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

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.cookie-modal-dialog {
  position: relative;
  z-index: 10;
  width: 92vw;
  max-width: 920px;
  max-height: 88vh;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.active .cookie-modal-dialog {
  transform: scale(1);
}

.cookie-modal-header {
  padding: 20px 28px;
  background-color: var(--bg-slate-50);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-shrink: 0;
}

.cookie-modal-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nasa-blue);
  margin-bottom: 4px;
}

.cookie-modal-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 6px;
  transition: color var(--transition-fast);
}

.cookie-modal-close:hover {
  color: var(--nasa-red);
}

.cookie-modal-body {
  flex: 1;
  padding: 24px 28px;
  overflow-y: auto;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.cookie-modal-body h4 {
  font-family: var(--font-primary);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 22px 0 8px;
}

.cookie-modal-body h4:first-of-type {
  margin-top: 8px;
}

.cookie-modal-body p {
  margin-bottom: 10px;
}

.cookie-modal-updated {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin: 10px 0 14px;
  border: 1px solid var(--border-light);
}

.cookie-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--bg-slate-100);
  color: var(--text-primary);
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid var(--border-light);
}

.cookie-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: top;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-modal-footer {
  padding: 16px 28px;
  background-color: var(--bg-slate-50);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-modal-dialog {
    width: 96vw;
    max-height: 92vh;
  }
  .cookie-modal-title {
    font-size: 1.1rem;
  }
  .cookie-modal-body {
    padding: 18px 20px;
  }
  .cookie-modal-header,
  .cookie-modal-footer {
    padding: 14px 20px;
  }
  .cookie-table {
    font-size: 0.78rem;
  }
  .cookie-table th,
  .cookie-table td {
    padding: 8px 10px;
  }
}
