
  <link rel="stylesheet" href="estilos.css?v=2.1">
  <script src="script.js?v=1.1" defer></script>

/* === Estilos generales === */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
}


/* 💠 Estilo general del header */
header {
  background-color: #003366;
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  text-align: center;
  box-sizing: border-box;
}

/* 💠 Estilo header cig  */
header2 {
  background-color: hsl(180, 100%, 99%);
  color: rgb(16, 1, 1);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
  text-align: center;
  box-sizing: border-box;
}

/* 🖼️ Estilo del logo responsivo en el header 2 */
header2 img {
  max-width: 130%;
  max-height: 200px;
  height: auto;
  width: auto;
  flex-shrink: 1;
  transition: all 0.3s ease-in-out; /* animación suave opcional */
}


/* 🖼️ Estilo del logo responsivo */
header img {
  max-width: 100%;
  max-height: 100px;
  height: auto;
  width: auto;
  flex-shrink: 1;
  transition: all 0.3s ease-in-out; /* animación suave opcional */
}

/* 📝 Título principal */
header h1 {
  font-size: 2rem;
  margin: 0;
}

/* 📄 Subtítulo */
header p {
  font-size: 1.1rem;
  margin: 0.5rem 0 0;
}

/* 📱 Ajustes para pantallas pequeñas */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
    padding: 1.5rem 1rem;
  }

  header img {
    max-width: 250px;
    max-height: 80px;
    margin: 0 auto;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 1rem;
  }
}


nav {
  background-color: #005599;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* === Sección de servicios como tarjetas === */
.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.servicio-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1.5rem;
  max-width: 300px;
  flex: 1 1 260px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.servicio-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.servicio-card h3 {
  margin-top: 0.5rem;
  color: #003366;
}

.servicio-card p {
  color: #555;
  font-size: 0.95rem;
}

.nota-servicio {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: #444;
}

/* === Secciones generales === */
section {
  padding: 2rem;
  background-color: white;
  margin: 1rem auto;
  max-width: 1000px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* === Pie de página === */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* === Responsivo para pantallas pequeñas === */
@media (max-width: 768px) {
  nav ul li {
    display: block;
    margin: 0.5rem 0;
  }

  .servicios-grid {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 1rem;
    margin: 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 1rem;
  }
}

.img-fija-derecha {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  z-index: 999;
  pointer-events: none;
}

.img-fija-derecha {
  pointer-events: auto;
}

@media screen and (max-width: 768px) {
  .img-fija-derecha {
    position: static;
    transform: none;
    width: 100%;
    margin: 10px auto;
    display: block;
  }
}

