/* ==========================================================================
   DC SOFTWARE - DISEÑO ESTILIZADO, LUMINOSO, FRESCO Y ATRACTIVO
   Paleta oficial inspirada en el logo DC Software (Blanco, Plata, Gris Pizarra y Azul)
   ========================================================================== */
:root {
  --bg-white: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-silver: #eef3f9;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-charcoal: #1e293b;
  --text-body: #475569;
  --text-muted: #64748b;

  /* Azules del cubo 3D y letra "O" del logo DC Software */
  --dc-blue: #0072ce;
  --dc-blue-dark: #004b8d;
  --dc-blue-light: #0099ff;
  --dc-blue-soft: #e8f3ff;
  --dc-blue-border: #bae0ff;

  /* Acentos modernos */
  --emerald: #059669;
  --emerald-light: #10b981;
  --emerald-soft: #ecfdf5;
  --indigo: #4f46e5;
  --amber: #d97706;

  --border-light: #e2e8f0;
  --border-hover: #7cc4ff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;

  --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 8px 22px -4px rgba(0, 75, 141, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 16px 36px -8px rgba(0, 82, 155, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 26px 54px -12px rgba(0, 82, 155, 0.20);
  --max-w: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

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

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

/* Animaciones suaves y elegantes */
@keyframes floatCube {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   TOP BAR CORPORATIVA (AZUL PROFUNDO Y ELEGANTE)
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #003d75 0%, #0062b8 55%, #0082eb 100%);
  color: #f8fafc;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.topbar-item:hover {
  color: #ffffff;
  text-decoration: underline;
}

.topbar-pill {
  color: #ffffff !important;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  padding: 3px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.topbar-pill:hover {
  background: #ffffff;
  color: var(--dc-blue-dark) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER PRINCIPAL (BLANCO CRISTALINO CON EL LOGO DC SOFTWARE)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 24px rgba(0, 72, 140, 0.06);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 54px;
  width: auto;
  display: block;
  transition: transform 0.25s ease;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

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

/* Menú Desplegable Claro */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 360px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dc-blue);
  padding: 6px 12px 6px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: var(--bg-soft);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--dc-blue-soft);
  color: var(--dc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-item-icon svg {
  width: 18px;
  height: 18px;
}

.dropdown-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-item-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.pill-online {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid #a7f3d0;
  text-transform: uppercase;
}

/* ==========================================================================
   BOTONES MODERNOS Y ATRACTIVOS
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-family: inherit;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dc-blue-dark) 0%, var(--dc-blue) 55%, var(--dc-blue-light) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(0, 114, 206, 0.40);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(0, 114, 206, 0.56);
  color: #ffffff;
}

.btn-emerald,
.btn-whatsapp {
  background: linear-gradient(135deg, #1ea952 0%, #25d366 100%);
  color: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.42);
}

.btn-emerald:hover,
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #168a42 0%, #1ea952 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(37, 211, 102, 0.60);
  color: #ffffff;
}

.btn-whatsapp-outline {
  background: #ffffff;
  color: #168a42;
  border-color: #86efac;
  box-shadow: var(--shadow-xs);
}

.btn-whatsapp-outline:hover {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #15803d;
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--dc-blue-dark);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--dc-blue-soft);
  border-color: var(--dc-blue);
  color: var(--dc-blue);
  transform: translateY(-1px);
}

.btn-soft-blue {
  background: var(--dc-blue-soft);
  color: var(--dc-blue-dark);
  border-color: var(--dc-blue-border);
}

.btn-soft-blue:hover {
  background: var(--dc-blue);
  color: #ffffff;
  border-color: var(--dc-blue);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-lg {
  padding: 13px 25px;
  font-size: 15px;
  border-radius: 14px;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-text-short {
  display: none;
}

.btn-text-full {
  display: inline;
}

.nav-mobile-actions {
  display: none;
}

/* ==========================================================================
   HERO PRINCIPAL ESTILIZADO, ELEGANTE Y CON IDENTIDAD DC SOFTWARE
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 54px 0 68px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 114, 206, 0.11), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(0, 153, 255, 0.13), transparent 46%),
    radial-gradient(circle at 50% 95%, rgba(203, 213, 225, 0.35), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fd 55%, #eaf2fb 100%);
  border-bottom: 1px solid var(--border-light);
}

/* Trama geométrica sutil y limpia */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 114, 206, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 114, 206, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 20%, transparent 80%);
  pointer-events: none;
}

/* Cubo 3D decorativo de fondo */
.hero-bg-cube {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 310px;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  transform: rotate(-8deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 44px;
  align-items: center;
}

/* Insignia superior con el cubo 3D DC */
.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--dc-blue-border);
  box-shadow: 0 4px 14px rgba(0, 114, 206, 0.10);
  margin-bottom: 20px;
}

.hero-brand-pill img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  animation: floatCube 4.5s ease-in-out infinite;
}

