:root {
  --site-max: 1280px;
  --bar-h: 70px;
  --menu-h: 48px; /* Altura del menú principal, ajústala si cambia */
  --gap: 20px;
  /* --bar-bg: rgba(23, 13, 13, 0.9); */    /* Top Color - Where the logo lies */
  --bar-bg: rgba(13, 17, 23, 1);    /* Top Color - Where the logo lies */
  --mobile-menu-h: 96px; /* Altura del menú en móvil (2 filas × 48px) */
}

/* Reset / Base */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  /* CRÍTICO: overflow-x en html (no solo en body) evita que elementos
     position:fixed se desplacen al hacer scroll en móviles iOS/Android */
  overflow-x: hidden;
}
/*
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url("../images/BackGround2.jpg");
  background-attachment: fixed;
  font-family: "Lucida Grande", "Arial", "Helvetica", sans-serif;
  color: #e0e0e0;
  
  padding-top: calc(var(--bar-h) + var(--menu-h));
  overflow-x: hidden;
}
*/
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* CAMBIO: Nueva imagen de fondo */
  background-image: url("../images/background_neuron_LD.jpg");
  background-attachment: fixed;
  font-family: "Lucida Grande", "Arial", "Helvetica", sans-serif;
  color: #e0e0e0;
  /* IMPORTANTE: Crea el espacio para las dos barras fijas */
  padding-top: calc(var(--bar-h) + var(--menu-h));
  overflow-x: hidden;
}

/* --- LAYOUT PRINCIPAL --- */

/* 1. Barra superior (siempre visible) */
.TopBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  background: var(--bar-bg);
  z-index: 2; /* La capa más alta */
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* 3. Contenedor principal del contenido */
.site-content {
  flex: 1 1 auto; /* Ocupa el espacio restante */
  width: 100%;
  padding-top: 8px;
  box-sizing: border-box;
}

/* Contenedores centrados (contenido limitado pero siempre 100% hasta max-width) */
.container,
.hero-inner,
.top-main-menu-inner,
.footer-inner,
.TopBar-inner {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
}

#motherContainer,
#motherContainerPP {
  width: 100%;
  box-sizing: border-box;
}

/* Top fixed bar (full-bleed background, inner content constrained) */
.TopBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  background: var(--bar-bg);
  z-index: 5; /* La capa más alta */
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  /* NUEVO: Borde inferior para conectar con el menú */
  border-bottom: 1px solid #00BFFF; /* Mismo color que el borde del menú */
}
.TopBar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  height:100%;
}
.TopBar-left {
  display: flex;
  align-items: center; /* Alinea los elementos al centro por defecto */
  gap: var(--gap);
}
.TopBar-logo{width:58px;height:auto;display:block}
/*.TopBar-title{font-size:20px;font-weight:600;color:#fff;letter-spacing:.5px}*/
.TopBar-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: .5px;
    color: #ffffff; /* Texto blanco para máxima legibilidad */
    text-shadow: 
        0 0 4px #ff00a0,
        0 0 10px #ff00a0,
        0 0 20px rgba(255, 0, 160, 0.5);
}
.TopBar-version {
  font-size: 14px; /* Ligeramente más grande para legibilidad */
  font-weight: 300; /* Fuente más delgada como sugerido */
  color: #00E30B; /* Color verde neón principal */
  opacity: 0.8; /* Opacidad reducida para un look de metadatos */
  white-space: nowrap;
  margin-left: 20px;
  margin-top: 10px;   /* Altura de la version del sitio <div id="versionText" class="TopBar-version"></div> */
  text-shadow: 0 0 4px rgba(0, 227, 11, 0.5); /* Sutil resplandor verde */
  letter-spacing: 0.5px; /* Un poco más de espacio entre letras */
}

/* Right side search */
.TopBar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.TopBar-search-icon {
  width: 20px;
  height: 20px;
  opacity: .9;
}
.TopSearchBox {
  min-width: 160px;
  max-width: 360px;
  padding: 8px 10px;
  border-radius: 6px;
  /* BORDE: Cambiado a un cian sutil */
  border: 1px solid rgba(0, 191, 255, 0.4); 
  background: #0D131A;
  color: #666666;
  transition: all 0.2s ease-in-out; /* Transición suave */
}
/* NUEVO: Efecto de foco en la caja de búsqueda */
.TopSearchBox:focus {
  outline: none;
  border-color: rgba(0, 191, 255, 0.8);
  box-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
}

/* HERO: full-bleed background with centered image limited by containe BEGINS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* .hero-wrap{
  width:100%;
  background-image:url("../images/TopBackGround.png");
  background-repeat:repeat-x;
  background-position:top center;
  background-size:auto;
}
.hero-inner{display:flex;justify-content:center;align-items:center;padding:0}
.hero-image{
  display:block;
  width:100%;
  max-width:var(--site-max);
  height:auto;
} */


/*
.hero-wrap {
  height: 220px;
  overflow: hidden;
  width: 100%;
  background-image: url("../images/TopBackGround.png");
  background-repeat: repeat-x;
  background-position: top center;
  background-size: cover;
}
.hero-inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
*/

