/* ═══ Estilo claro con cintas (misma línea de los videos y piezas de Vincit) ═══
   Se carga después del estilo de cada página y solo cambia colores y fondos. */
:root {
  --cl-navy: #1E3A55;
  --cl-ink: #0F172A;
  --cl-gray: #4A5568;
  --cl-soft: #8E99A4;
  --cl-sky: #B5CBE0;
  --cl-sky2: #7FA6CC;
  --cl-bg: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F3F6FA 55%, #E8EEF5 100%);
  --cl-card-shadow: 0 24px 50px -30px rgba(15,23,42,.35);
  /* Cinta navy → celeste */
  --cl-ribbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%231E3A55'/%3E%3Cstop offset='.55' stop-color='%237FA6CC'/%3E%3Cstop offset='1' stop-color='%23B5CBE0'/%3E%3C/linearGradient%3E%3ClinearGradient id='h' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23B5CBE0'/%3E%3Cstop offset='1' stop-color='%237FA6CC'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 150 C 300 70, 560 220, 860 150 S 1260 50, 1440 90 L 1440 140 C 1260 100, 1100 240, 860 230 S 300 140, 0 230 Z' fill='url(%23g)' opacity='.9'/%3E%3Cpath d='M0 215 C 320 160, 600 260, 900 215 S 1300 150, 1440 180 L 1440 196 C 1300 170, 1150 260, 900 250 S 320 190, 0 240 Z' fill='url(%23h)' opacity='.5'/%3E%3C/svg%3E");
  --cl-ribbon-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23B5CBE0'/%3E%3Cstop offset='1' stop-color='%237FA6CC'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 120 C 320 40, 620 180, 920 110 S 1300 40, 1440 70 L 1440 100 C 1300 80, 1150 200, 920 170 S 320 110, 0 170 Z' fill='url(%23g)' opacity='.55'/%3E%3C/svg%3E");
}

