:root {
	--naranjo: #ff8a42;
	--azul: #04466e;
	--oscuro: #333;
	--blanco: #fff;
	--verdeClaro: #2e8930;
	--verde: #c0d879;
	--celeste: #ebebeb;
	--cafe: #9e9a8e;
	--verdeAgua: #b4c0b6;
	--gris: #8d8e95;
}

#inicio,
#servicios,
#elegirnos,
#noticias,
#contacto {
	scroll-margin-top: 80px;
}

#presentacion {
	scroll-margin-top: 80px;
}

#adm {
	scroll-margin-top: 100px;
}

/* Estilos generales */
body {
	font-family: "Montserrat", sans-serif;
	color: #2b2926bd;
	overflow-x: hidden;
}

.hero-caption {
	font-family: "Montserrat", sans-serif;
}

p {
	font-size: 1.3rem;
}

p b {
	font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1.5rem;
	font-weight: 700;
}

section h2 {
	font-size: 5.5rem;
	color: var(--azul);
	line-height: 1.2;
	text-align: center;
	font-family: helvetica, sans-serif;
	font-weight: 400;
	font-style: normal;
}
#servicios h2,
/* #planes h2 {
	text-align: left;
	font-family: helvetica, sans-serif;
	font-weight: 400;
	font-style: normal;

} */
section h3 {
	color: var(--azul);
}
#contador h3 {
	color: var(--azul);
	font-size: 5rem;
}
#contador p {
	color: var(--azul);
	font-size: 1.4rem;
}
.section-title {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 50px;
	font-size: 2.5rem;
	font-weight: 700;
}

/* Navbar */
.navbar {
	transition: all 0.3s ease;
	padding: 15px 0;
	background-color: var(--blanco);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
	padding: 0;
}

.logo {
	height: 60px;
	width: auto;
	transition: all 0.8s ease;
}

.navbar-nav .nav-link {
	color: var(--azul);
	font-weight: 500;
	padding: 10px 15px;
	transition: all 0.3s ease;
	font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
	color: var(--verdeClaro);
}

.navbar-toggler {
	border: none;
	padding: 0;
}

.navbar-toggler:focus {
	box-shadow: none;
}

/* Carrusel */
.carousel-section {
	position: relative;
	height: 100vh;
	min-height: 100vh; /* eran 600px */
	overflow: hidden;
}

.carousel,
.carousel-inner,
.carousel-item {
	height: 100%;
}

/* Estilos para la nueva sección hero */
.hero-container {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

.hero-caption {
	position: absolute;
	top: 33%;
	text-align: center;
	width: 100%;
	z-index: 4;
	color: var(--azul);
}

/* Móviles y tablets: usar fondo móvil */
@media (max-width: 991.98px) {
	.hero-caption {
		top: 20%;
	}
}

@keyframes heroZoom {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.1);
	}
}

.hero-caption h1 {
	font-size: 3.5rem;
	font-weight: 100;
}
.hero-caption h1 span {
	color: var(--azul);
}

.hero-caption p {
	font-size: 1.8rem;
	margin-bottom: 2rem;
	/* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); */
}

.carousel-background {
	/* Imagen de fondo principal */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	animation: heroZoom 10s forwards infinite alternate;
}

.carousel-item.active .carousel-background {
	transform: scale(1.1);
}
.carousel-pattern {
	/* Overlay con la imagen de líneas */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 2;
	/* opacity: 0.5; */
}
.carousel-overlay {
	/* Capa de color semitransparente */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(255 255 255 / 25%);
	z-index: 3;
}

.carousel-caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 80%;
	max-width: 800px;
	padding: 0;
	bottom: auto;
}

.carousel-caption h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
	width: 5%;
}

.carousel-indicators {
	bottom: 30px;
}

.carousel-indicators button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin: 0 5px;
}

/* Botones */
.btn-primary {
	background-color: var(--azul);
	border-color: var(--azul);
	color: var(--blanco);
	padding: 10px 25px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Presentación */
#presentacion {
	padding-top: 100px;
}

#presentacion img {
	transition: all 0.5s ease;
}

#presentacion img:hover {
	transform: scale(1.03);
}

