/* ==========================================================
   Página de mantenimiento — Silicon Media
   ========================================================== */

:root {
  --rojo: #a63727;
  --rojo-oscuro: #842a1d;
  --negro: #1f1f1f;
  --gris: #5c5c5c;
  --fondo: #f6f4f2;
  --blanco: #ffffff;

  --fuente-titulos: 'Montserrat', system-ui, sans-serif;
  --fuente-cuerpo: 'Cabin Condensed', system-ui, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--fuente-cuerpo);
  color: var(--negro);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Contenedor ---------- */

.mantenimiento {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  overflow: hidden;
}

/* Ondas decorativas de agua en el fondo */
.mantenimiento__ondas {
  position: absolute;
  inset: auto 0 0 0;
  height: 40vh;
  pointer-events: none;
}

.mantenimiento__ondas span {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 100%;
  border-radius: 45%;
  background: var(--rojo);
}

.mantenimiento__ondas span:nth-child(1) { bottom: -78%; opacity: 0.06; transform: rotate(4deg); }
.mantenimiento__ondas span:nth-child(2) { bottom: -82%; opacity: 0.08; transform: rotate(-3deg); }
.mantenimiento__ondas span:nth-child(3) { bottom: -86%; opacity: 0.10; transform: rotate(2deg); }

/* ---------- Tarjeta ---------- */

.tarjeta {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--blanco);
  border-top: 5px solid var(--rojo);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(31, 31, 31, 0.08);
}

.tarjeta__icono {
  display: block;
  margin: 0 auto 1.5rem;
  width: 96px;
  height: 96px;
}

.tarjeta__marca {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 0.75rem;
}

.tarjeta__titulo {
  font-family: var(--fuente-titulos);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  color: var(--negro);
  margin-bottom: 1rem;
}

.tarjeta__texto {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gris);
  margin-bottom: 2rem;
}
.tarjeta__texto_correo {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gris);
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.tarjeta__nota {
  font-size: 1rem;
  color: var(--gris);
  margin-top: 1.25rem;
}

/* ---------- Barra de progreso indeterminada ---------- */

.progreso {
  position: relative;
  height: 6px;
  background: rgba(166, 55, 39, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progreso__barra {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--rojo), var(--rojo-oscuro));
  border-radius: inherit;
  animation: cargando 1.8s ease-in-out infinite;
}

@keyframes cargando {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* ---------- Consultas ---------- */

.consultas {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(166, 55, 39, 0.06);
  border-left: 4px solid var(--rojo);
  border-radius: 8px;
  text-align: left;
}

.consultas__titulo {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--negro);
  margin-bottom: 0.35rem;
}

.consultas__texto {
  font-size: 1.05rem;
  color: var(--gris);
}

.consultas__email {
  font-weight: 500;
  color: var(--rojo);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.consultas__email:hover,
.consultas__email:focus-visible {
  color: var(--rojo-oscuro);
  border-bottom-color: currentColor;
}

/* ---------- Pie ---------- */

.pie {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--gris);
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
  .tarjeta {
    padding: 2.25rem 1.5rem;
  }

  .tarjeta__icono {
    width: 76px;
    height: 76px;
  }
}

/* ---------- Accesibilidad: menos movimiento ---------- */

@media (prefers-reduced-motion: reduce) {
  .progreso__barra {
    animation: none;
  }

  .progreso__barra {
    left: 0;
    width: 100%;
  }
}
