/*
 * JK Portal - Main Styles
 * Site-specific styles for the JK Portal website
 * Nota: jk-hive.css se carga desde el HTML, no usar @import
 */

/* ========================================
   PORTAL-SPECIFIC STYLES
   ======================================== */

/* Scroll Offset for Anchor Links (navbar + hero bar colapsada + gap) */
html {
  scroll-padding-top: 125px; /* navbar + barra hero + gap ajustado */
}

section[id],
article[id] {
  scroll-margin-top: 125px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 100px;
  }

  section[id],
  article[id] {
    scroll-margin-top: 100px;
  }
}

/* Hero Section - Cybernetic Style (igual que Housesitting: honeycomb + gradient; imagen opcional solo aquÃ­) */
.hero-section {
  background: 
    var(--honeycomb-url) repeat,
    linear-gradient(135deg, var(--jk-tech-darker) 0%, var(--jk-tech-dark) 30%, var(--jk-primary-blue-darker) 70%, var(--jk-tech-dark) 100%);
  background-size: var(--honeycomb-size-sections), 100% 100%;
  background-position: 0 0, 0 0;
  padding: 2rem;
  text-align: center;
  color: var(--jk-metal-light);
  border-bottom: 3px solid var(--jk-primary-blue);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  transition: all 0.35s ease;
}

/* Imagen de fondo hero desactivada; la franja de Ã­conos (engranaje, tractor, moto, auto, camiÃ³n) va debajo del logo */
.hero-section::before {
  content: none;
}

.hero-section.hero-collapsed::before {
  content: none;
}

/* Franja de Ã­conos debajo del logo: engranaje, tractor, moto, auto, camiÃ³n (como representaciÃ³n visual) */
.hero-icons-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 4vw, 1.5rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.hero-icons-strip i {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--jk-accent-honey, #f4c430);
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(244, 196, 48, 0.5);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-icons-strip i:hover {
  opacity: 1;
  transform: scale(1.1);
}

.hero-section.hero-collapsed .hero-icons-strip {
  display: none;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 280px;
    padding: 1.5rem 1rem;
  }
  .hero-icons-strip i {
    font-size: 1.15rem;
  }
  .hero-icons-strip {
    gap: 0.5rem;
  }
}
@media (max-width: 576px) {
  .hero-section {
    min-height: 240px;
    padding: 1.25rem 0.75rem;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-logo-wrapper {
  margin-bottom: 0.5rem;
}

/* Logo del hero: imagen dentro del hex, se adapta al tamaÃ±o del contenedor */
.hero-section .jkhive-editorial-hero-logo .jkhive-hex-content-img {
  padding: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .jkhive-editorial-hero-logo .hero-logo-img,
.hero-section .jkhive-editorial-hero-logo .jkhive-logo-img {
  width: 72%;
  height: auto;
  max-height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

/* Full mode: orden logo, tÃ­tulo, subtÃ­tulo, luego 4 CTAs en fila */
.hero-inner .hero-logo-wrapper { order: 1; }
.hero-inner .hero-icons-strip { order: 2; }
.hero-inner .hero-title { order: 3; }
.hero-inner .hero-subtitle { order: 4; }
.hero-inner .hero-ctas-row { order: 5; }

.hero-ctas-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-ctas-registro,
.hero-ctas-ingresar {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.hero-cta-item {
  flex-shrink: 0;
}

.hero-cta-fake {
  display: none;
}

/* Hero collapsed: estilos base en hero-honeycomb-bar.css */
/*
 * TransiciÃ³n hero â?? barra: mismos mÃ¡rgenes fijos que JK Lubs (jklubs/www/public/assets/css/jkhive-style.css).
 * Ver jklubs/www/views/partials/README-hero.md. No usar calc(--hero-collapse-spacer-h): allÃ­ el espaciador
 * conserva la altura del hero expandido pero el acercamiento del contenido al viewport estÃ¡ calibrado asÃ­.
 */

.hero-collapse-spacer {
  display: none;
  height: 0;
}
body.hero-scrolled .hero-collapse-spacer {
  display: block;
  /* Fondo oscuro solo en la franja que coincide con la barra (160px desktop), no en todo el spacer. */
  background: linear-gradient(to bottom, var(--jk-tech-darker) 160px, transparent 160px);
  position: relative;
}
body.hero-scrolled .hero-collapse-spacer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px; /* Solo la altura de la hero barra; no extender honeycomb mÃ¡s abajo. */
  background-image: var(--honeycomb-url);
  background-size: var(--honeycomb-size-sidebar);
  background-repeat: repeat;
  background-position: 0 0;
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 768px) {
  body.hero-scrolled .hero-collapse-spacer {
    background: linear-gradient(to bottom, var(--jk-tech-darker) 115px, transparent 115px);
  }
  body.hero-scrolled .hero-collapse-spacer::before {
    height: 115px;
  }
  /* Barra colapsada 115px mÃ³vil: alinear contenido bajo navbar+barra (60+115); igual que JK Lubs */
  body.hero-scrolled .hero-collapse-spacer + .jkhive-content-wrap {
    margin-top: -290px;
  }
}
body.hero-scrolled .hero-collapse-spacer + .jkhive-content-wrap {
  margin-top: -265px;
}
body.hero-scrolled .hero-collapse-spacer + .jkhive-page-container {
  margin-top: -90px;
}
body.hero-scrolled .hero-collapse-spacer + .page-content {
  margin-top: -90px;
}
body.hero-scrolled .hero-collapse-spacer + .jkhive-gallery-catalog-toolbar-wrap {
  margin-top: -200px;
}

@media (max-width: 768px) {
  /* Hero full: mismo 85% que el resto del sitio (55.39px, 1.35rem). La regla global de jkhive-bttn-big ya lo aplica; aquÃ­ solo ajustamos el wrapper .hero-cta-item para que no fuerce otro tamaÃ±o. */
  .hero-section:not(.hero-collapsed) .hero-cta-item,
  html body .hero-section:not(.hero-collapsed) .hero-cta-item {
    width: 55.39px !important;
    height: calc(55.39px * 1.1547) !important;
  }
  .hero-section:not(.hero-collapsed) .hero-cta-item .jkhive-hex,
  .hero-section:not(.hero-collapsed) .hero-cta-item .jkhive-hex {
    width: 55.39px !important;
    height: calc(55.39px * 1.1547) !important;
  }
  .hero-section:not(.hero-collapsed) .hero-cta-item .jkhive-hex-icon {
    font-size: 1.35rem !important;
  }

  .hero-section.hero-collapsed {
    top: 60px;
    left: 101px; /* Mismo borde que la lÃ­nea del sidebar en mobile. */
    height: 115px; /* Alineado con hero-honeycomb-bar.css (barra colapsada) */
    padding: 4px 1rem;
  }
  /* Barra colapsada: 32px (definido en hero-honeycomb-bar.css; aquÃ­ por si se carga antes) */
  .hero-section.hero-collapsed .hero-cta-item,
  html body .hero-section.hero-collapsed .hero-cta-item {
    width: 32px !important;
    height: calc(32px * 1.1547) !important;
  }
  .hero-section.hero-collapsed .hero-cta-item .jkhive-hex,
  .hero-section.hero-collapsed .hero-cta-item .jkhive-hex {
    width: 32px !important;
    height: calc(32px * 1.1547) !important;
  }
  /* Alineado a hero-honeycomb-bar.css: barra CTAs +10% en Ã­cono; html body coherente con ese archivo */
  html body .hero-section.hero-collapsed .hero-cta-item .jkhive-hex-icon,
  html body .hero-section.hero-collapsed .hero-cta-registro-cliente .jkhive-hex-icon,
  html body .hero-section.hero-collapsed .hero-cta-ingresar-cliente .jkhive-hex-icon {
    font-size: 0.88rem !important;
  }
}

/* Hero section - la textura honeycomb ya estÃ¡ aplicada en el background del .hero-section */

/* Animated Glow */
.hero-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
  animation: heroGlow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(14, 165, 233, 1), 0 0 60px rgba(14, 165, 233, 0.5);
  position: relative;
  z-index: 1;
  color: var(--jk-metal-light);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 700 !important; /* Negrita desktop y mobile */
  opacity: 0.9;
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--jk-metal);
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

/* Desktop: texto hero - mÃ¡s padding bot (+5px), menos espacio arriba (-5px) */
@media (min-width: 769px) {
  .hero-subtitle {
    margin-top: -5px;
    padding-top: 0;
    padding-bottom: 5px;
  }
}

/* Wrapper de contenido principal - reemplaza container-fluid (JK Hive, sin Bootstrap) */
.jkhive-content-wrap {
  width: 100%;
  padding: 0.5rem 1rem 2rem;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .jkhive-content-wrap {
    padding: 0.5rem 1.5rem 2rem;
  }
}

/* Grid y utilidades - reemplazo Bootstrap (JK Hive) */
.jkhive-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; }
.jkhive-col-half { flex: 1 1 45%; min-width: 280px; }
.jkhive-col-third { flex: 1 1 30%; min-width: 280px; }
.jkhive-col-quarter { flex: 1 1 22%; min-width: 200px; }
.jk-mb-3 { margin-bottom: 1rem; }
.jk-mb-4 { margin-bottom: 1.5rem; }
.jk-mb-5 { margin-bottom: 3rem; }
.jk-me-2 { margin-inline-end: 0.5rem; }
.jk-me-3 { margin-inline-end: 0.75rem; }
.jk-text-info { color: var(--jk-primary-blue-light, #38bdf8); }
.jk-text-success { color: var(--jk-secondary-green, #2dd4bf); }
.jk-text-warning { color: var(--jk-accent-honey, #f4c430); }
.jk-text-muted { color: var(--jk-metal); opacity: 0.8; }
.jk-mb-0 { margin-bottom: 0; }
.jk-mb-2 { margin-bottom: 0.5rem; }
.jk-mt-5 { margin-top: 3rem; }
.jk-h-100 { height: 100%; }
.jk-lead { font-size: 1.25rem; line-height: 1.5; }
.jk-list-unstyled { list-style: none; padding: 0; margin: 0; }
.jkhive-page-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 3rem 1rem; box-sizing: border-box; }

/* Grid JK Hive - reemplazo Bootstrap (row, col-*) */
.row { display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.row.g-4 { gap: 1.5rem; }
.row.justify-content-center { justify-content: center; }
.jkhive-row.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.d-inline-block { display: inline-block !important; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
.col-lg-3 { flex: 0 0 100%; max-width: 100%; }
.col-lg-4 { flex: 0 0 100%; max-width: 100%; }
.col-xl { flex: 1 1 0; min-width: 0; }
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.me-2 { margin-inline-end: 0.5rem; }
.mb-0 { margin-bottom: 0; }
.h-100 { height: 100%; }
.invalid-feedback { display: none; color: #f87171; font-size: 0.875rem; margin-top: 0.25rem; }
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback { display: block; }

/* Section Containers */
.section-container {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  color: var(--jk-primary-blue);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: var(--jk-accent-honey);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--jk-gray-600);
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* Service Cards - Using Hexagonal Gallery System */
/* Usa el sistema de galerÃ­a hexagonal (puntas vertical) */

/* Service Card Container - Similar a jkhive-hex-gallery */
.service-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1rem;
  padding: 2rem 0;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

/* Service Card Base - HexÃ¡gono vertical */
.service-card {
  position: relative;
  transition: transform 0.3s ease, z-index 0s;
  flex-shrink: 0;
}

.service-card:hover {
  z-index: 10;
  transform: scale(1.05);
}

/* Service Card Hex (el contenedor hexagonal) */
.service-card-hex {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.95) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3), 
              inset 0 0 40px rgba(14, 165, 233, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-hex {
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5), 
              0 0 60px rgba(244, 196, 48, 0.3),
              inset 0 0 60px rgba(14, 165, 233, 0.25);
}

/* Glow effect pseudo */
.service-card-hex::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* Service Card Sizes - BIG (2 por fila) - Mantener para compatibilidad, pero usar jkhive-carouselitem-big */
.service-card-big {
  width: 390px; /* TamaÃ±o mÃ¡s grande (jkhive-itemgallery-big) */
  height: 450px; /* ProporciÃ³n hexagonal */
}

/* Service Card Sizes - MEDIUM (4 por fila) */
.service-card-medium {
  width: 242px;
  height: 279px;
}

/* Service Card Sizes - SMALL (6 por fila) */
.service-card-small {
  width: 140px;
  height: 162px;
}

/* Content Elements - Los estilos de carousel items estÃ¡n ahora en jk-hive.css */
/* Mantener solo para service-card-big para compatibilidad */
.service-card-big .service-icon {
  font-size: 3.5rem;
  color: var(--jk-accent-cyan);
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.8));
  position: relative;
  z-index: 2;
}

.service-card-big .service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jk-accent-honey);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
  position: relative;
  z-index: 2;
}

.service-card-big .service-description {
  font-size: 1rem;
  color: var(--jk-accent-cyan);
  line-height: 1.5;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  margin-bottom: 0rem;
}

/* Estilos base para service-card (NO para jkhive-carouselitem - esos estÃ¡n en jk-hive.css) */
.service-card .service-icon {
  font-size: 3rem;
  color: var(--jk-accent-cyan);
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.8));
  position: relative;
  z-index: 2;
}

.service-card .service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--jk-accent-honey);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
  position: relative;
  z-index: 2;
}

.service-card .service-description {
  font-size: 0.85rem;
  color: var(--jk-accent-cyan);
  line-height: 1.5;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  margin-bottom: 0rem;
}

/* Info button positioning */
.service-card .jkhive-btn-hex-info {
  position: relative;
  margin-top: 0.75rem;
  z-index: 10;
}

/* TamaÃ±o ajustado para cards pequeÃ±as */
.service-card-small .service-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-card-small .service-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.service-card-small .service-description {
  font-size: 0.7rem;
}

.service-card-small .jkhive-btn-hex-info {
  width: 28px;
  height: calc(28px * 1.1547);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* TamaÃ±o ajustado para cards medianas */
.service-card-medium .service-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.service-card-medium .service-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card-medium .service-description {
  font-size: 0.8rem;
}

/* ========================================
   CONTEXTO DEL SERVICIO - Carrusel riesgos vivienda deshabitada
   ======================================== */
.contexto-servicio-carousel .contexto-slide {
  cursor: pointer;
}

.contexto-servicio-carousel .contexto-slide > div {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.contexto-servicio-carousel .contexto-slide .service-description {
  font-size: 1.02rem;
  line-height: 1.5;
  padding: 0 0.5rem;
}

.contexto-servicio-carousel .contexto-slide .service-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  padding: 0 0.25rem;
}

.contexto-servicio-carousel .contexto-slide .service-icon-wrap {
  position: relative;
  display: inline-block;
}

.contexto-servicio-carousel .contexto-slide .contexto-badge {
  position: absolute;
  top: -0.4rem;
  left: 100%;
  margin-left: calc(0.25rem - 15px);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--jk-tech-darker);
  background: var(--jk-accent-honey);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}

.contexto-servicio-carousel .contexto-slide:hover .contexto-badge {
  color: var(--jk-primary-blue);
  background: rgba(14, 165, 233, 0.2);
}

.jkhive-link-contexto {
  color: var(--jk-accent-honey);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.jkhive-link-contexto:hover {
  color: var(--jk-accent-honey-light);
  text-decoration: underline;
}

/* ========================================
   QUÃ? ES + CÃ?MO FUNCIONA - TamaÃ±os homogÃ©neos con secciÃ³n anterior
   ======================================== */
#que-es-como-funciona {
  margin-top: -40px;
}
#que-es-como-funciona .que-es-card {
  transform: none !important;
}