/* Productos */
#productos {
	padding: 100px 0;
	background-color: #f9f9f9;
}

.product-card {
	transition: all 0.3s ease;
	border: none;
	border-radius: 1px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	padding: 2rem 2rem 3rem 2rem;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card h4 {
	height: 2rem;
	font-size: 1.2rem;
	font-weight: bold;
}
.product-card ul,
.product-card p {
	height: 15rem;
	text-align: justify;
}

.card-title {
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
}

/* Contacto */
#contacto {
	padding: 100px 0;
}
#contacto label {
	display: inline-block;
	color: #fff;
}
.contact-icon {
	width: 50px;
	height: 50px;
	background-color: var(--azul);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
}

.contact-info h5 {
	font-weight: 600;
	margin-bottom: 5px;
}

.contact-info a {
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
}

.contact-info a:hover {
	color: var(--azul);
}

.contact-form-wrapper {
	/* background-color: white; */
	padding: 30px;
	border-radius: 0px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
	padding: 8px 15px;
	border: 1px solid #ddd;
	border-radius: 0px;
	transition: all 0.3s ease;
	background-color: #ffffffc9;
}

.form-select {
	background-color: #ffffffc9;
}

.form-control:focus {
	border-color: var(--azul);
	background-color: #ffffffcc;
	/* box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25); */
}

/* Footer */
.footer {
	background-color: #032a41;
	color: var(--blanco);
	padding: 80px 0 30px;
}

.footer p {
	font-size: 0.9rem;
	/* text-align: justify; */
}

.footer-logo {
	height: 110px;
	width: auto;
	display: flex;
	margin: 0 auto;
}

.footer-slogan {
	color: #aaa;
	font-size: 1.1rem;
}

.footer-title {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 15px;
}

.footer-title:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: #4fe14f;
}

.footer-links,
.footer-contact {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li,
.footer-contact li {
	margin-bottom: 1.2rem;
}

.footer-links a,
.footer-contact a {
	color: var(--blanco);
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
	color: var(--verdeClaro);
	padding-left: 5px;
}

.footer-contact i {
	/* color: var(--azul); */
	width: 20px;
}

hr {
	border-color: #4d76ff;
}

.copyright {
	color: var(--blanco);
	margin: 0;
}

#scrollUpBtn {
	position: fixed;
	right: 20px;
	top: 90%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--azul);
	color: var(--blanco);
	border: none;
	cursor: pointer;
	font-size: 20px;
	z-index: 999;

	/* Nuevos efectos base */
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
		opacity 0.2s ease;
}

#scrollUpBtn:hover {
	background-color: var(--verdeClaro); /* lo que ya tenías */
	transform: translateY(-50%) scale(1.07); /* igual que WhatsApp */
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
	opacity: 0.9;
}

.nuevapagina {
	text-decoration: none;
	color: #4fe14f;
}

.nuevapagina:hover {
	color: var(--verdeClaro);
}

.justifica {
	text-align: justify;
}

.separador {
	width: 15%;
	height: 5px;
	background-color: var(--azul);
	margin-bottom: 25px;
}
.separadorDos {
	width: 15%;
	height: 5px;
	background-color: var(--azul);
	margin-bottom: 25px;
}

/* Estilo del botón */
.btn-green a {
	display: inline-block;
	padding: 8px 30px;
	border: 3px solid #b7e178;
	border-radius: 13px;
	text-decoration: none;
	color: #333;
	font-family: Arial, sans-serif;
	font-size: 15px;
	transition: all 0.3s ease;
}

/* Estilo al hacer hover */
.btn-green a:hover {
	background-color: #b7e178; /* Fondo verde claro */
	color: #fff; /* Texto blanco */
}

.celeste {
	background-color: var(--celeste);
}
.cafe {
	background-color: var(--cafe);
	color: var(--blanco);
}
.verde_agua {
	background-color: var(--verdeAgua);
}
.verde_oscuro {
	background-color: var(--azul);
	color: var(--blanco);
}

/* linea tiempo */
/* Timeline Styles */
.timeline-container {
	position: relative;
	padding: 40px 0;
}

