/**
 * Grupo Kilómetro Sur — Capa de Design System
 * ------------------------------------------------------------------
 * Se carga DESPUÉS de main.css (KnightOne). No modifica la plantilla:
 * únicamente redefine tokens y aplica ajustes de modernización.
 *
 * Fuente de verdad visual: Manual de marca Grupo Kilómetro Sur.
 * Tipografía corporativa detectada en el manual: Lato.
 * Color corporativo extraído del logotipo oficial: #0E2340.
 * ------------------------------------------------------------------ */

/*--------------------------------------------------------------
# 1. Tokens
--------------------------------------------------------------*/
:root {
  /* Tipografía */
  --default-font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Paleta corporativa */
  --gks-navy: #0e2340;
  --gks-navy-700: #14304f;
  --gks-navy-600: #1b3a63;
  --gks-navy-050: #f2f5f9;
  --gks-teal: #11c3ad;
  --gks-ink: #101828;
  --gks-body: #4a5568;
  --gks-border: #e3e8ef;

  /* Colores globales KnightOne mapeados a la marca */
  --background-color: #ffffff;
  --default-color: var(--gks-body);
  --heading-color: var(--gks-ink);
  --accent-color: var(--gks-navy);
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Navegación */
  --nav-color: #1f2a3a;
  --nav-hover-color: var(--gks-navy);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #4a5568;
  --nav-dropdown-hover-color: var(--gks-navy);

  /* Espaciado, radios, sombras, transiciones */
  --gks-radius-sm: 8px;
  --gks-radius: 14px;
  --gks-radius-lg: 20px;
  --gks-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --gks-shadow: 0 8px 24px rgba(14, 35, 64, 0.08);
  --gks-shadow-lg: 0 18px 44px rgba(14, 35, 64, 0.12);
  --gks-transition: 0.25s ease;
  --gks-section-py: 96px;
}

.light-background {
  --background-color: var(--gks-navy-050);
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: var(--gks-navy);
  --default-color: #d7e0ec;
  --heading-color: #ffffff;
  --surface-color: #14304f;
  --contrast-color: #ffffff;
  --accent-color: #ffffff;
}

/*--------------------------------------------------------------
# 2. Base tipográfica y ritmo vertical
--------------------------------------------------------------*/
body {
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.section {
  padding: var(--gks-section-py) 0;
}

@media (max-width: 768px) {
  :root { --gks-section-py: 64px; }
  body { font-size: 16px; }
}

.section-title {
  padding-bottom: 28px;
  text-align: left;
  max-width: 880px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  text-transform: none;
  letter-spacing: -0.02em;
}

.section-title h2::after {
  display: none;
}

.section-title p {
  font-size: 18px;
  color: var(--gks-body);
  margin-bottom: 0;
}

.gks-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gks-navy);
  margin-bottom: 12px;
}

.dark-background .gks-eyebrow {
  color: var(--gks-teal);
}

/* Evita textos excesivamente anchos */
.gks-measure {
  max-width: 68ch;
}

/*--------------------------------------------------------------
# 3. Header y navegación
--------------------------------------------------------------*/
.header {
  --background-color: #ffffff;
  --default-color: var(--nav-color);
  --heading-color: var(--gks-ink);
  background-color: #ffffff;
  border-bottom: 1px solid var(--gks-border);
  padding: 12px 0;
}

body.scrolled .header {
  box-shadow: var(--gks-shadow-sm);
}

.header .logo img {
  max-height: 44px;
  width: auto;
}

@media (max-width: 575px) {
  .header .logo img { max-height: 34px; }
}

.navmenu a,
.navmenu a:focus {
  font-weight: 600;
  font-size: 15px;
}

.header .cta-btn,
.header .cta-btn:focus {
  border-radius: var(--gks-radius-sm);
  font-weight: 700;
  padding: 10px 22px;
  background: var(--gks-navy);
}

.header .cta-btn:hover {
  background: var(--gks-navy-600);
}

/* Compensa el header fijo al navegar por anclas */
main.main > section[id] {
  scroll-margin-top: 90px;
}

