/* ==========================================================================
   EcoImagen Design System & Motion Framework
   Paleta: Verde Clínico (#127627 / #0b501a), Carbon (#0d1310), Neutrales Suaves
   ========================================================================== */

:root {
  --primary: #127627;
  --primary-hover: #0d5c1e;
  --primary-deep: #093f15;
  --primary-soft: #edf7ef;
  --primary-glow: rgba(18, 118, 39, 0.18);

  --dark: #0f1713;
  --dark-surface: #18231c;
  --gray-900: #1e2922;
  --gray-700: #334139;
  --gray-500: #64746b;
  --gray-300: #cbd5ce;
  --gray-100: #f1f5f2;
  --white: #ffffff;

  --bg-body: #f8faf9;
  --border-light: #e4ebe6;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 19, 0.05);
  --shadow-card: 0 12px 32px -4px rgba(15, 23, 19, 0.08);
  --shadow-hover: 0 20px 40px -6px rgba(18, 118, 39, 0.15);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s ease-out;
}

/* --------------------------------------------------------------------------
   Keyframes & Animaciones Médicas
   -------------------------------------------------------------------------- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes sonarPing {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 118, 39, 0.65);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(18, 118, 39, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 118, 39, 0);
  }
}

@keyframes livePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.22);
    opacity: 0.75;
  }
}

@keyframes modalBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalCardSlide {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--gray-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.site-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 1. Utility Topbar */
.utility-bar {
  background-color: var(--dark);
  color: #a3b8ad;
  font-size: 0.81rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-items, .utility-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.utility-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.utility-items svg, .utility-meta svg {
  width: 13px;
  height: 13px;
  color: #38b255;
}

.utility-meta a {
  color: #c2d4c9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.utility-meta a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.portal-badge {
  background: rgba(18, 118, 39, 0.35);
  color: #5ce67e !important;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.portal-badge:hover {
  background: var(--primary);
  box-shadow: 0 0 12px rgba(92, 230, 126, 0.4);
}

/* 2. Navbar & Header */
.navbar {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  position: relative; /* Evita que el menú desplegable desplace el logo */
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-item {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-item:hover {
  color: var(--primary);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-portals {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--primary);
}

.menu-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--primary);
}

/* Panel Desplegable Móvil */
.mobile-menu-drawer {
  display: none;
}

/* 3. Botones Globales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  font-family: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.22s ease;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-outline-nav {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-nav:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 118, 39, 0.1);
}

.btn-primary-nav {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary-nav:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 118, 39, 0.28);
}

.btn-primary-large {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary-large:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(18, 118, 39, 0.3);
}

.btn-primary-large:hover svg {
  transform: scale(1.15);
}

.btn-secondary-large {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary-large:hover {
  background: #f8fbf9;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn-secondary-large:hover svg {
  transform: translateX(4px);
}

/* 4. Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(18, 118, 39, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(18, 118, 39, 0.03) 0%, transparent 35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(18, 118, 39, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: sonarPing 2.2s infinite ease-out;
}

.hero-text-col h1 {
  font-size: 3.1rem;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--dark);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.75s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtext {
  font-size: 1.12rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
  animation: fadeInUp 0.75s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.75rem;
  animation: fadeInUp 0.75s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  animation: fadeInUp 0.75s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.h-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.h-feature:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.h-feature svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

/* Panel Status Hero */
.hero-card-col {
  animation: fadeInRight 0.85s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.status-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
}

.status-panel:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(18, 118, 39, 0.25);
}

.status-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.panel-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  text-transform: uppercase;
}

.status-panel-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0.2rem;
}

.server-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px;
  border-radius: var(--radius-xs);
  transition: transform 0.4s ease;
}

.status-panel:hover .server-icon {
  transform: rotate(8deg) scale(1.08);
}

.quick-access-box {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #22c55e;
}

.qa-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qa-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  animation: sonarPing 1.8s infinite ease-out;
}