.timeline-stage-outer {
	position: relative;
	overflow: hidden;
	margin: 0 50px;
}

.timeline-stage {
	display: flex;
	transition: transform 0.5s ease;
	position: relative;
}

.year-item {
	flex: 0 0 auto;
	text-align: center;
	padding: 0 10px;
	position: relative;
	min-width: 100px;
}

.year-icon {
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
}

.year-icon i {
	color: #bfd87e;
	font-size: 20px;
	opacity: 0;
}

.year-item.active .year-icon i {
	opacity: 1;
}

.year-line {
	position: absolute;
	height: 1px;
	background-color: #ccc;
	width: 100%;
	left: 0;
	top: 15px;
	z-index: -1;
}

.year-line.year-line-lg {
	height: 2px;
}

.year-num {
	font-size: 18px;
	font-weight: 500;
	color: #333;
	margin-top: 10px;
}

.year-item.active .year-num {
	color: #bfd87e;
	font-weight: 700;
}

.timeline-nav {
	display: flex;
	justify-content: space-between;
	position: absolute;
	width: 100%;
	/* top: 50%; */
	transform: translateY(-50%);
	z-index: 10;
}

.timeline-nav button {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.timeline-nav button:hover {
	background-color: #bfd87e;
	color: white;
}

.timeline-information {
	margin-top: 40px;
}

.year-item-info {
	display: none;
	animation: fadeIn 0.5s ease;
}

.year-item-info.active {
	display: block;
}

.year-item-info h3 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #273a34;
}

.year-item-info h3 span {
	color: #bfd87e;
	font-weight: 700;
	margin-right: 10px;
}

.year-item-info p {
	line-height: 1.7;
	margin-bottom: 15px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Mejoras para dispositivos móviles */
@media (max-width: 768px) {
	.timeline-stage-outer {
		margin: 0 30px; /* Reducir márgenes laterales */
	}

	.year-item {
		min-width: 80px; /* Reducir ancho mínimo de los años */
	}

	.timeline-nav button {
		width: 30px; /* Botones más pequeños */
		height: 30px;
	}

	.year-item-info h3 {
		font-size: 20px; /* Título más pequeño */
	}
}

/* Asegurar que el año activo siempre sea visible */
.year-item.active {
	position: relative;
	z-index: 5; /* Mayor z-index para destacar */
}

.year-item.active .year-icon i {
	transform: scale(1.2); /* Hacer el círculo un poco más grande */
	transition: transform 0.3s ease;
}

#lineatiempo p {
	text-align: justify;
}
/* fin tiempo */

/* Servicios*/
#servicios .card {
	transition: all 0.3s ease;
	/* height: 300px; */
}

#servicios .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#servicios .card-img {
	height: 300px;
	object-fit: cover;
}

#servicios .bg-success {
	margin-top: 2rem;
	margin-bottom: 1rem;
	background-color: var(--azul) !important;
	width: 2rem;
	height: 2px;
}

#servicios .btn-outline-light:hover {
	background-color: var(--blanco);
	color: var(--azul);
}

#servicios .card-title {
	color: var(--blanco);
	font-weight: 400;
	font-size: 1.4rem !important;
}
.vermas {
	text-align: center;
	text-decoration: none;
	background: var(--azul);
	width: 120px;
	padding: 7px;
	border: 0;
	border-radius: 0;
	color: var(--blanco);
	font-size: 1rem;
	display: block; /* Hace que el botón ocupe su propia línea */
	margin: 30px auto 0px auto; /* Centra horizontalmente */
	cursor: pointer; /* Cambia el cursor al pasar por encima */
	transition: background 0.3s ease; /* Efecto hover suave */
}
.vermas:hover {
	background: var(--verdeClaro);
	color: var(--blanco);
}
.pd-01 {
	padding: 0px 1px;
}

.card-img-overlay {
	background: linear-gradient(
		to bottom,
		var(--verdeOscuro, #2b4039) 0%,
		rgba(128, 128, 128, 0.1) 50%
	);
}

.w-7 {
	width: 70%;
}

.lista-especialidad {
	margin-bottom: 0;
	padding-left: 25px;
	list-style-type: none;
	border-left: 4px solid var(--azul);
}
.lista-especialidad li {
	margin-bottom: 1.5rem;
	padding-left: 0;
	font-size: 1.3rem;
	text-transform: uppercase;
	line-height: 1;
}

#contacto {
	position: relative;
	background-image: url(../img/bg-contacto.jpg) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	overflow: hidden; /* por si acaso */
}

