:root {
  --marca: #1F1F1F;
  --gris: #6b6b6b;
  --claro: #f4f4f4;
  --blanco: #ffffff;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--marca);
  background:
    radial-gradient(circle at 20% 10%, #3a3a3a 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, #2c2c2c 0%, transparent 40%),
    var(--marca);
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--blanco);
  border-radius: 18px;
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  border-top: 6px solid var(--marca);
  animation: aparecer .8s ease-out both;
}

.logo { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; }

.divider {
  position: relative;
  height: 1px;
  background: #e2e2e2;
  margin: 36px auto 32px;
  max-width: 420px;
}
.gear {
  position: absolute;
  left: 50%; top: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  background: var(--blanco);
  border-radius: 50%;
}
.gear::before {
  content: "";
  position: absolute; inset: 5px;
  border: 4px dashed var(--marca);
  border-radius: 50%;
  animation: girar 6s linear infinite;
}

h2 {
  font-size: clamp(1.25rem, 3.8vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
}

.subtitle {
  margin-top: 10px;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 600;
}

.text {
  margin-top: 16px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--gris);
}

.loader { display: flex; justify-content: center; gap: 8px; margin: 28px 0 36px; }
.loader span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--marca);
  animation: rebote 1.2s ease-in-out infinite;
}
.loader span:nth-child(2) { animation-delay: .15s; }
.loader span:nth-child(3) { animation-delay: .3s; }

.marcas {
  width: 100%; max-width: 420px; height: auto;
  display: block; margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid #e2e2e2;
}

footer { color: #9a9a9a; font-size: .8rem; letter-spacing: .03em; text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@keyframes girar   { to { transform: rotate(360deg); } }
@keyframes rebote  { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 480px) {
  .card { padding: 36px 22px 30px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; }
}
