/* icloudCompliance – Accesibilidad 1.0.0 */

/* Texto solo para lectores de pantalla */
.icc-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Enlace "Saltar al contenido": oculto hasta recibir el foco */
.icc-skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 1000000;
	padding: 12px 20px;
	background: #0b0c0e;
	color: #fff !important;
	font: 600 16px/1.2 Poppins, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.icc-skip-link:focus {
	top: 16px;
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* Foco visible en todos los elementos interactivos (Divi lo elimina en muchos sitios) */
:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus-visible {
	outline: 3px solid #1d4ed8 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px #fff !important;
}

/* El destino del enlace de salto no necesita contorno al recibir foco por programa */
#main-content:focus,
[data-icc-skip-target]:focus {
	outline: none;
}

/* Controles de Divi convertidos en botones */
.mobile_menu_bar[role="button"],
#et_search_icon[role="button"],
.et_pb_scroll_top[role="button"],
.et_pb_toggle_title[role="button"] {
	cursor: pointer;
}

/* Respeta la preferencia del sistema de reducir el movimiento */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ===== 1.1 · Botón flotante y panel de ajustes ===== */
.icc-a11y-fab {
	position: fixed;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999999;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #0b0c0e;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
	transition: transform .15s ease;
}
.icc-a11y-fab:hover { transform: translateY(-50%) scale(1.06); }
.icc-a11y-fab svg { width: 28px; height: 28px; display: block; }
.icc-a11y-panel {
	position: fixed;
	left: 70px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999999;
	width: 260px;
	max-width: calc(100vw - 82px);
	max-height: 90vh;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 14px;
	background: #fff;
	color: #0b0c0e;
	border: 1px solid #c9ced6;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
	font: 400 14px/1.4 Poppins, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	text-align: left;
}
.icc-a11y-panel[hidden] { display: none !important; }
.icc-a11y-head { display: flex; align-items: center; margin: 0 0 10px; }
.icc-a11y-title { flex: 1; margin: 0; font-size: 15px; font-weight: 600; color: #0b0c0e; }
.icc-a11y-panel button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0 0 6px;
	padding: 9px 12px;
	background: #fff;
	color: #0b0c0e;
	border: 1px solid #c9ced6;
	border-radius: 8px;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.icc-a11y-panel button:hover { background: #f3f5f8; }
.icc-a11y-panel button[aria-pressed="true"] { background: #e6f0ff; border-color: #1d4ed8; color: #0b2a6b; font-weight: 600; }
.icc-a11y-panel .icc-a11y-close { width: auto; margin: 0; padding: 4px 9px; }
.icc-a11y-panel .icc-a11y-reset { margin: 4px 0 0; justify-content: center; }
.icc-a11y-panel svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 600px) {
	.icc-a11y-fab { left: 6px; width: 44px; height: 44px; }
	.icc-a11y-fab svg { width: 26px; height: 26px; }
	.icc-a11y-panel { left: 58px; max-width: calc(100vw - 66px); }
}
@media print { .icc-a11y-fab, .icc-a11y-panel { display: none !important; } }

/* ===== 1.1 · Modos que activa el visitante ===== */

/* Texto más grande: escala el contenido principal (funciona con px y rem) */
html.icc-a11y-big [data-icc-skip-target] { zoom: 1.2; }

/* Alto contraste: negro, blanco y enlaces amarillos (no toca imágenes ni el propio panel) */
html.icc-a11y-hc body,
html.icc-a11y-hc body *:not(svg):not(svg *):not(img):not(video):not(.icc-a11y-fab):not(.icc-a11y-fab *):not(.icc-a11y-panel):not(.icc-a11y-panel *) {
	background-color: #000 !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
html.icc-a11y-hc body a:not(.icc-a11y-panel *),
html.icc-a11y-hc body a:not(.icc-a11y-panel *) * { color: #ffd60a !important; }

/* Subrayar enlaces */
html.icc-a11y-ul body a:not(.icc-a11y-panel *):not(.icc-skip-link) { text-decoration: underline !important; text-underline-offset: 3px; }

/* Fuente legible y más espaciado (sin tocar las fuentes de iconos) */
html.icc-a11y-rd body :where(p, li, a, h1, h2, h3, h4, h5, h6, td, th, label, button, input, textarea, select, summary, dd, dt, blockquote, span:not([class*="icon"]):not([data-icon])):not(.icc-a11y-panel *) {
	font-family: Verdana, Tahoma, Arial, sans-serif !important;
	letter-spacing: .03em !important;
	word-spacing: .08em !important;
	line-height: 1.7 !important;
}

/* Detener animaciones */
html.icc-a11y-na { scroll-behavior: auto !important; }
html.icc-a11y-na *,
html.icc-a11y-na *::before,
html.icc-a11y-na *::after {
	animation-duration: .01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: .01ms !important;
}