#que-es-como-funciona .que-es-card h4.text-info {
  color: var(--jk-primary-blue-light) !important;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

#que-es-como-funciona .que-es-card h4.text-info i {
  font-size: 1rem;
}

#que-es-como-funciona .que-es-card p {
  color: var(--jk-metal);
  line-height: 1.5;
  font-size: 1.17rem;
}

@media (min-width: 769px) {
  /* PÃ¡rrafo izquierdo: 120px hacia la derecha */
  #que-es-como-funciona .jkhive-row > .jkhive-col-half:first-child .que-es-card {
    margin-left: 120px;
  }
  /* PÃ¡rrafo derecho: 60px hacia la izquierda (desde su borde izquierdo) */
  #que-es-como-funciona .jkhive-row > .jkhive-col-half:last-child .que-es-card {
    margin-left: 60px;
  }
  #que-es-como-funciona .que-es-card p {
    max-width: 80%;
    font-size: 1.27rem;
  }
  #que-es-como-funciona .que-es-card li {
    max-width: 80%;
    font-size: 1.27rem;
  }
}

#que-es-como-funciona .que-es-card ul {
  margin-bottom: 0;
}

#que-es-como-funciona .que-es-card li {
  margin-bottom: 0.5rem;
  color: var(--jk-metal);
  line-height: 1.5;
  font-size: 1.17rem;
}

#que-es-como-funciona .que-es-card li:last-child {
  margin-bottom: 0;
}

#que-es-como-funciona .que-es-card li i.jk-text-success {
  color: var(--jk-secondary-green) !important;
}

#que-es-como-funciona .que-es-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  #que-es-como-funciona .jkhive-section-title {
    font-size: 1.17rem !important;
    margin-bottom: calc(1.5rem - 20px) !important;
  }
  #que-es-como-funciona .jkhive-row > .jkhive-col-half:last-child {
    margin-top: -75px;
  }
  #que-es-como-funciona .que-es-card {
    margin-left: -30px;
    width: 115%;
    margin-right: -15%;
  }
  #que-es-como-funciona .que-es-card h4.jk-text-info {
    font-size: 0.87rem !important;
  }
  #que-es-como-funciona .que-es-card h4.jk-text-info i {
    font-size: 0.73rem !important;
  }
  #que-es-como-funciona .que-es-card p,
  #que-es-como-funciona .que-es-card li {
    font-size: 0.83rem !important;
    max-width: 100%;
  }
  #que-es-como-funciona .que-es-cta-wrap {
    margin-top: calc(1.3rem - 30px);
  }
  /* CTA - Forma parte de House Sitting Chile (tamaÃ±o botones = regla global 55.39px) */
  #cta {
    margin-top: -90px !important;
    margin-bottom: -50px !important;
  }
  #cta .jkhive-section-title {
    font-size: 1.17rem !important;
  }
  #cta p {
    font-size: 0.9rem !important;
    margin-bottom: 2rem !important;
    margin-top: 1.5rem !important;
  }
  #cta .jkhive-link-contexto {
    font-size: 0.65rem !important;
  }
  #cta > div:first-of-type {
    gap: 1.5rem !important;
  }
  #cta > div:last-of-type {
    margin-top: 0.5625rem !important;
  }
}

/* ========================================
   CTA SECTION HEX - EstÃ¡ndar sitio (index #cta, about #cta-about, etc.)
   Mismos botones hex, tamaÃ±os y animaciones en todo el sitio.
   Ver housesitting-docs/Botones_EstÃ¡ndar_Housesitting.txt
   ======================================== */
.cta-buttons-hex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ========================================
   MOBILE (768px): UNA SOLA REGLA GLOBAL para todos los jkhive-bttn-big
   ReducciÃ³n 85% (65.17 â?? 55.39px, icono 1.35rem). Aplica a: hero full, #cta, cta-section-hex,
   #destacados, #nosotros, contact submit, checkout, checkout-success, etc.
   La barra hero colapsada mantiene 32px (hero-honeycomb-bar.css).
   ======================================== */
@media (max-width: 768px) {
  .jkhive-bttn-big,
  .jkhive-bttn-big > a,
  .jkhive-bttn-big > button {
    width: 55.39px !important;
    height: calc(55.39px * 1.1547) !important;
  }
  .jkhive-bttn-big .jkhive-hex {
    width: 55.39px !important;
    height: calc(55.39px * 1.1547) !important;
  }
  .jkhive-bttn-big .jkhive-hex-icon {
    font-size: 1.35rem !important;
  }

  /* SVG (contacto, CTA, modales): mismo tamaño que legacy — ver jkhive-hex-svg.css */
  .jkhive-bttn-big .jkhive-hex-svg-btn,
  .jkhive-bttn-big > a .jkhive-hex-svg-btn,
  .jkhive-bttn-big > button .jkhive-hex-svg-btn,
  .jkhive-bttn-big > .jkhive-hex-svg-btn {
    width: 55.39px !important;
    height: calc(55.39px * 1.1547) !important;
    max-width: 100%;
    max-height: 100%;
  }

  .cta-section-hex .cta-buttons-hex {
    gap: 1.5rem;
  }
}

/* Enlaces secundarios (contexto-servicio, CTA): mismo tamaÃ±o en desktop */
@media (min-width: 769px) {
  #contexto-servicio .jkhive-link-contexto,
  #cta .jkhive-link-contexto {
    font-size: 1rem;
  }
}

/* SeparaciÃ³n carruselâ??link: 1/3 del original (desktop y mobile) */
#contexto-servicio .contexto-servicio-carousel {
  padding-bottom: 1rem !important;
}
#contexto-servicio .contexto-link-wrap {
  margin-top: 0.67rem !important;
}

/* #contexto-servicio mobile: TODO reducido 35% */
@media (max-width: 768px) {
  #contexto-servicio {
    margin-top: 1.3rem !important;
    margin-bottom: 3.25rem !important;
  }
  #contexto-servicio .jkhive-section-title {
    font-size: 1.17rem !important;
    margin-top: 1.95rem !important;
  }
  #contexto-servicio .jkhive-section-title::after {
    height: 2.6px !important;
  }
  #contexto-servicio .contexto-link-wrap {
    margin-top: 0.43rem !important;
  }
  #contexto-servicio .jkhive-link-contexto {
    font-size: 0.65rem !important;
  }
  #contexto-servicio .contexto-servicio-carousel {
    padding: 1.95rem 0 0.65rem 0 !important;
  }
  #contexto-servicio .contexto-servicio-carousel .service-carousel-wrapper {
    gap: 2px !important;
  }
  #contexto-servicio .contexto-servicio-carousel .contexto-slide.jkhive-carouselitem-med {
    width: 253.5px !important;
    height: calc(253.5px * 1.1547) !important;
  }
  #contexto-servicio .contexto-servicio-carousel .contexto-slide .jkhive-hex {
    width: 253.5px !important;
    height: calc(253.5px * 1.1547) !important;
  }
  #contexto-servicio .contexto-servicio-carousel .contexto-slide .jkhive-hex::after {
    width: calc(253.5px - 4px) !important;
    height: calc((253.5px - 4px) * 1.1547) !important;
  }
  #contexto-servicio .contexto-servicio-carousel .contexto-slide .service-icon {
    font-size: 2.275rem !important;
  }
  #contexto-servicio .contexto-servicio-carousel .contexto-slide .service-title {
    font-size: 0.78rem !important;
  }
  #contexto-servicio .contexto-servicio-carousel .contexto-slide .service-description {
    font-size: 0.66rem !important;
  }
  #contexto-servicio .contexto-servicio-carousel .contexto-slide .contexto-badge {
    font-size: 0.39rem !important;
    padding: 0.1rem 0.26rem !important;
    top: -0.3rem !important;
    left: 100% !important;
    margin-left: calc(0.2rem - 15px) !important;
  }
  #contexto-servicio .contexto-servicio-carousel .carousel-nav {
    width: 32px !important;
    height: calc(32px * 1.1547) !important;
    font-size: 1rem !important;
  }
}

/* ========================================
   HOUSESITTING ROLES - Estilo perfil jkhive.work/about
   4 hexÃ¡gonos con hex-border-yellow, 1 botÃ³n por item
   ======================================== */
#housesitting-roles {
  margin-bottom: 2rem;
  padding: 0;
}

