
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}
header {
  background: #000046;
  background: linear-gradient(to right, #1cb5e0, #000046);
  color: white;
  padding: 1em;
  text-align: center;
}
.logo {
  max-width: 200px;
  display: block;
  margin: 0 auto 1em;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 0;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
main {
  padding: 2em;
}
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1em;
}

.about.wide {
  max-width: 100%;
  padding: 2em 3em;
}
.grid-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.icon-card {
  flex: 1 1 240px;
  background: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.icon-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.5em;
}
.icon-card h3, .icon-card h4 {
  margin: 0.5em 0 0.3em;
}


.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000046;
  padding: 0.5em 1em;
}
.logo-full {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
}
.lang-buttons {
  display: flex;
  gap: 0.5em;
}
.lang-buttons button {
  background-color: #ffffff;
  border: none;
  padding: 0.5em 1em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.lang-buttons button:hover {
  background-color: #e0e0e0;
}


.logo-banner {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
}





.nav-logo img.logo-small {
  max-height: 50px;
  width: auto;
}
.menu {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}
.menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.dropdown {
  position: relative;
}
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  z-index: 1;
  list-style: none;
  padding: 0;
}
  color: white;
  padding: 10px 16px;
  display: block;
  text-decoration: none;
}
  background-color: #444;
}
  display: block;
}
.lang-buttons button {
  margin-left: 0.5em;
  background-color: #fff;
  color: #000046;
  border: none;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}


.nav-logo {
  display: flex;
  align-items: center;
}

.menu {
  margin-left: 0.5em; /* separación de 1cm entre el logo y el primer ítem */
}

  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  z-index: 1;
  list-style: none;
  padding: 0;
}

  display: block;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.menu {
  margin-left: 0.5em; /* mantener 1cm desde el final del logo */
}

.nav-logo {
  margin-right: 0.5em;
}
.menu {
  margin-left: 0;
}

.lang-top-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  background: #f4f4f4;
  padding: 0.5em 1em;
}
.lang-top-bar button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.lang-top-bar img {
  height: 24px;
  width: auto;
  border-radius: 3px;
  border: 1px solid #ccc;
}

  display: none;
  position: absolute;
  background-color: #333;
  min-width: 180px;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
  color: white;
  padding: 10px 16px;
  display: block;
  text-decoration: none;
}
  background-color: #444;
}
  display: block;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
  position: relative;
}

.dropdown {
  position: relative;
}

  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 180px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

  color: white;
  padding: 10px 16px;
  display: block;
  text-decoration: none;
}

  background-color: #444;
}

  display: block;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
  position: relative;
}

.dropdown {
  position: relative;
}

  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 120px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

  font-size: 0.85em;
  color: white;
  padding: 6px 12px;
  display: block;
  text-decoration: none;
  background: none;
}

  text-decoration: underline;
}

  display: block;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
  position: relative;
}

.dropdown {
  position: relative;
}

  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateX(0); /* alineación con el ítem padre */
  min-width: 140px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

  font-size: 0.85em;
  color: white;
  padding: 6px 12px;
  display: block;
  text-decoration: none;
  background: none;
  text-align: left;
}

  text-decoration: underline;
}

  display: block;
}
.menu {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown > a {
  display: inline-block;
  padding: 10px 0;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; /* exactamente debajo del texto */
  transform: translateX(2px); /* ajuste fino para alinear con la "I" */
  min-width: max-content;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

.dropdown-content li a {
  font-size: 0.8em;
  color: white;
  padding: 4px 0;
  display: block;
  text-decoration: none;
  background: none;
  text-align: left;
  white-space: nowrap;
}

.dropdown-content li a:hover {
  text-decoration: underline;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.nav-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5em 1em;
  color: white;
  gap: 1em;
  background: none;
}


.services {
  padding: 2em;
  background-color: #f9f9f9;
}
.service-block {
  display: flex;
  align-items: center;
  gap: 2em;
  margin-bottom: 2em;
}
.service-block img {
  width: 100px;
  height: 100px;
}
.service-block div {
  max-width: 800px;
}
.service-block h3 {
  margin-top: 0;
  font-size: 1.4em;
}


.whatsapp-bar {
  background-color: #6c63ff;
  text-align: center;
  padding: 0.5em;
}
.whatsapp-bar img {
  height: 24px;
  width: auto;
  vertical-align: middle;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.whatsapp-float img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.social-bar {
  background-color: #6c63ff;
  text-align: center;
  padding: 1em 0;
}
.social-bar img {
  height: 36px;
  transition: transform 0.3s;
}
.social-bar img:hover {
  transform: scale(1.1);
}
