/* NEREUS - v28 - Equipo: menú Glass, tarjetas flotantes y detalles de marca.
   Se aplica SOLO a body.equipo-preview; no modifica Inicio u otras páginas. */
body.equipo-preview {
  --eq-panel-gutter: clamp(12px, 3vw, 48px);
  background: var(--eq-wall);
}
/* Menú: estructura original y posición del logo intactas, superficie Glass flotante.
   No se replica la animación de la izquierda porque el logo ya está integrado. */
body.equipo-preview .site-header,
body.equipo-preview .site-header.scrolled,
body.equipo-preview .site-header.eq-header-white {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 10px 0;
  z-index: 100;
}
body.equipo-preview .site-header::before,
body.equipo-preview .site-header.eq-header-white::before {
  display: none !important;
  content: none !important;
}
body.equipo-preview .site-header .nav {
  position: relative;
  z-index: 1;
  min-height: 84px;
  padding: 0 clamp(15px,2.1vw,24px);
  background: rgba(248,247,245,.52) !important;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(12,30,61,.10) !important;
  -webkit-backdrop-filter: blur(9px) saturate(115%);
  backdrop-filter: blur(9px) saturate(115%);
  isolation: isolate;
}
body.equipo-preview .site-header .nav::before,
body.equipo-preview .site-header .nav::after {
  display: none !important;
  content: none !important;
}
body.equipo-preview .site-header .nav > .brand,
body.equipo-preview .site-header .nav > .nav-links,
body.equipo-preview .site-header .nav > .menu-toggle {
  position: relative;
  z-index: 2;
}
/* No cambiar position de language-switcher: es absolute en móvil. */
body.equipo-preview .site-header .nav > .language-switcher { z-index: 3; }
body.equipo-preview .site-header:has(.language-switcher.open),
body.equipo-preview.menu-open .site-header { z-index: 200 !important; }
body.equipo-preview .site-header .language-switcher.open,
body.equipo-preview .site-header .language-switcher.open .language-menu { z-index: 25 !important; }
@media (min-width:1181px) {
  body.equipo-preview .site-header .nav-links:not(.open) > a:not(.button) {
    color: #06152a !important;
    font-weight: 800 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
@media (max-width:1140px) {
  body.equipo-preview .site-header .nav-links.open {
    position: absolute !important;
    top: calc(100% + 8px);
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(12,30,61,.18) !important;
    z-index: 10;
  }
}
@media (max-width:940px) {
  body.equipo-preview .site-header { padding: 7px 0; }
  body.equipo-preview .site-header .nav {
    min-height: 76px !important;
    padding: 0 13px;
    border-radius: 999px;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.equipo-preview .site-header .nav {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(248,247,245,.88) !important;
  }
}
/* Identidad visual: símbolos originales sin letras, incluido el separador entre nombres. */
body.equipo-preview .eq-overline { margin-bottom: 0; }
body.equipo-preview .eq-overline::after { display:none !important; content:none !important; }
body.equipo-preview .eq-team-emblem {
  display:block;
  width: clamp(45px, 4.1vw, 62px);
  height: clamp(47px, 4.3vw, 66px);
  flex: 0 0 auto;
  margin: 12px auto 22px;
  background: #112846;
  -webkit-mask: url('./logo-symbol-white.d095ed0106fa.svg') center / contain no-repeat;
  mask: url('./logo-symbol-white.d095ed0106fa.svg') center / contain no-repeat;
}
body.equipo-preview .eq-identities { position:relative; }
body.equipo-preview .eq-identity + .eq-identity { border-left: 0 !important; }
/* Símbolo Nereus pequeño entre nombres: reemplaza la ola vertical. */
body.equipo-preview .eq-name-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(25px, 2.4vw, 33px);
  height: clamp(27px, 2.6vw, 36px);
  pointer-events: none;
  background: #112846;
  -webkit-mask: url('./logo-symbol-white.d095ed0106fa.svg') center / contain no-repeat;
  mask: url('./logo-symbol-white.d095ed0106fa.svg') center / contain no-repeat;
  transform: translate(-50%,-50%);
  opacity: .8;
  z-index: 1;
}
@media (max-width:760px) {
  body.equipo-preview .eq-team-emblem {
    width: 42px;
    height: 44px;
    margin: 9px auto 15px;
  }
  body.equipo-preview .eq-name-emblem {
    width: 22px;
    height: 24px;
    opacity: .76;
  }
}
/* Escritorio: logotipo de cabecera con el tamaño final usado en Inicio.
   El resto del menú conserva la geometría aprobada. */
@media (min-width:941px) {
  body.equipo-preview .site-header .brand-logo { width: 100px; }
}
/* Entre móvil y escritorio, el espacio central es menor. */
@media (min-width:761px) and (max-width:1099px) {
  body.equipo-preview .eq-name-emblem { width: 18px; height: 20px; }
}
/* Aproximar rótulo superior y nombres sin alterar las fotografías:
   el rótulo y su emblema bajan, mientras los nombres suben ligeramente. */
@media (min-width:761px) {
  body.equipo-preview .eq-hero-content {
    transform: translateY(calc(-50% + 5px));
  }
  body.equipo-preview .eq-team-emblem {
    width: clamp(40px, 3.5vw, 52px);
    height: clamp(42px, 3.7vw, 54px);
  }
  body.equipo-preview .eq-identities { margin-top: -16px; }
}
/* La zona bajo las fotografías conserva el gris; cada sección flota como tarjeta. */
body.equipo-preview .team-intro-renewed {
  position: relative;
  z-index: 3;
  background: transparent !important;
  margin-top: -35px !important;
  padding: 0 0 30px !important;
  border: 0 !important;
  border-radius: 0 !important;
}
body.equipo-preview .team-intro-renewed > .team-intro-inner {
  width: min(1480px, calc(100% - 2 * var(--eq-panel-gutter)));
  max-width: none;
  padding: clamp(45px, 5.5vw, 76px) clamp(26px, 5vw, 80px);
  background: #f7f6f4;
  border-radius: 34px;
  box-shadow: 0 16px 40px rgba(12,30,61,.09);
  box-sizing: border-box;
}
body.equipo-preview .contact-section {
  position:relative;
  z-index:2;
  background:transparent !important;
  padding: 0 0 clamp(55px, 7vw, 105px) !important;
}
body.equipo-preview .contact-section > .contact-card {
  width: min(1480px, calc(100% - 2 * var(--eq-panel-gutter)));
  max-width: none;
  box-sizing: border-box;
  border-radius: 34px;
  box-shadow: 0 17px 45px rgba(12,30,61,.09);
}
/* Mantener la escala, fotos e interacciones originales. Solo Eric se aleja de la esquina. */
@media (min-width:761px) {
  body.equipo-preview .eq-photo-eric {
    right: clamp(38px, 5.2vw, 78px) !important;
  }
}
@media (max-width:760px) {
  body.equipo-preview .eq-photo-eric {
    right: clamp(26px, 8vw, 44px) !important;
  }
  body.equipo-preview .team-intro-renewed { margin-top:-28px !important; padding-bottom: 18px !important; }
  body.equipo-preview .team-intro-renewed > .team-intro-inner {
    padding: 44px clamp(20px, 5vw, 34px) 48px;
    border-radius:24px;
  }
  body.equipo-preview .contact-section > .contact-card { border-radius:24px; }
}


/* v30 - Equipo: un único símbolo central y nueva alineación */
body.equipo-preview .eq-name-emblem { display:none !important; content:none !important; }
body.equipo-preview .eq-identities {
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center !important;
  column-gap: clamp(16px, 2.2vw, 34px);
  row-gap: 0;
  margin-top: 12px !important;
}
body.equipo-preview .eq-team-emblem {
  grid-column: 2;
  grid-row: 1;
  position: static !important;
  margin: 0 auto;
  width: clamp(44px, 3.8vw, 54px);
  height: clamp(46px, 4vw, 56px);
  transform: none !important;
  opacity: 1;
}
body.equipo-preview .eq-identity { padding: 0 !important; }
body.equipo-preview .eq-identity-nerea { grid-column: 1; grid-row: 1; text-align: right; }
body.equipo-preview .eq-identity-eric  { grid-column: 3; grid-row: 1; text-align: left; }
body.equipo-preview .eq-identity h2 { margin-bottom: 9px; }

@media (min-width:761px) {
  body.equipo-preview .eq-overline { margin-bottom: 0 !important; }
  body.equipo-preview .eq-hero-content { transform: translateY(calc(-50% + 2px)); }
}

@media (max-width:760px) {
  body.equipo-preview .eq-identities {
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    grid-template-rows: auto auto;
    align-items: start !important;
    column-gap: clamp(10px, 2.5vw, 18px);
    row-gap: 10px;
    margin-top: 10px !important;
  }
  body.equipo-preview .eq-team-emblem {
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 42px;
    margin: 6px auto 0;
  }
  body.equipo-preview .eq-identity-nerea { grid-column: 1; grid-row: 2; text-align: center; }
  body.equipo-preview .eq-identity-eric  { grid-column: 3; grid-row: 2; text-align: center; }
}


/* v32 · SOLO Equipo: mantener la mejora de escritorio de v31.
   En móvil, restaurar el nombre de Eric (v30) y mover su fotografía
   al punto medio del radio superior derecho del panel (gutter + 7px). */
@media (max-width:760px) {
  body.equipo-preview .eq-photo-eric {
    right: calc(var(--eq-panel-gutter) + 7px) !important;
  }
}
@media (min-width:761px) {
  body.equipo-preview .eq-overline {
    transform: translateY(-12px);
  }
}


/* v34 · Equipo: textos a ancho completo y márgenes laterales simétricos.
   Conservar la disposición móvil y justificar únicamente en pantallas amplias. */
body.equipo-preview .team-intro-renewed > .team-intro-inner .team-intro-copy.team-intro-brief {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
@media (min-width: 761px) {
  body.equipo-preview .team-intro-renewed > .team-intro-inner .team-intro-copy.team-intro-brief {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}
