/* ==========================================================
   NEXT INNOVA — EBITDA Control Sprint™
   Archivo: ebitda-control-sprint.css (CORREGIDO)
   Scope: body.ebitda
   Estándar DEV.CSS: frames + subnav + cards + ruta + assurance (safe)
   ========================================================== */

body.ebitda{
  --ni-navy:#0b2339;
  --ni-navy-2:#071a2b;
  --ni-emerald:#00b388;
  --ni-ink:#0b1220;
  --ni-muted:rgba(11,18,32,.72);
  --ni-border:rgba(11,35,57,.14);
  --ni-card:rgba(255,255,255,.92);
  --ni-card-2:rgba(255,255,255,.96);
  --ni-shadow:0 16px 40px rgba(7,26,43,.16);
  --ni-radius:18px;
  --ni-frame-radius:0px;

  /* acento EBITDA (si quieres diferenciar, cámbialo aquí) */
  --ebitda-accent: var(--ni-emerald);

  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ni-ink);
  background:#fff;

  /* blindaje full-bleed (evita scroll horizontal accidental) */
  overflow-x:hidden;
}

/* =========================
   BLINDAJES (DEV standard)
   ========================= */

/* NO forzar links globales a inherit (rompe UX). Solo asegurar botones */
body.ebitda a.btn,
body.ebitda a.btn:hover,
body.ebitda a.btn:focus{ text-decoration:none !important; }

body.ebitda .btn:hover{ text-decoration:none; }
body.ebitda a.btn:hover,
body.ebitda a.btn:focus{ color: inherit; }

/* Navbar: estándar correcto (no blanco; hover acento) */
body.ebitda .nav-links{display:flex; gap:22px; align-items:center}
body.ebitda .nav-links a{color:#E9F1FF; font-weight:700; text-decoration:none}
body.ebitda .nav-links a:hover,
body.ebitda .nav-links a:focus{color:var(--ebitda-accent)}

/* Reveal safe */
body.ebitda .reveal{ opacity:1; transform:none; }

/* =========================
   BOTONES (DEV standard)
   ========================= */
body.ebitda .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  line-height:1;
  border-radius:999px;
  font-weight:900;
  letter-spacing:-.01em;
  text-decoration:none;
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease,
             background .15s ease, border-color .15s ease, color .15s ease;
}

body.ebitda .btn-primary{
  background:var(--ebitda-accent);
  border:1px solid rgba(0,179,136,.22);
  color:#fff !important;
}
body.ebitda .btn-primary:hover,
body.ebitda .btn-primary:focus{
  filter:brightness(1.02);
  box-shadow:0 10px 24px rgba(0,179,136,.22);
  color:var(--ni-navy) !important;
  transform:translateY(-1px);
}

body.ebitda .btn-outline{
  background:transparent;
  border:1px solid rgba(0,179,136,.65);
  color:rgba(255,255,255,.92) !important;
}
body.ebitda .btn-outline:hover,
body.ebitda .btn-outline:focus{
  background:var(--ebitda-accent);
  border-color:var(--ebitda-accent);
  color:var(--ni-navy) !important;
  transform:translateY(-1px);
}

/* Botón demo (si lo usas en EBITDA, ya queda estándar) */
body.ebitda .btn-demo{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(0,179,136,.55);
  color:var(--ni-navy) !important;
  font-weight:900;
  border-radius:999px;
  padding:12px 18px;
  box-shadow:0 12px 26px rgba(7,26,43,.10);
}
body.ebitda .btn-demo:hover,
body.ebitda .btn-demo:focus{
  background:var(--ebitda-accent);
  border-color:var(--ebitda-accent);
  color:var(--ni-navy) !important;
  box-shadow:0 18px 40px rgba(0,179,136,.22);
  text-decoration:none !important;
  transform:translateY(-1px);
}

/* =========================
   FRAMES (DEV standard)
   ========================= */
