/* ========================================
   TEMPLATE BASE - HYPERCONECTADO
   Solo estilos de Navbar y Footer
   Minimalista y reutilizable
   ======================================== */

/* ======================== VARIABLES Y RESET ======================== */

:root {
  --color-primary: #CD3334;
  --color-secondary: #E28413;
  --color-dark: #2D3748;
  --color-accent: #308A9E;
  --color-light: #F3F3F3;
  --color-text-light: #E0E0E0;
  --color-whatsapp: #25D366;
  --border-thickness: 4px;
}

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

body {
  font-family: 'Matter SQ Regular', sans-serif;
}

/* ======================== LOGO GLITCH EFFECT ======================== */

@media (hover: hover) {
  .navbar-logo:hover {
    animation: glitch 0.3s linear infinite;
  }
}

@media (hover: none) {
  .navbar-logo:active {
    animation: glitch 0.3s linear 2;
  }
}

@keyframes glitch {
  0% {
    filter: drop-shadow(-2px 0 var(--color-primary));
    transform: translateX(0);
  }
  25% {
    filter: drop-shadow(2px 0 var(--color-secondary));
    transform: translateX(-2px);
  }
  50% {
    filter: drop-shadow(-2px 0 var(--color-primary));
    transform: translateX(2px);
  }
  75% {
    filter: drop-shadow(2px 0 var(--color-secondary));
    transform: translateX(0);
  }
  100% {
    filter: none;
  }
}

/* ======================== NAVBAR BRUTAL ======================== */

.navbar {
  width: 100%;
  background-color: var(--color-light);
  border-bottom: var(--border-thickness) solid #000;
  padding: 0.5rem;
  position: relative;
  z-index: 999;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
}

.navbar-logo {
  max-height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

/* Toggler button mobile */
.navbar-toggler {
  border: var(--border-thickness) solid #000;
  padding: 0.5rem 0.75rem;
  margin-right: 1rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  font-size: 1.5rem;
  line-height: 1;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Navbar collapse */
.navbar-collapse.show {
  transition: all 0.3s ease;
}

/* Nav links */
.navbar-nav .nav-link {
  font-family: 'Matter SQ Regular', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--color-secondary);
  background-color: rgba(0, 0, 0, 0.05);
  transform: scale(1.05);
}

/* Dropdown menu */
.dropdown-menu {
  background-color: var(--color-primary);
  border: var(--border-thickness) solid #000;
  padding: 0;
  margin-top: 5px;
  transform: scale(0.98);
  transform-origin: top center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.1);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
  transform: scale(1);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.4);
}

/* Dropdown items */
.dropdown-item {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
  border-bottom: 3px solid #000;
  position: relative;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #060606;
  color: #fff;
  transform: scale(1.02);
  z-index: 1;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-item:last-child {
  border-bottom: none;
}

/* Show dropdown on desktop */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* WhatsApp button */
.btn-whatsapp {
  background-color: transparent;
  color: var(--color-whatsapp);
  font-weight: bold;
  border: var(--border-thickness) solid var(--color-whatsapp);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  margin-left: auto;
  margin-right: 1rem;
  border-radius: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #000;
}

/* Responsive navbar */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-light);
    z-index: 1000;
    padding: 15px;
    border-bottom: var(--border-thickness) solid #000;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .navbar-collapse.collapse {
    display: none;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
  }

  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
  }

  .dropdown-menu {
    position: static;
    border: var(--border-thickness) solid #000;
    background-color: rgba(205, 51, 52, 0.9);
    margin-top: 5px;
    transform: scale(1);
    box-shadow: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .btn-whatsapp {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    justify-content: center;
  }
}

/* ======================== MAIN CONTENT ======================== */

.main-content {
  min-height: calc(100vh - 300px);
  padding: 40px 20px;
}

/* ======================== FOOTER BRUTAL ======================== */

.footer-hyperconectado {
  background-color: var(--color-dark);
  border-top: var(--border-thickness) solid #000;
  padding: 0;
  margin: 0;
  margin-top: 60px;
}

