/* Art direction: infraestructura tecnológica + seguridad electrónica → blanco / azul / verde
   Palette: blanco + azul corporativo + verde de acento
   Typography: Exo 2 para identidad técnica y moderna
   Density: balanced, mobile-first */

:root {
  --bg-main: #ffffff;
  --bg-secondary: #f6f9fb;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --line-soft: rgba(19, 49, 74, 0.12);
  --line-strong: rgba(77, 155, 44, 0.22);
  --text-main: #13314a;
  --text-muted: #13314a;
  --text-soft: #4d9b2c;
  --accent: #4d9b2c;
  --accent-strong: #13314a;
  --shadow-neon: 0 0 14px rgba(77, 155, 44, 0.18), 0 0 32px rgba(19, 49, 74, 0.10);

  --text-xs: clamp(0.75rem, 0.72rem + 0.2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.65vw, 1.45rem);
  --text-xl: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  --text-2xl: clamp(2.3rem, 1.2rem + 3vw, 4.2rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --radius-xl: 1.8rem;

  --nav-height: 80px;
  --transition: 220ms ease;
  --container-max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Exo 2', sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-main);
  background: #ffffff;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 9999;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.uk-container {
  max-width: var(--container-max);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 950;
  padding: 0 12px;
}

.agnet-navbar {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid rgba(19, 49, 74, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(19, 49, 74, 0.08), 0 0 0 1px rgba(77, 155, 44, 0.05) inset;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.logo-img {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-logo .logo-img {
  height: 60px;
  width: auto;
}

.logo-mark,
.logo-text {
  display: none !important;
}

.nav-desktop {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none !important;
  position: relative;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--accent-strong);
  background: rgba(77, 155, 44, 0.08);
  border-color: rgba(77, 155, 44, 0.25);
  box-shadow: 0 4px 12px rgba(77, 155, 44, 0.08);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.menu-toggle {
  min-width: 46px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(77, 155, 44, 0.25);
  color: var(--accent);
  background: rgba(77, 155, 44, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.menu-toggle:hover {
  box-shadow: var(--shadow-neon);
  background: rgba(77, 155, 44, 0.08);
}

.agnet-offcanvas {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-main);
  border-left: 1px solid rgba(19, 49, 74, 0.12);
}

.offcanvas-brand {
  margin-bottom: var(--space-8);
}

.offcanvas-nav-list li a {
  padding: 14px 0;
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none !important;
}

.offcanvas-nav-list li.uk-active a,
.offcanvas-nav-list li a:hover {
  color: var(--accent);
  text-shadow: none;
}

main {
  position: relative; /* <-- Agregar */
  z-index: 10;        /* <-- Agregar */
  padding-top: calc(var(--nav-height) + 28px);
}

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-copy {
  max-width: 760px;
  padding: var(--space-16) 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-4);
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 var(--space-5);
  font-size: var(--text-2xl);
  line-height: 1.05;
  font-weight: 800;
  color: #13314a;
  text-shadow: none;
}

.hero-copy p,
.page-hero p,
.section-block p,
.info-panel p,
.contact-panel p,
.card-body p,
.mini-panel p,
.feature-line strong {
  color: var(--text-muted);
}

.hero-copy p {
  max-width: 60ch;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-neon,
.btn-ghost-neon {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  /* ESTO ELIMINA LA LÍNEA BLANCA ESTÁTICA */
  text-decoration: none !important; 
}

.btn-neon {
  color: var(--accent);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(19, 49, 74, 0.18), 0 0 14px rgba(77, 155, 44, 0.08);
}

.btn-ghost-neon {
  color: #13314a;
  background: rgba(255, 255, 255, 0.03);
}

.btn-neon:hover,
.btn-ghost-neon:hover {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(77, 155, 44, 0.45), 0 0 14px rgba(77, 155, 44, 0.45), 0 0 34px rgba(19, 49, 74, 0.18);
  transform: translateY(-2px);
  /* ASEGURAMOS QUE NO VUELVA A APARECER AL PASAR EL MOUSE */
  text-decoration: none !important; 
}

.btn-neon::after,
.btn-ghost-neon::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  transform: scaleX(0);
  transition: transform 220ms ease;
  opacity: 0.9;
}

.btn-neon:hover::after,
.btn-ghost-neon:hover::after {
  transform: scaleX(1);
}

/* --- SECCIÓN DE ESTADÍSTICAS / SERVICIOS (ACTUALIZADA) --- */
.stats-band {
  margin-top: -54px;
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-12);
}

.stat-card,
.service-card,
.feature-panel,
.info-panel,
.mini-panel,
.contact-panel,
.contact-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.96));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(19, 49, 74, 0.08);
}