/* ─── Menú claro ─── */
.nav { background: rgba(255,255,255,.92) !important; border-bottom: 1px solid #E3E8EE !important; }
.nav-logo { filter: none !important; }
.nav-links a { color: var(--cl-gray) !important; }
.nav-links a:hover { color: var(--cl-navy) !important; }
.nav-links .nav-cta { background: var(--cl-navy) !important; color: #fff !important; }
.nav-links .nav-cta:hover { background: #142A3F !important; }
.nav-toggle span { background: var(--cl-navy) !important; }
@media (max-width: 640px) { .nav-links { background: #fff !important; border-top: 1px solid #E3E8EE !important; } }

/* ─── Portadas claras con cinta ─── */
.hero, .page-hero { background: var(--cl-bg) !important; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 16vw, 220px);
  background: var(--cl-ribbon) center bottom / 100% 100% no-repeat; pointer-events: none;
}
.hero-topo, .hero-gradient, .hero-grid { display: none !important; }
.hero-inner { z-index: 1; }
.hero-eyebrow, .breadcrumb { color: var(--cl-soft) !important; }
.breadcrumb a { color: var(--cl-navy) !important; }
.hero h1, .page-hero h1 { color: var(--cl-ink) !important; }
.hero h1 em, .page-hero h1 em { color: var(--cl-navy) !important; }
.hero-sub, .hero .lead, .hero-by, .page-hero p { color: var(--cl-gray) !important; }
.hero-logo { filter: none !important; }
.hero .btn-outline { color: var(--cl-navy) !important; border: 1px solid rgba(30,58,85,.35) !important; }
.hero .btn-outline:hover { background: rgba(30,58,85,.06) !important; }
.hero .btn-white { background: var(--cl-navy) !important; color: #fff !important; }
.hero .btn-white:hover { background: #142A3F !important; }

/* ─── Inicio: franja de Vincit en celeste suave ─── */
.vincit-band { background: linear-gradient(135deg, #EEF3F8, #E2EBF4) !important; position: relative; overflow: hidden; }
.vincit-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: var(--cl-ribbon-soft) center bottom / 100% 100% no-repeat; pointer-events: none;
}
.vincit-inner { position: relative; z-index: 1; }
.vincit-tag { color: var(--cl-navy) !important; border-color: rgba(30,58,85,.25) !important; background: #fff; }
.vincit-by { color: var(--cl-gray) !important; }
.vincit-band h2 { color: var(--cl-ink) !important; }
.vincit-band p { color: var(--cl-gray) !important; }
.vincit-mod { background: #fff !important; border: 1px solid #E3E8EE !important; box-shadow: var(--cl-card-shadow); }
.vincit-mod b { color: var(--cl-navy) !important; }
.vincit-mod span { color: var(--cl-gray) !important; }
.vincit-btn { background: var(--cl-navy) !important; color: #fff !important; }
.vincit-btn:hover { background: #142A3F !important; }

/* ─── Inicio: tarjetas destacadas blancas con borde navy ─── */
.srv-card.srv-featured { background: #fff !important; border: 1px solid #E3E8EE !important; border-top: 4px solid var(--cl-navy) !important; box-shadow: var(--cl-card-shadow); }
.srv-featured .srv-icon { background: linear-gradient(135deg, var(--cl-navy), var(--cl-sky2)) !important; }
.srv-featured .srv-icon svg { stroke: #fff !important; }
.srv-featured h3 { color: var(--cl-ink) !important; }
.srv-featured p { color: #637381 !important; }
.srv-featured .srv-tag { background: #EEF3F8 !important; color: var(--cl-navy) !important; }
.srv-featured .srv-link { color: var(--cl-navy) !important; border-color: var(--cl-sky) !important; }

/* ─── Inicio: minería en gris muy claro ─── */
.mining { background: var(--cl-bg) !important; }
.mining-topo { display: none !important; }
.mining .section-eyebrow { color: var(--cl-soft) !important; }
.mining .section-title { color: var(--cl-ink) !important; }
.mining .section-desc { color: var(--cl-gray) !important; }
.mining-card { background: #fff !important; border: 1px solid #E3E8EE !important; box-shadow: var(--cl-card-shadow); }
.mining-card h3 { color: var(--cl-ink) !important; }
.mining-card p { color: #637381 !important; }
.mining-card .srv-tag { background: #EEF3F8 !important; color: var(--cl-navy) !important; }
.mining-card .srv-link { color: var(--cl-navy) !important; border-color: var(--cl-sky) !important; }

/* ─── Vincit: "Por qué Vincit" en claro ─── */
.why { background: var(--cl-bg) !important; color: var(--cl-ink) !important; }
.why h2 { color: var(--cl-ink) !important; }
.why .desc { color: var(--cl-gray) !important; }
.why .eyebrow, .why .tag, .why .sec-label { color: var(--cl-soft) !important; }
.why-card { background: #fff !important; border: 1px solid #E3E8EE !important; box-shadow: var(--cl-card-shadow); }
.why-card h4 { color: var(--cl-navy) !important; }
.why-card p { color: #637381 !important; }

/* ─── Cierre: queda navy (como el final de los videos), con una cinta ─── */
.contact { position: relative; overflow: hidden; background: radial-gradient(90% 140% at 85% 0%, #24486A 0%, #1E3A55 45%, #142A3F 100%) !important; }
.contact::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: var(--cl-ribbon-soft) center bottom / 100% 100% no-repeat; opacity: .6; pointer-events: none;
}
.contact > * { position: relative; z-index: 1; }

/* ─── Coaching ADC: "Proceso" en claro ─── */
.proceso { background: var(--cl-bg) !important; color: var(--cl-ink) !important; }
.proceso h2 { color: var(--cl-ink) !important; }
.proceso .subtitle { color: var(--cl-gray) !important; }
.proceso-step { background: #fff !important; border: 1px solid #E3E8EE !important; box-shadow: var(--cl-card-shadow); }
.proceso-step h4 { color: var(--cl-navy) !important; }
.proceso-step p { color: #637381 !important; }

/* ─── Conducta Segura: "Ejes" en claro ─── */
.ejes { background: var(--cl-bg) !important; color: var(--cl-ink) !important; }
.ejes h2 { color: var(--cl-ink) !important; }
.ejes .subtitle { color: var(--cl-gray) !important; }
.eje-card { background: #fff !important; border: 1px solid #E3E8EE !important; box-shadow: var(--cl-card-shadow); }
.eje-card h4 { color: var(--cl-navy) !important; }
.eje-card p { color: #637381 !important; }

/* ─── Portadas de páginas internas: título y texto ─── */
.hero p, .page-hero .lead { color: var(--cl-gray) !important; }
.hero-inner, .page-hero-inner { position: relative; z-index: 1; }

/* ─── Autoevaluación DS44: encabezado claro ─── */
.header { background: #fff !important; border-bottom: 1px solid #E3E8EE; }
.header-logo { filter: none !important; }
.header-sep { background: rgba(30,58,85,.2) !important; }
.header-title { color: var(--cl-navy) !important; }
.header-name { color: var(--cl-gray) !important; }
.header-badge { background: #EEF3F8 !important; color: var(--cl-navy) !important; }

/* ─── Portadas internas: espacio para que la cinta no tape el texto ─── */
.page-hero, .hero:has(.hero-grid) { padding-bottom: clamp(120px, 13vw, 190px) !important; }
.page-hero::after, .hero:has(.hero-grid)::after { height: clamp(80px, 10vw, 150px); }