.footer-main {
  padding: 60px 20px 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  background-color: transparent;
}

/* Logo Column */
.footer-col-logo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.navbar-logo {
  max-width: 180px;
  height: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-family: 'Matter SQ Regular', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background-color: transparent;
  border: 3px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #000;
}

/* License */
.footer-license {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-license img {
  display: block;
  margin-bottom: 8px;
}

.license-text {
  font-size: 0.75rem;
  color: #999;
  font-family: 'Matter SQ Regular', sans-serif;
  margin: 0;
  line-height: 1.4;
}

/* Column Titles */
.footer-col-titulo {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  font-family: "Hakuna Sans";
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-accent);
  letter-spacing: 1px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: 'Matter SQ Regular', sans-serif;
  display: inline-block;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 15px;
}

.footer-links a:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-links a:hover:before {
  color: #6EC1E4;
}

/* Contact Info */
.footer-contacto {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.footer-contacto li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-family: 'Matter SQ Regular', sans-serif;
}

.footer-contacto i {
  color: var(--color-accent);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contacto a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contacto a:hover {
  color: #6EC1E4;
}

.footer-descripcion {
  font-size: 0.85rem;
  color: #999;
  font-family: 'Matter SQ Regular', sans-serif;
  line-height: 1.6;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Copyright */
.footer-copyright {
  background-color: #000;
  padding: 20px;
  text-align: center;
  border-top: 3px solid var(--color-accent);
}

.footer-copyright p {
  color: #999;
  font-size: 0.85rem;
  font-family: 'Matter SQ Regular', sans-serif;
  margin: 0;
}

.footer-copyright #current-year {
  color: #fff;
  font-weight: 700;
}

/* ======================== RESPONSIVE ======================== */

/* Tablet */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-col-logo {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    margin-left: 0;
    padding: 0.5rem 0.75rem;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .footer-main {
    padding: 40px 20px 30px 20px;
  }

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

  .footer-col-logo {
    grid-column: 1;
    padding-bottom: 30px;
    border-bottom: 3px solid rgba(48, 138, 158, 0.3);
  }

  .footer-col-titulo {
    font-size: 0.9rem;
  }

  .footer-links a,
  .footer-contacto li {
    font-size: 0.85rem;
  }

  .footer-copyright p {
    font-size: 0.8rem;
  }
}

/* Extra Small */
@media (max-width: 480px) {
  .navbar {
    padding: 0.25rem;
  }

  .navbar-brand {
    font-size: 1.4rem;
  }

  .navbar-logo {
    max-height: 40px;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
  }

  .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .btn-whatsapp {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .footer-main {
    padding: 30px 15px 20px 15px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-col-titulo {
    font-size: 0.85rem;
  }
}

/* ======================== UTILITIES ======================== */

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.pt-20 {
  padding-top: 20px;
}

.pb-20 {
  padding-bottom: 20px;
}



/* ======================== HERO — agregar al final del CSS del template ======================== */

/* Variables adicionales del hero (no reemplazar las existentes) */
:root {
  --hc-cerulean:  #1F75AE;
  --hc-ruby:      #A01F27;
  --hc-muted-800: #2D3748;
  --font-display: 'Hakuna Sans', 'Arial Black', sans-serif;
  --font-body:    'Matter SQ Regular', 'Helvetica Neue', sans-serif;
}

/* Animaciones */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.fade-in  { animation: fadeInUp 0.5s ease both; }
.delay-1  { animation-delay: 0.08s; }
.delay-2  { animation-delay: 0.18s; }
.delay-3  { animation-delay: 0.28s; }

/* Hero */
#hero {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 60px 20px 64px;
}

.hero-inner { max-width: 740px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF2F2;
  color: var(--hc-ruby);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #FECACA;
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 28px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--hc-ruby);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink-dot 1.4s infinite;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hc-muted-800);
  margin-bottom: 20px;
}