body.ebitda .frame-section{
  position:relative;
  border-radius:var(--ni-frame-radius);
  overflow:hidden;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(0,179,136,.18), transparent 55%),
    radial-gradient(900px 500px at 85% 20%, rgba(0,179,136,.10), transparent 50%),
    linear-gradient(180deg, var(--ni-navy), var(--ni-navy-2));
}
body.ebitda .frame-section::before{
  content:"";
  position:absolute; inset:0;
  /* DEV standard: fallback seguro si no se setea la variable */
  background-image:var(--frame-image, none);
  background-size:cover;
  background-position:center;
  opacity:.48;
  filter:saturate(1.08) contrast(1.06);
  pointer-events:none;
}
body.ebitda .frame-section::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg,
    rgba(7,26,43,.60) 0%,
    rgba(7,26,43,.34) 50%,
    rgba(7,26,43,.60) 100%);
  pointer-events:none;
}

/* (opcional) inner estándar si lo estás usando en HTML */
body.ebitda .frame-inner{ position:relative; z-index:1; padding:56px 0; }
body.ebitda .frame-tight .frame-inner{ padding:44px 0; }

/* =========================
   HERO
   ========================= */
body.ebitda .eb-hero{ padding:56px 0 40px; }
body.ebitda .eb-hero .container{ position:relative; z-index:1; }
body.ebitda .eb-hero-top{ max-width:1060px; }

body.ebitda .eb-eyebrow{
  color:rgba(255,255,255,.80);
  letter-spacing:.18em;
  font-weight:900; /* DEV standard: más “boardroom” */
  font-size:12px;
  text-transform:uppercase;
  margin-bottom:10px;
}

body.ebitda .eb-title{
  color:#fff;
  font-weight:900;
  letter-spacing:-.02em;
  font-size:clamp(34px,4.2vw,56px);
  line-height:1.02;
  margin:0 0 14px;
}

body.ebitda .eb-subtitle{
  margin:0 0 14px;
  color:rgba(255,255,255,.92) !important;
  font-weight:900;
  letter-spacing:-.01em;
  font-size:clamp(20px,1.8vw,28px);
  line-height:1.25;
  max-width:980px;
  text-shadow:0 2px 18px rgba(0,0,0,.28);
}
body.ebitda .eb-subtitle strong{ color:#fff !important; }

body.ebitda .eb-subtitle-2{
  display:inline-block;
  margin-top:10px;
  font-weight:800;
  color:rgba(255,255,255,.84);
}

/* CTAs */
body.ebitda .eb-ctas{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 18px;
}

/* Snapshot */
body.ebitda .eb-snapshot{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}
@media (max-width: 980px){
  body.ebitda .eb-snapshot{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  body.ebitda .eb-snapshot{ grid-template-columns:1fr; }
}
body.ebitda .snapshot-item{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.55);
  border-radius:var(--ni-radius);
  padding:14px;
  box-shadow:0 12px 30px rgba(7,26,43,.18);
}
body.ebitda .snapshot-k{
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(11,18,32,.62);
  margin-bottom:6px;
}
body.ebitda .snapshot-v{
  font-size:16px;
  font-weight:900;
  color:var(--ni-ink);
}

/* Pains */
body.ebitda .eb-pains{
  list-style:none;
  margin:12px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  max-width:1060px;
}
body.ebitda .eb-pains li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:rgba(255,255,255,.88) !important;
  font-weight:800;
  line-height:1.35;
  text-shadow:0 2px 16px rgba(0,0,0,.22);
}
body.ebitda .eb-pains li img{
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  object-fit:contain !important;
  display:inline-block !important;
  margin-top:2px;
}
body.ebitda .eb-pains strong{ color:#fff !important; font-weight:900; }

/* =========================
   SUBNAV (DEV standard)
   ========================= */
body.ebitda .eb-subnav{
  position:sticky;
  top:72px; /* ajusta al alto real de tu navbar si es distinto */
  z-index:20;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(11,35,57,.08);
}
body.ebitda .eb-subnav .container{
  padding:14px 0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
body.ebitda .subnav-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(0,179,136,.96);
  color:var(--ni-navy) !important;
  font-weight:900;
  border:1px solid rgba(0,179,136,.34);
  box-shadow:0 10px 22px rgba(7,26,43,.12);
  text-decoration:none;
  transition:transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
body.ebitda .subnav-pill:hover{
  transform:translateY(-1px);
  filter:brightness(.98);
  color:var(--ni-navy) !important;
}

/* (opcional) hover específico “Entregables” (DEV pattern) */
body.ebitda .eb-subnav a[href="#entregables"]:hover,
body.ebitda .eb-subnav a[href="#entregables"]:focus{
  background:var(--ni-navy) !important;
  border-color:rgba(255,255,255,.25) !important;
  color:#fff !important;
}

/* =========================
   SECTIONS / TYPO
   ========================= */
body.ebitda .section{ padding:56px 0; }
body.ebitda .section-tight-top{ padding-top:34px; }

body.ebitda .section-title{
  font-size:30px;
  letter-spacing:-.02em;
  margin:0 0 10px;
}
body.ebitda .section-subtitle{
  margin:0 0 14px;
  color:var(--ni-muted);
  line-height:1.6;
  max-width:980px;
}
body.ebitda .section-kicker{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(11,18,32,.58);
  margin-bottom:10px;
}
body.ebitda .section-note{
  color:rgba(11,18,32,.78);
  line-height:1.6;
  max-width:980px;
}

body.ebitda .list{ margin:12px 0 0; padding-left:18px; }
body.ebitda .list li{ margin:8px 0; }
body.ebitda .muted{ color:var(--ni-muted); }

/* =========================
   CARDS (DEV standard)
   ========================= */
body.ebitda .cards-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){
  body.ebitda .cards-grid{ grid-template-columns:1fr; }
}
body.ebitda .card{
  background:var(--ni-card-2);
  border:1px solid var(--ni-border);
  border-radius:var(--ni-radius);
  padding:18px;
  box-shadow:var(--ni-shadow);
}
body.ebitda .card h3{ margin:0 0 8px; font-weight:900; }
body.ebitda .card p{ margin:0 0 10px; line-height:1.55; }

/* Pack card */
body.ebitda .pack-card .pack-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
body.ebitda .badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:-.01em;
}
body.ebitda .badge-primary{
  background:rgba(0,179,136,.14);
  border:1px solid rgba(0,179,136,.26);
  color:var(--ni-navy);
}

