/*
 * ORBIS Enterprise Solutions — skin-orbis.css
 * Derivado de skin-accounting-2.css (Porto 13.1). Sustituye el esquema verde/lima por la paleta de marca:
 *   --primary    #02255E  Navigator Navy  (autoridad, titulares, bandas)
 *   --secondary  #0A7883  Horizon Teal    (interacción, navegación, estructura)
 *   --tertiary   #DDEEF0  tinte de Teal   (fondos suaves de tarjetas/filas; sustituye al lima)
 *   --quaternary #C9961A  Beacon Gold     (RESERVADO: CTA primarios y métricas; máx. 5 % del campo visual)
 *   --grey       #6A7082  Compass Grey    (texto secundario / apoyos)
 *
 * Contraste WCAG 2.2 AA (calculado con script; texto normal >= 4.5:1, componentes UI/indicadores >= 3:1):
 *   14.70:1 [OK   ] Texto blanco sobre Navy (bandas, header oscuro)  (#FFFFFF sobre #02255E)
 *    5.21:1 [OK   ] Texto blanco sobre Teal (botones/badges secundarios)  (#FFFFFF sobre #0A7883)
 *   14.70:1 [OK   ] Texto Navy sobre blanco (titulares)  (#02255E sobre #FFFFFF)
 *   13.57:1 [OK   ] Texto Navy sobre gris claro #F4F6F8  (#02255E sobre #F4F6F8)
 *   12.29:1 [OK   ] Texto Navy sobre tinte teal #DDEEF0 (tarjetas/filas)  (#02255E sobre #DDEEF0)
 *   13.16:1 [OK   ] Texto Navy sobre tinte frío #EEF3F7 (top bar, nav activo)  (#02255E sobre #EEF3F7)
 *    9.88:1 [OK   ] Texto cuerpo #3B4357 sobre blanco  (#3B4357 sobre #FFFFFF)
 *    8.84:1 [OK   ] Texto cuerpo #3B4357 sobre #EEF3F7  (#3B4357 sobre #EEF3F7)
 *    4.94:1 [OK   ] Compass Grey #6A7082 sobre blanco (texto secundario)  (#6A7082 sobre #FFFFFF)
 *    4.56:1 [OK   ] Compass Grey #6A7082 sobre #F4F6F8  (#6A7082 sobre #F4F6F8)
 *    5.21:1 [OK   ] Teal #0A7883 sobre blanco (enlaces)  (#0A7883 sobre #FFFFFF)
 *    4.67:1 [OK   ] Teal #0A7883 sobre #EEF3F7 (enlaces en bandas tenues)  (#0A7883 sobre #EEF3F7)
 *    6.08:1 [OK   ] Enlaces Teal oscuro #086069 sobre #DDEEF0  (#086069 sobre #DDEEF0)
 *    5.50:1 [OK   ] Gold #C9961A como texto sobre Navy (métricas en banda navy)  (#C9961A sobre #02255E)
 *    5.50:1 [OK   ] Texto Navy sobre botón Gold #C9961A (CTA primario)  (#02255E sobre #C9961A)
 *    6.49:1 [OK   ] Texto Navy sobre botón Gold hover #D6A524  (#02255E sobre #D6A524)
 *    2.67:1 [FALLA] Texto BLANCO sobre Gold #C9961A (NO USAR)  (#FFFFFF sobre #C9961A)
 *    2.67:1 [FALLA] Gold #C9961A como texto sobre blanco (NO USAR; falla AA)  (#C9961A sobre #FFFFFF)
 *    5.21:1 [OK   ] Foco: Teal #0A7883 sobre blanco (indicador >=3:1)  (#0A7883 sobre #FFFFFF)
 *    5.50:1 [OK   ] Foco: Gold #C9961A sobre Navy (indicador >=3:1)  (#C9961A sobre #02255E)
 *    8.21:1 [OK   ] Texto blanco sobre Navy con 70% opacidad aprox. (#B8C2D6 sobre Navy)  (#B8C2D6 sobre #02255E)
 *    4.94:1 [OK   ] Placeholder/borde de input Compass #6A7082 sobre blanco (>=3:1 componentes UI)  (#6A7082 sobre #FFFFFF)
 *
 * Dorado: nunca como color de texto sobre fondo claro (2.67:1, falla); el texto sobre botón dorado es Navy.
 * Como texto sólo sobre Navy (.text-gold). Métricas sobre fondo claro: Navy con barra dorada (.metric-gold).
 */