.jkhive-hex-gallery-roles {
  display: grid !important;
  grid-template-columns: repeat(4, 200px);
  gap: 1.5rem;
  justify-content: center;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  /* Aire vertical alineado con contrato panal (Â¼ altura + breath), flat 200px */
  --jkhive-hive-apex: 1.1547;
  --jkhive-gallery-hex-flat: 200px;
  --jkhive-gallery-edge-breath: clamp(0.6rem, 2.15vw, 1.12rem);
  --jkhive-gallery-tip-fraction: 0.25;
  --jkhive-gallery-hex-bounding-height: calc(var(--jkhive-gallery-hex-flat) * var(--jkhive-hive-apex));
  --jkhive-gallery-vertical-tip-pad: calc(var(--jkhive-gallery-hex-bounding-height) * var(--jkhive-gallery-tip-fraction) + var(--jkhive-gallery-edge-breath));
  padding-top: var(--jkhive-gallery-vertical-tip-pad);
  padding-bottom: var(--jkhive-gallery-vertical-tip-pad);
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-item {
  width: 200px;
  height: calc(200px * 1.1547);
  margin: 0;
  position: relative;
  transition: transform 0.3s ease, z-index 0s;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-item:hover {
  z-index: 10;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-hex {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3), inset 0 0 40px rgba(14, 165, 233, 0.15) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: default;
  position: relative;
  transition: all 0.3s ease;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-hex.hex-border-yellow::before {
  display: none !important;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-hex.hex-border-yellow::after {
  content: '';
  position: absolute;
  inset: -2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--jk-accent-honey) 0%, var(--jk-accent-honey-light) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-item:hover .jkhive-hex-gallery-hex.hex-border-yellow {
  background: var(--jk-accent-honey-light) !important;
  transform: scale(1.025) !important;
  box-shadow: var(--jk-shadow-lg), 0 0 30px rgba(244, 196, 48, 0.8) !important;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-item:hover .jkhive-hex-gallery-hex.hex-border-yellow::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.025) !important;
  width: calc(100% - 6px) !important;
  height: calc((100% - 6px) * 1.1547) !important;
  background: var(--jk-tech-dark) !important;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-hex.hex-border-yellow > * {
  position: relative !important;
  z-index: 2 !important;
}

.jkhive-hex-gallery-roles .jkhive-roles-icon {
  font-size: 2.5rem !important;
  color: var(--jk-accent-honey) !important;
  margin-bottom: 0.75rem;
  cursor: help;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-item:hover .jkhive-roles-icon {
  color: var(--jk-primary-blue) !important;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.6)) brightness(1.1) !important;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-item:hover .jkhive-bttn-table .jkhive-hex {
  background: var(--jk-primary-blue-light) !important;
  box-shadow: var(--jk-shadow-lg), 0 0 30px rgba(56, 189, 248, 0.8) !important;
}

.jkhive-hex-gallery-roles .jkhive-hex-gallery-item:hover .jkhive-bttn-table .jkhive-hex-icon {
  color: var(--jk-metal-light) !important;
}

/* Animaciones Ã­conos roles - excluir de reglas genÃ©ricas jkhive-elements */
.jkhive-hex-gallery-roles .jkhive-bttn-table .jkhive-hex-icon {
  transition: transform 0.5s ease, color 0.3s ease !important;
  transform-origin: center !important;
  animation: none !important;
  transform: none !important;
}

/* Estado base - sin transform (hs-btn-* ya excluidos del genÃ©rico) */

/* Ingresar: 360Â° (rueda) - NO 180Â° porque enterâ??salir */
.jkhive-hex-gallery-roles .hs-btn-ingresar a:hover .jkhive-hex-icon,
.jkhive-hex-gallery-roles .hs-btn-ingresar:hover .jkhive-hex-icon {
  transform: rotate(360deg) !important;
}

/* Registrarse: 360Â° sobre eje horizontal (flip completo) */
.jkhive-hex-gallery-roles .hs-btn-registro {
  perspective: 150px;
}
.jkhive-hex-gallery-roles .hs-btn-registro a:hover .jkhive-hex-icon,
.jkhive-hex-gallery-roles .hs-btn-registro:hover .jkhive-hex-icon {
  transform: rotateX(360deg) !important;
}

@media (max-width: 768px) {
  .jkhive-hex-gallery-roles {
    grid-template-columns: repeat(2, 160px);
    gap: 1rem;
    padding-top: 20px;
  }

  .jkhive-hex-gallery-roles .jkhive-hex-gallery-item {
    width: 160px;
    height: calc(160px * 1.1547);
  }

  .jkhive-hex-gallery-roles .jkhive-roles-icon {
    font-size: 2rem !important;
  }
}

/* Service Card Carousel Container - UNA LINEA HORIZONTAL DE HEXÃGONOS */
.service-carousel {
  position: relative;
  width: calc(100% - 120px); /* Espacio para las flechas laterales */
  max-width: 1176px; /* Ancho para 3 hexÃ¡gonos medianos (390px Ã? 3) + 2 separaciones de 3px = 1176px */
  overflow: hidden; /* Oculta los clones fuera de vista */
  padding: 3rem 0;
  margin: 0 auto;
}

.service-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 3px; /* SeparaciÃ³n de 3px entre hexÃ¡gonos */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 0; /* Sin padding para evitar mostrar partes de hexÃ¡gonos */
  width: 100%;
}

/* Carousel Navigation Buttons - Hexagonal */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200; /* Por encima de los hexÃ¡gonos */
  cursor: pointer;
  width: 50px;
  height: calc(50px * 1.1547);
  display: flex; /* Visible por defecto, JavaScript lo oculta si no es necesario */
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, 
    var(--jk-primary-blue) 0%, 
    var(--jk-accent-cyan) 100%);
  color: var(--jk-metal-light);
  font-size: 1.5rem;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 0 2px var(--jk-primary-blue))
          drop-shadow(0 4px 15px rgba(14, 165, 233, 0.3));
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.15);
  background: linear-gradient(135deg, 
    var(--jk-accent-honey) 0%, 
    var(--jk-accent-honey-light) 100%);
  filter: drop-shadow(0 0 0 2px var(--jk-accent-honey))
          drop-shadow(0 4px 20px rgba(244, 196, 48, 0.6));
  color: var(--jk-tech-darker);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav-prev {
  left: 10px; /* Dentro del viewport, al borde izquierdo */
}

.carousel-nav-next {
  right: 10px; /* Dentro del viewport, al borde derecho */
}

/* Card size adjustments for small */
.service-card-small .service-icon {
  font-size: 1.8rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-card-small .service-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.service-card-small .service-description {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Language Switcher */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  width: 50px;
  height: 50px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--jk-white);
  border: 2px solid var(--jk-accent-honey);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--jk-primary-blue);
  transition: var(--jk-transition);
  font-size: 0.9rem;
}

.lang-btn:hover {
  background: var(--jk-accent-honey);
  transform: scale(1.1);
}

.lang-btn.active {
  background: var(--jk-primary-blue);
  color: white;
  border-color: var(--jk-accent-honey);
}

/* About Section - Tech Style */
.about-section {
  background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--jk-shadow-md), inset 0 0 40px rgba(14, 165, 233, 0.1);
  border-left: 5px solid var(--jk-primary-blue);
  border: 2px solid rgba(14, 165, 233, 0.3);
  border-left-width: 5px;
  color: var(--jk-metal-light);
}

/* CTA Section - Cybernetic */
.cta-section {
  background: linear-gradient(135deg, var(--jk-secondary-green-dark) 0%, var(--jk-primary-blue-dark) 50%, var(--jk-secondary-green-dark) 100%);
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  color: var(--jk-metal-light);
  box-shadow: var(--jk-shadow-lg), var(--jk-glow-cyan);
  border: 3px solid var(--jk-primary-blue);
  position: relative;
  overflow: hidden;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(20, 184, 166, 0.8);
}

/* eBook Cards - Cybernetic */
.ebook-card {
  background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--jk-shadow-md), inset 0 0 30px rgba(14, 165, 233, 0.1);
  transition: var(--jk-transition);
  border: 2px solid rgba(14, 165, 233, 0.3);
  height: 100%;
}

.ebook-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jk-shadow-lg), var(--jk-glow-blue);
  border-color: var(--jk-primary-blue-light);
}

.ebook-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 3px solid var(--jk-primary-blue);
  filter: brightness(0.9) contrast(1.1);
}

.ebook-card:hover .ebook-cover {
  filter: brightness(1) contrast(1.2);
}

.ebook-body {
  padding: 1.5rem;
}

.ebook-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jk-metal-light);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.ebook-author {
  color: var(--jk-primary-blue-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.ebook-description {
  color: var(--jk-metal);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ebook-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ebook-price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jk-secondary-green);
}

.ebook-price-original {
  font-size: 1rem;
  color: var(--jk-gray-400);
  text-decoration: line-through;
}

.ebook-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ebook-badge-featured {
  background: var(--jk-accent-honey);
  color: var(--jk-gray-900);
}

.ebook-badge-new {
  background: var(--jk-secondary-green);
  color: white;
}

/* Pricing Tables */
.pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--jk-shadow-md);
  border: 2px solid var(--jk-gray-200);
  transition: var(--jk-transition);
  height: 100%;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--jk-shadow-lg);
}

.pricing-card.popular {
  border-color: var(--jk-accent-honey);
  border-width: 3px;
  transform: scale(1.05);
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--jk-accent-honey);
  margin-bottom: 1.5rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jk-primary-blue);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--jk-gray-900);
}

.pricing-price small {
  font-size: 1rem;
  color: var(--jk-gray-500);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.pricing-features li i {
  margin-right: 0.5rem;
}

/* Contact Form - Tech Style */
.contact-form {
  background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--jk-shadow-md), inset 0 0 40px rgba(14, 165, 233, 0.1);
  border: 2px solid rgba(14, 165, 233, 0.3);
}

.form-label {
  font-weight: 600;
  color: var(--jk-primary-blue-light);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.form-control, .form-select {
  display: block;
  width: 100%;
  border: 2px solid rgba(14, 165, 233, 0.3);
  border-radius: 0.5rem;
  padding: 0.75rem;
  transition: var(--jk-transition-fast);
  background: rgba(15, 23, 42, 0.5);
  color: var(--jk-metal-light);
}

.form-control:focus, .form-select:focus {
  border-color: var(--jk-primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25), inset 0 0 20px rgba(14, 165, 233, 0.1);
  background: rgba(15, 23, 42, 0.7);
}

.form-control::placeholder {
  color: var(--jk-metal-dark);
}

/* Shopping Cart */
.cart-item {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--jk-shadow);
  border-left: 4px solid var(--jk-accent-honey);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  color: var(--jk-gray-900);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--jk-secondary-green);
  font-weight: 600;
}

.cart-summary {
  background: var(--jk-gray-50);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--jk-accent-honey);
}

.cart-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--jk-gray-300);
}

.cart-summary-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jk-primary-blue);
  padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem; /* +10% vs 1rem */
    font-weight: 700;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .lang-switcher {
    top: 10px;
    right: 10px;
  }
  
  .lang-btn {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }
  
  .service-card {
    margin-bottom: 1rem;
    min-height: 280px;
    padding: 2.5rem 2rem;
  }
  
  /* Responsive carousel sizes */
  .service-card-big {
    width: 100%; /* 1 por fila en mÃ³vil */
  }
  
  .service-card-medium {
    width: calc(50% - 2rem); /* 2 por fila en mÃ³vil */
  }
  
  .service-card-small {
    width: calc(33.333% - 1.5rem); /* 3 por fila en mÃ³vil */
  }
  
  .service-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
  }
  
  .service-title {
    font-size: 1.2rem;
  }
  
  .service-description {
    font-size: 0.85rem;
  }
  
  /* Carousel adjustments for mobile */
  .service-carousel {
    width: calc(100% - 80px); /* Menos espacio para flechas en mÃ³vil */
  }
  
  /* Carousel nav buttons - smaller on mobile */
  .carousel-nav {
    width: 40px;
    height: calc(40px * 1.1547);
    font-size: 1.2rem;
  }
  
  .carousel-nav-prev {
    left: 5px;
  }
  
  .carousel-nav-next {
    right: 5px;
  }
  
  /* Service Cards - Mobile sizes */
  .service-card-big {
    width: 250px;
    height: 289px;
  }
  
  .service-card-medium {
    width: 207px;
    height: 239px;
  }
  
  .service-card-small {
    width: 120px;
    height: 139px;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .service-title {
    font-size: 1.1rem;
  }
  
  .service-description {
    font-size: 0.75rem;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
}

/* Loading States */
.loading-spinner {
  text-align: center;
  padding: 3rem;
}

.loading-spinner .jkhive-hex {
  margin: 0 auto;
}

/* Alert Messages */
.alert-custom {
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  border-left: 4px solid;
}

.alert-custom.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-left-color: var(--jk-secondary-green);
}

.alert-custom.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-left-color: #ef4444;
}

.alert-custom.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border-left-color: var(--jk-primary-blue);
}

.alert-custom.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border-left-color: var(--jk-accent-honey);
}

/* Category Filter Select - Cybernetic Style */
.jkhive-category-filter-wrapper {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.jkhive-category-filter-label {
  color: var(--jk-metal-medium);
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.jkhive-category-select {
  position: relative;
  font-family: 'Inter', sans-serif;
}

.jkhive-category-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.75rem 3rem 0.75rem 1.25rem;
  border: 2px solid var(--jk-primary-blue);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  color: var(--jk-metal-light);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2), inset 0 0 20px rgba(14, 165, 233, 0.1);
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
  min-width: 220px;
}

.jkhive-category-select select:hover {
  border-color: var(--jk-accent-honey);
  box-shadow: 0 6px 20px rgba(244, 196, 48, 0.3), inset 0 0 30px rgba(14, 165, 233, 0.15);
  transform: translateY(-2px);
}

.jkhive-category-select select:focus {
  border-color: var(--jk-accent-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3), 0 8px 25px rgba(14, 165, 233, 0.4), inset 0 0 30px rgba(14, 165, 233, 0.2);
  transform: translateY(-2px);
}

.jkhive-category-select select option {
  background: var(--jk-tech-darker);
  color: var(--jk-metal-light);
  padding: 0.75rem;
  font-weight: 500;
  border: none;
}

.jkhive-category-select::after {
  content: 'â?¼';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--jk-accent-honey);
  font-size: 0.9rem;
  text-shadow: 0 0 10px rgba(244, 196, 48, 0.6);
  transition: all 0.3s ease;
}

.jkhive-category-select:hover::after {
  color: var(--jk-accent-cyan);
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
}

