/* ═══════════════════════════════════════════════════════════
   HEBREO — ajustes de derecha a izquierda
   Se carga sólo cuando el idioma activo es de escritura RTL.
   ═══════════════════════════════════════════════════════════ */

/* Tipografías con alfabeto hebreo, manteniendo el contraste
   serif / sans del diseño original */
:root {
  --serif: 'Frank Ruhl Libre', 'EB Garamond', Georgia, serif;
  --sans: 'Assistant', 'Montserrat', sans-serif;
}

body { direction: rtl; text-align: right; }

/* El hebreo no distingue cursiva de la manera en que lo hace el
   alfabeto latino: la cursiva sintética se ve deformada.
   Se reemplaza por un cambio de peso, más apropiado. */
em, .hero-title em, .section-title em, .foto-title em,
.texto-title em, .page-title em, .contacto-title em,
.form-title em, .nota-titulo em, .form-success h3 em {
  font-style: normal;
  font-weight: 300;
}

/* El espaciado entre letras amplio no funciona en hebreo */
.hero-eyebrow, .hero-right-label, .section-label, .nav-links a,
.foto-eyebrow, .strip-item, .noticia-fecha, .noticia-tipo,
.dato-label, .contact-item-label, .footer-copy, .volver,
.form-label-top, .nota-meta, .contacto-eyebrow, .contacto-addr span,
.contacto-addr-label, .noticias-paginacion a, .noticias-paginacion span {
  letter-spacing: 0.06em;
}

/* Flechas: apuntan al otro lado */
.service-arrow, .contact-item-arrow, .dato-arrow, .noticia-arrow, .flecha {
  display: inline-block;
  transform: scaleX(-1);
}
.contact-item:hover .contact-item-arrow { transform: scaleX(-1) translateX(4px); }
.dato-item:hover .dato-arrow { transform: scaleX(-1) translateX(4px); }
.noticia:hover .noticia-arrow { transform: scaleX(-1) translateX(4px); }
.service-row:hover .service-arrow { transform: scaleX(-1) translateX(4px); }
.hero-cta:hover .flecha { transform: scaleX(-1); }


/* Bordes y márgenes que dependen del lado */
.nota-contenido blockquote {
  border-left: none;
  border-right: 1px solid var(--black);
  padding-left: 0;
  padding-right: 1.5rem;
}
.alignleft { float: right; margin: 0 0 1rem 1.5rem; }
.alignright { float: left; margin: 0 1.5rem 1rem 0; }

/* Alineaciones específicas */
.page-header-right { text-align: left; }

/* Selector de idioma en el menú */
.nav-links .lang-item + .lang-item { margin-left: 0; margin-right: -1.7rem; }
.nav-links .lang-item + .lang-item::before { margin-right: 0; margin-left: 0.55rem; }

/* Columna fija de las páginas de servicio */
.texto-left { text-align: right; }

@media (max-width: 900px) {
  .page-header-right { text-align: right; }
}

/* Banderas de idioma: la barra se lee de derecha a izquierda */
@media (max-width: 900px) {
  #navbar .selector-idiomas { margin-left: 1.1rem; margin-right: auto; }
}

/* El logotipo conserva su composición latina en hebreo */
.nav-logo, .footer-logo { direction: ltr; }
