/* ==========================================================================
   MOSAICO CREATIVE STUDIO - PREMIUM LIGHT MODE DESIGN SYSTEM
   Modern, Fresh, High-End Aesthetic (Apple / Stripe / Linear Light Theme)
   Brand Core Colors: Brand Navy (#0C3559), Crimson Red (#E63946), Crisp Whites & Subtle Slate
   ========================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- DESIGN TOKENS & ROOT VARIABLES --- */
:root {
  /* Brand Core Colors (Logo & PDF) */
  --brand-navy-deep: #06182B;
  --brand-navy-dark: #071E36;
  --brand-navy-primary: #0C3559;
  --brand-navy-light: #164E80;
  --brand-navy-soft: rgba(12, 53, 89, 0.06);

  --brand-red-primary: #E63946;
  --brand-red-electric: #D92233;
  --brand-red-hover: #C41C33;
  --brand-red-glow: rgba(230, 57, 70, 0.25);
  --brand-red-soft: rgba(230, 57, 70, 0.08);

  --brand-cyan-electric: #0284C7;
  --brand-cyan-dark: #0369A1;
  --brand-cyan-glow: rgba(2, 132, 199, 0.2);
  --brand-cyan-soft: rgba(2, 132, 199, 0.08);

  /* Light Theme Surfaces */
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F1F5F9;
  --bg-surface-hover: #F8FAFC;
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-hover: rgba(12, 53, 89, 0.3);

  /* Typography Colors (High Contrast & Legibility) */
  --text-primary: #0F172A;
  --text-navy: #0C3559;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  /* Typography Stacks */
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(12, 53, 89, 0.04);
  --shadow-card: 0 10px 30px -4px rgba(12, 53, 89, 0.07), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 20px 40px -10px rgba(12, 53, 89, 0.14), 0 0 0 1px rgba(12, 53, 89, 0.12);
  --shadow-glow: 0 4px 20px rgba(230, 57, 70, 0.25);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Constants */
  --nav-height: 80px;
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-navy-primary);
}

::selection {
  background: var(--brand-red-primary);
  color: #FFFFFF;
}

/* --- BACKGROUND CANVAS & AMBIENT ATMOSPHERE --- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.ambient-glow-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
}

.glow-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #0C3559, transparent 70%);
  top: -10%;
  right: 5%;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #E63946, transparent 70%);
  bottom: 20%;
  left: -8%;
}

.glow-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0284C7, transparent 70%);
  top: 50%;
  left: 45%;
  opacity: 0.08;
}

.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- CUSTOM FLUID CURSOR --- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: var(--brand-red-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(230, 57, 70, 0.4);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(12, 53, 89, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease-out, height 0.25s ease-out, border-color 0.25s ease-out;
}

.cursor-ring.cursor-hover {
  width: 56px;
  height: 56px;
  border-color: var(--brand-red-primary);
  background-color: rgba(230, 57, 70, 0.06);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* Scroll progress */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-navy-primary), var(--brand-red-primary), var(--brand-cyan-electric));
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.4);
}

/* --- SITE HEADER & NAVBAR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(12, 53, 89, 0.06);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-navy-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--brand-red-primary);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red-primary) 0%, var(--brand-red-electric) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--brand-red-electric) 0%, var(--brand-red-hover) 100%);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--brand-navy-primary);
  border: 1px solid var(--border-medium);
  box-shadow: 0 2px 6px rgba(12, 53, 89, 0.04);
}

.btn-secondary:hover {
  background: #F8FAFC;
  color: var(--brand-navy-deep);
  border-color: var(--brand-navy-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(12, 53, 89, 0.08);
}

.btn-cyan {
  background: var(--brand-cyan-soft);
  color: var(--brand-cyan-electric);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.btn-cyan:hover {
  background: var(--brand-cyan-electric);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

/* Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1002;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--brand-navy-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--brand-red-primary);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--brand-red-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  transition: right 0.4s ease;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-navy-primary);
  text-decoration: none;
}

.mobile-menu-link:hover {
  color: var(--brand-red-primary);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 36px);
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--brand-navy-primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(12, 53, 89, 0.05);
}

.badge-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--brand-red-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--brand-navy-deep);
}

.hero-title .text-gradient-red {
  background: linear-gradient(135deg, var(--brand-navy-primary) 0%, var(--brand-red-primary) 60%, var(--brand-red-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 530px;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: var(--brand-navy-primary);
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(12, 53, 89, 0.05);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-navy-primary);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
}

.metric-number .accent {
  color: var(--brand-red-primary);
  font-size: 1.25rem;
  margin-left: 2px;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-top: 5px;
}

/* --- HERO HIGH-TECH DOOH CONSOLE SCREEN --- */
.hero-media-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-console-screen {
  background: #08182B;
  border: 1px solid #16365C;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(12, 53, 89, 0.22), 0 0 0 1px rgba(12, 53, 89, 0.1);
  position: relative;
}

