/* =========================================================
   Seguros COMEDICA - sitio público, tema "vidrio líquido"
   Basado en el tema de la Intranet (css/glass.css de IntranetV2)
   Colores de marca: azul #113664 / amarillo #f6c500
   ========================================================= */

:root {
	--brand-navy: #113664;
	--brand-blue: #2456a6;
	--brand-yellow: #f6c500;

	--bg-base: #eef2f8;
	--blob-1: rgba(36, 86, 166, .30);
	--blob-2: rgba(246, 197, 0, .30);
	--blob-3: rgba(17, 54, 100, .22);

	--glass-bg: rgba(255, 255, 255, .55);
	--glass-bg-strong: rgba(255, 255, 255, .78);
	--glass-solid: rgba(250, 252, 255, .97);
	--glass-border: rgba(255, 255, 255, .70);
	--glass-highlight: rgba(255, 255, 255, .85);
	--glass-shadow: 0 10px 30px rgba(17, 40, 80, .10), 0 2px 6px rgba(17, 40, 80, .06);
	--glass-shadow-hover: 0 18px 40px rgba(17, 40, 80, .18), 0 4px 10px rgba(17, 40, 80, .08);
	--glass-blur: blur(22px) saturate(170%);

	--text-main: #142340;
	--text-muted: #5b6882;
	--line: rgba(17, 54, 100, .10);
	--tint-blue: rgba(36, 86, 166, .10);
	--tint-yellow: rgba(246, 197, 0, .16);
	--icon-bubble: linear-gradient(145deg, #2a63b8, var(--brand-navy));
	--radius-xl: 28px;
	--radius-lg: 22px;
	--radius-md: 16px;
	--nav-h: 72px;
	--focus-ring: #2456a6;
}

[data-theme="dark"] {
	--bg-base: #0a1222;
	--blob-1: rgba(36, 86, 166, .45);
	--blob-2: rgba(246, 197, 0, .14);
	--blob-3: rgba(90, 60, 180, .22);

	--glass-bg: rgba(28, 40, 66, .45);
	--glass-bg-strong: rgba(24, 34, 58, .82);
	--glass-solid: rgba(20, 30, 52, .97);
	--glass-border: rgba(255, 255, 255, .12);
	--glass-highlight: rgba(255, 255, 255, .14);
	--glass-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .25);
	--glass-shadow-hover: 0 18px 44px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .3);

	--text-main: #e8eefa;
	--text-muted: #9aa8c4;
	--line: rgba(255, 255, 255, .10);
	--tint-blue: rgba(90, 140, 230, .14);
	--tint-yellow: rgba(246, 197, 0, .12);
	--icon-bubble: linear-gradient(145deg, #3b78d8, #1a3f78);
	--focus-ring: #8db4f5;
}

/* ---------- Base ---------- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 32px);
}

body {
	font-family: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--text-main);
	background-color: var(--bg-base);
	background-image:
		radial-gradient(40vw 40vw at 8% 12%, var(--blob-1), transparent 70%),
		radial-gradient(38vw 38vw at 92% 18%, var(--blob-2), transparent 70%),
		radial-gradient(45vw 45vw at 70% 95%, var(--blob-3), transparent 70%);
	background-attachment: fixed;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--text-main);
	font-weight: 700;
	letter-spacing: -.3px;
}

a {
	color: var(--brand-blue);
	transition: color .2s ease;
}

a:hover {
	color: var(--brand-navy);
	text-decoration: none;
}

[data-theme="dark"] a {
	color: #8db4f5;
}

[data-theme="dark"] a:hover {
	color: #fff;
}

::selection {
	background: var(--brand-yellow);
	color: var(--brand-navy);
}

/* ---------- Foco de teclado ----------
   Anillo visible en todo lo que recibe foco con teclado (no al hacer clic con el mouse).
   Sobre fotos oscuras (hero) el anillo es blanco. */
:focus-visible {
	outline: 3px solid var(--focus-ring);
	outline-offset: 3px;
}

.hero :focus-visible {
	outline-color: #fff;
}

img {
	max-width: 100%;
	height: auto;
}

.text-muted {
	color: var(--text-muted) !important;
}

/* ---------- Superficie de vidrio reutilizable ---------- */
.glass {
	position: relative;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
}

.glass::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, var(--glass-highlight) 0%, transparent 38%);
	opacity: .35;
	pointer-events: none;
}

.glass > * {
	position: relative;
	z-index: 1;
}

/* El vidrio es solo para la capa funcional: barra de navegación, barra de contacto
   rápido y botones flotantes. Las tarjetas y paneles de contenido (y el pie) usan una
   superficie opaca con la misma forma y sombra.
   :where() mantiene la especificidad baja para que los componentes que traen su propio
   fondo (p. ej. .cta-band) lo conserven. */
:where(#contenido, .site-footer) .glass:where(:not(.quick-bar)) {
	background: var(--glass-solid);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

:where(#contenido, .site-footer) .glass:where(:not(.quick-bar))::before {
	display: none;
}

/* ---------- Borde de desplazamiento ----------
   Franja que desvanece el contenido justo debajo de la barra flotante, para que al
   hacer scroll no choque con ella. */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: calc(var(--nav-h) + 34px);
	background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-base) 45%, transparent 100%);
	opacity: .92;
	pointer-events: none;
	z-index: 1020;
}

/* ---------- Barra de navegación flotante ---------- */
.site-nav {
	position: fixed;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	width: min(1240px, calc(100% - 28px));
	height: var(--nav-h);
	padding: 0 14px 0 20px;
	display: flex;
	align-items: center;
	gap: 18px;
	border-radius: 22px;
	z-index: 1030;
	transition: box-shadow .25s ease, background-color .25s ease;
}

.site-nav.scrolled {
	background: var(--glass-bg-strong);
	box-shadow: var(--glass-shadow-hover), inset 0 1px 0 var(--glass-highlight);
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.brand img {
	height: 38px;
	width: auto;
}

.brand .brand-sep {
	width: 1px;
	height: 30px;
	background: var(--line);
}

/* logos: versión a color en tema claro y versión blanca en tema oscuro (sin recuadro) */
.logo-dark {
	display: none !important;
}

[data-theme="dark"] .logo-light {
	display: none !important;
}

[data-theme="dark"] .logo-dark {
	display: inline-block !important;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.nav-links > li {
	position: relative;
}

.nav-link-g {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 14px;
	border-radius: 12px;
	border: 0;
	background: transparent;
	font-weight: 500;
	font-size: .93rem;
	color: var(--text-main) !important;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .2s ease;
}

.nav-link-g:hover,
.nav-link-g:focus-visible {
	background: var(--tint-blue);
}

/* sección activa: texto en azul y una marca amarilla corta debajo, sin fondo de color,
   para que el único control con color en la barra sea el botón del teléfono */
.nav-link-g {
	position: relative;
}

.nav-link-g.active {
	color: var(--brand-blue) !important;
	font-weight: 600;
}

.nav-link-g.active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 22px;
	height: 3px;
	border-radius: 3px;
	background: var(--brand-yellow);
	transform: translateX(-50%);
}

[data-theme="dark"] .nav-link-g.active {
	color: #fff !important;
}

.nav-link-g .fa-chevron-down {
	font-size: .65rem;
	transition: transform .2s ease;
}

.has-menu:hover .fa-chevron-down,
.has-menu.open .fa-chevron-down {
	transform: rotate(180deg);
}

/* menú desplegable de seguros */
.mega {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	width: 560px;
	padding: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	border-radius: var(--radius-lg);
	/* casi opaco: el desenfoque no funciona dentro de otro elemento con backdrop-filter */
	background: var(--glass-solid);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.mega::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}

.has-menu:hover .mega,
.has-menu.open .mega {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.mega a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 10px;
	border-radius: 12px;
	color: var(--text-main) !important;
	font-size: .9rem;
	font-weight: 500;
	line-height: 1.25;
}

.mega a:hover {
	background: var(--tint-blue);
}

.mega a img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	flex-shrink: 0;
}