.stat-card {
  height: 100%;
  padding: var(--space-6);
  /* Nuevos ajustes para centrar contenido */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Nuevo estilo de ícono circular basado en el logo */
.agnet-icon-ring {
  width: 90px;
  height: 90px;
  border: 3px solid #54B948; /* Verde AGNET */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-4);
  color: #0C2340; /* Azul AGNET */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-card:hover .agnet-icon-ring {
  transform: translateY(-5px);
  background-color: #f4fcf4;
}

/* Se mantiene por si se usa en versiones antiguas o internas */
.stat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: var(--space-4);
  color: var(--accent);
  background: rgba(77, 155, 44, 0.08);
  border: 1px solid rgba(77, 155, 44, 0.18);
  box-shadow: 0 0 14px rgba(77, 155, 44, 0.18), 0 0 32px rgba(19, 49, 74, 0.10);
}

/* Títulos específicos para la tarjeta de servicios/stats */
.stat-card h3 {
  color: #0C2340;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.3;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Otros títulos */
.card-body h3,
.info-panel h2,
.mini-panel h3,
.contact-panel h2,
.feature-line span {
  margin: 0 0 10px;
  color: #13314a;
}
/* --- FIN SECCIÓN ACTUALIZADA --- */

.section-block {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(19, 49, 74, 0.03));
}

.section-heading {
  margin-bottom: var(--space-8);
}

.section-center {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: var(--text-xl);
  color: #13314a;
}

.feature-panel {
  padding: var(--space-6);
  display: grid;
  gap: 16px;
}

.feature-line {
  padding: 18px 18px;
  border: 1px solid rgba(19, 49, 74, 0.10);
  border-radius: var(--radius-md);
  background: rgba(19, 49, 74, 0.03);
}