.hero-h1 .accent {
  color: var(--hc-ruby);
  border-bottom: 3px solid var(--hc-ruby);
  padding-bottom: 1px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #4B5563;
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-sub strong {
  color: var(--hc-muted-800);
  font-weight: 700;
}

.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--hc-cerulean);
  margin-bottom: 28px;
}

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

.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(37,211,102,0.3);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-wa-hero:hover {
  background: #1ebe5d;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  color: #fff;
}

.btn-call-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--hc-muted-800);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 2px solid #D1D5DB;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-call-hero:hover {
  border-color: var(--hc-cerulean);
  color: var(--hc-cerulean);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #6B7280;
}

.hero-proof-item i {
  color: var(--hc-cerulean);
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  #hero { padding: 40px 20px 48px; }
  .hero-ctas { flex-direction: column; }
  .btn-wa-hero,
  .btn-call-hero { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════
   DIAGNÓSTICO
   Prefijo de todas las clases: .diag-
   Evita colisiones con navbar/footer/hero
════════════════════════════════════════ */
 
#diagnostico {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 64px 20px;
}
 
/* Encabezado de sección */
.diag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF2F2;
  color: var(--hc-ruby);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #FECACA;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
 
.diag-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--hc-muted-800);
  line-height: 1.15;
  margin-bottom: 12px;
}
 
.diag-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4B5563;
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 40px;
}
 
/* Grid de tarjetas */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
 
/* Tarjeta individual */
.diag-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-left: 4px solid #E5E7EB;
  border-radius: 6px;
  padding: 22px 18px 18px;
  position: relative;
  cursor: default;
  transition: border-left-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
 
.diag-card:hover {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
 
/* Estado marcado */
.diag-card.is-checked {
  border-left-color: var(--hc-ruby);
  background: #FFF8F8;
}
 
/* Número decorativo de fondo */
.diag-card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  position: absolute;
  bottom: 10px;
  right: 14px;
  user-select: none;
  pointer-events: none;
}
 
/* Ícono */
.diag-card-icon {
  font-size: 1.4rem;
  color: #9CA3AF;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
 
.diag-card.is-checked .diag-card-icon {
  color: var(--hc-ruby);
}
 
/* Título de la tarjeta */
.diag-card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--hc-muted-800);
  margin-bottom: 6px;
}
 
/* Descripción */
.diag-card-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #6B7280;
  line-height: 1.6;
}
 
/* Checkbox en esquina */
.diag-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border: 2px solid #D1D5DB;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
 
.diag-card.is-checked .diag-check {
  background: var(--hc-ruby);
  border-color: var(--hc-ruby);
  color: #fff;
}
 
/* ── Barra de resultado (se muestra al marcar ≥1) ── */
.diag-result {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 6px;
  border: 1px solid #FECACA;
  background: #FEF2F2;
  margin-top: 8px;
}
 
.diag-result.is-visible {
  display: flex;
  animation: diagFadeIn 0.35s ease both;
}
 
@keyframes diagFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
.diag-result-icon {
  font-size: 1.3rem;
  color: var(--hc-ruby);
  flex-shrink: 0;
  margin-top: 2px;
}
 
.diag-result-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #7F1D1D;
  line-height: 1.6;
}
 
.diag-result-text strong {
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
 
.diag-result-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  background: var(--hc-ruby);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}
 
.diag-result-link:hover {
  background: #7B1219;
  color: #fff;
  text-decoration: none;
}
 
/* ── Responsive ── */
@media (max-width: 880px) {
  .diag-grid { grid-template-columns: repeat(2, 1fr); }
}
 
@media (max-width: 540px) {
  #diagnostico { padding: 48px 20px; }
  .diag-grid { grid-template-columns: 1fr; }
}

/* Consecuencias del SIlencio,  */


/* ════════════════════════════════════════════
   CONSECUENCIAS DEL SILENCIO
   Prefijo de todas las clases: .cons-
════════════════════════════════════════════ */
 
#consecuencias {
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 64px 20px;
}
 
/* Encabezado */
.cons-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF2F2;
  color: var(--hc-ruby);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #FECACA;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
 
.cons-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--hc-muted-800);
  line-height: 1.15;
  margin-bottom: 12px;
}
 
