/* ==========================================================================
   NEZPRO — Minimal Brand Display with Cursor Interaction & 3D Tilt
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #202838;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo-only-body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* 3D Perspective Stage */
.logo-stage {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: transparent;
  perspective: 1000px;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.6s ease-out forwards;
}

.logo-wrapper {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.brand-logo-img {
  width: auto;
  /* Tamaño exacto al 70% */
  max-width: min(392px, 60vw);
  max-height: min(168px, 32vh);
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  filter: drop-shadow(0 4px 12px rgba(32, 40, 56, 0.03));
  transition: filter 0.3s ease, transform 0.2s ease;
}

.brand-logo-img:hover {
  filter: drop-shadow(0 12px 28px rgba(8, 116, 232, 0.12));
}

.logo-wrapper.clicking {
  transform: scale(0.95) !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
