@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --verde: #4caf50;
  --azul: #1565c0;
  --gris-claro: #f8f9fa;
  --texto: #333;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--gris-claro);
  margin: 0;
  color: var(--texto);
}

.mantenimiento {
  max-width: 900px;
  margin: 50px auto;
  padding: 70px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

h1 {
  text-align: center;
  color: var(--verde);
  margin-bottom: 10px;
  font-size: 2rem;
}

.intro {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.bloque {
  margin-bottom: 40px;
}

.bloque h2 {
  color: var(--azul);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  margin: 10px 0;
  font-size: 0.95rem;
}

.check {
  accent-color: var(--verde);
  margin-right: 10px;
  transform: scale(1.1);
}

/* Barra de progreso */
.barra-progreso-container {
  background: #e0f2f1;
  border-radius: 6px;
  height: 18px;
  margin: 20px 0;
  overflow: hidden;
}

.barra-progreso {
  background: var(--verde);
  color: white;
  font-size: 0.8rem;
  text-align: center;
  height: 100%;
  width: 0;
  transition: width 0.4s ease;
}

.mensaje-final {
  display: none;
  text-align: center;
  padding: 10px;
  background: #c8e6c9;
  border-radius: 6px;
  color: #2e7d32;
  font-weight: 600;
}

/* Consejos */
.grid-consejos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.consejo {
  background: #f9fbe7;
  border-radius: 8px;
  padding: 15px;
  border-left: 4px solid var(--verde);
}

/* Diagnóstico */
.visual {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.visual img {
  width: 250px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.visual ul {
  margin: 0;
  padding-left: 20px;
}

.video {
  text-align: center;
}

.video-container {
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.descripcion-video {
  font-size: 0.9rem;
  color: #555;
}

/* Botón descarga */
.btn-descarga {
  display: inline-block;
  background: var(--azul);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-descarga:hover {
  background: #0d47a1;
}

/* Responsivo */
@media (max-width: 600px) {
  .visual {
    flex-direction: column;
    align-items: center;
  }

  .visual img {
    width: 100%;
  }

  .mantenimiento {
    padding: 20px;
  }
}
