/* ==========================================================================
	styles.css — Estilos principales del sitio
	========================================================================== */

/* ---------------------- Variables del tema ---------------------- */
:root {
	/* Marca / tema */
	--primary-color: #df2919;
	--secondary-color: #ffffff;
	--dark-color: #242322;

	/* Accesibilidad / contraste */
	--text-strong: #f1f3f5;
	--text-mid: #e2e6ea;
	--link-color: #9bd3ff;
	--link-hover: #ffffff;
}

/* ---------------------- Base ---------------------- */
body {
	font-family: "Poppins", sans-serif;
	background-color: var(--dark-color);
	color: var(--secondary-color);
	position: relative;
	overflow-x: hidden;
}

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

/* ---------------------- Header & Navigation ---------------------- */
.navbar {
	background-color: rgba(36, 35, 34, 0.9);
	padding: 1rem 0;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
	color: var(--primary-color);
	font-weight: 700;
	font-size: 1.8rem;
}

.navbar-nav .nav-link {
	color: var(--secondary-color);
	margin: 0 10px;
	position: relative;
	transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
	width: 100%;
}

/* ---------------------- Hero ---------------------- */
.hero {
	padding-top: 1px; /* Ajustable */
	padding-bottom: 140px;
	display: flex;
	align-items: center;
	min-height: 100vh;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* Overlay por encima de la imagen, pero por debajo del texto */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 650px at 75% 50%,
			rgba(223, 41, 25, .18) 0%,
			rgba(223, 41, 25, .10) 35%,
			rgba(36, 35, 34, .82) 78%,
			rgba(36, 35, 34, .95) 100%),
		linear-gradient(90deg,
			rgba(36, 35, 34, 0) 0%,
			rgba(36, 35, 34, .25) 45%,
			rgba(36, 35, 34, .9) 100%);
	z-index: 1;
	pointer-events: none;
}

.hero-art { /* columna del logo */
	position: relative;
	z-index: 1; /* por debajo del overlay */
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero .hero-media { position: relative; z-index: 0; } /* logo queda abajo */

.hero h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.hero-logo {
	max-width: 320px;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 1;
	opacity: 0.9;
	transition: transform 0.3s ease;
}

/* ---------------------- Botones ---------------------- */
.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	padding: 10px 30px;
	border-radius: 30px;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: transparent;
	border-color: var(--primary-color);
	color: var(--primary-color);
}

/* ---------------------- Secciones ---------------------- */
.section { padding: 100px 0; }

.section-title {
	margin-bottom: 60px;
	text-align: center;
}

.section-title h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 25%;
	width: 50%;
	height: 3px;
	background-color: var(--primary-color);
}

/* ---------------------- Confirmación de contacto ---------------------- */
.contact-confirmation {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------------------- Dock Menu ---------------------- */
.dock-container {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	background-color: rgba(36, 35, 34, 0.7);
	backdrop-filter: blur(10px);
	padding: 10px 20px;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	transition: opacity 0.3s ease;
}

.dock-item {
	margin: 0 15px;
	position: relative;
	transition: transform 0.3s ease;
}

.dock-item:hover { transform: translateY(-15px) scale(1.2); }

.dock-item a {
	color: var(--secondary-color);
	font-size: 1.8rem;
	transition: color 0.3s ease;
	text-decoration: none;
}

.dock-item:hover a { color: var(--primary-color); }

/* ---------------------- Cursor Effect (única definición) ---------------------- */
#cursor {
	position: fixed;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: var(--primary-color);
	opacity: 0.7;
	pointer-events: none;
	mix-blend-mode: difference; /* consistente */
	z-index: 10000;
	transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

#splash {
	position: fixed;
	width: 0;
	height: 0;
	border-radius: 50%;
	background-color: var(--primary-color);
	opacity: 0;
	pointer-events: none;
	mix-blend-mode: screen;
	z-index: 9998;
	transition: all 0.5s ease;
}

/* ---------------------- Blog (listado) ---------------------- */
.blog { padding: 100px 0; background-color: var(--dark-color); }

.blog .blog-img { height: 200px; } /* altura solo para listado */

