/* ----------------------------------------------------------------
   CUSTOM CSS - PAPELERÍA Y SERVICIOS
-----------------------------------------------------------------*/

/* =========================
   CATEGORÍAS (SOLUCIONES)
========================= */

#categorias {
	padding: 80px 0;
	background: #fafafa;
}

#categorias .categoria-box {
	border: 1px solid #eee !important;
	border-radius: 12px !important;
	background: #fff !important;
	padding: 30px 20px !important;
	transition: all 0.3s ease !important;
	cursor: pointer;
	height: 100%;
}

#categorias .categoria-box:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
	border-color: #1abc9c !important;
}

/* ICONOS */
#categorias .categoria-box i {
	color: #6c757d;
	font-size: 32px !important;
	margin-bottom: 15px;
	display: block;
	transition: 0.3s;
}

#categorias .categoria-box:hover i {
	color: #1abc9c;
}

/* TEXTOS */
#categorias .categoria-box h5 {
	margin-top: 10px;
	font-weight: 600;
	color: #2c3e50;
}

#categorias .categoria-box p {
	margin-bottom: 0;
	color: #6c757d;
	font-size: 14px;
}

/* =========================
   HERO
========================= */

.swiper-slide {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.swiper-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 1;
}

.swiper-slide-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
	z-index: 2;
}

.slider-caption {
	position: relative;
	z-index: 3;
}

/* BOTÓN HERO */

.slider-caption .button {
	border: 2px solid #25D366 !important;
	background: rgba(37,211,102,0.15);
	color: #fff !important;
	padding: 14px 32px !important;
	font-weight: 600;
	border-radius: 6px;
	transition: 0.3s;
	backdrop-filter: blur(2px);
}

.slider-caption .button:hover {
	background: #25D366 !important;
	border-color: #25D366 !important;
	box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

/* =========================
   HEADER
========================= */

#header {
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.dark h2 {
	font-size: 32px;
}

/* =========================
   CTA INFERIOR
========================= */

.footer-stick {
	font-size: 22px !important;
	line-height: 1.6;
	padding: 26px 0 !important;
}

.footer-stick strong {
	font-weight: 700;
	color: #fff;
	margin-left: 6px;
}

/* =========================
   BOTONES FLOTANTES (WHATSAPP + FACEBOOK)
========================= */

.floating-buttons {
	position: fixed;
	right: 20px;
	bottom: 120px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	align-items: center; /* 🔥 clave para alineación */
	gap: 12px;
}

/* ===== WHATSAPP ===== */

.whatsapp-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.whatsapp-btn {
	width: 58px;
	height: 58px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
	box-shadow: 0 6px 15px rgba(0,0,0,0.25);
	text-decoration: none;
	animation: pulse 2s infinite;
	transform: scale(1.05); /* 🔥 MÁS JERARQUÍA */
}

.whatsapp-tooltip {
	background: #fff;
	color: #333;
	padding: 8px 14px;
	border-radius: 20px;
	font-size: 13px;
	white-space: nowrap;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	opacity: 0;
	transform: translateX(10px);
	transition: 0.3s;
}

.whatsapp-container:hover .whatsapp-tooltip {
	opacity: 1;
	transform: translateX(0);
}

/* FACEBOOK CONTENEDOR */
.facebook-container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
}

/* BOTÓN FACEBOOK (AZUL BIEN HECHO) */
.facebook-btn {
	width: 55px;
	height: 55px;
	background: #1877F2;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 22px;
	box-shadow: 0 6px 15px rgba(0,0,0,0.25);
	text-decoration: none;
	transition: 0.3s ease;
}

.facebook-btn:hover {
	background: #145dbf;
}

/* TOOLTIP FACEBOOK */
.facebook-tooltip {
	background: #fff;
	color: #333;
	padding: 8px 14px;
	border-radius: 20px;
	font-size: 13px;
	white-space: nowrap;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	opacity: 0;
	transform: translateX(10px);
	transition: 0.3s ease;
}

/* HOVER */
.facebook-container:hover .facebook-tooltip {
	opacity: 1;
	transform: translateX(0);
}

/* =========================
   ANIMACIÓN
========================= */

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
	70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
	100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
	.floating-buttons {
		bottom: 100px;
		right: 15px;
	}

	.whatsapp-btn {
		width: 50px;
		height: 50px;
	}

	.facebook-btn {
		width: 40px;
		height: 40px;
	}
}

.promo-badge {
	background: #1abc9c;
	color: #fff;
	display: inline-block;
	padding: 8px 16px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	letter-spacing: 0.5px;
}


/* =========================
   PRODUCTOS RESPONSIVE
========================= */

@media (max-width: 768px) {

	.product-image img {
		max-width: 180px;
		margin: 0 auto;
		display: block;
	}

	.product-desc {
		padding-top: 25px !important;
		text-align: center;
	}

	.product-title h2 {
		font-size: 32px;
	}

	.product-desc p,
	.product-desc li {
		font-size: 16px;
		line-height: 1.7;
	}

	.iconlist {
		text-align: left;
		display: inline-block;
		margin-top: 20px;
	}
}


/* =========================
   HERO MOBILE FIX REAL
========================= */

@media (max-width: 768px) {

	/* ALTURA NATURAL */
	#slider .swiper-slide {
		min-height: 100vh !important;
		padding-bottom: 90px;
	}

	/* IMAGEN */
	.swiper-slide-bg {
		background-size: cover !important;
		background-position: center center !important;
	}

	/* CONTENIDO */
	#slider .slider-caption {
		padding-left: 20px;
		padding-right: 20px;
		transform: translateY(-85px);
	}

	/* BADGE */
	.promo-badge {
		font-size: 16px !important;
		padding: 12px 22px !important;
		margin-bottom: 20px;
		border-radius: 50px;
	}

	/* TITULO */
	#slider h2 {
		font-size: 42px !important;
		line-height: 1.05 !important;
		margin-bottom: 15px;
	}

	/* TEXTO */
	#slider p {
		font-size: 17px !important;
		line-height: 1.5;
	}

	/* BOTON */
	#slider .button {
		margin-top: 25px !important;
		font-size: 18px !important;
		padding: 14px 28px !important;
	}
}
