/* =========================================================================
   Tecanegocios — capa de diseño 2026
   Se carga DESPUÉS del CSS de la plantilla. Los selectores con "body" ganan
   en especificidad a los <style> en línea que traen las páginas.
   ========================================================================= */
:root {
	--tn-navy-950: #070c1f;
	--tn-navy-900: #0b1229;
	--tn-navy-800: #121c3f;
	--tn-navy-700: #1b2a5a;
	--tn-blue: #4169e1;
	--tn-blue-hover: #2f55d4;
	--tn-cyan: #22d3ee;
	--tn-ink: #0f172a;
	--tn-text: #334155;
	--tn-muted: #64748b;
	--tn-on-dark: #e8edff;
	--tn-on-dark-muted: #aab6dc;
	--tn-line: #e3e8f2;
	--tn-surface: #f5f7fc;
	--tn-radius: 16px;
	--tn-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--tn-shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 40px rgba(15, 23, 42, .12);
}

/* ---------- Base ---------- */
body { color: var(--tn-text); background: #fff; -webkit-font-smoothing: antialiased; }
body h1, body h2, body h3, body h4, body h5 { color: var(--tn-ink); letter-spacing: -.01em; }
body h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; font-weight: 700; }
body p { color: var(--tn-text); line-height: 1.7; }
body a:focus-visible, body button:focus-visible, body summary:focus-visible {
	outline: 2px solid var(--tn-cyan) !important; outline-offset: 3px;
}
body .section-padding { padding-top: 96px; padding-bottom: 96px; }

/* Etiquetas sobre los títulos */
body .section-title h6, body .about-content h6, body .skill-content h6 {
	color: var(--tn-blue); font-size: 13px; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; margin-bottom: 12px;
}
body .section-title h2 { margin-bottom: 0; }

/* ---------- Botones ---------- */
body .default-btn, body .default-btn-one, .tn-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--tn-blue); color: #fff; border: 0; border-radius: 12px;
	padding: 14px 26px; font-size: 16px; font-weight: 600; line-height: 1.2;
	box-shadow: 0 6px 18px rgba(65, 105, 225, .28);
	transition: background .2s, transform .2s, box-shadow .2s;
}
body .default-btn span, body .default-btn-one span { display: none; }
body .default-btn:hover, body .default-btn:focus, body .default-btn-one:hover, body .default-btn-one:focus, .tn-btn:hover {
	background: var(--tn-blue-hover); color: #fff; transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(65, 105, 225, .36);
}
.tn-btn--ghost {
	background: transparent; color: var(--tn-on-dark); box-shadow: inset 0 0 0 1.5px rgba(232, 237, 255, .35);
}
.tn-btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(232, 237, 255, .6); }