/*--------------------------------------------------------------
# 4. Botones
--------------------------------------------------------------*/
.gks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--gks-radius-sm);
  border: 1px solid transparent;
  transition: var(--gks-transition);
  min-height: 48px;
}

.gks-btn-primary {
  background: var(--gks-navy);
  color: #ffffff;
}

.gks-btn-primary:hover {
  background: var(--gks-navy-600);
  color: #ffffff;
}

.gks-btn-outline {
  border-color: var(--gks-border);
  color: var(--gks-ink);
  background: #ffffff;
}

.gks-btn-outline:hover {
  border-color: var(--gks-navy);
  color: var(--gks-navy);
}

.dark-background .gks-btn-primary {
  background: #ffffff;
  color: var(--gks-navy);
}

.dark-background .gks-btn-primary:hover {
  background: #e8eef6;
  color: var(--gks-navy);
}

.dark-background .gks-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.dark-background .gks-btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* Foco visible y accesible en todo el sitio */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.gks-btn:focus-visible {
  outline: 3px solid var(--gks-teal);
  outline-offset: 2px;
}

/*--------------------------------------------------------------
# 5. Hero
--------------------------------------------------------------*/
.hero {
  padding: 160px 0 100px 0;
  min-height: auto;
}

/* El fondo del hero es una composición propia ya construida sobre el navy
   corporativo, por eso se muestra a opacidad completa. El velo de abajo solo
   oscurece el flanco izquierdo para que el texto mantenga contraste AA. */
.hero img {
  opacity: 1;
  object-position: 70% center;
}

.hero::before {
  background: linear-gradient(90deg,
    rgba(10, 26, 48, 0.96) 0%,
    rgba(10, 26, 48, 0.88) 38%,
    rgba(10, 26, 48, 0.45) 68%,
    rgba(10, 26, 48, 0.25) 100%);
}

/* En pantallas estrechas el recorte deja poco margen: se refuerza el velo. */
@media (max-width: 991px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(10, 26, 48, 0.82) 0%,
      rgba(10, 26, 48, 0.93) 55%,
      rgba(10, 26, 48, 0.97) 100%);
  }
}

.hero .container {
  align-items: flex-start !important;
  text-align: left !important;
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 56px);
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 18ch;
}

.hero p.hero-lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: #cbd7e6;
  max-width: 60ch;
  margin-bottom: 32px;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
}

.hero-meta div {
  min-width: 180px;
}

.hero-meta strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 4px;
}

.hero-meta span {
  color: #9fb3ca;
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 72px 0; }
  .hero-actions .gks-btn { width: 100%; justify-content: center; }
}

/*--------------------------------------------------------------
# 6. Tarjetas (soluciones, features, proceso)
--------------------------------------------------------------*/
.gks-card {
  background: var(--surface-color);
  border: 1px solid var(--gks-border);
  border-radius: var(--gks-radius);
  padding: 32px;
  height: 100%;
  transition: var(--gks-transition);
}

.gks-card:hover {
  border-color: color-mix(in srgb, var(--gks-navy), transparent 70%);
  box-shadow: var(--gks-shadow);
}

.gks-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.gks-card p {
  color: var(--gks-body);
  margin-bottom: 18px;
}

.gks-card .gks-card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gks-radius-sm);
  background: var(--gks-navy-050);
  color: var(--gks-navy);
  font-size: 22px;
  margin-bottom: 20px;
}

.gks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.gks-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  color: var(--gks-body);
}

.gks-list li i {
  color: var(--gks-teal);
  font-size: 18px;
  line-height: 1.5;
  flex-shrink: 0;
}

.gks-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--gks-navy);
}

.gks-link:hover {
  gap: 10px;
  color: var(--gks-navy-600);
}

.dark-background .gks-link {
  color: #ffffff;
}

/*--------------------------------------------------------------
# 7. Suites QappitalCode
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# 6b. Imágenes de apoyo
--------------------------------------------------------------*/
.gks-figure {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--gks-radius);
  background: var(--gks-navy-050);
}

