.hero-image { 
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('fondo.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
}

.btn {
    background-color: #1E40AF; /* azul */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background-color: #1E3A8A;
}

.card-hover:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}
.hero-image {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    position: relative;
}
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* Oscurece el fondo para que el texto se vea mejor */
    z-index: 0;
}
.hero-image > div {
    position: relative;
    z-index: 1;
}
/* --- Modal Calibre --- */
.modal-calibre {
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.close-modal {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}
.footer-bg {
    background:  #1c1c1c;
    color: #fff;
}
.footer-bg h3,
.footer-bg h4,
.footer-bg a,
.footer-bg p,
.footer-bg address {
    color: #fff !important;
}
.footer-bg .social-icons svg {
    fill: #f5fafd;
}
.contacto-bg {
    background: #e9edf6;
}
.contacto-bg h2,
.contacto-bg p {
    color: #222 !important; /* negro suave */
}
.contacto-bg a {
    background: #278ea5;
    color: #fff !important;
    border: none;
    transition: background 0.3s;
}
.contacto-bg a:hover {
    background: #021c1e;
    color: #fff;
}
 /* fondo de la pagina inicio */
body {
    background-color: #e9edf6;
}
 /* fondo de la pagina fin */