.mega .mega-all {
	grid-column: 1 / -1;
	justify-content: center;
	margin-top: 4px;
	border-top: 1px solid var(--line);
	border-radius: 0 0 12px 12px;
	color: var(--brand-blue) !important;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.icon-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--glass-border);
	background: var(--glass-bg);
	color: var(--text-main);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease;
}

.icon-btn:hover {
	transform: rotate(-15deg) scale(1.05);
	background: var(--glass-bg-strong);
}

.nav-toggle {
	display: none;
}

/* ---------- Botones ---------- */
.btn-g {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 46px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: .93rem;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-g:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.btn-g:disabled {
	opacity: .6;
	transform: none;
	cursor: not-allowed;
}

.btn-g.sm {
	height: 38px;
	padding: 0 16px;
	font-size: .85rem;
}

.btn-primary-g {
	background: var(--icon-bubble);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(17, 54, 100, .30), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-primary-g:hover {
	box-shadow: 0 12px 26px rgba(17, 54, 100, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-accent-g {
	background: linear-gradient(145deg, #ffd84a, #e9b400);
	color: var(--brand-navy) !important;
	box-shadow: 0 8px 20px rgba(224, 168, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .45);
}

/* botón secundario dentro del contenido: opaco, sin desenfoque */
.btn-ghost-g {
	background: var(--glass-solid);
	border-color: var(--line);
	color: var(--text-main) !important;
	box-shadow: var(--glass-shadow);
}

.btn-ghost-g:hover {
	background: var(--glass-solid);
	box-shadow: var(--glass-shadow-hover);
}

.btn-white-g {
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .35);
	color: #fff !important;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.btn-white-g:hover {
	background: rgba(255, 255, 255, .26);
}

/* ---------- Estructura general ---------- */
main#app {
	padding-top: calc(var(--nav-h) + 34px);
	min-height: 70vh;
}

.wrap {
	width: min(1240px, calc(100% - 28px));
	margin: 0 auto;
}

.section {
	margin-bottom: 56px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--brand-blue);
	margin-bottom: .5rem;
}

[data-theme="dark"] .eyebrow {
	color: var(--brand-yellow);
}

.hero-content .eyebrow::before {
	content: "";
	width: 18px;
	height: 3px;
	border-radius: 3px;
	background: var(--brand-yellow);
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.section-head h2 {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	margin: 0;
}

.section-head p {
	color: var(--text-muted);
	margin: .35rem 0 0;
	max-width: 620px;
}

/* ---------- Transición entre páginas ---------- */
#contenido {
	transition: opacity .25s ease, transform .25s ease;
}

#contenido.leaving {
	opacity: 0;
	transform: translateY(8px);
}

.loader-bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: linear-gradient(90deg, var(--brand-yellow), var(--brand-blue));
	z-index: 2000;
	transition: width .35s ease, opacity .3s ease;
}

/* ---------- Aparición al hacer scroll ---------- */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
	}

	html {
		scroll-behavior: auto;
	}
}

/* ---------- Portada: hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-xl);
	min-height: 460px;
	display: flex;
	align-items: flex-end;
	box-shadow: var(--glass-shadow-hover);
	isolation: isolate;
}

.hero .swiper-container {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 30, 62, .88) 0%, rgba(10, 30, 62, .62) 42%, rgba(10, 30, 62, .05) 75%),
		linear-gradient(0deg, rgba(10, 30, 62, .55) 0%, transparent 45%);
	pointer-events: none;
}

.hero-content {
	padding: clamp(28px, 5vw, 56px);
	max-width: 640px;
	color: #fff;
}

.hero-content .eyebrow {
	color: var(--brand-yellow);
}

.hero-content h1 {
	color: #fff;
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	line-height: 1.08;
	letter-spacing: -1px;
	margin-bottom: 14px;
}

.hero-content h1 span {
	color: var(--brand-yellow);
}

.hero-content p {
	color: rgba(255, 255, 255, .86);
	font-size: 1.05rem;
	margin-bottom: 24px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero-nav {
	position: absolute;
	right: 22px;
	top: 22px;
	display: flex;
	gap: 8px;
	z-index: 3;
}

.hero-nav button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .14);
	color: #fff;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	cursor: pointer;
	transition: background-color .2s ease;
}

.hero-nav button:hover {
	background: rgba(255, 255, 255, .28);
}

/* barra de contacto rápido bajo el hero */
.quick-bar {
	margin: -38px auto 0;
	width: calc(100% - 48px);
	padding: 14px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	z-index: 4;
}

.quick-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: var(--radius-md);
	color: var(--text-main) !important;
	transition: background-color .2s ease;
}

.quick-item:hover {
	background: var(--glass-bg-strong);
}

.quick-item small {
	display: block;
	font-size: .8125rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .6px;
	line-height: 1.2;
}

.quick-item strong {
	display: block;
	font-size: 1.02rem;
	line-height: 1.3;
}

/* ---------- Burbujas de icono y tarjetas ---------- */
.icon-bubble {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--icon-bubble);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	flex-shrink: 0;
	box-shadow: 0 6px 16px rgba(17, 54, 100, .30), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.icon-bubble.sm {
	width: 42px;
	height: 42px;
	border-radius: 13px;
	font-size: 1.05rem;
}

