* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Arimo", sans-serif;
  background-color: #ffffff;
  color: #333;
  padding-top: 70px;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 9999;
}
.logo img {
  height: 50px;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}
nav ul li a {
  text-decoration: none;
  color: #002d72;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #c8102e;
}
.lang-toggle {
  background: none;
  border: 2px solid #002d72;
  color: #002d72;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
}
header.banner {
  background: url("../img/banner.png") no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
header.banner h1 {
  font-family: "Arimo", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 12px;
  max-width: 90%;
}
.sub-banner {
  background-color: #c8102e;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 500;
}
section {
  padding: 60px 20px;
}
h2 {
  font-family: "Arimo", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #002d72;
  border-bottom: 3px solid #c8102e;
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
}
/* Clase para quitar la línea divisoria en títulos específicos */
h2.no-border {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 30px;
}
p.section-desc {
  font-size: 1.2rem;
  color: #444;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.catalog-item {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  font-family: "Arimo", sans-serif;
  font-weight: 700;
  color: #002d72;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.catalog-item i {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #c8102e;
  display: block;
}
.catalog-item:hover {
  background-color: #c8102e;
  color: #fff;
}
.catalog-item:hover i {
  color: #fff;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.feature {
  background-color: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  text-align: center;
}
.feature h3 {
  color: #c8102e;
  font-family: "Arimo", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.feature p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}
#contacto form {
  background-color: #002d72;
  padding: 40px 30px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
}
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}
form button {
  background-color: #c8102e;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}
form button:hover {
  background-color: #8a0b1a;
}
footer {
  background-color: #222;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer-column {
  flex: 1 1 250px;
}
.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: "Arimo", sans-serif;
}
@media (max-width: 768px) {
  .features,
  .catalog,
  .footer-container {
    flex-direction: column;
    display: flex;
  }
}

.animated-title {
  display: inline-block;
  transform: scale(0.8);
  opacity: 0;
  animation: scaleIn 1.5s ease-out forwards;
}

@keyframes scaleIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*-- GBossero --*/
.mensaje-estado {
  display: none;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 20px;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.mensaje-exito {
  background-color: #28a745;
  color: white;
}

.mensaje-error {
  background-color: #dc3545;
  color: white;
}

.mensaje-oculto {
  opacity: 0;
}

.language-dropdown {
  position: relative;
  display: inline-block;
  font-family: "Arimo", sans-serif;
}
.language-dropdown button {
  background: none;
  border: 2px solid #002d72;
  color: #002d72;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-menu {
  position: absolute;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.lang-menu li img {
  width: 20px;
  height: auto;
  border-radius: 3px;
}
.lang-menu li:hover {
  background-color: #f0f0f0;
}
.hidden {
  display: none;
}

footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}

.footer-column p,
.footer-column a {
  color: #ccc;
  text-decoration: none;
  margin: 5px 0;
  display: block;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

.footer-bottom {
  margin-top: 30px;
  color: #aaa;
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-column {
    align-items: center;
  }
}

/* GBossero */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #002d72;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }

  .nav-links.show {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-left: 20px;
  }

  .lang-toggle {
    margin-top: 10px;
  }
}
