/* ============================================================
   ACME MONTACARGAS — Estilos personalizados
   Paleta: Rojo corporativo + Negro (80%)
   ============================================================ */

:root {
  --acme-red: #e30613;
  --acme-red-dark: #b80410;
  --acme-red-light: #ff4d57;
  --acme-black: #1a1a1a;
  --acme-black-80: rgba(0, 0, 0, 0.8);
  --acme-gray: #5c6670;
  --acme-bg: #f7f7f7;
  --acme-white: #ffffff;
  --acme-radius: 0.5rem;
  --acme-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--acme-bg);
  color: var(--acme-black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--acme-black);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* ---------- Topbar ---------- */
.acme-topbar {
  background: var(--acme-black);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
}

.acme-topbar a {
  color: var(--acme-white);
}

.acme-topbar .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 2.25rem;
}

/* ---------- Navbar ---------- */
.acme-navbar {
  background: var(--acme-white);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
}

.acme-navbar .navbar-brand {
  font-weight: 800;
  color: var(--acme-black);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.acme-navbar .navbar-brand img{max-width: 200px}

@media (max-width: 767.98px) {
  .acme-navbar .navbar-brand img{max-width: 100px}
}


.acme-navbar .navbar-brand i {
  color: var(--acme-red);
  margin-right: 0.35rem;
}

.acme-navbar .nav-link {
  color: var(--acme-black);
  font-weight: 500;
  margin: 0 0.15rem;
}

.acme-navbar .nav-link:hover,
.acme-navbar .nav-link:focus {
  color: var(--acme-red);
}

.acme-navbar .nav-link.active {
  color: var(--acme-red);
  font-weight: 600;
}

.acme-navbar .btn-acme {
  padding: 0.5rem 1.25rem;
}
.navbar-toggler {
    padding: 10px !important;
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    background-color: transparent;
    border: none !important;

    border-radius: 0px;
    transition: var(--bs-navbar-toggler-transition);
}


/* ---------- Hero ---------- */
.acme-hero {
  background: linear-gradient(135deg, var(--acme-red) 0%, var(--acme-red-dark) 100%);
  color: var(--acme-white);
  position: relative;
  overflow: hidden;
}

.acme-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.acme-hero h1,
.acme-hero h2 {
  color: var(--acme-white);
}

.acme-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.25rem;
}

.acme-hero img.hero-img {
  position: relative;
  z-index: 1;
  max-height: 32rem;
  object-fit: contain;
}