.icon-bubble.yellow {
	background: linear-gradient(145deg, #ffd84a, #e0a800);
	color: var(--brand-navy);
	box-shadow: 0 6px 16px rgba(224, 168, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.icon-bubble.green {
	background: linear-gradient(145deg, #34d27b, #128c4b);
	box-shadow: 0 6px 16px rgba(18, 140, 75, .30), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.grid {
	display: grid;
	gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .85rem;
	height: 100%;
	padding: 1.5rem;
	color: var(--text-main) !important;
	cursor: pointer;
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}

a.tile:hover,
a.tile:focus-visible,
.tile.link:hover {
	transform: translateY(-4px);
	box-shadow: var(--glass-shadow-hover), inset 0 1px 0 var(--glass-highlight);
}

.tile h3,
.tile h4 {
	font-size: 1.12rem;
	margin: 0;
	line-height: 1.25;
}

.tile p {
	color: var(--text-muted);
	font-size: .9rem;
	margin: 0;
	line-height: 1.5;
}

.tile .more {
	margin-top: auto;
	font-size: .85rem;
	font-weight: 600;
	color: var(--brand-blue);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

[data-theme="dark"] .tile .more {
	color: var(--brand-yellow);
}

.tile .more i {
	transition: transform .2s ease;
}

.tile:hover .more i {
	transform: translateX(4px);
}

/* tarjeta de producto (logos de seguros) */
.product {
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding: 1rem 1.15rem;
}

.product img {
	width: 54px;
	height: 54px;
	object-fit: contain;
	flex-shrink: 0;
	padding: 6px;
	border-radius: 14px;
	background: var(--glass-bg-strong);
	border: 1px solid var(--glass-border);
}

.product h4 {
	font-size: .98rem;
	font-weight: 600;
}

.product .fa-arrow-right {
	margin-left: auto;
	color: var(--text-muted);
	transition: transform .2s ease, color .2s ease;
}

.product:hover .fa-arrow-right {
	transform: translateX(4px);
	color: var(--brand-blue);
}

/* filas de recursos */
.resource {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 1.1rem 1.25rem;
}

.resource > div:not(.icon-bubble) {
	min-width: 0;
}

/* ---------- Formulario de actualización de datos ---------- */
.form-panel {
	padding: clamp(22px, 4vw, 40px);
	overflow: hidden;
}

.form-panel .form-side {
	padding-right: 12px;
}

.form-panel .form-side h2 {
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.form-panel .form-side p {
	color: var(--text-muted);
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 5px 0;
	color: var(--text-main);
	font-size: .92rem;
}

.check-list li i {
	color: #1fa463;
	margin-top: 4px;
}

.field {
	margin-bottom: 16px;
}

.field label,
.field-label {
	display: block;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.input-g,
#contenido .form-control {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border-radius: 14px;
	border: 1px solid var(--glass-border);
	background: var(--glass-bg-strong);
	color: var(--text-main);
	font-size: .95rem;
	outline: none;
	box-shadow: inset 0 1px 2px rgba(17, 40, 80, .06);
	transition: box-shadow .2s ease, border-color .2s ease;
}

textarea.input-g {
	height: auto;
	min-height: 130px;
	padding: 12px 16px;
	resize: vertical;
}

select.input-g {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
	background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}

.input-g:focus,
#contenido .form-control:focus {
	border-color: rgba(36, 86, 166, .5);
	box-shadow: 0 0 0 4px rgba(36, 86, 166, .18);
}

.input-g::placeholder {
	color: var(--text-muted);
	opacity: .7;
}

.input-g.is-valid {
	border-color: #1fa463;
}

.input-g.is-invalid {
	border-color: #d64545;
}

input[type="file"].input-g {
	padding: 10px 12px;
	height: auto;
}

/* interruptor (checkbox) */
.switch-g {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	user-select: none;
	font-weight: 600;
	margin: 6px 0 16px;
}

.switch-g input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.switch-g .track {
	width: 48px;
	height: 28px;
	border-radius: 999px;
	background: var(--line);
	border: 1px solid var(--glass-border);
	position: relative;
	transition: background-color .2s ease;
}

.switch-g .track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	transition: transform .2s ease;
}

.switch-g input:checked + .track {
	background: var(--brand-blue);
}

.switch-g input:checked + .track::after {
	transform: translateX(20px);
}

.switch-g input:focus-visible + .track {
	box-shadow: 0 0 0 4px rgba(36, 86, 166, .25);
}

.contrib-fields {
	display: none;
	padding: 16px 16px 0;
	margin-bottom: 16px;
	border-radius: var(--radius-md);
	background: var(--tint-blue);
	border: 1px dashed rgba(36, 86, 166, .3);
}

.progress-g {
	display: none;
	height: 8px;
	border-radius: 999px;
	background: var(--line);
	overflow: hidden;
	margin-bottom: 8px;
}

.progress-g > span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--brand-yellow), var(--brand-blue));
	transition: width .2s ease;
}

.form-status {
	font-size: .88rem;
	color: var(--text-muted);
	min-height: 1.2em;
}

.notice {
	display: none;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	margin-bottom: 14px;
	font-size: .92rem;
	background: var(--tint-blue);
	border: 1px solid rgba(36, 86, 166, .25);
}

.notice.show {
	display: flex;
}

.notice.ok {
	background: rgba(31, 164, 99, .12);
	border-color: rgba(31, 164, 99, .35);
}

.notice.err {
	background: rgba(214, 69, 69, .12);
	border-color: rgba(214, 69, 69, .35);
}

/* ---------- Quiénes somos / testimonios ---------- */
.about-card {
	padding: 1.75rem;
	height: 100%;
}

.about-card .logo-strip {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 6px 0 16px;
}

.about-card .logo-strip img {
	height: 34px;
	width: auto;
}

.about-card p {
	color: var(--text-muted);
}

.hours {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hours li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: .92rem;
}

.hours li:last-child {
	border-bottom: 0;
}

.hours li span:first-child {
	color: var(--text-muted);
}

.hours li span:last-child {
	font-weight: 600;
	text-align: right;
}

.quote-card {
	padding: 1.75rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.quote-card .carousel {
	flex: 1;
}

.quote-card .fa-quote-left {
	font-size: 1.8rem;
	color: var(--brand-yellow);
}

.quote-card blockquote {
	font-size: .98rem;
	line-height: 1.6;
	margin: 12px 0 18px;
	color: var(--text-main);
}

.quote-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.quote-author img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--glass-border);
}

.quote-author small {
	display: block;
	color: var(--text-muted);
	line-height: 1.2;
}

.dots {
	display: flex;
	gap: 6px;
	margin-top: 16px;
	padding: 0;
	list-style: none;
}

.dots li {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--line);
	cursor: pointer;
	transition: width .25s ease, background-color .25s ease;
}

.dots li.active {
	width: 24px;
	background: var(--brand-blue);
}

/* banda de enlaces SSF */
.cta-band {
	padding: clamp(22px, 4vw, 36px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	background: linear-gradient(120deg, rgba(17, 54, 100, .92), rgba(36, 86, 166, .85));
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .15);
}

.cta-band h3 {
	color: #fff;
	margin: 0 0 4px;
}

.cta-band p {
	margin: 0;
	color: rgba(255, 255, 255, .8);
}

.cta-band .links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
	padding: clamp(22px, 4vw, 34px) clamp(22px, 4vw, 40px);
	margin-bottom: 26px;
	display: flex;
	align-items: center;
	gap: 20px;
	overflow: hidden;
}

.page-hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(246, 197, 0, .35), transparent 70%);
	pointer-events: none;
}

.page-hero .icon-bubble {
	width: 64px;
	height: 64px;
	border-radius: 20px;
	font-size: 1.6rem;
}

.page-hero h1 {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	margin: 2px 0 4px;
}

.page-hero p {
	margin: 0;
	color: var(--text-muted);
}

.crumbs {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: .8rem;
	color: var(--text-muted);
	padding: 0;
	margin: 0;
	list-style: none;
}

.crumbs a {
	color: var(--text-muted);
}

.crumbs li + li::before {
	content: "/";
	margin-right: 8px;
	opacity: .5;
}

/* contenedor de contenido de las páginas internas */
.page-body {
	padding: clamp(18px, 3.5vw, 36px);
	margin-bottom: 56px;
}

.page-body > .container,
.page-body .section > .container,
.page-body section > .container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.page-body section,
.page-body .section {
	margin-bottom: 0;
}

/* ---------- Bloques reutilizables en páginas internas ---------- */
.prose p {
	color: var(--text-main);
}

.prose h2,
.prose h3 {
	font-size: 1.35rem;
	margin: 1.6rem 0 .8rem;
}

.prose h4 {
	font-size: 1.1rem;
	margin: 1.4rem 0 .6rem;
}

.prose > :first-child {
	margin-top: 0;
}

.subcard {
	padding: 1.4rem;
	border-radius: var(--radius-md);
	background: var(--glass-bg-strong);
	border: 1px solid var(--glass-border);
	box-shadow: 0 4px 14px rgba(17, 40, 80, .06);
	height: 100%;
}

.subcard h4,
.subcard h5 {
	font-size: 1.02rem;
	margin: 0 0 6px;
}

.subcard p {
	margin: 0;
	color: var(--text-muted);
	font-size: .92rem;
}

.steps {
	counter-reset: paso;
	list-style: none;
	padding: 0;
	margin: 0;
}