.dark-background .gks-figure {
  background: var(--gks-navy-700);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gks-brandmark {
  max-height: 56px;
  width: auto;
  margin-bottom: 24px;
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.suite-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--gks-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #e6edf6;
  font-size: 15px;
  font-weight: 600;
}

.suite-chip i {
  color: var(--gks-teal);
  font-size: 18px;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# 8. Proceso logístico
--------------------------------------------------------------*/
.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.process-step {
  counter-increment: step;
  border-top: 2px solid var(--gks-border);
  padding-top: 18px;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gks-teal);
  margin-bottom: 8px;
}

.process-step h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 15px;
  color: var(--gks-body);
  margin: 0;
}

/*--------------------------------------------------------------
# 9. Aviso legal
--------------------------------------------------------------*/
.gks-legal-note {
  border-left: 3px solid var(--gks-teal);
  background: var(--gks-navy-050);
  border-radius: 0 var(--gks-radius-sm) var(--gks-radius-sm) 0;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--gks-body);
}

.gks-legal-note p:last-child {
  margin-bottom: 0;
}

.gks-legal-note .review-date {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #6b7a90;
}

/*--------------------------------------------------------------
# 10. FAQ
--------------------------------------------------------------*/
.faq .faq-item {
  border: 1px solid var(--gks-border);
  border-radius: var(--gks-radius);
  background: #ffffff;
  margin-bottom: 14px;
}

.faq .faq-item h3 {
  font-size: 18px;
}

/*--------------------------------------------------------------
# 11. Contacto y formulario
--------------------------------------------------------------*/
.contact .info-item {
  background: #ffffff;
  border: 1px solid var(--gks-border);
  border-radius: var(--gks-radius);
  padding: 24px;
  margin-bottom: 16px;
}

.contact .info-item i {
  color: var(--gks-navy);
  background: var(--gks-navy-050);
  border-radius: var(--gks-radius-sm);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 16px;
}

.contact .info-item h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7a90;
  margin-bottom: 4px;
}

.contact .info-item a {
  color: var(--gks-ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact .info-item a:hover {
  color: var(--gks-navy);
}

.php-email-form {
  background: #ffffff;
  border: 1px solid var(--gks-border);
  border-radius: var(--gks-radius);
  padding: 32px;
}

.php-email-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gks-ink);
  margin-bottom: 6px;
}

.php-email-form .form-control,
.php-email-form .form-select {
  border-radius: var(--gks-radius-sm);
  border: 1px solid var(--gks-border);
  padding: 12px 14px;
  font-size: 16px;
  min-height: 48px;
  box-shadow: none;
}

.php-email-form .form-control:focus,
.php-email-form .form-select:focus {
  border-color: var(--gks-navy);
  box-shadow: 0 0 0 3px rgba(14, 35, 64, 0.12);
}

.php-email-form button[type=submit] {
  background: var(--gks-navy);
  border-radius: var(--gks-radius-sm);
  font-weight: 700;
  padding: 14px 34px;
  min-height: 48px;
}

.php-email-form button[type=submit]:hover {
  background: var(--gks-navy-600);
}

.form-hint {
  font-size: 13px;
  color: #6b7a90;
  margin-top: 14px;
}

@media (max-width: 575px) {
  .php-email-form { padding: 22px; }
}

/*--------------------------------------------------------------
# 12. Footer
--------------------------------------------------------------*/
.footer {
  background: var(--gks-navy);
  text-align: left;
  padding: 64px 0 0 0;
  font-size: 15px;
}

.footer .footer-logo {
  max-height: 52px;
  width: auto;
  margin-bottom: 18px;
}

.footer p {
  color: #a8bbd1;
}

.footer h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  padding: 5px 0;
}

.footer a {
  color: #cbd9ea;
}

.footer a:hover {
  color: #ffffff;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding: 24px 0;
  color: #8ea4bd;
  font-size: 14px;
}

/*--------------------------------------------------------------
# 13. Accesibilidad y preferencias del sistema
--------------------------------------------------------------*/
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--gks-navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 0 0 var(--gks-radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Imágenes panorámicas (16:9) para bandas de sección */
.gks-figure-wide {
  aspect-ratio: 16 / 9;
}

/*--------------------------------------------------------------
# 14. Banda de datos clave
--------------------------------------------------------------*/
.gks-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--gks-border);
  border: 1px solid var(--gks-border);
  border-radius: var(--gks-radius);
  overflow: hidden;
}