.hero-brand-pill span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dc-blue-dark);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 99px;
  background: var(--dc-blue-soft);
  border: 1px solid var(--dc-blue-border);
  color: var(--dc-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* TÍTULO PRINCIPAL ESTILIZADO (Fino, moderno, equilibrado y nada tosco) */
.hero-title {
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--text-charcoal);
  margin-bottom: 18px;
}

.hero-title-kicker {
  display: block;
  font-size: clamp(14px, 1.4vw, 16.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dc-blue);
  margin-bottom: 8px;
}

.hero-title-highlight {
  font-weight: 800;
  background: linear-gradient(135deg, #004582 0%, #0072ce 50%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-title-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(0, 114, 206, 0.22), rgba(0, 153, 255, 0.08));
  border-radius: 99px;
  z-index: -1;
}

.hero-title-sub {
  display: block;
  margin-top: 6px;
  font-size: clamp(21px, 2.35vw, 29px);
  font-weight: 500;
  color: #334155;
  letter-spacing: -0.015em;
}

.hero-title-sub strong {
  font-weight: 700;
  color: var(--text-dark);
}

.hero-lead {
  font-size: 16.5px;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 620px;
  line-height: 1.68;
}

/* Chips rápidos de soluciones en Hero */
.hero-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.hero-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid #dbe6f3;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-charcoal);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.hero-tag-chip:hover {
  border-color: var(--dc-blue);
  color: var(--dc-blue);
  background: var(--dc-blue-soft);
  transform: translateY(-2px);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

/* Tarjeta horizontal de identidad y confianza con el cubo 3D */
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.trust-item-val {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--dc-blue-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

/* Panel de Acceso Rápido Online en Hero (Con Cubo 3D y Tarjetas) */
.online-access-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 2px solid var(--dc-blue-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.online-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.online-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.online-panel-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 114, 206, 0.22));
}

.online-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}

.online-status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-light);
  animation: pulseGlow 2s infinite;
}

.online-app-card {
  background: #ffffff;
  border: 1.5px solid #e2ecf7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.online-app-card:last-child {
  margin-bottom: 0;
}

.online-app-card:hover {
  border-color: var(--dc-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.online-app-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.online-app-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dc-blue-dark) 0%, var(--dc-blue-light) 100%);
  color: #ffffff;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 114, 206, 0.25);
}

.online-app-icon svg {
  width: 23px;
  height: 23px;
  stroke: #ffffff;
}

.online-app-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.online-app-actions .btn {
  flex: 1;
  min-width: 140px;
}

/* ==========================================================================
   FRANJA DESTACADA DE IDENTIDAD Y LOGOS (BANNER VISUAL)
   ========================================================================== */
.brand-ribbon {
  background: linear-gradient(90deg, #003e78 0%, #005fa8 50%, #0077d6 100%);
  color: #ffffff;
  padding: 22px 0;
  border-bottom: 3px solid #38bdf8;
}

.brand-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-ribbon-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-ribbon-logo {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.brand-ribbon-logo img {
  height: 38px;
  width: auto;
}

.brand-ribbon-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ribbon-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13.5px;
  font-weight: 600;
}

/* ==========================================================================
   SECCIONES Y GRILLAS DE SISTEMAS
   ========================================================================== */
.section {
  padding: 76px 0;
  background-color: var(--bg-white);
}

.section-alt {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section-title {
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-body);
}

/* Filtros de Categoría */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-charcoal);
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-btn:hover {
  background: var(--dc-blue-soft);
  color: var(--dc-blue);
  border-color: var(--dc-blue-border);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--dc-blue-dark) 0%, var(--dc-blue-light) 100%);
  color: #ffffff;
  border-color: var(--dc-blue);
  box-shadow: 0 6px 18px rgba(0, 114, 206, 0.30);
}

/* Tarjetas del Catálogo de Sistemas */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 26px;
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--dc-blue);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.system-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  border-top-color: var(--dc-blue);
  box-shadow: var(--shadow-lg);
}

.system-card.is-online {
  border-top: 4px solid var(--emerald-light);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%);
}

.system-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.system-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dc-blue-soft);
  color: var(--dc-blue);
  border: 1px solid var(--dc-blue-border);
  font-size: 24px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.system-card:hover .system-icon-box {
  background: var(--dc-blue);
  color: #ffffff;
  transform: scale(1.06) rotate(-3deg);
}

.system-icon-box svg {
  width: 25px;
  height: 25px;
}

.system-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: var(--dc-blue-dark);
  border: 1px solid var(--dc-blue-border);
}

.system-card.is-online .system-badge {
  background: var(--emerald-soft);
  color: var(--emerald);
  border-color: #a7f3d0;
}

.system-card-title {
  font-size: 19.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.system-card-title a:hover {
  color: var(--dc-blue);
}

.system-card-desc {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.6;
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dc-blue-dark);
  background: var(--bg-soft);
  border: 1px solid #dbe7f5;
  padding: 5px 11px;
  border-radius: 99px;
}

.card-chip::before {
  content: "✓";
  color: var(--dc-blue);
  font-weight: 900;
}