/* General */
:root {
	--border-radius: 4px;
	--border-radius2x: 16px;
	--default: #3b4357;
}
/* Skin Colors */
:root {
	--primary: #02255e;
	--primary-100: #022358;
	--primary-200: #022153;
	--primary-300: #021f4f;
	--primary--100: #032f78;
	--primary--200: #03378b;
	--primary--300: #033f9f;
	--primary-rgba-0: rgba(2, 37, 94, 0);
	--primary-rgba-10: rgba(2, 37, 94, 0.1);
	--primary-rgba-20: rgba(2, 37, 94, 0.2);
	--primary-rgba-30: rgba(2, 37, 94, 0.3);
	--primary-rgba-40: rgba(2, 37, 94, 0.4);
	--primary-rgba-50: rgba(2, 37, 94, 0.5);
	--primary-rgba-60: rgba(2, 37, 94, 0.6);
	--primary-rgba-70: rgba(2, 37, 94, 0.7);
	--primary-rgba-80: rgba(2, 37, 94, 0.8);
	--primary-rgba-90: rgba(2, 37, 94, 0.9);
	--secondary: #0a7883;
	--secondary-100: #09707b;
	--secondary-200: #096b74;
	--secondary-300: #08656e;
	--secondary--100: #0c8c99;
	--secondary--200: #0d9ba9;
	--secondary--300: #0eaaba;
	--secondary-rgba-0: rgba(10, 120, 131, 0);
	--secondary-rgba-10: rgba(10, 120, 131, 0.1);
	--secondary-rgba-20: rgba(10, 120, 131, 0.2);
	--secondary-rgba-30: rgba(10, 120, 131, 0.3);
	--secondary-rgba-40: rgba(10, 120, 131, 0.4);
	--secondary-rgba-50: rgba(10, 120, 131, 0.5);
	--secondary-rgba-60: rgba(10, 120, 131, 0.6);
	--secondary-rgba-70: rgba(10, 120, 131, 0.7);
	--secondary-rgba-80: rgba(10, 120, 131, 0.8);
	--secondary-rgba-90: rgba(10, 120, 131, 0.9);
	--tertiary: #ddeef0;
	--tertiary-100: #c9e4e7;
	--tertiary-200: #b9dce0;
	--tertiary-300: #aad4d9;
	--tertiary--100: #dfeff1;
	--tertiary--200: #e1f0f2;
	--tertiary--300: #e2f1f2;
	--tertiary-rgba-0: rgba(221, 238, 240, 0);
	--tertiary-rgba-10: rgba(221, 238, 240, 0.1);
	--tertiary-rgba-20: rgba(221, 238, 240, 0.2);
	--tertiary-rgba-30: rgba(221, 238, 240, 0.3);
	--tertiary-rgba-40: rgba(221, 238, 240, 0.4);
	--tertiary-rgba-50: rgba(221, 238, 240, 0.5);
	--tertiary-rgba-60: rgba(221, 238, 240, 0.6);
	--tertiary-rgba-70: rgba(221, 238, 240, 0.7);
	--tertiary-rgba-80: rgba(221, 238, 240, 0.8);
	--tertiary-rgba-90: rgba(221, 238, 240, 0.9);
	--quaternary: #c9961a;
	--quaternary-100: #bc8c18;
	--quaternary-200: #b28517;
	--quaternary-300: #a97e16;
	--quaternary--100: #d9a21c;
	--quaternary--200: #e2aa20;
	--quaternary--300: #e4ae2d;
	--quaternary-rgba-0: rgba(201, 150, 26, 0);
	--quaternary-rgba-10: rgba(201, 150, 26, 0.1);
	--quaternary-rgba-20: rgba(201, 150, 26, 0.2);
	--quaternary-rgba-30: rgba(201, 150, 26, 0.3);
	--quaternary-rgba-40: rgba(201, 150, 26, 0.4);
	--quaternary-rgba-50: rgba(201, 150, 26, 0.5);
	--quaternary-rgba-60: rgba(201, 150, 26, 0.6);
	--quaternary-rgba-70: rgba(201, 150, 26, 0.7);
	--quaternary-rgba-80: rgba(201, 150, 26, 0.8);
	--quaternary-rgba-90: rgba(201, 150, 26, 0.9);
	--dark: #0b1530;
	--dark-100: #080f24;
	--dark-200: #060c1c;
	--dark-300: #040913;
	--dark--100: #12203f;
	--dark--200: #182a50;
	--dark--300: #1e3361;
	--dark-rgba-0: rgba(11, 21, 48, 0);
	--dark-rgba-10: rgba(11, 21, 48, 0.1);
	--dark-rgba-20: rgba(11, 21, 48, 0.2);
	--dark-rgba-30: rgba(11, 21, 48, 0.3);
	--dark-rgba-40: rgba(11, 21, 48, 0.4);
	--dark-rgba-50: rgba(11, 21, 48, 0.5);
	--dark-rgba-60: rgba(11, 21, 48, 0.6);
	--dark-rgba-70: rgba(11, 21, 48, 0.7);
	--dark-rgba-80: rgba(11, 21, 48, 0.8);
	--dark-rgba-90: rgba(11, 21, 48, 0.9);
	--light: #FFF;
	--light-100: #f4f6f8;
	--light-200: #eef3f7;
	--light-300: #e6ebf0;
	--light--100: #ffffff;
	--light--200: #ffffff;
	--light--300: #ffffff;
	--light-rgba-0: rgba(255, 255, 255, 0);
	--light-rgba-10: rgba(255, 255, 255, 0.1);
	--light-rgba-20: rgba(255, 255, 255, 0.2);
	--light-rgba-30: rgba(255, 255, 255, 0.3);
	--light-rgba-40: rgba(255, 255, 255, 0.4);
	--light-rgba-50: rgba(255, 255, 255, 0.5);
	--light-rgba-60: rgba(255, 255, 255, 0.6);
	--light-rgba-70: rgba(255, 255, 255, 0.7);
	--light-rgba-80: rgba(255, 255, 255, 0.8);
	--light-rgba-90: rgba(255, 255, 255, 0.9);
}
/* Skin Colors - Inverse */
:root {
	--primary-inverse: #FFF;
	--secondary-inverse: #FFF;
	--tertiary-inverse: #02255E;
	--quaternary-inverse: #02255E;
	--dark-inverse: #FFF;
	--light-inverse: #3b4357;
}
/* Grey Colors (Compass Grey #6A7082 como base de apoyo; escala fría) */
:root {
	--grey: #6a7082;
	--grey-100: #f4f6f8;
	--grey-200: #e9edf1;
	--grey-300: #e2e7ed;
	--grey-400: #d8dee6;
	--grey-500: #cdd4de;
	--grey-600: #bcc4d0;
	--grey-700: #a9b2c1;
	--grey-800: #8f99ab;
	--grey-900: #7b8599;
	--grey-1000: #6a7082;
}

