:root {
  --blue-deep: #0F3D8C;
  --blue: #1657C4;
  --blue-light: #3E82F7;
  --bg: #F5F8FD;
  --ink: #142033;
  --muted: #5C6B80;
  --line: #DCE4F0;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

/* ---------- Logo ---------- */

.brand {
  width: 100%;
  max-width: 1100px;
  padding: 1rem 0;
}

.brand__logo {
  height: 40px;
  width: auto;
  display: block;
}

/* ---------- Contenido central ---------- */

.content {
  flex: 1;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  background: #E7EFFC;
  border: 1px solid var(--line);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--blue-deep);
  margin-bottom: 1rem;
  max-width: 22ch;
}

.lede {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 2.25rem;
}

/* ---------- Animación de mantenimiento ---------- */

.maintenance-icon {
  width: 160px;
  margin-bottom: 2.25rem;
}

.maintenance-icon svg {
  width: 100%;
  height: auto;
}

.mi-window {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 2;
}

.mi-bar {
  stroke: var(--line);
  stroke-width: 2;
}

.mi-dot {
  fill: var(--line);
}

.mi-gear {
  transform-origin: 100px 92px;
  animation: spin 6s linear infinite;
}

.mi-gear-shape {
  fill: var(--blue);
}

.mi-gear-hole {
  fill: #fff;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Footer ---------- */

.foot {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.foot__copy {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.8;
}

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

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

@media (max-width: 480px) {
  .headline {
    font-size: 1.6rem;
  }
}
