:root {
	--rojo: #aa3537;
	--azul: #2a77ac;
	--amarillo: #fbb528;
	--oscuro: #242d36;
	--blanco: #fff;
	--gris: #8d8e95;
}

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

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

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

/* Estilos generales */
body {
	font-family: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	color: #2b2926bd;
	overflow-x: hidden;
}

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

p {
	font-size: 1.25em;
}

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

section h2 {
	font-size: 4.5rem;
	color: var(--azul);
	line-height: 1.2;
	text-align: center;
	/* font-family: "Montserrat", sans-serif; */
	font-weight: 400;
	font-style: normal;
}

@keyframes shake {

	/* Define the shaking motion using transform property */
	0% {
		transform: translate(1px, 1px) rotate(0deg);
	}

	10% {
		transform: translate(-1px, -2px) rotate(-1deg);
	}

	20% {
		transform: translate(-3px, 0px) rotate(1deg);
	}

	30% {
		transform: translate(3px, 2px) rotate(0deg);
	}

	40% {
		transform: translate(1px, -1px) rotate(1deg);
	}

	50% {
		transform: translate(-1px, 2px) rotate(-1deg);
	}

	60% {
		transform: translate(-3px, 1px) rotate(0deg);
	}

	70% {
		transform: translate(3px, 1px) rotate(-1deg);
	}

	80% {
		transform: translate(-1px, -1px) rotate(1deg);
	}

	90% {
		transform: translate(1px, 2px) rotate(0deg);
	}

	100% {
		transform: translate(1px, -2px) rotate(-1deg);
	}
}

#servicios h2,
#planes h2 {
	/* font-size: 3.5rem; */
	text-align: left;
	/* font-family: "Montserrat", sans-serif; */
	font-weight: 400;
	font-style: normal;
}

#servicios p {
	text-align: left;
}

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);
	min-height: 80px;
}

.navbar-brand {
	padding: 0;
}

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

.navbar-nav .nav-link {
	font-family: 'Montserrat', sans-serif;
	color: var(--azul);
	font-weight: 500;
	padding: 10px 15px;
	transition: all 0.3s ease;
	position: relative;
	opacity: 0.8;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--azul) !important;
	opacity: 1;
	font-weight: 700;
}

.navbar-nav .nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 15px;
	right: 15px;
	height: 2px;
	background-color: var(--azul);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
	transform: scaleX(1);
}

.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: 35%;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	width: 95%;
	max-width: 1000px;
	z-index: 4;
	color: var(--azul);
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	pointer-events: none;
}

.hero-caption.active {
	opacity: 1;
	pointer-events: auto;
}

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

	to {
		transform: scale(1.1);
	}
}

.hero-caption h1 {
	font-size: 4rem;
	font-weight: 700;
	color: var(--oscuro);
	text-shadow: 1px 1px 2px #000000c7;
	background: #ffffffcc;
	padding: 30px;
	min-height: 250px; /* Estabiliza el espacio para los 3 slides */
	display: flex;
	flex-direction: column;
	justify-content: center;
}

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

.hero-caption p {
	font-size: 1.5rem;
	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;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	pointer-events: none;
}

.carousel-background.active {
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
}

.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 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(255 255 255 / 12%);
	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: 100px 0;
}

#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: 0px 30px 30px 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: var(--oscuro);
	color: var(--blanco);
	padding: 70px 30px 20px 30px;
}

.footer-logo {
	height: 150px;
	width: auto;
	margin-bottom: 20px;
}

.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: var(--amarillo);
}

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

/* .footer-links li,
.footer-contact li {
	margin-bottom: 15px;
} */

.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(--amarillo);
	padding-left: 5px;
}

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

.footer p {
	font-size: 1.1rem;
}

hr {
	border-color: #4d76ff;
}

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

/* 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;
	}

	#servicios h2,
	#planes h2 {
		font-size: 2.5rem;
	}

	/* .hero-caption {
		max-width: 300px;
	} */
}

@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.6rem;
	}
}

@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;
	}
}

#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.3s ease, visibility 0.3s ease;

	/* Hidden by default */
	opacity: 0;
	visibility: hidden;
}

#scrollUpBtn.show {
	opacity: 1;
	visibility: visible;
}