/* Tags */
body.ebitda .trust-logos{ display:flex; flex-wrap:wrap; gap:10px; }
body.ebitda .tag{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(11,35,57,.06);
  border:1px solid rgba(11,35,57,.10);
  font-weight:800;
  color:rgba(11,18,32,.84);
}

/* Divider */
body.ebitda .deliverables-divider{
  height:1px;
  background:rgba(11,35,57,.10);
  margin:22px 0;
}

/* Statement card (DEV style: permitir variable y no hardcode fijo) */
body.ebitda .card-statement{
  grid-column:1 / -1;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(11,35,57,.88), rgba(11,35,57,.88)),
    var(--statement-bg, url("assets/img/frame-master-next-innova-eficiencia.jpg")) center/cover !important;
  color:#fff !important;
}
body.ebitda .card-statement .glow{ display:none !important; }
body.ebitda .card-statement h3,
body.ebitda .card-statement p{ color:#fff !important; }
body.ebitda .card-statement .muted{ color:rgba(255,255,255,.78) !important; }

/* Scope grid */
body.ebitda .scope-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){
  body.ebitda .scope-grid{ grid-template-columns:1fr; }
}
body.ebitda .scope-item{
  background:var(--ni-card-2);
  border:1px solid var(--ni-border);
  border-radius:var(--ni-radius);
  padding:18px;
  box-shadow:var(--ni-shadow);
}
body.ebitda .scope-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
body.ebitda .scope-num{
  width:34px;
  height:34px;
  object-fit:contain;
  display:block;
}
body.ebitda .scope-item h3{ margin:0; font-weight:900; }

/* =========================
   KPI DARK BAND (frame-like, DEV standard)
   ========================= */
