/* ═══════════════════════════════════════════════════════════════
   HERO VARIANTES A y B · 2026-05-20
   Splash minimalista, sin h1 prominente, esquinas con elementos
   ═══════════════════════════════════════════════════════════════ */

.hero--splash {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

/* ─── HERO STATIC · foto fija (sustituye al slider) ─── */
.hero-static {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-static img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* ─── HERO BRAND BLOCK · FIXED · siempre arriba, scroll pasa por debajo ─── */
.hero-brand-block {
  position: fixed;
  top: clamp(28px, 4.5vh, 56px);
  left: clamp(28px, 4vw, 56px);
  z-index: 11;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: color 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
/* Cuando scroll pasa hero (foto oscura) → texto adapta a bone bg */
.hero-a-body.scrolled-past .hero-brand-big {
  color: var(--ink);
  text-shadow: none;
}
.hero-a-body.scrolled-past .hero-langs-big a,
.hero-a-body.scrolled-past .hero-langs-big span {
  color: rgba(15,15,14,0.55);
}
.hero-a-body.scrolled-past .hero-langs-big .active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.hero-a-body.scrolled-past .hero-langs-big a:hover {
  color: var(--ink);
  border-color: rgba(15,15,14,0.55);
}
.hero-a-body.scrolled-past .splash-burger span {
  background: var(--ink);
}
/* Barra blanca translúcida con separador inferior al scrollear */
.hero-a-body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: clamp(96px, 13vh, 120px);
  background: #fff;
  border-bottom: 1px solid var(--ink-line);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-a-body::before { height: 68px; }
}
.hero-a-body.scrolled-past::before { opacity: 1; }
.hero-brand-logo {
  display: block;
  line-height: 0;
}
.hero-brand-logo img {
  height: clamp(56px, 7vh, 88px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0,0,0,0.55));
  transition: filter 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hero-a-body.scrolled-past .hero-brand-logo img {
  filter: none;
}

/* SALVAPANTALLAS · texto "ANGIMEN HOLDING" en Belleza mayúsculas (solo hero) */
.hero-brand-text {
  font-family: 'Belleza', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: 0.22em;
  line-height: 1.0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
  transition: color 0.3s, text-shadow 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
  white-space: nowrap;
}
.hero-brand-text:hover { color: #8B7355; }
.hero-a-body.scrolled-past .hero-brand-text {
  color: var(--ink);
  text-shadow: none;
}

/* Barra de idiomas separada del logo · top-right · zone propia */
.lang-bar {
  position: fixed;
  top: clamp(28px, 4vh, 52px);
  right: clamp(90px, 10vw, 140px);
  z-index: 11;
  display: flex;
  gap: 18px;
  font-family: 'Belleza', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.lang-bar a, .lang-bar span {
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.lang-bar a:hover { border-bottom-color: var(--ink); }
.lang-bar .active { border-bottom-color: var(--ink); }

/* Sobre el hero (foto oscura) los idiomas en blanco */
.lang-bar--hero {
  color: #fff;
}
.lang-bar--hero a, .lang-bar--hero span {
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.lang-bar--hero a:hover { color: #fff; border-bottom-color: #fff; }
.lang-bar--hero .active { color: #fff; border-bottom-color: #fff; }
.hero-a-body.scrolled-past .lang-bar--hero a,
.hero-a-body.scrolled-past .lang-bar--hero span {
  color: rgba(15,15,14,0.65);
  text-shadow: none;
}
.hero-a-body.scrolled-past .lang-bar--hero .active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* En variante A: burger movido a la esquina superior DERECHA para no chocar con brand
   FIXED · permanece arriba siempre */
.hero-a-body .splash-burger {
  position: fixed;
  top: clamp(28px, 4vh, 48px);
  left: auto;
  right: clamp(28px, 4vw, 56px);
  z-index: 11;
}

/* En home: side-menu y backdrop también FIXED para que abran el panel
   estés donde estés (no solo cuando se ve el hero). Z-index > 9999 (splash-door)
   para que en iOS los taps lleguen a los items del menú (Safari mobile a veces
   no respeta pointer-events:none del splash a tiempo). */
.hero-a-body .side-menu {
  position: fixed;
  z-index: 10001;
}
.hero-a-body .menu-backdrop {
  position: fixed;
  z-index: 10000;
}

/* CTA del hero como BOTÓN sólido (David: "más evidente visualmente") */
.hero-cta.hero-cta--button {
  background: #fff;
  color: #0F0F0E;
  padding: 18px 36px;
  border: none;
  font-family: 'Belleza', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0;
  text-transform: none;
}
.hero-cta.hero-cta--button:hover {
  background: #8B7355;
  color: #fff;
  border: none;
}
.hero-cta.hero-cta--button .hero-cta-arrow {
  font-family: 'Belleza', sans-serif;
  font-style: normal;
}

@media (max-width: 900px) {
  .hero-brand-big { font-size: 22px; letter-spacing: 0.12em; }
  .hero-langs-big { font-size: 13px; gap: 10px; }
  .hero-brand-block { top: 22px; left: 22px; gap: 12px; max-width: calc(100% - 80px); }
  .hero-cta.hero-cta--button { padding: 14px 24px; font-size: 16px; }
}

/* ─── SLIDER (legacy · ya no usado en hero pero conservado por si vuelve) ─── */
.hero-slider {
  position: absolute;
  inset: 0;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
  z-index: 1;
}
.hero-slider:active { cursor: grabbing; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  bottom: clamp(20px, 3vh, 28px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 12px 0;
  background-clip: content-box;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dot.is-active { background-color: #fff; background-clip: content-box; }
.hero-dot:hover { background-color: rgba(255,255,255,0.85); background-clip: content-box; }

.hero-overlay--soft {
  background:
    linear-gradient(90deg, rgba(15,15,14,0.82) 0%, rgba(15,15,14,0.58) 18%, rgba(15,15,14,0.30) 32%, transparent 48%),
    linear-gradient(180deg, rgba(15,15,14,0.22) 0%, rgba(15,15,14,0.05) 50%, rgba(15,15,14,0.45) 100%);
  pointer-events: none;
}

/* En variante A: cuando sidebar abierto, aplicar mismo gradiente para legibilidad */
.hero-a-body .hero-overlay {
  transition: background 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hero-a-body:has(.splash-burger.is-open) .hero-overlay {
  background:
    linear-gradient(90deg, rgba(15,15,14,0.82) 0%, rgba(15,15,14,0.58) 18%, rgba(15,15,14,0.30) 32%, transparent 48%),
    linear-gradient(180deg, rgba(15,15,14,0.30) 0%, rgba(15,15,14,0.15) 45%, rgba(15,15,14,0.65) 100%);
}

/* Cuando menú abierto: desvanecer copy del hero + langs + ubicación + dots
   para que las secciones del sidebar se lean sin competencia */
.hero-copy, .splash-location, .splash-langs, .hero-dots {
  transition: opacity 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hero-a-body:has(.splash-burger.is-open) .hero-copy,
.hero-a-body:has(.splash-burger.is-open) .splash-location,
.hero-a-body:has(.splash-burger.is-open) .splash-langs,
.hero-a-body:has(.splash-burger.is-open) .hero-dots {
  opacity: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   VARIANTE A · hamburger izq + ANGIMEN der + contacto inf-der
   ═══════════════════════════════════════════════════════════════ */

.hero-a-body { overflow-x: hidden; }

.splash-burger {
  position: absolute;
  top: clamp(28px, 4vh, 48px);
  left: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 38px; height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
  padding: 0;
}
.splash-burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.splash-burger:hover span:nth-child(1) { transform: translateY(2px) scaleX(0.7); transform-origin: left; }
.splash-burger:hover span:nth-child(3) { transform: translateY(-2px) scaleX(0.85); transform-origin: left; }

.splash-brand {
  position: absolute;
  top: clamp(24px, 4vh, 48px);
  right: clamp(28px, 5vw, 64px);
  font-family: 'Belleza', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.22em;
  color: #fff;
  text-decoration: none;
  z-index: 5;
  transition: color 0.3s;
}
.splash-brand:hover { color: #8B7355; }

.splash-contact {
  position: absolute;
  bottom: clamp(36px, 6vh, 64px);
  right: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 5;
  text-align: right;
}
.splash-contact-line {
  font-family: 'Belleza', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.splash-contact-line:hover { color: #8B7355; }

/* ─── Ubicación esquina inferior derecha (sustituye contacto) ─── */
.splash-location {
  position: absolute;
  bottom: clamp(36px, 6vh, 64px);
  right: clamp(28px, 5vw, 64px);
  font-family: 'Belleza', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  z-index: 5;
  text-align: right;
}

/* ─── HERO COPY · bloque central (subtítulo + eslogan + CTA) ─── */
.hero-copy {
  position: absolute;
  left: clamp(28px, 6vw, 80px);
  right: clamp(28px, 6vw, 80px);
  bottom: clamp(120px, 18vh, 200px);
  max-width: 760px;
  z-index: 4;
  color: #fff;
}
.hero-eyebrow {
  font-family: 'Belleza', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-slogan {
  font-family: 'Belleza', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: #fff;
  margin-bottom: 32px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  max-width: 720px;
}
.hero-slogan em {
  font-style: normal;
  font-family: inherit;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Belleza', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  color: #fff;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  transition: color 0.3s, border-color 0.3s, gap 0.35s;
}
.hero-cta:hover { color: #8B7355; border-color: #8B7355; gap: 22px; }
.hero-cta-arrow {
  font-family: 'Belleza', sans-serif;
  font-style: normal;
  font-weight: 400;
  transition: transform 0.35s;
}
.hero-cta:hover .hero-cta-arrow { transform: translateX(4px); }

/* En mobile el bloque copy se ajusta */
@media (max-width: 900px) {
  .hero-copy {
    bottom: 110px;
    left: 32px;
    right: 32px;
  }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 18px; }
  .hero-slogan  { font-size: clamp(22px, 6vw, 32px); margin-bottom: 22px; max-width: none; }
  .hero-cta     { font-size: 16px; gap: 10px; }
  .splash-location {
    font-size: 9px; letter-spacing: 0.18em;
    bottom: 56px;
  }
}

.splash-langs {
  position: absolute;
  bottom: clamp(36px, 6vh, 64px);
  left: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Belleza', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  z-index: 5;
}
.splash-langs a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.splash-langs a:hover { color: #fff; }
.splash-langs .active { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   INNER PAGES · chrome (burger + brand + langs sobre bone bg)
   ═══════════════════════════════════════════════════════════════ */

.inner-body { background: var(--bone); color: var(--ink); }

.inner-chrome {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  pointer-events: none;
}
.inner-chrome > * { pointer-events: auto; }
/* Barra bone con separador inferior — siempre visible en internas */
.inner-body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: clamp(96px, 13vh, 120px);
  background: #fff;
  border-bottom: 1px solid var(--ink-line);
  z-index: 9;
  pointer-events: none;
}
@media (max-width: 900px) {
  .inner-body::before { height: 68px; }
}

/* BURGER: top-right (igual que hero) · selector reforzado para ganar a .splash-burger */
body.inner-body .splash-burger.inner-burger {
  position: fixed;
  top: clamp(28px, 4.5vh, 56px);
  right: clamp(28px, 4vw, 56px);
  left: auto;
  z-index: 11;
}
body.inner-body .splash-burger.inner-burger span { background: var(--ink); }
body.inner-body .splash-burger.inner-burger.is-open span { background: #fff; }

/* BRAND BLOCK: top-left grande (espeja hero-brand-block) */
.inner-brand-block {
  position: fixed;
  top: clamp(28px, 4.5vh, 56px);
  left: clamp(28px, 4vw, 56px);
  z-index: 11;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.inner-brand-logo {
  display: block;
  line-height: 0;
}
.inner-brand-logo img {
  height: clamp(56px, 7vh, 88px);
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .inner-brand-logo img,
  .hero-brand-logo img { height: 40px; }
  .hero-brand-text { font-size: clamp(20px, 5.5vw, 26px); letter-spacing: 0.16em; }
  .inner-brand-block { top: 18px; left: 18px; max-width: 60vw; }
  .hero-brand-block { top: 22px; left: 22px; max-width: 60vw; }
  body.inner-body .splash-burger.inner-burger { top: 22px; right: 18px; left: auto; width: 30px; height: 22px; z-index: 12; }
  /* Mobile: burger top-right (home Y internas). En home se baja para hacer hueco a
     la lang-bar arriba. Ambos elementos caben dentro de la barra blanca (68px) al scrollear. */
  .hero-a-body .splash-burger { top: 38px; left: auto; right: 18px; }
  body.inner-body .splash-burger.inner-burger { top: 18px; right: 18px; left: auto; }

  /* Idiomas FUERA del burger en mobile: la lang-bar superior los cubre. */
  .side-menu-langs { display: none !important; }

  /* HOME mobile: lang-bar arriba del burger. Mientras splash cerrado: invisible
     y no clickable. Cuando splash abre: clickable INMEDIATAMENTE (invisible),
     fade-in visual a los 1.2s sincronizado con la animación de las puertas. */
  .hero-a-body .lang-bar--hero {
    display: flex;
    top: 6px;
    right: 12px;
    left: auto;
    transform: none;
    font-size: 10px;
    gap: 8px;
    letter-spacing: 0.04em;
    z-index: 10001;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .hero-a-body.door-opened .lang-bar--hero {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s cubic-bezier(0.2, 0.6, 0.2, 1) 1.2s;
  }

  /* INTERNAS mobile: lang-bar visible arriba derecha (sin splash → sin fade) */
  .inner-body .lang-bar {
    display: flex;
    top: 6px;
    right: 12px;
    left: auto;
    transform: none;
    font-size: 10px;
    gap: 8px;
    letter-spacing: 0.04em;
    z-index: 12;
  }
  /* Burger internas mobile: bajar para hacer hueco a la lang-bar arriba */
  body.inner-body .splash-burger.inner-burger { top: 32px; right: 14px; left: auto; }
}

/* Idiomas dentro del menú lateral (móvil) */
.side-menu-langs {
  display: none;
  padding: 24px 0 0;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Belleza', sans-serif;
  font-size: 14px;
}
.side-menu-langs a,
.side-menu-langs span {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.side-menu-langs .active {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.6);
}
@media (max-width: 900px) {
  .side-menu-langs { display: flex; }
}

/* Legacy classes (ya no se usan pero conservadas por si quedan refs) */
.inner-brand, .inner-langs { display: none; }

/* sidebar activa item actual */
.side-list--inner .is-current .sl-name { color: var(--bronze); }
.side-list--inner .is-current .sl-num { color: var(--bronze); }

/* En páginas internas: backdrop full-viewport + sidebar fixed
   (no hay foto que disfrutar, así que oscurece toda la pantalla) */
.inner-body .menu-backdrop {
  position: fixed;
  inset: 0;
  width: auto;
  min-width: 0;
  max-width: none;
  background: rgba(15, 15, 14, 0.92);
}
@media (max-width: 600px) {
  .inner-body .menu-backdrop { width: auto; min-width: 0; }
}
.inner-body .side-menu {
  position: fixed;
  z-index: 11;
}
/* Menú abierto en internas: items con sombra clara para legibilidad sobre ink uniform */
.inner-body .side-list a {
  text-shadow: none;
}
.inner-body .side-list .sl-name { color: #fff; }
.inner-body .side-list .sl-num { color: rgba(255,255,255,0.7); }
.inner-body .side-list--inner .is-current .sl-name,
.inner-body .side-list--inner .is-current .sl-num { color: var(--bronze); }

/* ─── BACKDROP localizado izq (panel oscuro solo bajo el menú) ─── */
.menu-backdrop {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 32vw;
  min-width: 300px;
  max-width: 480px;
  z-index: 4;
  background: linear-gradient(90deg,
    rgba(15,15,14,0.86) 0%,
    rgba(15,15,14,0.80) 60%,
    rgba(15,15,14,0.50) 85%,
    rgba(15,15,14,0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
  cursor: pointer;
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 600px) {
  .menu-backdrop { width: 62vw; min-width: 220px; }
}

/* ─── SIDE MENU (variante A — sidebar lateral toggle por hamburger) ─── */

.side-menu {
  position: absolute;
  top: 50%;
  left: clamp(28px, 4vw, 56px);
  transform: translate(-12px, -50%);
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.side-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}
.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.side-list li { margin-bottom: 4px; }
.side-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 8px 0;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s, gap 0.35s, color 0.3s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.75), 0 0 2px rgba(0,0,0,0.5);
}
.side-list a:hover { opacity: 1; gap: 26px; }
.side-list .sl-num {
  font-family: 'Belleza', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  min-width: 24px;
}
.side-list .sl-name {
  font-family: 'Belleza', sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.005em;
  color: #fff;
  line-height: 1.1;
}
.side-list a:hover .sl-num { color: #8B7355; }
.side-list a:hover .sl-name { color: #8B7355; }

/* hamburger toggled state */
.splash-burger.is-open span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.splash-burger.is-open span:nth-child(2) { opacity: 0; }
.splash-burger.is-open span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   VARIANTE B · ANGIMEN izq pequeño + sidebar cards lateral izq
   ═══════════════════════════════════════════════════════════════ */

.splash-brand-small {
  position: absolute;
  top: clamp(28px, 4vh, 48px);
  left: clamp(28px, 4vw, 56px);
  font-family: 'Belleza', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.28em;
  color: #fff;
  text-decoration: none;
  z-index: 5;
  transition: color 0.3s;
}
.splash-brand-small:hover { color: #8B7355; }

.sidebar-menu {
  position: absolute;
  top: 50%;
  left: clamp(28px, 4vw, 56px);
  transform: translateY(-50%);
  z-index: 5;
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  margin-bottom: 4px;
}
.sidebar-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 8px 0;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.35s cubic-bezier(0.2, 0.6, 0.2, 1), gap 0.35s, color 0.35s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.sidebar-list a:hover { opacity: 1; gap: 28px; }
.sl-num {
  font-family: 'Belleza', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  min-width: 24px;
}
.sl-name {
  font-family: 'Belleza', sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.005em;
  color: #fff;
  line-height: 1.1;
}
.sidebar-list a:hover .sl-num { color: #8B7355; }
.sidebar-list a:hover .sl-name { color: #8B7355; }

.splash-contact--sub .splash-contact-line {
  font-size: clamp(14px, 1.2vw, 16px);
  color: rgba(255,255,255,0.75);
}
.splash-langs--b {
  bottom: clamp(28px, 4vh, 40px);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* MOBILE: mantener el MISMO layout que desktop, solo escalando elementos */
@media (max-width: 900px) {
  .splash-brand        { font-size: 17px; letter-spacing: 0.18em; top: 22px; right: 22px; }
  .splash-brand-small  { font-size: 13px; letter-spacing: 0.24em; top: 22px; left: 22px; }
  .splash-burger       { top: 22px; left: 22px; width: 30px; height: 22px; }

  .splash-contact      { bottom: 24px; right: 22px; gap: 6px; }
  .splash-contact-line { font-size: 13px; }
  .splash-contact--sub .splash-contact-line { font-size: 12px; }

  .splash-langs        { bottom: 22px; left: 22px; font-size: 10px; gap: 6px; }
  .splash-langs--b     { bottom: 22px; }

  /* Sidebar B: lateral izquierdo, cards más pequeñas pero MISMO layout */
  .sidebar-menu { left: 20px; }
  .sidebar-list a { gap: 12px; padding: 6px 0; }
  .sl-num  { font-size: 10px; min-width: 20px; }
  .sl-name { font-size: 18px; }

  /* Side-menu A (toggle): lo mismo */
  .side-menu { left: 20px; }
  .side-list a { gap: 12px; padding: 6px 0; }
  .side-list .sl-num  { font-size: 10px; min-width: 20px; }
  .side-list .sl-name { font-size: 18px; }

  .hero-dots { bottom: 16px; }
  .hero-dot  { width: 22px; padding: 10px 0; }
}

@media (max-width: 480px) {
  /* Apretar un poco más en pantallas muy pequeñas, sin cambiar layout */
  .sl-name, .side-list .sl-name { font-size: 16px; }
  .splash-contact-line { font-size: 12px; }
  .splash-contact--sub .splash-contact-line { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════════════
   SALVAPANTALLAS · puerta de entrada con apertura tipo cortina
   ═══════════════════════════════════════════════════════════════ */
.splash-door {
  position: fixed;
  inset: 0;
  z-index: 9999;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
  pointer-events: auto;
}
.splash-door.is-open {
  pointer-events: none;
  /* Tras 1.2s (fin de animación) ocultar totalmente para que iOS Safari
     no siga interceptando taps. Al cerrar, vuelve a visible inmediato. */
  visibility: hidden;
  transition: visibility 0s linear 1.2s;
}
.splash-door:not(.is-open) {
  visibility: visible;
  transition: visibility 0s linear 0s;
}
/* Si viene navegando desde una interna: splash totalmente oculto, sin animación */
html.skip-splash .splash-door { display: none !important; }
.splash-door-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: #0F0F0E;
  transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}
.splash-door-panel--left { left: 0; transform: translateX(0); }
.splash-door-panel--right { right: 0; transform: translateX(0); }
.splash-door.is-open .splash-door-panel--left { transform: translateX(-100%); }
.splash-door.is-open .splash-door-panel--right { transform: translateX(100%); }
.splash-door-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 1;
  opacity: 1;
  /* Cuando se cierra (vuelve a verse): aparece tras cerrar las puertas */
  transition: opacity 0.5s cubic-bezier(0.2, 0.6, 0.2, 1) 0.9s;
  pointer-events: none;
}
.splash-door.is-open .splash-door-content {
  opacity: 0;
  /* Al abrir: se desvanece rápido, antes de separarse las puertas */
  transition: opacity 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.splash-door-name {
  font-family: 'Belleza', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 34px);
  letter-spacing: 0.36em;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(255,255,255,0.08);
}
.splash-door-enter {
  font-family: 'Belleza', sans-serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  animation: splashPulse 2.4s ease-in-out infinite;
}
@keyframes splashPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Bloquea scroll mientras la puerta está cerrada */
body.door-closed { overflow: hidden; }

@media (max-width: 600px) {
  .splash-door-name { font-size: clamp(22px, 8vw, 32px); letter-spacing: 0.18em; white-space: normal; line-height: 1.2; }
  .splash-door-enter { font-size: 11px; letter-spacing: 0.24em; }
}


/* En RTL: forzar orden LTR pero mantener posición física (derecha) */
html[dir="rtl"] .lang-bar,
html[dir="rtl"] .side-menu-langs {
  direction: ltr;
}
/* En RTL el side-menu (panel del burger) mantiene layout LTR: número 01 a la izquierda,
   nombre alineado a la izquierda, panel anclado al borde izq. El glifo árabe sigue RTL
   gracias a unicode-bidi: plaintext (deja al texto decidir su propia dirección). */
html[dir="rtl"] .side-menu,
html[dir="rtl"] .side-list,
html[dir="rtl"] .side-list a {
  direction: ltr;
  text-align: left;
}
html[dir="rtl"] .side-list .sl-name {
  unicode-bidi: plaintext;
}
/* En RTL: home posición a la izquierda + slogan y CTA más grandes para legibilidad árabe */
html[dir="rtl"] .hero-copy {
  right: auto;
  text-align: left;
}
html[dir="rtl"] .hero-slogan {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.25;
  text-align: left;
  text-align-last: left;
}
html[dir="rtl"] .hero-cta.hero-cta--button {
  font-size: clamp(20px, 1.9vw, 26px);
  padding: 22px 42px;
  display: inline-flex;
  margin-right: 0;
  margin-left: 0;
}
/* En RTL: partner-split mantiene mismo orden (texto izquierda, foto derecha) que LTR */
html[dir="rtl"] .partner--split .partner-inner {
  direction: ltr;
}
html[dir="rtl"] .partner-text {
  direction: rtl;
  text-align: right;
}
/* En RTL: founder-grid mantiene mismo orden (foto izquierda, texto derecha) que LTR */
html[dir="rtl"] .founder-grid {
  direction: ltr;
}
html[dir="rtl"] .founder-text {
  direction: rtl;
  text-align: right;
}
/* En RTL: areas mantiene mismo orden (número izq, texto centro, foto der) que LTR */
html[dir="rtl"] .area {
  direction: ltr;
}
html[dir="rtl"] .area-content {
  direction: rtl;
  text-align: right;
}
@media (max-width: 900px) {
  html[dir="rtl"] .hero-slogan { font-size: clamp(26px, 7vw, 38px); }
  html[dir="rtl"] .hero-cta.hero-cta--button { font-size: 18px; padding: 16px 28px; }
}
/* En RTL: consistencia del título y lead de páginas internas (centrado en viewport) */
html[dir="rtl"] .page-hero-title,
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .page-hero-inner {
  text-align: center !important;
}
html[dir="rtl"] .page-hero-lead {
  margin-left: auto;
  margin-right: auto;
}
/* En RTL: aumentar textos pequeños (eyebrows, labels, captions, footer) */
html[dir="rtl"] .founder-caption,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .form-eyebrow,
html[dir="rtl"] .form-submit,
html[dir="rtl"] .contact-side-eyebrow,
html[dir="rtl"] .partner-eyebrow,
html[dir="rtl"] .page-hero .eyebrow,
html[dir="rtl"] .form-row label {
  font-size: 18px;
  letter-spacing: 0.08em;
}
html[dir="rtl"] .port-filter,
html[dir="rtl"] .port-tag {
  font-size: 18px;
  letter-spacing: 0.06em;
}
html[dir="rtl"] .port-work {
  font-size: 19px;
}
html[dir="rtl"] .port-name {
  font-size: 28px;
}
html[dir="rtl"] .splash-location,
html[dir="rtl"] .foot-inner,
html[dir="rtl"] .foot-langs {
  font-size: 18px;
  letter-spacing: 0.06em;
}
/* En RTL: menú lateral + barra de idiomas más grandes */
html[dir="rtl"] .side-list .sl-name,
html[dir="rtl"] .side-list .sl-num,
html[dir="rtl"] .sidebar-list .sl-name,
html[dir="rtl"] .sidebar-list .sl-num {
  font-size: 20px;
}
html[dir="rtl"] .side-menu-langs a,
html[dir="rtl"] .side-menu-langs span {
  font-size: 17px;
}
/* En RTL la lang-bar superior mantiene proporciones LTR (Belleza + tamaños default),
   ignorando el override global Reem Kufi para que no cambie de tamaño al pasar a AR. */
html[dir="rtl"] .lang-bar,
html[dir="rtl"] .lang-bar *,
html[dir="rtl"] .lang-bar a,
html[dir="rtl"] .lang-bar span {
  font-family: 'Belleza', sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
}
/* En RTL: formulario contacto - labels e inputs más grandes */
html[dir="rtl"] .form-row input,
html[dir="rtl"] .form-row textarea,
html[dir="rtl"] .form-row select,
html[dir="rtl"] .form-radios label {
  font-size: 18px;
}
html[dir="rtl"] .form-submit {
  font-size: 18px !important;
  padding: 18px 36px;
}
html[dir="rtl"] .form-label-sub {
  font-size: 18px;
}
html[dir="rtl"] .contact-side-line {
  font-size: 19px;
}
html[dir="rtl"] .contact-side-loc {
  font-size: 17px;
}
/* En RTL: aumentar body font-size global para mejor legibilidad árabe */
html[dir="rtl"] body { font-size: 18px; }
@media (max-width: 900px) {
  html[dir="rtl"] body { font-size: 17px; }
  /* En móvil AR: mantener tamaños grandes (no reducir) */
  html[dir="rtl"] .port-filter,
  html[dir="rtl"] .port-tag { font-size: 16px; }
  html[dir="rtl"] .port-work { font-size: 17px; }
  html[dir="rtl"] .port-name { font-size: 24px; }
  html[dir="rtl"] .founder-caption,
  html[dir="rtl"] .stat-label,
  html[dir="rtl"] .form-eyebrow,
  html[dir="rtl"] .contact-side-eyebrow,
  html[dir="rtl"] .partner-eyebrow,
  html[dir="rtl"] .page-hero .eyebrow,
  html[dir="rtl"] .form-row label { font-size: 16px; }
  html[dir="rtl"] .side-list .sl-name,
  html[dir="rtl"] .side-list .sl-num { font-size: 18px; }
  html[dir="rtl"] .side-menu-langs a,
  html[dir="rtl"] .side-menu-langs span { font-size: 15px; }
  /* Mobile RTL: lang-bar mantiene su tamaño LTR (12px) */
  html[dir="rtl"] .lang-bar,
  html[dir="rtl"] .lang-bar *,
  html[dir="rtl"] .lang-bar a,
  html[dir="rtl"] .lang-bar span {
    font-size: 12px !important;
  }
  html[dir="rtl"] .form-row input,
  html[dir="rtl"] .form-row textarea,
  html[dir="rtl"] .form-row select,
  html[dir="rtl"] .form-radios label,
  html[dir="rtl"] .form-submit,
  html[dir="rtl"] .form-label-sub { font-size: 17px; }
  html[dir="rtl"] .contact-side-line { font-size: 17px; }
  html[dir="rtl"] .contact-side-loc { font-size: 16px; }
  html[dir="rtl"] .splash-location,
  html[dir="rtl"] .foot-inner,
  html[dir="rtl"] .foot-langs { font-size: 16px; }
}
/* En RTL: aumentar tamaño de fuente SOLO en páginas internas (no en home/hero) */
html[dir="rtl"] .page-hero-lead,
html[dir="rtl"] .partner-body p,
html[dir="rtl"] .founder-text p,
html[dir="rtl"] .area-content > p,
html[dir="rtl"] .area-sub,
html[dir="rtl"] .step-content p,
html[dir="rtl"] .cta-block p {
  font-size: 1.35em;
  line-height: 1.85;
}
html[dir="rtl"] .area-content li,
html[dir="rtl"] .form-row label,
html[dir="rtl"] .contact-side-line,
html[dir="rtl"] .contact-side-loc {
  font-size: 1.1em;
  line-height: 1.7;
}
html[dir="rtl"] .area-content h2,
html[dir="rtl"] .step-content h2 {
  font-size: clamp(34px, 4.4vw, 56px);
}
@media (max-width: 900px) {
  html[dir="rtl"] .page-hero-lead,
  html[dir="rtl"] .partner-body p,
  html[dir="rtl"] .founder-text p,
  html[dir="rtl"] .area-content > p,
  html[dir="rtl"] .step-content p,
  html[dir="rtl"] .cta-block p { font-size: 1.15em; line-height: 1.8; }
}
