/* ============================================
   GRANJA REAL · Página en Construcción
   granjareal.com
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  background: #1a0000;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* === FONDO === */
.bg-base {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    #8B0000 0%,
    #5a0000 45%,
    #1a0000 100%
  );
  z-index: 0;
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Líneas horizontales decorativas sutiles */
.linea-h {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.07),
    transparent
  );
  z-index: 2;
  pointer-events: none;
}
.linea-h.top  { top: 18%; }
.linea-h.bot  { bottom: 18%; }

/* === CONTENIDO PRINCIPAL === */
.contenido {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 60px;
  width: 100%;
  max-width: 520px;
}

/* === LOGO === */
.logo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 18px rgba(139, 0, 0, 0.25),
    0 24px 64px rgba(0, 0, 0, 0.75);
  flex-shrink: 0;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

/* === DIVISOR === */
.divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  margin: 28px auto 0;
}

/* === SLOGAN === */
.slogan {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 400;
  margin-top: 18px;
  line-height: 1.6;
}

/* === EN CONSTRUCCIÓN === */
.en-construccion {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.ec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #CC0000;
  flex-shrink: 0;
  animation: parpadeo 2s ease-in-out infinite;
}

@keyframes parpadeo {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.ec-texto {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  font-weight: 400;
}

/* === DIRECCIÓN === */
.dir {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-style: normal;
  text-align: left;
}

.dir-ico {
  color: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
  margin-top: 2px;
}

.dir-linea1 {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.dir-linea2 {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.24);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* === BARRA DE PROGRESO === */
.prog-wrap {
  width: 180px;
  margin-top: 28px;
}

.prog-bg {
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  width: 0;
  background: rgba(204, 0, 0, 0.65);
  border-radius: 2px;
  animation: fillup 2.8s ease 1.5s forwards;
}

@keyframes fillup {
  to { width: 75%; }
}

.prog-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
}

.prog-labels span {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
}

/* === PIE (URL) === */
.url-pie {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.1);
  text-transform: lowercase;
  z-index: 10;
  white-space: nowrap;
}

/* ============================================
   ANIMACIONES DE ENTRADA
   ============================================ */
.anim-fade {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.anim-up {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

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

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

/* ============================================
   RESPONSIVE — MÓVIL
   ============================================ */
@media (max-width: 480px) {
  .logo-wrap {
    width: 160px;
    height: 160px;
  }

  .contenido {
    padding: 32px 20px 56px;
  }

  .slogan {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .linea-h {
    width: 80%;
  }

  .dir {
    text-align: left;
  }

  .dir-linea1 {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .logo-wrap {
    width: 140px;
    height: 140px;
  }

  .titulo-grande {
    font-size: 38px;
  }
}