/* Overlay azul encima del fondo */
#contacto::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(7 36 66 / 63%);
	z-index: 0;
}

/* Asegura que el contenido quede sobre el overlay */
#contacto .container {
	position: relative;
	z-index: 1;
}

.btn_enviar {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
}
.enviar {
	background: var(--azul);
	width: 120px;
	padding: 7px;
	border: 0;
	border-radius: 0;
	color: var(--blanco);
	font-size: 1rem;
	box-shadow: 0px 4px 10px 2px #0c1a34b8;
}

.enviar:hover {
	background: var(--verdeClaro);
	color: var(--blanco);
	box-shadow: none;
}
.leermas {
	background: var(--azul);
	width: 120px;
	padding: 7px;
	border: 0;
	border-radius: 0;
	color: var(--blanco);
	font-size: 1rem;
}

.leermas:hover {
	background: var(--verdeClaro);
	color: var(--azul);
}

/* NOTICIAS */
/* Estilo específico para el hero de noticias */
#noticias.noticias-hero .hero-container {
	height: 40vh;
	min-height: 400px;
}

#noticias.noticias-hero .carousel-background {
	height: 100%;
}

#noticias.noticias-hero .hero-caption {
	top: 70%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 80%;
}

.azulblanco {
	background: var(--azul);
	color: var(--blanco);
}

.icon-circle {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: var(--azul);
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 40px; /* Tamaño del icono */
	margin: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra opcional */
}

/* Opcional: efecto hover */
/* .icon-circle:hover {
	background-color: #2980b9;
	transform: scale(1.05);
	transition: all 0.3s ease;
} */

.service-highlights {
	margin-bottom: 50px;
}
.text-primary {
	color: var(--azul) !important;
}

.services-nav {
	border-radius: 10px;
	padding: 20px;
	background: #0000ff0f;
}

.services-nav .nav-link {
	color: var(--azul);
}

.services-nav .nav-link:hover,
.services-nav .nav-link.active {
	color: var(--verdeClaro);
}

/* Estilos para desktop (asegurar que el orden sea correcto) */
@media (min-width: 768px) {
	.flex-md-row {
		flex-direction: row !important;
	}
}

.page-link {
	color: var(--azul);
}

.pagination .page-item.active .page-link {
	background-color: var(--azul);
	border-color: var(--azul);
}

/* Estilos para el navbar en desktop */
@media (min-width: 992px) {
	/* Estado inicial del navbar sin scroll */
	.navbar {
		background-color: transparent;
		box-shadow: none;
	}

	/* Estado inicial del logo sin scroll */
	.logo {
		height: 180px;
	}

	/* Estilos para el navbar y logo al hacer scroll */
	.navbar.scrolled {
		background-color: var(--blanco); /* #fff */
		box-shadow: -2px 7px 17px 0px #a0a0a0;
	}

	.navbar.scrolled .logo {
		height: 85px;
	}
}

/* OFRECEMOS */
.card-3d {
	border-radius: 12px;
	padding: 30px 25px;
	color: #fff;
	box-shadow: 0 6px 5px rgba(0, 0, 0, 0.25);
	transition: all 0.3s ease;
	transform: translateY(0);
	/* font-family: "Roboto", sans-serif; */
}

.card-3d h3 {
	color: var(--blanco);
	font-weight: 600;
	font-size: 1.8rem;
	margin-bottom: 15px;
	/* text-transform: uppercase; */
}

.card-3d p {
	font-size: 1.1rem;
	margin: 0;
}

/* Colores */
.card-3d.green {
	background: linear-gradient(to bottom, #0a660a, #308930);
	margin-top: 30px;
}
/* .card-3d.green {
	background: linear-gradient(to bottom, #53a54e, #3f8744);
} */

.card-3d.blue {
	background: linear-gradient(to bottom, #5077a6, #3d6089);
	margin-top: 30px;
}

/* Efecto Hover */
.card-3d:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.35);
	filter: brightness(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
	.card-3d {
		margin-bottom: 20px;
	}
}

#servicios h2 {
	color: #ffffff;
}