.qa-info strong {
  display: block;
  font-size: 0.86rem;
  color: var(--dark);
}

.qa-info small {
  color: var(--gray-500);
  font-size: 0.75rem;
}

.panel-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  font-family: inherit;
}

.panel-btn svg:first-child {
  width: 22px;
  height: 22px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.panel-btn strong {
  display: block;
  font-size: 0.94rem;
  color: var(--dark);
}

.panel-btn p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.panel-btn .arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--gray-300);
  transition: transform 0.25s ease, color 0.25s ease;
}

.panel-btn:hover {
  border-color: var(--primary);
  transform: translateX(6px);
  box-shadow: 0 4px 14px rgba(18, 118, 39, 0.1);
  background: #fafdfb;
}

.panel-btn:hover svg:first-child {
  transform: scale(1.1);
}

.panel-btn:hover .arrow {
  color: var(--primary);
  transform: translateX(3px);
}

.panel-btn.staff svg:first-child {
  color: #1e293b;
}

.panel-btn.staff:hover {
  border-color: var(--dark);
  background: #fbfcfc;
}

/* 5. Metrics Strip */
.metrics-strip {
  background: var(--white);
  border-block: 1px solid var(--border-light);
  padding: 2.25rem 0;
}

.metrics-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.metric-item {
  text-align: center;
  transition: transform 0.25s ease;
}

.metric-item:hover {
  transform: translateY(-3px);
}

.metric-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-item p {
  font-size: 0.86rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 0.2rem;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* 6. Servicios */
.services-section {
  padding: 5.5rem 0;
}

.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}

.section-lead h2 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 0.85rem;
}

.section-lead p {
  color: var(--gray-500);
  font-size: 1rem;
}

.services-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.service-box:hover {
  border-color: rgba(18, 118, 39, 0.35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.service-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-box:hover .service-badge-icon {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(18, 118, 39, 0.16);
}

.service-badge-icon.accent {
  background: #f0fdf4;
  color: #15803d;
}

.service-badge-icon svg {
  width: 24px;
  height: 24px;
}

.service-code {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gray-100);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  color: var(--gray-700);
  letter-spacing: 0.05em;
}

.service-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.85rem;
}

.service-description {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.service-specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-box:hover .spec-row {
  transform: translateX(3px);
}

.spec-row svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex-shrink: 0;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: var(--transition-fast);
}

.link-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-btn:hover {
  color: var(--primary-hover);
}

.link-btn:hover svg {
  transform: translate(3px, -3px);
}

/* 7. Banner Hostinger / Arquitectura */
.modules-overview {
  padding-bottom: 5.5rem;
}

.modules-card-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #152219 100%);
  border-radius: var(--radius-lg);
  padding: 3.75rem 3rem;
  color: var(--white);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modules-card-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(18, 118, 39, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.banner-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.badge-contrast {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge-contrast svg {
  width: 15px;
  height: 15px;
  color: #4ade80;
}

.banner-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.banner-content p {
  color: #a7bcb0;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.banner-actions {
  display: flex;
  gap: 1rem;
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  padding: 0.75rem 1.4rem;
}

.btn-white:hover {
  background: #eef2ef;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.4rem;
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   Sección 8: Footer Corporativo Internacional (EcoImagen)
   ========================================================================== */

.site-footer {
  background-color: #0b120e;
  color: #94a39b;
  position: relative;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Pre-header superior del footer */
.footer-preheader {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.75rem 0;
  background-color: #070c09;
}

.preheader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.preheader-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.22s ease;
}

.preheader-card:hover {
  transform: translateY(-2px);
}

.ph-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: rgba(18, 118, 39, 0.15);
  border: 1px solid rgba(18, 118, 39, 0.3);
  color: #38b255;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.preheader-card:hover .ph-icon {
  background: var(--primary);
  color: var(--white);
}

.ph-icon svg {
  width: 20px;
  height: 20px;
}

.ph-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ph-text span {
  display: block;
  color: #7b8e83;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  line-height: 1.35;
}

/* Cuerpo principal del Footer */
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  padding: 4.5rem 1.5rem 3.5rem;
}

/* Columna Identidad */
.footer-brand-link {
  display: inline-block;
  margin-bottom: 1.4rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.footer-brand-link:hover {
  transform: translateY(-2px);
}

.footer-logo {
  height: 42px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.footer-brand-link:hover .footer-logo {
  opacity: 0.92;
}

.footer-bio {
  color: #8c9f94;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
  max-width: 320px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.76rem;
  color: #d1ded6;
  font-weight: 600;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 2s infinite ease-in-out;
}

/* Columnas de Navegación */
.col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
  position: relative;
  display: inline-block;
}

.col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-col:hover .col-title::after {
  width: 38px;
}

.col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.col-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #8fa296;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.col-links a svg {
  width: 14px;
  height: 14px;
  color: #4b6354;
  transition: transform 0.2s ease, color 0.2s ease;
}

.col-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.col-links a:hover svg {
  color: #38b255;
  transform: translateX(2px);
}

/* Columna de Contacto */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform 0.2s ease;
}

