:root {
  --bg-main: #FFFFFF;
  --bg-secondary: #f4f4f5;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-color: #e4e4e7;

  --text-main: #111111;
  --text-muted: #555555;

  --accent: #CC0000;

  --accent-hover: #AA0000;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-noise {
  position: relative;
}

.bg-noise::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.relative-z {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.container-sm {
  max-width: 900px;

}

.text-gradient {
  background: linear-gradient(135deg, #09090b 0%, #52525b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-section {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(227, 0, 27, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-icon:hover {
  background: var(--text-main);
  color: var(--bg-main);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.top-banner {
  background-color: var(--accent);
  text-align: center;
  padding: 0.6rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.top-banner a {
  color: #FFFFFF;
  text-decoration: none;
}

.top-banner a:hover {
  text-decoration: underline;
}

.navbar {
  position: relative;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2%;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: flex;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.hero {
  min-height: auto;
  padding-top: calc(var(--nav-height) + 6rem);
  padding-bottom: 8rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-content {
  width: 100%;
}

.hero-text-block {
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 6.5rem);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 480px;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
}

.search-section {
  margin-top: -60px;

  position: relative;
  z-index: 10;
}

.search-box {
  padding: 1rem;
}

.search-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.search-tabs .tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.3s;
}

.search-tabs .tab.active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: 16px;
}

@media(min-width: 1024px) {
  .search-form {
    flex-direction: row;
    align-items: center;
  }
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.form-group select {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
  padding: 0.25rem 0;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-main);
}

.divider {
  display: none;
}

@media(min-width: 1024px) {
  .divider {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--border-color);
    flex: none;
  }
}

.search-btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  width: 100%;
}

@media(min-width: 1024px) {
  .search-btn {
    width: auto;
  }
}

.brands-section {
  padding: 6rem 0;
}

.section-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.5px;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  display: flex;
  gap: 8rem;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8rem;
  animation: marquee 35s linear infinite;
}

.marquee-item img {
  height: 80px;
  max-width: 250px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s ease;
  display: block;
}

.marquee-item img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 8rem));
  }
}

.featured-section {
  padding: 4rem 0 8rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--accent);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.moto-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.moto-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.1);
}

.card-image-wrap {
  width: 100%;
  height: 240px;
  background: var(--bg-secondary);

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.moto-card:hover .card-image {
  transform: scale(1.05);

}

.card-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.tag-new {
  background: var(--text-main);
  color: var(--bg-main);
}

.tag-promo {
  background: var(--accent);
  color: white;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-brand {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-specs {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card-specs span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-specs i {
  width: 16px;
  height: 16px;
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-value {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
}

.cta-section {
  padding: 4rem 0;
  position: relative;
}

.cta-box {
  padding: 4rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 2.5rem auto;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-main);
}

.features-list i {
  color: var(--accent);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dropdown {
  position: relative;
}

.dropdown>a {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--bg-card);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  z-index: 10;
  overflow: hidden;
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

.dropdown-content a {
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: var(--bg-secondary);
  color: var(--accent);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.text-section {
  padding: 6rem 0;
}

.text-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.text-section p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.text-section h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.1);
}

.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.event-body {
  padding: 1.5rem;
}

.event-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.instagram-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  text-align: center;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.ig-item {
  aspect-ratio: 1;
  background: #e4e4e7;
  border-radius: 12px;
  overflow: hidden;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
}

.placeholder-img {
  width: 100%;
  background: #e4e4e7;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 1.1rem;
  font-weight: 600;
}

.sucursales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sucursal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sucursal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sucursal-logo {
  height: 40px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.sucursal-logo img {
  max-height: 100%;
  max-width: 150px;
  object-fit: contain;
}

.sucursal-logo .text-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.sucursal-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-weight: 700;
}

.sucursal-data {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.sucursal-data li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sucursal-data i {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sucursal-data a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.sucursal-data a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.contacts-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media(min-width: 768px) {
  .contacts-banner {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item .contact-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-main-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0px;
  justify-content: center;
}

.catalog-main-tabs button {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  padding: 1rem 2rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.catalog-main-tabs button.active {
  color: var(--text-main);
}

.catalog-main-tabs button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.catalog-sub-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.catalog-sub-tabs button {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s;
}

.catalog-sub-tabs button.active,
.catalog-sub-tabs button:hover {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
}

.filter-group {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}