.steps > li {
	counter-increment: paso;
	position: relative;
	padding: 0 0 18px 52px;
}

.steps > li::before {
	content: counter(paso);
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--icon-bubble);
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(17, 54, 100, .25);
}

.steps > li::after {
	content: "";
	position: absolute;
	left: 17px;
	top: 40px;
	bottom: 4px;
	width: 2px;
	background: var(--line);
}

.steps > li:last-child::after {
	display: none;
}

.phone-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 8px;
	border-radius: 999px;
	background: var(--tint-yellow);
	border: 1px solid rgba(246, 197, 0, .45);
	font-weight: 700;
	color: var(--text-main) !important;
}

.phone-chip i {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(145deg, #ffd84a, #e0a800);
	color: var(--brand-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	background: var(--tint-blue);
	color: var(--brand-blue);
}

[data-theme="dark"] .pill {
	color: #9cc0ff;
}

.media-frame {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--glass-shadow);
	border: 1px solid var(--glass-border);
	background: #fff;
}

.media-frame img,
.media-frame video,
.media-frame iframe {
	display: block;
	width: 100%;
	border: 0;
}

/* ---------- Seguros ---------- */
.ins-card {
	display: flex;
	gap: 22px;
	padding: 1.6rem;
	align-items: flex-start;
	scroll-margin-top: calc(var(--nav-h) + 40px);
	transition: box-shadow .4s ease;
}

.ins-card .ins-logo {
	width: 84px;
	height: 84px;
	flex-shrink: 0;
	padding: 10px;
	border-radius: 22px;
	background: var(--glass-bg-strong);
	border: 1px solid var(--glass-border);
	box-shadow: 0 6px 16px rgba(17, 40, 80, .08);
}

.ins-card .ins-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ins-card h3 {
	font-size: 1.2rem;
	margin: 6px 0 8px;
}

.ins-card p {
	color: var(--text-muted);
	font-size: .94rem;
	margin-bottom: 12px;
}

.ins-card.focus {
	box-shadow: 0 0 0 3px var(--brand-yellow), var(--glass-shadow-hover);
}

/* ---------- App ---------- */
.store-badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.store-badges img {
	height: 48px;
	width: auto;
}

/* ---------- Pie de página ---------- */
.site-footer {
	margin-top: 20px;
	padding: 0 0 26px;
}

.footer-card {
	padding: clamp(24px, 4vw, 40px);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 28px;
}

.footer-card h5 {
	font-size: .8125rem;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 14px;
}

.contact-line {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	color: var(--text-main) !important;
}

.contact-line small {
	display: block;
	color: var(--text-muted);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .5px;
	line-height: 1.2;
}

.contact-line strong {
	font-weight: 600;
	line-height: 1.35;
}

a.contact-line:hover strong {
	color: var(--brand-blue);
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	columns: 2;
	column-gap: 16px;
}

.footer-links a {
	display: inline-block;
	padding: 4px 0;
	color: var(--text-main);
	font-size: .92rem;
}

.footer-bottom {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: .82rem;
	color: var(--text-muted);
}

.footer-bottom .brand img {
	height: 30px;
}

/* botón flotante de asistencia */
.fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1020;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fab a {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
	transition: transform .2s ease;
}

.fab a:hover {
	transform: scale(1.08);
}

.fab .wa {
	background: linear-gradient(145deg, #34d27b, #128c4b);
}

.fab .top {
	background: var(--glass-bg-strong);
	color: var(--text-main) !important;
	border: 1px solid var(--glass-border);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .2s ease;
}

.fab .top.show {
	opacity: 1;
	pointer-events: auto;
}

/* =========================================================
   Compatibilidad: componentes Bootstrap usados por las
   páginas de contenido (FAQ, siniestros, talleres, etc.)
   ========================================================= */
#contenido h3 {
	font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

#contenido h4 {
	font-size: 1.15rem;
}

#contenido h5 {
	font-size: 1rem;
}

/* QA: todos los párrafos justificados (la separación silábica evita espacios grandes en columnas angostas) */
#contenido p:not([align="center"]):not([align="right"]):not(.text-center),
.about-card p,
.tile:not(.product) p {
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* direcciones de talleres y bajadas cortas de encabezados: no son párrafos, justificadas dejan huecos */
#contenido .card-columns .card-text,
#contenido .hero-content p,
#contenido .page-hero p,
#contenido .section-head p,
#contenido .cta-band p {
	text-align: left !important;
	-webkit-hyphens: manual !important;
	hyphens: manual !important;
}

#contenido hr,
#contenido .hr-40 {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 1.8rem 0;
}

/* Acordeones */
#contenido .accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 14px;
}

#contenido .accordion > .card,
#contenido .accordion.card {
	background: var(--glass-bg-strong) !important;
	border: 1px solid var(--glass-border) !important;
	border-radius: var(--radius-md) !important;
	box-shadow: 0 4px 14px rgba(17, 40, 80, .06);
	overflow: hidden;
	transition: box-shadow .25s ease;
}

#contenido .accordion > .card:hover,
#contenido .accordion.card:hover {
	box-shadow: var(--glass-shadow);
}

#contenido .accordion .card-header {
	background: transparent;
	border: 0;
	padding: 0;
}

#contenido .accordion .card-header h2 {
	margin: 0;
}

#contenido .accordion .card-header .btn-link {
	position: relative;
	display: block;
	width: 100%;
	padding: 18px 56px 18px 22px;
	color: var(--text-main) !important;
	font-weight: 600;
	font-size: 1rem;
	text-align: left;
	text-decoration: none !important;
	white-space: normal;
	border-radius: 0;
	box-shadow: none !important;
}

#contenido .accordion .card-header .btn-link small,
#contenido .accordion .card-header .btn-link .small {
	display: block;
	font-weight: 400;
	color: var(--text-muted);
	margin-top: 2px;
}

#contenido .accordion .card-header .btn-link::after {
	content: "\f078";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: 18px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .75rem;
	background: var(--tint-blue);
	color: var(--brand-blue);
	transition: transform .25s ease;
}

#contenido .accordion .card-header .btn-link[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

#contenido .accordion .card-header .btn-link:hover {
	background: var(--tint-blue);
}

#contenido .bg-internal,
#contenido .accordion .card-body {
	background: transparent !important;
	color: var(--text-main);
}

#contenido .accordion .collapse > .card-body,
#contenido .accordion .collapsing > .card-body {
	padding: 4px 22px 22px;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

/* acordeones de documentos (Información corporativa) */
#contenido .doc-col .card {
	background: var(--glass-bg-strong);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	margin-bottom: 10px;
	box-shadow: 0 4px 14px rgba(17, 40, 80, .06);
	overflow: hidden;
}

#contenido .doc-col .accordion {
	display: block;
	margin-bottom: 10px;
}

#contenido .doc-col .card > img {
	display: block;
	width: 100%;
	background: #fff;
	padding: 10px;
}

#contenido .doc-col .card-body {
	padding: 14px 18px;
}

#contenido .doc-col .card-body br {
	display: none;
}

#contenido .doc-col .card-title {
	margin: 0;
	font-size: .95rem;
	font-weight: 600;
}

#contenido .doc-col .card-link {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-main) !important;
}

#contenido .doc-col .card-link:hover {
	color: var(--brand-blue) !important;
}

#contenido .doc-col .card-link .fa-file-pdf-o,
#contenido .doc-col .card-link .fa-file-pdf {
	color: #d64545;
}

#contenido .doc-col [data-toggle="collapse"] {
	cursor: pointer;
	position: relative;
	padding-right: 48px;
}

