/* css/styles.css */
/* ==========================================================================
   COSA BESTIA - ESTILOS PRINCIPALES
   Artista: Erika Zavala
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Special+Elite&display=swap');

:root {
  /* Paleta Base */
  --blue-principal: #0236aa;
  --red-locker: #cf142b;
  --black-ink: #111111;
  --white-paper: #fbfbf9;
  --wine-serigrafia: #680b0b;
  --red-grabado: #c01818;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd56;

  /* Tipografías */
  --font-typewriter: 'Special Elite', 'Courier Prime', monospace;
  --font-mono: 'Courier Prime', 'Courier New', monospace;

  /* Transiciones y Sombras */
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-locker-idle: 0 10px 25px rgba(0, 0, 0, 0.35);
  --shadow-locker-hover: 0 18px 35px rgba(0, 0, 0, 0.55);
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-typewriter);
  color: var(--black-ink);
  background-color: var(--white-paper);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Accesibilidad de Teclado (WCAG 2.1 AA focus-visible) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px dashed currentColor;
  outline-offset: 4px;
}

/* ==========================================================================
   TEXTURA DE PAPEL Y GRANO ANALÓGICO (FILM GRAIN OVERLAY)
   ========================================================================== */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   TEMAS POR SECCIÓN / PÁGINA
   ========================================================================== */
body.theme-principal {
  background-color: var(--blue-principal);
  color: #ffffff;
}

body.theme-collage {
  background-color: #ffffff;
  color: #111111;
}

body.theme-grabado {
  background-color: #000000;
  color: var(--red-grabado);
}

body.theme-serigrafia {
  background-color: var(--wine-serigrafia);
  color: #ffffff;
}

body.theme-pintura,
body.theme-encuadernacion,
body.theme-otros {
  background-color: #ffffff;
  color: #111111;
}



/* ==========================================================================
   VISTA PRINCIPAL (vistaprincipal.png)
   ========================================================================== */
.home-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 45px 40px;
  position: relative;
  overflow: hidden;
}

/* Cabecera Home */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  z-index: 10;
}

.home-logo-link {
  display: block;
  width: 95px;
  height: 95px;
  transition: transform 0.3s ease;
}

.home-logo-link:hover {
  transform: rotate(-4deg) scale(1.06);
}

.home-logo-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* Teléfono y Datos de Contacto */
.contact-zone {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.phone-wrapper {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.phone-img-base {
  width: 95px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

/* Animación de vibración telefónica al hacer hover */
.phone-wrapper:hover .phone-img-base {
  animation: phoneRing 0.4s infinite ease-in-out;
}

@keyframes phoneRing {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-2px, -2px) rotate(-1.5deg); }
  50% { transform: translate(2px, 1px) rotate(1.5deg); }
  75% { transform: translate(-1px, 2px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.phone-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #111111;
  color: #ffffff;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.phone-wrapper:hover .phone-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(12px);
}

/* Textos al lado del teléfono */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 10px;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #ffffff; /* Texto en blanco como solicitado */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.contact-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, opacity 0.2s ease;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: var(--font-typewriter) !important;
  letter-spacing: inherit;
  text-shadow: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

.contact-name:hover {
  color: #ffcccc;
  text-decoration: underline;
}

.contact-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  font-family: var(--font-typewriter);
}

.contact-link:hover {
  color: #ffcccc;
  text-decoration: underline;
}

/* ==========================================================================
   ESCENARIO CENTRAL: ARCHIVERO + BESTIA (vistaprincipal.png)
   ========================================================================== */
.stage-center {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 640px;
}

/* Bestia alargada detrás del archivero */
.beast-behind {
  position: absolute;
  left: 50%;
  transform: translateX(-46%);
  bottom: 0;
  width: 1040px;
  max-width: 95vw;
  height: auto;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.beast-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Pestañeo del ojo de la bestia */
.beast-eye-cover {
  position: absolute;
  top: 21%;
  left: 80%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--blue-principal);
  opacity: 0;
  pointer-events: none;
  animation: beastBlink 8s infinite ease-in-out;
}

@keyframes beastBlink {
  0%, 95%, 100% { opacity: 0; transform: scaleY(0); }
  97%, 98% { opacity: 1; transform: scaleY(1); }
}

/* Archivero Rojo Metálico */
.locker-cabinet {
  position: relative;
  z-index: 3;
  width: 470px;
  margin-bottom: 65px;
  background-color: var(--red-locker);
  border-radius: 3px 3px 0 0;
  box-shadow: var(--shadow-locker-idle);
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 4px solid #b31021;
}

/* Patas del archivero */
.locker-legs-bar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 65px;
  position: absolute;
  bottom: -65px;
  left: 0;
  padding: 0 16px;
  pointer-events: none;
}

.locker-leg {
  width: 12px;
  height: 100%;
  background: #a80f1e;
  border-left: 2px solid #e02f40;
  border-right: 2px solid #7c0b16;
  position: relative;
}

.locker-leg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2px;
  width: 16px;
  height: 8px;
  background: #111111;
  border-radius: 2px;
}