.blog-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 30px;
	transition: transform .3s ease, box-shadow .3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	cursor: pointer;
}

.blog-card:hover {
	transform: translateY(-10px) scale(1.03);
	box-shadow: 0 10px 30px rgba(223, 41, 25, 0.17);
}

.blog .blog-card:hover { box-shadow: 0 10px 30px rgba(223, 41, 25, .2); } /* listado */

.blog-img { overflow: hidden; }

.blog-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog-card:hover .blog-img img { transform: scale(1.1); }

.blog-content { padding: 20px; }

.blog-content h3 { font-size: 1.5rem; margin-bottom: 10px; }

.blog-content .date,
.blog .date,
span.date {
	color: var(--text-mid) !important;
	font-weight: 600;
}

/* ---------------------- Blog Detail (página de artículo) ---------------------- */
.blog-detail {
	padding: 72px 0 64px;
	background-color: var(--dark-color);
}

.blog-detail h2 { color: var(--primary-color); margin-top: 2rem; margin-bottom: 1rem; }
.blog-detail h3 { color: var(--secondary-color); margin-top: 1.5rem; margin-bottom: .75rem; }

.blog-detail p,
.blog-detail ul,
.blog-detail ol {
	color: #ccc;
	line-height: 1.7;
}

.blog-detail ul { list-style: disc inside; margin-left: 1rem; }

.blog-detail blockquote {
	border-left: 4px solid var(--primary-color);
	padding-left: 1rem;
	color: #aaa;
	font-style: italic;
}

/* Imagen destacada y share compactos (sin perder estilo) */
.blog-detail-content img.blog-featured-image {
	max-width: 100%;
	border-radius: 12px;
	margin-bottom: 20px; /* compactado */
	object-fit: cover;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.share-btns { margin-bottom: 1em; }

.share-btns .btn {
	margin-right: 8px;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}

.share-btns .btn:hover {
	background: var(--primary-color) !important;
	color: #fff !important;
	border-color: var(--primary-color) !important;
}

/* Sidebar del artículo */
.blog-sidebar {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 10px;
	padding: 25px 20px;
}

.blog-sidebar h4 {
	font-size: 1.15rem;
	color: var(--primary-color);
	margin-bottom: 12px;
}

.blog-sidebar ul,
.blog-sidebar ol { padding-left: 18px; }

.blog-sidebar li { margin-bottom: 7px; }

.toc-link { color: #2faaff; text-decoration: underline; font-size: .98em; }
.blog-sidebar .toc-link:hover { text-decoration: underline; } /* realce opcional */

/* Headings & texto dentro del contenido del artículo */
.blog-detail-content h2 { color: var(--primary-color); margin: 1.25rem 0 .6rem; }
.blog-detail-content h3 { color: var(--primary-color); margin: 1rem 0 .5rem; font-size: 1.22em; }

.blog-detail-content p { margin: 0 0 1rem; line-height: 1.65; }
.blog-detail-content ul,
.blog-detail-content ol { margin: 0 0 1rem; line-height: 1.65; }

/* Compactar bloques (evita padding heredado) */
.blog-detail-content section {
	padding: 0 !important;
	margin-top: 2rem;
}
.blog-detail-content section:first-of-type { margin-top: 1.25rem; }

/* Breadcrumb SEO */
.breadcrumb-seo { font-size: .92em; margin-bottom: 18px; }
.breadcrumb-seo a { color: #2faaff; text-decoration: underline; }

/* Barra de lectura */
#reading-progress {
	position: fixed; top: 0; left: 0; width: 100%; height: 4px;
	background: rgba(255, 255, 255, 0.1); z-index: 10000;
}
#reading-progress-bar {
	height: 100%; width: 0%; background: var(--primary-color);
	transition: width 0.2s ease-out;
}

/* Enlaces visibles en contenido de blog */
.blog-card a,
.blog-content a,
.blog-detail a { color: var(--link-color); text-decoration: underline; }
.blog-card a:hover,
.blog-content a:hover,
.blog-detail a:hover { color: var(--link-hover); }

/* Sticky TOC en pantallas grandes */
@media (min-width: 992px) {
	.blog-sidebar { position: sticky; top: 90px; }
}

/* ---------------------- Services Section ---------------------- */
.services { padding: 100px 0; background-color: var(--dark-color); }

.service-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 30px;
	transition: all 0.3s ease;
	height: 100%;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(223, 41, 25, 0.2);
}

