﻿@media (max-width: 400px) {
  .plans-grid {
    justify-items: center !important;
  }
  .plan-card {
    width: 100% !important;
    max-width: 340px;
    margin: 0 auto !important;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.1rem) !important;
    line-height: 1.08;
  }
}
@media (max-width: 400px) {
  .flow-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
    max-width: 100%;
  }
}
@media (max-width: 400px) {
  .metric-row {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 0 4px;
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1.92fr;
  gap: 34px;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
/* --- [RESPONSIVE PATCH OLA 1 – HERO-PANEL CENTRADO Y PADDING MOBILE] ---
   Contexto: hero-panel no queda centrado y tiene exceso de padding en mobile.
   Fix: override quirúrgico para .hero-panel en mobile, margin auto, padding lateral y padding-top/bottom reducido.
   - Solo mobile (max-width: 600px)
   - No destructivo, documentado
   ---------------------------------------------- */
@media (max-width: 600px) {
  .hero-panel {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(12px, 4vw, 24px) !important;
    padding-right: clamp(12px, 4vw, 24px) !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    max-width: 98vw !important;
    box-sizing: border-box !important;
  }
}
  /* --- [RESPONSIVE PATCH OLA 1 – HERO-COPY: ANTI-OVERFLOW MOBILE] ---
     Contexto: .hero-copy (columna izquierda del hero) puede desbordar en mobile por falta de max-width y padding lateral.
     Fix: override quirúrgico para .hero-copy en mobile, max-width 98vw, box-sizing border-box, padding lateral y word-break.
     - Solo mobile (max-width: 600px)
     - No destructivo, reversible, documentado
     ---------------------------------------------- */
  @media (max-width: 600px) {
      .hero-copy {
        max-width: 96vw !important;
        box-sizing: border-box !important;
        padding-left: clamp(12px, 4vw, 24px) !important;
        padding-right: clamp(12px, 4vw, 24px) !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      body {
        overflow-x: hidden !important;
      }
  }
/* --- [RESPONSIVE PATCH OLA 1 – HERO-SUPERBOX-METRICS STACK MOBILE] ---
   Contexto: .hero-superbox-metrics se muestra horizontal en mobile.
   Fix: override quirúrgico para .hero-superbox-metrics en mobile, display flex, flex-direction column, gap, width 100%.
   - Solo mobile (max-width: 600px)
   - No destructivo, documentado
   ---------------------------------------------- */
@media (max-width: 600px) {
  .hero-superbox-metrics {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  .hero-superbox-metrics .metric-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
/* --- [RESPONSIVE PATCH OLA 1 – CONTACTO: MARGIN-LEFT MOBILE] ---
   Contexto: La caja de contacto queda pegada al borde izquierdo en mobile.
   Fix: override quirúrgico para .cta-panel en mobile, agregando margin-left igual a margin-right.
   - Solo mobile (max-width: 600px)
   - No destructivo, documentado
   ---------------------------------------------- */
@media (max-width: 600px) {
  .cta-panel {
    margin-left: clamp(12px, 4vw, 24px) !important;
    margin-right: clamp(12px, 4vw, 24px) !important;
    width: auto !important;
    box-sizing: border-box !important;
  }
}
/* --- [RESPONSIVE PATCH OLA 1 – HERO TIPOGRAFÍA & CTAs] ---
   Contexto: Hardening mobile, hero principal.
   - clamp() en .hero-title y .hero-lead para tamaño fluido
   - .hero-actions .btn y .hero-cta: width 100%, min-width 0, box-sizing border-box
   - .hero, .hero-superbox-metrics: padding/margin mobile para evitar overflow
   - No destructivo, solo override contextual
   - Documentado para trazabilidad
   ---------------------------------------------- */
@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
  }
  .hero-lead {
    font-size: clamp(1rem, 4vw, 1.18rem) !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
  }
  .hero-actions .btn,
  .hero-cta {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
  }
  .hero {
    padding-left: clamp(12px, 4vw, 24px) !important;
    padding-right: clamp(12px, 4vw, 24px) !important;
  }
  .hero-superbox-metrics {
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: auto !important;
  }
}
/* --- RESPONSIVE HARDENING OLA 1: MIN-WIDTH PROBLEMÁTICOS (360-412px) --- */
@media (max-width: 480px) {
  .hero-superbox-metrics .metric-card,
  .hero-actions .btn,
  .service-card,
  .plan-card,
  .content-card,
  .metric-card,
  .flow-card,
  .domain-card,
  .cap-card,
  .impact-card,
  .diagnostic-card,
  .story-card,
  .work-card {
    min-width: 0 !important;
  }
}
/* --- FIN OLA 1 MIN-WIDTH PROBLEMÁTICOS --- */
/* --- RESPONSIVE HARDENING OLA 1: CARDS BASE (360-412px) --- */
@media (max-width: 480px) {
  .service-card,
  .plan-card,
  .content-card,
  .metric-card,
  .flow-card,
  .domain-card,
  .cap-card,
  .impact-card,
  .diagnostic-card,
  .story-card,
  .work-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
}
/* --- FIN OLA 1 CARDS BASE --- */
/* --- RESPONSIVE HARDENING OLA 1: GRIDS BASE (360-412px) --- */
@media (max-width: 480px) {
  .hero-grid,
  .service-grid,
  .plans-grid,
  .footer-grid,
  .split-grid {
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
  }
}
/* --- FIN OLA 1 GRIDS BASE --- */
/* Excepciones activas: overrides contextuales en hero, section-head, SEO y .hero-actions .btn. Alias .reveal.visible solo compatibilidad (deprecado). */
/* Chips visuales reutilizables para servicios */
.hero-superbox-services-chip {
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--turq);
  border: 1px solid rgba(94,208,200,.18);
  font-size: .98rem;
  font-weight: 700;
  margin-right: 8px;
  margin-bottom: 6px;
  display: inline-block;
}
/* HERO SUPERBOX: agrupador de acciones, servicios y métricas */
.hero-superbox {
  margin: 25px auto 0 auto;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-superbox-row {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-superbox-actions .btn {
  min-width: 180px;
}
.hero-superbox-services span {
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--turq);
  border: 1px solid rgba(94,208,200,.18);
  font-size: .98rem;
  font-weight: 700;
}
/* Métricas en una sola línea, scroll horizontal en mobile si es necesario */
.hero-superbox-metrics {
  gap: 10px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
}
.hero-superbox-metrics .metric-card {
  min-width: 140px;
  flex: 0 0 140px;
  padding: 10px 6px;
  white-space: normal;
}
@media (max-width: 700px) {
    .impact-row {
      grid-template-columns: 1fr;
      grid-auto-flow: row !important;
    }
    -webkit-overflow-scrolling: touch;
  }
  .hero-superbox-metrics .metric-card {
    min-width: 120px;
    flex: 0 0 120px;
    font-size: .98rem;
  }
}
@media (max-width: 700px) {
  .hero-superbox { padding: 18px 4vw 14px 4vw; max-width: 98vw; }
  .hero-superbox-row { gap: 8px; }
  .hero-superbox-metrics .metric-card { min-width: 100px; font-size: .98rem; }
}
/* ============================================
  4. HERO SECTION
============================================ */

.hero {
  padding:92px 0 72px;
  border-bottom:1px solid var(--line);
}

.hero-grid {
  display:grid;
  grid-template-columns:1.08fr 1.92fr;
  gap:34px;
  align-items:center;
}

.panel-head {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

/*
  /* DEPRECATED — eliminar en próxima fase */
  .reveal.visible: alias temporal para compatibilidad (deprecado)
  .reveal.in es la fuente de verdad global (ver components.css)
  No redefinir transición aquí para evitar conflictos de cascada.
*/

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--turq);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: left !important;
  width: 100%;
  display: block;
  padding-left: 0 !important;
}

/* OVERRIDE CONTEXTUAL: Hero principal. Mantener tamaño y jerarquía aprobada. */
.hero h1 {
  margin:0 0 18px;
  font-size:clamp(3rem,5vw,3.4rem);
  line-height:.96;
  text-align:left;
}

.hero h1 span {
  color:var(--turq)
}



.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 16px;
  justify-content: center !important;
  width: 100%;
}