/* Cuadrícula de 6 cajones (2 columnas x 3 filas) */
.locker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 160px);
  gap: 10px;
  background: #900c19;
  padding: 6px;
  border-radius: 2px;
}

/* Cada cajón interactivo */
.drawer-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #ca1425;
  border: 1px solid #770b15;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), inset 0 -3px 6px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  cursor: pointer;
  padding: 12px 10px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  user-select: none;
}

/* Efecto hover: el cajón se desliza hacia adelante con relieve 3D */
.drawer-slot:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.55), inset 0 2px 5px rgba(255, 255, 255, 0.4);
  z-index: 5;
}

.drawer-slot:active {
  transform: translateY(-2px) scale(1.01);
}

/* Imagen de fondo de cada cajón (con manija y rejillas) */
.drawer-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Placa rotulada estilo cinta Dymo / máquina de escribir */
.dymo-plate {
  display: inline-block;
  background-color: #1c1c1c;
  background-image: linear-gradient(180deg, #2a2a2a 0%, #151515 100%);
  color: #f0f0f0;
  font-family: var(--font-typewriter);
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 1px #000, 0 -1px 1px rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}

/* La placa de la foto original ya es visible en la imagen; ocultamos el texto duplicado de forma accesible */
.drawer-slot .dymo-plate {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   VISTAS DE TÉCNICAS (GALERÍAS: Collage, Grabado, Serigrafía, etc.)
   ========================================================================== */
.gallery-container {
  width: 100%;
  min-height: 100vh;
  padding: 30px 40px 80px;
  display: flex;
  flex-direction: column;
}

/* Barra superior de navegación en las galerías */
.gallery-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 25px;
}

.nav-left-zone {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo-thumb {
  width: 48px;
  height: 48px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-logo-thumb:hover {
  transform: scale(1.1);
}

.nav-logo-thumb img {
  width: 100%;
  height: auto;
}

/* Selector rápido entre técnicas */
.quick-technique-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.technique-link {
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  text-decoration: none;
  color: inherit;
  padding: 4px 8px;
  border-radius: 3px;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.technique-link:hover,
.technique-link.active {
  opacity: 1;
  background: rgba(128, 128, 128, 0.15);
  font-weight: 700;
  text-decoration: underline;
}

/* Botón "Volver al inicio" / "Página principal" (sin efecto hover) */
.btn-back-home {
  font-family: var(--font-typewriter);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

/* En tema serigrafía el botón y menú en blanco de alto contraste sobre fondo rojo vino */
body.theme-serigrafia .btn-back-home {
  color: #ffffff;
  border-color: #ffffff;
}

body.theme-serigrafia .technique-link {
  color: #ffffff;
  opacity: 0.85;
}

body.theme-serigrafia .technique-link:hover,
body.theme-serigrafia .technique-link.active {
  color: #ffffff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
}

/* Placa del Título de la Técnica en la galería */
.gallery-header-plaque {
  display: flex;
  justify-content: center;
  margin: 10px 0 40px;
}

.title-dymo-banner {
  background-color: #181818;
  color: #f5f5f5;
  font-family: var(--font-typewriter);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  text-shadow: 0 2px 2px #000, 0 -1px 1px rgba(255, 255, 255, 0.7);
  display: inline-block;
  text-align: center;
  position: relative;
}

/* ==========================================================================
   CUADRÍCULA DE OBRAS
   ========================================================================== */
.artworks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 22px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Tarjeta individual de obra */
.artwork-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  outline: none;
}

.artwork-card:hover {
  transform: translateY(-5px);
}

.artwork-thumb-container {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: rgba(128, 128, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.artwork-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.artwork-card:hover .artwork-thumb-img {
  transform: scale(1.04);
}

/* Metadatos bajo la obra */
.artwork-caption {
  font-size: 0.95rem;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.artwork-title {
  font-weight: 700;
  color: inherit;
}

.artwork-size {
  font-size: 0.85rem;
  opacity: 0.85;
}

.artwork-status-badge {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Serigrafía: Nombre de la obra, tamaño y disponibilidad en color blanco */
body.theme-serigrafia .artwork-title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body.theme-serigrafia .artwork-size {
  color: #ffffff;
  opacity: 0.92;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.theme-serigrafia .artwork-status-badge {
  color: #ffffff;
  opacity: 0.95;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Estados de Interfaz Obligatorios: Loading Skeleton, Empty State y Error State */
.artwork-skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-thumb-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(128, 128, 128, 0.18);
  border-radius: 2px;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.skeleton-line {
  height: 14px;
  background: rgba(128, 128, 128, 0.18);
  border-radius: 2px;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.skeleton-line-title {
  width: 78%;
}

.skeleton-line-sub {
  width: 50%;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.gallery-state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  border: 2px dashed currentColor;
  border-radius: 4px;
  max-width: 640px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gallery-state-title {
  font-size: 1.15rem;
  line-height: 1.5;
}

.gallery-state-action {
  margin-top: 4px;
}

/* ==========================================================================
   VENTANA FLOTANTE DE DETALLE DE LA OBRA (MODAL vistaobra.png)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #ffffff;
  color: #111111;
  max-width: 1050px;
  width: 100%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

/* Columna Izquierda: Imagen Ampliada con Zoom */
.modal-media-col {
  background: #f4f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 30px;
  min-height: 480px;
}

.modal-artwork-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.modal-artwork-img.zoomed {
  transform: scale(1.6);
  cursor: zoom-out;
}

.zoom-hint-tag {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 3px;
  pointer-events: none;
  font-family: var(--font-typewriter);
}

/* Columna Derecha: Información y Textos Poéticos */
.modal-info-col {
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  max-height: 85vh;
  font-family: var(--font-typewriter);
}

.modal-header-block {
  margin-bottom: 24px;
}

.modal-art-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.modal-art-size {
  font-size: 1.1rem;
  color: #444444;
  margin-bottom: 8px;
}

.modal-art-technique {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 10px;
}

.modal-art-badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 8px;
  border: 1px dashed #222;
  background: #f8f8f8;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.modal-art-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #222222;
  white-space: pre-line;
  margin-bottom: 30px;
}

/* Botones de Acción en el Modal */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px dashed #cccccc;
}

.btn-whatsapp-inquire {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-typewriter);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  border: none;
}

.btn-whatsapp-inquire:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.45);
}

.btn-close-modal {
  background: #222222;
  color: #ffffff;
  border: none;
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-close-modal:hover {
  background: #000000;
}

/* Cruz de cerrar en la esquina superior */
.modal-close-cross {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #444444;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.modal-close-cross:hover {
  color: #d31a26;
  transform: scale(1.15);
}

/* Flechas de navegación (Anterior / Siguiente) */
.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  border: 1px solid #ddd;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  z-index: 15;
}

.modal-nav-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-prev {
  left: 10px;
}

.modal-nav-next {
  right: 10px;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (EN TODAS LAS PÁGINAS)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 9990;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.whatsapp-float-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

/* Tooltip WhatsApp */
.whatsapp-float-tooltip {
  position: absolute;
  right: 70px;
  background: #111111;
  color: #ffffff;
  font-size: 0.8rem;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   MODAL "SOBRE LA ARTISTA" (SEMBLANZA / BIO)
   ========================================================================== */
.bio-modal-card {
  max-width: 680px;
  background: #ffffff;
  color: #111111;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  font-family: var(--font-typewriter);
}

.bio-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.bio-subtitle {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 20px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
}

.bio-text {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 25px;
}

.bio-links-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.bio-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #222;
  color: #111;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.bio-social-btn:hover {
  background: #111;
  color: #fff;
}

/* ==========================================================================
   DISEÑO RESPONSIVO (TABLETS Y MÓVILES)
   ========================================================================== */
@media (max-width: 1200px) {
  .artworks-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stage-center {
    max-width: 900px;
  }
  .beast-behind {
    left: 10%;
    width: 580px;
  }
}

@media (max-width: 900px) {
  .home-container {
    padding: 20px;
  }
  .artworks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
  .modal-window {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-media-col {
    min-height: 320px;
    padding: 20px;
  }
  .modal-info-col {
    padding: 25px 20px;
    max-height: none;
  }
  .beast-behind {
    display: none; /* En móvil dejamos el archivero despejado */
  }
  .stage-center {
    min-height: auto;
    margin-top: 20px;
  }
  .locker-cabinet {
    width: 100%;
    max-width: 420px;
  }
  .locker-grid {
    grid-template-rows: repeat(3, 140px);
  }
}

@media (max-width: 600px) {
  .home-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .contact-zone {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .contact-info {
    align-items: center;
    text-align: center;
  }
  .artworks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .gallery-container {
    padding: 20px 16px 80px;
  }
  .gallery-nav-bar {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .quick-technique-nav {
    justify-content: center;
  }
  .btn-back-home {
    justify-content: center;
  }
  .title-dymo-banner {
    font-size: 1.3rem;
    padding: 10px 20px;
  }
  .modal-overlay {
    padding: 12px;
  }
  .modal-nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   PROTECCIÓN ANTI-SPIDERS / ANTI-HARVESTING (SEÑUELOS DOM Y HONEYPOT)
   ========================================================================== */
.spider-decoy {
  display: none !important;
  visibility: hidden !important;
  user-select: none !important;
  pointer-events: none !important;
}

.spider-trap-honeypot {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