.console-header-bar {
  background: #051221;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #16365C;
}

.console-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38BDF8;
  font-weight: 700;
}

.live-beacon {
  width: 8px;
  height: 8px;
  background-color: #38BDF8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38BDF8;
  display: inline-block;
}

.console-node-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94A3B8;
  letter-spacing: 0.5px;
}

.console-display-canvas {
  height: 290px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(14, 53, 92, 0.45) 0%, #061527 80%);
  overflow: hidden;
  padding: 24px;
}

.console-matrix-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 18px 18px;
  background-image: radial-gradient(circle, rgba(56, 189, 248, 0.18) 1px, transparent 1px);
  pointer-events: none;
}

.console-center-graphic {
  position: relative;
  z-index: 2;
  text-align: center;
}

.mosaico-symbol-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  position: relative;
}

.symbol-quad {
  border-radius: 6px;
  transition: transform 0.3s ease;
}
.quad-top-left { background: #0C3559; border: 1px solid #164E80; }
.quad-top-right { background: #E63946; box-shadow: 0 0 16px rgba(230, 57, 70, 0.6); }
.quad-bottom-left { background: #0C3559; border: 1px solid #164E80; }
.quad-bottom-right { 
  background: #0C3559; 
  border: 1px solid #164E80;
  border-bottom-right-radius: 1px;
}

.console-brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 2px;
}

.console-sub-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38BDF8;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.console-waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  margin-top: 14px;
  justify-content: center;
}

.wave-bar {
  width: 4px;
  background: #E63946;
  border-radius: 2px;
  animation: wavePulse 1.2s infinite ease-in-out alternate;
}
.wave-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 18px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 22px; animation-delay: 0.5s; }
.wave-bar:nth-child(5) { height: 10px; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 16px; animation-delay: 0.15s; }
.wave-bar:nth-child(7) { height: 14px; animation-delay: 0.35s; }
.wave-bar:nth-child(8) { height: 9px; animation-delay: 0.25s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.4); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

.console-footer-bar {
  background: #051221;
  border-top: 1px solid #16365C;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-footer-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #CBD5E1;
}

.console-footer-pill .dot {
  width: 6px;
  height: 6px;
  background-color: #22C55E;
  border-radius: 50%;
}

.console-sync-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #38BDF8;
  font-weight: 700;
  letter-spacing: 1px;
}

/* --- TICKER RIBBON --- */
.ticker-section {
  position: relative;
  background: var(--brand-navy-primary);
  padding: 16px 0;
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(12, 53, 89, 0.12);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scrollTicker 36s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}

.ticker-item .dot {
  width: 6px;
  height: 6px;
  background: var(--brand-red-primary);
  border-radius: 50%;
  display: inline-block;
}

.ticker-item .cyan-dot {
  width: 6px;
  height: 6px;
  background: #38BDF8;
  border-radius: 50%;
  display: inline-block;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SECTION STYLES --- */
.section {
  position: relative;
  padding: 92px 0;
  z-index: 2;
}

.section-header {
  margin-bottom: 48px;
}

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

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

.section-eyebrow::before {
  content: '//';
  color: var(--brand-navy-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--brand-navy-deep);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 14px;
}

/* --- MANIFIESTO --- */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.manifesto-statement {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--shadow-card);
}

.manifesto-big-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--brand-navy-deep);
  margin-bottom: 18px;
}

.manifesto-big-text span {
  color: var(--brand-red-primary);
}

.manifesto-body-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(12, 53, 89, 0.03);
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-navy-primary);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy-primary);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- SOLUCIONES (CLEAN CARDS WITH VECTOR ICONS) --- */
.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(12, 53, 89, 0.03);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: #F8FAFC;
  color: var(--brand-navy-primary);
  border-color: var(--brand-navy-primary);
}