/* Editorial menu item - diseÃ±o tipo logo */
.jkhive-hex-content-editorial {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.jkhive-hex-content-editorial .jkhive-editorial-icon {
  font-size: 1rem !important;
  line-height: 1 !important;
  margin-bottom: 0.2rem !important;
  color: var(--jk-metal-light) !important;
}

/* ESTILOS IDÃ?NTICOS A LA PÃGINA WEB - NO MODIFICAR */
.jkhive-hex-content-editorial .jkhive-logo-main {
  font-size: 1.75rem !important; /* IGUAL que la pÃ¡gina web */
  font-weight: 900 !important;
  color: var(--jk-metal-light) !important;
  letter-spacing: 0 !important; /* Sin letter-spacing adicional, igual que la pÃ¡gina web */
  line-height: 1 !important;
  margin-bottom: 0 !important; /* Sin margin-bottom, igual que la pÃ¡gina web */
}

.jkhive-hex-content-editorial .jkhive-logo-editorial-head .jkhive-logo-divider {
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent 0%, #0ea5e9 20%, #06b6d4 50%, #0ea5e9 80%, transparent 100%) !important;
  margin: 0.2rem 0 0 0 !important;
}

.jkhive-hex-content-editorial .jkhive-logo-sub {
  font-size: 0.5rem !important;
  font-weight: 700 !important;
  color: var(--jk-accent-honey-light, #f4c430) !important; /* IGUAL que la pÃ¡gina web (accent-honey-light no accent-honey) */
  letter-spacing: 0.15em !important; /* IGUAL que la pÃ¡gina web (0.15em no 0.1em) */
  line-height: 1 !important;
  margin-top: 0.05rem !important;
  text-shadow: 0 0 10px rgba(244, 196, 48, 0.8), 0 0 20px rgba(212, 160, 23, 0.6) !important; /* IGUAL que la pÃ¡gina web */
}

/* Eliminar subrayados y estilos de enlace por defecto en TODO el sidebar */
.jkhive-sidebar a,
.jkhive-sidebar a:link,
.jkhive-sidebar a:visited,
.jkhive-sidebar a:hover,
.jkhive-sidebar a:focus,
.jkhive-sidebar a:active {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Estilos especÃ­ficos para enlaces dentro de items del menÃº */
.jkhive-nav-item a,
.jkhive-nav-item a:link,
.jkhive-nav-item a:visited,
.jkhive-nav-item a:hover,
.jkhive-nav-item a:focus,
.jkhive-nav-item a:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
  text-underline-offset: 0 !important;
  text-underline-position: auto !important;
  border: none !important;
  outline: none !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Asegurar que el contenido dentro de los enlaces tambiÃ©n herede estilos */
.jkhive-nav-item a * {
  text-decoration: none !important;
  text-decoration-line: none !important;
  color: inherit !important;
}

/* SubmenÃº: cuando estÃ¡ en body (fuera del sidebar), quitar subrayado de todos los items */
body > .jkhive-submenu-horizontal .jkhive-submenu-item,
body > .jkhive-submenu-horizontal .jkhive-submenu-item * {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration-line: none !important;
}

/* Eliminar text-shadow SOLO de los items del menÃº (NO del logo) */
.jkhive-nav-item .jkhive-hex-icon,
.jkhive-nav-item .jkhive-hex-text,
.jkhive-nav-item .jkhive-editorial-icon,
.jkhive-hex-content-editorial .jkhive-logo-main,
.jkhive-hex-content-editorial .jkhive-logo-sub {
  text-shadow: none !important;
}

/* Logo JK HIVE principal - color dorado en HIVE */
.jkhive-sidebar-logo .jkhive-logo-sub {
  color: var(--jk-accent-honey) !important;
  text-shadow: 0 0 10px rgba(244, 196, 48, 0.8), 0 0 20px rgba(212, 160, 23, 0.6) !important;
}

/* Logo JK EDITORIAL en el hero */
.jkhive-editorial-hero-logo {
  margin-bottom: 17px !important; /* Mismo espacio que padding-top para uniformidad */
}

.jkhive-editorial-hero-logo .jk-logo-sub {
  color: var(--jk-accent-honey) !important;
  text-shadow: 0 0 10px rgba(244, 196, 48, 0.8), 0 0 20px rgba(212, 160, 23, 0.6) !important;
}

/* Responsive adjustments for category filter */
@media (max-width: 768px) {
  .jkhive-category-filter-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .jkhive-category-filter-label {
    font-size: 1rem;
  }
  
  .jkhive-category-select select {
    font-size: 0.95rem;
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    min-width: 180px;
  }
  
  .jkhive-category-select::after {
    right: 1rem;
    font-size: 0.8rem;
  }
}

/* Fix for hexagonal gallery with filtered items */
/* Remover items ocultos completamente del flujo del grid */
#booksGallery.filtered .jkhive-hex-gallery-item:not(.visible-item) {
  display: none !important;
}

/* Reset solo lo necesario para reposicionar */
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item {
  grid-column: auto !important;
  grid-row: auto !important;
}

/* Primera fila: items 1-5 - mantener mÃ¡rgenes originales del grid */
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="1"] { 
  grid-column: 1 !important; 
  grid-row: 1 !important;
  transform: none !important;
  margin: 0 3px -60px 3px !important;
}
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="2"] { 
  grid-column: 2 !important; 
  grid-row: 1 !important;
  transform: none !important;
  margin: 0 3px -60px 3px !important;
}
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="3"] { 
  grid-column: 3 !important; 
  grid-row: 1 !important;
  transform: none !important;
  margin: 0 3px -60px 3px !important;
}
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="4"] { 
  grid-column: 4 !important; 
  grid-row: 1 !important;
  transform: none !important;
  margin: 0 3px -60px 3px !important;
}
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="5"] { 
  grid-column: 5 !important; 
  grid-row: 1 !important;
  transform: none !important;
  margin: 0 3px -60px 3px !important;
}

/* Segunda fila: items 6-9 desplazados con mÃ¡rgenes originales */
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="6"] { 
  grid-column: 1 !important; 
  grid-row: 2 !important; 
  transform: translateX(106px) !important;
  margin: -1px 3px -60px 3px !important;
}
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="7"] { 
  grid-column: 2 !important; 
  grid-row: 2 !important; 
  transform: translateX(106px) !important;
  margin: -1px 3px -60px 3px !important;
}
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="8"] { 
  grid-column: 3 !important; 
  grid-row: 2 !important; 
  transform: translateX(106px) !important;
  margin: -1px 3px -60px 3px !important;
}
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="9"] { 
  grid-column: 4 !important; 
  grid-row: 2 !important; 
  transform: translateX(106px) !important;
  margin: -1px 3px -60px 3px !important;
}

/* ========================================
   HOVER EFFECTS PARA ITEMS FILTRADOS
   ======================================== */

/* Hover para primera fila (items 1-5) */
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="1"]:hover,
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="2"]:hover,
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="3"]:hover,
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="4"]:hover,
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="5"]:hover {
  transform: scale(0.95) !important;
  z-index: 10 !important;
}

/* Hover para segunda fila (items 6-9) - mantener translateX */
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="6"]:hover,
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="7"]:hover,
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="8"]:hover,
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item[data-visible-index="9"]:hover {
  transform: translateX(106px) scale(0.95) !important;
  z-index: 10 !important;
}

/* Asegurar que el efecto ::before funcione en hover */
#booksGallery.filtered .jkhive-hex-gallery-item.visible-item:hover .jkhive-hex-gallery-hex::before {
  opacity: 0.3 !important;
}

/* ========================================
   CTA SECTION - BotÃ³n de Contacto
   ======================================== */
/* El botÃ³n de contacto usa jkhive-actionbutton-big con clase jkhive-hex-honey */
/* Todos los estilos estÃ¡n en jk-hive.css - no necesita estilos adicionales aquÃ­ */

/* ========================================
   FOOTER - Zona dividida en dos columnas iguales (50% / 50%)
   Izquierda: enlaces (Sitio + InformaciÃ³n) centrados en la columna, texto alineado a la izquierda.
   Derecha: corporativo centrado en la columna.
   Mobile: sin lÃ­nea vertical; primero enlaces, despuÃ©s corporativo.
   ======================================== */
.jkhive-footer {
  box-sizing: border-box;
  padding: 2.5rem 2rem 2rem;
}

/* Grilla: footer mismo borde que main (140px desktop, 101px mobile); vÃ©rtice con la lÃ­nea del sidebar. */
body:has(#jkhive-sidebar-container) .jkhive-footer {
  margin-left: 140px;
  width: calc(100% - 140px);
}

/* Main sin fondo extra; evita capas que generen rastro vertical. Los bordes de nav/hero/footer se mantienen. */
body:has(#jkhive-sidebar-container) .jkhive-main-content {
  box-shadow: none;
}

/* Una sola capa de brillo suave en lugar de 3 radiales: evita las divisiones/lÃ­neas verticales en el fondo (nav hasta abajo). */
body:has(#jkhive-sidebar-container)::after {
  background: radial-gradient(ellipse 120% 100% at 50% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 55%);
  animation: none;
  opacity: 1;
}

/* Contenedor interior: en mobile columna (enlaces arriba, corporativo abajo); en desktop dos mitades */
.jkhive-footer-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: stretch;
}

/* Desktop: dos columnas iguales 50% / 50%, lÃ­nea vertical solo en desktop */
@media (min-width: 769px) {
  .jkhive-footer {
    padding: 3rem 2rem 2.5rem;
  }

  .jkhive-footer-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  /* Columna izquierda (50%): enlaces centrados como bloque, texto a la izquierda */
  .footer-left {
    width: 50%;
    flex: 0 0 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(14, 165, 233, 0.25);
    box-sizing: border-box;
  }

  .footer-left .footer-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding-right: 2rem;
    margin-right: 0;
    border-right: none;
    min-width: 0;
  }

  .footer-left .footer-col-info {
    padding-right: 0;
  }

  /* Ecosistema: dos columnas de enlaces (flujo por columnas de hasta 4 filas).
     6 Ã­tems â?? 4+2; al sumar sistemas sigue llenando columna a columna (4+4+â?¦). */
  .footer-left .footer-col-info .footer-ecosystem-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    gap: 0.45rem 1.25rem;
    align-items: start;
  }

  /* Columna derecha (50%): corporativo centrado en la columna */
  .footer-right {
    width: 50%;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 1.5rem;
    box-sizing: border-box;
  }

  .footer-right .footer-corporate {
    text-align: center;
    padding-top: 0;
    align-items: center;
  }

  .footer-right .footer-corporate p {
    text-align: center;
  }
}

/* Pie mínimo (landing básica): solo créditos, sin columnas de enlaces */
@media (min-width: 769px) {
  .jkhive-footer--minimal .footer-right {
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
    padding-left: 0;
  }
}

/* TÃ­tulo de cada columna (Sitio, InformaciÃ³n): alineado a la izquierda */
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jk-metal-light);
  margin: 0 0 0.6rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.95;
  text-align: left;
  width: 100%;
}

.footer-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-col-list li {
  margin: 0;
}

.footer-col-list .footer-link {
  color: var(--jk-primary-blue-light);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-col-list .footer-link:hover {
  color: var(--jk-accent-honey);
  text-shadow: 0 0 10px rgba(244, 196, 48, 0.8);
  text-decoration: underline;
}

.footer-corporate {
  text-align: left;
  padding-top: 0.25rem;
}

.footer-corporate p {
  margin: 0.4rem 0;
  font-size: 0.9375rem;
  color: var(--jk-metal-light);
}

.footer-corporate .footer-link {
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-corporate .small {
  font-size: 0.8125rem;
  opacity: 0.85;
}

/* Texto muted fuera del enlace; el .footer-link conserva color pleno (igual que JK WebS y columnas). */
.jkhive-footer .footer-corporate p.small.footer-copyright-line {
  opacity: 1;
}

.jkhive-footer .footer-corporate .footer-copyright-muted {
  color: var(--jk-metal-light);
  opacity: 0.75;
}

@media (max-width: 768px) {
  /* Main: mismo borde que sidebar en mobile (101px); vÃ©rtice con la lÃ­nea lateral. */
  body:has(#jkhive-sidebar-container):not(.page-public) .jkhive-main-content {
    padding: var(--jk-spacing-md);
    margin-left: 101px;
  }
  
  body.page-public .jkhive-main-content {
    padding: 0 !important;
    margin-top: 60px;
    margin-left: 101px;
  }
  .jkhive-content-wrap,
  .jkhive-page-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .jkhive-footer {
    padding: 1.25rem 1rem 1.25rem;
  }

  .jkhive-footer-inner {
    gap: 1rem;
  }

  body:has(#jkhive-sidebar-container) .jkhive-footer {
    margin-left: 101px;
    width: calc(100% - 101px);
  }

  /* Mobile: enlaces-footer en dos columnas iguales (Sitio | InformaciÃ³n); despuÃ©s corporativo */
  .footer-left {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    border-right: none;
    padding-right: 0;
    width: 100%;
    gap: 0.5rem;
  }

  .footer-left .footer-col {
    flex: 1 1 50%;
    min-width: 0;
    padding-right: 0.5rem;
  }

  .footer-right {
    padding-left: 0;
    align-items: flex-start;
  }

  .footer-right .footer-corporate {
    text-align: left;
    align-items: flex-start;
    padding-top: 0.65rem;
  }

  .footer-right .footer-corporate p {
    text-align: left;
    font-size: 0.65rem !important;
    margin: 0.3rem 0;
  }

  .footer-right .footer-corporate .small {
    font-size: 0.65rem !important;
  }

  /* TamaÃ±os de texto mobile: iguales en enlaces y corporativo (0.65rem cuerpo, 0.6rem tÃ­tulos) */
  .footer-col-title {
    font-size: 0.6rem;
    margin-bottom: 0.28rem;
  }

  .footer-col-list {
    gap: 0.22rem;
  }

  .footer-col-list .footer-link {
    font-size: 0.65rem;
  }

  .footer-corporate {
    padding-top: 0.65rem;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
  }

  .footer-corporate p,
  .footer-corporate .small {
    font-size: 0.65rem;
  }
}

/* ========================================
   Home — sección #ventajas (¿Por qué elegirme?)
   Centrado vertical del stack (icono + título + subtítulo): padding vertical en rem,
   no en % (en CSS % top/bottom usa el ancho del contenedor y desvirtúa el centro en hex altos).
   Ámbito estricto: solo #ventajas + galería small.
   ======================================== */
#ventajas .jkhive-hex-gallery-small .jkhive-hex-content.jkhive-hex-content-editorial {
  justify-content: center !important;
  align-items: center !important;
  align-content: center !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0.5rem 10% 0.55rem 10% !important;
  gap: 0.28rem !important;
}

#ventajas .jkhive-hex-gallery-small .jkhive-hex-gallery-icon {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: auto !important;
  height: auto !important;
}

