.taxautomate-language-switch {
  position: fixed;
  left: 18px;
  bottom: 74px;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 4px;
  border: 1px solid rgba(34, 39, 34, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 12px 32px rgba(53, 36, 24, 0.16);
  backdrop-filter: blur(12px);
  font-family: Arial, sans-serif;
}

html[lang^="es"] body {
  overflow-x: hidden;
}

html[lang^="es"] [class*="hero"] h1,
html[lang^="es"] .hero h1 {
  font-size: clamp(38px, 4.2vw, 60px) !important;
  line-height: 1.02 !important;
  overflow-wrap: break-word;
  text-wrap: balance;
}

html[lang^="es"] [class*="hero"] h1 span,
html[lang^="es"] .hero h1 span {
  max-width: 100%;
  white-space: normal !important;
}

.taxautomate-language-switch span {
  width: 1px;
  height: 18px;
  background: #ded7d0;
}

.taxautomate-language-switch button {
  min-width: 36px;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #676c66;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.taxautomate-language-switch button:hover,
.taxautomate-language-switch button:focus-visible {
  color: #bd4600;
  outline: 2px solid rgba(232, 93, 4, 0.3);
  outline-offset: 1px;
}

.taxautomate-language-switch button[aria-pressed="true"] {
  background: #222722;
  color: #fff;
}

@media (max-width: 640px) {
  .taxautomate-language-switch {
    left: 12px;
    bottom: 70px;
  }
}