#contenido .doc-col [data-toggle="collapse"]:hover {
	background: var(--tint-blue);
}

#contenido .doc-col [data-toggle="collapse"]::after {
	content: "\f078";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: .72rem;
	color: var(--text-muted);
	transition: transform .25s ease;
}

#contenido .doc-col [data-toggle="collapse"][aria-expanded="true"]::after {
	transform: translateY(-50%) rotate(180deg);
}

#contenido .doc-col [data-toggle="collapse"] .card-title a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-main);
}

#contenido .doc-col .collapse hr,
#contenido .doc-col .collapsing hr {
	display: none;
}

#contenido .doc-col .collapse .card-body,
#contenido .doc-col .collapsing .card-body {
	padding: 8px 18px 8px 34px;
	border-top: 1px solid var(--line);
}

#contenido .doc-col .collapse .card-link,
#contenido .doc-col .collapsing .card-link {
	color: var(--text-muted) !important;
	font-weight: 500;
	font-size: .9rem;
}

/* Tarjetas tipo "card-columns" (talleres, agencias) */
#contenido .card-columns {
	column-count: 3;
	column-gap: 14px;
}

#contenido .card-columns .card,
#contenido .card.bg-light {
	background: var(--glass-bg-strong) !important;
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	box-shadow: 0 4px 14px rgba(17, 40, 80, .06);
	overflow: hidden;
	margin-bottom: 14px;
	transition: transform .2s ease, box-shadow .2s ease;
}

#contenido .card-columns .card:hover {
	transform: translateY(-3px);
	box-shadow: var(--glass-shadow);
}

#contenido .card-columns .card-header {
	order: 3;
	background: transparent;
	border: 0;
	border-top: 1px solid var(--line);
	padding: 10px 18px;
	font-size: .85rem;
	font-weight: 600;
}

#contenido .card-columns .card {
	display: flex;
	flex-direction: column;
}

#contenido .card-columns .card-body {
	order: 1;
	padding: 16px 18px 12px;
}

#contenido .card-columns .card-footer {
	order: 2;
	background: transparent;
	border: 0;
	padding: 0 18px 12px;
}

#contenido .card-columns .card-title {
	font-size: .98rem;
	font-weight: 700;
	margin-bottom: 6px;
}

#contenido .card-columns .card-text {
	font-size: .86rem;
	color: var(--text-muted);
	line-height: 1.5;
	margin: 0;
}

#contenido .card-columns .card-header .fa {
	color: #d64545;
}

/* tarjetas de valores, etc. */
#contenido .card-group {
	gap: 14px;
	margin-bottom: 14px;
	width: 100%;
}

#contenido .card-group > .card,
#contenido .card.bg-gray-100 {
	background: var(--glass-bg-strong) !important;
	border: 1px solid var(--glass-border) !important;
	border-radius: var(--radius-md) !important;
	box-shadow: 0 4px 14px rgba(17, 40, 80, .06);
}

#contenido .card-group > .card .fa-info {
	display: none;
}

#contenido .card-group .card-title {
	font-size: 1.05rem;
	font-weight: 700;
}

#contenido .card-group .card-title::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	margin: 10px auto 0;
	background: var(--brand-yellow);
}

#contenido .card-group .card-text {
	color: var(--text-muted);
	font-size: .9rem;
}

/* Alertas usadas como títulos de sección */
#contenido .alert {
	border-radius: 14px;
	border: 1px solid transparent;
	font-weight: 700;
	letter-spacing: .4px;
	padding: 12px 18px;
}

#contenido .alert-warning {
	background: var(--tint-yellow);
	border-color: rgba(246, 197, 0, .45);
	color: var(--text-main);
}

#contenido .alert-warning .lead {
	margin: 0;
	font-weight: 700;
}

#contenido .alert-primary {
	background: var(--icon-bubble) !important;
	color: #fff;
	border: 0;
}

#contenido .alert-primary h3 {
	color: #fff !important;
	margin: 0;
	font-size: 1.25rem;
}

/* Tablas */
#contenido .table {
	color: var(--text-main);
	background: var(--glass-bg-strong);
	border-radius: var(--radius-md);
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--glass-border);
	font-size: .9rem;
}

#contenido .table th {
	background: var(--tint-blue);
	color: var(--text-main);
	font-size: .8125rem;
	letter-spacing: .5px;
	text-transform: uppercase;
	border: 0;
	vertical-align: middle;
}

#contenido .table td {
	border-top: 1px solid var(--line);
	border-left: 0;
	border-right: 0;
	vertical-align: middle;
}

#contenido .table-bordered,
#contenido .table-bordered td,
#contenido .table-bordered th {
	border-left: 0;
	border-right: 0;
}

#contenido .table-striped tbody tr:nth-of-type(odd) {
	background: rgba(17, 54, 100, .03);
}

[data-theme="dark"] #contenido .table-striped tbody tr:nth-of-type(odd) {
	background: rgba(255, 255, 255, .03);
}

#contenido .table tbody tr:hover {
	background: var(--tint-blue);
}

/* Listas */
#contenido .list-marked,
#contenido .list-marked-1 {
	list-style: none;
	padding-left: 0;
}

#contenido .list-marked > li,
#contenido .list-marked-1 > li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 8px;
}

#contenido .list-marked > li::before,
#contenido .list-marked-1 > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .62em;
	width: 8px;
	height: 8px;
	border-radius: 3px;
	background: var(--brand-yellow);
	box-shadow: 0 0 0 3px var(--tint-yellow);
}

#contenido ol.list-marked {
	counter-reset: om;
}

#contenido .list-ordered {
	counter-reset: lo;
	list-style: none;
	padding-left: 0;
}

#contenido .list-ordered > li {
	counter-increment: lo;
	position: relative;
	padding-left: 40px;
	margin-bottom: 12px;
	min-height: 28px;
}

#contenido .list-ordered > li::before {
	content: counter(lo);
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	border-radius: 9px;
	background: var(--icon-bubble);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Resaltados y teclas */
#contenido .mark,
#contenido mark {
	display: block;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--tint-yellow);
	border-left: 4px solid var(--brand-yellow);
	color: var(--text-main);
}

#contenido kbd {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--icon-bubble);
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	box-shadow: none;
}

#contenido .media img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

#contenido .img-thumbnail,
#contenido .img-responsive,
#contenido .img-thumnail {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	border: 1px solid var(--glass-border);
	background: transparent;
	padding: 0;
}

#contenido video {
	width: 100%;
	border-radius: var(--radius-lg);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
	.nav-links .nav-link-g {
		padding: 0 10px;
	}

	.nav-actions .btn-g .lbl {
		display: none;
	}

	.nav-actions .btn-g {
		width: 42px;
		padding: 0;
	}
}

@media (max-width: 991.98px) {
	:root {
		--nav-h: 64px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav-links {
		position: fixed;
		top: calc(var(--nav-h) + 24px);
		left: 14px;
		right: 14px;
		max-height: calc(100vh - var(--nav-h) - 40px);
		overflow-y: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 10px;
		border-radius: var(--radius-lg);
		background: var(--glass-solid);
		border: 1px solid var(--glass-border);
		box-shadow: var(--glass-shadow-hover);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}

	.site-nav.menu-open .nav-links {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-link-g {
		width: 100%;
		justify-content: space-between;
		height: 48px;
	}

	/* en el menú vertical la marca de sección activa va a la izquierda */
	.nav-link-g.active::after {
		left: 4px;
		top: 12px;
		bottom: 12px;
		width: 3px;
		height: auto;
		transform: none;
	}

	.mega {
		position: static;
		width: auto;
		grid-template-columns: 1fr;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: transparent;
		border: 0;
		padding: 0 0 6px 8px;
	}

	.has-menu:hover .mega {
		transform: none;
	}

	.has-menu.open .mega {
		display: grid;
		transform: none;
	}

	.nav-actions {
		margin-left: auto;
	}

	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }

	.quick-bar {
		grid-template-columns: repeat(2, 1fr);
	}

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

	#contenido .card-columns {
		column-count: 2;
	}
}