#ventajas .jkhive-hex-gallery-small .jkhive-hex-gallery-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15 !important;
  flex-shrink: 0 !important;
}

#ventajas .jkhive-hex-gallery-small .jkhive-hex-gallery-subtitle {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  #ventajas .jkhive-hex-gallery-small .jkhive-hex-content.jkhive-hex-content-editorial {
    padding: 0.4rem 8% 0.45rem 8% !important;
    gap: 0.22rem !important;
  }
}

@media (max-width: 480px) {
  #ventajas .jkhive-hex-gallery-small .jkhive-hex-content.jkhive-hex-content-editorial {
    padding: 0.32rem 7% 0.38rem 7% !important;
    gap: 0.18rem !important;
  }
}




/* =============================================================================
   Layout showcase / admin (antes jkfw-showcase-shell.css + CRM legado). Reglas intactas.
   ============================================================================= */

/* Login full-width sin columna lateral */
body.jkfw-shell-login-page .jkhive-main-content {
  margin-left: 0 !important;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2.5rem 1.25rem !important;
}

body.jkfw-shell-login-page .jkhive-content-wrap,
body.jkfw-shell-login-page .jkhive-page-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;

/**
 * Housesitting - Panel CRM
 *
 * Estilos específicos del CRM. Hereda la base visual de JK Hive
 * (jk-hive.css, jkhive-sidebar.css, jkhive-navbar.css).
 *
 * Herencia: JK Hive CRM (crm.jkhive.work)
 */

/* ============================================================
   LAYOUT CRM/ADMIN ? body flex para que el footer quede abajo y visible
   ============================================================ */
body.crm-layout,
body.admin-layout {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}
body.crm-layout main.jkhive-main-content,
body.admin-layout main.jkhive-main-content {
  flex: 1 0 auto !important;
}

/* ============================================================
   CRM: ESTILOS BASE (Restaurados a su versión limpia original)
   ============================================================ */

.crm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.crm-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.crm-header h2 {
    color: var(--jk-accent-honey);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(212, 160, 23, 0.5);
}

.crm-subtitle {
    color: var(--jk-metal-light);
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Dashboard Grid - 4 cuadrantes */
.crm-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .crm-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .crm-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.crm-dashboard-card {
    background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-medium) 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 180px;
    justify-content: center;
}

.crm-dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border: none;
}

.crm-dashboard-icon {
    font-size: 3rem;
    color: var(--jk-accent-honey);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(212, 160, 23, 0.5));
}

.crm-dashboard-content h3 {
    color: var(--jk-accent-honey);
    font-size: 2.5rem;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
}

.crm-dashboard-content p {
    color: var(--jk-metal-light);
    margin: 0.5rem 0;
    opacity: 0.9;
    font-size: 1rem;
}

.crm-dashboard-trend {
    display: block;
    color: var(--jk-secondary-green);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.crm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.crm-stat-card {
    background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-medium) 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.crm-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border: none;
}

.crm-stat-icon {
    font-size: 3rem;
    color: var(--jk-accent-cyan);
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.5));
}

.crm-stat-content h3 {
    color: var(--jk-accent-honey);
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
}

.crm-stat-content p {
    color: var(--jk-metal-light);
    margin: 0.5rem 0 0 0;
    opacity: 0.8;
}

.crm-quick-actions {
    margin-top: 3rem;
}

.crm-quick-actions h3 {
    color: var(--jk-accent-honey);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
}

.crm-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.crm-action-card {
    background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-medium) 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--jk-metal-light);
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.crm-action-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border: none;
    text-decoration: none;
    color: var(--jk-metal-light);
}

.crm-action-icon {
    font-size: 3rem;
    color: var(--jk-accent-cyan);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.5));
}

.crm-action-card h4 {
    color: var(--jk-accent-honey);
    font-size: 1.5rem;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
}

.crm-action-card p {
    color: var(--jk-metal-light);
    opacity: 0.8;
    margin: 0;
}

.crm-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--jk-accent-red, #dc3545);
    color: white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