.cons-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4B5563;
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 48px;
}
 
/* ── Timeline vertical ── */
.cons-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
}
 
/* Línea vertical conectora */
.cons-timeline::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E5E7EB;
  z-index: 0;
}
 
/* Paso individual */
.cons-step {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
  padding-bottom: 36px;
}
 
.cons-step:last-child {
  padding-bottom: 0;
}
 
/* Columna izquierda: tiempo + nodo */
.cons-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}
 
.cons-time {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--hc-muted-800);
  line-height: 1;
  white-space: nowrap;
}
 
/* Nodo en la línea */
.cons-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #D1D5DB;
  flex-shrink: 0;
  transition: box-shadow 0.2s ease;
}
 
/* Columna derecha: contenido */
.cons-step-right {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px 22px;
  margin-left: 16px;
  transition: box-shadow 0.2s ease;
}
 
.cons-step:hover .cons-step-right {
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
 
.cons-phase {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
 
.cons-step-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--hc-muted-800);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
 
.cons-step-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 14px;
}
 
.cons-step-desc strong {
  color: var(--hc-muted-800);
  font-weight: 700;
}
 
/* Barra de severidad */
.cons-severity-track {
  height: 5px;
  background: #F3F4F6;
  border-radius: 3px;
  overflow: hidden;
}
 
.cons-severity-bar {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1s ease 0.3s;
}
 
/* Colores por fase */
.cons-step--1 .cons-node        { box-shadow: 0 0 0 2px #FCD34D; background: #FCD34D; }
.cons-step--1 .cons-phase       { color: #B45309; }
.cons-step--1 .cons-severity-bar{ background: #FCD34D; }
 
.cons-step--2 .cons-node        { box-shadow: 0 0 0 2px #FB923C; background: #FB923C; }
.cons-step--2 .cons-phase       { color: #C2410C; }
.cons-step--2 .cons-severity-bar{ background: #FB923C; }
 
.cons-step--3 .cons-node        { box-shadow: 0 0 0 2px #EF4444; background: #EF4444; }
.cons-step--3 .cons-phase       { color: #B91C1C; }
.cons-step--3 .cons-severity-bar{ background: #EF4444; }
 
.cons-step--4 .cons-node        { box-shadow: 0 0 0 2px var(--hc-ruby); background: var(--hc-ruby); }
.cons-step--4 .cons-phase       { color: var(--hc-ruby); }
.cons-step--4 .cons-severity-bar{ background: var(--hc-ruby); }
 
/* Nota de alcance */
.cons-reach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #6B7280;
  margin-top: 10px;
}
 
.cons-reach i {
  font-size: 0.75rem;
  color: #9CA3AF;
}
 
/* ── CTA al pie ── */
.cons-cta-row {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 780px;
}
 
.cons-cta-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.6;
}
 
.cons-cta-text strong {
  color: var(--hc-muted-800);
  font-weight: 700;
}
 
.cons-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 13px 22px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(37,211,102,0.3);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
 
.cons-cta-btn:hover {
  background: #1ebe5d;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  color: #fff;
  text-decoration: none;
}
 
/* ── Responsive ── */
@media (max-width: 640px) {
  #consecuencias { padding: 48px 20px; }
 
  .cons-timeline::before { left: 40px; }
 
  .cons-step { grid-template-columns: 80px 1fr; }
 
  .cons-time { font-size: 1rem; }
 
  .cons-step-right { padding: 16px; margin-left: 10px; }
 
  .cons-cta-row { flex-direction: column; align-items: flex-start; }
 
  .cons-cta-btn { width: 100%; justify-content: center; }
}
 

/* ════════════════════════════════════════════
   PROTOCOLO DE RESPUESTA
   Prefijo de todas las clases: .prot-
════════════════════════════════════════════ */
 
#protocolo {
  background: #fff;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 64px 20px;
}
 
/* ── Encabezado ── */
.prot-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  color: var(--hc-cerulean);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #BFDBFE;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
 
.prot-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--hc-muted-800);
  line-height: 1.15;
  margin-bottom: 12px;
}
 
.prot-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4B5563;
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 12px;
}
 
/* ── Nota metodológica ── */
.prot-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 40px;
  max-width: 680px;
}
 
.prot-note-icon {
  color: var(--hc-cerulean);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
 
.prot-note-text {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: #1E40AF;
  line-height: 1.65;
}
 
.prot-note-text strong {
  font-weight: 700;
  color: #1E3A8A;
}
 
/* ── Lista de pasos ── */
.prot-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}
 
/* ── Paso ── */
.prot-step {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
 
.prot-step:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
 
/* Cabecera del paso — clic para expandir */
.prot-step-header {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}
 
/* Número */
.prot-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hc-muted-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  height: 100%;
  min-height: 64px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
 
.prot-step.is-open .prot-step-num {
  background: var(--hc-cerulean);
}
 
/* Meta del paso */
.prot-step-meta {
  padding: 16px 18px;
}
 
.prot-step-timing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hc-ruby);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
 
.prot-step-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--hc-muted-800);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
 
/* Ícono de apertura */
.prot-step-toggle {
  padding: 0 18px;
  color: #9CA3AF;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
}
 
.prot-step.is-open .prot-step-toggle {
  transform: rotate(180deg);
  color: var(--hc-cerulean);
}
 
/* Cuerpo expandible */
.prot-step-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s ease;
  padding: 0 18px 0 74px;
  border-top: 0px solid #E5E7EB;
}
 