.filter-btn.active {
  background: var(--brand-navy-primary);
  color: #FFFFFF;
  border-color: var(--brand-navy-primary);
  box-shadow: 0 4px 14px rgba(12, 53, 89, 0.25);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(12, 53, 89, 0.25);
  box-shadow: var(--shadow-card-hover);
}

/* Graphic Header */
.service-card-banner {
  height: 110px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 16px 16px;
  background-image: radial-gradient(circle, rgba(12, 53, 89, 0.06) 1px, transparent 1px);
  pointer-events: none;
}

.service-banner-icon {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy-primary);
  box-shadow: 0 2px 6px rgba(12, 53, 89, 0.06);
  position: relative;
  z-index: 2;
}

.service-banner-icon.icon-red {
  color: var(--brand-red-primary);
  border-color: rgba(230, 57, 70, 0.2);
}

.service-banner-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--brand-cyan-electric);
  box-shadow: 0 1px 4px rgba(12, 53, 89, 0.04);
  position: relative;
  z-index: 2;
}

.service-banner-tag.tag-software {
  color: var(--brand-red-primary);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-pill {
  font-size: 0.72rem;
  padding: 4px 9px;
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-weight: 600;
}

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

.service-link {
  color: var(--brand-navy-primary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-link {
  gap: 9px;
  color: var(--brand-red-primary);
}

/* --- SOFTWARE & WEB HUB --- */
.software-hub-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.software-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.software-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.software-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(12, 53, 89, 0.03);
  transition: all var(--transition-smooth);
}

.software-feature-item:hover {
  background: #FFFFFF;
  border-color: var(--brand-navy-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.feature-item-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-navy-soft);
  border: 1px solid rgba(12, 53, 89, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--brand-navy-primary);
}

.feature-item-text h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 3px;
}

.feature-item-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Terminal Console (Developer dark theme for high contrast authenticity) */
.terminal-window {
  background: #081628;
  border: 1px solid #142F50;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(12, 53, 89, 0.2);
}

.terminal-header {
  background: #05101E;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #142F50;
}

.terminal-controls {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94A3B8;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #38BDF8;
  font-weight: 700;
}

.terminal-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #E2E8F0;
  line-height: 1.65;
}

.code-keyword { color: #FF7B72; }
.code-fn { color: #D2A8FF; }
.code-str { color: #A5D6FF; }
.code-num { color: #79C0FF; }
.code-comment { color: #8B949E; font-style: italic; }

.terminal-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.telemetry-stat {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 6px;
}

.telemetry-stat-label {
  font-size: 0.68rem;
  color: #94A3B8;
  text-transform: uppercase;
}

.telemetry-stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #38BDF8;
  margin-top: 2px;
}

/* --- INFRAESTRUCTURA URBANA (SCHEMATIC SPEC CARDS) --- */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.infra-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.infra-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-navy-primary), var(--brand-red-primary));
}

.infra-card:hover {
  transform: translateY(-5px);
  border-color: rgba(12, 53, 89, 0.3);
  box-shadow: var(--shadow-card-hover);
}

.infra-card-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-red-soft);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--brand-red-primary);
  margin-bottom: 16px;
}

.infra-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 8px;
}

.infra-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.infra-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.infra-spec-item {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--brand-navy-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.infra-spec-item::before {
  content: '▪';
  color: var(--brand-red-primary);
}

/* --- DIFERENCIADORES & MODELO DE NEGOCIO --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.diff-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-navy-primary);
  box-shadow: var(--shadow-card-hover);
}

.diff-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-red-soft);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-red-primary);
  margin-bottom: 14px;
}

.diff-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 8px;
}

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

/* Business Model */
.business-model-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 38px;
  box-shadow: var(--shadow-card);
}

.business-model-header {
  margin-bottom: 24px;
}

.business-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.model-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.model-check {
  color: var(--brand-red-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.model-item-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.45;
}

/* --- COBERTURA REGIONAL BAJÍO --- */
.coverage-explorer {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 38px;
  box-shadow: var(--shadow-card);
}

.city-selector-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.city-tab-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 9px 20px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.city-tab-btn:hover {
  background: #E2E8F0;
  color: var(--brand-navy-deep);
}

.city-tab-btn.active {
  background: var(--brand-navy-primary);
  border-color: var(--brand-navy-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(12, 53, 89, 0.2);
}

.city-detail-display {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.city-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-navy-deep);
  margin-bottom: 6px;
}

.city-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-red-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 14px;
}