/* Dashboard index: sección JK Hive (sin crm-container/crm-header que causaban bordes) */
.jkhive-section-dashboard {
    margin-bottom: 2rem;
}
.jkhive-dashboard-header {
    max-width: 1600px;
    margin: 0 auto 1rem auto;
    text-align: left;
}
.jkhive-section-dashboard .jkhive-section-title.jkhive-section-title-dashboard {
    color: var(--jk-accent-honey) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.25rem !important;
    text-align: left !important;
    width: auto !important;
    display: block !important;
    position: relative !important;
    text-shadow: 0 0 20px rgba(212, 160, 23, 0.5) !important;
}
.jkhive-section-dashboard .jkhive-section-title.jkhive-section-title-dashboard::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 0 !important;
    transform: none !important;
    width: 60% !important;
    height: 2.5px !important;
    background: var(--jk-accent-honey) !important;
    border-radius: 2px !important;
}
.jkhive-greeting-link {
    color: var(--jk-accent-honey) !important;
    text-decoration: none !important;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.jkhive-greeting-link:hover {
    color: var(--jk-accent-honey-light) !important;
    text-shadow: 0 0 12px rgba(244, 196, 48, 0.8) !important;
}
.jkhive-dashboard-header .jkhive-section-subtitle {
    color: var(--jk-metal-light) !important;
    font-size: 0.95rem !important;
    opacity: 0.8;
    margin-bottom: 0;
}
.jkhive-section-dashboard .jkhive-section-subtitle {
    color: var(--jk-metal-light) !important;
    font-size: 0.95rem !important;
    opacity: 0.8;
    margin-bottom: 2rem;
}
.jkhive-dashboard-header + .jkhive-hex-gallery {
    margin-top: 1rem;
}
.jkhive-section-dashboard .jkhive-hex-gallery {
    margin-top: 2rem;
}



/* =============================================================================
   Showcase admin / CRM (legado): texto migrado desde crm.css sin editar reglas.
   Tramo omitido aqui (antiguas lineas 299-733): vista rapida MEDIUM dashboard;
   mismo contrato en jkfw-launcher-dashboard-gallery.css (evita duplicar).
   ============================================================================= */

/* ============================================================
   CRM FOOTER
   ============================================================ */

/* Footer CRM: grilla = mismo margin-left/width que main (jk-hive.css body.crm-layout .jkhive-crm-footer). */
.jkhive-crm-footer {
    display: block !important;
    visibility: visible !important;
    margin-top: auto;
    flex-shrink: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, var(--jk-tech-darker, #0f172a) 0%, var(--jk-tech-dark, #1e293b) 100%);
    border-top: 1px solid var(--jk-tech-medium, rgba(51, 65, 85, 0.6));
    text-align: center;
    box-sizing: border-box;
}

.jkhive-crm-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.jkhive-crm-footer-copy,
.jkhive-crm-footer-credit {
    margin: 0;
    font-size: 0.85rem;
    color: var(--jk-metal, #94a3b8);
}

.jkhive-crm-footer-credit {
    margin-top: 0.35rem;
}

.jkhive-crm-footer-link {
    color: var(--jk-primary-blue, #0ea5e9);
    text-decoration: none;
}

.jkhive-crm-footer-link:hover {
    text-decoration: underline;
}

/* CRM Footer - Responsive (misma grilla: margin-left 101px en mobile vía jk-hive.css) */
@media (max-width: 768px) {
    body.crm-layout .jkhive-crm-footer,
    body.admin-layout .jkhive-crm-footer {
        padding: 1.25rem 1rem !important;
    }
    .jkhive-crm-footer-inner {
        padding: 0 0.5rem;
    }
    body.crm-layout .jkhive-crm-footer .jkhive-crm-footer-copy,
    body.crm-layout .jkhive-crm-footer .jkhive-crm-footer-credit,
    body.admin-layout .jkhive-crm-footer .jkhive-crm-footer-copy,
    body.admin-layout .jkhive-crm-footer .jkhive-crm-footer-credit {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    .jkhive-crm-footer-copy {
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    body.crm-layout .jkhive-crm-footer,
    body.admin-layout .jkhive-crm-footer {
        padding: 1rem 0.75rem !important;
    }
    body.crm-layout .jkhive-crm-footer .jkhive-crm-footer-copy,
    body.crm-layout .jkhive-crm-footer .jkhive-crm-footer-credit,
    body.admin-layout .jkhive-crm-footer .jkhive-crm-footer-copy,
    body.admin-layout .jkhive-crm-footer .jkhive-crm-footer-credit {
        font-size: 0.75rem !important;
    }
}

/* ============================================================
   Login JK Hive ? hexágono + grilla modal; sin footer público.
   Fondo: capa base tech (como el CRM detrás del modal) + .jkhive-login-modal-backdrop
   copia visual de .jkhive-modal-overlay (modals.css L492?526). pointer-events: none en el backdrop.
   Body centrado en viewport (anula flex:1 del main CRM en esta página).
   ============================================================ */
/* Centrado real en viewport: jk-hive .jkhive-main-content aplica margin-left (sidebar) y margin-top (navbar) al login */
body.crm-layout.jkhive-page-login {
  justify-content: center !important;
  align-items: stretch !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
}

body.crm-layout.jkhive-page-login main.jkhive-main-content.jkhive-login-main {
  flex: 1 0 auto !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.jkhive-page-login {
  --jkhive-login-viewport-pad-top: clamp(20px, 3.5vh + env(safe-area-inset-top, 0px), 56px);
  --jkhive-login-viewport-pad-bottom: clamp(12px, 2.5vh + env(safe-area-inset-bottom, 0px), 36px);
  --jkhive-login-hex-inner-pad-x: clamp(0.65rem, 2.5vw, 1.15rem);
  --jkhive-login-hex-inner-pad-y: clamp(0.35rem, 1.8vh, 0.85rem);
  background: var(--jk-tech-darker);
  color: var(--jk-metal-light);
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* Igual que .jkhive-modal-overlay + ::before/::after (modals.css) */
.jkhive-login-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(244, 196, 48, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.jkhive-login-modal-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/honeycomb-pattern.svg');
  background-size: 32px 55px;
  background-repeat: repeat;
  background-position: 0 0;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  filter: brightness(0) contrast(40);
}

.jkhive-login-modal-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/honeycomb-pattern.svg');
  background-size: 32px 55px;
  background-repeat: repeat;
  background-position: 16px 28px;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  filter: brightness(0) contrast(40);
}

body.jkhive-page-login .jkhive-login-main.jkhive-main-content {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin-left: 0 !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: var(--jkhive-login-viewport-pad-top) var(--jk-spacing-xl) var(--jkhive-login-viewport-pad-bottom);
  box-sizing: border-box;
}

/* Panel: hexágono regular; el formulario interior lleva la grilla modal (header / body / footer) */
body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex {
  width: min(
    633.6px,
    92vw,
    calc((100dvh - var(--jkhive-login-viewport-pad-top) - var(--jkhive-login-viewport-pad-bottom) - 0.75rem) / 1.1547)
  );
  max-width: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  isolation: isolate;
  border: none;
  border-radius: 0;
  background: transparent;
  aspect-ratio: 1 / 1.1547;
  height: auto;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 10px 26px rgba(15, 23, 42, 0.5)) drop-shadow(0 0 28px rgba(14, 165, 233, 0.12));
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex::after {
  content: '';
  position: absolute;
  inset: -2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--jk-primary-blue);
  z-index: -2;
  pointer-events: none;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex::before {
  content: '';
  position: absolute;
  inset: 2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(145deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  z-index: -1;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 0 28px rgba(14, 165, 233, 0.08);
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* Centrar el bloque header+cuerpo+pie dentro del hex (no franjas 25/50/25 rígidas) */
  justify-content: center;
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: var(--jkhive-login-hex-inner-pad-y) var(--jkhive-login-hex-inner-pad-x);
}

/* Grilla equivalente a .jkhive-modal-content.jkhive-modal-hex (modals.css) */
body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form:has(> .jkhive-modal-header) {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form:has(> .jkhive-modal-header)::-webkit-scrollbar {
  display: none;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-header {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin: 0 0 clamp(0.2rem, 0.8vh, 0.5rem);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-header::before {
  display: none;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-header > *:not(.jkhive-modal-close) {
  margin-top: 0;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-header > *:not(.jkhive-modal-close) ~ *:not(.jkhive-modal-close) {
  margin-top: 0;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-header .jkhive-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-header .jkhive-modal-header-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-header .jkhive-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jk-metal-light);
  margin: 0;
  text-align: center;
  letter-spacing: 0.02em;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex .jkhive-login-modal-header-icon {
  font-size: 2rem;
  color: var(--jk-accent-honey);
  filter: drop-shadow(0 0 10px rgba(244, 196, 48, 0.4));
  margin-bottom: 0.15rem;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-body {
  flex: 0 1 auto;
  min-height: 0;
  width: 100%;
  max-height: min(52vh, 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  z-index: 2;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-body > .jkhive-modal-body-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.25rem 0.15rem 0.35rem;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--jk-primary-blue) var(--jk-tech-dark);
  -webkit-overflow-scrolling: touch;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-body > .jkhive-modal-body-content::-webkit-scrollbar {
  width: 6px;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-body > .jkhive-modal-body-content::-webkit-scrollbar-track {
  background: var(--jk-tech-dark);
  border-radius: 3px;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-body > .jkhive-modal-body-content::-webkit-scrollbar-thumb {
  background: var(--jk-primary-blue);
  border-radius: 3px;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-footer {
  flex: 0 0 auto;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: clamp(0.2rem, 0.8vh, 0.45rem) 0 0;
  box-sizing: border-box;
  z-index: 2;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-footer::after {
  display: none;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex form.jkhive-login-hex-form > .jkhive-modal-footer > :first-child {
  margin-top: 0 !important;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex .jkhive-login-modal-footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 0;
  padding: 0 0.65rem;
}

body.jkhive-page-login .jkhive-login-panel.jkhive-modal-hex .jkhive-login-submit-row {
  margin-bottom: 0;
  margin-top: 0.25rem;
  display: flex;
  justify-content: center;
}

/* Botón envío: anillo miel metálica ? hover azul neón; interior siempre oscuro (solo cambia el borde). */
body.jkhive-page-login .jkhive-login-action-submit {
  display: flex;
  justify-content: center;
  width: 100%;
}

body.jkhive-page-login .jkhive-login-action-submit .jkhive-login-submit-btn {
  text-decoration: none;
  display: block;
  width: 65.17px;
  height: calc(65.17px * 1.1547);
  overflow: visible;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0 auto;
}

body.jkhive-page-login .jkhive-login-submit-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

body.jkhive-page-login .jkhive-login-hex-ring {
  --jkhive-login-hex-w: 65.17px;
  width: var(--jkhive-login-hex-w);
  height: calc(var(--jkhive-login-hex-w) * 1.1547);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(
    135deg,
    var(--jk-accent-honey-dark) 0%,
    var(--jk-accent-honey) 35%,
    var(--jk-accent-honey-light) 55%,
    var(--jk-accent-honey) 100%
  );
  box-shadow: 0 0 14px rgba(244, 196, 48, 0.45);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

body.jkhive-page-login .jkhive-login-hex-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--jkhive-login-hex-w) - 5px);
  height: calc((var(--jkhive-login-hex-w) - 5px) * 1.1547);
  background: linear-gradient(145deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease;
}

body.jkhive-page-login .jkhive-login-hex-ring-inner {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body.jkhive-page-login .jkhive-login-hex-ring-icon {
  font-size: 1.35rem;
  margin: 0;
  color: var(--jk-accent-honey-light);
  fill: currentColor;
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

body.jkhive-page-login .jkhive-login-action-submit:hover .jkhive-login-hex-ring,
body.jkhive-page-login .jkhive-login-action-submit:focus-visible .jkhive-login-hex-ring {
  background: linear-gradient(
    135deg,
    var(--jk-primary-blue-dark) 0%,
    var(--jk-primary-blue) 45%,
    var(--jk-primary-blue-light) 100%
  );
  transform: scale(1.06);
  box-shadow:
    0 0 24px rgba(14, 165, 233, 0.85),
    0 0 44px rgba(56, 189, 248, 0.55);
  filter: brightness(1.1);
}

body.jkhive-page-login .jkhive-login-action-submit:hover .jkhive-login-hex-ring::after,
body.jkhive-page-login .jkhive-login-action-submit:focus-visible .jkhive-login-hex-ring::after {
  background: linear-gradient(145deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  transform: translate(-50%, -50%) scale(1.01);
}

body.jkhive-page-login .jkhive-login-action-submit:hover .jkhive-login-hex-ring-icon,
body.jkhive-page-login .jkhive-login-action-submit:focus-visible .jkhive-login-hex-ring-icon {
  color: var(--jk-primary-blue-light);
  animation: jkhive-login-key-glow 1.1s ease-in-out infinite;
}

@keyframes jkhive-login-key-glow {
  0%, 100% {
    transform: rotate(-6deg) scale(1);
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.95));
  }
  50% {
    transform: rotate(6deg) scale(1.06);
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 1));
  }
}

body.jkhive-page-login .jkhive-login-panel .jkhive-form-group {
  margin-bottom: 1rem;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-login-remember-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-login-remember-label {
  margin: 0;
  font-weight: normal;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-form-label {
  color: var(--jk-metal-light);
  font-weight: 600;
  font-size: 0.9rem;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 2px solid var(--jk-primary-blue);
  border-radius: 0.5rem;
  color: var(--jk-metal-light);
  font-size: 1rem;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-form-input:focus {
  outline: none;
  border-color: var(--jk-primary-blue-light);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

body.jkhive-page-login .jkhive-login-panel .jkhive-alert {
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-login-footer {
  text-align: center;
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-login-footer p {
  color: var(--jk-metal);
  font-size: 0.72rem;
  margin: 0 0 0.2rem;
  line-height: 1.35;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-login-footer p:last-child {
  margin-bottom: 0;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-login-footer a {
  color: var(--jk-primary-blue-light);
  text-decoration: none;
}

body.jkhive-page-login .jkhive-login-panel .jkhive-login-footer a:hover {
  color: var(--jk-accent-honey);
  text-decoration: underline;
}

/* ============================================================
   ADMIN ? tablas de datos (perfil tenía .jkhive-table solo inline;
   el resto del panel necesita el mismo lenguaje visual JK Hive)
   ============================================================ */
body.admin-layout .admin-container {
  color: var(--jk-metal-light);
}

/* Campos de formulario admin + modales del CRM: mismo lenguaje que .jkhive-form-input (jk-hive.css) */
body.admin-layout .admin-container input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]),
body.admin-layout .admin-container textarea,
body.admin-layout .jkhive-modal input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]),
body.admin-layout .jkhive-modal textarea {
  box-sizing: border-box;
  max-width: 100%;
  /* Sin width:100% aquí: respeta inline (ej. número orden 80px) */
  padding: 0.65rem 0.85rem !important;
  background: linear-gradient(135deg, var(--jk-tech-dark) 0%, var(--jk-tech-medium) 100%);
  border: 2px solid var(--jk-primary-blue);
  border-radius: 0.5rem;
  color: var(--jk-metal-light);
  font-size: 0.95rem;
  line-height: 1.4;
  font-family: inherit;
  transition: var(--jk-transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
  box-shadow: inset 0 0 10px rgba(14, 165, 233, 0.1);
}

body.admin-layout .admin-container textarea,
body.admin-layout .jkhive-modal textarea {
  min-height: 5.5rem;
  resize: vertical;
}

/* Modales mensajería / CRM: campos a ancho útil */
body.admin-layout .jkhive-modal textarea.form-control,
body.admin-layout .jkhive-modal input.form-control:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  width: 100%;
}

body.admin-layout .admin-container input:focus,
body.admin-layout .admin-container textarea:focus,
body.admin-layout .jkhive-modal input:focus,
body.admin-layout .jkhive-modal textarea:focus {
  outline: none;
  border-color: var(--jk-accent-honey);
  box-shadow: 0 0 15px rgba(212, 160, 23, 0.28), inset 0 0 15px rgba(14, 165, 233, 0.18);
}

body.admin-layout .admin-container input::placeholder,
body.admin-layout .admin-container textarea::placeholder,
body.admin-layout .jkhive-modal input::placeholder,
body.admin-layout .jkhive-modal textarea::placeholder {
  color: var(--jk-metal-dark);
  opacity: 0.9;
}

body.admin-layout .admin-container input[type="file"],
body.admin-layout .jkhive-modal input[type="file"] {
  padding: 0.5rem 0.65rem !important;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.75);
}

body.admin-layout .admin-container input:disabled,
body.admin-layout .admin-container textarea:disabled,
body.admin-layout .admin-container select:disabled,
body.admin-layout .jkhive-modal input:disabled,
body.admin-layout .jkhive-modal textarea:disabled,
body.admin-layout .jkhive-modal select:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

/* Select nativo: refuerzo (el padding inline de algunas pantallas anulaba la flecha / contraste) */
body.admin-layout .admin-container select:not(.jkhive-hex-select),
body.admin-layout .jkhive-modal select:not(.jkhive-hex-select) {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  padding: 0.45rem 2rem 0.45rem 0.65rem !important;
  min-height: 2.375rem;
  background: rgba(30, 41, 59, 0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23e2e8f0' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 12px 12px;
  border: 1px solid rgba(14, 165, 233, 0.55);
  border-radius: 0.375rem;
  color: var(--jk-metal-light);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.2s ease;
  clip-path: none !important;
}

body.admin-layout .admin-container select:not(.jkhive-hex-select):hover,
body.admin-layout .jkhive-modal select:not(.jkhive-hex-select):hover {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25);
}

body.admin-layout .admin-container select:not(.jkhive-hex-select):focus,
body.admin-layout .jkhive-modal select:not(.jkhive-hex-select):focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
}

body.admin-layout .admin-container select:not(.jkhive-hex-select) option,
body.admin-layout .jkhive-modal select:not(.jkhive-hex-select) option {
  background: var(--jk-tech-dark);
  color: var(--jk-metal-light);
}

/* HTML / código en admin: conservar monoespaciado aunque herede font del campo tech */
body.admin-layout .admin-container textarea[style*="monospace"],
body.admin-layout .admin-container input.jkhive-about-skill-line-input {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  font-size: 0.875rem;
}

body.admin-layout .admin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(14, 165, 233, 0.28);
}

body.admin-layout .admin-header-copy h1 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--jk-accent-honey);
  text-shadow: 0 0 14px rgba(212, 160, 23, 0.35);
}

body.admin-layout .admin-header-copy h1 i {
  margin-right: 0.45rem;
  opacity: 0.95;
}

body.admin-layout .admin-header-copy p {
  margin: 0;
  max-width: 52rem;
  color: var(--jk-metal-medium);
  font-size: 0.9rem;
  line-height: 1.45;
}

body.admin-layout .admin-header-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* Fila de acciones en formularios admin: forzar eje horizontal (los actionbutton-med son block en jk-hive.css) */
body.admin-layout .jkhive-admin-form-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

body.admin-layout .jkhive-admin-form-actions > .jkhive-actionbutton-med,
body.admin-layout .jkhive-admin-form-actions > .jkhive-bttn-med {
  display: inline-block !important;
  width: auto !important;
  flex: 0 0 auto;
  vertical-align: middle;
}

body.admin-layout .jkhive-admin-form-actions > form.jkhive-admin-inline-form {
  display: inline-block !important;
  width: auto !important;
  flex: 0 0 auto;
  margin: 0;
  vertical-align: middle;
}

body.admin-layout .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(15, 23, 42, 0.35);
}

body.admin-layout table.jkhive-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(15, 23, 42, 0.75);
  font-size: 0.875rem;
}

body.admin-layout table.jkhive-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(30, 41, 59, 0.95);
  color: var(--jk-accent-honey);
  font-weight: 700;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(14, 165, 233, 0.35);
  white-space: nowrap;
}

body.admin-layout table.jkhive-table tbody td {
  padding: 0.55rem 0.75rem;
  color: var(--jk-metal-light);
  border-bottom: 1px solid rgba(51, 65, 85, 0.65);
  vertical-align: top;
}

body.admin-layout table.jkhive-table tbody tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.25);
}

body.admin-layout table.jkhive-table tbody tr:hover td {
  background: rgba(14, 165, 233, 0.08);
}

body.admin-layout table.jkhive-table th.jkhive-th-estado,
body.admin-layout table.jkhive-table th.jkhive-th-acciones {
  text-align: center;
  width: 1%;
  white-space: nowrap;
}

body.admin-layout table.jkhive-table td.jkhive-td-estado,
body.admin-layout table.jkhive-table td.actions-cell {
  vertical-align: middle;
  text-align: center;
}

body.admin-layout table.jkhive-table .jkhive-admin-actions-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

body.admin-layout table.jkhive-table .jkhive-admin-actions-inner > * {
  flex: 0 0 auto;
}

body.admin-layout table.jkhive-table td.actions-cell {
  white-space: nowrap;
}

body.admin-layout table.jkhive-table .jkhive-admin-actions-inner .jkhive-bttn-table {
  display: inline-block !important;
  vertical-align: middle;
}

body.admin-layout table.jkhive-table .jkhive-admin-actions-inner .jkhive-admin-inline-form {
  display: inline !important;
  vertical-align: middle;
}

body.admin-layout table.jkhive-table .jkhive-admin-inline-form button {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  line-height: 0;
}

body.admin-layout .jkhive-audit-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

body.admin-layout .jkhive-audit-filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jk-metal-medium);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.admin-layout .jkhive-audit-filters input[type="search"],
body.admin-layout .jkhive-audit-filters input[type="text"] {
  min-width: 12rem;
  max-width: 22rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(14, 165, 233, 0.45);
  background: rgba(30, 41, 59, 0.85);
  color: var(--jk-metal-light);
  font-size: 0.875rem;
  box-sizing: border-box;
}

body.admin-layout .jkhive-audit-filters input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

body.admin-layout .jkhive-audit-filters select {
  min-width: 10rem;
  max-width: 22rem;
  padding: 0.45rem 0.6rem;
  min-height: 2.375rem;
  border-radius: 6px;
  border: 1px solid rgba(14, 165, 233, 0.45);
  background: rgba(30, 41, 59, 0.85);
  color: var(--jk-metal-light);
  font-size: 0.875rem;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

body.admin-layout .jkhive-audit-filters select:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

body.admin-layout .jkhive-audit-filter-submit {
  display: flex;
  align-items: center;
  align-self: center;
}

/* Paginación JK Hive: auditoría y cualquier listado admin con .jkhive-pagination */
/* Excluir .jkhive-pagination--hex-gallery: usa controles estándar JK Hive + estilos en jkfw-launcher.css */
.jkhive-audit-page .jkhive-pagination,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  padding: 1rem 1rem 1.1rem;
  border-top: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: 0 0 10px 10px;
  background: rgba(15, 23, 42, 0.72);
  box-sizing: border-box;
  width: 100%;
  clear: both;
  position: relative;
  z-index: 1;
}

.jkhive-audit-page .jkhive-pagination-meta,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-pagination-meta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--jk-metal-light);
}

.jkhive-audit-page .jkhive-pagination-actions,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-pagination-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

/* Hex distinto al de filtros: icono claro sobre fondo oscuro (evita miel sobre miel) */
.jkhive-audit-page .jkhive-pagination .jkhive-bttn-med .jkhive-hex,
.jkhive-audit-page .jkhive-pagination .jkhive-bttn-med.jkhive-btn-anim-coinleft .jkhive-hex,
.jkhive-audit-page .jkhive-pagination .jkhive-bttn-med.jkhive-btn-anim-coinright .jkhive-hex,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-bttn-med .jkhive-hex,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-bttn-med.jkhive-btn-anim-coinleft .jkhive-hex,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-bttn-med.jkhive-btn-anim-coinright .jkhive-hex {
  background: linear-gradient(160deg, rgba(30, 58, 95, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.35) !important;
}

.jkhive-audit-page .jkhive-pagination .jkhive-bttn-med .jkhive-hex-icon,
.jkhive-audit-page .jkhive-pagination .jkhive-bttn-med .jkhive-hex-content,
.jkhive-audit-page .jkhive-pagination .jkhive-bttn-med .jkhive-hex-content svg,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-bttn-med .jkhive-hex-icon,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-bttn-med .jkhive-hex-content,
body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-bttn-med .jkhive-hex-content svg {
  color: #e0f2fe !important;
  fill: currentColor !important;
}

.jkhive-audit-page .jkhive-pagination .jkhive-pagination-btn-disabled,
body.admin-layout .jkhive-pagination .jkhive-pagination-btn-disabled {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.15);
}

@media (max-width: 600px) {
  .jkhive-audit-page .jkhive-pagination,
  body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) {
    flex-direction: column;
    align-items: stretch;
  }

  .jkhive-audit-page .jkhive-pagination-meta,
  body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-pagination-meta {
    text-align: center;
  }

  .jkhive-audit-page .jkhive-pagination-actions,
  body.admin-layout .jkhive-pagination:not(.jkhive-pagination--hex-gallery) .jkhive-pagination-actions {
    justify-content: center;
  }
}

body.admin-layout .jkhive-audit-severity {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.admin-layout .jkhive-audit-severity--info {
  background: rgba(14, 165, 233, 0.2);
  color: var(--jk-primary-blue-light);
}

body.admin-layout .jkhive-audit-severity--warning {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
}

body.admin-layout .jkhive-audit-severity--error,
body.admin-layout .jkhive-audit-severity--critical {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

body.admin-layout .jkhive-audit-cell-ellipsis {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.admin-layout .jkhive-audit-url {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}

body.admin-layout .jkhive-audit-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--jk-metal-medium);
  font-size: 0.95rem;
}

/* ============================================================
   Admin About ? lengüetas + paneles rectangulares + edición en línea (perfil)
   ============================================================ */
body.admin-layout .jkhive-about-admin-page .jkhive-about-admin-msg {
  color: var(--jk-accent-teal);
}

body.admin-layout .jkhive-about-admin-page .jkhive-about-admin-err,
body.admin-layout .jkhive-about-admin-page .jkhive-about-admin-db-warning {
  color: var(--jk-accent-red);
}

/* Un solo recuadro: lengüetas + contenido */
body.admin-layout .jkhive-about-admin-sheet {
  width: 100%;
  max-width: 100%;
  margin: 1rem 0 1.25rem;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: linear-gradient(165deg, var(--jk-tech-dark) 0%, var(--jk-tech-darker) 100%);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.admin-layout .jkhive-about-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin: 0;
  padding: 0.75rem 1rem 0.65rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(10, 14, 39, 0.35);
}

body.admin-layout .jkhive-about-admin-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--jk-metal-medium);
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  margin-bottom: -1px;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

body.admin-layout .jkhive-about-admin-tab-icon {
  font-size: 1.05rem;
  color: var(--jk-accent-honey);
  opacity: 0.9;
  line-height: 1;
}

body.admin-layout .jkhive-about-admin-tab.is-active .jkhive-about-admin-tab-icon {
  opacity: 1;
}

body.admin-layout .jkhive-about-admin-tab-label {
  line-height: 1.2;
}

body.admin-layout .jkhive-about-admin-tab:hover {
  color: var(--jk-metal-light);
  background: rgba(14, 165, 233, 0.08);
}

body.admin-layout .jkhive-about-admin-tab.is-active {
  color: var(--jk-accent-honey);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.18) 0%, rgba(10, 14, 39, 0.92) 100%);
  border-color: rgba(14, 165, 233, 0.35);
  border-bottom-color: transparent;
}

body.admin-layout .jkhive-about-admin-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(75dvh, 900px);
  display: flex;
  flex-direction: column;
}

/* Perfil: el recuadro acompaña el alto del contenido (no estira hasta el fondo del viewport) */
body.admin-layout .jkhive-about-admin-sheet:has(#jkhive-about-tab-panel-perfil.is-active) .jkhive-about-admin-sheet-body {
  flex: 0 0 auto;
  max-height: none;
}

body.admin-layout .jkhive-about-admin-sheet:has(#jkhive-about-tab-panel-perfil.is-active) .jkhive-about-admin-tab-panels {
  flex: 0 0 auto;
}

body.admin-layout .jkhive-about-admin-sheet:has(#jkhive-about-tab-panel-perfil.is-active) #jkhive-about-tab-panel-perfil.is-active {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
}

body.admin-layout .jkhive-about-admin-sheet:has(#jkhive-about-tab-panel-perfil.is-active) #jkhive-about-tab-panel-perfil .jkhive-about-admin-perfil-inner {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
}

body.admin-layout .jkhive-about-admin-sheet:has(#jkhive-about-tab-panel-perfil.is-active) #jkhive-about-tab-panel-perfil .jkhive-about-admin-panel-body-scroll {
  flex: 0 0 auto;
  overflow: visible;
  max-height: none;
}

body.admin-layout .jkhive-about-admin-tab-panels {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body.admin-layout .jkhive-about-admin-tab-panel[hidden] {
  display: none !important;
}

body.admin-layout .jkhive-about-admin-tab-panel:not(.is-active) {
  display: none;
}

body.admin-layout .jkhive-about-admin-tab-panel.is-active {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.admin-layout .jkhive-about-admin-tab-inner {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Perfil: alto según contenido (sin min-height de viewport) */

/* Perfil: dos columnas desktop; una columna móvil (editores al final por orden DOM) */
body.admin-layout .jkhive-about-admin-perfil-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  body.admin-layout .jkhive-about-admin-perfil-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

body.admin-layout .jkhive-about-admin-perfil-col--main {
  min-width: 0;
}

body.admin-layout .jkhive-about-admin-perfil-col--editors {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-perfil-editor-field {
  flex: 1 1 auto;
  margin-bottom: 0;
  min-height: 0;
}

body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-perfil-editor-field:not(.jkhive-about-inline-field--labeled) {
  display: flex;
  flex-direction: column;
}

/* Desktop: textarea Detalles = altura de la columna izquierda (misma fila del grid) */
@media (min-width: 769px) {
  body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-perfil-editor-field.jkhive-about-inline-field--labeled {
    display: grid;
    grid-template-columns: minmax(7.5rem, 9rem) 1fr;
    align-items: stretch;
    height: 100%;
  }

  body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-perfil-editor-field .jkhive-about-inline-control {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-perfil-editor-field textarea.jkhive-about-inline-input {
    flex: 1 1 auto;
    min-height: 0;
    resize: vertical;
  }
}

@media (max-width: 768px) {
  body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-perfil-editor-field {
    flex: 0 1 auto;
  }

  body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-perfil-editor-field textarea.jkhive-about-inline-input {
    resize: vertical;
    min-height: auto;
    flex: none;
  }
}

/* Paneles internos ya no llevan borde propio (todo va en .jkhive-about-admin-sheet) */
body.admin-layout .jkhive-about-admin-section-panel {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  margin: 0;
  min-height: 0;
}

body.admin-layout .jkhive-about-admin-panel-header {
  flex: 0 0 auto;
  text-align: center;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

body.admin-layout .jkhive-about-admin-panel-header--compact {
  text-align: left;
  padding: 0.75rem 1rem 0.55rem;
}

body.admin-layout .jkhive-about-admin-panel-header-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--jk-accent-honey);
  filter: drop-shadow(0 0 10px rgba(244, 196, 48, 0.35));
  margin-bottom: 0.12rem;
}

body.admin-layout .jkhive-about-admin-panel-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--jk-metal-light);
  letter-spacing: 0.02em;
}

body.admin-layout .jkhive-about-admin-panel-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--jk-metal-medium);
  max-width: 52ch;
}

body.admin-layout .jkhive-about-admin-h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jk-accent-honey);
}

body.admin-layout .jkhive-about-admin-tab-panel-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: 0.35rem 0 0.35rem;
}

body.admin-layout .jkhive-about-admin-tab-panel-tools .jkhive-about-admin-h3 {
  margin: 0;
}

body.admin-layout .jkhive-about-admin-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.admin-layout .jkhive-about-admin-tab-inner > .jkhive-about-admin-panel-body-scroll {
  flex: 1 1 auto;
}

body.admin-layout .jkhive-about-admin-panel-body-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--jk-primary-blue) var(--jk-tech-dark);
  -webkit-overflow-scrolling: touch;
}

