/* ===============================================================
   GranKan · Landing "Próximamente"
   Paleta:  accent #c24040  ·  fondo general #dadada
   =============================================================== */

:root {
  --bg: #dadada;
  --bg-light: #ececec;
  --accent: #c24040;
  --accent-600: #a83636;
  --accent-700: #8e2c2c;
  --accent-soft: rgba(194, 64, 64, .10);
  --accent-line: rgba(194, 64, 64, .30);
  --ink: #262626;
  --ink-soft: #565656;
  --muted: #7a7a7a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(142, 44, 44, .18);
  --maxw: 720px;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--bg-light) 0%, var(--bg) 55%) fixed;
}

/* Halo de luz suave detrás del contenido */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(42% 38% at 50% 34%, var(--accent-soft) 0%, transparent 70%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  padding: clamp(56px, 10vh, 110px) 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

/* Cada elemento entra escalonado */
.badge,
.logo-wrap,
.hero__title,
.hero__lead,
.progress,
.social {
  opacity: 0;
  animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards;
}

.badge {
  animation-delay: .05s;
}

.logo-wrap {
  animation-delay: .18s;
}

.hero__title {
  animation-delay: .32s;
}

.hero__lead {
  animation-delay: .44s;
}

.progress {
  animation-delay: .56s;
}

.social {
  animation-delay: .66s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Badge "Próximamente" ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(142, 44, 44, .08);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-line);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(194, 64, 64, .45);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(194, 64, 64, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(194, 64, 64, 0);
  }
}

/* ---------- Logo ---------- */
/* Halo radial detrás del logo en lugar de drop-shadow():
   drop-shadow rastrea cada trazo del SVG y en iPhone (Safari) se ve sucio. */
.logo-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 82%;
  height: 82%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(194, 64, 64, .14), transparent 78%);
  z-index: 0;
  pointer-events: none;
}

.logo {
  position: relative;
  z-index: 1;
  width: min(288px, 59vw);
  height: auto;
}

/* ---------- Títulos y texto ---------- */
.hero__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink);
}

.hero__lead {
  max-width: 46ch;
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Barra de progreso (en construcción) ---------- */
.progress {
  position: relative;
  width: min(320px, 78vw);
  height: 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}

.progress__bar {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-700), var(--accent), var(--accent-600));
  animation: load 1.9s ease-in-out infinite;
}

@keyframes load {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

/* ---------- Redes sociales ---------- */
.social {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.social__link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--white);
  color: var(--accent);
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.social__link:hover,
.social__link:focus-visible {
  transform: translateY(-3px);
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
}

/* ---------- Skyline decorativo (motivo del logo) ---------- */
.skyline {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: clamp(90px, 16vh, 160px);
  color: var(--accent);
  opacity: .12;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  mask-image: linear-gradient(to top, #000 30%, transparent 100%);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 0 24px 26px;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--muted);
}

/* ---------- Accesibilidad: sin animación ---------- */
@media (prefers-reduced-motion: reduce) {

  .badge,
  .logo-wrap,
  .hero__title,
  .hero__lead,
  .progress,
  .social {
    opacity: 1;
    animation: none;
  }

  .badge__dot,
  .progress__bar {
    animation: none;
  }

  .progress__bar {
    transform: none;
    width: 100%;
  }
}