body.ebitda .kpi-dark{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(1200px 520px at 20% 10%, rgba(0,179,136,.14), transparent 55%),
    linear-gradient(180deg, var(--ni-navy), var(--ni-navy-2));
}
body.ebitda .kpi-dark::before{
  content:"";
  position:absolute; inset:0;
  background-image:var(--kpi-bg, none);
  background-size:cover;
  background-position:center;
  opacity:.48;
  filter:saturate(1.06) contrast(1.05);
  pointer-events:none;
}
body.ebitda .kpi-dark::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg,
    rgba(7,26,43,.64) 0%,
    rgba(7,26,43,.36) 50%,
    rgba(7,26,43,.64) 100%);
  pointer-events:none;
}
body.ebitda .kpi-dark .container{ position:relative; z-index:1; }
body.ebitda .kpi-dark .section-title,
body.ebitda .kpi-dark .section-subtitle{ color:#fff !important; }
body.ebitda .kpi-dark .section-subtitle{ opacity:.90; }

body.ebitda .kpi-dark .card{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 12px 28px rgba(7,26,43,.18);
}
body.ebitda .kpi-num{
  width:22px;
  height:22px;
  object-fit:contain;
  display:inline-block;
  vertical-align:-4px;
  margin-right:8px;
}

/* =========================
   GOVERNANZA
   ========================= */
body.ebitda .gov-white{ background:#fff; }
body.ebitda .gov-white .section-title,
body.ebitda .gov-white .section-subtitle{ color:var(--ni-navy) !important; }

body.ebitda .gov-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
  margin-top:14px;
  align-items:start;
}
@media (max-width: 980px){
  body.ebitda .gov-grid{ grid-template-columns:1fr; }
}
body.ebitda .gov-card{
  background:var(--ni-card-2);
  border:1px solid var(--ni-border);
  border-radius:var(--ni-radius);
  padding:18px;
  box-shadow:var(--ni-shadow);
}
body.ebitda .gov-card h3{ margin:0 0 10px; font-weight:900; color:var(--ni-navy); }

body.ebitda .gov-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 10px;
}
body.ebitda .gov-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(0,179,136,.10);
  border:1px solid rgba(0,179,136,.18);
  font-weight:900;
  color:var(--ni-navy);
}
body.ebitda .gov-pill small{ font-weight:900; opacity:.78; }

body.ebitda .gov-list{ margin:0; padding-left:18px; }
body.ebitda .gov-list li{ margin:8px 0; color:rgba(11,18,32,.86); }

body.ebitda .gov-metrics{ display:grid; grid-template-columns:1fr; gap:10px; }
body.ebitda .gov-metric{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(11,35,57,.12);
  border-radius:16px;
  padding:14px;
  box-shadow:0 12px 26px rgba(7,26,43,.12);
}
body.ebitda .gov-metric .k{
  display:block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:rgba(11,18,32,.62);
  margin-bottom:6px;
}
body.ebitda .gov-metric strong{
  font-size:16px;
  font-weight:900;
  color:var(--ni-ink);
}

/* =========================
   CONTACT
   ========================= */
body.ebitda .contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:16px;
  align-items:start;
}
@media (max-width: 980px){
  body.ebitda .contact-grid{ grid-template-columns:1fr; }
}
body.ebitda .contact-lead,
body.ebitda .contact-sub{
  color:rgba(11,18,32,.80);
  line-height:1.6;
  max-width:980px;
}
body.ebitda .contact-form{
  background:var(--ni-card-2);
  border:1px solid var(--ni-border);
  border-radius:var(--ni-radius);
  padding:18px;
  box-shadow:var(--ni-shadow);
}
body.ebitda .contact-form label{
  display:block;
  font-weight:900;
  margin-bottom:10px;
  color:rgba(11,18,32,.86);
}
body.ebitda .contact-form input,
body.ebitda .contact-form textarea{
  width:100%;
  margin-top:8px;
  border-radius:14px;
  border:1px solid rgba(11,35,57,.16);
  padding:12px 12px;
  font:inherit;
  outline:none;
  background:#fff;
}
body.ebitda .contact-form input:focus,
body.ebitda .contact-form textarea:focus{
  border-color:rgba(0,179,136,.55);
  box-shadow:0 0 0 4px rgba(0,179,136,.12);
}
body.ebitda .contact-form button{
  width:100%;
  justify-content:center;
  margin-top:10px;
}

/* Footer */
body.ebitda .footer{ border-top:1px solid rgba(11,35,57,.08); }

/* ==========================================================
   (OPCIONAL) Aseguramiento “ícono desplegable” (DEV standard)
   Si en EBITDA HTML usas <details class="assurance-item">, ya queda listo.
   ========================================================== */
