/* =========================================================
   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;
}

/* =========================================================
   TÍTULOS DE SECCIÓN
========================================================= */

.title-container {
  text-align: center;
  border: 2px solid #9648aa;
  border-radius: 50px;
  margin: 24px 10% 18px;
  background-color: transparent;
}

.responsive-title {
  display: inline-block;
  margin: 10px 0;
  color: #ffffff;
  text-align: center;
  font-family: "Lexend Zetta", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* =========================================================
   A4 - SECCIÓN ¿POR QUÉ ELEGIRNOS?
========================================================= */

.container-n {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.container-n .item {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.container-n .item img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   A4 / A3 - BANNER GRANDE
========================================================= */

.contenedor-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}

.contenedor-imagen2 {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 15px;
  padding: 0;
}

.contenedor-imagen2 img {
  width: 100%;
  height: auto;
  display: block;
}

.imagen-pequeña {
  display: none;
}

/* =========================================================
   A4 - EQUIPO
========================================================= */

.team-section {
  width: 100%;
  max-width: 1600px;
  margin: 10px auto 30px;
  padding: 0 20px;
}

.conteiner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.conteiner > .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);
}

.conteiner > .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%;
}

.conteiner > .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;
}

/* =========================================================
   CONTACTOS DEL EQUIPO CON WHATSAPP
========================================================= */

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  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;
}

.contact-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.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;
}

/* =========================================================
   A4 - FRASE CENTRAL
========================================================= */

.glow-zoom-text {
  margin: 30px auto 25px;
  text-align: center;
  color: #ffffff;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 34px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow:
    0 0 2px #fff,
    0 0 6px rgba(150, 72, 170, 0.55),
    0 0 14px rgba(150, 72, 170, 0.35);
}

/* =========================================================
   SERVICIO EFICIENTE - A3
========================================================= */

.service-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1300px;
  margin: 30px auto 40px;
  padding: 0 20px;
}

.service-hero__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.service-title-box {
  margin: 0;
}

.service-lead {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(150, 72, 170, 0.20), rgba(255, 255, 255, 0.03));
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
  text-align: left;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.service-feature__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #9648aa;
  color: #ffffff;
  font-size: 22px;
}

.service-feature__text h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.5px;
}

