/* Reset básico */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', sans-serif;
	line-height: 1.6;
	color: #2c3e50;
}

/* Navbar */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 1rem;
}

.nav-links a {
	text-decoration: none;
	color: #2c3e50;
	font-weight: 500;
}

.btn-cta {
	background: #e74c3c;
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 6px;
}

/* Hero */
.hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3rem 2rem;
	background: #f9f9f9;
}

.hero-text {
	max-width: 50%;
}

.hero-text h1 {
	font-size: 2.5rem;
	color: #e74c3c;
}

.hero-text h2 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

.hero-image {
	flex: 1;
	position: relative;
	overflow: hidden;
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Desvanecimiento hacia la derecha */
	mask-image: linear-gradient(to left, black 60%, transparent 100%);
	-webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.cta-buttons {
	margin-top: 1rem;
}

.btn-primary {
	background: #27ae60;
	color: #fff;
	padding: 0.7rem 1.2rem;
	border-radius: 6px;
	text-decoration: none;
}

.btn-secondary {
	background: #3498db;
	color: #fff;
	padding: 0.7rem 1.2rem;
	border-radius: 6px;
	text-decoration: none;
	margin-left: 0.5rem;
}

/* Beneficios */
.beneficios {
	display: flex;
	justify-content: space-around;
	padding: 2rem;
	background: #fff;
}

.stat strong {
	font-size: 2rem;
	color: #e74c3c;
}

.stat span {
	display: block;
	margin-top: 0.5rem;
}

.p-2rem{
	padding: 2rem;
}

/* Formulario */
.formulario {

	padding: 2rem;
	/*background: #f4f6f7;*/
	/*background:#013f96;*/
	background: #003d96;
	/*background: #1c7938;*/
}

.formulario h2 {
	color: #f9f9f9;
	margin-bottom: 1rem;
}

.formulario form {
	color: #f9f9f9;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.formulario input,
.formulario textarea {
	padding: 0.7rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

/* Mision */
.mision {
	display: flex;
	justify-content: space-around;
	padding: 2rem;
	background: #fff;
}
.valores {
	display: flex;
	justify-content: space-around;
	padding: 2rem;
	background: #fff;
}

.vision {
	display: flex;
	justify-content: space-around;
	padding: 2rem;
	background: #fff;
}
.politica-calidad {
	display: flex;
	justify-content: space-around;
	padding: 2rem;
	background: #fff;
}
.sucursales {
	display: flex;
	justify-content: space-around;
	padding: 2rem;
	background: #fff;
}

/* Footer */
footer {
	text-align: center;
	padding: 2rem;
	/*	background: #2c3e50;*/
	background: #0f172a;
	color: #fff;
}

.logo-img {
	height: 55px;
	/* fuerza la altura */
	width: auto;
	/* mantiene proporción */
	object-fit: contain;
	/* asegura que no se deforme */
}

.navbar {
	height: 70px;
	/* altura del header */
}





/* Responsivo para móviles */
@media (max-width: 768px) {
	body {
		overflow-x: hidden;
	}

	.navbar {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		padding: 0.75rem 0;
		font-size: 1.1rem;
	}

	.logo {
		display: flex;
		justify-content: center;
	}

	.nav-links {
		flex-direction: column;
		align-items: center;
		width: 100%;
		gap: 0.75rem;
	}

	.nav-links li {
		width: 100%;
		text-align: center;
	}

	.nav-links a {
		display: block;
		width: 100%;
		padding: 0.5rem 0;
	}

	.navbar-collapse {
		background: #f9f9f9;
		/* fondo claro para diferenciar */
		padding: 1rem;
		/* aire interno */
		border-radius: 8px;
		/* esquinas suaves */
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	}

	.nav-link {
		display: block;
		padding: 0.75rem;
		margin-bottom: 0.5rem;
		text-align: center;
		font-size: 1.1rem;
	}

	.hero {
		flex-direction: column;
		/* apila texto e imagen */
		text-align: center;
	}

	.hero-text {
		max-width: 100%;
	}

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

	.hero-text h2 {
		font-size: 1.4rem;
	}

	.hero-image img {
		width: 100%;
		height: auto;
		display: block;
	}

	.navbar,
	.hero,
	.beneficios,
	.formulario {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.cta-buttons {
		justify-content: center;
	}

	.cta-buttons a {
		flex: 1 1 auto;
		/* botones ocupan ancho flexible */
		text-align: center;
	}

	.beneficios {
		flex-direction: column;
		gap: 1.5rem;
		justify-content: center;
		text-align: center;
		align-items: center;
	}

	.formulario {
		padding-top: 2rem;
		padding-bottom: 2.5rem;
	}

	/* Título */
	.formulario h2 {
		font-size: 1.5rem;
		line-height: 1.3;
		margin-bottom: 1.5rem;
	}

	/* Labels: más legibles y más cerca del input */
	.formulario .form-label {
		font-size: 1.05rem;
		font-weight: 500;
		margin-bottom: 0.25rem;
	}

	/* Inputs */
	.formulario .form-control {
		font-size: 1rem;
		padding: 0.6rem 0.75rem;
	}

	/* Botón */
	.formulario button {
		font-size: 1.05rem;
		padding: 0.7rem;
	}


	.stat strong {
		font-size: 2rem;
		color: #e74c3c;
	}

	.stat span {
		display: block;
		margin-top: 0.5rem;
	}
}