.system-highlights {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-soft);
  padding: 14px 15px;
  border-radius: 13px;
  border: 1px solid #e6eef8;
}

.system-highlights li {
  font-size: 12.8px;
  color: var(--text-charcoal);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
  font-weight: 500;
}

.system-highlights li::before {
  content: "✓";
  color: var(--dc-blue);
  font-weight: 900;
  flex-shrink: 0;
}

.system-card-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.system-card-footer .btn {
  flex: 1;
  min-width: 125px;
}

/* ==========================================================================
   BLOQUES VISUALES DE FUNCIONES (PARA PSIANA, GESTIÓN PEDAGÓGICA Y SISTEMAS)
   ========================================================================== */
.rich-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.rich-feature-card {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1.5px solid #dbe7f5;
  border-radius: 18px;
  padding: 22px;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-xs);
}

.rich-feature-card:hover {
  border-color: var(--dc-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.rich-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rich-feature-emoji {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--dc-blue-soft);
  border: 1px solid var(--dc-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.rich-feature-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.28;
}

.rich-feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rich-feature-list li {
  font-size: 13.8px;
  color: var(--text-body);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.rich-feature-list li::before {
  content: "•";
  color: var(--dc-blue);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
}

/* ==========================================================================
   MODAL INTERACTIVO "VER FUNCIONES Y DETALLES" (FUNCIONA EN PORTADA Y PREVIEW)
   ========================================================================== */
.dc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.dc-modal-overlay.active {
  display: flex;
}

.dc-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 1020px;
  max-height: 90vh;
  border-radius: 24px;
  border: 2px solid var(--dc-blue-border);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.22s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dc-modal-header {
  padding: 22px 28px;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dc-modal-close {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dc-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.dc-modal-body {
  padding: 26px 28px;
  overflow-y: auto;
}

.dc-modal-footer {
  padding: 18px 28px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   POR QUÉ ELEGIRNOS (TARJETAS LUMINOSAS CON ICONOS Y SOMBRA SUAVE)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--dc-blue-border);
}

.feature-card-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--dc-blue);
  background: var(--dc-blue-soft);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   FICHA INDIVIDUAL DE SISTEMA (plantilla-sistema.php)
   ========================================================================== */
.page-hero {
  padding: 50px 0 46px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 114, 206, 0.09), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--dc-blue);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.68fr 1fr;
  gap: 32px;
  align-items: start;
}

.product-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.product-box h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-box p {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.72;
}

.modules-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 16px;
}

.modules-checklist li {
  background: var(--bg-soft);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.2s ease;
}

.modules-checklist li:hover {
  background: #ffffff;
  border-color: var(--dc-blue-border);
  box-shadow: var(--shadow-xs);
}

.modules-checklist li .check-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dc-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sidebar-cta-card {
  background: #ffffff;
  border: 2px solid var(--dc-blue-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 104px;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ) Y CONTACTO
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--dc-blue);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--dc-blue-border);
  border-left-color: var(--dc-blue);
}

.faq-question {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: var(--text-dark);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--dc-blue);
  box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.14);
}

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

/* ==========================================================================
   FOOTER EN GRIS PIZARRA / AZUL CORPORATIVO CON TARJETA BLANCA PARA EL LOGO
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-top: 4px solid var(--dc-blue);
  padding: 64px 0 32px;
  color: #cbd5e1;
  font-size: 14px;
}

.footer-logo-box {
  display: inline-block;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.footer-logo-box img {
  height: 46px;
  width: auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 14.5px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE (CELULARES Y TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .product-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .navbar-container {
    height: 72px;
  }

  .brand-logo img {
    height: 44px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  /* Ocultamos el botón de WhatsApp del header superior en móvil porque ya está el botón flotante permanente */
  .header-action-wa {
    display: none !important;
  }

  .header-action-online {
    height: 40px;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 114, 206, 0.25);
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: var(--dc-blue-dark);
    margin-left: 4px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:active {
    background: var(--dc-blue-soft);
    border-color: var(--dc-blue);
    color: var(--dc-blue);
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 3px solid var(--dc-blue);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 1050;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 6px;
    background: var(--bg-soft);
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .hero-section {
    padding: 36px 0 46px;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .systems-grid,
  .rich-features-grid {
    grid-template-columns: 1fr;
  }

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

  .dc-modal-header,
  .dc-modal-body,
  .dc-modal-footer {
    padding: 18px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
  }
}

@media (max-width: 440px) {
  .navbar-container {
    height: 66px;
    gap: 8px;
  }

  .brand-logo img {
    height: 38px;
  }

  .header-actions {
    gap: 6px;
  }

  .btn-text-full {
    display: none;
  }

  .btn-text-short {
    display: inline;
  }

  .header-action-online {
    height: 38px;
    padding: 6px 11px;
    font-size: 12.5px;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin-left: 2px;
  }

  .nav-menu {
    max-height: calc(100vh - 66px);
  }
}
