/* ==========================================================================
   Avena y Miel (avenaymiel.mx) — Portada minimalista «Próximamente»
   Fondo artesanal luminoso con el logotipo oficial como protagonista
   ========================================================================== */

:root {
  --bg-ivory: #fffbf2;
  --bg-oat: #f7ebd4;
  --bg-honey-soft: #fde8b8;
  --honey-gold: #e89d0c;
  --honey-bright: #f6b619;
  --caramel: #8c4a08;
  --espresso: #432208;
  --espresso-soft: #755033;
  --meadow: #5a8a22;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--espresso);
  background:
    radial-gradient(ellipse 85% 65% at 50% 44%, #fffdf8 0%, var(--bg-ivory) 52%, var(--bg-oat) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------- Fondo Ambiental -------------------- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sun-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

.sun-glow--top {
  width: min(76vw, 760px);
  height: min(56vw, 520px);
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(246, 182, 25, 0.34) 0%, rgba(253, 232, 184, 0.14) 52%, transparent 72%);
}

.sun-glow--bottom-left {
  width: min(52vw, 520px);
  height: min(46vw, 440px);
  bottom: -16%;
  left: -10%;
  background: radial-gradient(circle, rgba(101, 163, 13, 0.16) 0%, rgba(246, 182, 25, 0.12) 48%, transparent 72%);
}

.sun-glow--bottom-right {
  width: min(54vw, 540px);
  height: min(46vw, 440px);
  bottom: -18%;
  right: -10%;
  background: radial-gradient(circle, rgba(232, 157, 12, 0.22) 0%, rgba(216, 58, 78, 0.08) 52%, transparent 74%);
}

/* Panal geométrico muy sutil */
.honeycomb {
  position: absolute;
  width: clamp(220px, 28vw, 390px);
  height: auto;
  opacity: 0.13;
}

.honeycomb--tr {
  top: -18px;
  right: -18px;
}

.honeycomb--bl {
  bottom: -24px;
  left: -24px;
}

/* Espigas botánicas decorativas en los bordes */
.botanical {
  position: absolute;
  bottom: -10px;
  width: clamp(110px, 14vw, 200px);
  height: auto;
  opacity: 0.85;
}

.botanical--left {
  left: -12px;
}

.botanical--right {
  right: -12px;
}

/* Micro-textura de papel artesanal */
.paper-grain {
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: radial-gradient(rgba(67, 34, 8, 0.7) 0.65px, transparent 0.65px);
  background-size: 16px 16px;
}

/* -------------------- Contenido Centrado -------------------- */
.splash-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.35rem, 3.2vh, 2.5rem) 1.5rem;
  text-align: center;
}

/* Pastilla superior */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 130, 12, 0.25);
  box-shadow: 0 8px 24px -12px rgba(67, 34, 8, 0.15);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--caramel);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--meadow);
  box-shadow: 0 0 0 4px rgba(90, 138, 34, 0.2);
  animation: softPulse 2.6s ease-in-out infinite;
}

/* Escenario del Logotipo */
.logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: clamp(0.75rem, 2vh, 1.5rem);
  animation: logoReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.logo-halo {
  position: absolute;
  width: clamp(290px, 46vmin, 520px);
  height: clamp(290px, 46vmin, 520px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 250, 238, 0.72) 48%,
    rgba(253, 232, 184, 0.2) 74%,
    transparent 100%
  );
  box-shadow: 0 28px 70px -28px rgba(140, 74, 8, 0.16);
  pointer-events: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: clamp(255px, 42vmin, 430px);
  max-width: 82vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(67, 34, 8, 0.11));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo:hover {
  transform: translateY(-4px) scale(1.015);
}

/* Mensaje breve debajo del logo */
.splash-message {
  max-width: 34rem;
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.splash-lead {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--espresso);
}

.splash-sub {
  margin: 0;
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  color: var(--espresso-soft);
  line-height: 1.55;
}

/* Pie discreto */
.splash-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(117, 80, 51, 0.82);
  letter-spacing: 0.02em;
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.footer-sep {
  color: var(--honey-gold);
}

/* Animaciones suaves */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(90, 138, 34, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(90, 138, 34, 0.06);
  }
}

/* Ajustes responsivos */
@media (max-width: 640px) {
  .botanical {
    width: 96px;
    opacity: 0.55;
  }

  .honeycomb {
    width: 195px;
    opacity: 0.1;
  }

  .brand-logo {
    width: clamp(235px, 72vw, 320px);
  }

  .logo-halo {
    width: clamp(270px, 84vw, 360px);
    height: clamp(270px, 84vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
