/* =========================================================
   BASE GENERAL
========================================================= */

body {
  background-color: #222222;
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================================================
   ESTADO ACTIVO DEL MENÚ
========================================================= */

.titulo.active-page {
  color: #d884ff;
  text-shadow: 0 0 8px rgba(216, 132, 255, 0.35);
}

/* =========================================================
   SELECTOR DE IDIOMA
========================================================= */

.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  margin-left: auto;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 4px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  opacity: 0.85;
  transform: scale(1.04);
  color: #d884ff;
}

.lang-btn.active {
  color: #d884ff;
}

.lang-separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  user-select: none;
}

.inner-container .lang-switcher {
  flex: 0 0 auto;
}

.titulo[data-i18n="nav_raee"] {
  margin-right: 50px;
}

.titulo {
  white-space: nowrap;
}

/* =========================================================
   HEADER / MENÚ SUPERIOR
========================================================= */

.cont-2 {
  width: 100%;
}

.inner-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  width: 200px;
  max-width: 100%;
  height: auto;
}

.titulo {
  flex: 1;
  text-align: center;
  padding: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 500;
}

.titulo:hover {
  color: #ffffff;
  text-decoration: none;
}

/* =========================================================
   SECCIÓN EQUIPO / COTIZACIÓN
========================================================= */

.team-section {
  width: 100%;
  max-width: 1600px;
  margin: 10px auto 50px;
  padding: 0 20px;
}

.team-title {
  margin: 0 0 40px;
  padding: 8px 20px;
  border: 2px solid #9648aa;
  border-radius: 999px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: "Lexend Zetta", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.conteiner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 340px;
  padding: 20px 18px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.column:first-child {
  border-left: none;
}

.circle-img {
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  overflow: hidden;
  border: 5px solid #a138bb;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
  background-color: #ffffff;
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
}

.column h4 {
  min-height: 62px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.1;
  text-align: center;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.column a {
  margin: 0;
  color: #ebebeb;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.column a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* =========================================================
   CONTACTO CON ICONO DE WHATSAPP
========================================================= */

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-link span {
  display: inline-block;
  line-height: 1;
}

.contact-whatsapp-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  background-color: #9648aa;
  color: #ffffff;
  text-align: center;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 4px 10px;
}

/* =========================================================
   BOTÓN SCROLL TO TOP
========================================================= */

.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: #9648aa;
  color: #ffffff;
  cursor: pointer;
  font-size: 40px;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {
  .conteiner {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .column {
    border-left: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
  }
}

@media (max-width: 900px) {
  .lang-switcher {
    order: 2;
    margin: 8px 0 4px;
  }

  .lang-btn {
    font-size: 12px;
  }

  .conteiner {
    grid-template-columns: repeat(2, 1fr);
  }

  .circle-img {
    width: 180px;
    height: 180px;
  }

  .column h4 {
    min-height: 54px;
    font-size: 23px;
  }

  .column a {
    font-size: 18px;
  }

  .contact-whatsapp-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 600px) {
  .inner-container {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    order: 1;
    margin-bottom: 10px;
  }

  .logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
  }

  .lang-switcher {
    width: auto;
    margin-bottom: 10px;
  }

  .lang-btn {
    font-size: 12px;
    padding: 6px 2px;
  }

  .titulo {
    order: 3;
    width: 100%;
    font-size: 14px;
    white-space: normal;
  }

  .team-section {
    padding: 0 16px;
  }

  .team-title {
    margin-bottom: 24px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  .conteiner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .column {
    min-height: auto;
    padding: 18px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
  }

  .circle-img {
    width: 160px;
    height: 160px;
    margin-bottom: 14px;
  }

  .column h4 {
    min-height: auto;
    font-size: 22px;
  }

  .column a {
    font-size: 18px;
  }

  .contact-link {
    gap: 8px;
  }

  .contact-whatsapp-icon {
    width: 20px;
    height: 20px;
  }

  .scroll-to-top {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}