.gks-stat {
  background: #fff;
  padding: 24px 22px;
}

.light-background .gks-stat {
  background: #fff;
}

.gks-stat-figure {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gks-navy);
  margin-bottom: 10px;
}

.gks-stat-figure span {
  color: var(--gks-teal);
}

.gks-stat-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gks-navy);
  margin-bottom: 6px;
}

.gks-stat p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gks-body);
  margin: 0;
}

/*--------------------------------------------------------------
# 15. Tarjeta lateral de apoyo
--------------------------------------------------------------*/
.gks-aside {
  position: sticky;
  top: 100px;
  border: 1px solid var(--gks-border);
  border-top: 3px solid var(--gks-teal);
  border-radius: var(--gks-radius);
  background: #fff;
  padding: 26px 24px;
}

.gks-aside h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.gks-aside p {
  font-size: 15px;
  color: var(--gks-body);
}

.gks-aside .gks-aside-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--gks-border);
}

.gks-aside .gks-aside-contact i {
  color: var(--gks-teal);
  font-size: 18px;
}

@media (max-width: 991px) {
  .gks-aside { position: static; margin-top: 32px; }
}

/*--------------------------------------------------------------
# 16. Diagrama de ruta (SVG)
--------------------------------------------------------------*/
.gks-route {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 36px;
}

.gks-route .route-line {
  fill: none;
  stroke: var(--gks-border);
  stroke-width: 2;
}

.gks-route .route-line-active {
  fill: none;
  stroke: var(--gks-teal);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.gks-route .route-node {
  fill: #fff;
  stroke: var(--gks-navy);
  stroke-width: 2;
}

.gks-route .route-node-accent {
  fill: var(--gks-teal);
  stroke: var(--gks-teal);
}

.gks-route .route-icon {
  fill: var(--gks-navy);
}

.gks-route .route-icon-accent {
  fill: #fff;
}

.gks-route .route-label {
  font-size: 13px;
  font-weight: 700;
  fill: var(--gks-navy);
}

.gks-route .route-sublabel {
  font-size: 11.5px;
  fill: #6b7a90;
  font-weight: 500;
}

/*--------------------------------------------------------------
# 17. Hero: bifurcación por tipo de visitante
   Las dos líneas de negocio se dirigen a públicos muy distintos.
   En vez de un CTA único, el hero deja que cada visitante se
   identifique y siga su propio camino.
--------------------------------------------------------------*/
.hero-question {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gks-teal);
  margin: 0 0 16px;
}

.hero-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 860px;
}

.hero-path {
  display: flex;
  gap: 16px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--gks-radius);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-path:hover,
.hero-path:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gks-teal);
  transform: translateY(-3px);
}

.hero-path-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(17, 195, 173, 0.16);
  color: var(--gks-teal);
  font-size: 22px;
}

.hero-path-body {
  display: block;
}

.hero-path strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.hero-path-desc {
  display: block;
  color: #cbd7e6;
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.hero-path-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gks-teal);
  font-size: 14px;
  font-weight: 700;
}

.hero-path:hover .hero-path-cue i {
  transform: translateX(4px);
}

.hero-path-cue i {
  transition: transform 0.25s ease;
}

/* La franja inferior pasa de titulares a señales de confianza. */
.hero-meta div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
  flex: 1 1 220px;
}

.hero-meta i {
  color: var(--gks-teal);
  font-size: 18px;
  line-height: 1.4;
}

.hero-meta span {
  color: #cbd7e6;
  font-size: 14.5px;
  line-height: 1.45;
}

@media (max-width: 575px) {
  .hero-path {
    padding: 18px;
  }
}

/*--------------------------------------------------------------
# 18. Campos condicionales del formulario
--------------------------------------------------------------*/
.gks-conditional[hidden] {
  display: none;
}

.gks-conditional > .row {
  border-left: 3px solid var(--gks-teal);
  background: var(--gks-navy-050);
  border-radius: 0 var(--gks-radius-sm) var(--gks-radius-sm) 0;
  margin-left: 0;
  margin-right: 0;
  padding: 4px 20px 20px 20px;
}