.prot-step.is-open .prot-step-body {
  max-height: 600px;
  padding: 0 18px 20px 74px;
  border-top: 1px solid #E5E7EB;
}
 
/* Contenido del cuerpo */
.prot-step-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.75;
  margin-top: 14px;
  margin-bottom: 12px;
}
 
.prot-step-desc strong {
  color: var(--hc-muted-800);
  font-weight: 700;
}
 
.prot-step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
 
.prot-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #4B5563;
  line-height: 1.6;
}
 
.prot-step-list li::before {
  content: '→';
  color: var(--hc-cerulean);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
 
/* Tip al pie del paso */
.prot-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: 4px;
}
 
.prot-tip-icon {
  color: #16A34A;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
 
.prot-tip-text {
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: #166534;
  line-height: 1.65;
}
 
.prot-tip-text strong {
  font-weight: 700;
  color: #14532D;
}
 
/* ── Responsive ── */
@media (max-width: 640px) {
  #protocolo { padding: 48px 20px; }
 
  .prot-step-header {
    grid-template-columns: 48px 1fr auto;
  }
 
  .prot-step-num {
    font-size: 1.2rem;
    min-height: 56px;
  }
 
  .prot-step-meta { padding: 12px 14px; }
 
  .prot-step-title { font-size: 0.88rem; }
 
  .prot-step-toggle { padding: 0 12px; }
 
  .prot-step.is-open .prot-step-body {
    padding: 0 14px 18px 62px;
  }
}

/* ════════════════════════════════════════════
   ERRORES CRÍTICOS
   Prefijo de todas las clases: .err-
════════════════════════════════════════════ */
 
#errores {
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 64px 20px;
}
 
/* ── Encabezado ── */
.err-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF2F2;
  color: var(--hc-ruby);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #FECACA;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
 
.err-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--hc-muted-800);
  line-height: 1.15;
  margin-bottom: 12px;
}
 
.err-title em {
  font-style: normal;
  color: var(--hc-ruby);
}
 
.err-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4B5563;
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 40px;
}
 
/* ── Grid de errores ── */
.err-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
 
/* ── Tarjeta ── */
.err-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-top: 3px solid #E5E7EB;
  border-radius: 6px;
  padding: 22px 20px 18px;
  transition: border-top-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
 
.err-card:hover {
  border-top-color: var(--hc-ruby);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
 
/* Marca de NO en la esquina */
.err-card-no {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 26px;
  height: 26px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--hc-ruby);
  flex-shrink: 0;
}
 
