:root{
  --bg-1:#041522;
  --bg-2:#0a2a3e;
  --border:#ffffff1a;
  --text:#eaf3ff;
  --muted:#cfe3ffcc;
  --accent:#00e7ff;
  --shadow: 0 30px 80px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow:hidden;
  background:
    radial-gradient(1200px 800px at 20% 20%, rgba(0,231,255,.12), transparent 55%),
    radial-gradient(900px 700px at 80% 30%, rgba(0,231,255,.08), transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
}

/* Canvas nieve */
#snow{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:0;
}

.wrap{
  min-height:100%;
  display:grid;
  place-items:center;
  padding: 28px 16px;
  position:relative;
  z-index:1;
}

/* Card (más premium: borde, sombra, outline y blur) */
.card{
  width:min(720px, 92vw);
  border: 1px solid rgba(255,255,255,.12);
  outline: 1px solid rgba(0,231,255,.08);
  background: linear-gradient(180deg, rgba(11,34,51,.92), rgba(6,22,34,.88));
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  border-radius: 22px;
  padding: 34px 26px 22px;
  text-align:center;
}

.brand{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom: 12px;
}

.logo{
  width: min(320px, 70vw);
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));
}

/* Animación original (solo flotación) */
.logo--animated{
  animation: logoFloat 7.5s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes logoFloat{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.title{
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: .3px;
  margin: 10px 0 12px;
}

.subtitle{
  margin: 0 0 10px;
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--muted);
}

/* Jerarquía/espaciado mejorados */
.message{
  margin: 0 auto 14px; /* antes 12px */
  max-width: 56ch;
  line-height: 1.55;
  color: var(--muted);
  font-size: 15.5px;
}

.eta{
  margin: 10px 0 6px; /* más aire arriba */
  color: rgba(234,243,255,.88);
  font-size: 14.5px;
}

.contact{
  margin: 0 0 18px; /* más aire antes de la barra */
  font-size: 14.5px;
  color: rgba(234,243,255,.82);
}

.contact a{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(234,243,255,.35);
}
.contact a:hover{
  border-bottom-color: rgba(234,243,255,.75);
}

/* Barra de progreso */
.progress{
  width: min(520px, 84%);
  margin: 10px auto 8px;
}

.progress__track{
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

.progress__fill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,231,255,.25), rgba(0,231,255,.95));
  filter: drop-shadow(0 0 10px rgba(0,231,255,.28));
  transition: width 700ms ease;
}

.progress__text{
  margin: 0;
  font-size: 13.5px;
  color: rgba(234,243,255,.82);
}

/* Meta más compacto y alineado */
.progress__meta{
  width: min(520px, 84%);
  margin: 6px auto 0; /* antes 8px */
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding: 5px 10px; /* más compacto */
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,243,255,.86);
  font-size: 12.5px;
}

.percent{
  font-variant-numeric: tabular-nums;
  color: rgba(234,243,255,.82);
  font-size: 12.5px; /* leve ajuste */
}

/* Botones sociales (con iconos + hover más claro) */
.social{
  margin-top: 16px;
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px; /* espacio para icono */
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,243,255,.92);
  text-decoration:none;
  font-size: 13.5px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.26);
}

.btn--primary{
  border-color: rgba(0,231,255,.28);
  background: rgba(0,231,255,.10);
}

.btn--primary:hover{
  background: rgba(0,231,255,.18);
}

/* Iconos (SVG) */
.btn svg{
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: .92;
}

/* Footer */
.footer{
  margin-top: 18px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  color: rgba(234,243,255,.72);
  font-size: 13px;
}

.dot{ opacity:.65; }

@media (max-width: 420px){
  .card{
    padding: 26px 18px 18px;
    border-radius: 18px;
  }
  .logo{
    max-height: 78px;
  }
}

@media (prefers-reduced-motion: reduce){
  .logo--animated{ animation: none; }
  .progress__fill{ transition: none; }
  .btn{ transition: none; }
}


/* Botones: versión más pro */
.btn{
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
}

.btn:focus-visible{
  outline: 2px solid rgba(0,231,255,.35);
  outline-offset: 2px;
}

/* Contenedor del icono tipo badge */
.btn__icon{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.btn--primary .btn__icon{
  background: rgba(0,231,255,.14);
  border-color: rgba(0,231,255,.22);
}

/* SVG pro (outline consistente) */
.btn__icon svg{
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .95;
}

/* Hover más premium */
.btn:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}

.btn--primary:hover{
  background: rgba(0,231,255,.18);
}

/* Texto del botón */
.btn__label{
  line-height: 1;
  letter-spacing: .2px;
}