body.admin-layout .jkhive-about-admin-panel-body-scroll::-webkit-scrollbar {
  width: 6px;
}

body.admin-layout .jkhive-about-admin-panel-body-scroll::-webkit-scrollbar-track {
  background: var(--jk-tech-dark);
  border-radius: 3px;
}

body.admin-layout .jkhive-about-admin-panel-body-scroll::-webkit-scrollbar-thumb {
  background: var(--jk-primary-blue);
  border-radius: 3px;
}

body.admin-layout .jkhive-about-admin-panel-footer {
  flex: 0 0 auto;
  min-height: 0.35rem;
  border-top: 1px solid rgba(14, 165, 233, 0.12);
}

body.admin-layout .jkhive-about-admin-profile-wrap {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

body.admin-layout .jkhive-about-admin-profile-photo-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

body.admin-layout .jkhive-about-admin-profile-photo-preview-wrap {
  position: relative;
  flex-shrink: 0;
}

body.admin-layout .jkhive-about-admin-profile-photo-preview-wrap.is-uploading {
  opacity: 0.55;
  pointer-events: none;
}

body.admin-layout .jkhive-about-admin-profile-photo-preview-wrap img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

body.admin-layout .jkhive-about-admin-photo-pick-btn {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  isolation: isolate;
}

/* Velado detrás del lápiz (::before) para no mezclar opacidad con el ícono */
body.admin-layout .jkhive-about-admin-photo-pick-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 0;
  pointer-events: none;
}