/* Tipografía ORBIS (fuentes auto-alojadas en css/fonts.css) */
:root {
	--orbis-font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
	--orbis-font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--orbis-gold: #C9961A;
	--orbis-gold-hover: #D6A524;
	--orbis-teal-dark: #086069;
	--orbis-focus: #0A7883;
	--orbis-focus-on-dark: #C9961A;
}
body, .default-font, .alternative-font-4, .alternative-font-5, .font-primary,
.testimonial.testimonial-style-3 blockquote p, .testimonial.testimonial-style-4 blockquote p, .testimonial.testimonial-style-5 blockquote p,
.mfp-close, .mfp-close-btn-in .mfp-close {
	font-family: var(--orbis-font-body) !important;
}
body { color: var(--default); }   /* tamaño base 14px de Porto se mantiene: las utilidades text-N escalan sobre él */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .font-secondary, .custom-font-secondary,
.btn, .badge, .nav-pills .nav-link, #header .header-nav-main nav > ul > li > a, .toggle > .toggle-title, .feature-box-info > strong,
.alternative-font {
	font-family: var(--orbis-font-heading) !important;
	letter-spacing: -0.01em;
}
h1, h2, h3, h4, h5, h6 { color: var(--primary); font-weight: 600; }
h1, h2 { font-weight: 700; }
.font-weight-semibold, .font-weight-semi-bold { font-weight: 600 !important; }
p { line-height: 1.65; letter-spacing: 0; }
.orbis-prose, .orbis-prose p, .orbis-prose li { max-width: 70ch; }
.custom-font-tertiary { font-style: italic; letter-spacing: 0; font-family: var(--orbis-font-body) !important; }