#scrollUpBtn:hover {
	background-color: var(--amarillo);
	/* 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: 1;
}

.nuevapagina {
	text-decoration: none;
	color: var(--amarillo);
}

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

.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(--amarillo);
	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.webp) !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(48 7 8 / 32%);
	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(--amarillo);
	color: var(--oscuro);
	box-shadow: none;
	animation: shake 0.8s;
}

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

.leermas:hover {
	background: var(--amarillo);
	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(--amarillo);
}

/* 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: 100px;
	}

	/* 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: 65px;
	}
}

/* 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: 800;
	font-size: 1.6rem;
	margin-bottom: 10px;
	text-transform: uppercase;
}

/* Para pantallas de 900px o menos */
@media (max-width: 998px) {
	.card-3d h3 {
		font-size: 1.3rem;
	}
}

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

/* Colores */
.card-3d.red {
	background: linear-gradient(to bottom, #8d2c2e, #aa3537);
	margin-top: 20px;
}

.card-3d.yellow {
	background: linear-gradient(to bottom, #b58627, #b78218);
	margin-top: 20px;
}

.card-3d.blue {
	background: linear-gradient(to bottom, #22689a, #2d77ac);
	margin-top: 20px;
}

/* 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;

	/* Asegurar que el botón esté al frente y sea clicable */
	position: relative;
	z-index: 10;
}

.vermas-hero:hover {
	background: var(--amarillo);
	color: var(--oscuro);
	animation: shake 0.8s;
}

.vermas-hero-rojo {
	text-align: center;
	text-decoration: none;
	background: var(--rojo);
	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;

	/* Asegurar que el botón esté al frente y sea clicable */
	position: relative;
	z-index: 10;
}

.vermas-hero-rojo:hover {
	background: var(--amarillo);
	color: var(--oscuro);
	animation: shake 0.8s;
}

.vermas-hero-amarillo {
	text-align: center;
	text-decoration: none;
	background: #bb8432;
	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-amarillo:hover {
	background: var(--amarillo);
	color: var(--oscuro);
	animation: shake 0.8s;
}

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

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

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

#com_eq img {
	opacity: 1;
	width: 400px;
	height: auto;
	margin: 0 auto;
	display: block;
	border-radius: 10px;
	box-shadow: -1px 3px 5px 2px rgb(0 0 0 / 42%);
}

/* Elegirnos */
#elegirnos {
	position: relative;
	background-image: url(../img/porque.webp) !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;
}

/* Presentación */
/* Presentación (escritorio por defecto) */
#presentacion {
	position: relative;
	background-image: url(../img/fdo-bg.webp) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	overflow: hidden;
	/* por si acaso */
}

/* Overlay blanco encima del fondo */
#presentacion::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(255 255 255 / 87%);
	z-index: 0;
}

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

/* Móviles y tablets: usar fondo móvil */
@media (max-width: 991.98px) {
	#presentacion {
		background-image: url(../img/fdo-bg-movil.webp) !important;
		background-position: center top !important;
	}
}

/* Servicios */
#servicios {
	background-color: var(--oscuro);
}

/* #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.webp);
	}
} */

/* 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: var(--rojo);
	/* 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;
}

#presentacion img {
	margin-top: 6rem;
	height: 9rem;
	width: auto;
	margin: 0px auto;
	opacity: 0.3;
}

@media (max-width: 991.98px) {
	#presentacion img {
		height: 6rem;
	}

	.hero-caption {
		top: 30%;
	}

	.hero-caption h1 {
		font-size: 2.5rem;
		font-family: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
			sans-serif;
	}

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

nav .nav-link {
	font-size: 1.1rem;
}

.valores {
	margin-top: 1rem;
}

.valores h3 {
	font-size: 2.2rem;
	font-weight: 400;
}

.valores ul {
	font-size: 1.25em;
}

.valores .val {
	padding-left: 7px;
	padding-right: 7px;
}

#presentacion .val img {
	opacity: 1;
	width: 400px;
	height: auto;
	margin: 0 auto;
	display: block;
	border-radius: 10px;
	box-shadow: -1px 3px 5px 2px rgb(0 0 0 / 42%);
}

.serv {
	align-content: center;
}

.precio {
	background-color: #242d36b5;
	color: var(--color-blanco);
	padding: 1rem;
	border-radius: 10px;
}

#contacto p {
	padding: 10px 20px;
	background-color: #08253563;
	color: var(--blanco);
	border-radius: 5px;
	text-align: justify;
}