@media (max-width: 767.98px) {
	.hero {
		min-height: 520px;
	}

	.hero::after {
		background: linear-gradient(0deg, rgba(10, 30, 62, .92) 0%, rgba(10, 30, 62, .6) 60%, rgba(10, 30, 62, .2) 100%);
	}

	.quick-bar {
		width: calc(100% - 20px);
	}

	.grid-2,
	.grid-3 { grid-template-columns: 1fr; }

	.page-hero {
		flex-direction: column;
		align-items: flex-start;
	}

	.ins-card {
		flex-direction: column;
	}

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

	#contenido .card-columns {
		column-count: 1;
	}

	#contenido .card-group {
		flex-direction: column;
	}

	#contenido .table-responsive-auto {
		overflow-x: auto;
	}
}

@media (max-width: 519.98px) {
	.grid-4 { grid-template-columns: 1fr; }

	.quick-bar {
		grid-template-columns: 1fr;
		margin-top: -24px;
	}

	.brand img {
		height: 32px;
	}

	.nav-actions .call-btn {
		display: none;
	}
}

/* ---------- Ajustes de páginas de contenido ---------- */
div.tile {
	cursor: default;
}

#page-body > .container > br:first-child,
#page-body > section:first-child > .container > br:first-child {
	display: none;
}

#contenido .page-body section > .container + .container {
	margin-top: 2.2rem;
}

#contenido .page-body .alert[style] {
	padding: 12px 18px !important;
}

/* rótulos de compañía (SEGUROS COMEDICA / COMEDICA VIDA) */
#contenido .page-body h4.h4.text-center {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--brand-blue);
	margin: 6px 0 14px;
}

[data-theme="dark"] #contenido .page-body h4.h4.text-center {
	color: var(--brand-yellow);
}

#contenido .page-body h4.h4.text-center::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

#contenido .page-body canvas {
	max-width: 260px;
	margin: 0 auto;
}

[data-theme="dark"] #page-body > .container > p > img[src*="comedicar"] {
	filter: brightness(0) invert(1);
}

/* las filas de Bootstrap (márgenes negativos) no deben generar scroll horizontal en móvil */
html,
body {
	overflow-x: clip;
}

/* ---------- Logos: COMEDICA Vida a la izquierda, Seguros COMEDICA a la derecha (política de marca) ---------- */
.site-nav .brand-right {
	padding-left: 14px;
	border-left: 1px solid var(--line);
}

.footer-bottom .brand-right {
	margin-left: auto;
}

/* los horarios no deben partirse en dos líneas (m.d. / p.m.) */
.hours li span:last-child {
	white-space: nowrap;
}

@media (max-width: 1199.98px) {
	.site-nav .brand img {
		height: 32px;
	}
}

@media (max-width: 991.98px) {
	.site-nav .brand-right {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 519.98px) {
	.site-nav {
		gap: 8px;
		padding: 0 10px;
	}

	.site-nav .brand img {
		height: 24px;
	}

	.site-nav .icon-btn {
		width: 36px;
		height: 36px;
	}

	.footer-bottom {
		justify-content: center;
		text-align: center;
	}
}

/* ---------- Portada: 5 seguros en una fila ---------- */
.grid-5 {
	grid-template-columns: repeat(5, 1fr);
}

.grid-5 .product {
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 1.4rem 1rem;
}

.grid-5 .product img {
	width: 64px;
	height: 64px;
}

.grid-5 .product .fa-arrow-right {
	margin: 0;
}

@media (max-width: 991.98px) {
	.grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
	.grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Siniestros ---------- */
#contenido .list-ordered > small {
	display: block;
	margin: -4px 0 14px 40px;
	line-height: 1.5;
}

#contenido .list-ordered > br {
	display: none;
}

.contact-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

/* ---------- Comités: pestañas y miembros ---------- */
.seg-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 6px;
	margin: 0 0 26px;
	border-radius: 18px;
	background: var(--tint-blue);
	list-style: none;
}

.seg-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 13px;
	font-weight: 600;
	font-size: .9rem;
	color: var(--text-main) !important;
	transition: background-color .2s ease;
}

.seg-tabs a:hover {
	background: var(--glass-bg-strong);
}

.seg-tabs a.active {
	background: var(--icon-bubble);
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(17, 54, 100, .30);
}

.comite-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

#contenido .comite-head h3 {
	margin: 0 0 6px;
}

.comite-obj {
	padding: 14px 18px;
	margin-bottom: 24px;
	border-radius: 14px;
	background: var(--tint-blue);
	border-left: 4px solid var(--brand-blue);
}

#contenido .comite-sub {
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 14px;
}

#contenido .list-marked ol {
	padding-left: 22px;
	margin-bottom: 0;
}

#contenido .list-marked ol li {
	margin-bottom: 6px;
}

.members {
	list-style: none;
	padding: 0;
	margin: 0;
}

.members li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
	font-weight: 500;
	line-height: 1.35;
}

.members li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.members .m-ico {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tint-blue);
	color: var(--brand-blue);
	font-size: .85rem;
}

[data-theme="dark"] .members .m-ico {
	color: #9cc0ff;
}

.members .role {
	margin-left: auto;
	flex-shrink: 0;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.members .role.preside {
	background: linear-gradient(145deg, #ffd84a, #e0a800);
	color: var(--brand-navy);
}

.members .role.secretario {
	background: var(--icon-bubble);
	color: #fff;
}

/* ---------- Organigrama interactivo ---------- */
.org-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
}

.org-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: .85rem;
	color: var(--text-muted);
}

.org-legend span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.org-legend .lg {
	width: 22px;
	height: 14px;
	border-radius: 4px;
	display: inline-block;
}

.lg-dir { background: var(--icon-bubble); }
.lg-unit { background: var(--glass-bg-strong); border: 1px solid rgba(17, 54, 100, .25); }
.lg-com { background: var(--tint-yellow); border: 1.5px dashed rgba(224, 168, 0, .8); }

.org {
	--org-line: rgba(17, 54, 100, .35);
	--mid-w: 240px;
	position: relative;
}

[data-theme="dark"] .org {
	--org-line: rgba(255, 255, 255, .28);
}

.org-row {
	display: grid;
	grid-template-columns: 1fr var(--mid-w) 1fr;
	align-items: center;
	min-height: 66px;
}

.org-row.last {
	min-height: 28px;
}

.org-mid {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7px 0;
}

.org-mid::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	margin-left: -1px;
	background: var(--org-line);
}

.org-mid.first::before {
	top: 50%;
}

.org-mid .org-node {
	position: relative;
	z-index: 2;
	width: 100%;
}

.org-side {
	display: flex;
	align-items: center;
	padding: 7px 0;
	transition: opacity .25s ease;
}

.org-side .org-node {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}

.org-line {
	flex: 1;
	position: relative;
	z-index: 1;
	min-width: 20px;
	border-top: 2px solid var(--org-line);
	transition: opacity .25s ease;
}

.org-line.dashed {
	border-top-style: dashed;
}

.org-side.left .org-line {
	margin-right: calc(var(--mid-w) / -2);
}

