
@charset "utf-8";
/* CSS Document */



@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body{	
	overflow-x: hidden;
	min-height: 100%;
	font-family: "Poppins", sans-serif;
}


/* ------ SMOOTH SCROLLING ------ */
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ------ UP ARROW ------ */
.ir-arriba {
	padding:10px;
	display:inline-block;
	background-color: rgba(32, 54, 99, 0);
	color:#fff;
	position: fixed;
	font-size:20px;
	bottom:20px;
	left:20px;
	display:none;
	cursor:pointer;
	 border-radius: 50%;
	z-index:99999999;
}

.text-justify {
  text-align: justify !important;
}

.m-navbar{
  padding-top: 150px !important;
}



/* General navbar */
.navbar {
  background-color: #ffffff; /* fondo blanco corporativo */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* sombra sutil */
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: all .3s ease-in-out;
}


.navbar-brand .logo-size {
  height: 100px; 
  transition: transform .3s ease;
  padding: 10px 0px !important;

}
.navbar-brand:hover .logo-size {
  transform: scale(1.05);
}

/* Links */
.navbar .nav-link {
  font-weight: 500;
  color: #333333;
  padding: 0.75rem 1rem;
  transition: color .2s ease, background-color .2s ease;
  position: relative;
}

/* Hover links */
.navbar .nav-link:hover {
  color: #0b5d1e; /* verde corporativo (puedes cambiarlo) */
}

/* Indicador en el activo */
.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:active {
  color: #0b5d1e;
  font-weight: 600;
}
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0.35rem;
  height: 2px;
  background-color: #0b5d1e;
  border-radius: 2px;
}

/* Responsive */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  filter: invert(40%); /* hace visible el ícono en fondo claro */
}

/* Ajuste en mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0 0 .5rem .5rem;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.05);
  }
  .navbar .nav-link {
    padding: 0.5rem 0;
  }

  .navbar-brand .logo-size {
  height: 50px; 
  transition: transform .3s ease;
  padding: 5px 0px !important;

}
}


/* ------ Banner principal ------ */
.banner {
  position: relative;
  background: url('https://energeticosalianza.com.mx/muestra/imagenes/banner.jpg') center center / cover no-repeat;
  color: #fff;
  min-height: 100vh; /* altura pantalla completa */
  display: flex;
  align-items: center;
  text-align: center;
}

/* Overlay verde oscuro translúcido */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 107, 137, 0.6); /* verde oscuro con opacidad */
  z-index: 1;
}

/* Contenido */
.banner .container {
  position: relative;
  z-index: 2;
}

/* Value chip */
.value-chip {
  display: inline-block;
  background: rgba(227, 10, 8, 0.9);
  padding: .5rem 1rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Título */
.banner h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}
@media (min-width: 992px) {
  .banner h1 {
    font-size: 3.25rem;
  }
}

/* Texto destacado */
.banner h1 .text-success {
  color: #E30A08 !important;
}

/* Párrafo */
.banner p.lead {
  max-width: 850px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Botones */
.banner .btn {
  padding: .75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
}
.banner .btn-success {
  background-color: #E30A08;
  border: none;
}
.banner .btn-success:hover {
  background-color: #1a9f4a;
}
.banner .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.15);
}

/* ----- NOSOTROS ------ */

#nosotros {
  background: #f8f9fa;
}

#nosotros h2 {
  color: #E30A08; /* Verde institucional */
}

#nosotros p.lead {
  font-size: 1.2rem;
  line-height: 1.6;
}

#nosotros img {
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform .3s ease;
}

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




.servicios{
  padding: 140px 10px;
}

#servicio-integral .card {
  transition: transform .3s ease, box-shadow .3s ease;
  border-radius: 1rem;
}
#servicio-integral .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.1);
}

#servicio-integral .icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: #0b5d1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
#servicio-integral h2 {
  color: #0b5d1e;
}



/* ----- Garantias ------ */
#garantias {
  background-color: #006B89;
  padding: 80px 10px;
}
#garantias h2 {
  color: #ffffff;
}
#garantias p.text-muted {
  color: #ffffff !important;
}

/* Cards */
#garantias .card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-radius: 1rem;
  border: 1px solid #e9ecef;
}
#garantias .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
  border-color: #E30A08; /* borde rojo al hover */
}

/* Círculo de ícono */
#garantias .icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: #858388; /* azul base */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .3s ease;
}
#garantias .card:hover .icon-circle {
  background: #E30A08; /* rojo en hover */
}

/* Títulos de card */
#garantias .card-title {
  color: #858388;
  font-weight: 600;
  margin-top: .75rem;
}

/* Texto de card */
#garantias .card-text {
  color: #006B89;
  font-size: 0.95rem;
}





/* Sección Abastecimiento */
#abastecimiento .card {
  border-radius: 1rem;
}

#abastecimiento .icon-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #006B89; /* azul base */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  transition: background .3s ease;
}

#abastecimiento li:hover .icon-check {
  background-color: #E30A08; /* rojo en hover */
}

#abastecimiento span {
  color: #333;
}

#abastecimiento p.text-muted {
  color: #858388 !important;
}



/* Cards y textos */
#contacto{
 padding: 80px 10px;

}


#contacto .card { border-radius: 1rem; }
#contacto .text-muted { color: #858388 !important; }

/* Iconos de la columna izquierda */
#contacto .contact-icon{
  width: 40px; height: 40px; border-radius: 50%;
  background: #006B89; color: #fff;
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}
#contacto .link-contact{
  color:#006B89; text-decoration:none; font-weight:600;
}
#contacto .link-contact:hover{ color:#E30A08; }

/* Botón WhatsApp y primarios (acento corporativo) */
.btn-whatsapp{
  background:#25D366; color:#fff; border:none;
}
.btn-whatsapp:hover{ background:#1ebe57; color:#fff; }
.btn-primary{
  background:#006B89; border-color:#006B89;
}
.btn-primary:hover{
  background:#00546b; border-color:#00546b;
}
.btn-outline-primary{
  color:#006B89; border-color:#006B89;
}
.btn-outline-primary:hover{
  color:#fff; background:#006B89; border-color:#006B89;
}
.link-privacy{ color:#006B89; }
.link-privacy:hover{ color:#E30A08; }

/* Imagen del bloque inferior (si usas img en vez de mapa) */
.object-fit-cover{ object-fit: cover; }




#footer {
  background-color: #006B89; /* azul base */
  color: #fff;
}

#footer a {
  color: #fff;
  text-decoration: none;
  transition: color .3s ease;
}

#footer a:hover {
  color: #E30A08; /* rojo acento */
}

#footer ul.list-inline {
  padding-left: 0;
}

#footer ul.list-inline li {
  margin: 0 8px;
}

#footer .footer-link {
  color: #fff;
}

#footer .footer-link:hover {
  color: #E30A08;
}


/* Midbanner */
.midbanner {
  position: relative;
  background: url('https://energeticosalianza.com.mx/muestra/imagenes/pipa.jpg') center center/cover no-repeat;
  min-height: 50vh; /* altura intermedia */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay oscuro */
.midbanner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* oscurece la imagen */
  z-index: 1;
}

.midbanner .container {
  position: relative;
  z-index: 2;
}

/* Texto */
.midbanner h2 {
  font-size: 2rem;
  color: #fff;
}
.midbanner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Botón con colores corporativos */
.midbanner .btn-primary {
  background-color: #E30A08; /* rojo corporativo */
  border: none;
}
.midbanner .btn-primary:hover {
  background-color: #b70907; /* tono más oscuro */
}