.service-feature__text p {
  margin: 0;
  color: #ebebeb;
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-cta-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.service-whatsapp-btn {
  display: inline-flex;
  width: 100%;
  max-width: 720px;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 18px;
  background: #9648aa;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-whatsapp-btn:hover {
  background: #a85bbb;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.service-whatsapp-btn__icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.service-whatsapp-btn span {
  display: inline-block;
  color: #ffffff;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 30px;
  line-height: 1.05;
  text-align: left;
}

.service-whatsapp-btn em {
  font-style: normal;
  font-size: 24px;
  opacity: 0.96;
}

.service-hero__visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.service-tech-card {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 2px solid rgba(150, 72, 170, 0.55);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(150, 72, 170, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.service-tech-image {
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* =========================================================
   BARRA SOCIAL
========================================================= */

.social-bar {
  position: fixed;
  top: 75%;
  transform: translateY(-50%);
  right: 0;
  z-index: 1000;
  padding: 10px 0 10px 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.social-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-bar ul li {
  margin-bottom: 5px;
}

.social-bar ul li a {
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-bar ul li a:hover {
  background-color: #555;
  transform: translateX(-2px);
}

.social-bar ul li .icon-facebook,
.social-bar ul li .icon-instagram,
.social-bar ul li .icon-tiktok,
.social-bar ul li .icon-youtube,
.social-bar ul li .icon-whatsapp {
  background-color: #a138bb;
}

.social-bar ul li a i {
  display: inline-block;
}

/* =========================================================
   BARRA INFERIOR DE CATEGORÍAS
========================================================= */

.bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #9648aa;
  color: #fff;
  font-size: 20px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  z-index: 900;
}

.bar-column {
  flex: 1;
  text-align: center;
  padding: 5px;
}

.bar-column a {
  color: #fff;
  text-decoration: none;
}

.bar-column a:hover {
  text-decoration: underline;
}

/* =========================================================
   CONTACTO / INFORMACIÓN
========================================================= */

.cont-4 {
  padding: 40px 20px 80px;
}

.img-logo {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 5px 5px 16px;
}

.img-logo img {
  height: auto;
  width: 18%;
}

.cont-4-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cont-4-1 .column {
  flex: 1;
  min-width: 250px;
  box-sizing: border-box;
  padding: 10px 18px;
  color: #ffffff;
  border-left: 1px solid #a1a1a1;
}

.cont-4-1 .column:first-child {
  border-left: none;
}

.cont-4-1 h2 {
  font-size: 0.95rem;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-align: left;
  margin-bottom: 14px;
}

.t1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
}

.t2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: #ffffff;
}

.images {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.images img {
  max-width: 48%;
  height: auto;
}

/* =========================================================
   BOTÓN DE VOLVER A MÁQUINAS
========================================================= */

.print-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  text-align: center;
  z-index: 950;
}

.print-title {
  font-size: 10px;
  margin-bottom: 8px;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  text-shadow:
    0 0 1px #fff,
    0 0 2px #fff,
    0 0 6px #292736,
    0 0 8px #292736,
    0 0 10px #292736,
    0 0 12px #292736,
    0 0 14px #292736;
  animation: glow 0.59s infinite alternate;
}

.print-btn {
  background-color: #c7c6c7;
  border-radius: 50%;
  border: none;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.print-btn:hover {
  background-color: #7a2c8e;
  transform: scale(1.1);
}

.print-icon {
  width: 40px;
  height: 40px;
}

/* =========================================================
   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;
}

/* =========================================================
   ANIMACIÓN GLOW
========================================================= */

@keyframes glow {
  to {
    text-shadow:
      0 0 4px #aaaaaa,
      0 0 8px #585858,
      0 0 12px #c2c2c2,
      0 0 16px #742385,
      0 0 20px #742385,
      0 0 24px #742385,
      0 0 28px #742385;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {
  .conteiner {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .conteiner > .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: 1100px) {
  .service-hero {
    grid-template-columns: 1fr;
  }

  .service-hero__visual {
    order: -1;
  }

  .service-tech-card {
    max-width: 760px;
  }
}

@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;
  }

  .conteiner > .column h4 {
    min-height: 54px;
    font-size: 23px;
  }

  .contact-whatsapp-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  .container-n {
    grid-template-columns: 1fr;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .service-whatsapp-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .service-whatsapp-btn span {
    font-size: 26px;
  }

  .service-whatsapp-btn em {
    font-size: 21px;
  }

  .service-feature__text h3 {
    font-size: 24px;
  }

  .cont-4-1 .column {
    flex: 100%;
    border-left: none;
    border-top: 1px solid #a1a1a1;
    align-items: center;
  }

  .cont-4-1 .column:first-child {
    border-top: none;
  }

  .cont-4-1 h2 {
    font-size: 14px;
    text-align: center;
  }

  .images img {
    height: auto;
    width: 30%;
    align-items: center;
  }

  .img-logo img {
    width: 30%;
  }

  .print-title {
    font-size: 15px;
  }

  .bottom-bar {
    display: none;
  }
}

@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;
  }

  .responsive-title {
    font-size: 12px;
  }

  .title-container {
    margin-left: 6%;
    margin-right: 6%;
    border-width: 1px;
  }

  .imagen-grande {
    display: none;
  }

  .imagen-pequeña {
    display: block;
  }

  .service-hero {
    gap: 18px;
    margin: 20px auto 28px;
    padding: 0 16px;
  }

  .service-lead {
    padding: 18px 16px;
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .service-feature {
    padding: 16px 15px;
    gap: 12px;
  }

  .service-feature__icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .service-feature__text h3 {
    font-size: 22px;
  }

  .service-feature__text p {
    font-size: 0.88rem;
  }

  .service-whatsapp-btn {
    padding: 12px 14px;
    gap: 12px;
  }

  .service-whatsapp-btn__icon {
    width: 30px;
    height: 30px;
  }

  .service-whatsapp-btn span {
    font-size: 22px;
  }

  .service-whatsapp-btn em {
    font-size: 18px;
  }

  .service-tech-card {
    border-radius: 22px;
    padding: 10px;
  }

  .service-tech-image {
    border-radius: 16px;
  }

  .team-section {
    padding: 0 16px;
  }

  .conteiner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .conteiner > .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;
  }

  .conteiner > .column h4 {
    min-height: auto;
    font-size: 22px;
  }

  .contact-link {
    gap: 8px;
    font-size: 18px;
  }

  .contact-whatsapp-icon {
    width: 20px;
    height: 20px;
  }

  .glow-zoom-text {
    font-size: 24px;
    padding: 0 16px;
  }

  .social-bar {
    top: 70%;
    padding: 10px 0 10px 10px;
  }

  .social-bar ul li a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  .print-btn {
    display: none;
  }

  .print-title {
    display: none;
  }
}