body.ebitda .assurance-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}
@media (max-width: 980px){
  body.ebitda .assurance-grid{ grid-template-columns:1fr; }
}
body.ebitda .assurance-item{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.55);
  border-radius:var(--ni-radius);
  box-shadow:0 16px 36px rgba(7,26,43,.18);
  padding:0;
  overflow:hidden;
}
body.ebitda .assurance-item summary{
  cursor:pointer;
  padding:16px 16px;
  font-weight:900;
  color:var(--ni-ink);
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body.ebitda .assurance-item summary::-webkit-details-marker{ display:none; }
body.ebitda .assurance-q{ flex:1 1 auto; }
body.ebitda .assurance-ico{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(0,179,136,.10);
  border:1px solid rgba(0,179,136,.22);
  flex:0 0 34px;
}
body.ebitda .assurance-ico img{
  width:18px;
  height:18px;
  object-fit:contain;
  display:block;
  transition:transform .22s ease;
  transform:rotate(0deg);
}
body.ebitda .assurance-item[open] summary .assurance-ico img{ transform:rotate(180deg); }
body.ebitda .assurance-body{
  padding:0 16px 16px 16px;
  color:rgba(11,18,32,.78);
  line-height:1.55;
}
body.ebitda .assurance-footer{
  margin-top:18px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(11,35,57,.14);
  border-radius:var(--ni-radius);
  box-shadow:0 18px 40px rgba(7,26,43,.18);
  padding:22px;
  text-align:center;
}
body.ebitda .assurance-footer h3{
  margin:0 0 10px;
  font-size:20px;
  font-weight:900;
  color:var(--ni-ink);
}
body.ebitda .assurance-footer-text{
  max-width:920px;
  margin:0 auto 14px;
  color:rgba(11,18,32,.82);
  line-height:1.55;
  font-size:15.5px;
}
body.ebitda .assurance-footer-support{
  margin-top:12px;
  font-size:14.5px;
  font-weight:800;
  color:#0b2339 !important;
}

/* ==========================================================
   EBITDA — PATCH HERO (C-SUITE refine)
   Pegarlo AL FINAL de ebitda-control-sprint.css
   ========================================================== */

body.ebitda .eb-subtitle{
  margin:0 0 18px;
  color:rgba(255,255,255,.88) !important;
  font-weight:600;
  letter-spacing:-.005em;
  font-size:clamp(19px,1.6vw,24px);
  line-height:1.45;
  max-width:940px;
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}
body.ebitda .eb-subtitle strong{
  color:#fff !important;
  font-weight:800;
}

body.ebitda .eb-subtitle-2{
  display:inline-block;
  margin-top:10px;
  font-weight:700;
  color:rgba(255,255,255,.84);
}

/* Pains: más legible, menos “grito”, más boardroom */
body.ebitda .eb-pains{ margin-top:14px; }
body.ebitda .eb-pains li{
  font-weight:600;
  line-height:1.5;
  color:rgba(255,255,255,.88) !important;
}
body.ebitda .eb-pains li img{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  margin-top:4px;
  opacity:.95;
}
body.ebitda .eb-pains strong{
  color:#fff !important;
  font-weight:800;
}
body.ebitda .eb-hero .eb-subtitle-2{
  font-size:18px;
}

/* ==========================================================
   EBITDA — PATCH ALCANCE (kpi-dark refinements)
   Pegarlo AL FINAL de ebitda-control-sprint.css
   ========================================================== */

/* Kicker legible sobre banda oscura */
body.ebitda .kpi-dark .section-kicker{
  color:rgba(255,255,255,.78) !important;
}

/* En banda oscura, los strong del subtítulo deben resaltar sin “gritar” */
body.ebitda .kpi-dark .section-subtitle strong{
  color:#fff !important;
  font-weight:800;
}

/* (Opcional) un poco más “premium” en los títulos de cada scope card */
body.ebitda .kpi-dark .scope-item h3{
  color:var(--ni-navy);
  letter-spacing:-.01em;
}
/* ==========================================================
   EBITDA — PATCH ENTREGABLES (kicker navy + pack dark)
   Pegarlo AL FINAL de ebitda-control-sprint.css
   ========================================================== */

/* Si el fondo es blanco: kicker debe ser NAVY (no gris tenue) */
body.ebitda #entregables .section-kicker{
  color:rgba(11,35,57,.78) !important;
}

