/* Splash — mismo estilo de gradiente y bienvenida que el Hero (inicio) */
:root {
  --splash-bg: #F0FDFA;
  --splash-accent: #0D9488;
  --splash-accent-light: #5EEAD4;
  --splash-accent-mid: rgba(94, 234, 212, 0.06);
  --splash-surface: #FFFFFF;
  --splash-text: #2D3041;
  --splash-text-secondary: #626061;
  --splash-text-muted: #797C82;
  --splash-shadow: 0 25px 50px -12px rgba(15, 118, 110, 0.12);
  --splash-border: rgba(13, 148, 136, 0.1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Mismo gradiente que el Hero: topLeft → bottomRight, fondo menta + toque teal en el centro */
.splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--splash-bg) 0%,
    var(--splash-accent-mid) 50%,
    var(--splash-bg) 100%
  );
  transition: opacity 0.35s ease-out;
}

.splash--hidden {
  opacity: 0;
  pointer-events: none;
}

/* Formas de fondo animadas */
.splash__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.splash__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: blob-float 8s ease-in-out infinite;
}

.splash__blob--1 {
  width: 200px;
  height: 200px;
  background: rgba(13, 148, 136, 0.08);
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.splash__blob--2 {
  width: 160px;
  height: 160px;
  background: rgba(94, 234, 212, 0.12);
  bottom: 20%;
  left: 5%;
  animation-delay: -2s;
}

.splash__blob--3 {
  width: 120px;
  height: 120px;
  background: rgba(13, 148, 136, 0.06);
  bottom: 35%;
  right: 20%;
  animation-delay: -4s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(20px, -20px) scale(1.05); }
  66%  { transform: translate(-15px, 10px) scale(0.98); }
}

/* Tarjeta central */
.splash__card {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 440px;
  width: 100%;
  padding: 2.5rem 2rem;
  background: var(--splash-surface);
  border-radius: 24px;
  box-shadow: var(--splash-shadow);
  border: 1px solid var(--splash-border);
  animation: card-in 0.6s ease-out;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Texto de bienvenida — llamativo y claro */
.splash__hook {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--splash-accent);
  letter-spacing: 0.04em;
  animation: splash-fade-in 0.5s ease-out;
}

.splash__title {
  margin: 0 0 0.25rem;
  font-size: clamp(2rem, 6.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--splash-text);
  letter-spacing: -0.03em;
  animation: splash-fade-in 0.5s ease-out 0.1s both;
}

.splash__name {
  display: inline-block;
}

.splash__name--accent {
  background: linear-gradient(135deg, var(--splash-accent) 0%, #0F766E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.splash__tagline {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--splash-text-secondary);
  animation: splash-fade-in 0.5s ease-out 0.2s both;
}

.splash__sub {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--splash-accent);
  letter-spacing: 0.08em;
  opacity: 0.95;
  animation: splash-fade-in 0.5s ease-out 0.25s both;
}

@keyframes splash-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loader: tres puntos animados */
.splash__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.splash__loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--splash-accent);
  animation: loader-bounce 1.4s ease-in-out infinite both;
}

.splash__loader span:nth-child(1) { animation-delay: -0.32s; }
.splash__loader span:nth-child(2) { animation-delay: -0.16s; }
.splash__loader span:nth-child(3) { animation-delay: 0s; }

@keyframes loader-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40%  { transform: scale(1); opacity: 1; }
}

.splash__hint {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--splash-text-muted);
}