/* ---------- Navegación ---------- */
body .navbar-area, body .navbar-area.is-sticky {
	background: rgba(11, 18, 41, .86) !important;
	-webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	box-shadow: none; animation: none;
}
body .techit-nav, body .index-navber, body .techit-nav.index-navber { background: transparent !important; padding-top: 10px; padding-bottom: 10px; }
body .techit-nav .navbar .navbar-nav .nav-item a,
body .techit-nav.index-navber .navbar .navbar-nav .nav-item a,
body .navbar-area.is-sticky .navbar-nav .nav-item a {
	color: var(--tn-on-dark); text-transform: none; font-weight: 500; font-size: 15px;
}
body .techit-nav .navbar .navbar-nav .nav-item a:hover,
body .techit-nav .navbar .navbar-nav .nav-item:hover > a,
body .navbar-area.is-sticky .navbar-nav .nav-item a:hover { color: #fff; }
body .techit-nav .navbar .navbar-nav .nav-item .dropdown-menu {
	background: #fff; border: 1px solid var(--tn-line); border-radius: 12px; box-shadow: var(--tn-shadow-hover); padding: 8px 0;
}
body .techit-nav .navbar .navbar-nav .nav-item .dropdown-menu li a,
body .navbar-area.is-sticky .navbar-nav .nav-item .dropdown-menu li a { color: var(--tn-ink); text-transform: none; font-weight: 500; }
body .techit-nav .navbar .navbar-nav .nav-item .dropdown-menu li a:hover { color: var(--tn-blue); }
body .other-option .default-btn { padding: 11px 20px; font-size: 15px; box-shadow: none; }
body .size-logo { height: 44px; }

/* Menú móvil */
body .techit-responsive-nav { background: transparent; }
body .mean-container .mean-bar { background: transparent; }
body .mean-container a.meanmenu-reveal { color: #fff; }
body .mean-container a.meanmenu-reveal span { background: #fff; }
body .mean-container .mean-nav { background: #fff; border-radius: 12px; overflow: hidden; }
body .mean-container .mean-nav ul li a { color: var(--tn-ink); text-transform: none; }

/* ---------- Hero de la portada ---------- */
.tn-hero {
	position: relative; overflow: hidden; color: var(--tn-on-dark);
	padding: 168px 0 104px;
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(65, 105, 225, .35), transparent 60%),
		radial-gradient(600px 400px at 10% 90%, rgba(34, 211, 238, .12), transparent 60%),
		linear-gradient(180deg, var(--tn-navy-900), var(--tn-navy-950));
}
.tn-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
}
.tn-hero .container { position: relative; }
.tn-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
	padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
	color: var(--tn-on-dark); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.tn-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tn-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18); }
