:root {
  --brand-yellow: #FFC72C;
  --brand-black: #1a1a1a;
  --brand-dark: #000000;
  --brand-gray: #f8f9fa;
  --text-main: #333333;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  background: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.oswald {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-btn {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    transform: scale(1.05);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

.wa-pulse {
  animation: pulse-btn 2s infinite;
}

/* FIX: animación faltante */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-strip {
  background: var(--brand-yellow);
  color: var(--brand-dark);
  text-align: center;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 8px 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sticky-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brand-black);
  border-bottom: 3px solid var(--brand-yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ub-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--brand-yellow);
}

.menu-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu-links a {
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 5px;
  letter-spacing: 0.5px;
}

.menu-links a:hover {
  color: var(--brand-yellow);
}

.menu-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--brand-yellow);
  transition: width 0.3s;
}

.menu-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  color: var(--brand-yellow);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hero {
  position: relative;
  background-color: #111;
  color: white;
  text-align: center;
  padding: 120px 20px 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(17, 17, 17, 0.75), rgba(17, 17, 17, 0.85)), url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Kenworth_T660.jpg/1200px-Kenworth_T660.jpg') center/cover;
  z-index: 0;
  animation: zoomEffect 20s infinite alternate ease-in-out;
}

@keyframes zoomEffect {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero span {
  color: var(--brand-black);
  background: var(--brand-yellow);
  padding: 0 15px;
  display: inline-block;
  transform: skew(-5deg);
  margin-top: 10px;
}

.btn-cta {
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 16px 45px;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 10px 20px rgba(255, 199, 44, 0.3);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.btn-cta:hover {
  background: #fff;
  color: var(--brand-black);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(255, 255, 255, 0.3);
}

.stats-wrapper {
  max-width: 1100px;
  margin: -70px auto 60px;
  position: relative;
  z-index: 10;
  background: var(--brand-yellow);
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  padding: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--brand-black);
}

.stat-item p {
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: #333;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-black);
}

.section-title span {
  border-bottom: 5px solid var(--brand-yellow);
  padding-bottom: 5px;
}

.about-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: -15px 15px 0 var(--brand-yellow);
}

.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 25px;
}

.about-text p {
  line-height: 1.8;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.brands-section {
  background: #0a0a0a;
  padding: 50px 0;
  overflow: hidden;
  white-space: nowrap;
}

.brands-track {
  display: inline-block;
  animation: slide 40s linear infinite;
}

.brand-item {
  display: inline-block;
  color: #444;
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 40px;
  font-family: 'Oswald', sans-serif;
  transition: color 0.3s;
}

.brand-item:hover {
  color: var(--brand-yellow);
  cursor: default;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.oem-brands {
  background: #f1f3f5;
  border-bottom: 1px solid #ddd;
}

.oem-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #6c757d;
}

.products-section {
  padding: 100px 20px;
  background: var(--brand-gray);
}

.filters-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background: white;
  border: 2px solid #ddd;
  color: #555;
  padding: 10px 25px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-yellow);
  box-shadow: 0 5px 15px rgba(255, 199, 44, 0.3);
}

.product-card {
  background: white;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.p-img-container {
  height: 220px;
  padding: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
}

.p-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .p-img {
  transform: scale(1.1);
}

.p-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.p-title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--brand-black);
}

.p-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.p-btn {
  background: var(--brand-black);
  color: white;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: block;
  font-size: 0.95rem;
}

.p-btn:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.diagnosis-section {
  background: var(--brand-black);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.diag-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #333;
  padding: 30px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.diag-card:hover,
.diag-card.active {
  border-color: var(--brand-yellow);
  background: rgba(255, 199, 44, 0.1);
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.diag-icon {
  font-size: 3rem;
  color: var(--brand-yellow);
  margin-bottom: 15px;
}

.diag-text {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.diag-result {
  margin-top: 40px;
  padding: 30px;
  background: #222;
  border-left: 6px solid var(--brand-yellow);
  display: none;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0 10px 10px 0;
}

.diag-result.show {
  display: block;
  animation: fadeIn 0.5s;
}

.step-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-yellow);
}

.smart-form-section {
  background: #ffffff;
  padding: 80px 20px;
}

.form-box {
  max-width: 750px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-top: 6px solid var(--brand-yellow);
}

.form-control {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background: #fafafa;
}

.form-control:focus {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 0.25rem rgba(255, 199, 44, 0.25);
}

.payments-section {
  padding: 80px 20px;
  background: var(--brand-gray);
}

.payment-card {
  background: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid var(--brand-yellow);
}

.payment-icon {
  font-size: 3rem;
  color: #444;
  margin-bottom: 20px;
}

.payment-title {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.payment-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 12px;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 700;
  margin-top: 10px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--brand-yellow);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.stars {
  color: var(--brand-yellow);
  font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 199, 44, 0.15);
  color: var(--brand-black);
  font-weight: bold;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, .125);
}

.accordion-item {
  border: 1px solid #eee;
  margin-bottom: 10px;
  border-radius: 8px !important;
  overflow: hidden;
}

.map-section {
  position: relative;
  height: 500px;
  background: #eee;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%);
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.98);
  padding: 40px;
  border-left: 6px solid var(--brand-yellow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  border-radius: 0 10px 10px 0;
  z-index: 10;
}

footer {
  background: var(--brand-black);
  color: #aaa;
  padding: 80px 20px 20px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  border-left: 4px solid var(--brand-yellow);
  padding-left: 15px;
  font-size: 1.4rem;
}

.footer-links a {
  color: #aaa;
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand-yellow);
  transform: translateX(5px);
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--brand-yellow);
  font-size: 1.2rem;
}

.float-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}

.float-wa:hover {
  transform: scale(1.1);
  background: #20ba56;
  color: white;
}

.float-call {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: #0d6efd;
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}

.float-call:hover {
  transform: scale(1.1);
  background: #0b5ed7;
  color: white;
}

/* ============================= */
/* TABLET (max-width: 991px)     */
/* ============================= */
@media(max-width: 991px) {
  .menu-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--brand-black);
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #333;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }

  .menu-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .stats-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: none;
    border-radius: 0;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  /* MEJORA: Animaciones más rápidas en móvil */
  .reveal {
    transition: all 0.4s ease-out;
  }
}

/* ============================= */
/* MÓVIL (max-width: 768px)      */
/* ============================= */
@media(max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .about-img img {
    height: 300px;
    box-shadow: none;
    margin-bottom: 30px;
  }

  .map-section {
    height: auto;
    display: flex;
    flex-direction: column-reverse;
  }

  .map-frame {
    height: 350px;
  }

  .map-overlay {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-top: 5px solid var(--brand-yellow);
    text-align: center;
  }

  .form-box {
    padding: 30px 20px;
  }

  /* MEJORA: Animaciones aún más rápidas en pantallas pequeñas */
  .reveal {
    transform: translateY(15px);
    transition: all 0.35s ease-out;
  }
}