/* Paleta de colores brochure */
:root {
  --color-rojo: #C62828;
  --color-negro: #212121;
  --color-gris: #f5f5f5;
  --color-blanco: #ffffff;
}

/* General */
body {
  background: var(--color-blanco);
  color: var(--color-negro);
  font-family: "Open Sans", sans-serif;
}

/* Títulos */
.section-header h3 {
  color: var(--color-rojo);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: .5rem;
}
.section-header h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-rojo);
  margin-top: .5rem;
  margin-left: auto;
  margin-right: auto;
}

/* Subtítulos */
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--color-negro);
}

/* Hero Overlay */
#hero .carousel-item::before {
  background: rgba(0,0,0,0.4);
}
#hero h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
}
#hero p {
  color: #eeeeee;
}

/* Botones */
.btn-outline-danger {
  border: 2px solid var(--color-rojo);
  color: var(--color-rojo);
  border-radius: 50px;
}
.btn-outline-danger:hover {
  background: var(--color-rojo);
  color: #fff;
}

/* Valores */
#valores .list-group-item {
  background: var(--color-gris);
  border-left: 4px solid var(--color-rojo);
  border-radius: 4px;
}

/* Servicios */
#servicios .service-card img {
  border-radius: 4px;
  margin-bottom: 15px;
}
#servicios .service-card h4 {
  color: var(--color-rojo);
}

/* Footer */
#footer {
  background: var(--color-negro);
  color: var(--color-blanco);
}
#footer h3, #footer h4 {
  color: var(--color-rojo);
}
#footer a {
  color: #fff;
}







/* Cambiar header al azul brochure */
#header {
  background:  #9aa5b1;
}

/* Cuando scrolleas, también azul brochure */
#header.header-scrolled {
  background:  #9aa5b1;
}

/* Cambiar footer al azul brochure */
#footer {
  background: #9aa5b1; /* gris azulado medio */
  color: #f2f2f2; /* texto base más suave que blanco puro */
  font-size: 15px;
  padding: 40px 0 30px 0; /* padding inferior agregado */
}

#footer p,
#footer a {
  color: #f2f2f2;
  font-weight: 400;
}

#footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#footer h3,
#footer h4 {
  color: #C62828;
  font-weight: 700;
  text-transform: uppercase;
}

#footer h4 {
  border-bottom: 2px solid #C62828;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

#footer .social-links a {
  background: #003366;
  color: #ffffff;
  font-size: 20px;
  display: inline-block;
  line-height: 1;
  padding: 8px 0;
  margin-right: 8px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: background 0.3s;
}

#footer .social-links a:hover {
  background: #C62828;
  color: #ffffff;
  text-decoration: none;
}

#footer .footer-info img {
  margin-bottom: 10px;
  max-width: 100%;
  height: auto;
}


#hero .carousel-item::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.6); /* Más oscuro para mejor contraste */
}

#hero h2 {
  color: #ffffff;
  font-size: 3rem; /* 48px */
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Sombra suave */
}

#hero p {
  color: #eeeeee;
  font-size: 1.25rem; /* 20px */
  max-width: 600px;
  margin: 0 auto;
}

#hero .btn {
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
}

@media (max-width: 767px) {
  #hero h2 {
    font-size: 2rem; /* 32px */
  }
  #hero p {
    font-size: 1rem; /* 16px */
  }
}


#hero .carousel-item::before {
  content: "";
  position: absolute;
  top:0; right:0; bottom:0; left:0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}


.quienes-somos-box {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

#quienes-somos p {
  color: #333;
  font-size: 1.05rem;
}



#mission-vision .card {
  border: none;
  background: #ffffff;
  border-radius: 8px;
}

#mission-vision h4 {
  color: #003366;
  font-size: 1.3rem;
}

#mission-vision p {
  color: #333;
  font-size: 1.05rem;
}















#valores ul li {
  font-size: 1.05rem;
  line-height: 1.6;
}

#valores ul li b {
  color: #ffffff;
}









.decorativo-brochure {
  position: relative;
  height: 30px; /* altura franja azul */
  background: #003366;
  margin-bottom: 2rem;
}

/* Línea roja superior */
.decorativo-brochure::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0; /* empieza desde la derecha */
  width: 60%; /* ancho de la línea */
  height: 6px;
  background: #C62828;
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Línea roja inferior */
.decorativo-brochure::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0; /* empieza desde la izquierda */
  width: 60%;
  height: 6px;
  background: #C62828;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}
