/* ==========================================================
   Fuerza & Torque Company — Página temporal
   ========================================================== */
:root {
  --black: #0a0a0a;
  --black-2: #141414;
  --yellow: #ffd000;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", Arial, sans-serif;
}

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

html, body { overflow-x: hidden; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 0%, #1c1a10 0%, var(--black) 60%);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

/* Fondo de rejilla técnica */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 208, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 208, 0, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Header / logo */
.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem) 1rem 0;
}

.logo {
  width: clamp(200px, 42vw, 340px);
  height: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 20px 50px -20px rgba(255, 208, 0, 0.35);
  animation: fadeUp 0.8s ease both;
}

/* Contenido principal */
.hero {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Animación de engranajes */
.gear-wrap {
  position: relative;
  width: 110px;
  height: 80px;
  margin-bottom: 1.25rem;
  color: var(--yellow);
}
.gear { position: absolute; }
.gear--big {
  width: 72px; height: 72px; left: 8px; top: 4px;
  animation: spin 8s linear infinite;
}
.gear--small {
  width: 44px; height: 44px; left: 70px; top: 32px;
  color: var(--white);
  opacity: 0.85;
  animation: spin 5.3s linear infinite reverse;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 2.4vw, 0.9rem);
  color: var(--yellow);
  margin-bottom: 0.75rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-size: clamp(2.4rem, 9vw, 5.5rem);
  overflow-wrap: break-word;
  animation: fadeUp 0.8s 0.2s ease both;
}

.divider {
  display: block;
  width: 0;
  height: 4px;
  margin: 1.5rem auto;
  background: var(--yellow);
  border-radius: 2px;
  animation: grow 1s 0.6s ease forwards;
}

.lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  animation: fadeUp 0.8s 0.3s ease both;
}

/* Indicador de progreso */
.progress {
  position: relative;
  width: min(280px, 80%);
  height: 6px;
  margin: 2.25rem auto 2rem;
  background: var(--black-2);
  border: 1px solid rgba(255, 208, 0, 0.3);
  border-radius: 99px;
  overflow: hidden;
}
.progress__bar {
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 8px, #e0b700 8px 16px);
  animation: slide 2.2s ease-in-out infinite;
}

/* Botón WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px -10px rgba(255, 208, 0, 0.6);
  animation: fadeUp 0.8s 0.4s ease both;
}
.btn-whatsapp svg { width: 22px; height: 22px; }
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(255, 208, 0, 0.8);
}
.btn-whatsapp:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* Footer */
.site-footer {
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animaciones */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { to { width: 90px; } }
@keyframes slide { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1600px) {
  .hero { max-width: 960px; }
  .logo { width: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .divider { width: 90px; }
}