/* --- OVERRIDES EXCLUSIVOS HERO (mantener solo si no afectan otros contextos) --- */
.hero-actions .btn {
  min-width: 180px;
  /* Justificación: solo el hero requiere este ancho fijo para CTAs principales */
}

/* --- FIN OVERRIDES HERO --- */

/* Reglas .btn* movidas a components.css como fuente de verdad. */
/* Duplicados eliminados aquí para evitar conflicto de cascada. */

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-chips span {
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  color:var(--turq);
  border:1px solid rgba(94,208,200,.18);
  font-size:.85rem;
  font-weight:700;
}

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
    transition-delay: .16s;
}

.hero-panel,
.metric-card,
.content-card,
.flow-card,
.diagnostic-card,
.domain-card,
.cap-card,
.impact-card,
.service-card,
.plan-card,
.cta-panel {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px
}

.panel-head {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.panel-head span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2a426c;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-core {
  position: relative;
  height: 180px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(94, 208, 200, .18), transparent 48%), rgba(255, 255, 255, .02);
  display: grid;
  place-items: center;
}

.core-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(94, 208, 200, .35);
  box-shadow: 0 0 0 18px rgba(94, 208, 200, .06), 0 0 60px rgba(94, 208, 200, .18) inset;
}

.core-copy {
  position: relative;
  text-align: center;
}