/* ¿Porqué elegirnos? */

.card-vertical {
	border-radius: 18px;
	padding: 35px 30px;
	color: #fff;
	height: 100%;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
	position: relative;
	overflow: hidden;

	/* Transición suave para el hover */
	transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, filter 0.25s ease-out;
}

.card-vertical h3 {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.25;
	text-align: center;
	color: var(--blanco);
	align-content: center;
}

.card-vertical ul {
	padding-left: 1.2rem;
	margin-top: 20px;
}

.card-vertical ul li {
	margin-bottom: 12px;
	font-size: 1.3rem;
}

/* Línea divisoria central */
.divider {
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, 0.65);
	margin: 15px 0 10px 0;
}

/* COLORES EXACTOS (azul y verde) */
.card-vertical.blue {
	background-color: #084e73;
}

.card-vertical.green {
	background-color: #358133;
}

/* Responsive */
@media (max-width: 768px) {
	.card-vertical {
		padding: 28px 22px;
	}
}

.card-vertical:hover {
	transform: translateY(-3px) scale(1.01); /* antes -6px y 1.02 */
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24); /* sombra más soft */
	filter: brightness(1.02); /* antes 1.05 */
}

.vermas-hero {
	text-align: center;
	text-decoration: none;
	background: var(--azul);
	width: 120px;
	padding: 7px;
	border: 0;
	border-radius: 0;
	color: var(--blanco);
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.6s ease;

	/* 🔥 Cambios clave para alinearlos lado a lado */
	display: inline-block;
	margin: 0 6px;
}

.vermas-hero:hover {
	background: var(--oscuro);
	color: var(--blanco);
}

.vermas-hero-verde {
	text-align: center;
	text-decoration: none;
	background: var(--verdeClaro);
	width: 120px;
	padding: 7px;
	border: 0;
	border-radius: 0;
	color: var(--blanco);
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.6s ease;

	/* 🔥 Cambios clave para alinearlos lado a lado */
	display: inline-block;
	margin: 0 6px;
}

.vermas-hero-verde:hover {
	background: var(--oscuro);
	color: var(--blanco);
}

/* Com_Eq */
#com_eq {
	position: relative;
	background-image: url(../img/com_eq.jpg) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	overflow: hidden; /* por si acaso */
}

/* Overlay azul encima del fondo */
#com_eq::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.84);
	z-index: 0;
}

/* Asegura que el contenido quede sobre el overlay */
#com_eq .container {
	position: relative;
	z-index: 1;
}

/* Elegirnos */
#elegirnos {
	position: relative;
	background-image: url(../img/porque.jpg) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	overflow: hidden; /* por si acaso */
}

/* Overlay azul encima del fondo */
#elegirnos::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.84);
	z-index: 0;
}

/* Asegura que el contenido quede sobre el overlay */
#elegirnos .container {
	position: relative;
	z-index: 1;
}

/* Servicios */
#servicios {
	background-color: #04466e;
}
/* #servicios {
	position: relative;
	background-color: #04466e;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	overflow: hidden; /* por si acaso
}

@media (min-width: 768px) {
	#servicios {
		background-image: url(../img/servicios.jpg);
	}
} */

/* whatsapp */
/* Botón flotante WhatsApp */
#whatsappBtn {
	position: fixed;
	right: 80px; /* a la izquierda del scrollUpBtn (que está en right: 20px) */
	top: 90%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #25d366; /* verde WhatsApp */
	color: #ffffff;
	font-size: 24px;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
	z-index: 999;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

#whatsappBtn i {
	line-height: 50px;
}

/* Hover efecto suave */
#whatsappBtn:hover {
	transform: translateY(-50%) scale(1.07);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
	opacity: 0.9;
}

