:root {
  --color-bg-dark: #0a0d12;
  --color-bg-dark-2: #14181f;
  --color-text: #ffffff;
  --color-chrome-1: #c9cdd3;
  --color-chrome-2: #f5f6f8;
  --color-accent: #b91c1c;
  --color-accent-hover: #991b1b;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: system-ui, -apple-system, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.btn-whatsapp {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.5);
  transition: background 0.2s ease;
}

.btn-whatsapp:hover {
  background: var(--color-accent-hover);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-dark-2) 60%, var(--color-bg-dark) 100%);
  text-align: center;
}

.hero-motor {
  position: absolute;
  max-width: 520px;
  width: 60%;
  top: 32%;
  transform: translateY(-50%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  animation: heroZoom 6s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: translateY(-50%) scale(0.94); }
  to   { transform: translateY(-56%) scale(1.02); }
}

.hero-logo {
  position: absolute;
  max-width: 380px;
  width: 45%;
  top: 8%;
  z-index: 3;
}

.hero-sweep {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  z-index: 4;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.18) 55%,
    transparent 100%);
  animation: heroSweep 3.2s ease-in-out infinite;
  mix-blend-mode: overlay;
}

@keyframes heroSweep {
  0%   { left: -60%; }
  55%  { left: 120%; }
  100% { left: 120%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-motor,
  .hero-sweep {
    animation: none;
  }
  .hero-sweep {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  margin-top: 46vh;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.hero-content p {
  color: var(--color-chrome-1);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .hero-motor { width: 78%; top: 26%; }
  .hero-logo { width: 62%; top: 6%; }
  .hero-content { margin-top: 52vh; }
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-chrome-2);
  background: linear-gradient(135deg, var(--color-chrome-1), var(--color-chrome-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--color-bg-dark-2);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.card img {
  height: 140px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--color-chrome-1);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

@media (max-width: 800px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.porque {
  background: var(--color-bg-dark-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--color-chrome-1);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.contacto h2 {
  text-align: left;
  margin-bottom: 16px;
}

.contacto p {
  color: var(--color-chrome-1);
  margin-bottom: 8px;
}

.contacto .btn-whatsapp {
  margin-top: 16px;
}

.contacto-map {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
}

@media (max-width: 800px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .contacto {
    padding-bottom: 120px;
  }
}

.footer {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-bg-dark-2);
}

.footer-logo {
  max-width: 140px;
  margin: 0 auto 12px;
}

.footer p {
  color: var(--color-chrome-1);
  font-size: 0.85rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: var(--color-accent-hover);
}