.org-side.right .org-line {
	margin-left: calc(var(--mid-w) / -2);
}

.org-node {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 230px;
	max-width: 100%;
	min-height: 54px;
	padding: 10px 14px;
	border-radius: 14px;
	border: 1px solid transparent;
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .3px;
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.org-node.dir {
	background: var(--icon-bubble);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(17, 54, 100, .30), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.org-node.unit {
	background: var(--glass-bg-strong);
	border-color: var(--glass-border);
	color: var(--text-main);
	box-shadow: 0 4px 14px rgba(17, 40, 80, .08);
}

.org-node.com {
	background: var(--tint-yellow);
	border: 1.5px dashed rgba(224, 168, 0, .8);
	color: var(--text-main) !important;
}

a.org-node.com:hover {
	background: linear-gradient(145deg, #ffd84a, #e0a800);
	color: var(--brand-navy) !important;
}

a.org-node.com .fa-arrow-right {
	font-size: .7rem;
}

button.org-node {
	cursor: pointer;
	width: 100%;
}

button.org-node:focus {
	outline: none;
}

button.org-node:focus-visible {
	box-shadow: 0 0 0 3px var(--brand-yellow);
}

.org.enfocado .org-node {
	opacity: .4;
}

.org.enfocado .org-node:hover,
.org.enfocado .org-node.ruta,
.org.enfocado .org-branch.activa .org-node {
	opacity: 1;
}

.org-node:hover,
.org-node.ruta {
	transform: translateY(-2px);
	box-shadow: 0 0 0 3px var(--brand-yellow), var(--glass-shadow-hover);
}

.org.sin-comites .comite,
.org.sin-comites .ext,
.org.sin-comites .ext + .org-line {
	opacity: 0;
	pointer-events: none;
}

/* gerencias */
.org-children {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding-top: 28px;
}

.org-children::before {
	content: "";
	position: absolute;
	top: 0;
	left: 12.5%;
	right: 12.5%;
	border-top: 2px solid var(--org-line);
}

.org-branch {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.org-branch::before {
	content: "";
	position: absolute;
	top: -28px;
	left: 50%;
	height: 28px;
	margin-left: -1px;
	border-left: 2px solid var(--org-line);
}

.org-branch > .org-node {
	width: 100%;
}

.org-leaves {
	list-style: none;
	width: calc(100% - 22px);
	margin: 0 0 0 22px;
	padding: 6px 0 0 18px;
	position: relative;
}

.org-leaves li {
	position: relative;
	padding: 6px 0;
}

/* conector vertical hasta la mitad del último elemento + rama horizontal */
.org-leaves li::before {
	content: "";
	position: absolute;
	left: -20px;
	top: -6px;
	height: calc(50% + 6px);
	width: 18px;
	border-left: 2px solid var(--org-line);
	border-bottom: 2px solid var(--org-line);
}

.org-leaves li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: -20px;
	top: 50%;
	bottom: 0;
	border-left: 2px solid var(--org-line);
}

.org-leaves .org-node {
	width: 100%;
	min-height: 46px;
}

@media (max-width: 1199.98px) {
	.org { --mid-w: 210px; }
	.org-node { width: 200px; font-size: .74rem; }
}

@media (max-width: 991.98px) {
	.org-node { width: 170px; padding: 8px 10px; }
	.org-children { gap: 10px; }
}

@media (max-width: 767.98px) {
	.org-row {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}

	.org-row.last,
	.org-mid:empty,
	.org-side:empty,
	.org-line,
	.org-mid::before,
	.org-children::before,
	.org-branch::before {
		display: none;
	}

	.org-mid {
		padding: 14px 0 6px;
	}

	.org-side {
		padding: 4px 0 4px 18px;
		margin-left: 10px;
		border-left: 2px solid var(--org-line);
	}

	.org-node,
	.org-side .org-node {
		width: 100%;
		flex-shrink: 1;
	}

	.org-children {
		grid-template-columns: 1fr;
		padding-top: 14px;
	}

	.org.sin-comites .comite,
	.org.sin-comites .org-side.left:has(.ext) {
		display: none;
	}
}

/* ---------- Preferencias de accesibilidad del sistema ----------
   Reducir transparencia: superficies opacas y sin desenfoque.
   Aumentar contraste: además, bordes marcados y texto secundario más oscuro. */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
	:root,
	[data-theme="dark"] {
		--glass-bg: var(--glass-solid);
		--glass-bg-strong: var(--glass-solid);
	}

	*,
	*::before,
	*::after {
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
	}

	.glass::before {
		display: none;
	}

	/* botones que flotan sobre las fotos del hero */
	.btn-white-g,
	.hero-nav button {
		background: rgba(17, 54, 100, .88);
		border-color: rgba(255, 255, 255, .6);
	}

	.btn-white-g:hover,
	.hero-nav button:hover {
		background: var(--brand-navy);
	}
}

@media (prefers-contrast: more) {
	:root {
		--text-muted: #3f4a60;
		--glass-border: rgba(17, 54, 100, .45);
		--line: rgba(17, 54, 100, .30);
	}

	[data-theme="dark"] {
		--text-muted: #c6d0e3;
		--glass-border: rgba(255, 255, 255, .45);
		--line: rgba(255, 255, 255, .30);
	}

	:focus-visible {
		outline-width: 4px;
	}
}

/* =========================================================
   Observaciones comerciales (nov 2026)
   ========================================================= */

/* ---------- Botón de asistencia en la barra ---------- */
.nav-actions .call-btn {
	height: 44px;
	padding: 0 16px 0 14px;
}

.call-btn .lbl {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	font-size: 1rem;
	font-weight: 800;
	text-align: left;
	font-variant-numeric: tabular-nums;
}

.call-btn .lbl small {
	font-size: .6rem;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	opacity: .85;
}

/* entre 992 y 1199 px solo cabe el icono (regla existente); con el menú colapsado el número vuelve a verse */
@media (max-width: 1199.98px) {
	.nav-actions .btn-g.call-btn {
		width: 44px;
		padding: 0;
	}
}

@media (min-width: 520px) and (max-width: 991.98px) {
	.nav-actions .btn-g.call-btn {
		width: auto;
		padding: 0 14px 0 12px;
	}

	.nav-actions .call-btn .lbl {
		display: flex;
	}
}

/* ---------- Hero: rótulo del seguro de la imagen actual ---------- */
.slide-tag {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px 6px 6px;
	border-radius: 999px;
	background: rgba(10, 30, 62, .55);
	border: 1px solid rgba(255, 255, 255, .35);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #fff !important;
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .2px;
	text-decoration: none !important;
	transition: opacity .25s ease, transform .25s ease, background-color .2s ease;
}

.slide-tag:hover {
	background: rgba(10, 30, 62, .78);
}

.slide-tag img {
	width: 30px;
	height: 30px;
	padding: 4px;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
}

.slide-tag.swap {
	opacity: 0;
	transform: translateY(-4px);
}

@media (max-width: 991.98px) {
	/* deja espacio al rótulo y a los controles del carrusel */
	.hero-content {
		padding-top: 84px;
	}
}

@media (max-width: 519.98px) {
	.slide-tag {
		top: 14px;
		left: 14px;
		font-size: .8rem;
		padding: 5px 12px 5px 5px;
	}

	.slide-tag img {
		width: 24px;
		height: 24px;
		padding: 3px;
	}

	.hero-nav {
		top: 14px;
		right: 14px;
		gap: 6px;
	}

	.hero-nav button {
		width: 38px;
		height: 38px;
	}
}

/* ---------- Barra rápida: asistencia, PBX, WhatsApp y correo ---------- */
.quick-item.static {
	cursor: default;
}

.quick-item.static:hover {
	background: transparent;
}

.quick-item.static strong {
	overflow-wrap: anywhere;
}

/* el correo es el texto más largo: su columna es más ancha para que no se corte */
@media (min-width: 992px) {
	.quick-bar {
		grid-template-columns: 1fr 1fr 1fr 1.4fr;
	}

	.quick-item.static strong {
		overflow-wrap: normal;
		white-space: nowrap;
	}
}

@media (max-width: 519.98px) {
	.quick-bar {
		grid-template-columns: 1fr;
	}
}

/* ---------- Pie: asistencia destacada ---------- */
.contact-line.sos-line {
	margin: 4px 0 8px;
	padding: 10px 12px;
	border-radius: var(--radius-md);
	background: var(--tint-yellow);
	border: 1px solid rgba(246, 197, 0, .45);
}

.contact-line.sos-line strong {
	font-size: 1.3rem;
	font-weight: 800;
}

/* ---------- Barra flotante de asistencia ---------- */
.sos-bar {
	display: none;
}

@media (max-width: 767.98px) {
	.sos-bar {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		z-index: 1030;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 9px 9px 9px 10px;
		border-radius: 18px;
		background: linear-gradient(150deg, #ffe066 0%, #f6c500 60%, #e9b400 100%);
		color: var(--brand-navy) !important;
		text-decoration: none !important;
		box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
		transition: transform .3s ease, opacity .3s ease;
	}

	body.sos-en-pantalla .sos-bar {
		transform: translateY(140%);
		opacity: 0;
		pointer-events: none;
	}

	body {
		padding-bottom: 84px;
	}

	.fab {
		bottom: calc(92px + env(safe-area-inset-bottom, 0px));
	}
}

/* escritorio: entra deslizándose desde la derecha y queda flotando junto al botón de WhatsApp */
@media (min-width: 768px) {
	.sos-bar {
		position: fixed;
		right: 90px;
		bottom: 17px;
		z-index: 1030;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 9px 9px 9px 10px;
		border-radius: 18px;
		background: linear-gradient(150deg, #ffe066 0%, #f6c500 60%, #e9b400 100%);
		color: var(--brand-navy) !important;
		text-decoration: none !important;
		box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
		transition: transform .45s cubic-bezier(.22, 1.25, .36, 1), opacity .3s ease, box-shadow .2s ease;
	}

	.sos-bar:hover {
		box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
	}

	body.sos-en-pantalla .sos-bar {
		transform: translateX(calc(100% + 110px));
		opacity: 0;
		pointer-events: none;
		transition: transform .35s ease-in, opacity .25s ease;
	}
}

.sos-bar-icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--brand-navy);
	color: var(--brand-yellow);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

.sos-bar-txt {
	min-width: 0;
	line-height: 1.15;
}

.sos-bar-txt small {
	display: block;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	opacity: .85;
}

.sos-bar-txt strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.sos-bar-go {
	margin-left: auto;
	flex-shrink: 0;
	padding: 9px 14px;
	border-radius: 12px;
	background: var(--brand-navy);
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
}

@media (max-width: 359.98px) {
	.sos-bar-go {
		display: none;
	}
}

/* ---------- Comercial flotante ---------- */
.promo-video {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 1025;
	width: 220px;
	aspect-ratio: 9 / 16;
	border-radius: 20px;
	overflow: hidden;
	background: #000;
	border: 2px solid rgba(255, 255, 255, .75);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
	opacity: 0;
	transform: translateY(20px) scale(.96);
	transition: opacity .3s ease, transform .3s ease;
}

.promo-video.show {
	opacity: 1;
	transform: none;
}

.promo-video[hidden] {
	display: none;
}

.promo-video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}

.pv-btn {
	position: absolute;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .5);
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: .9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background-color .2s ease;
}

/* área de toque más amplia que el botón visible */
.pv-btn::before {
	content: "";
	position: absolute;
	inset: -6px;
}

.pv-btn:hover {
	background: rgba(0, 0, 0, .8);
}

.pv-btn:focus-visible {
	outline: 3px solid var(--brand-yellow);
	outline-offset: 2px;
}

.pv-close { top: 8px; right: 8px; }
.pv-sound { bottom: 8px; right: 8px; }
.pv-play { bottom: 8px; left: 8px; }

.pv-sound.on {
	background: var(--brand-yellow);
	border-color: var(--brand-yellow);
	color: var(--brand-navy);
}

@media (min-width: 1400px) {
	.promo-video {
		width: 250px;
	}
}

@media (max-width: 767.98px) {
	.promo-video {
		left: 10px;
		bottom: calc(92px + env(safe-area-inset-bottom, 0px));
		width: 132px;
		border-radius: 14px;
	}

	.pv-btn {
		width: 30px;
		height: 30px;
		font-size: .8rem;
	}

	.pv-close { top: 6px; right: 6px; }
	.pv-sound { bottom: 6px; right: 6px; }
	.pv-play { bottom: 6px; left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
	.slide-tag,
	.promo-video,
	.sos-bar {
		transition: none;
	}
}

/* =========================================================
   Observaciones de QA (nov 2026)
   ========================================================= */

/* el comercial no debe tapar el contenido en pantallas de poca altura */
.promo-video {
	width: auto;
	height: min(390px, 46vh);
}

@media (min-width: 1400px) {
	.promo-video {
		width: auto;
		height: min(440px, 48vh);
	}
}

@media (max-width: 767.98px) {
	.promo-video {
		width: auto;
		height: min(235px, 34vh);
	}
}

/* Información corporativa: título de sección y títulos de bloque */
#contenido .section-title {
	position: relative;
	font-size: clamp(1.6rem, 2.6vw, 2rem);
	font-weight: 800;
	letter-spacing: -.5px;
	color: var(--text-main);
	margin: 0 0 22px;
	padding-bottom: 12px;
}

#contenido .section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 4px;
	border-radius: 4px;
	background: var(--brand-yellow);
}

