/* ── Landing Page CSS ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary:   #F9C500;
  --c-secondary: #1A1A1A;
  --c-accent:    #F9C500;
  --c-bg:        #0A0A0A;
  --c-text:      #F0F0F0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 1.25rem 0;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(249,197,0,0.12);
  padding: 0.75rem 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo { height: 2.5rem; object-fit: contain; }
.logo-placeholder {
  width: 2.5rem; height: 2.5rem;
  background: var(--c-primary);
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.brand-name {
  font-weight: 700;
  font-size: 1rem;
  color: white;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-btn {
  background: var(--c-primary) !important;
  color: #000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 700 !important;
  transition: opacity 0.2s, transform 0.2s !important;
  letter-spacing: 0.01em;
}
.nav-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A 0%, #120C00 55%, #0A0A0A 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(at 20% 40%, rgba(249, 197, 0, 0.10) 0, transparent 50%),
    radial-gradient(at 80% 20%, rgba(249, 197, 0, 0.06) 0, transparent 50%),
    radial-gradient(at 60% 80%, rgba(249, 197, 0, 0.05) 0, transparent 40%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  padding: 8rem 0 4rem;
  max-width: 720px;
}
.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 197, 0, 0.12);
  border: 1px solid rgba(249, 197, 0, 0.30);
  color: var(--c-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--c-primary); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-primary);
  color: #000000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(249, 197, 0, 0.30);
  letter-spacing: 0.01em;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(249, 197, 0, 0.45); background: #FFD000; }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
.stat-div { width: 1px; height: 2rem; background: rgba(255,255,255,0.1); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 1.25rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}
.section-dark {
  background: rgba(0,0,0,0.25);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-title.text-left { text-align: left; }
.section-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Query Box ──────────────────────────────────────────────────────────── */
.query-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.query-form {
  display: flex;
  gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
}
.query-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.query-icon {
  position: absolute;
  left: 0.875rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
}
.query-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  font-family: 'Inter', monospace;
  letter-spacing: 0.05em;
}
.query-input::placeholder { color: rgba(255,255,255,0.3); font-weight: 400; letter-spacing: 0; }
.query-btn {
  background: var(--c-primary);
  color: #000000;
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s, box-shadow 0.15s;
  letter-spacing: 0.01em;
}
.query-btn:hover { background: #FFD000; box-shadow: 0 4px 16px rgba(249,197,0,0.35); }
.query-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── About ──────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text { }
.about-desc {
  color: rgba(255,255,255,0.6);
  margin: 1.5rem 0;
  font-size: 0.975rem;
  line-height: 1.75;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.feature i { color: var(--c-primary); }
.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  height: 400px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.about-img-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(232,93,4,0.15) 0%, rgba(252,163,17,0.08) 100%);
  border: 2px dashed rgba(232,93,4,0.3);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--c-primary);
  font-size: 3rem;
}
.about-img-placeholder p { font-size: 1rem; opacity: 0.5; }

/* ── Services ───────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.service-card {
  background: #111111;
  border: 1px solid #1E1E1E;
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--c-primary);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover {
  background: #161616;
  border-color: rgba(249,197,0,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.service-card:hover::before { opacity: 1; }
.service-icon-wrap {
  width: 2.75rem; height: 2.75rem;
  background: rgba(249,197,0,0.10);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon { color: var(--c-primary); font-size: 1rem; }
.service-title { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.service-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

.motor-types { text-align: center; }
.motor-types-title { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.motor-badges { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.motor-badge {
  display: inline-flex; align-items: center; gap: 0.625rem;
  background: rgba(249,197,0,0.10); border: 1px solid rgba(249,197,0,0.25);
  color: var(--c-primary);
  padding: 0.625rem 1.25rem; border-radius: 0.375rem;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.motor-badge-accent { background: rgba(249,197,0,0.06); border-color: rgba(249,197,0,0.2); color: #FFDD44; }
.motor-badge-purple { background: rgba(139,92,246,0.10); border-color: rgba(139,92,246,0.25); color: #a78bfa; }

/* ── Gallery ────────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: 0.875rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox.hidden { display: none; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 0.75rem; }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  background: rgba(249,197,0,0.10); border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
}
.contact-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-value { font-size: 0.95rem; color: white; font-weight: 500; margin-top: 0.125rem; }
.contact-link { text-decoration: none; color: var(--c-primary); transition: opacity 0.2s; }
.contact-link:hover { opacity: 0.8; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25d366; color: white; font-weight: 700;
  padding: 0.75rem 1.5rem; border-radius: 0.75rem;
  text-decoration: none; font-size: 0.9rem;
  transition: background 0.2s; width: fit-content;
}
.whatsapp-btn:hover { background: #1da851; }
.map-embed { border-radius: 1rem; overflow: hidden; }
.map-placeholder {
  height: 350px; background: rgba(255,255,255,0.03);
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: 1rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 3rem; gap: 1rem;
}
.map-placeholder p { font-size: 0.9rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo { height: 2rem; object-fit: contain; }
.footer-name { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.footer-text { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-admin-link {
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
  text-decoration: none; display: flex; align-items: center; gap: 0.375rem;
  transition: color 0.2s;
}
.footer-admin-link:hover { color: var(--c-primary); }

/* ── WhatsApp float ──────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 99;
  width: 3.5rem; height: 3.5rem;
  background: #25d366;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ── Order result card ───────────────────────────────────────────────────── */
.order-result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto 0;
}
.order-result-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
}
.order-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.order-info-item { }
.order-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); }
.order-info-value { font-size: 0.95rem; color: white; font-weight: 600; margin-top: 0.125rem; }
.status-ingresado  { color: #60a5fa; }
.status-en_proceso { color: #fbbf24; }
.status-terminado  { color: #4ade80; }
.status-anulado    { color: #f87171; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(15,15,26,0.97);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; border-radius: 0.5rem; }
  .menu-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .about-features { grid-template-columns: 1fr; }
  .order-info-grid { grid-template-columns: 1fr; }
  .query-form { flex-direction: column; }
  .query-btn { width: 100%; justify-content: center; }
}