/* HERO: banda full-viewport de fondo + imagen centrada y limitada */
.hero-wrap {
  position: relative;
  /* Esto fuerza a la banda a ocupar el ancho completo del viewport */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: 220px;               /* ajusta altura si lo deseas */
  overflow: hidden;
  background-image: url("../images/main_banner_infinity_hires.png");
  background-repeat: repeat-x; /* se repite horizontalmente hasta el infinito */
  background-position: center center;
  background-size: auto 100%;  /* altura completa, se repite en X */
  z-index: 0;                  /* detrás del contenido */
}

/* Inner mantiene el contenido centrado y limitado por --site-max */
.hero-inner {
  position: relative;          /* encima de la banda full-bleed */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  max-width: var(--site-max);
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1;
}

/* Imagen principal: centrada y responsiva, no extiende la banda */
.hero-image {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: 100%;                /* misma altura que el contenedor (220px) */
  object-fit: cover;           /* recorta si es necesario para mantener proporción */
  object-position: center center;
}

/* HERO: full-bleed background with centered image limited by containe ENDS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Top main menu: full-bleed black bar, inner content constrained */
/* 2. Menú principal (siempre visible, debajo de TopBar) */
.top-main-menu {
  position: fixed;
  top: var(--bar-h); /* Se posiciona justo donde termina la TopBar */
  left: 0;
  right: 0;
  height: var(--menu-h);
  z-index: 5; /* Debajo de TopBar, encima del resto */
  width: 100%;
  background: #000;
  /* Borde cian para unificar con el tema */
  border-bottom: 1px solid #00BFFF;
}
.top-main-menu-inner{padding:4px 16px}

/* Menu: reparto de enlaces */
.menu-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
  flex-wrap: nowrap;
}

.top-menu-link {
  flex: 1 1 0;
  text-align: center;
  /* Color principal cian neón */
  /*
  color: #00E3E3;
  font-family: "Andale Mono", "Lucida Console", Monaco, monospace;
  */
  font-family: 'Orbitron', sans-serif;
  color: #00BFFF;  
  font-size: 22px;
  text-decoration: none;
  padding: 8px 6px;
  line-height: 1;
  display: block;
  /* Efecto de brillo sutil */
  text-shadow: 0 0 2px rgba(0, 227, 227, 0.5);
  transition: all 0.2s ease-in-out;
  outline: none; /* Integrado aquí para evitar el borde en focus */
}

/* Estilo para hover, focus y active para una experiencia consistente */
.top-menu-link:hover,
.top-menu-link:focus,
.top-menu-link:active {
  text-decoration: none;
  color: #FFFFFF; /* Blanco brillante */
  /* Brillo más intenso en la interacción */
  text-shadow: 0 0 5px #00BFFF, 0 0 10px rgba(51, 239, 255, 0.6);
  outline: none;
}

.top-menu-sep {
  flex: 0 0 36px;
  text-align: center;
  /* Separador cian con menos opacidad */
  color: rgba(0, 227, 227, 0.6);
  font-size: 22px;
  user-select: none;
  padding: 0 6px;
}

/* FOOTER: full-bleed areas, inner content constrained */
.SiteFooter{width:100%;box-sizing:border-box}

/* AREA 1 and AREA 2 full-bleed bands (centered via left:50% + transform) */
.footer-area1{
  position:relative;
  left:50%;
  transform:translateX(-50%);
  width:100vw;
  max-width:100vw;
  background:rgba(13, 17, 23, 1);   /* This sets the background color of Interesting Sites */
  color:#ffffff;
  box-sizing:border-box;
  display:block;
}
.footer-area2{
  position:relative;
  left:50%;
  transform:translateX(-50%);
  width:100vw;
  max-width:100vw;
  background:#070A0D;   /* This sets the background color of the bottom of the bottom XD  */
  color: rgba(39, 227, 110, 0.6); /* Verde neón tenue para mejor legibilidad temática */
  border-top: 1px solid rgba(39, 227, 110, 0.2); /* Separador sutil del sandbox */
  min-height:50px; /* Cambiado de height a min-height para evitar desbordamiento */
  display:flex;
  align-items:center;
  box-sizing:border-box;
}

/* Centrado del contenido de copyright */
.footer-copy {
  width: 100%;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* footer-inner (constrain content) */
.footer-inner{max-width:var(--site-max);margin:0 auto;padding:30px 16px 14px;box-sizing:border-box}

/* Reset de padding para centrado vertical perfecto en la franja final */
.footer-area2 .footer-inner { padding-top: 0; padding-bottom: 0; }

/* separator full-width line */
.footer-sep{
  position:relative;
  left:50%;
  transform:translateX(-50%);
  width:100vw;
  height:1px;
  background:#00BFFF;
  box-sizing:border-box;
}

/* Nueva línea divisoria cyan para el tope del footer */
.footer-cyan-divider {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: #00BFFF;
}

/* Social icons row */
.footer-social{background:transparent;padding-bottom:14px}
.social-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:40px;
  flex-wrap:nowrap;
}
.social-link{display:inline-block;margin:0;padding:0;margin-top:10px}
.social-link img{width:60px;height:60px;display:block}
.social-link:focus{outline:2px solid rgba(200,200,200,.12);outline-offset:2px}

/* Bottom links area (div-based) - layout + typography */
.bottom-links{
  display:flex;
  box-sizing:border-box;
  width:100%;
  max-width:none;
  gap:40px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
  padding:0;
  margin:0;
}
.bottom-column{
  flex:1 1 0;
  min-width:0;
  box-sizing:border-box;
  padding:0 4px;
}