.contact-entry:hover {
  transform: translateX(3px);
}

.contact-entry svg {
  width: 18px;
  height: 18px;
  color: #38b255;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.entry-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5f7468;
}

.contact-entry a,
.contact-entry span {
  font-size: 0.88rem;
  color: #c9dad1;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.contact-entry a:hover {
  color: #ffffff;
}

/* Barra Inferior (Bottom Bar) */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.6rem 0;
  background-color: #060907;
  font-size: 0.82rem;
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.copyright-text {
  color: #6e8276;
}

.copyright-text strong {
  color: #b2c4ba;
  font-weight: 600;
}

.legal-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.legal-menu a {
  color: #7d9386;
  text-decoration: none;
  transition: var(--transition-fast);
}

.legal-menu a:hover {
  color: #ffffff;
}

.dot-sep {
  color: #334339;
  font-size: 0.65rem;
}

/* 9. Modales Profesionales */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 19, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: modalBackdropFade 0.26s ease-out;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-md);
  max-width: 440px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 19, 0.28);
  animation: modalCardSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--dark);
  transform: rotate(90deg);
}

.modal-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}

.modal-dialog:hover .modal-icon-badge {
  transform: scale(1.06);
}

.modal-icon-badge.staff {
  background: #f1f5f9;
  color: #0f172a;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 1rem;
  width: 17px;
  height: 17px;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.input-with-icon input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.input-with-icon input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.input-with-icon input:focus + svg,
.input-with-icon:focus-within svg {
  color: var(--primary);
}

.btn-modal-primary {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  color: var(--white);
  margin-top: 0.5rem;
}

.btn-modal-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 18px var(--primary-glow);
}

.btn-modal-primary.staff {
  background: var(--dark);
}

.btn-modal-primary.staff:hover {
  background: #233128;
}

/* ==========================================================================
   10. Scroll Reveal (Aparición y Aclarado al hacer Scroll)
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(2px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   11. Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-dual-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
  .preheader-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Header Móvil y Navegación Hamburguesa */
@media (max-width: 900px) {
  .nav-links,
  .nav-portals {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu-drawer {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 15px 30px rgba(15, 23, 19, 0.1);
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease-out;
  }

  .mobile-menu-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
  }

  .mobile-nav-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:active {
    background: var(--primary-soft);
    color: var(--primary);
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }

  .btn-full-mob {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .utility-bar {
    display: none;
  }
  .hero-text-col h1 {
    font-size: 2.3rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .metrics-wrapper {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .metric-divider {
    display: none;
  }
  .footer-main {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2.5rem;
    gap: 2.25rem;
  }
  .footer-bio {
    max-width: 100%;
  }
  .bottom-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
  .legal-menu {
    gap: 0.6rem;
    font-size: 0.78rem;
  }
}

/* 12. Reducción de movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}