.feature-line span {
  display: block;
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-page {
  padding-top: calc(var(--nav-height) + 34px);
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 var(--space-8);
}

.page-hero-small {
  min-height: 38vh;
  display: flex;
  align-items: end;
}

.page-hero p {
  max-width: 60ch;
}

.service-card {
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(19, 49, 74, 0.12), 0 0 24px rgba(77, 155, 44, 0.08);
}

.card-image-wrap {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.service-card:hover .card-image-wrap img {
  transform: scale(1.1);
}

.card-body {
  padding: var(--space-6);
}

.info-panel,
.contact-panel,
.contact-form,
.mini-panel {
  padding: var(--space-6);
  height: 100%;
}

.quote-line {
  margin-top: var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid rgba(77, 155, 44, 0.6);
  color: #13314a;
  font-style: italic;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(19, 49, 74, 0.08);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item span[uk-icon] {
  color: var(--accent);
  margin-top: 4px;
}

.contact-item h3 {
  margin: 0 0 6px;
  font-size: var(--text-base);
  color: #13314a;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: var(--text-sm);
  font-weight: 600;
}

.agnet-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(19, 49, 74, 0.16);
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.agnet-textarea {
  min-height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

.agnet-input::placeholder,
.agnet-textarea::placeholder {
  color: var(--text-soft);
}

.agnet-input:focus,
.agnet-textarea:focus,
select.agnet-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 155, 44, 0.10), 0 0 18px rgba(19, 49, 74, 0.12);
  background: #ffffff;
}

.site-footer {
  position: relative; /* <-- Agregar */
  z-index: 10;        /* <-- Agregar */
  padding: var(--space-12) 0 var(--space-6);
  border-top: 1px solid rgba(19, 49, 74, 0.08);
  background: #ffffff;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: var(--text-base);
  color: var(--accent);
}

.footer-logo {
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(19, 49, 74, 0.08);
  text-align: center;
  color: var(--text-soft);
  font-size: var(--text-sm);
}

.uk-icon svg {
  stroke-width: 1.8;
}

@media (min-width: 1100px) {
  .nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .hero-copy {
    padding-top: 9rem;
    padding-bottom: 7rem;
  }
}

@media (max-width: 1099px) {
  .site-header {
    top: 12px;
    padding: 0 10px;
  }

  .agnet-navbar {
    min-height: 76px;
    padding: 12px 16px;
    border-radius: 24px;
  }

  .stats-band {
    margin-top: -36px;
  }
}

@media (max-width: 639px) {
  main,
  .inner-page {
    padding-top: calc(var(--nav-height) + 18px);
  }

  .hero-copy {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: 11ch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-neon,
  .btn-ghost-neon {
    width: 100%;
  }

  .stat-card,
  .card-body,
  .info-panel,
  .mini-panel,
  .contact-panel,
  .contact-form,
  .feature-panel {
    padding: var(--space-5);
  }

  .card-image-wrap {
    height: 220px;
  }
}

@media (min-width: 1600px) {
  .uk-container {
    max-width: 1500px;
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero-section {
    min-height: 100vh;
  }
}

@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;
  }
}

/* --- ANIMACIÓN DE FONDO (ANILLOS TECNOLÓGICOS DINÁMICOS) --- */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0; /* <-- Cambiar de 900 a 0 */
  overflow: hidden;
  pointer-events: none; /* Fundamental para no bloquear clics */
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  /* Borde más grueso (2px) y un poco más visible */
  border: 2px solid rgba(84, 185, 72, 0.45); 
  background: transparent; 
  /* Animación más dinámica */
  animation: tech-pulse infinite ease-in-out; 
  transform-origin: center center;
}

/* Tiempos reducidos para que el movimiento sea más notorio y fluido */
.shape-1 { 
  width: 600px; height: 600px; 
  right: -10%; top: -10%; 
  animation-duration: 14s; 
}
.shape-2 { 
  width: 800px; height: 800px; 
  right: -5%; top: 15%; 
  animation-duration: 18s; 
  animation-delay: -3s; /* Desfase para que no se muevan igual */
}
.shape-3 { 
  width: 450px; height: 450px; 
  right: 15%; bottom: -5%; 
  animation-duration: 16s; 
}
.shape-4 { 
  width: 700px; height: 700px; 
  left: -15%; top: 30%; 
  animation-duration: 22s; 
  border-color: rgba(84, 185, 72, 0.25); /* Se mantiene más tenue para dar profundidad */
}

/* Animación mejorada: Mayor cambio de escala, rotación de 360 grados y desplazamiento (translate) */
@keyframes tech-pulse {
  0% { 
    transform: scale(0.9) translate(0px, 0px) rotate(0deg); 
    opacity: 0.6; 
  }
  50% { 
    transform: scale(1.1) translate(30px, -25px) rotate(180deg); 
    opacity: 1; 
  }
  100% { 
    transform: scale(0.9) translate(0px, 0px) rotate(360deg); 
    opacity: 0.6; 
  }
}

/* ==========================================================================
   ESTILOS MODERNOS PARA LA PÁGINA DE SERVICIOS (BASADO EN REFERENCIAS)
   ========================================================================== */

.service-card-modern {
  background: #ffffff;
  border: 1px solid rgba(19, 49, 74, 0.08);
  border-radius: 1.2rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(12, 35, 64, 0.04);
}

.service-card-modern:hover {
  transform: translateY(-5px);
  border-color: rgba(84, 185, 72, 0.3);
  box-shadow: 0 15px 35px rgba(12, 35, 64, 0.1);
}

/* Cabecera de la tarjeta con icono y título integrados */
.service-icon-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  background: linear-gradient(to bottom, #fcfdfd, #ffffff);
}

.agnet-icon-ring-small {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  border: 2px solid #54B948; /* Verde AGNET */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0C2340; /* Azul Marino AGNET */
  background: rgba(84, 185, 72, 0.05);
  transition: all 0.3s ease;
}

.service-card-modern:hover .agnet-icon-ring-small {
  background: #54B948;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(84, 185, 72, 0.4);
}

.service-icon-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0C2340;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Imagen divisoria estilizada */
.card-image-wrap-small {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.card-image-wrap-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-modern:hover .card-image-wrap-small img {
  transform: scale(1.05);
}

/* Cuerpo y contenido */
.card-body-modern {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body-modern p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* Lista técnica verde (Bullets de confirmación) */
.service-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.service-list-modern li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #13314a;
  font-weight: 600;
}

/* Checkmark o flecha verde personalizada */
.service-list-modern li::before {
  content: '✓'; /* Puedes cambiarlo por '■' o '→' */
  color: #54B948;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

/* ==========================================================================
   ESTILOS PARA SERVICIOS DETALLADOS (HORIZONTALES Y COMPLEMENTARIOS)
   ========================================================================== */

/* Tarjetas Horizontales (Servicios Principales) */
.service-horizontal-card {
  background: #ffffff;
  border: 1px solid rgba(19, 49, 74, 0.08);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(12, 35, 64, 0.05);
}

.service-horizontal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(84, 185, 72, 0.35);
  box-shadow: 0 20px 40px rgba(12, 35, 64, 0.12);
}

.service-horizontal-card .uk-card-body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.service-horizontal-card h2 {
  color: #0C2340;
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-horizontal-card p.lead-text {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Badges (Etiquetas de Resaltado) */
.agnet-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.agnet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(84, 185, 72, 0.1);
  color: #3b8a30;
  border: 1px solid rgba(84, 185, 72, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Tarjetas de Servicios Complementarios */
.complementary-card {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(19, 49, 74, 0.08);
  border-radius: 1rem;
  transition: all 0.3s ease;
  height: 100%;
}

.complementary-card:hover {
  background: linear-gradient(180deg, #ffffff, #f4fcf4);
  border-color: #54B948;
  transform: translateY(-4px);
}

.comp-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0C2340;
  color: #ffffff;
  border-radius: 16px;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.complementary-card:hover .comp-icon {
  transform: rotate(0deg) scale(1.08);
  background: #54B948;
}

.complementary-card h4 {
  font-weight: 700;
  color: #0C2340;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.complementary-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Sub-lista minimalista */
.sub-list-mini {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.sub-list-mini li {
  font-size: 0.85rem;
  color: #444;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.sub-list-mini li::before {
  content: '→';
  color: #54B948;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== Responsive navbar fixes ===== */
.agnet-navbar{
  flex-wrap:nowrap;
  overflow:hidden;
}
.logo-img{
  height:clamp(60px,5vw,60px);
  max-width:clamp(140px,18vw,220px);
  width:auto;
}
.nav-links{gap:2px;}
.nav-links li{display:flex;}
.nav-links a{
  color:#13314a !important;
  padding:10px 14px;
}
.offcanvas-nav-list li a{
  color:#13314a !important;
}
.offcanvas-nav-list li.uk-active a,
.offcanvas-nav-list li a:hover{
  color:#4d9b2c !important;
}
@media (max-width:1200px){
  .logo-img{height:60px;max-width:180px;}
  .nav-links a{padding:10px 12px;font-size:.9rem;}
}
@media (max-width:1050px){
  .nav-links a{padding:8px 10px;font-size:.85rem;}
}