.core-copy span {
  display: block;
  color: var(--gray);
  margin-bottom: 6px;
}

.core-copy strong {
  font-size: 1.35rem;
}

.metric-row {
  margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px 0 0 0;
}

.metric-card {
    padding: 8px 4px;
}

.metric-card strong {
  display: block;
  color: var(--turq);
  font-size: 1.4rem;
}

.metric-card span {
  color: var(--gray);
  font-size: .94rem;
  line-height: 1.5;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.statement {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.content-stack h2 {
  margin-bottom: 18px;
}

.content-stack p {
  color: var(--muted);
  line-height: 1.76;
}

.content-stack p + p {
  margin-top: 14px;
  color: var(--white);
}

.content-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.content-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 20px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-3px);
  border-color: var(--lineStrong);
  box-shadow: var(--card-glow-hover), var(--card-shadow-hover);
}

.content-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--turq);
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-list li {
  padding: 6px 14px;
  background: rgba(94,208,200,0.06);
  border: 1px solid var(--lineStrong);
  border-radius: 999px;
  color: var(--turq);
  font-size: 0.82rem;
  font-weight: 600;
}

.pillar-list div strong {
  display: block;
  color: var(--turq);
  margin-bottom: 6px;
}

.pillar-list div span {
  color: var(--gray);
  line-height: 1.7;
}

.framework-stage {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
  align-items: center;
}

.flow-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  align-items: stretch;
  overflow-x: unset;
}
/* Asegura que las flow-card no se achiquen demasiado en pantallas pequeñas */
.flow-row .flow-card {
  min-width: 0;
  flex: 1 1 0;
  text-align: center;
  padding: 10px 8px;
  font-size: 0.98rem;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

.diagnostic-card {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(94,208,200,0.08), rgba(94,208,200,0.03));
  border: 1px solid var(--lineStrong);
  border-radius: var(--radius);
  box-shadow: var(--glow-turq), var(--shadow-soft);
  margin: 0 auto;
  align-self: center;
}

.diagnostic-card h3 {
  margin: 10px 0 10px;
  font-size: 1.3rem;
  color: var(--white);
}

.diagnostic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.domain-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  flex-wrap: unset;
  justify-content: unset;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-self: center;
}

.domain-row .pillars-label {
  grid-column: 1 / -1;
}

.domain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  transition: all 0.3s ease;
}

.domain-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--lineStrong);
  box-shadow: var(--card-glow-hover);
  transform: translateY(-3px);
}

.domain-card strong {
  display: block;
  color: var(--turq);
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.domain-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.capability-stage {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 900px;
  justify-content: center;
  align-items: stretch;
  align-self: center;
}

.cap-card {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(94,208,200,0.18);
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(94,208,200,0.06), rgba(94,208,200,0.02));
  transition: all 0.3s ease;
}

.cap-card:hover {
  border-color: var(--turq);
  background: linear-gradient(135deg, rgba(94,208,200,0.12), rgba(94,208,200,0.05));
  transform: translateY(-3px);
  box-shadow: var(--card-glow-hover);
}