/* Titles (white, monospace, large) */
.bottom-title{
  font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
  color: #FFFFFF;
  font-size: 26px;
  margin:0;
  padding:0;
  line-height:1.1;
}

/* white line: 1px, 10px below title, 20px above content */
.bottom-title-line{
  height:1px;
  background:#ffffff;
  margin:10px 0 20px;
  width:100%;
}

/* content list and items */
.bottom-content{margin-bottom:20px;text-align:left}
.bottom-item{margin:0 0 12px 0}

/* links style: green, monospace, 16px (requested) and underline on hover */
.bottom-link,
.bottom-link:link,
.bottom-link:visited,
.bottom-link:active,
.bottom-link:focus{
  color:#00E30B;
  text-decoration:none;
  transition:color .12s;
  font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
  font-size:18px;
}
.bottom-link:hover{text-decoration:underline}

/* Bloom effect for green links begins here * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Enlaces verdes con efecto bloom blanco al pasar el ratón */
.green-bloom {
  color: #00E30B;                     /* verde base */
  text-decoration: none;
  transition: color .18s ease, transform .12s ease, text-shadow .18s ease;
  cursor: pointer;
  will-change: color, transform, text-shadow;
  outline: none;
}

/* Mantener contraste al recibir foco (accesibilidad) */
.green-bloom:focus {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.85), 0 0 22px rgba(255,255,255,0.35);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 0 3px rgba(0,227,227,0.08);
}

/* Hover: bloom blanco (glow) y ligero aumento de brillo/escala */
.green-bloom:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  text-shadow:
    0 0 6px rgba(255,255,255,0.95),
    0 0 18px rgba(255,255,255,0.45),
    0 0 36px rgba(0, 227, 227, 0.06); /* leve halo de cian hacia afuera */
}

/* Variante para enlaces dentro de bloques con fondo oscuro: suavizar la transición del bloom */
@media (prefers-reduced-motion: reduce) {
  .green-bloom, .green-bloom:focus, .green-bloom:hover {
    transition: none;
    transform: none;
    text-shadow: none;
  }
}

/* End of green-bloom styles * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* InitMenu (replacement of the top table -> centered and above footer area1) */
.init-menu{
  max-width: var(--site-max);
  margin: 0 auto 24px;
  padding: 40px 0 24px; /* Eliminamos el padding lateral para ocupar el 100% del contenido */
  box-sizing: border-box;
  width:100%;
}

.neon-divider {
  height: 1px;
  width: 50%;
  background-color: #00E30B;
  border: none;
  margin: 50px auto 50px auto; /* Reducimos el margen inferior de la línea */
  box-shadow: 0 0 10px rgba(0, 227, 11, 0.6);
  display: block;
}
.neon-divider-bottom {
  height: 1px;
  width: 620px;
  background-color: #00E30B;
  border: none;
  margin: 50px auto 50px auto; /* Reducimos el margen inferior de la línea */
  box-shadow: 0 0 10px rgba(0, 227, 11, 0.6);
  display: block;
}
.init-row{ display:flex; width:100%; box-sizing:border-box; }

/* logos fila: 40px entre columnas */
.init-top-logos{ justify-content:space-between; align-items:center; gap:40px; }

/* Dimensiones de los iconos principales del menú de inicio */
.FancyCode, .FancyTech, .FancyStuff {
  width: 256px;
  height: 256px;
  max-width: 100%; /* Asegura que no se desborden en pantallas pequeñas */
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* Sobrescribimos la transición de 2s para que el brillo sea más dinámico */
  transition: all 0.5s ease-in-out; 
  border-radius: 50%; /* Hace que el resplandor de fondo sea circular y orgánico */
}

/* Efecto de iluminación neón al pasar el mouse */
.FancyCode:hover, .FancyTech:hover, .FancyStuff:hover {
  box-shadow: 0 0 50px rgba(0, 227, 11, 0.6), 
              inset 0 0 20px rgba(0, 227, 11, 0.3);
  transform: scale(1.05); /* Efecto de acercamiento sutil */
  filter: brightness(1.2); /* Aumenta la intensidad del color de la imagen */
  cursor: pointer;
}

/* columnas y descripciones: 40px entre columnas */
.init-col{
  flex:1 1 0;
  min-width:0;
  box-sizing:border-box;

  /* centrar el contenido (horizontal y verticalmente) */
  display:flex;
  justify-content:center;
  align-items:center;

  /* mantener alineado el texto en caso de párrafos */
  text-align:left;
  padding:8px 0px 8px 0px;
}
.init-row.init-cols{ margin-top:20px; gap:40px; align-items:flex-start; }
.init-spacer{ height:10px; }

/* descripciones centradas dentro de cada columna */
.ContentFontWhiteConsoleSmall{
  color:#ffffff;
  font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
  font-size:17px;
  line-height:1.5;
  max-width:450px;
  margin:0 auto;
  text-align: left;
  padding: 30px 5px 5px 5px;
}

/* Aplicamos el efecto de caja semitransparente solo a las descripciones del menú horizontal de inicio */
.init-cols .ContentFontWhiteConsoleSmall {
  background-color: rgba(0, 0, 0, 0.6); 
  border-radius: 8px; 
  padding: 24px 24px 24px 24px; /* Aumento de padding superior para separar el texto del borde */
  border: 1px solid rgba(0, 227, 11, 0.3); 
  box-shadow: 0 0 10px rgba(0, 227, 11, 0.2);
}