/* Flotante correo */
/* Botón flotante Email */
#emailBtn {
	position: fixed;
	right: 140px; /* a la izquierda del WhatsApp (80px) y del scrollUp (20px) */
	top: 90%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #595b67; /* color cálido para email, cámbialo si quieres */
	color: #ffffff;
	font-size: 22px;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
	z-index: 999;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease,
		background-color 0.2s ease;
}

#emailBtn i {
	line-height: 50px;
}

/* Hover efecto suave */
#emailBtn:hover {
	transform: translateY(-50%) scale(1.07);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
	opacity: 0.9;
}

@media (max-width: 992px) {
	#presentacion img.img-fluid {
		display: none !important;
	}
}

/* Responsive */
@media (max-width: 991.98px) {
	.navbar {
		padding: 10px 0;
		background-color: var(--blanco);
	}

	/* .logo {
		height: 50px;
	} */

	.carousel-caption h1 {
		font-size: 2.5rem;
	}

	.carousel-caption p {
		font-size: 1.2rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.hero-caption h1 {
		font-size: 2.5rem;
	}
	section h2 {
		font-size: 2.5rem;
	}

	.card-3d h3 {
		font-size: 1.5rem;
	}
}

@media (max-width: 767.98px) {
	.carousel-section {
		height: 80vh;
	}

	.carousel-caption h1 {
		font-size: 2rem;
	}

	.carousel-caption p {
		font-size: 1rem;
	}

	#presentacion,
	#productos,
	#contacto {
		padding: 70px 0;
	}

	.section-title {
		font-size: 1.8rem;
	}

	section h2 {
		font-size: 2.5rem;
	}
}

@media (max-width: 575.98px) {
	.carousel-section {
		height: 70vh;
	}

	.carousel-caption h1 {
		font-size: 1.8rem;
	}

	.carousel-caption p {
		font-size: 0.9rem;
	}

	.btn-lg {
		padding: 8px 20px;
		font-size: 0.9rem;
	}
}

#elegirnos .card-vertical p {
	font-size: 1rem;
}

/* OFRECEMOS */
.card-3d2 {
	border-radius: 12px;
	padding: 30px 25px;
	color: #fff;
	box-shadow: 0 6px 5px rgba(0, 0, 0, 0.25);
	transition: all 0.3s ease;
	transform: translateY(0);
	/* font-family: "Roboto", sans-serif; */
}

.card-3d2 h3 {
	color: var(--blanco);
	font-weight: 600;
	font-size: 1.8rem;
	margin-bottom: 15px;
	/* text-transform: uppercase; */
}

.card-3d2 p {
	font-size: 1.1rem;
	margin: 0;
}

/* Colores */
.card-3d2.green {
	background: linear-gradient(to bottom, #0a660a, #308930);
	margin-top: 30px;
}
/* .card-3d.green {
	background: linear-gradient(to bottom, #53a54e, #3f8744);
} */

.card-3d2.blue {
	background: linear-gradient(to bottom, #5077a6, #3d6089);
	margin-top: 30px;
}

/* Efecto Hover */
.card-3d2:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.35);
	filter: brightness(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
	.card-3d2 {
		margin-bottom: 20px;
	}
}

.card-3d2 {
	border-radius: 12px;
	padding: 30px 25px;
	color: #fff;
	box-shadow: 0 6px 5px rgba(0, 0, 0, 0.25);
	transition: all 0.3s ease;
	transform: translateY(0);
	position: relative; /* 👈 IMPORTANTE */
}

/* Palometa arriba, centrada */
.card-3d2 .palometa {
	position: absolute;
	top: -45px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	pointer-events: none;
	z-index: 2;
}

@media (max-width: 768px) {
	.card-3d2 .palometa {
		top: -35px;
		width: 50px;
	}
}

footer .credenciales img {
	height: 70px;
	width: auto;
	transition: transform 0.3s ease;
}

footer .credenciales img:hover {
	transform: scale(1.1);
}

#inicio .hero-caption p {
	margin-bottom: 6rem;
}

#com_eq h2 {
	text-align: left;
	font-size: 2.5rem;
	font-weight: 500;
}

@media (max-width: 768px) {
	#inicio .hero-caption p {
		margin-bottom: 2rem;
	}
	#com_eq h2 {
		font-size: 2.1rem !important;
	}
}