.cap-card strong {
  display: block;
  color: var(--turq);
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.cap-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.impact-row {
  display: flex;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  flex-wrap: unset;
  grid-auto-flow: column;
  justify-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-self: center;
}

.impact-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.impact-card:hover {
  border-color: var(--lineStrong);
  transform: translateY(-3px);
  box-shadow: var(--card-glow-hover);
}

.impact-card strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.impact-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.framework-image {
  text-align: center;
  margin-top: 30px;
}

.framework-image img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  margin: 0 auto;
}

.section-head {
  margin: 0 0 42px;
  text-align: center;
}



li {
  color: var(--gray);

}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 45px 0 18px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-point {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: all 0.3s ease;
}

.hero-point:hover {
  border-color: var(--lineStrong);
  box-shadow: var(--glow-turq), var(--shadow);
  transform: translateY(-2px);
}

.hero-point strong {
  display: block;
  color: var(--turq);
}

.hero-point span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.94rem;
}

/* ============================================
   9. SIGNAL PANEL (Hero Right)
   ============================================ */
.signal-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}





.signal-grid article:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--lineStrong);
  box-shadow: var(--glow-turq), var(--shadow);
  transform: translateY(-2px);
}

.signal-grid h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.signal-grid p {
  margin: 0;
  color: var(--gray);
  line-height: 1.6;
  font-size: .92rem;
}

/* ============================================
   10. BAND DIVIDER
   ============================================ */
.band {
  padding: 0 0 14px;
}

.band .container {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
  color: var(--muted);
}

/* ============================================
   11. STORY CARDS (Proyectos & Servicios)
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.story-card {
  /* ADN visual consolidado en components.css */
  /* padding y border-radius consolidados en components.css */
  height: auto;
/* OVERRIDE: Hover especial solo para story-card en home (color turquesa y glow fuerte) */
.story-card:hover {
  border-color: var(--turq);
  box-shadow: var(--glow-turq-strong), var(--shadow);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
}

.card-tag {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  color: var(--turq);
}

.story-card ul {
  margin: 0;
  padding: 0 0 15px 20px;
  color: var(--muted);
  line-height: 1.85;
}

/* ============================================
   12. SERVICE BOXES (L├¡neas de servicio)
   ============================================ */
.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-column h3 {
  margin: 0 0 14px;
}

.service-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.35s ease;
}

.service-box:hover {
  border-color: var(--lineStrong);
  box-shadow: var(--glow-turq), var(--shadow);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
}

.service-box h4 {
  margin: 0 0 8px;
  color: var(--white);
}

.service-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

/* ============================================
   13. IMAGE PANEL
   ============================================ */
.image-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.image-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================
   14. FRAMEWORK PILLARS
   ============================================ */
.framework-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.framework-pillars div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: all 0.3s ease;
}

.framework-pillars div:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--lineStrong);
  box-shadow: var(--glow-turq);
}

.framework-pillars strong {
  display: block;
  color: var(--turq);
}

.framework-pillars span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.94rem;
}

/* ============================================
   15. MODEL CARDS
   ============================================ */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.model-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: all 0.35s ease;
}

.model-card:hover {
  border-color: var(--turq);
  box-shadow: var(--glow-turq-strong), var(--shadow);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
}

.model-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

/* ============================================
   16. RESULT CARDS
   ============================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  justify-items: center;
}

.result-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: center;
  transition: all 0.35s ease;
}

.result-card:hover {
  border-color: var(--turq);
  box-shadow: var(--glow-turq-strong), var(--shadow);
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
}

.result-card strong {
  display: inline-grid;
  place-items: center;
  width: 85px;
  height: 52px;
  border-radius: 16px;
  background: rgba(94, 208, 200, 0.12);
  border: 1px solid var(--lineStrong);
  color: var(--turq);
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(94, 208, 200, 0.22);
  transition: all 0.3s ease;
}

.result-card:hover strong {
  background: rgba(94, 208, 200, 0.2);
  box-shadow: var(--glow-turq);
  text-shadow: 0 0 12px rgba(94, 208, 200, 0.4);
}

.result-card span {
  display: block;
  margin-top: 14px;
  line-height: 1.5;
}

/* ============================================
   17. CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.contact-card label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
}

input,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 14px;
  font: inherit;
  outline: none;
  transition: all 0.25s ease;
}

input:focus,
textarea:focus {
  border-color: var(--lineStrong);
  box-shadow: 0 0 0 3px rgba(94, 208, 200, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

input::placeholder,
textarea::placeholder {
  color: #7e94aa;
}


/* ============================================
   21. VISUAL ALIGNMENT v3.1.3 (REFERENCE CSS)
   Capa de override adaptada al markup actual
   ============================================ */