/* Utilities / responsive */
@media (max-width:900px){
  .TopBar-title{font-size:18px}
  .TopSearchBox{min-width:120px}
  .top-menu-link,.top-menu-sep{font-size:18px}
  .social-links{gap:12px}
  .social-link img{width:48px;height:48px}
  .footer-inner{padding:10px 12px}
  .bottom-links{gap:18px}
  .bottom-title{font-size:20px}
  .bottom-link{font-size:15px}
  .ContentFontWhiteConsoleSmall{ font-size:13px; max-width:360px; }
}
@media (max-width:700px){
  .init-row{ flex-direction:column; gap:10px; align-items:center; }
  .init-col{ width:100%; }
  .ContentFontWhiteConsoleSmall{ text-align:left; padding:0 6px; }
  .styled-box-flex { flex-direction: column; text-align: center; }
}

/* ====================================================
   MOBILE RESPONSIVE — max-width: 600px
   Ajustes para dispositivos móviles (<= 600px)
   ==================================================== */
@media (max-width:600px){
  /* Variables raíz ajustadas */
  :root{
    --bar-h: 56px;
    --menu-h: 96px; /* Menú ocupa 2 filas de ~48px cada una en móvil */
  }

  /* Body: espacio para TopBar + menú de 2 filas */
  /* CRÍTICO: background-attachment: fixed NO funciona bien en iOS/Android.
     Cambiarlo a scroll evita que el fondo desaparezca al hacer scroll en móvil. */
  body{
    padding-top: calc(var(--bar-h) + var(--menu-h));
    background-attachment: scroll;
    background-size: cover;
  }

  /* TopBar ajustes */
  .TopBar-inner{ padding: 0 8px; }
  .TopBar-logo{ width: 40px; }
  .TopBar-title{ font-size: 15px; }
  .TopBar-version{ font-size: 11px; margin-left: 8px; margin-top: 6px; }
  .TopSearchBox{ display: none; } /* Se oculta el buscador en móvil */

  /* Menú principal: se organiza en 2 filas de 3 enlaces */
  .top-main-menu{ height: var(--menu-h); } /* Altura fija de 2 filas */
  .top-main-menu-inner{ padding: 0 4px; height: 100%; }
  .menu-links{
    flex-wrap: wrap;
    height: 100%;
    align-content: center;
  }
  .top-menu-sep{ display: none; } /* Ocultar los separadores "--" */
  .top-menu-link{
    flex: 1 1 33.333%; /* 3 enlaces por fila */
    font-size: 13px;
    padding: 6px 2px;
    text-align: center;
  }

  /* Footer */
  .social-links{ justify-content:center; flex-wrap:wrap; gap:10px; }
  .social-link img{ width:44px; height:44px; }
  .footer-copy{ font-size:13px; }
  .bottom-links{ gap:12px; }
  .bottom-column{ flex:1 1 45%; }
  .bottom-title{ font-size:18px; }
  .bottom-link{ font-size:15px; }

  /* CRÍTICO — Fix global para todas las páginas que usen .page2-full-bg o .main-banner:
     background-attachment: fixed rompe en iOS/Android. Usamos !important para
     sobreescribir los <style> locales de cada sección (services, tiers, about us...) */
  .page2-full-bg {
    background-attachment: scroll !important;
    background-size: cover !important;
  }
  .main-banner {
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    padding: 18px 6px !important;
    box-sizing: border-box !important;
    background-attachment: scroll !important;
    background-size: cover !important;
  }
  .banner-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .banner-content h1,
  .banner-content .neon-hollow-text,
  h1.neon-hollow-text,
  .neon-hollow-text {
    font-size: clamp(19px, 5.2vw, 26px) !important;
    -webkit-text-stroke: 1px #27e36e !important;
    text-shadow: 0 0 10px rgba(39, 227, 110, 0.7), 2px 2px 0px #000000 !important;
    line-height: 1.25 !important;
    margin: 0 auto 10px auto !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .subtitle-box-wrapper {
    display: block !important;
    width: calc(100% - 10px) !important;
    max-width: 520px !important;
    margin: 10px auto 0 auto !important;
    padding: 10px 10px !important;
    box-sizing: border-box !important;
    border: 1.5px solid #00ccff !important;
    border-radius: 10px !important;
    box-shadow: 0 0 12px rgba(0, 204, 255, 0.4), inset 0 0 8px rgba(0, 204, 255, 0.2) !important;
    text-align: left !important;
  }
  .banner-content h2,
  .subtitle-box-wrapper h2,
  h2.subtitle-cyan-bold,
  .subtitle-cyan-bold {
    font-family: 'Orbitron', Consolas, monospace !important;
    font-size: clamp(10.5px, 3vw, 12px) !important;
    letter-spacing: 0.3px !important;
    line-height: 1.4 !important;
    margin: 5px 0 !important;
    -webkit-text-stroke: 0.5px #000000 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
}

/* Styles for Welcome content injected via AJAX  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Welcome / fragment injected into #main_content_div */
.welcome-container{
  display:flex;
  gap:40px;
  align-items:flex-start;
  width:100%;
  max-width: var(--site-max);
  margin: 0 auto;
  box-sizing:border-box;
  padding:10px 0;
}

/* PRIMERA COLUMNA: ancho fijo 300px y logo 300x300 */
.welcome-sidebar{
  flex: 0 0 300px;      /* ancho fijo 300px */
  width: 300px;         /* asegurar 300px */
  max-width: 300px;
  text-align:center;
  box-sizing:border-box;
  padding-right:8px;
}

.welcome-sidebar .FancyLogo{
  display:block;
  width:256px;
  height:256px;
  margin:12px auto 0;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

.subtitle-prompt {
  color: #a3b8cc;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 16px; /* Un tamaño de 15px, justo entre 14px y 16px */
  margin: 10px auto 15px auto;
  letter-spacing: 0.5px;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid rgba(163, 184, 204, 0.2); /* Opcional: un borde muy sutil para delimitar la caja */
}

/* COLUMNA DERECHA: ocupa el resto del ancho disponible */
.welcome-main{
  flex: 1 1 0;
  min-width:0; /* importante en flex para evitar overflow */
  box-sizing:border-box;
  /* margin-top: -70px;  Mueve el bloque principal hacia arriba para alinearlo con el sidebar */
}

.welcome-main.ContentFontWhiteConsoleSmall {
    max-width: none;
}

/* Nueva clase para separar estilos de la bienvenida y asegurar alineación */
.welcome-box {
  background-color: #141A21;
  border: 2px solid #27e36e;
  border-radius: 12px;
  padding: 20px;
  margin-top: 0; /* Alineación perfecta con el inicio del sidebar (Categorías) */
  text-align: left;
}

/* Tipografía / boxes ya existentes */
.welcome-main h1.GreenTitle{ margin:0 0 12px; }
.welcome-content p{ margin:0 0 1rem; }
.welcome-content ul{ margin:0 0 1rem 1.2rem; }

.styled-box{
  width: 100%;
  max-width: var(--site-max);
  margin: 20px auto 1.2rem; /* Cambiamos 100px por 20px para acercarlo a la línea */
  border: 1px solid #00FF41;
  padding:18px;
  border-radius:8px;
  background: rgba(13, 17, 23, 0.90);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #E2E8F0;
  font-size: 18px;
  line-height: 1.5;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.styled-box h3{ color: #00FF41; margin-top:0; }

.styled-box-flex {
  display: flex;
  align-items: center;
  gap: 25px;
}
.styled-box-text { flex: 1; }
.styled-box-img { flex: 0 0 120px; }
.styled-box-img img { 
  width: 100%; 
  height: auto; 
  /* Añadimos transición y un borde redondeado para el efecto */
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Efecto de brillo (glow) azul/cian al pasar el ratón */
.styled-box-img img:hover {
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.7), 0 0 40px rgba(0, 191, 255, 0.4);
  transform: scale(1.05);
}

.welcome-links{ text-align:center; margin:18px 0; }
.welcome-signature{ text-align:right; margin-top:12px; font-size:0.95rem; }

/* Responsive: apilar en pantallas pequeñas y reducir logo */
@media (max-width:900px){
  .welcome-container{ flex-direction:column; gap:24px; align-items:center; padding:8px; }
  .welcome-sidebar{ flex-basis:auto; width:100%; max-width:320px; }
  .welcome-sidebar .FancyLogo{ width:220px; height:220px; }
  .welcome-main{ width:100%; }
  .welcome-signature{ text-align:center; }
}

/* Móvil estrecho: logo aún más pequeño */
@media (max-width:480px){
  .welcome-sidebar .FancyLogo{ width:160px; height:160px; }
  .welcome-sidebar{ padding-right:0; }
}

/* End of Welcome content styles - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Block that handles contact us form BEGINS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

/* Contenedor modal centrado, ancho 90% del contenido y más compacto verticalmente */
.contact-modal {
  width: 90%;
  max-width: 1280px; /* igual que el área principal */
  margin: 20px auto; /* centrado horizontal */
  background: rgba(10, 12, 19, 1);
  border-radius: 14px;
  border: 2px solid #00ff66;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 120, 0.15);
  padding: 18px;
  z-index: 1;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Efecto de halo (glow) sobre la caja cuando el mouse pasa por encima */
.contact-modal:hover {
  border-color: #00ff66; /* Cambio sutil a cyan en el borde */
  box-shadow: 0 0 40px rgba(0, 255, 102, 0.3), 
              0 0 60px rgba(0, 255, 255, 0.2), 
              0 12px 36px rgba(0, 0, 0, 0.8);
}

/* Se quita el límite de altura para que crezca con el contenido y no scrollee */
.contact-inner {
  max-height: none; 
  overflow-y: visible;
  padding: 6px 12px;
}

/* Grid para filas label / campo */
.contact-row {
  display: block;
  margin: 15px 0;
}

/* Nuevo contenedor para Nombre y Email en la misma fila */
.contact-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 15px 0;
}

/* Labels alineadas a la derecha */
.contact-label {
  text-align: right;
  padding-right: 6px;
  white-space: normal;
}

/* Centrado y espacio para la pregunta de opciones de contacto */
.contact-reasons-row .contact-label {
  display: block;
  text-align: center;
  margin: 20px 0 15px 0;
  padding-right: 0;
  font-size: 20px;
}

/* Campo a la izquierda */
.contact-field {
  text-align: left;
}

/* Inputs y textarea más compactos */
.caja-texto-moderna {
  width: 100%;
  max-width: 100%;
  padding: 8px 14px; /* Un poco más delgados verticalmente */
  background: #2f3b41;
  color: #f7eae6;
  border: 1px solid rgba(0, 255, 102, 0.3); /* Verde más tenue */
  border-radius: 6px;
  font-family: monospace;
  font-size: 18px;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s ease;
}

/* Efecto de halo cyan on mouseover */
.caja-texto-moderna:hover {
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}

.caja-texto-moderna:focus {
  border-color: #00ff66;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

/* Estilo para el placeholder tenue */
.caja-texto-moderna::placeholder {
  color: rgba(247, 234, 230, 0.4);
}

/* textarea más corta verticalmente */
.caja-texto-moderna[type="textarea"],
textarea.caja-texto-moderna {
  min-height: 65px; /* Aún más delgado verticalmente */
  resize: vertical;
}

/* Opciones de contacto: grid fluido, ocupa toda la anchura disponible */
.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 18px;
  align-items: center;
  justify-items: start;
}

/* Centrar el contenido para el tier seleccionado en el formulario de contacto */
#contactUsOptions_bis {
  justify-items: center;
  text-align: center;
}

/* Tabla de opciones alineada a la izquierda */
.contact-options table {
  text-align: left;
}
.contact-options td {
  text-align: left;
}

/* Estilo base para cada opción (checkbox + texto) - asume que se inyectan elementos dentro */
.contact-options .option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00ff44;
  font-family: monospace;
  font-size: 16px;
}

/* Botones centrados y compactos */
.contact-actions {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.contact-actions .btn-terminal {
  min-width: 110px;
  margin: 0 10px;
  padding: 8px 16px;          /* Más compactos verticalmente */
  border-radius: 5px;         /* Bordes menos redondeados tipo terminal */
  background: #000000;        /* Fondo negro sólido */
  color: #00E30B;             /* Verde terminal clásico */
  border: 1px solid #00E30B;  /* Borde delgado */
  cursor: pointer;
  font-weight: bold;
  font-family: Consolas, "Andale Mono", monospace;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 227, 11, 0.5);
}

/* Efecto hover con inversión de colores y halo (glow) */
.contact-actions .btn-terminal:hover {
  background-color: #00E30B;
  color: #000000;
  box-shadow: 0 0 15px rgba(0, 227, 11, 0.8);
}

/* respuesta de la acción */
.contact-response {
  text-align: center;
  margin-top: 6px;
  color: #00ff44;
  min-height: 24px;
}

.contact-error-box {
  background-color: #2b0808;
  border: 1px solid #ff4444;
  color: #ffb3b3;
  padding: 10px 15px;
  border-radius: 6px;
  font-family: Consolas, "Andale Mono", monospace;
  font-size: 15px;
  margin-top: 10px;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

/* Nuevo estilo de error Ámbar tipo alerta de sistema */
.contact-error-box-noir {
  background-color: #1a1402; /* Negro con tinte ámbar */
  border: 1px solid #ff8c00; /* Naranja quemado / Ámbar */
  color: #ffbf00;           /* Texto ámbar brillante */
  padding: 10px 15px;
  border-radius: 6px;
  font-family: Consolas, "Andale Mono", monospace;
  font-size: 17px;
  margin-top: 10px;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.25);
}

.cyan-response-box {
  background-color: #042429; /* Fondo cyan oscuro / azul petróleo */
  border: 1px solid #00E3E3; /* Borde cyan brillante */
  color: #b3ffff; /* Texto color cyan claro */
  padding: 10px 15px;
  border-radius: 6px; /* Bordes redondos */
  font-family: Consolas, "Andale Mono", monospace;
  font-size: 15px;
  margin-top: 10px;
  box-shadow: 0 0 10px rgba(0, 227, 227, 0.2);
}

/* Responsive: optimizaciones móviles para el formulario de contacto */
@media (max-width: 768px) {
  .ui-dialog {
    width: 96vw !important;
    max-width: 96vw !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .ui-dialog .ui-dialog-content {
    max-height: 88vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .contact-modal {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 16px 12px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }
  .contact-inner {
    max-height: 82vh !important;
    overflow-y: auto !important;
    padding: 0 !important;
  }
  .contact-row {
    grid-template-columns: 1fr;
    margin: 8px 0;
  }
  .contact-row-split {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 8px 0;
  }
  .contact-label {
    text-align: left;
    padding-right: 0;
  }
  .caja-texto-moderna {
    font-size: 14px;
    padding: 8px 10px;
  }
  .contact-reasons-row .contact-label {
    font-size: 13px;
    margin: 10px 0 6px 0;
    line-height: 1.35;
  }
}

/* Block that handles contact us form ENDS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

/* Eliminar la barra de título y el botón cerrar de jQuery UI dialog */
.ui-dialog .ui-dialog-titlebar,
.ui-dialog .ui-dialog-titlebar-close {
  display: none !important;
}

/* Asegurar que el wrapper no deje espacio ni fondo extra */
.ui-dialog {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* El contenido del diálogo será controlado por tu .contact-modal */
.ui-dialog .ui-dialog-content,
.ui-dialog .ui-widget-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Begins CODE content styles - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* contentStage replacement: hero (400px), grid 3-col con gaps y bottom box */
.content-stage-inner{ width:100%; box-sizing:border-box; }

/* AREA 1: hero */
.code-hero{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  min-height: clamp(200px, 31.25vw, 400px);
  background-color: rgba(5, 10, 20, 0.5);   /* Top Background color */
  background-repeat:no-repeat;
  background-position:center;
  background-size:auto 100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding: 10px;
  box-sizing:border-box;
  margin-bottom:10px; /* separación entre area 1 y 2 */
  overflow: hidden;
  border-bottom: 1px solid #00CFFF;
}
.code-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(5, 10, 20, 0.6); /* Capa obscura semitransparente para mejorar contraste (0.6) */
  z-index: 0;
  transition: background-color 0.4s ease; /* Transición suave */
}
.code-hero:hover::before {
  background-color: rgba(5, 10, 20, 0.1); /* Se aclara al pasar el ratón */
}
.code-hero-inner{
  position: relative;
  z-index: 1;
  width:100%;
  max-width: var(--site-max); /* usa la misma restricción que .container */
  margin: 0 auto;             /* centra dentro del hero */
  box-sizing: border-box;
  color:#e0e0e0;
  padding: 0 15px; /* Aligned with .posts-section-container */
}
.code-hero .section-title {
  color: transparent;
  -webkit-text-stroke: 1px #00ff66; /* Crea el efecto de texto hueco */
  font-family: 'Orbitron', sans-serif; /* Tipografía futurista */
  font-size: 36px;
  margin: 0 0 10px;
  text-shadow: 0 0 12px rgba(0, 255, 102, 0.6); /* Resplandor neón */
  text-transform: uppercase; /* Center content, including .subtitle-box-wrapper */
  letter-spacing: 2px;
  text-align: center; /* Centra el título */
}
.code-hero .section-lead{
  color: #b0c4de;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  margin: 0 auto 15px; /* Centra la caja horizontalmente */
  width: 75%; /* Limita el ancho al 75% del contenedor padre */
  text-align: justify;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 12px; /* Bordes redondeados */
  padding: 20px; /* Espacio para que el texto respire y no toque los bordes */
  border: 2px solid #00ccff;
  box-shadow: 0 0 15px rgba(0, 204, 255, 0.5), inset 0 0 10px rgba(0, 204, 255, 0.3); /* Resplandor interior y exterior cyan */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9); /* Sombra negra en el texto */
}

/* AREA 2: grid 3 columnas, gap 20px (vertical y horizontal) */
.code-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; width:100%; box-sizing:border-box; }

/* cada celda */
.code-cell{
  background:#262626;
  padding:16px;
  box-sizing:border-box;
  border-radius:6px;
  min-height:160px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}
.cell-inner{ width:100%; color:#e0e0e0; }

/* AREA 3: caja full width con fondo #262626 */
.code-bottom-box{
  width:100%;
  background:#262626;
  padding:20px;
  box-sizing:border-box;
  margin-top:20px; /* separación respecto a la area superior */
  border-radius:6px;
  color:#e0e0e0;
}

/* RESPONSIVE: apilar columnas en pantallas pequeñas */
@media (max-width:900px){
  .code-grid{ grid-template-columns: 1fr; }
  .code-hero{ height:auto; padding:28px 16px; }
  .code-hero-inner{ max-width:760px; padding-left: 0; } /* Restaura la posición original en móviles */
  .code-hero .section-lead { width: 100%; } /* En pantallas pequeñas, ocupa el 100% para legibilidad */
}

/* CSS for green modal with black background * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* --- 1. Contenedor principal y fondo (Overlay) --- */
.custom-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 16px;
  z-index: 1;
  box-sizing: border-box;
}

/* --- 2. La caja del Modal (común para todos) --- */
.custom-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: rgba(10, 15, 20, 0.85); /* Fondo semitransparente con tinte azulado */
  border-radius: 14px;
  border: 2px solid #00ff66;
  padding: 22px 26px;
  color: #c9ffd1;
  box-sizing: border-box;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 120, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: Consolas, "Andale Mono", "Lucida Console", monospace;
  line-height: 1.5;
}

/* --- 3. Partes internas del Modal (Header, Body, Footer) --- */
.custom-modal-header h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #8cff8a;
  text-align: center;
}

.custom-modal-body {
  max-height: 64vh;
  overflow-y: auto;
  color: #e8ffe8;
  font-size: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding-right: 8px; /* Espacio para el scrollbar */
  text-align: left;
}

.custom-modal-body p { margin: 0 0 1rem; }
.custom-modal-body strong { color: #b9ffb9; }

.custom-modal-footer {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.custom-modal-sep {
  height: 1px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  margin: 18px 0;
}

/* --- 4. Botones del Modal (Cerrar, OK, Cancelar) --- */
.custom-modal-btn {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #bfffbf;
  border: 2px solid rgba(0, 255, 102, 0.45);
  font-weight: 700;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease;
}
.custom-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(0, 255, 102, 0.08);
}

.custom-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.55);
  color: #dfffdc;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.custom-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.08);
  transform: rotate(90deg);
}