/* Número decorativo */
.err-card-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  margin-bottom: 6px;
  user-select: none;
}
 
/* Título */
.err-card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--hc-muted-800);
  margin-bottom: 8px;
  line-height: 1.3;
  padding-right: 28px; /* espacio para el badge NO */
}
 
/* Descripción */
.err-card-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 12px;
}
 
/* Por qué falla */
.err-card-why {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.5;
}
 
.err-card-why i {
  color: var(--hc-cerulean);
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}
 
/* ── Responsive ── */
@media (max-width: 900px) {
  .err-grid { grid-template-columns: repeat(2, 1fr); }
}
 
@media (max-width: 540px) {
  #errores { padding: 48px 20px; }
  .err-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   METODOLOGÍA
   Prefijo de todas las clases: .metod-
════════════════════════════════════════════ */
 
#metodologia {
  background: #fff;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 64px 20px;
}
 
/* ── Encabezado ── */
.metod-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  color: var(--hc-cerulean);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #BFDBFE;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
 
.metod-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--hc-muted-800);
  line-height: 1.15;
  margin-bottom: 12px;
}
 
.metod-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4B5563;
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 48px;
}
 
.metod-intro strong {
  color: var(--hc-muted-800);
  font-weight: 700;
}
 
/* ── Layout dos columnas: tabla + items ── */
.metod-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
 
/* ── Columna izquierda: tabla comparativa ── */
.metod-table-wrap {
  overflow-x: auto;
}
 
.metod-table-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  margin-bottom: 10px;
}
 
.metod-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.84rem;
}
 
.metod-table thead th {
  background: var(--hc-muted-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 14px;
  text-align: left;
}
 
.metod-table thead th:first-child {
  border-radius: 4px 0 0 0;
}
.metod-table thead th:last-child {
  border-radius: 0 4px 0 0;
  background: var(--hc-cerulean);
}
 
.metod-table tbody tr {
  border-bottom: 1px solid #F3F4F6;
}
 
.metod-table tbody tr:last-child {
  border-bottom: none;
}
 
.metod-table tbody td {
  padding: 12px 14px;
  color: #4B5563;
  vertical-align: top;
  line-height: 1.55;
}
 
/* Columna "Agencias genéricas" */
.metod-table tbody td:first-child {
  background: #F9FAFB;
  color: #9CA3AF;
}
 
/* Columna "HyperConectado" */
.metod-table tbody td:last-child {
  background: #EFF6FF;
  color: var(--hc-muted-800);
  font-weight: 600;
}
 
/* ── Columna derecha: ítems de metodología ── */
.metod-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
 
.metod-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
 
.metod-item:hover {
  border-color: #BFDBFE;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
 
.metod-item-icon {
  width: 40px;
  height: 40px;
  background: #EFF6FF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--hc-cerulean);
  flex-shrink: 0;
}
 
.metod-item-body {}
 
.metod-item-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  margin-bottom: 4px;
}
 
.metod-item-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--hc-muted-800);
  margin-bottom: 6px;
  line-height: 1.2;
}
 
.metod-item-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #4B5563;
  line-height: 1.65;
}
 
.metod-item-desc strong {
  color: var(--hc-muted-800);
  font-weight: 700;
}
 
/* ── Frase de cierre ── */
.metod-closing {
  margin-top: 48px;
  padding: 24px 28px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-left: 4px solid var(--hc-cerulean);
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
 
.metod-closing-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.65;
  max-width: 600px;
}
 
.metod-closing-text strong {
  color: var(--hc-muted-800);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
 
.metod-closing-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,211,102,0.3);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
 
.metod-closing-btn:hover {
  background: #1ebe5d;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  color: #fff;
  text-decoration: none;
}
 
/* ── Responsive ── */
@media (max-width: 860px) {
  .metod-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
 
@media (max-width: 540px) {
  #metodologia { padding: 48px 20px; }
 
  .metod-closing {
    flex-direction: column;
    align-items: flex-start;
  }
 
  .metod-closing-btn {
    width: 100%;
    justify-content: center;
  }
}
 