.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  width: auto;
  height: auto;
  padding: 8px 12px;
}

.menu-toggle span {
  width: 20px;
  margin: 4px auto;
}


/* Reglas .btn-outline y .btn-nav movidas a components.css. */
/* Duplicados eliminados aquí. */

.cta-row {
  gap: 12px;
  margin: 45px 0 18px;
}

.hero-points {
  margin-top: 28px;
}

.hero-point,
.signal-panel,
.signal-grid article,
.story-card,
.plan-card,
.model-card,
.result-card,
.contact-card,
.image-panel,
.framework-pillars div,
.team-card {
  background: linear-gradient(180deg, var(--card), var(--panel-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 10px 14px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(94, 208, 200, 0.08), transparent 60%);
  transition: 0.3s;
}

.hero-point {
  border-radius: 20px;
  padding: 14px;
}

.hero-point strong {
  font-size: 1.15rem;
}

.hero-point,
.signal-grid article,
.story-card,
.plan-card {
  transition: all 0.3s ease;
}

.hero-point:hover,
.signal-grid article:hover,
.story-card:hover,
.plan-card:hover,
.plan-card.featured:hover {
  transform: translateY(-3px);
  border-color: var(--lineStrong);
  box-shadow: var(--glow-turq), var(--shadow);
}

.service-box:hover,
.model-card:hover,
.result-card:hover,
.contact-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--lineStrong);
  box-shadow: var(--glow-turq), var(--shadow-soft);
}

.team-carousel {
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.team-track,
.team-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 300px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 10px;
}

.team-track {
  grid-template-columns: none;
}

.team-track::-webkit-scrollbar {
  height: 8px;
}

.team-track::-webkit-scrollbar-thumb {
  background: rgba(94, 208, 200, 0.55);
  border-radius: 999px;
}

.team-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.team-slide {
  scroll-snap-align: start;
  min-width: 260px;
}

.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-photo-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.045);
}

/* Carrusel de equipo robusto para evitar compresi├│n en m├│viles */
#teamTrack {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(220px, 86vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

#teamTrack .team-slide {
  min-width: 0;
  width: 100%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  #teamTrack {
    grid-auto-columns: minmax(240px, 48vw);
  }
}

@media (min-width: 1024px) {
  #teamTrack {
    grid-auto-columns: minmax(260px, 300px);
  }
}

.team-info {
  padding: 16px 18px 18px;
}

.team-info h3 {
  margin: 0;
  font-size: 1.03rem;
}

.team-info p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 10, 20, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.team-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.team-modal-content {
  width: min(92vw, 720px);
  background: linear-gradient(180deg, var(--card), var(--panel-2));
  border: 1px solid var(--lineStrong);
  border-radius: 22px;
  box-shadow: var(--glow-turq), var(--shadow);
  overflow: hidden;
  transform: translateY(10px) scale(0.985);
  transition: transform 0.25s ease;
}

.team-modal.is-open .team-modal-content {
  transform: translateY(0) scale(1);
}

.team-modal-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.team-modal-caption {
  padding: 14px 18px 18px;
  color: var(--white);
  font-weight: 600;
}

.team-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--lineStrong);
  background: rgba(8, 17, 32, 0.9);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.hero-point span {
  font-size: 0.92rem;
}

.signal-panel {
  border-radius: 24px;
  padding: 18px;
}





