/*
 * biia - estilos propios del sitio (fuera de Webflow).
 * Este archivo NO viene en el export de Webflow: al reemplazar css/ con un export nuevo, consérvalo.
 * Se carga después de la hoja de Webflow en todas las páginas.
 */

/* ── Selector de idioma (banderas) ── */
.language-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 20px;
}

.lang-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.lang-link:hover {
  opacity: 1;
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
  opacity: 1;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.flag-icon {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  display: block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 991px) {
  .language-selector {
    margin-bottom: 15px;
    justify-content: center;
  }

  .section-title-2 {
    font-size: 32px;
  }

  .flag-icon {
    width: 32px;
    height: 24px;
  }
}

/* ── Legal Documents (Terms of Service & Privacy Policy) ── */
.legal-docs-section {
  padding: 10rem 0;
}

.legal-doc-title {
  font-size: var(--_font-sizes---h3);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 120%;
  margin-bottom: 0.5rem;
}

.legal-effective-date {
  color: var(--white-60);
  font-size: var(--_font-sizes---sub-heading);
  font-weight: 400;
  line-height: 160%;
  text-align: center;
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section-heading {
  font-size: var(--_font-sizes---h6);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 120%;
  margin-bottom: 0.75rem;
}

.legal-body {
  color: var(--white-60);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-sub-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.legal-list {
  color: var(--white-60);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-list li {
  margin-bottom: 0.375rem;
}

.legal-divider {
  border: none;
  border-top: 1px solid #fff3;
  margin: 4rem 0;
}

@media screen and (max-width: 767px) {
  .legal-docs-section {
    padding: 3rem 0;
  }

  .legal-doc-title {
    font-size: var(--_font-sizes---h4);
  }
}
/* Navbar en una sola línea: con "Caso de estudio" los textos en español no caben con el gap de 2.25rem */
.language-selector,
.lang-link,
.flag-icon,
.nav-btn-wrap {
  flex-shrink: 0;
}

.flag-icon {
  max-width: none;
}

@media screen and (min-width: 992px) {
  .nav-menu-flex .single-nav-link,
  .nav-menu-flex .text-block-4,
  .nav-menu-flex .text-block-3 {
    white-space: nowrap;
  }

  .nav-menu-flex {
    grid-column-gap: 1.25rem;
  }
}

@media screen and (min-width: 992px) and (max-width: 1279px) {
  .nav-menu-flex .single-nav-link,
  .nav-menu-flex .text-block-4,
  .nav-menu-flex .text-block-3 {
    font-size: 1rem;
  }

  .nav-menu-flex {
    grid-column-gap: 1rem;
  }
}

/* Páginas con diseño propio (casos de éxito/estudio) ponen otra fuente en el body: navbar, footer y banners usan siempre la del sitio */
.navbar-wrapper,
.footer,
.inner-banner {
  font-family: var(--_fonts---paragraph-font);
}
