/*
Theme Name: Know How IT
Template: twentytwentyfive
Theme URI: https://knowhowitltd.com
Description: Diseño moderno para Know How IT - empresa de tecnología e IA
Version: 1.0.0
Text Domain: knowhowit-child
*/

/* ── Global ─────────────────────────────── */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* ── Header ─────────────────────────────── */
.site-header {
	background: #0a1628;
}

/* ── Selector de idioma (Polylang) ──────── */
.wp-block-shortcode ul,
.wp-block-shortcode ul.lang-switcher {
	display: flex;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wp-block-shortcode .lang-item a {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	color: #94a3b8 !important;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.25rem 0.5rem;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 4px;
	transition: all 0.15s ease;
}
.wp-block-shortcode .lang-item a img {
	width: 18px;
	height: 12px;
	object-fit: cover;
	border-radius: 2px;
}
.wp-block-shortcode .lang-item a:hover,
.wp-block-shortcode .current-lang a {
	color: #ffffff !important;
	border-color: #06b6d4;
	background: rgba(6,182,212,0.12);
}


/* ── Hero ───────────────────────────────── */
.hero-section {
	background: linear-gradient(135deg, #0a1628 0%, #0f2a50 60%, #0a1628 100%);
	position: relative;
	overflow: hidden;
}
.hero-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
	pointer-events: none;
}

/* ── Cards de servicios ─────────────────── */
.service-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 2rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(6,182,212,0.12);
}
.service-card .service-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	display: block;
}
.service-card.featured {
	border-color: #06b6d4;
	background: linear-gradient(135deg, #f0fdfe 0%, #ecfeff 100%);
}

/* ── Sección IA ─────────────────────────── */
.ai-section {
	background: linear-gradient(135deg, #0a1628 0%, #0f2a50 100%);
}

/* ── Team cards ─────────────────────────── */
.team-card {
	text-align: center;
}
.team-card img {
	border-radius: 50%;
	width: 160px;
	height: 160px;
	object-fit: cover;
	border: 4px solid #06b6d4;
	margin: 0 auto 1rem;
}

/* ── CTA section ─────────────────────────── */
.cta-section {
	background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
}

/* ── Botones ─────────────────────────────── */
.wp-block-button.is-style-primary .wp-block-button__link,
.btn-primary {
	background: #06b6d4;
	color: #ffffff;
	border-radius: 8px;
	padding: 0.875rem 2rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	border: none;
	transition: background 0.2s ease;
}
.wp-block-button.is-style-primary .wp-block-button__link:hover {
	background: #0891b2;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: #06b6d4;
	border: 2px solid #06b6d4;
	border-radius: 8px;
	padding: 0.875rem 2rem;
	font-weight: 600;
}

/* ── Badge IA ───────────────────────────── */
.ai-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(6,182,212,0.15);
	color: #06b6d4;
	border: 1px solid rgba(6,182,212,0.3);
	border-radius: 999px;
	padding: 0.3rem 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

/* ── Separador ──────────────────────────── */
.wp-block-separator.is-style-wide {
	border-color: #e2e8f0;
}

/* ── Navegación ─────────────────────────── */
.wp-block-navigation a {
	color: #e2e8f0 !important;
	font-weight: 500;
}
.wp-block-navigation a:hover {
	color: #06b6d4 !important;
}
.wp-block-site-title a {
	color: #ffffff !important;
}

/* ── Footer ─────────────────────────────── */
.site-footer {
	background: #0a1628;
	color: #94a3b8;
}
.site-footer a {
	color: #94a3b8;
}
.site-footer a:hover {
	color: #06b6d4;
}