.section.alt {
  /* ADN visual consolidado en components.css */
  /* Contexto: padding 24px ya está en base, solo override si cambia */

.copy-block {
/* No override de hover para .service-card aquí, usa el base */
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

.image-panel img {
  border-radius: 22px;
  border: 1px solid var(--line);
}

.framework-pillars {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.framework-pillars div {
  border-radius: 18px;
  padding: 18px;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card,
.plan-card {
  padding: 22px;
  margin: 15px 13px;
  height: auto;
  display: inline-table;
  border-radius: var(--radius);
}

.plan-card,
.plan-card.featured {
  /* border-color y box-shadow consolidados en components.css */
}

.plan-card:hover,
.plan-card.featured:hover {
  border-color: var(--turq);
  box-shadow: var(--glow-turq-strong), var(--shadow);
  transform: translateY(-4px);
  /* background eliminado para consolidación en components.css */
}

.plans {
  gap: 18px;
}

.plan-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(94, 208, 200, 0.1);
  border: 1px solid var(--lineStrong);
  color: var(--turq);
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-size {
  font-weight: 600;
}

.results-grid {
  gap: 14px;
}

.result-card strong {
  width: 84px;
  height: 52px;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card {
  border-radius: 20px;
}



@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .story-grid,
  .plans,
  .model-grid,
  .results-grid,
  .hero-points,
  .framework-pillars {
    grid-template-columns: 1fr;
  }

  .team-track,
  .team-grid {
    grid-auto-columns: minmax(220px, 280px);
  }

  .team-slide {
    min-width: 220px;
  }

  /* =========================
    TEAM PRO CAROUSEL
  ========================= */

  .team-carousel {
    position: relative;
    max-width: 100%;
  }

  .team-viewport {
    overflow: hidden;
  }

  .team-track {
    display: flex;
    transition: transform 0.5s ease;
  }

  @media (min-width: 768px) {
    .team-slide {
      min-width: 50%;
    }
  }

  @media (min-width: 1024px) {
    .team-slide {
      min-width: 33.33%;
    }
  }

  .team-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;

    transition: all 0.35s ease;
  }

  .team-img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 35px rgba(31, 182, 201, 0.5);
  }

  /* BOTONES */

  .team-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 27, 52, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 28px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 10px;
    z-index: 2;
    transition: all 0.3s ease;
  }

  .team-btn:hover {
    background: rgba(31, 182, 201, 0.2);
    box-shadow: 0 0 15px rgba(31, 182, 201, 0.4);
  }

  .team-btn.prev { left: 10px; }
  .team-btn.next { right: 10px; }

  /* DOTS */

  .team-dots {
    text-align: center;
    margin-top: 15px;
  }

  .team-dot {
    height: 10px;
    width: 10px;
    margin: 5px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
  }

  .team-dot.active {
    background-color: #1FB6C9;
  }

  /* =========================
    MODAL PRO
  ========================= */

  .team-modal {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(10,20,40,0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .team-modal-content {
    margin: auto;
    display: block;
    max-width: 75%;
    margin-top: 5%;
    border-radius: 16px;
  }

  .team-close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }
}

/* ============================================
   22. BRANDING REFINEMENT v3.3.0
   Capa visual premium sin cambios estructurales
   ============================================ */





/* OVERRIDE CONTEXTUAL: Título de sección. Mantener jerarquía visual. */
.section-head h2 {
  line-height: 1.08;
  letter-spacing: -0.017em;
  margin-bottom: 4px;
}

.lead,
.section-copy,
.copy-block p,
.service-box p,
.model-card p,
.team-info p {
  line-height: 1.76;
}

.cta-row {
  margin: 45px 0 18px;
  gap: 25px;
  padding: 0;
}

.hero-point,
.signal-grid article,
.story-card,
.plan-card,
  padding: 22px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-premium);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-point:hover,
.signal-grid article:hover,
.story-card:hover,
.plan-card:hover,
.plan-card.featured:hover,
  /* hover consolidado en components.css */
.contact-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--lineStrong);
  box-shadow: var(--card-glow-hover), var(--card-shadow-hover);
}



/* ============================================
   26. V5.1 STABILIZATION LAYER
   Hardening visual consistency for home + services
   ============================================ */



.cta-row {
  margin: 45px 0 18px;
  gap: 16px;
  padding: 0;
}

.conversion-trust-grid,
.results-grid {
  align-items: stretch;
}

.conversion-trust-item,
.results-grid .result-card {
  min-height: 128px;
}

.conversion-trust-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-grid {
  align-items: start;
}