.service-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* ---------------------- Contact Section ---------------------- */
.contact { padding: 100px 0; background-color: var(--dark-color); }

.contact-form {
	background-color: rgba(255, 255, 255, 0.05);
	padding: 40px;
	border-radius: 15px;
}

.form-control {
	background-color: rgba(255, 255, 255, 0.1);
	border: none;
	padding: 15px;
	margin-bottom: 20px;
	color: var(--secondary-color);
	border-radius: 5px;
}

.form-control:focus {
	background-color: rgba(255, 255, 255, 0.15);
	box-shadow: none;
	border: 1px solid var(--primary-color);
}

.contact-info {
	background-color: rgba(255, 255, 255, 0.05);
	padding: 40px;
	border-radius: 15px;
	height: 100%;
}

.contact-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.contact-icon { font-size: 1.5rem; color: var(--primary-color); margin-right: 15px; }

.contact-info h2,
.contact-info h3,
.contact-info h4,
.contact-info h5 { color: var(--primary-color); }

/* ---------------------- Sección Clientes (logos) ---------------------- */
.section-clients { background-color: var(--dark-color); }
.section-clients .section-title { color: var(--secondary-color); }

.clients-slider { position: relative; overflow: hidden; white-space: nowrap; }

.clients-track {
	display: flex;
	align-items: center;
	animation: scroll-clients 40s linear infinite;
}

.client-item { flex: 0 0 auto; margin: 0 2rem; transition: transform 0.3s ease; }
.client-item:hover { transform: scale(1.1); }

.client-item img {
	max-height: 80px;
	filter: brightness(0) invert(1);
	display: block;
}

