:root {
  /* Colors */
  --primary: #FFB300;
  /* Caterpillar / Komatsu Yellow */
  --primary-hover: #ff9800;
  --secondary: #1f2937;
  /* Dark charcoal */
  --secondary-light: #374151;
  --accent: #22c55e;
  /* WhatsApp Green */
  --accent-hover: #16a34a;

  --bg-dark: #111827;
  --bg-light: #f3f4f6;
  --bg-card: #ffffff;

  --text-dark: #111827;
  --text-muted: #6b7280;
  --text-light: #f9fafb;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-width: 1280px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   Buttons & Utils
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background-color: var(--secondary);
  color: var(--text-light);
}

.btn-dark:hover {
  background-color: var(--bg-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--accent);
  color: white;
}

.btn-whatsapp:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.39);
}

.text-primary {
  color: var(--primary);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
  background-color: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  /* Depending on the logo style */
}

.logo-text {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.contact-button i {
  font-size: 1.25rem;
}

/* =========================================
   Hero Section (Exact Veumarket Clone)
   ========================================= */
.hero {
  min-height: 90vh;
  /* slightly shorter than 100vh to show content below */
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* Offset for navbar */
  background-color: #0b1426;
  /* Dark navy base fallback */
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center bottom;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Slider Indicators Container */
.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

/* Subtle dark overlay for contrast on the left side */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5, 15, 30, 0.8) 0%, rgba(5, 15, 30, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left side: Typography */
.hero-content {
  flex: 0 0 50%;
  max-width: 600px;
  animation: heroFadeInLeft 1s ease-out forwards;
}

@keyframes heroFadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge-exact {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(30, 30, 30, 0.6);
  /* Semi-transparent dark */
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 5px;
}

.hero-title-exact {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(3rem, 5vw, 75px);
  color: #FFFFFF;
  line-height: 1;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0px 15px 15px rgba(0, 0, 0, 0.41);
}

.hero-subtitle-exact {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(2rem, 3.5vw, 45px);
  color: #FFFFFF;
  line-height: 1;
  margin-top: 5px;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-shadow: 0px 10px 10px rgba(0, 0, 0, 0.4);
}

/* Right side: Graphics Composition */
.hero-graphics {
  flex: 0 0 50%;
  position: relative;
  height: 600px;
  /* Space for the graphics */
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFadeInRight 1.2s ease-out forwards;
}

@keyframes heroFadeInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Base graphic: Smartphone */
.hero-graphic-main {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  height: 110%;
  /* Makes it huge */
  max-height: 700px;
  z-index: 4;
  object-fit: contain;
  filter: drop-shadow(-10px 10px 20px rgba(0, 0, 0, 0.5));
}

/* Foreground Graphic: Standalone machine popping out */
.hero-graphic-front {
  position: absolute;
  left: -10%;
  bottom: -10%;
  height: 60%;
  min-height: 350px;
  z-index: 5;
  object-fit: contain;
  filter: drop-shadow(15px 15px 25px rgba(0, 0, 0, 0.6));
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    flex: 0 0 100%;
    margin-top: 2rem;
    z-index: 6;
    /* stay above graphics */
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 15, 30, 0.8) 0%, rgba(5, 15, 30, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
  }

  .hero-graphics {
    flex: 0 0 100%;
    width: 100%;
    height: 400px;
    margin-top: 2rem;
  }

  .hero-graphic-main {
    right: 50%;
    transform: translate(50%, -50%);
    height: 90%;
  }

  .hero-graphic-front {
    left: 10%;
    bottom: -5%;
    height: 50%;
  }
}

.hero-badge-layered {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: rgba(60, 60, 60, 0.85);
  /* Dark grey */
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: -10px;
  /* Overlap with title */
  position: relative;
  z-index: 4;
}

/* Massive 3D Text */
.hero-title-layered {
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin: 0;
  letter-spacing: -2px;
  text-transform: uppercase;
  /* Massive drop shadow to simulate 3D block text */
  text-shadow:
    0px 2px 0px #b2b2b2,
    0px 4px 0px #a1a1a1,
    0px 6px 0px #8f8f8f,
    0px 8px 0px #7d7d7d,
    0px 10px 0px #6b6b6b,
    0px 12px 0px #5a5a5a,
    0px 14px 10px rgba(0, 0, 0, 0.5),
    0px 20px 20px rgba(0, 0, 0, 0.4),
    0px 30px 40px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.hero-subtitle-layered {
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-top: 0;
  letter-spacing: -1px;
  text-transform: uppercase;
  text-shadow:
    0px 2px 0px #b2b2b2,
    0px 4px 0px #a1a1a1,
    0px 6px 0px #8f8f8f,
    0px 8px 0px #7d7d7d,
    0px 10px 0px #6b6b6b,
    0px 12px 0px #5a5a5a,
    0px 14px 10px rgba(0, 0, 0, 0.5),
    0px 20px 20px rgba(0, 0, 0, 0.4);
}

/* =========================================
   Products Section Layout (Grid & Filters)
   ========================================= */
.products-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

/* =========================================
   Filters Sidebar
   ========================================= */
.filters-sidebar {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  align-self: start;
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bg-light);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.filter-label:hover {
  color: var(--secondary);
}

.filter-label input[type="checkbox"] {
  /* Custom modern checkbox */
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #D1D5DB;
  border-radius: 0.25rem;
  display: grid;
  place-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-label input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em white;
  background-color: white;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.filter-label input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.filter-label input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* =========================================
   Product Grid & Cards
   ========================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-offer {
  background-color: #ef4444;
  color: white;
}

.badge-brand {
  background-color: rgba(17, 24, 39, 0.8);
  color: white;
  backdrop-filter: blur(4px);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-top: auto;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.product-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.product-actions .btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

/* =========================================
   Floating WhatsApp Button
   ========================================= */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
  z-index: 1000;
  transition: all var(--transition-normal);
  animation: pulse 2s infinite;
}

.floating-wa:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 992px) {
  .products-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
    /* In a real app we'd add a hamburger menu */
  }

  .hero-cta {
    flex-direction: column;
  }
}

/* =========================================
   Top Action Bar (Veumarket Style Header)
   ========================================= */
.top-action-bar {
  background-color: #0a1f5c;
  /* deep blue */
  width: 100%;
  padding: 1rem 0;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  border: 1px solid white;
  padding: 0.6rem 1.5rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all var(--transition-fast);
}

.top-nav-link:hover,
.top-nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.top-nav-link i {
  font-size: 0.8rem;
}

.top-nav-link.active i {
  color: var(--primary);
}

.btn-cotiza {
  background-color: #f04e23;
  /* orange/red */
  color: white;
  padding: 0.6rem 2rem;
  border-radius: 0.35rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-cotiza:hover {
  background-color: #d1401a;
  color: white;
}

/* Mobile top bar fix */
@media (max-width: 992px) {
  .top-bar-center {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .top-nav-link {
    margin: 0;
    text-align: center;
    justify-content: center;
  }
}

/* =========================================
   Form Pages & Banners
   ========================================= */
.page-banner {
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.7);
}

.page-title {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  color: #d1d5db;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: -80px auto 2rem;
  position: relative;
  z-index: 20;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h2 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 1.5rem;
  }
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-light);
  font-size: 0.9rem;
}

.custom-form input,
.custom-form select,
.custom-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background-color: var(--bg-light);
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
}

.full-width {
  grid-column: 1 / -1;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.captcha-box {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f9fafb;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid var(--primary);
}