/* ═══════════════════════════════════════════════
   AUTOSCHORDA – MAIN STYLESHEET
   Dark Industrial · Orange Accent · Barlow + DM Sans
   ═══════════════════════════════════════════════ */

:root {
  --orange: #F26522;
  --orange-dark: #C4501A;
  --orange-light: #FF8C42;
  --dark: #111111;
  --dark2: #0d0d0d;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #9ca3af;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.orange { color: var(--orange); }

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease calc(var(--d, 0ms)), transform .7s ease calc(var(--d, 0ms));
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* EYEBROW */
.eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .35em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
}
.section-desc { color: var(--muted); max-width: 520px; margin: 0 auto; font-size: .95rem; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  padding: 14px 32px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,101,34,.3);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  padding: 14px 32px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--orange); background: rgba(242,101,34,.1); }
.full-w { width: 100%; text-align: center; }

/* ═══════════════ NAVBAR ═══════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(17,17,17,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 3px;
  animation: pulseCta 2s infinite;
}
.nav-cta::after { display: none !important; }
@keyframes pulseCta {
  0%,100% { box-shadow: 0 0 0 0 rgba(242,101,34,.4); }
  50% { box-shadow: 0 0 0 8px rgba(242,101,34,0); }
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: .78rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); transition: color .2s; }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .nav-cta { color: #fff !important; text-align: center; padding: 12px; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.2) 100%);
}
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--dark), transparent);
  z-index: 2;
}
.hero-stripe {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .3em;
  padding: 7px 16px;
  margin-bottom: 20px;
  animation: fadeSlideUp .6s ease both;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeSlideUp .7s ease .1s both;
}
.hero-title span { display: block; }
.hero-sub {
  color: rgba(255,255,255,.7);
  max-width: 440px;
  font-size: 1rem;
  margin-bottom: 36px;
  animation: fadeSlideUp .7s ease .2s both;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeSlideUp .7s ease .3s both;
}
.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: .82rem;
  color: var(--muted);
  animation: fadeSlideUp .7s ease .4s both;
}
.hero-info span { display: flex; align-items: center; gap: 6px; }
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.dot {
  width: 32px; height: 4px;
  background: rgba(255,255,255,.3);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s, width .3s;
}
.dot.active { background: var(--orange); width: 48px; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ WHY US ═══════════════ */
.why-us {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
}
.section-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--orange), transparent);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  cursor: default;
}
.why-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(242,101,34,.15);
}
.why-icon { font-size: 2.4rem; margin-bottom: 16px; }
.why-line { width: 40px; height: 3px; background: var(--orange); margin-bottom: 16px; }
.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.why-card p { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* ═══════════════ MULTIMARCA ═══════════════ */
.multimarca {
  padding: 100px 0;
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.multi-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-head);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  color: rgba(255,255,255,.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: .05em;
}
.multi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.multi-img { position: relative; }
.multi-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.multi-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark2), transparent 60%);
}
.multi-badge {
  position: absolute;
  bottom: -20px; right: -16px;
  background: var(--orange);
  color: #fff;
  padding: 16px 20px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(242,101,34,.4);
}
.badge-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}
.badge-label { font-size: .6rem; font-weight: 700; letter-spacing: .2em; }
.multi-content h2 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.multi-content .section-desc { text-align: left; margin: 0 0 28px; }
.brand-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 32px;
}
.brand-list li {
  font-size: .82rem;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.brand-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-list li:hover { color: #fff; }

/* ═══════════════ SERVICIOS ═══════════════ */
.servicios { padding: 100px 0; background: var(--dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.srv-card {
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.srv-card:hover {
  border-color: var(--orange);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(242,101,34,.18);
}
.srv-img { height: 200px; overflow: hidden; }
.srv-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.srv-card:hover .srv-img img { transform: scale(1.08); }
.srv-body { padding: 20px; }
.srv-line { width: 32px; height: 3px; background: var(--orange); margin-bottom: 12px; }
.srv-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.srv-body p { color: var(--muted); font-size: .83rem; line-height: 1.6; }
.srv-corner {
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-top: 36px solid var(--orange);
  border-left: 36px solid transparent;
  opacity: 0;
  transition: opacity .3s;
}
.srv-card:hover .srv-corner { opacity: 1; }

/* ═══════════════ STATS ═══════════════ */
.stats {
  padding: 80px 0;
  background: var(--orange);
  position: relative;
  overflow: hidden;
}
.stats-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-head);
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 900;
  color: rgba(0,0,0,.12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
}
.stat { }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: inline;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: rgba(255,255,255,.7);
  display: inline;
}
.stat-label {
  margin-top: 8px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.75);
}

/* ═══════════════ CONTACTO ═══════════════ */
.contacto { padding: 100px 0; background: var(--dark2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
/* Form */
.contact-form form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .88rem;
  outline: none;
  border-radius: 3px;
  transition: border-color .2s;
  width: 100%;
}
.contact-form select { color: var(--muted); }
.contact-form select option { background: var(--card); color: var(--text); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #555; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { resize: none; }
.form-success {
  display: none;
  text-align: center;
  background: rgba(242,101,34,.12);
  border: 1px solid var(--orange);
  border-radius: 4px;
  padding: 40px 24px;
}
.form-success.visible { display: block; }
.success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.form-success p { color: var(--muted); }
/* Info */
.info-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 3px;
  transition: border-color .2s;
}
.info-card:hover { border-color: var(--orange); }
.info-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: .62rem; font-weight: 700; letter-spacing: .25em; color: var(--orange); margin-bottom: 4px; }
.info-val { font-size: .88rem; color: #e5e7eb; }
.info-link { transition: color .2s; }
.info-link:hover { color: var(--orange); }
.horario-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px 22px;
}
.horario-box h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.horario-list { display: flex; flex-direction: column; gap: 6px; }
.hora-row {
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.hora-row span:first-child { color: var(--muted); }
.hora-row span:last-child { color: #e5e7eb; }
.hora-row.closed span:last-child { color: #f87171; }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { height: 36px; width: auto; }
.footer-copy { text-align: center; }
.footer-copy p { font-size: .82rem; color: #555; }
.footer-sub { font-size: .72rem !important; color: #3a3a3a !important; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 700;
  transition: border-color .2s, color .2s, background .2s;
}
.social-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(242,101,34,.1); }

/* SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 42px; height: 42px;
  background: var(--orange);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 50;
}
.scroll-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .multi-grid { grid-template-columns: 1fr; gap: 48px; }
  .multi-badge { bottom: -16px; right: 16px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .brand-list { grid-template-columns: repeat(2, 1fr); }
  .hero-info { flex-direction: column; gap: 10px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .multi-badge { position: static; margin-top: 16px; display: inline-block; }
}