/* --- 5. Estilos específicos para el Formulario de Contacto --- */
.custom-modal .contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 12px;
}

.custom-modal .contact-label {
  text-align: right;
  color: #aaccbb;
  font-size: 15px;
  padding-right: 10px;
}

.custom-modal .caja-texto-moderna {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  color: #e8ffe8;
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 6px;
  font-family: Consolas, "Andale Mono", monospace;
  font-size: 15px;
  transition: all 0.2s ease;
}

.custom-modal .caja-texto-moderna:focus {
  outline: none;
  border-color: rgba(0, 255, 102, 0.6);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
}

.custom-modal .contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.custom-modal .contact-response {
  text-align: center;
  margin-top: 10px;
  min-height: 22px;
  font-size: 15px;
  color: #8cff8a;
}

/* ShowDialogV3 * 
  scroll-behavior: smooth;
}

/* --- Estilos para el nuevo showDialogV3 ---  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* 1. Overlay (fondo oscuro) */
.custom-v3-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10003; /* Encima de otros posibles modales */
  padding: 20px;
  box-sizing: border-box;
}

/* 2. Contenedor del Modal */
.custom-v3-modal {
  background: #141A21;
  border: 2px solid #27e36e; /* Borde verde consola */
  border-radius: 12px;
  width: 100%;
  max-width: 800px; /* Ancho máximo */
  color: #e0e0e0;
  font-family: 'Consolas', monospace;
  box-shadow: 0 0 15px rgba(39, 227, 110, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease; /* Transición para el glow */
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

/* Efecto Glow on Mouseover */
.custom-v3-modal:hover {
  border-color: #33ff88; /* Borde más brillante */
  box-shadow: 0 0 30px rgba(39, 227, 110, 0.5); /* Resplandor más intenso */
}

/* 3. Header */
.custom-v3-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(39, 227, 110, 0.3);
}

.custom-v3-header h2 {
  margin: 0;
  font-size: 20px;
  color: #c8facc;
}

/* 4. Botón de cierre 'X' */
.custom-v3-close {
  background: transparent;
  border: 1px solid transparent;
  color: #888;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.custom-v3-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

/* 5. Cuerpo del Modal */
.custom-v3-body {
  padding: 20px;
  overflow-y: auto; /* Scroll si el contenido es muy largo */
  line-height: 1.6;
}

/* 6. Footer y Botón 'OK' */
.custom-v3-footer {
  padding: 15px 20px;
  text-align: right;
  border-top: 1px solid rgba(39, 227, 110, 0.3);
}

.custom-v3-ok-btn {
  background: #27e36e;
  color: #141A21;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.custom-v3-ok-btn:hover {
  background: #55ff99;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* CSS for getCV.php modal form - Begins * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* CV panels: TableWhiteRounded / TableWhiteRoundedWhite
   - fondo semitransparente, borde verde y sombra acorde al site */
.TableWhiteRounded,
.TableWhiteRoundedWhite {
  background: rgba(6, 10, 12, 0.85);        /* semitransparente, oscuro */
  border: 1px solid rgba(0, 227, 11, 0.22); /* borde verde tenue */
  border-radius: 12px;
  
  box-sizing: border-box;
  color: #e8efe8;                            /* texto claro coherente con el tema */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6),
              0 0 18px rgba(0, 227, 11, 0.04); /* sombra + ligero halo verde */
}

/* Variante más "plate" (si quieres diferencia entre las dos clases) */
.TableWhiteRoundedWhite {
  background: rgba(255, 255, 255, 0.10);     /* leve placa sobre el fondo oscuro */
  border-color: rgba(0, 227, 11, 0.16);      /* borde un poco más sutil */
}

/* CSS for getCV.php modal form - Ends * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


/* --- 6. Scrollbar y Responsive --- */
.custom-modal-body::-webkit-scrollbar { width: 10px; }
.custom-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 102, 0.12);
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
  .custom-modal { padding: 16px; max-width: 96%; }
  .custom-modal-header h2 { font-size: 1.2rem; }
  .custom-modal-body { font-size: 15px; max-width: 100%; }
  .custom-modal-btn { min-width: 100px; padding: 9px 14px; }
  
  /* Apilar formulario en móvil */
  .custom-modal .contact-row { grid-template-columns: 1fr; }
  .custom-modal .contact-label { text-align: left; margin-bottom: -5px; }
}

/* Fin de la sección de Estilos para Modales */
/* CSS for green modal with black background * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* End of CODE content styles - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* seguridad: evitar overflow horizontal por imágenes grandes (única regla) */
#contentStageWrapper {
  /* Se restaura el min-height para prevenir el "salto" del layout al cargar contenido.
     Esto asegura que el área de contenido ocupe al menos el alto de la ventana visible. */
  min-height: calc(100vh - var(--bar-h) - var(--menu-h));
  width: 100%;
  box-sizing: border-box;
}

/* El div que recibe el HTML via AJAX siempre debe ocupar el ancho completo */
#contentStage {
  width: 100%;
  box-sizing: border-box;
}
img{max-width:100%;height:auto}

/* --- Custom Scrollbar --- */
/* For Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #27e36e #0c1017; /* thumb and track color */
}

/* For Webkit-based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0c1017; /* Dark background for the track */
}

::-webkit-scrollbar-thumb {
  background-color: #27e36e; /* Console green */
  border-radius: 6px;
  border: 2px solid #0c1017; /* Padding around thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #00ff41; /* Brighter green on hover */
}

  /* div {
      border: 1px solid red !important;
  }  */