/* Pack DARK: mismo concepto de franja con imagen/navy */
body.ebitda .pack-dark{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(11,35,57,.88), rgba(11,35,57,.88)),
    var(--pack-bg, url("assets/img/bg-statement-01.jpg")) center/cover !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 18px 46px rgba(7,26,43,.22) !important;
}
body.ebitda .pack-dark::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg,
    rgba(7,26,43,.58) 0%,
    rgba(7,26,43,.28) 50%,
    rgba(7,26,43,.58) 100%);
  pointer-events:none;
}
body.ebitda .pack-dark > *{ position:relative; z-index:1; }

/* Texto blanco dentro del pack */
body.ebitda .pack-dark .pack-meta{
  color:rgba(255,255,255,.88) !important;
  font-weight:800;
}

/* Badge en pack dark: que se lea premium y consistente */
body.ebitda .pack-dark .badge-primary{
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(255,255,255,.55) !important;
  color:var(--ni-navy) !important;
}

/* Tags dentro del pack dark: blancos/translúcidos */
body.ebitda .pack-dark .tag{
  background:rgba(255,255,255,.10) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  color:rgba(255,255,255,.92) !important;
  font-weight:800;
}
/* ==========================================================
   EBITDA — PATCH CONTRASTE + ANCHO TEXTO (solo #entregables)
   Pegarlo AL FINAL de ebitda-control-sprint.css
   ========================================================== */

/* 1) Kicker: navy real, no tenue */
body.ebitda #entregables .section-kicker{
  color:var(--ni-navy) !important;
  opacity:1 !important;
}

/* 2) H2: un poco más “board-level” (ligero ajuste, sin gigantismo) */
body.ebitda #entregables .section-title{
  color:var(--ni-ink);
  max-width:980px;          /* limita ancho para que no “rompa” */
  line-height:1.12;
  margin-bottom:12px;
}

/* 3) Texto principal: MÁS ANCHO, MÁS CONTRASTE, MÁS PRESENCIA */
body.ebitda #entregables .section-note{
  color:rgba(11,18,32,.86) !important;  /* sube contraste */
  font-size:18px;                       /* sostiene el H2 */
  line-height:1.65;                     /* lectura premium */
  max-width:980px;                      /* evita que quede “corto” */
  margin-top:8px;
}

/* 4) Strong: no verde pálido, sino navy/ink y peso controlado */
body.ebitda #entregables .section-note strong{
  color:var(--ni-navy) !important;
  font-weight:800;
}

/* 5) Si algún .muted se cuela demasiado gris en esta sección, lo subimos */
body.ebitda #entregables .muted{
  color:rgba(11,18,32,.72) !important;
}

/* ==========================================================
   EBITDA — FIX contraste card-statement
   Pegarlo AL FINAL de ebitda-control-sprint.css
   ========================================================== */

/* Forzar texto blanco dentro del statement */
body.ebitda .card-statement p{
  color:rgba(255,255,255,.92) !important;
}

/* Incluso si tiene clase .muted */
body.ebitda .card-statement .muted{
  color:rgba(255,255,255,.85) !important;
}

/* Strong dentro del statement */
body.ebitda .card-statement strong{
  color:#ffffff !important;
}


body.ebitda .card-statement p.muted{
  font-weight:700;
  letter-spacing:-.01em;
}

/* ==========================================================
   EBITDA — FIX SEGURO: solo el "Resultado" del statement
   Pegarlo AL FINAL de ebitda-control-sprint.css
   ========================================================== */

/* Solo afecta el párrafo exacto: <p class="muted"> dentro de .card-statement */
body.ebitda .card-statement p.muted{
  color:rgba(255,255,255,.85) !important;
}

/* (opcional) si quieres un poco más de jerarquía */
body.ebitda .card-statement p.muted strong{
  color:#fff !important;
}
/* ==========================================================
   EBITDA — PATCH CONTACTO (kpi-dark + contraste)
   Pegarlo AL FINAL de ebitda-control-sprint.css
   ========================================================== */

/* En contacto (banda oscura), los textos deben ser blancos */
body.ebitda #contacto.kpi-dark .contact-lead,
body.ebitda #contacto.kpi-dark .contact-sub{
  color:rgba(255,255,255,.88) !important;
}
body.ebitda #contacto.kpi-dark .contact-lead strong,
body.ebitda #contacto.kpi-dark .contact-sub strong{
  color:#fff !important;
  font-weight:900;
}