#contenido .block-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 14px;
}

/* Junta directiva / alta gerencia: un solo renglón de separación entre personas */
#contenido .team-list strong {
	display: block;
	margin-bottom: 4px;
	color: var(--text-main);
}

#contenido .team-list p {
	margin-bottom: 1.5em;
}

#contenido .team-list p:last-child {
	margin-bottom: 0;
}

/* Siniestros: subtítulos (Persona natural / jurídica) distintos de las notas */
#contenido .doc-subtitle {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 26px 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--line);
	font-size: 1.08rem;
	font-weight: 800;
	color: var(--brand-navy);
}

#contenido .doc-subtitle i,
#contenido .zona-title i {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--icon-bubble);
	color: #fff;
	font-size: .85rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Talleres: la zona es el título principal; los centros de estimación, un subtítulo discreto */
#contenido .zona-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 34px 0 16px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--brand-yellow);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: .3px;
	color: var(--brand-navy);
}

#contenido .card-body > .zona-title:first-child {
	margin-top: 4px;
}

#contenido .zona-sub {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 14px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--tint-blue);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .4px;
	color: var(--brand-blue);
}

[data-theme="dark"] #contenido .doc-subtitle,
[data-theme="dark"] #contenido .zona-title {
	color: #fff;
}

[data-theme="dark"] #contenido .zona-sub {
	color: #b7cff7;
}

/* Preguntas frecuentes / siniestros: las notas dentro de un paso se alinean con las demás notas */
#contenido .list-ordered > li > .mark {
	margin: 10px 0 4px -40px;
}