body.admin-layout .jkhive-about-admin-profile-photo-preview-wrap:hover .jkhive-about-admin-photo-pick-btn::before,
body.admin-layout .jkhive-about-admin-photo-pick-btn:focus-visible::before {
  opacity: 1;
}

body.admin-layout .jkhive-about-admin-photo-pick-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

/* Lápiz foto: encima del velado; oculto por defecto; verde ? cian al hover sobre el hex */
body.admin-layout .jkhive-about-admin-photo-pick-btn .jkhive-about-inline-btn-hex {
  position: relative;
  z-index: 1;
  width: 42px;
  height: calc(42px * 1.1547);
  font-size: 1.05rem;
  color: #5cff5c;
  filter:
    drop-shadow(0 0 8px rgba(92, 255, 92, 0.95))
    drop-shadow(0 0 16px rgba(57, 255, 20, 0.45));
  opacity: 0;
  transition:
    opacity 0.15s ease,
    color 0.15s ease,
    filter 0.15s ease;
}

/* Visible con hover sobre la miniatura o foco teclado: verde; hover directo sobre el hex ? cian neón */
body.admin-layout .jkhive-about-admin-profile-photo-preview-wrap:hover .jkhive-about-admin-photo-pick-btn .jkhive-about-inline-btn-hex,
body.admin-layout .jkhive-about-admin-photo-pick-btn:focus-visible .jkhive-about-inline-btn-hex {
  opacity: 1;
  color: #5cff5c;
  filter:
    drop-shadow(0 0 8px rgba(92, 255, 92, 0.95))
    drop-shadow(0 0 16px rgba(57, 255, 20, 0.45));
}

body.admin-layout .jkhive-about-admin-profile-photo-preview-wrap:hover .jkhive-about-admin-photo-pick-btn .jkhive-about-inline-btn-hex:hover {
  color: #5cefff;
  filter:
    drop-shadow(0 0 10px rgba(0, 245, 255, 0.85))
    drop-shadow(0 0 20px rgba(34, 211, 238, 0.5));
}

body.admin-layout .jkhive-about-admin-profile-photo-preview-wrap:hover .jkhive-about-admin-photo-pick-btn:active .jkhive-about-inline-btn-hex {
  color: #5cefff;
  filter:
    drop-shadow(0 0 10px rgba(0, 245, 255, 0.85))
    drop-shadow(0 0 20px rgba(34, 211, 238, 0.5));
}

body.admin-layout .jkhive-about-admin-photo-pick-btn .jkhive-about-inline-btn-hex i {
  font-size: 1.15rem;
  line-height: 1;
}

body.admin-layout .jkhive-about-admin-photo-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

body.admin-layout .jkhive-about-admin-profile-photo-field {
  flex: 1;
  min-width: 0;
}

body.admin-layout .jkhive-about-admin-profile-photo-block {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9rem) 1fr;
  align-items: stretch;
  column-gap: 0.6rem;
  margin-bottom: 0.32rem;
}

body.admin-layout .jkhive-about-admin-profile-photo-block .jkhive-about-admin-profile-photo-row {
  grid-column: 2;
  margin-bottom: 0;
}

body.admin-layout .jkhive-about-inline-field--labeled {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9rem) 1fr;
  align-items: stretch;
  column-gap: 0.6rem;
}

/* A la derecha de la columna de etiqueta + centrado vertical respecto a la altura del control (input/textarea/fila foto) */
body.admin-layout .jkhive-about-inline-label {
  justify-self: end;
  text-align: end;
  align-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 0;
  padding: 0;
  cursor: default;
  color: var(--jk-accent-honey-light);
  letter-spacing: 0.02em;
  /* Color sólido + sombras: el gradiente con background-clip:text recorría el ancho del label
     y aclaraba tramos distintos según la longitud ("Título profesional:", "Bajo el hex:", etc.). */
  text-shadow:
    0 1px 0 var(--jk-accent-honey-dark),
    0 0 12px rgba(244, 196, 48, 0.22),
    0 0 1px rgba(212, 160, 23, 0.9);
}

body.admin-layout .jkhive-about-inline-control {
  position: relative;
  min-width: 0;
}

@media (max-width: 768px) {
  body.admin-layout .jkhive-about-admin-profile-photo-block {
    grid-template-columns: 1fr;
  }

  body.admin-layout .jkhive-about-admin-profile-photo-block .jkhive-about-admin-profile-photo-row {
    grid-column: 1;
  }

  body.admin-layout .jkhive-about-admin-profile-photo-block > .jkhive-about-inline-label {
    padding-top: 0;
    padding-bottom: 0.2rem;
    justify-self: start;
    text-align: start;
  }

  body.admin-layout .jkhive-about-inline-field--labeled {
    grid-template-columns: 1fr;
  }

  body.admin-layout .jkhive-about-inline-field--labeled .jkhive-about-inline-label {
    padding-top: 0;
    padding-bottom: 0.2rem;
    justify-self: start;
    text-align: start;
  }

  body.admin-layout .jkhive-about-inline-field--textarea.jkhive-about-inline-field--labeled .jkhive-about-inline-label {
    padding-top: 0;
  }
}

body.admin-layout .jkhive-about-admin-profile-hint {
  margin: 0.15rem 0 0.4rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--jk-metal-medium);
}

body.admin-layout .jkhive-about-admin-profile-hint code {
  font-size: 0.68rem;
  color: var(--jk-metal-light);
}

/* Campo en línea: lápiz / ticket dentro del borde del control (esquina superior derecha del input) */
body.admin-layout .jkhive-about-inline-field {
  position: relative;
  margin-bottom: 0.32rem;
}

body.admin-layout .jkhive-about-inline-field--checkbox {
  margin-bottom: 0.25rem;
}

body.admin-layout .jkhive-about-inline-field .jkhive-modal-form-control.jkhive-about-inline-input {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  /* padding derecho reservado para ícono dentro del campo (lápiz más grande) */
  padding: 0.32rem 2.5rem 0.32rem 0.45rem;
  font-size: 0.8rem;
  line-height: 1.28;
}

body.admin-layout .jkhive-about-inline-field .jkhive-modal-form-control.jkhive-about-inline-input:not(textarea) {
  min-height: 0;
}

body.admin-layout .jkhive-about-inline-field--textarea .jkhive-about-inline-input {
  min-height: 3.2rem;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.32;
  padding-top: 0.42rem;
}

body.admin-layout .jkhive-about-inline-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--jk-metal-light);
  cursor: pointer;
  margin: 0;
  padding: 0.28rem 2.15rem 0.28rem 0;
  box-sizing: border-box;
}

body.admin-layout .jkhive-about-inline-checkbox {
  margin-top: 0.12rem;
  flex-shrink: 0;
  accent-color: var(--jk-primary-blue);
  width: 1rem;
  height: 1rem;
}

body.admin-layout .jkhive-about-inline-checkbox:disabled {
  cursor: default;
  opacity: 0.85;
}

body.admin-layout .jkhive-about-inline-btn {
  position: absolute;
  /* Dentro del rectángulo del control, no en un canal externo */
  top: 5px;
  right: 5px;
  z-index: 3;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: opacity 0.15s ease, background 0.15s ease;
}

body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-pen {
  width: 32px;
  height: 32px;
  top: 3px;
  right: 3px;
}

body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-ticket {
  width: 32px;
  height: 32px;
  top: 3px;
  right: 3px;
}

/* Guardar en línea perfil About: ? azul neón, sin recuadro relleno; misma posición/caja que el lápiz (top/right 3px, 32×32) */
body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-ticket.jkhive-inline-save-ticket {
  top: 3px;
  right: 3px;
  transform: none;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #5cefff;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 900;
  box-sizing: border-box;
  filter: none;
  /* ~20 % más grueso el trazo del carácter, mismo tamaño tipográfico */
  -webkit-text-stroke: 0.07em #5cefff;
  paint-order: stroke fill;
  text-shadow:
    0 0 6px rgba(94, 239, 255, 0.95),
    0 0 14px rgba(56, 189, 248, 0.8),
    0 0 22px rgba(14, 165, 233, 0.5);
}

body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-ticket.jkhive-inline-save-ticket:hover {
  background: transparent;
  color: #7df9ff;
  filter: none;
  -webkit-text-stroke-color: #7df9ff;
  text-shadow:
    0 0 8px rgba(125, 249, 255, 1),
    0 0 18px rgba(56, 189, 248, 0.9),
    0 0 28px rgba(34, 211, 238, 0.55);
}

@media (max-width: 768px) {
  body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-ticket.jkhive-inline-save-ticket {
    font-size: 0.75rem;
  }
}

/* Detalles (columna editores): lápiz/ticket más a la izquierda para no montarse en la barra vertical del textarea */
body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-inline-btn.jkhive-about-inline-pen,
body.admin-layout .jkhive-about-admin-perfil-col--editors .jkhive-about-inline-btn.jkhive-about-inline-ticket {
  right: 0.95rem;
}

body.admin-layout .jkhive-about-inline-btn-hex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: calc(24px * 1.1547);
  font-size: 0.62rem;
  color: var(--jk-accent-honey-light);
  filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.35));
}

body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-pen .jkhive-about-inline-btn-hex {
  width: 30px;
  height: calc(30px * 1.1547);
  font-size: 0.88rem;
  color: #5cff5c;
  filter:
    drop-shadow(0 0 6px rgba(92, 255, 92, 0.9))
    drop-shadow(0 0 12px rgba(57, 255, 20, 0.4));
}

body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-pen:hover .jkhive-about-inline-btn-hex {
  color: #5cefff;
  filter:
    drop-shadow(0 0 8px rgba(0, 245, 255, 0.85))
    drop-shadow(0 0 16px rgba(34, 211, 238, 0.45));
}

body.admin-layout .jkhive-about-inline-btn.jkhive-about-inline-pen .jkhive-about-inline-btn-hex i {
  font-size: 0.95rem;
  line-height: 1;
}

body.admin-layout .jkhive-about-inline-btn:hover .jkhive-about-inline-btn-hex {
  color: var(--jk-primary-blue-light);
}

body.admin-layout .jkhive-about-inline-ticket {
  display: none;
}

body.admin-layout .jkhive-about-inline-field.is-editing .jkhive-about-inline-ticket {
  display: flex;
}

body.admin-layout .jkhive-about-inline-field.is-editing .jkhive-about-inline-pen {
  display: none;
}

body.admin-layout .jkhive-about-inline-field.is-locked .jkhive-about-inline-pen {
  opacity: 0;
  pointer-events: none;
}

body.admin-layout .jkhive-about-inline-field.is-locked:hover .jkhive-about-inline-pen {
  opacity: 1;
  pointer-events: auto;
}

body.admin-layout .jkhive-about-inline-field.is-saving {
  opacity: 0.72;
  pointer-events: none;
}

body.admin-layout .jkhive-about-inline-field.is-editing .jkhive-about-inline-input:not(:disabled) {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2);
}

/* About admin ? Habilidades: barra de herramientas y modales apilados */
.jkhive-about-admin-page .jkhive-about-habilidades-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.jkhive-about-admin-page .jkhive-about-maint-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.jkhive-about-admin-page .jkhive-about-maint-h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  color: var(--jk-accent-honey, #d4a017);
}

.jkhive-about-admin-page .jkhive-about-maint-hint {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--jk-tech-muted, #888);
  line-height: 1.4;
}

.jkhive-about-admin-page .jkhive-about-tag-form-maint {
  margin: 0 0 0.5rem;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--jk-tech-medium, rgba(255, 255, 255, 0.12));
}

.jkhive-about-admin-page .jkhive-about-maint-modal-content.jkhive-about-maint-wide {
  max-width: min(960px, 96vw);
}

.jkhive-about-admin-page .jkhive-about-maint-table-wrap {
  max-height: min(45vh, 420px);
  overflow-y: auto;
  margin-bottom: 1rem;
}

.jkhive-about-admin-page #aboutSectionsMaintModal.jkhive-modal {
  z-index: 10050;
}

.jkhive-about-admin-page #aboutSkillLineModal.jkhive-modal {
  z-index: 10060;
}

.jkhive-about-admin-page #aboutSectionFormModal.jkhive-modal {
  z-index: 10070;
}

/* Fin bloque migrado (cierre legado crm.css) */

/* Showcase: franja Deploy (HTML solo para super admin en partial) */
.jkfw-showcase-deploy-strip {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 0 0.5rem;
  margin: 0 0 0.25rem;
  box-sizing: border-box;
}