.tn-hero h1 {
	color: #fff; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; margin: 0 0 22px;
}
.tn-hero h1 .tn-accent {
	background: linear-gradient(90deg, #8fb0ff, var(--tn-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tn-lead { color: var(--tn-on-dark-muted); font-size: 18px; line-height: 1.65; max-width: 560px; margin: 0 0 32px; }
.tn-lead strong { color: #fff; font-weight: 600; }
.tn-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.tn-trust { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 0; }
.tn-trust li { color: var(--tn-on-dark-muted); font-size: 14px; line-height: 1.3; }
.tn-trust strong { display: block; color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }

/* Tarjeta "flujo automatizado" */
.tn-flow {
	position: relative; margin-left: auto; max-width: 460px;
	background: rgba(18, 28, 63, .72); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
	padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tn-flow__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: var(--tn-on-dark-muted); font-size: 13px; }
.tn-flow__head b { color: #fff; font-weight: 600; font-size: 14px; }
.tn-live { display: inline-flex; align-items: center; gap: 6px; color: #6ee7b7; font-weight: 600; }
.tn-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: tn-pulse 1.8s infinite; }
.tn-step { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.tn-step + .tn-step { margin-top: 26px; }
.tn-step + .tn-step::before {
	content: ""; position: absolute; left: 33px; top: -27px; width: 2px; height: 26px;
	background: linear-gradient(var(--tn-cyan), rgba(34, 211, 238, .1));
}
.tn-step__icon { flex: 0 0 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; color: #fff; }
.tn-step__icon--wa { background: #25d366; }
.tn-step__icon--ai { background: linear-gradient(135deg, #6d5dfc, var(--tn-cyan)); }
.tn-step__icon--crm { background: #714b67; }
.tn-step__icon--doc { background: var(--tn-blue); }
.tn-step__title { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; margin: 0 0 3px; }
.tn-step__meta { color: var(--tn-on-dark-muted); font-size: 13px; line-height: 1.45; margin: 0; }
.tn-tag { display: inline-block; margin-top: 7px; margin-right: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #c7d2fe; background: rgba(99, 102, 241, .22); }
.tn-check { margin-left: auto; color: #34d399; font-size: 15px; padding-top: 2px; }
@keyframes tn-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- Servicios (tarjetas) ---------- */
body .features-section { background: var(--tn-surface) !important; background-image: none !important; }
body .features-section .section-title h2, body .h2OurServices { color: var(--tn-ink) !important; }
body .single-features-item {
	display: flex; flex-direction: column; height: calc(100% - 30px);
	text-align: left; padding: 30px 26px; border-radius: var(--tn-radius);
	background: #fff !important; border: 1px solid var(--tn-line); box-shadow: var(--tn-shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body .single-features-item:hover { transform: translateY(-4px); box-shadow: var(--tn-shadow-hover); border-color: #c9d4f2; }
body .single-features-item h3 { color: var(--tn-ink); font-size: 19px; font-weight: 700; margin-bottom: 0; }
body .single-features-item p { color: var(--tn-text); font-size: 15px; line-height: 1.65; margin-top: 10px; }
body .features-icon, body .services-icon {
	display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
	border-radius: 13px; background: #eef2ff;
}
body .features-icon img, body .services-icon img { width: 28px !important; height: 28px; }
.tn-more { margin-top: auto; padding-top: 18px; color: var(--tn-blue); font-weight: 600; font-size: 15px; }
.tn-more::after { content: " →"; transition: margin .2s; }
body .single-features-item:hover .tn-more::after { margin-left: 4px; }

/* Secciones oscuras de las páginas de servicio */
body .fondoP { background: linear-gradient(160deg, var(--tn-navy-900), var(--tn-navy-700)) !important; }
body .fondoP::before { display: none; }
body .fondoP .section-title h2, body .color-text h2 { color: #fff !important; }

/* ---------- Encabezado de páginas internas ---------- */
body .about-area { margin-top: 0; padding-top: 150px; }
body .about-content h1, body h1.highlighted-title {
	font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--tn-ink); margin-bottom: 20px;
}
body .highlighted-title { padding-left: 18px; }
body .highlighted-title::before { width: 4px; border-radius: 4px; background: linear-gradient(var(--tn-blue), var(--tn-cyan)); }
body .about-content p { font-size: 17px; }

/* ---------- Lista con checks ---------- */
body .lista-check { list-style: none; padding-left: 0; margin: 22px 0 30px; }
body .lista-check li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--tn-text); }
body .lista-check li::before {
	content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
	display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--tn-blue); background: #eef2ff;
}

/* ---------- Contadores ---------- */
body .counter-area { background: var(--tn-navy-900) !important; background-image: none !important; }
body .counter-area::before { display: none; }
body .counter-area h2, body .counter-area h2 span { color: #fff; }
body .counter-area .counter-heading { color: var(--tn-on-dark-muted); font-weight: 500; }

/* ---------- Equipo y testimonios ---------- */
body .single-team-box, body .single-testimonial {
	border-radius: var(--tn-radius); border: 1px solid var(--tn-line); box-shadow: var(--tn-shadow); background: #fff;
}
body .testimonial-section { background: var(--tn-surface); }
body .rating-box ul li i { color: #f5b301; }
body .testimonial-content p { font-size: 16px; color: var(--tn-text); }

/* ---------- Llamado a la acción ---------- */
body .hire-section {
	background: radial-gradient(700px 300px at 80% 0%, rgba(34, 211, 238, .18), transparent 60%), linear-gradient(135deg, var(--tn-navy-800), var(--tn-blue)) !important;
	background-image: radial-gradient(700px 300px at 80% 0%, rgba(34, 211, 238, .18), transparent 60%), linear-gradient(135deg, var(--tn-navy-800), var(--tn-blue)) !important;
}
body .hire-section::before { display: none; }
body .hire-content h2 { color: #fff; }
body .hire-content p { color: var(--tn-on-dark); }
body .hire-section .default-btn-one { background: #fff; color: var(--tn-navy-900); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
body .hire-section .default-btn-one:hover { background: #eef2ff; color: var(--tn-navy-900); }

/* ---------- Plataformas ---------- */
body .partner-area { background: #fff; }
.logos-plataformas { display: flex; flex-wrap: wrap; gap: 56px; justify-content: center; align-items: center; padding: 24px 0 56px; }
.logos-plataformas img { height: 44px; width: auto; opacity: .75; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos-plataformas img:hover { opacity: 1; filter: none; }

/* ---------- FAQ (details) ---------- */
body .faq-lista details { border: 1px solid var(--tn-line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
body .faq-lista details[open] { box-shadow: var(--tn-shadow); }
body .faq-lista summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; color: var(--tn-ink); }
body .faq-lista summary::-webkit-details-marker { display: none; }
body .faq-lista summary::after { content: "+"; color: var(--tn-blue); font-size: 22px; line-height: 1; }
body .faq-lista details[open] summary::after { content: "–"; }

/* ---------- Pasos (Cómo trabajamos) ---------- */
body .paso { position: relative; padding-top: 8px; }
body .paso h3 { font-size: 19px; font-weight: 700; color: var(--tn-ink); }

/* ---------- Footer ---------- */
body .footer-area { background: var(--tn-navy-950); }
body .copyright-area { background: #050915; }

/* ---------- Animaciones: quitar rebotes de la plantilla ---------- */
body .banner-image img, body .bounce-in-out { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
	.tn-hero { padding: 130px 0 72px; }
	.tn-flow { margin: 48px auto 0; }
	body .section-padding { padding-top: 72px; padding-bottom: 72px; }
	body .about-area { padding-top: 120px; }
}
@media (max-width: 575px) {
	.tn-lead { font-size: 16px; }
	.tn-trust { gap: 20px; }
	.tn-trust strong { font-size: 22px; }
	.tn-cta .tn-btn { width: 100%; justify-content: center; }
}

/* ---------- Ajustes v2 ---------- */
body .section-title h2 { color: var(--tn-ink); }
body .mean-container a.meanmenu-reveal span { background: #fff !important; }
body .mean-container a.meanmenu-reveal { color: #fff !important; }
body .team-image img { width: 60% !important; margin-left: 20%; }
body .skill-area { background: #fff; }

/* Panel de integraciones (portada) */
.tn-integra {
	position: relative; max-width: 460px; margin-left: auto; padding: 26px;
	border-radius: 20px; background: var(--tn-surface); border: 1px solid var(--tn-line); box-shadow: var(--tn-shadow);
}
.tn-integra__title { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tn-muted); }
.tn-integra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tn-chip {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px;
	border-radius: 14px; background: #fff; border: 1px solid var(--tn-line); text-align: center;
	font-size: 13px; font-weight: 600; color: var(--tn-ink); line-height: 1.25;
}
.tn-chip i { font-size: 22px; color: var(--tn-blue); }
.tn-chip--hub { background: linear-gradient(135deg, var(--tn-navy-800), var(--tn-blue)); color: #fff; border: 0; box-shadow: 0 12px 30px rgba(65, 105, 225, .35); }
.tn-chip--hub i { color: var(--tn-cyan); }

/* Tarjeta de flujo sobre fondo claro (páginas internas) */
.about-image .tn-flow { margin: 0 auto; }

@media (max-width: 575px) {
	.tn-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.tn-trust li { font-size: 12.5px; }
	.tn-integra { margin: 40px auto 0; padding: 18px; }
	.tn-chip { min-height: 84px; font-size: 12px; }
}
@media (max-width: 991px) { .tn-integra { margin: 48px auto 0; } }
/* Ajustes v3: tarjeta de flujo sobre fondo claro y barra más sólida */
.tn-flow { text-align: left; }
.about-image .tn-flow { background: linear-gradient(160deg, var(--tn-navy-900), var(--tn-navy-800)); box-shadow: 0 30px 70px rgba(11, 18, 41, .28); }
body .navbar-area, body .navbar-area.is-sticky { background: rgba(11, 18, 41, .96) !important; }
body .features-icon, body .services-icon { padding: 0; margin: 0 0 20px; flex: 0 0 auto; }