.contact-card {
  width: min(100%, 620px);
}

/* OVERRIDE CONTEXTUAL: SEO content. Mantener tamaño especial para jerarquía SEO. */
.seo-content h1 {
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  line-height: 1.12;
  max-width: 24ch;
}


/*
  Excepciones contextuales:
  - .seo-content .lead { max-width: 62ch; }
  - .hero .lead o variantes solo si difieren de la base
  - Todo lo global vive en components.css
*/

.story-card .btn {
  margin-top: 14px;
}

@media (min-width: 1024px) {
  .cta-row {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .cta-row {
    justify-content: center;
  }
}

.btn-primary,
.nav .btn-outline.btn-nav {
  box-shadow: 0 10px 30px rgba(94, 208, 200, 0.26);
}

.btn-primary:hover,
.nav .btn-outline.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(94, 208, 200, 0.34);
}



.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--lineStrong);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.team-carousel {
  margin-top: 28px;
}

.team-track,
.team-grid {
  gap: 20px;
  padding: 6px 6px 12px;
}

.team-info {
  padding: 18px 20px 20px;
}

.team-info h3 {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.team-info p {
  margin-top: 9px;
}

.conversion-microcopy {
  margin: 60px 0px;
  color: var(--muted);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-align: center;
}

.conversion-trust-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.conversion-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.conversion-trust-item {
  border-radius: var(--card-radius-premium);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--panel-2));
  box-shadow: var(--card-shadow-premium);
  padding: 16px 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.conversion-trust-item strong {
  display: block;
  color: var(--turq);
  font-size: 1.1rem;
  margin-bottom: 4px;
  text-shadow: 0 0 8px rgba(94, 208, 200, 0.22);
}

.conversion-trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.conversion-trust-item:hover {
  border-color: var(--lineStrong);
  box-shadow: var(--glow-turq), var(--card-shadow-premium);
  transform: translateY(-2px);
}

.conversion-trust-item:hover strong {
  text-shadow: 0 0 12px rgba(94, 208, 200, 0.4);
}

.conversion-mid-cta {
  padding-top: 56px;
  padding-bottom: 56px;
}

.conversion-cta-final-services {
  margin-top: 32px;
}

.contact-form-note {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

a,
.menu a {
  transition: color 0.22s ease, opacity 0.22s ease;
}

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .section-head {
    margin: 0 0 34px;
  }

  .hero {
    padding: 96px 0 72px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.55rem);
  }

  .team-carousel {
    margin-top: 22px;
  }

  .conversion-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 90px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9.6vw, 3.1rem);
    letter-spacing: -0.02em;
  }

  .lead,
  .section-copy,
  .copy-block p,
  .service-box p,
  .model-card p,
  .team-info p {
    line-height: 1.68;
  }

  .btn {
    min-height: 46px;
    padding: 12px 20px;
  }

  .team-track,
  .team-grid {
    gap: 16px;
    padding-bottom: 10px;
    grid-auto-columns: minmax(220px, 86vw);
  }

  .team-slide {
    min-width: 220px;
  }

  .team-info {
    padding: 16px 16px 18px;
  }
}

/* ============================================
   v6.1 BRAND REFRESH — NUEVOS COMPONENTES
   ============================================ */

/* --- Statement block --- */


.statement-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--lineStrong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.statement-inner .eyebrow {
  margin-bottom: 16px;
}

.statement-text {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.72;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.01em;
}

/* --- Framework entry card --- */
.framework-entry {
  margin: 28px 0 36px;
}

.framework-entry-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(94, 208, 200, 0.08), rgba(94, 208, 200, 0.03));
  border: 1px solid var(--lineStrong);
  border-radius: var(--radius);
  box-shadow: var(--glow-turq), var(--shadow);
  text-align: center;
}

.framework-entry-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turq);
  margin: 0 0 10px;
}

.framework-entry-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: var(--white);
}

.framework-entry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