.city-description {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.city-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.city-stat-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: 10px;
}

.city-stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy-primary);
}

.city-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.city-zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zone-chip {
  padding: 5px 12px;
  background: var(--bg-surface-subtle);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
  border: 1px solid var(--border-subtle);
}

/* Network Telemetry Card */
.network-telemetry-card {
  background: #08182B;
  border: 1px solid #16365C;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(12, 53, 89, 0.2);
  position: relative;
  overflow: hidden;
}

.telemetry-radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #16365C;
}

.telemetry-radar-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
}

.telemetry-radar-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-radar-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #38BDF8;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.telemetry-radar-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.radar-scope {
  height: 120px;
  background: radial-gradient(circle at center, rgba(14, 53, 92, 0.6) 0%, #061527 80%);
  border: 1px solid #16365C;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  animation: radarRotate 4s linear infinite;
}

@keyframes radarRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #38BDF8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38BDF8;
}
.blip-1 { top: 30%; left: 40%; animation: blipFade 2s infinite ease-in-out; }
.blip-2 { top: 60%; left: 65%; animation: blipFade 2s infinite ease-in-out 0.7s; }
.blip-3 { top: 45%; left: 75%; animation: blipFade 2s infinite ease-in-out 1.3s; }

@keyframes blipFade {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.radar-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.radar-metric {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.radar-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #94A3B8;
  text-transform: uppercase;
}

.radar-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}

/* --- PLANIFICADOR / SIMULADOR --- */
.planner-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.planner-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 38px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
}

.planner-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label-custom {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-label-num {
  width: 22px;
  height: 22px;
  background: var(--brand-navy-primary);
  border-radius: 50%;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
}

.planner-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
}

.planner-radio-btn {
  position: relative;
}

.planner-radio-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.planner-radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 10px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.planner-radio-label strong {
  color: var(--brand-navy-primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.planner-radio-label small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.planner-radio-btn input:checked + .planner-radio-label {
  background: #EFF6FF;
  border-color: var(--brand-navy-primary);
  color: var(--brand-navy-primary);
  box-shadow: 0 0 0 1.5px var(--brand-navy-primary);
}

.planner-radio-btn input:checked + .planner-radio-label strong {
  color: var(--brand-navy-deep);
}

.planner-summary-panel {
  background: var(--brand-navy-primary);
  border: 1px solid rgba(12, 53, 89, 0.4);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(12, 53, 89, 0.2);
}

.summary-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.summary-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-metric-row .name {
  font-size: 0.88rem;
  color: #CBD5E1;
}

.summary-metric-row .val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #38BDF8;
}

.estimated-reach-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  margin-bottom: 22px;
}

.reach-label {
  font-size: 0.74rem;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reach-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 4px;
  line-height: 1.1;
}

.planner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- CONTACTO --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: flex-start;
}

.contact-info-card, .contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 38px;
  box-shadow: var(--shadow-card);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 26px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 38px;
  height: 38px;
  background: var(--brand-navy-soft);
  border: 1px solid rgba(12, 53, 89, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-navy-primary);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.contact-item-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--brand-navy-deep);
  margin-top: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-input-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-navy-primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-navy-primary);
  box-shadow: 0 0 0 3px rgba(12, 53, 89, 0.12);
}

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

/* --- FOOTER (Deep Brand Navy for Grounding & Authority) --- */
.site-footer {
  background: #071E36;
  border-top: 1px solid #143254;
  padding: 68px 0 34px;
  position: relative;
  z-index: 2;
  color: #CBD5E1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 46px;
}

.footer-brand-p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copyright {
  font-size: 0.84rem;
  color: #94A3B8;
}

.badge-pill-small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 53, 89, 0.45);
  backdrop-filter: blur(12px);
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 48px rgba(12, 53, 89, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--brand-navy-primary);
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-grid, .infra-grid, .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .software-hero-grid, .manifesto-grid, .planner-card, .contact-grid, .city-detail-display {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .services-grid, .infra-grid, .diff-grid, .business-model-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .manifesto-pillars {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 65px 0;
  }
  .planner-card, .manifesto-statement, .coverage-explorer, .business-model-box {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .ticker-track {
    animation: none !important;
  }
}
