/* ==========================================================================
   ORIXE · SOLO CAMBIO DE FUENTE → SF Pro (la de Apple)
   No cambia colores, estructura ni animaciones: únicamente la tipografía
   en toda la web. Se carga al final del <head>, después de todos los CSS.
   ========================================================================== */

:root {
  --apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: var(--apple-font);
  --font-body: var(--apple-font);
  --font-ui: var(--apple-font);
  --rv-font-mono: "SF Mono", ui-monospace, Menlo, monospace;
}

html, body, h1, h2, h3, h4, h5, h6, p, a, li, ul, ol, span, div, section, article,
header, footer, nav, button, input, textarea, select, label, strong, em, small,
blockquote, figcaption, td, th {
  font-family: var(--apple-font);
}

/* Fuente Apple en TODA la web: arrasa cualquier fuente propia
   (Unbounded, Syne, Manrope, Poppins, Inter, Outfit, Georgia…),
   excepto los iconos de FontAwesome, los SVG (logos) y el mono de código. */
*:not(i):not(.fa):not(.fas):not(.fab):not(.far):not(.fal):not(.fad):not([class*="fa-"]):not(.material-symbols-outlined):not([class*="material-symbols"]):not(svg):not(svg *):not(code):not(pre):not(kbd):not(.rv-code):not([class*="rv-code"]) {
  font-family: var(--apple-font) !important;
}

code, pre, kbd, .rv-code, [class*="rv-code"] {
  font-family: "SF Mono", ui-monospace, Menlo, monospace !important;
}

/* ==========================================================================
   LOGO: diseño Orixe (blanco, con acento rojo) en vez del sello circular.
   Solo se ajusta el tamaño de los logos; el resto del diseño queda igual.
   ========================================================================== */
.main-header .logo img { height: 20px; width: auto; }

/* ---- Logo de cabecera: oculto al entrar (solo se ve el logo central del hero)
   y aparece al hacer scroll ---- */
.main-header .logo {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
html.logo-scrolled .main-header .logo {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hero-content img[src*="logo-orixe"] { height: 70px; width: auto; margin-bottom: 2rem; }
.modal-logo img { height: 32px; width: auto; }

/* ---- Ajustes de espaciado del hero ----
   Logo más separado del titular; titular pegado a su subtítulo. */
.rv-js .hero-title { min-height: 0; }
.hero-title { margin-bottom: .5rem; }