/* --- Framework pillars labels --- */
.pillars-label {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 4px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.pillars-label:hover {
  background: none;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.pillars-label--tech {
  color: rgba(94, 208, 200, 0.7);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 18px;
}

/* --- Pilar transversal (tech/performance) --- */
.pillar-tech {
  border-color: rgba(94, 208, 200, 0.18) !important;
  background: linear-gradient(135deg, rgba(94, 208, 200, 0.06), rgba(94, 208, 200, 0.02)) !important;
}

.pillar-tech:hover {
  border-color: var(--turq) !important;
  background: linear-gradient(135deg, rgba(94, 208, 200, 0.12), rgba(94, 208, 200, 0.05)) !important;
}

/* --- Plan description --- */
.plan-desc {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 6px 0 14px;
}

/* --- Responsive ajustes v6.1 --- */
@media (max-width: 980px) {
  .statement-inner {
    padding: 28px 24px;
  }

  .framework-entry-card {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .statement {
    padding: 36px 0;
  }

  .statement-text {
    font-size: 1rem;
  }

  .pillars-label {
    grid-column: 1 / -1;
  }
}

/* ============================================
   v6.1.1 REFERENCE HTML INTEGRATION
   Nuevas estructuras visuales de referencia
   ============================================ */

/* --- Hero Actions & Chips --- */




.hero-chips span {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(94, 208, 200, 0.08);
  border: 1px solid var(--lineStrong);
  border-radius: 999px;
  color: var(--turq);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Hero Visual (reemplaza hero-panel) --- */
.hero-visual {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  max-width: 560px;
  margin-left: auto;
}

.panel-head {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a426c;
}

.panel-head .eyebrow {
  margin: 0;
}







/* --- Metric Row (reemplaza hero-points) --- */


.metric-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.028));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/*
.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--lineStrong);
  box-shadow: var(--card-glow-hover), var(--card-shadow-hover);
}
*/


/* --- Split Grid (Quiénes somos) --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}



/* --- Framework Stage (flujo vertical) --- */


/* --- Service Grid (reemplaza story-grid) --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--turq);
  box-shadow: var(--card-glow-hover), var(--card-shadow-hover);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255, 255, 255, 0.05));
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  color: var(--turq);
}

.service-card ul {
  margin: 0;
  padding: 0 0 14px 20px;
  color: var(--muted);
  line-height: 1.85;
  flex: 1;
}

.service-card .btn {
  margin-top: 14px;
  align-self: flex-start;
}

/* --- Plans Grid (reemplaza .plans) --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(94,208,200,0.1);
  border: 1px solid var(--lineStrong);
  color: var(--turq);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan-badge--featured {
  background: rgba(94,208,200,0.18);
  box-shadow: 0 0 10px rgba(94,208,200,0.14);
}

.plan-sub {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

/* --- Responsive v6.1.1 --- */
@media (max-width: 1100px) {
  .domain-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 16px;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .domain-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-actions {
    justify-content: center;
  }

  .hero-chips {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .domain-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .cap-card {
    min-width: unset;
    flex: 1 1 100%;
  }

  .diagnostic-card {
    padding: 22px 18px;
  }

  .hero-visual {
    max-width: 100%;
  }
}

/* ============================================
   v6.1.2 REFERENCE CSS — Reglas complementarias
   Sin duplicados: solo lo genuinamente nuevo
   ============================================ */


/* .orb — base class alias de .bg-orb */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -3;
  pointer-events: none;
}

/* Clases semánticas site-header / site-footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 32, 0.82);
  border-bottom: 1px solid var(--line);
}

/* OVERRIDE CONTEXTUAL: Título de sección. Tamaño especial aprobado. */
.section-head h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
}

/* signal-grid variante con strong (en lugar de h3) */
.signal-grid strong {
  display: block;
  color: var(--turq);
  margin-bottom: 6px;
}

/* plan-card featured mejora */
.plan-card.featured {
  border-color: var(--lineStrong);
  box-shadow: 0 18px 50px rgba(94, 208, 200, 0.12);
}

/* flow-card */
.flow-card {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.flow-card:hover {
  transform: translateY(-3px);
  border-color: var(--lineStrong);
}

/* flow-arrow */
.flow-arrow {
  font-size: 2rem;
  color: var(--turq);
  text-align: center;
  line-height: 1;
  padding: 4px 0;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* cta-panel */
.cta-panel {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-panel h2 {
  margin: 0 0 8px;
}

@media (max-width: 980px) {
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px;
  }
}