/* ---------- Hero Slider ---------- */
.acme-hero-slider {
  background: var(--acme-black) url("../images/assets/slider/home_4_bg.webp") center / cover no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.acme-hero-slider .owl-item {
  position: relative;
}

.acme-hero-slider .owl-item img {
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.acme-hero-slider .owl-item .caption {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.acme-hero-slider .owl-item .caption h2 {
  font-size: 2.25rem;
}

/* ---------- Navegación del carrusel (productos): next / prev ---------- */
.acme-hero-slider .acme-carousel-nav-prev,
.acme-hero-slider .acme-carousel-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.55);
  color: var(--acme-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.acme-hero-slider .acme-carousel-nav-prev:hover,
.acme-hero-slider .acme-carousel-nav-next:hover {
  background: var(--acme-red);
  border-color: var(--acme-red);
}

.acme-hero-slider .acme-carousel-nav-prev {
  left: 1rem;
}

.acme-hero-slider .acme-carousel-nav-next {
  right: 1rem;
}

/* ---------- Carrusel de servicios (Owl) ---------- */
.acme-carousel .owl-item img {
  height: 26rem;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.acme-carousel .owl-item .caption {
  left: 50%;
  right: auto;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: min(90%, 55rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0) 100%);
  border-radius: var(--acme-radius);
  padding: 1.75rem;
  text-align: center;
}

.acme-carousel .owl-item .caption h3 {
  color: var(--acme-white);
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.acme-carousel .owl-item .caption p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}

.acme-carousel .owl-item .caption .btn {
  margin-top: 0.85rem;
}

@media (max-width: 767.98px) {
  .acme-carousel .owl-item img {
    height: 18rem;
  }

  .acme-carousel .owl-item .caption {
    width: 92%;
    padding: 1.25rem;
  }

  .acme-carousel .owl-item .caption h3 {
    font-size: 1.35rem;
  }
}

/* ---------- Navegación del carrusel de servicios: next / prev ---------- */
.acme-section .acme-carousel-nav-prev,
.acme-section .acme-carousel-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.55);
  color: var(--acme-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.acme-section .acme-carousel-nav-prev:hover,
.acme-section .acme-carousel-nav-next:hover {
  background: var(--acme-red);
  border-color: var(--acme-red);
}

.acme-section .acme-carousel-nav-prev {
  left: 1rem;
}

.acme-section .acme-carousel-nav-next {
  right: 1rem;
}

/* ---------- Botones ---------- */
.btn-acme {
  background: var(--acme-red);
  border: 1px solid var(--acme-red);
  color: var(--acme-white);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--acme-radius);
}

.btn-acme:hover,
.btn-acme:focus {
  background: var(--acme-red-dark);
  border-color: var(--acme-red-dark);
  color: var(--acme-white);
}

.btn-acme-dark {
  background: var(--acme-black);
  border: 1px solid var(--acme-black);
  color: var(--acme-white);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--acme-radius);
}

.btn-acme-dark:hover,
.btn-acme-dark:focus {
  background: var(--acme-black-80);
  border-color: var(--acme-black-80);
  color: var(--acme-white);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--acme-white);
  font-weight: 600;
  padding: 0.55rem 1.5rem;
  border-radius: var(--acme-radius);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--acme-white);
  color: var(--acme-white);
}

/* ---------- Secciones ---------- */
.acme-section {
  padding: 4.5rem 0;
  position: relative;
}

.acme-section.bg-white {
  background: var(--acme-white);
}