/* Mantener el form como “card” clara sobre fondo oscuro */
body.ebitda #contacto.kpi-dark .contact-form{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 18px 44px rgba(7,26,43,.22);
}
/* ==========================================================
   EBITDA — PATCH ASEGURAMIENTO (solo este bloque)
   Pegar AL FINAL de ebitda-control-sprint.css
   ========================================================== */

/* Full-bleed + contención segura tipo DEV */
body.ebitda #aseguramiento.frame-section{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
body.ebitda #aseguramiento .frame-inner{
  padding:56px 0; /* consistente con tu frame-inner */
}
body.ebitda #aseguramiento .frame-inner > .container{
  position:relative;
  z-index:1;
}

/* Grid consistente y sin “saltos” visuales */
body.ebitda #aseguramiento .assurance-grid{
  margin-top:18px;
}

/* Details/summary: hit-area, accesibilidad, sin marcador nativo */
body.ebitda #aseguramiento details.assurance-item{
  -webkit-tap-highlight-color:transparent;
}
body.ebitda #aseguramiento details.assurance-item summary{
  padding:16px 16px;
  line-height:1.25;
}
body.ebitda #aseguramiento details.assurance-item summary:focus{
  outline:none;
}
body.ebitda #aseguramiento details.assurance-item summary:focus-visible{
  box-shadow:0 0 0 4px rgba(0,179,136,.16);
  border-radius:14px;
}

/* Rotación ícono: estable incluso si el PNG no carga */
body.ebitda #aseguramiento .assurance-ico img{
  transform-origin:50% 50%;
}

/* Footer card: mejor jerarquía y espaciado */
body.ebitda #aseguramiento .assurance-footer{
  margin-top:18px;
}
body.ebitda #aseguramiento .assurance-footer .btn{
  margin-top:6px;
}
/* ==========================================================
   EBITDA — FIX CONTRASTE ASEGURAMIENTO (solo este bloque)
   ========================================================== */

body.ebitda #aseguramiento .frame-title{
  color:#ffffff !important;
}

body.ebitda #aseguramiento .frame-subtitle{
  color:rgba(255,255,255,.88) !important;
}

/* Si algún strong hereda navy */
body.ebitda #aseguramiento .frame-subtitle strong{
  color:#ffffff !important;
}

/* ==========================================================
   CONTACTO LIGHT — BLOQUE BLANCO LIMPIO (EBITDA)
   ========================================================== */

body.ebitda .contact-light{
  background:#ffffff;
  padding:64px 0;
}

body.ebitda .contact-light .section-title{
  color:var(--ni-navy);
  text-align:center;
  margin-bottom:14px;
}

body.ebitda .contact-light .section-subtitle{
  color:rgba(11,18,32,.78);
  max-width:880px;
  margin:0 auto 34px auto;
  text-align:center;
}

body.ebitda .contact-light-grid{
  display:flex;
  justify-content:center;
}

body.ebitda .contact-light .contact-lead,
body.ebitda .contact-light .contact-sub{
  color:rgba(11,18,32,.82);
  line-height:1.6;
  max-width:820px;
  margin-bottom:14px;
}

body.ebitda .contact-light strong{
  color:var(--ni-navy);
  font-weight:900;
}

body.ebitda .contact-light .btn-primary{
  margin-top:20px;
}

body.ebitda .contact-light .contact-note{
  margin-top:14px;
  font-size:14px;
  color:rgba(11,18,32,.62);
}
/* ==========================================================
   CONTACTO — FORCE WHITE (mata kpi-dark overlays si quedaron)
   Pegar AL FINAL
   ========================================================== */

body.ebitda #contacto{
  background:#fff !important;
  background-image:none !important;
  position:relative;
  isolation:isolate; /* asegura stacking correcto */
}

/* Si #contacto quedó con kpi-dark, estos overlays son el problema */
body.ebitda #contacto::before,
body.ebitda #contacto::after{
  content:none !important;
  display:none !important;
}

/* Tipografía en fondo blanco */
body.ebitda #contacto .section-title{
  color:var(--ni-navy) !important;
  text-align:center;
}

