/* =====================================================
   TICOELECTRÓNICA — SISTEMA DE DISEÑO ÉLITE v2026.9
   Compatible: WordPress.com Premium + Tema Hey
   Estado: PRODUCCIÓN FINAL — MODO CLARO FORZADO (sin dark mode)
   ===================================================== */
:root {
}

/* =====================================================
   1. RESET SEGURO + MICRO-OPTIMIZACIONES
   ===================================================== */
*,
::before,
::after {
	box-sizing: border-box;
}

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

button {
	font-family: inherit;
}

.entry-content {
	overflow-wrap: break-word;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
	font-size: var(--font-base);
	line-height: 1.7;
	color: var(--tec-negro);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: var(--tec-fondo);
}

/* Espaciado automático seguro */
.entry-content > * + * {
	margin-top: var(--space-md);
}

/* =====================================================
   2. ENLACES
   ===================================================== */
a {
	color: var(--tec-azul);
	text-underline-offset: .2em;
	transition: var(--transition-base);
}

a:hover {
	opacity: .9;
	color: var(--tec-azul-claro);
}

a:focus-visible {
	outline: 2px solid var(--tec-azul);
	outline-offset: 3px;
	border-radius: var(--radio-sm);
}

:focus-visible {
	outline-offset: 3px;
}

/* =====================================================
   3. HEADER Y NAVEGACIÓN
   ===================================================== */
.site-header,
.wp-block-template-part {
	display: block;
	z-index: 100;
}

.wp-block-navigation {
	display: flex;
	z-index: 101;
}

.wp-block-navigation__responsive-container {
	display: none;
}

.wp-block-navigation__responsive-container.is-menu-open {
	display: block;
}

/* =====================================================
   4. LAYOUT BASE
   ===================================================== */
.entry-content {
	max-width: 68ch;
	margin: 0 auto;
	padding: 0 1rem;
}

.entry-title,
.entry-content h2 {
	color: var(--tec-negro);
}

.entry-content h2::after {
	background: var(--tec-azul);
}

/* =====================================================
   5. HERO (se mantiene oscuro por diseño premium)
   ===================================================== */
.t-hero {
	text-align: center;
	margin-bottom: var(--space-xl);
	padding: var(--space-xl) var(--space-lg);
	background: linear-gradient(135deg, var(--tec-azul), var(--tec-azul-claro), var(--tec-azul-oscuro));
	border-radius: var(--radio-lg);
	color: #fff;
	position: relative;
	overflow: hidden;
}

/* ... resto del hero igual ... */
/* =====================================================
   6. COMPONENTES (siempre claros y legibles)
   ===================================================== */
.t-card,
.t-brand,
.t-entry,
.t-col,
.t-card2,
.wp-block-post,
.t-intro,
.t-faq,
.t-tec-item,
.t-success,
.t-alert {
	background: #fff;
	border: 1px solid #e5e7eb;
}

.t-card:hover,
.t-brand:hover,
.t-entry:hover,
.t-col:hover,
.t-card2:hover,
.wp-block-post:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 15px -3px rgb(20 40 160 / 0.12);
}

/* =====================================================
   7. TUS COMPONENTES (mantengo todo lo tuyo)
   ===================================================== */
.t-intro {
	background: var(--tec-fondo);
	border-left: 4px solid var(--tec-azul);
	padding: var(--space-md) var(--space-lg);
	border-radius: 0 var(--radio-md) var(--radio-md) 0;
}

.t-card {
	background: #fff;
	border-radius: var(--radio-lg);
	padding: var(--space-lg);
	margin: var(--space-lg) 0;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ... el resto de tus clases (.t-step, .t-card2, .t-alert, .t-col, .t-brand, etc.) se mantienen exactamente iguales ... */
.t-cta {
	background: linear-gradient(135deg, var(--tec-azul), var(--tec-azul-claro));
	color: #fff;
}

/* =====================================================
   8. RESPONSIVE, ANIMACIONES Y UTILIDADES (sin cambios)
   ===================================================== */
@media (max-width: 768px) {
	.t-hero h1 {
		font-size: var(--font-xl);
	}
	
	.t-cols2 {
		grid-template-columns: 1fr;
	}
	
	.t-meta {
		flex-direction: column;
		gap: var(--space-xs);
	}
	
	.t-hero-bg1, .t-hero-bg2 {
		display: none;
	}
}

@keyframes hero-float {
	0%, 100% {
		transform: translate(0, 0);
	}
	
	50% {
		transform: translate(20px, -20px);
	}
}

/* Utilidades */
.t-text-center {
	text-align: center;
}

.t-mb-0 {
	margin-bottom: 0 !important;
}

.t-mt-0 {
	margin-top: 0 !important;
}

.t-hidden {
	display: none !important;
}

.t-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}