body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
}

header {
  background-color: #003857;
  color: #d3d3d3;
  top: 20px;
  position:static;
  left: 0;
  width: 100%;
  z-index: 10;
}

.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.logo img {
  height: 32px;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-grow: 1;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links a {
  color: #d3d3d3;
  text-decoration: none;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.coop-button {
  background-color: #6bb9da;
  color: #003857;
  border: none;
  padding: 6px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin: 0px 40px 0px 0px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.coop-button:hover {
  background-color: #559ccf;
}

.social-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff20;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}

.social-btn:hover {
  background-color: #ffffff40;
  transform: scale(1.1);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: #6bb9da;
}

/* Sección principal con imagen de fondo */
.hero {
  position: relative;
  background-image:url('../imagenes/paraSlid.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  display: flex;
  padding: 40px 20px;
  padding-top: 100px;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
}

.hero-overlay h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

#asociados {
  margin-top: -10px;
  background: white;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  text-align: center;
  color:#006399;
}

/* === FACTURAS SECTION ACTUALIZADO === */

.facturas-section {
  background-color: #003857;
  color: white;
  padding: 10px 10px;
  margin-top: 10px;
  height: 350px;
  overflow: hidden;
}

.facturas-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1024px;
  margin: 0 auto;
  align-items: start;
  justify-content: left;
  gap: 20px;
  height: 100%;
}

.facturas-img img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

.facturas-img {
  flex: 1 1 350px;
  max-width: 350px;
  display: flex;
  align-items: center;
  justify-content: left;
  height: 100%;
}

.facturas-text {
  flex: 1 1 350px;
  max-width: 350px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 10px;
  box-sizing: border-box;
  text-align: left;
}

.facturas-text h2 {
  font-size: 2em;
  color: #b9e8ff;
  margin-bottom: 10px;
}

.facturas-text strong {
  color: #ffffff;
}

.facturas-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  width:fit-content;
}

.facturas-btn:hover {
  background-color: white;
  color: #003954;
}

#novedades-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.titulo-novedades {
  font-size: 2rem;
  color: #1f5c8d;
  margin-bottom: 30px;
}

.grid-novedades {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.novedad-card {
  width: 100%;
  max-width: 450px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.novedad-card h3 {
  color: #1363a0;
  font-size: 1.1rem;
}

.novedad-card p {
  font-size: 0.95rem;
  color: #555;
}

.novedad-link {
  font-size: 0.85rem;
  color: #1378c0;
  font-weight: bold;
  text-decoration: none;
}

.icon-bar {





  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #003857;
  padding: 20px 80px;
  /* más padding lateral */
  gap: 30px;
  /* menor separación entre íconos */

  margin: 0 auto;
  /* centra el bloque en la página */
}

.icon-item {
  display: block;
  width: 190px;
  /* ajustá según tamaño real de tus imágenes */
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
}

.telefono {
  background-image: url('../imagenes/atajoTelefonos.jpg');
}

.horarios {
  background-image: url('../imagenes/atajoDiasHorarios.jpg');
}

.factura {
  background-image: url('../imagenes/atajoFactura.jpg');
}

.estudia {
  background-image: url('../imagenes/atajCAU.jpg');
}

.telefono:hover {
  background-image: url('../imagenes/atajoTelefonos_hover.jpg');
}

.horarios:hover {
  background-image: url('../imagenes/atajoDiasHorarios_hover.jpg');
}

.factura:hover {
  background-image: url('../imagenes/atajoFactura_hover.jpg');
}

.estudia:hover {
  background-image: url('../imagenes/atajCAU_hover.jpg');
}

.footer {
  position: relative;
  background-color: #f4f4f4;
  padding: 2px 0;
  text-align: center;
  border-top: 4px solid #004b6b;  
  z-index: 1;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons svg {
  transition: transform 0.2s;
}

.social-icons a:hover svg {
  transform: scale(1.2);
}

.social-icons a svg {
  background-color: #004b6b;
  border-radius: 50%;
  padding: 4px;
  width: 32px;
  height: 32px;
  fill: white;
}

.footer {
  width: 100%;
  background-color: #f2f2f2;
  padding: 20px 0;
}

.footer-content {
  max-width: 1024px;
  margin: 0 auto;
  padding: 10px;
  position: relative; /* Para posicionar la imagen dentro */
}

.social-icons {
  display: flex;
  gap: 16px;
  padding-left: 10px; /* Para entrar un poco los íconos */
}

.footer-decor {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px; /* Ajustá el tamaño según lo que necesites */
  height: auto;
  pointer-events: none; /* Para que no interfiera con clics */
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links,
  .right-section {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #003857;
    padding: 10px 0;
  }

  .nav-links.active,
  .right-section.active {
    display: flex;
  }

  .nav-links {
    align-items: flex-start;
    gap: 10px;
    justify-content: flex-start;
  }

  .right-section {
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start;
  }

  .social-buttons {
    gap: 20px;
  }

  .facturas-section {
    height: auto;
  }

  .facturas-content {
    flex-direction: column;
    height: auto;
  }

  .facturas-img,
  .facturas-text {
    flex: 1 1 100%;
    max-width: 100%;
    height: auto;
    align-items: flex-start;
    text-align: left;
  }

  .grid-novedades {
    flex-direction: column;
    align-items: center;
  }

  .icon-bar {
    flex-direction: column;
    gap: 20px;
  }
}