/* Enlaces: Teal (5.21:1 sobre blanco); hover Teal oscuro */
a { color: var(--secondary); }
a:hover { color: var(--orbis-teal-dark); }
.text-color-secondary { color: var(--secondary) !important; }

/* Sustituciones de restos del demo (verde #f2f5f1, amarillo #f8e095, bandas amarillas) */
.bg-custom-color-1 { background-color: var(--light-200) !important; }
.custom-text-color-2 { color: var(--tertiary--200) !important; }
#header .header-nav.header-nav-links:not(.header-nav-light-text) nav > ul > li > a.active span { background-color: var(--light-200); color: var(--primary); }
.bg-color-quaternary-rgba-10 { background-color: var(--secondary-rgba-10) !important; }
.svg-fill-color-quaternary, .svg-fill-color-quaternary svg path, .svg-fill-color-quaternary svg rect, .svg-fill-color-quaternary svg line,
.svg-fill-color-quaternary svg polyline, .svg-fill-color-quaternary svg polygon { fill: var(--secondary) !important; }  /* decoración: nunca dorado */
.bg-color-quaternary, .custom-avatar-1.bg-quaternary { background-color: var(--tertiary-100) !important; color: var(--primary) !important; }  /* decorativo del demo: tinte teal, no dorado */
.sticky-header-active #header .header-body { background-color: rgba(255, 255, 255, 0.94) !important; }
.highlight-scribble-1 path { stroke: var(--secondary) !important; }