body.ebitda #contacto .section-subtitle{
  color:rgba(11,18,32,.78) !important;
  text-align:center;
  max-width:880px;
  margin-left:auto;
  margin-right:auto;
}

body.ebitda #contacto .contact-lead,
body.ebitda #contacto .contact-sub{
  color:rgba(11,18,32,.82) !important;
  max-width:820px;
}

body.ebitda #contacto .muted,
body.ebitda #contacto .contact-note{
  color:rgba(11,18,32,.62) !important;
}
body.ebitda .footer-claim{
  text-align:center;
  padding:28px 20px 10px;
  font-weight:600;
  font-size:15px;
  color:rgba(255,255,255,.75);
}
/* ==========================================================
   EBITDA — FIX ANCHO + COMPOSICIÓN BLOQUE CONVERSEMOS (WHITE)
   Objetivo: que el cuerpo de texto tenga el mismo “ancho visual” del título
   sin reventar el layout del sitio.
   ========================================================== */

body.ebitda #contacto{
  background:#fff !important;
}

body.ebitda #contacto .container{
  /* mantiene el ritmo de la página, pero centra el contenido del bloque */
  padding-top:70px;
  padding-bottom:70px;
}

/* el grid no debe sentirse como “columna angosta” */
body.ebitda #contacto .contact-grid{
  grid-template-columns:1fr !important;
  max-width:1040px;      /* sube la amplitud visual */
  margin:0 auto;
}

/* el bloque interno que contiene párrafos y botón */
body.ebitda #contacto .contact-grid > .reveal{
  max-width:980px;       /* ancho real del texto */
}

/* asegura que los párrafos usen el ancho (y no se queden “estrechos”) */
body.ebitda #contacto .contact-lead,
body.ebitda #contacto .contact-sub{
  max-width:980px !important;
}

/* opcional: mejora el balance visual del subtitle bajo el H2 */
body.ebitda #contacto .section-subtitle{
  max-width:980px;
}

/* botón: evita que se vea “perdido” si todo está muy ancho */
body.ebitda #contacto .btn.btn-primary{
  margin-top:22px !important;
}
/* ==========================================================
   EBITDA — AJUSTE ESPACIADO VERTICAL CONTACTO
   ========================================================== */

body.ebitda #contacto{
  padding-top:40px !important;
  padding-bottom:40px !important;
}

body.ebitda #contacto .container{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* Ajuste fino del título */
body.ebitda #contacto .section-title{
  margin-bottom:18px !important;
}

/* Ajuste fino del subtítulo */
body.ebitda #contacto .section-subtitle{
  margin-bottom:28px !important;
}

/* ============================= */
/* NAVBAR - BOTÓN CONVERSEMOS  */
/* ============================= */

.navbar .btn,
.navbar .btn:visited {
  background-color: #00b388; /* verde marca */
  color: #ffffff !important;
  border: none;
}

.navbar .btn:hover,
.navbar .btn:focus,
.navbar .btn:active {
  background-color: #00a07a; /* verde ligeramente más oscuro */
  color: #0b2339 !important; /* Navy */
}

/* =========================================================
   EBITDA SUBNAV — MOBILE SCROLL FIX
   ========================================================= */

@media (max-width: 768px){

  body.ebitda .eb-subnav{
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.ebitda .eb-subnav::-webkit-scrollbar{
    display: none;
  }

  body.ebitda .eb-subnav .container{
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 10px;
    width: max-content;
    min-width: 100%;
    padding: 12px 16px 8px;
  }

  body.ebitda .eb-subnav .subnav-pill{
    flex: 0 0 auto !important;
    white-space: nowrap;
  }

}

/* FIX SUBNAV — EBITDA */
.eb-subnav .container .subnav-pill{
  background: #10c4a0 !important;
  color: #071a2b !important;
  border: 1px solid #10c4a0 !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.eb-subnav .container .subnav-pill:hover,
.eb-subnav .container .subnav-pill:focus,
.eb-subnav .container .subnav-pill:active,
.eb-subnav .container .subnav-pill.is-active,
.eb-subnav .container .subnav-pill[aria-current="true"]{
  background: #071a2b !important;
  color: #ffffff !important;
  border-color: #071a2b !important;
}