@keyframes scroll-clients {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ---------------------- Tecnologías (logos) ---------------------- */
.carousel-logos { overflow: hidden; width: 100%; padding: 20px 0; background: transparent; }

.carousel-track {
	display: flex;
	width: max-content;
	animation: scroll-logos 30s linear infinite;
	gap: 48px;
}

.carousel-logo {
	flex: 0 0 auto;
	padding: 0 12px;
	display: flex; align-items: center; justify-content: center;
	filter: grayscale(1) brightness(0.85) contrast(1.1);
	opacity: 0.82;
	transition: filter 0.3s, opacity 0.3s, transform 0.2s;
}

.carousel-logo img { height: 52px; width: auto; max-width: 140px; object-fit: contain; }

.carousel-logo:hover {
	filter: none; opacity: 1; transform: scale(1.12);
	background: rgba(223, 41, 25, 0.05); border-radius: 8px;
}

@keyframes scroll-logos {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ---------------------- Footer (dos variantes en proyecto) ---------------------- */
footer {
	background-color: rgba(36, 35, 34, 0.95);
	padding: 50px 0 20px;
}

.footer-logo {
	color: var(--primary-color);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.footer-social a {
	display: inline-block;
	margin-right: 15px;
	color: var(--secondary-color);
	font-size: 1.2rem;
	transition: all 0.3s ease;
}
.footer-social a:hover { color: var(--primary-color); transform: translateY(-5px); }

.footer-links h4 { color: var(--primary-color); margin-bottom: 20px; font-size: 1.2rem; }
.footer-links ul { padding: 0; list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--secondary-color); text-decoration: none; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }

.copyright {
	text-align: center;
	margin-top: 50px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer variante .site-footer */
.site-footer {
	background-color: rgba(36, 35, 34, 0.95);
	padding: 50px 0 140px;
	color: var(--secondary-color);
	text-align: center;
}

.site-footer hr {
	border-color: rgba(255, 255, 255, 0.1);
	margin: 2rem auto;
	max-width: 800px;
}

.site-footer .footer-logo {
	color: var(--primary-color);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.site-footer .footer-social {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 16px; padding: 0; border: none; background: none;
}
.site-footer .footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.25rem; color: var(--secondary-color);
	text-decoration: none !important; position: relative;
	transition: color .25s ease, transform .25s ease, opacity .25s ease;
}
.site-footer .footer-social a:hover { color: var(--primary-color); transform: translateY(-4px); }
.site-footer .footer-social a::after {
	content: ""; position: absolute; bottom: -6px; left: 50%;
	transform: translateX(-50%) scale(0);
	width: 6px; height: 6px; background-color: var(--primary-color); border-radius: 50%;
	transition: transform 0.25s ease;
}
.site-footer .footer-social a:hover::after { transform: translateX(-50%) scale(1); }

.site-footer .footer-links h5,
.site-footer .footer-links h4 { color: var(--primary-color); margin-bottom: 20px; font-size: 1.2rem; }

.site-footer .footer-links ul { list-style: none; padding: 0; }
.site-footer .footer-links li { margin-bottom: 10px; }
.site-footer .footer-links a {
	position: relative; color: var(--secondary-color);
	text-decoration: none; transition: color 0.3s ease;
}
.site-footer .footer-links a::after {
	content: ""; position: absolute; bottom: -3px; left: 0;
	width: 0; height: 2px; background-color: var(--primary-color);
	transition: width 0.3s ease;
}
.site-footer .footer-links a:hover { color: var(--primary-color); }
.site-footer .footer-links a:hover::after { width: 100%; }

.site-footer .copyright { text-align: center; margin-top: 30px; font-size: 0.9rem; opacity: 0.7; }

/* ---------------------- Pricing (página Desarrollo WEB) ---------------------- */
.page-desarrollo-web .pricing-container { background: var(--dark-color); padding: 80px 0; }

.page-desarrollo-web .pricing-container h2 {
	color: var(--secondary-color);
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-desarrollo-web .pricing-card {
	position: relative;
	background: var(--card-bg, #1f1f1f);
	border-radius: 1rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
}
.page-desarrollo-web .pricing-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); }

.page-desarrollo-web .pricing-card .card-header {
	position: relative; padding: 6rem 1.5rem 4rem; text-align: center;
	background: var(--card-bg, #1f1f1f);
}
.page-desarrollo-web .pricing-card .card-header h3 { position: relative; z-index: 2; margin-right: 6rem; color: var(--secondary-color); }

.page-desarrollo-web .pricing-card .price {
	position: absolute; z-index: 3; top: 1rem; right: 1rem;
	background: var(--primary-color); color: #fff;
	border-radius: 50%; width: 4.5rem; height: 4.5rem;
	display: flex; align-items: center; justify-content: center;
	font-weight: bold; font-size: 1.1rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.page-desarrollo-web .pricing-card .price .period {
	display: block; font-size: 0.65rem; font-weight: normal; line-height: 1;
	margin-top: 2px; color: rgba(255, 255, 255, 0.8);
}

.page-desarrollo-web .pricing-card .card-body { flex: 1; padding: 1.5rem; display: flex; flex-direction: column; }
.page-desarrollo-web .pricing-card .card-body ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.page-desarrollo-web .pricing-card .card-body ul li {
	color: #ccc; padding: 0.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-desarrollo-web .pricing-card .card-body ul li:last-child { border-bottom: none; }

.page-desarrollo-web .pricing-card.featured::before {
	content: ""; position: absolute; inset: -6px; border-radius: 1.1rem;
	background: radial-gradient(circle at top center, rgba(223, 41, 25, 0.4), transparent 70%);
	filter: blur(10px); z-index: -1;
}

/* Ajustes para centrar íconos/títulos en Servicios Adicionales */
.section-adicionales .pricing-card .card-header { text-align: center; }
.section-adicionales .pricing-card h3 {
	text-align: center; width: 100%; display: block; margin-top: 10px; margin-bottom: 0;
}
.card-header h3 { text-align: center; }

.section-contact .card { border-radius: 0.75rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); }
.section-contact .card-body h5 { color: var(--primary-color); margin-top: 1rem; }
.section-contact .card-body p, .section-contact .card-body a { color: var(--secondary-color); }

/* ---------------------- Cards genéricas Servicios (/servicios) ---------------------- */
.section-services .pricing-card {
	background-color: rgba(36, 35, 34, 0.8);
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex; flex-direction: column; overflow: hidden;
}
.section-services .pricing-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7); }
.section-services .pricing-card .icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; text-align: center; }
.section-services .pricing-card h4, .section-services .pricing-card h3 { color: var(--secondary-color); text-align: center; margin-bottom: 1rem; }
.section-services .pricing-card p { color: var(--secondary-color); flex-grow: 1; text-align: center; margin-bottom: 1.5rem; }
.section-services .pricing-card .btn {
	margin: 0 auto; border-radius: 2rem; padding: 0.5rem 1.5rem; font-weight: 600; transition: background-color 0.3s ease;
}
.section-services .pricing-card .btn:hover { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }

/* ---------------------- WhatsApp Float ---------------------- */
.whatsapp-float {
	position: fixed;
	bottom: 20px; left: 20px;
	z-index: 9999;
	width: 56px; height: 56px;
	background-color: #25d366;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 28px; height: 28px; }

/* ---------------------- Testimonios 3D ---------------------- */
.testimonials-section {
	background: var(--dark-color);
	position: relative;
	overflow: hidden;
}

.testimonials-section h2 {
	color: var(--primary-color);
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 3rem;
	position: relative;
	display: inline-block;
	width: 100%;
}
.testimonials-section h2::after {
	content: "";
	position: absolute;
	width: 50%; height: 3px; background-color: var(--primary-color);
	bottom: -10px; left: 25%;
}

.testimonials-wrapper { position: relative; max-width: 1000px; margin: 0 auto; }
.testimonials-container { position: relative; padding: 2rem 0; }
.testimonials-track { position: relative; height: 450px; perspective: 1200px; }

.testimonial-card {
	position: absolute; top: 0; left: 50%;
	width: 90%; max-width: 700px;
	transform: translateX(-50%) translateZ(-300px) rotateY(60deg);
	opacity: 0; visibility: hidden;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transform-style: preserve-3d;
}
.testimonial-card.active { transform: translateX(-50%) translateZ(0) rotateY(0deg); opacity: 1; visibility: visible; z-index: 3; }
.testimonial-card.prev { transform: translateX(-50%) translateZ(-200px) rotateY(-30deg); opacity: 0.4; visibility: visible; z-index: 1; }
.testimonial-card.next { transform: translateX(-50%) translateZ(-200px) rotateY(30deg); opacity: 0.4; visibility: visible; z-index: 1; }

.testimonial-content {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 3rem 2.5rem;
	text-align: center;
	backdrop-filter: blur(10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}
.testimonial-card.active .testimonial-content {
	border-color: rgba(223, 41, 25, 0.3);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(223, 41, 25, 0.1);
}
.testimonial-content::before {
	content: ""; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
	background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
	border-radius: 20px; z-index: -1; opacity: 0; transition: opacity 0.3s ease;
}
.testimonial-card.active .testimonial-content::before { opacity: 0.2; }

.stars { display: flex; justify-content: center; gap: .3rem; margin-bottom: 1.5rem; }
.star { color: #ffc107; font-size: 1.5rem; text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3); }

.testimonial-text {
	font-size: 1.2rem; line-height: 1.7; color: var(--secondary-color);
	margin: 2rem 0; font-style: italic; position: relative; font-weight: 400;
}
.testimonial-text::before,
.testimonial-text::after {
	content: '"'; font-size: 4rem; color: var(--primary-color);
	position: absolute; opacity: 0.2; font-family: serif; line-height: 1;
}
.testimonial-text::before { top: -1.5rem; left: -1.5rem; }
.testimonial-text::after { bottom: -2.5rem; right: -1.5rem; }

.testimonial-author {
	display: flex; align-items: center; justify-content: center;
	gap: 1.5rem; margin-top: 2rem;
}
.author-avatar {
	width: 70px; height: 70px;
	background: linear-gradient(135deg, var(--primary-color), #ff6b7d);
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: white; font-size: 2rem; font-weight: bold;
	box-shadow: 0 8px 20px rgba(223, 41, 25, 0.4); text-transform: uppercase;
}
.author-info { text-align: left; }
.author-name { color: var(--secondary-color); margin: 0 0 .5rem 0; font-size: 1.2rem; font-weight: 600; }
.author-role { color: var(--primary-color); margin: 0; font-size: 1rem; opacity: .9; }

/* Indicadores */
.testimonials-indicators {
	display: flex; justify-content: center; gap: 1rem; margin-top: 3rem;
}
.testimonial-indicator {
	width: 14px; height: 14px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: transparent; cursor: pointer; transition: all 0.3s ease;
	position: relative; padding: 0; outline: none;
}
.testimonial-indicator::before {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 0; height: 0; background: var(--primary-color);
	border-radius: 50%; transform: translate(-50%, -50%);
	transition: all 0.3s ease;
}
.testimonial-indicator.active { border-color: var(--primary-color); box-shadow: 0 0 10px rgba(223, 41, 25, 0.5); }
.testimonial-indicator.active::before { width: 8px; height: 8px; }
.testimonial-indicator:hover { border-color: var(--primary-color); transform: scale(1.2); }

/* ---------------------- Legal Pages ---------------------- */
.legal-page h1, .legal-page h2, .legal-page h3 { font-weight: 700; margin-top: 2rem; }
.legal-page table { font-size: 0.9rem; background: #fff; color: #333; }
.legal-page table th { background: #f8f9fa; font-weight: 600; }

/* ==========================================================================
	Responsive
	========================================================================== */

/* <= 1200/992 region general (ej: dock spacing) */
@media (max-width: 992px) {
	/* Dock */
	.dock-container { padding: 10px; }
	.dock-item { margin: 0 10px; }

	/* Hero titles */
	.hero h1 { font-size: 2.5rem; }

	/* Testimonios (lo que pediste que no se pierda) */
	.testimonials-track { height: 500px; }
	.testimonial-content { padding: 2.5rem 2rem; }
	.testimonial-text { font-size: 1.1rem; }
}

/* <= 768 */
@media (max-width: 768px) {
	.section-title h2 { font-size: 2rem; }

	/* Navbar hover subrayado ya está desactivado globalmente */

	/* Hero spacing / logo */
	.hero { padding-top: 60px; padding-bottom: 80px; }
	.hero h1 { font-size: 2rem; }
	.hero-logo { max-width: 240px; opacity: 0.9; margin-top: 20px; }
	.hero-art { margin-top: 40px; display: flex; justify-content: center; }

	/* Dock */
	.dock-container { padding: 5px; }
	.dock-item { margin: 0 5px; }
	.dock-item a { font-size: 1.5rem; }

	/* Carrusel logos */
	.carousel-track { gap: 28px; }
	.carousel-logo img { height: 36px; }

	/* Testimonios */
	.testimonials-track { height: 550px; perspective: 800px; }
	.testimonial-card { width: 95%; }
	.testimonial-content { padding: 2rem 1.5rem; }
	.testimonial-text { font-size: 1rem; margin: 1.5rem 0; }
	.testimonial-text::before, .testimonial-text::after { font-size: 3rem; }
	.author-avatar { width: 60px; height: 60px; font-size: 1.5rem; }
	.author-name { font-size: 1.1rem; }
	.author-role { font-size: 0.9rem; }
}

/* <= 600 (WhatsApp icon) */
@media (max-width: 600px) {
	.whatsapp-float svg { width: 32px; height: 32px; }
}

/* <= 576 */
@media (max-width: 576px) {
	.section-title h2 { font-size: 1.8rem; }

	/* Dock: toggle en móvil */
	.dock-container { bottom: 5px; padding: 6px 10px; display: none; }
	.dock-item { margin: 0 5px; }
	.dock-item a { font-size: 1.3rem; }
	.dock-container.active { display: flex; }
	.dock-toggle { display: flex; }

	/* Hero compacto */
	.hero { height: auto; padding: 100px 0; }
	.hero h1 { font-size: 1.8rem; }
	.dock-container { bottom: 10px; }

	/* HR utility */
	.hr-xl { max-width: 1000px; }

	/* Links legales del formulario */
	.legal-links {
		display: flex; justify-content: center; align-items: center;
		gap: 1rem; flex-wrap: wrap; text-align: center;
	}
	.legal-links a {
		color: #adb5bd !important; text-decoration: none !important; opacity: 0.9;
		transition: color .15s ease, opacity .15s ease, text-decoration .15s ease;
	}
	.legal-links a:hover, .legal-links a:focus-visible {
		color: #df2919 !important; text-decoration: underline !important; opacity: 1 !important;
	}
}

/* <= 420 (apilar legal-links) */
@media (max-width: 420px) {
	.legal-links { flex-direction: column; gap: .25rem; }
}

/* ---------------------- Navbar toggler accesible (sm) ---------------------- */
.navbar-toggler-icon {
	width: 1.5em; height: 1.5em;
	background-repeat: no-repeat; background-position: center; background-size: 1.5em 1.5em;
	background-image: none !important;
}
.navbar-dark .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
	Cookie banner / toast (Fenix Dragon)
	========================================================================== */

/* Banner */
.cookie-banner {
	display: none; /* lo muestra consent.js si no hay preferencia */
	position: fixed; left: 0; right: 0; bottom: 0;
	z-index: 9999; padding: 14px 0;
	background-color: rgba(36, 35, 34, 0.98); color: #fff;
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(2px);
}
.cookie-banner h6 { margin: 0 0 6px; }
.cookie-banner p.small { margin-bottom: 8px; }
.cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner a:hover, .cookie-banner a:focus-visible { color: #df2919; }
.cookie-banner .badge.bg-secondary { background: #6c757d; }
.cookie-banner .badge.bg-dark { background: #343a40; border: 1px solid rgba(255, 255, 255, 0.15); }
.cookie-banner .form-check-label, .cookie-banner .form-check-input { cursor: pointer; }

/* Botones cookie */
.cookie-banner .btn-primary { background-color: #df2919; border-color: #df2919; }
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus-visible {
	background: transparent; color: #df2919; border-color: #df2919;
}
.cookie-banner .btn-outline-light:hover, .cookie-banner .btn-outline-light:focus-visible {
	color: #242322; background: #fff; border-color: #fff;
}
.cookie-banner .btn-secondary { background: #495057; border-color: #495057; }
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus-visible {
	background: transparent; color: #fff; border-color: #adb5bd;
}
.cookie-banner .btn { border-radius: 999px; padding: 6px 14px; }

/* Al abrir banner, levantamos dock */
.cookie-banner-open .dock-container { bottom: 90px; }

/* Cookie banner <= 576 */
@media (max-width: 576px) {
	.cookie-banner .row { row-gap: 8px; }
	.cookie-banner-open .dock-container { bottom: 120px; }
}

/* Accesibilidad */
.cookie-banner .btn:focus-visible,
.cookie-banner .form-check-input:focus {
	outline: 2px solid #df2919; outline-offset: 2px;
}

/* Prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
	.cookie-banner, .cookie-banner .btn { transition: none; }
}

/* Toast */
.cookie-toast {
	position: fixed; right: 20px; bottom: 20px; z-index: 2147483647;
	width: min(420px, calc(100% - 32px));
	background: rgba(36, 35, 34, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
	backdrop-filter: blur(6px);
	color: #fff; /* oculto por defecto usando [hidden]; el JS lo quita */
}
.cookie-toast .cookie-body { padding: 16px 16px 8px; }
.cookie-toast .cookie-actions {
	padding: 10px 16px 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.cookie-toast a { color: #2faaff; text-decoration: underline; }

/* <= 480: toast más angosto */
@media (max-width: 480px) {
	.cookie-toast { right: 12px; bottom: 12px; width: calc(100% - 24px); }
}

/* --- Code blocks con botón Copiar --- */
.code-block { position: relative; }
.code-block pre {
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 12px;
	padding: 14px 16px;
	overflow: auto;
	color: var(--text-strong);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
	font-size: .95rem;
}
.copy-btn {
	position: absolute; top: 8px; right: 8px;
	border: 1px solid rgba(255,255,255,.18);
	background: rgba(36,35,34,.7);
	color: #fff; width: 34px; height: 34px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 8px; cursor: pointer;
	transition: transform .15s ease, background .15s ease;
}
.copy-btn:hover { transform: scale(1.05); background: rgba(36,35,34,.9); }
.copy-btn.copied { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(223,41,25,.25) inset; }
.code-lang {
	position: absolute; top: 10px; left: 12px;
	font-size: .75rem; opacity: .7;
	letter-spacing: .03em;
}

/* ====== Software a medida (scope) ====== */
.page-software .text-fd-primary{ color:var(--primary-color)!important; }
.page-software .btn-fd-primary{
  background:var(--primary-color); color:#fff; border:1px solid var(--primary-color);
}
.page-software .btn-fd-primary:hover{ filter:brightness(.92); }
.page-software .btn-ghost{
  background:transparent; border:1px solid rgba(255,255,255,.3); color:#fff;
}
.page-software .icon{ width:28px; height:28px; }

/* Hero con la misma estética del sitio */
.page-software .hero--software{
  position:relative; min-height:68vh; display:flex; align-items:center; color:#fff;
  background:
    radial-gradient(900px 650px at 75% 50%, rgba(223,41,25,.18) 0%, rgba(223,41,25,.10) 35%, rgba(36,35,34,.82) 78%, rgba(36,35,34,.95) 100%),
    linear-gradient(90deg, rgba(36,35,34,0) 0%, rgba(36,35,34,.20) 40%, rgba(36,35,34,.55) 78%, rgba(36,35,34,.92) 100%),
    url("/images/hero-software.webp") center/cover no-repeat;
}

/* Secciones */
.page-software .section{ padding:64px 0; }
.page-software .section-soft{ background:rgba(255,255,255,.03); }

/* Cards “diferenciales” */
.page-software .card-feature{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px; padding:24px; height:100%;
}

/* Cards de tecnología (lado derecho) */
.page-software .tech-card{
  background:rgba(0,0,0,.15);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
}
.page-software .tech-card .badge{
  display:block; width:100%;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12);
  color:#fff!important; border-radius:10px;
  font-weight:600; padding:.5rem .75rem;
}

/* Formularios en dark */
.page-software .form-control,
.page-software .form-select{
  background:#2a2a2a; color:#eee;
  border:1px solid rgba(255,255,255,.12);
}
.page-software .form-control::placeholder{ color:#9aa0a6; }
.page-software .form-check{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
}

/* Botón outline sobre fondo oscuro */
.page-software .btn-outline-dark{
  color:#fff; border-color:rgba(255,255,255,.24);
}
.page-software .btn-outline-dark:hover{
  background:rgba(255,255,255,.08);
}

/* FAQ acordeón en dark */
.page-software .accordion .accordion-item{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.page-software .accordion-button{
  color:#ddd; background:rgba(0,0,0,.2);
}
.page-software .accordion-button:not(.collapsed){
  color:#fff; background:rgba(0,0,0,.3); box-shadow:none;
}
.page-software .accordion-button::after{ filter:invert(1) brightness(1.2); }
/* Card del hero (agendá consultoría) */
.page-software .hero--software .card{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(6px);
}
.page-software .hero--software .card .small{ color:#cfd3d7; }
.page-software .btn-outline-dark{
  color:#fff; border-color:rgba(255,255,255,.24);
}
.page-software .btn-outline-dark:hover{
  background:rgba(255,255,255,.08);
}
/* === Fixes /software-a-medida === */

/* FAQ: mejor contraste */
.page-software .accordion .accordion-item { 
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.page-software .accordion-button{
  color:#f1f3f5; 
  background: rgba(0,0,0,.28);
}
.page-software .accordion-button:not(.collapsed){
  color:#fff; 
  background: rgba(0,0,0,.36);
  box-shadow:none;
}
.page-software .accordion-body{
  color:#e9ecef;                /* <- sube el contraste del texto “Sí. Trabajamos…” */
  background: rgba(0,0,0,.18);  /* leve contraste con el header */
}
/* Quitar el overlay global del hero en /software-a-medida */
.page-software .hero--software::before {
  content: none !important;   /* también sirve display:none, pero con pseudo-elementos es mejor content:none */
}