/* Botones: el primario de contenido va en Navy; el CTA de conversión (Beacon Gold) es .btn-orbis-cta */
.btn-primary { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background-color: var(--primary-200); border-color: var(--primary-200); color: #fff; }
.btn-secondary { background-color: var(--secondary); border-color: var(--secondary); color: #fff; }
.btn-tertiary { background-color: var(--tertiary); border-color: var(--tertiary); color: var(--primary); }
.btn-tertiary:hover { background-color: var(--tertiary--100); border-color: var(--tertiary--100); color: var(--primary); }

/* ===== Beacon Gold: SOLO CTA primario y métricas ===== */
.btn-orbis-cta, .btn-quaternary {
	background-color: var(--orbis-gold) !important; border-color: var(--orbis-gold) !important; color: var(--primary) !important; font-weight: 700;
}
.btn-orbis-cta:hover, .btn-orbis-cta:focus-visible, .btn-quaternary:hover, .btn-quaternary:focus-visible {
	background-color: var(--orbis-gold-hover) !important; border-color: var(--orbis-gold-hover) !important; color: var(--primary) !important;
}
.btn-orbis-cta > *, .btn-quaternary > * { color: var(--primary) !important; }
.text-gold { color: var(--orbis-gold) !important; }              /* sólo sobre fondos Navy */
.bg-gold { background-color: var(--orbis-gold) !important; color: var(--primary) !important; }
.bg-gold-soft { background-color: rgba(201, 150, 26, 0.14) !important; color: var(--primary) !important; }
.border-gold { border-color: var(--orbis-gold) !important; }
.metric-gold { color: var(--primary); position: relative; display: inline-block; }
.metric-gold::after { content: ""; display: block; height: 4px; width: 56px; margin-top: .35rem; background: var(--orbis-gold); border-radius: 2px; }
.counters .counter span[data-to]:not(.text-light):not(.text-gold) { color: var(--primary) !important; }
.text-compass { color: #6a7082 !important; }                      /* Compass Grey: 4.94:1 sobre blanco */
.bg-compass { background-color: #6a7082 !important; color: #fff !important; }
.text-color-grey, .text-color-default { color: #6a7082 !important; }
.text-color-hover-primary:hover, a.text-color-hover-primary:hover { color: var(--secondary) !important; }
.text-color-primary { color: var(--primary) !important; }
.text-color-tertiary { color: var(--tertiary--100) !important; }  /* sobre bandas Navy */

/* Formularios, toggles (FAQ), paginación y blog */
.form-control { border-color: #8b93a5; color: var(--default); }          /* borde >= 3:1 */
.form-control::placeholder { color: #6a7082; opacity: 1; }
.form-control:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(10, 120, 131, 0.25); }
.form-label { color: var(--primary); }
label.error { color: #b3261e; }                                          /* 6.5:1 sobre blanco */
.toggle-minimal .toggle-title, .toggle-faqs .toggle-title { color: var(--primary); }
.toggle .toggle-title:hover { color: var(--secondary); }
.page-link { color: var(--primary); }
.pagination .page-item.active .page-link { background-color: var(--secondary) !important; color: #fff !important; }
.nav-list-arrows .nav-link { color: var(--primary); }
.nav-list-arrows .nav-link:hover { color: var(--secondary); }
.badge.badge-dark { background-color: var(--primary); color: #fff; }
.post-date .month { background-color: var(--secondary) !important; color: #fff; }
.post-date .day { color: var(--primary) !important; }

/* Cabecera/pie */
#header .header-top { border-bottom: 1px solid var(--grey-200); }
#footer { color: var(--default); }
#footer h4 { color: var(--primary); }
.footer-copyright p { opacity: 1 !important; color: #6a7082; }
.footer-legal-notice { font-size: .875rem; color: #6a7082; }
.bg-primary, .bg-secondary { color: #fff; }
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4, .bg-secondary h5, .bg-secondary h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 { color: #fff; }
.bg-primary a:not(.btn), .bg-dark a:not(.btn) { color: #fff; text-decoration: underline; }

/* ===== Accesibilidad WCAG 2.2 AA ===== */
body a { outline: revert !important; }   /* Porto anula el outline global: se restaura */
:where(a, button, input, select, textarea, summary, [tabindex], .btn, .nav-link, .toggle-title):focus-visible {
	outline: 3px solid var(--orbis-focus) !important;
	outline-offset: 3px !important;
	border-radius: 4px;
	box-shadow: none;
}
.bg-primary :focus-visible, .bg-secondary :focus-visible, .bg-dark :focus-visible, .on-navy :focus-visible {
	outline-color: var(--orbis-focus-on-dark) !important;
}
.skip-link, .visually-hidden-focusable.skip-link {
	position: absolute; left: 1rem; top: -4rem; z-index: 20000; padding: .75rem 1.25rem; border-radius: 8px;
	background: var(--primary); color: #fff !important; font-family: var(--orbis-font-heading); font-weight: 600; text-decoration: none;
	transition: top .15s ease-out;
}
.skip-link:focus, .skip-link:focus-visible { top: 1rem; outline: 3px solid var(--orbis-gold) !important; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.appear-animation, [data-appear-animation] { opacity: 1 !important; transform: none !important; animation: none !important; }
	.anim-up-down-infinite { animation: none !important; }
}