.gks-conditional-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gks-navy);
  margin: 0;
}

/*--------------------------------------------------------------
# 19. Acceso directo por WhatsApp
--------------------------------------------------------------*/
.gks-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 996;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gks-whatsapp:hover,
.gks-whatsapp:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.gks-whatsapp i {
  font-size: 21px;
}

@media (max-width: 575px) {
  .gks-whatsapp {
    padding: 13px;
  }

  /* En móvil el texto compite con el contenido: queda solo el icono. */
  .gks-whatsapp span {
    display: none;
  }
}

/*--------------------------------------------------------------
# 20. Animaciones ligadas al contenido
--------------------------------------------------------------*/

/* El trazo del diagrama de ruta se dibuja de origen a destino. */
.gks-route-ready .route-line,
.gks-route-ready .route-line-active {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

.gks-route-drawn .route-line,
.gks-route-drawn .route-line-active {
  transition: stroke-dashoffset 1.1s ease-out;
  stroke-dashoffset: 0;
}

.gks-route-ready .route-line-active {
  transition-delay: 0.25s;
}

.gks-route-ready .route-node,
.gks-route-ready .route-icon,
.gks-route-ready .route-icon-accent,
.gks-route-ready .route-label,
.gks-route-ready .route-sublabel {
  opacity: 0;
}

.gks-route-drawn .route-node,
.gks-route-drawn .route-icon,
.gks-route-drawn .route-icon-accent,
.gks-route-drawn .route-label,
.gks-route-drawn .route-sublabel {
  opacity: 1;
  transition: opacity 0.5s ease-out 0.6s;
}

/* La cifra reserva su espacio para que el contador no mueva el texto. */
.gks-stat-figure {
  font-variant-numeric: tabular-nums;
}

/* Las tarjetas responden al cursor: indican que hay algo que leer. */
.gks-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gks-card:hover {
  transform: translateY(-4px);
  border-color: var(--gks-teal);
  box-shadow: 0 12px 28px rgba(14, 35, 64, 0.1);
}

/* Cabecera compacta al desplazar. */
.header-compact {
  box-shadow: 0 2px 16px rgba(14, 35, 64, 0.1);
}

.header-compact .logo img {
  max-height: 34px;
  transition: max-height 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .gks-route-ready .route-line,
  .gks-route-ready .route-line-active {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .gks-route-ready .route-node,
  .gks-route-ready .route-icon,
  .gks-route-ready .route-icon-accent,
  .gks-route-ready .route-label,
  .gks-route-ready .route-sublabel {
    opacity: 1;
  }

  .gks-card:hover {
    transform: none;
  }
}

/*--------------------------------------------------------------
# 21. Señales de confianza
   Sin clientes que mostrar todavía, lo que genera confianza es
   lo verificable: quiénes somos, dónde estamos y a qué nos
   comprometemos por escrito.
--------------------------------------------------------------*/
.gks-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px 28px;
  padding: 26px 28px;
  border: 1px solid var(--gks-border);
  border-radius: var(--gks-radius);
  background: #ffffff;
  margin-bottom: 44px;
}

.gks-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gks-trust-item i {
  color: var(--gks-teal);
  font-size: 21px;
  line-height: 1.3;
  flex-shrink: 0;
}

.gks-trust-item strong {
  display: block;
  font-size: 15px;
  color: var(--gks-navy);
  margin-bottom: 3px;
  line-height: 1.35;
}

.gks-trust-item span {
  display: block;
  font-size: 14px;
  color: var(--gks-body);
  line-height: 1.5;
}

/* Listas usadas dentro del encabezado de una sección. */
.gks-list-inline {
  margin-top: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# 22. KALAKI Logistics dentro del sitio del grupo
   Versión principal del logo sobre fondo blanco, con el ancho
   mínimo digital que pide su manual (220 px).
--------------------------------------------------------------*/
.gks-kalaki-mark {
  display: block;
  width: 240px;
  height: auto;
  margin: 4px 0 24px;
}