.acme-section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.acme-section-subtitle {
  color: var(--acme-gray);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.acme-accent-bar {
  width: 3.5rem;
  height: 0.35rem;
  background: var(--acme-red);
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.acme-accent-bar.left {
  margin-left: 0;
}

.acme-accent-bar.right {
  margin-left: auto;
  margin-right: 0;
}

/* ---------- Tarjetas / features ---------- */
.acme-card {
  background: var(--acme-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--acme-radius);
  box-shadow: var(--acme-shadow);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acme-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.acme-card .icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--acme-red);
  color: var(--acme-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.acme-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.acme-card p {
  color: var(--acme-gray);
  margin-bottom: 0;
}

/* ---------- Stats band ---------- */
.acme-stats {
  background: var(--acme-black);
  color: var(--acme-white);
}

.acme-stats .stat-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--acme-red);
  line-height: 1;
}

.acme-stats .stat-label {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
}

/* ---------- CTA band ---------- */
.acme-cta {
  background: var(--acme-black);
  color: var(--acme-white);
  border-radius: var(--acme-radius);
  padding: 3.5rem 2.5rem;
}

.acme-cta h2,
.acme-cta h3 {
  color: var(--acme-white);
}

.acme-cta .btn-acme {
  background: var(--acme-red);
}

/* ---------- Product cards ---------- */
.acme-product-card {
  background: var(--acme-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--acme-radius);
  box-shadow: var(--acme-shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acme-product-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.acme-product-card .product-img-wrap {
  background: var(--acme-bg);
  padding: 1.5rem;
  text-align: center;
}

.acme-product-card img {
  height: 9rem;
  object-fit: contain;
}

.acme-product-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.acme-product-card .product-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.acme-product-card .product-meta {
  color: var(--acme-gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.acme-product-card .product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--acme-red);
  margin-top: auto;
  margin-bottom: 1rem;
}

/* ---------- Listas / especificaciones ---------- */
.acme-spec-list {
  list-style: none;
  padding: 0;
}

.acme-spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.acme-spec-list li:last-child {
  border-bottom: 0;
}

.acme-spec-list .spec-label {
  color: var(--acme-gray);
}

.acme-spec-list .spec-value {
  font-weight: 600;
  color: var(--acme-black);
}

/* ---------- Breadcrumbs ---------- */
.acme-breadcrumb {
  background: var(--acme-white);
  border-radius: var(--acme-radius);
  box-shadow: var(--acme-shadow);
  padding: 0.9rem 1.25rem;
  margin-top: 1.5rem;
}

/* ---------- Formularios ---------- */
.acme-form-control,
.acme-form-select {
  border-radius: var(--acme-radius);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.acme-form-control:focus,
.acme-form-select:focus {
  border-color: var(--acme-red);
  box-shadow: 0 0 0 0.2rem rgba(227, 6, 19, 0.15);
}

/* ---------- FAQ accordion ---------- */
.acme-faq .card {
  border: 0;
  box-shadow: var(--acme-shadow);
  margin-bottom: 0.75rem;
}

.acme-faq .card-header {
  background: var(--acme-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--acme-radius);
}

.acme-faq .card-header button {
  color: var(--acme-black);
  font-weight: 600;
}

.acme-faq .card-header button:hover,
.acme-faq .card-header button:focus {
  color: var(--acme-red);
}

/* ---------- Footer ---------- */
.acme-footer {
  background: var(--acme-black);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4.5rem;
}

.acme-footer h5 {
  color: var(--acme-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.acme-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.acme-footer a:hover {
  color: var(--acme-red-light);
}

.acme-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
  font-size: 0.875rem;
}

/* ---------- Misc utilities ---------- */
.acme-text-red {
  color: var(--acme-red);
}

.acme-bg-dark {
  background: var(--acme-black);
}

/* Back to top */
#acmeBackToTop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#acmeBackToTop.visible {
  opacity: 1;
  visibility: visible;
}

.acme-navbar.scrolled {
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.acme-section-tight {
  padding: 3rem 0;
}

.acme-price-tag {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--acme-red);
}

/* ---------- Carruseles ---------- */
.acme-carousel .carousel-item img {
  height: 26rem;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.acme-carousel .carousel-caption {
  left: 50%;
  right: auto;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: min(90%, 55rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0) 100%);
  border-radius: var(--acme-radius);
  padding: 1.75rem;
  text-align: center;
}

.acme-carousel .carousel-caption h3 {
  color: var(--acme-white);
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.acme-carousel .carousel-caption p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}

.acme-carousel .carousel-caption .btn {
  margin-top: 0.85rem;
}

.acme-carousel .carousel-indicators .carousel-indicator {
  background-color: rgba(255, 255, 255, 0.55);
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin: 0 0.3rem;
}

.acme-carousel .carousel-indicators .carousel-indicator.active {
  background-color: var(--acme-red);
}

.acme-carousel .carousel-control-prev,
.acme-carousel .carousel-control-next {
  width: 10%;
}

.acme-carousel .carousel-control-prev-icon,
.acme-carousel .carousel-control-next-icon {
  background-size: 100% 100%;
}

@media (max-width: 767.98px) {
  .acme-carousel .carousel-item img {
    height: 18rem;
  }

  .acme-carousel .carousel-caption {
    width: 92%;
    padding: 1.25rem;
  }

  .acme-carousel .carousel-caption h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .acme-section {
    padding: 3rem 0;
  }

  .acme-section-title {
    font-size: 1.75rem;
  }

  .acme-hero {
    padding: 3rem 0;
  }

  .acme-hero img.hero-img {
    max-height: 20rem;
  }

  .acme-cta {
    padding: 2.25rem 1.5rem;
  }
}
