/*
Theme Name: Bootstrap Basic4
Theme URI: https://rundiz.com
Author: Rundiz-WP team
Author URI: https://github.com/Rundiz-WP
Description: Bootstrap v.4 basic theme for developers to build their new theme very fast and easy. (WordPress 5 or Gutenberg ready.) The concept is to keep it basic, no rich features, no additional functions; all of these for theme developers will be easier to start develop their theme. Please read notice on Bootstrap Basic 4 Help page in Dashboard &gt; Appearance &gt; Bootstrap Basic4 Help.
Version: 2.0.1
Requires PHP: 5.5
Requires at least: 5.0
Tested up to: 6.9
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: bootstrap-basic4
Domain Path: /languages/
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-menu, featured-images, post-formats, threaded-comments, translation-ready, editor-style, blog

This theme built with Twitter Bootstrap v.4. It is basic theme with basic style for build new theme with Bootstrap.

*/


/*
Required WordPress CSS


/* ==============================
   Variables principales del theme
   ============================== */
:root {
  /* Colores */
  --color-primary: #002458 !important;
  /* azul corporativo */
  --color-secondary: #f1c40f;
  /* amarillo destacado */
  --color-accent: #e74c3c;
  /* rojo para alertas */
  --color-whith: #ffffff;
  --color-black: #000;
  --color-text: #000;

  /* Tipografía */
  --font-base: 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 14px;
  --font-size-lg: 20px;

  /* Espaciados */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Bordes radius */
  --border-radius-sm: 0.2rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;

  /* Z-index */
  --z-navbar: 1000;
  --z-modal: 1050;
  --z-tooltip: 1100;
}


body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-background);
}

.color-primary {
  color: var(--color-primary) !important;
}

.h1 {
  font-size: 2.1rem !important;
}

.h2 {
  font-size: 1.7rem !important;
}

.h3 {
  font-size: 1.5rem !important;
}

.h4 {
  font-size: 1.2rem !important;
}

.h5 {
  font-size: 1.1rem !important;
}

.h6 {
  font-size: 1rem !important;
}

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ STYLE BACKGROUND ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.bg-black {
  background-color: var(--color-black);
}

.bg-transparent {
  background-color: transparent;
}

.bg-color-primary {
  background-color: var(--color-primary) !important;
}

.bg-color-secondary {
  background-color: var(--color-secondary) !important;
}

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ STYLE BUTTOM ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.btn-bg-white {
  background: #fff !important;
}

.btn-bg-white:hover {
  cursor: pointer;
  transition: transform .3s ease-in-out, background-color .3s ease-in-out, box-shadow .3s ease-in-out, border-color .3s ease-in-out;
  /* transición suave */
  transform: scale(1.1);
}

/* btn Solicitar Azul */
.btn-solicitar-azul {
  background: var(--color-primary) !important;
  color: #fff !important;
}

.btn-solicitar-azul:hover {
  color: var(--color-secondary) !important;
  cursor: pointer;
  transition: transform .3s ease-in-out, background-color .3s ease-in-out, box-shadow .3s ease-in-out, border-color .3s ease-in-out;
  /* transición suave */
  transform: scale(1.1);
}

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ STYLES HEADER ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.page-header {
  margin-bottom: 0 !important;
}

.navbar {
  background-color: var(--color-primary);
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 400;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-item {
  padding-inline: 0.5rem;
}

.navbar-nav .dropdown-menu {
  width: 100%;
  margin-top: 0px;
  border-radius: 0px;
}
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown-menu .dropdown-item {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
}

.navbar-nav .dropdown-item:focus,
.dropdown-item:hover {
  color: #fff !important;
  background-color: var(--color-primary) !important;
}

.navbar-nav .current-menu-item>.nav-link,
.navbar-nav .nav-item.active>.nav-link {
  border-bottom: 3px solid var(--color-secondary);
}

.navbar-nav.ml-lg-3 .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff !important;
  font-size: 0.9rem;
}

.navbar-nav.ml-lg-3 .nav-link img {
  width: 18px;
  height: 18px;
}

@media screen and (max-width: 767.9px) {
  .navbar-nav .dropdown-menu {
    margin-top: 0px;
  }
}

/* Search input */
.search-bar {
  position: relative;
  margin-left: 1rem;
}

.search-input {
  border-radius: 20px !important;
  border: none;
  height: 1.5rem !important;
  width: 9rem !important;
  padding-right: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  font-size: 0.7rem !important;
  color: #333;
}

.search-bar::before {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

/* Hover sobre el item principal */
.navbar-nav .nav-item:hover>.nav-link {
  color: var(--color-secondary) !important;
}

/* Cuando el submenú está desplegado (click/toggle) */
.navbar-nav .nav-item.show>.nav-link {
  color: var(--color-secondary) !important;
}

.navbar-nav .nav-item:focus>.nav-link {
  color: var(--color-secondary) !important;
}

/* END: styles Header */


/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ STYLES FOOTER ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.legal-links .separator {
  color: var(--color-secondary);
  /* Amarillo dorado como en la imagen */
  margin: 0 8px;
}

@media screen and (max-width: 767.9px) {
  .legal-links .separator {
    display: none;
  }

  .list-inline {
    display: grid;
  }
}

.legal-links a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--color-secondary) !important;
}

.menu-footer details ul li a,
.menu-footer-mobile details ul li a {
  text-decoration: none;
}

.menu-footer details ul li:hover,
.menu-footer details ul li a:hover,
.menu-footer-mobile details ul li:hover,
.menu-footer-mobile details ul li a:hover {
  color: var(--color-secondary) !important;
}

/* END: styles Footer */

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ STYLES MODAL FORMS ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
/* ===== Modal ===== */
.modal-content {
  border-radius: 8px;
  border: 1px solid var(--color-primary);
  overflow: hidden;
}

.modal-header {
  background-color: var(--color-primary);
  color: #fff;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.modal-header .btn-close {
  background: #ff000000;
  color: #fff;
  border: none;
}

.modal-header .btn-close:hover {
  transform: scale(1.2);
  font-weight: 700;
}

.modal-body {
  padding: 0.5rem 0rem !important;
}

.modal-title-destac {
  color: var(--color-secondary);
  font-weight: bold;
}

/* END: style modal form */


/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ STYLES CAMPOS FORMS CF7 ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
/* ===== General form layout ===== */
.wpcf7-form .row {
  margin: 0;
}

.wpcf7-form .col-12 {
  margin-bottom: 0px !important;
}

/* ===== Formulario CF7 ===== */
.wpcf7-form .row {
  margin: 0;
}

.wpcf7-form .row p {
  margin: 0.5rem !important;
}

/* ===== Select (modelo) ===== */
.wpcf7-form select {
  width: 100%;
  padding: 0.45rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  appearance: none;
  /* elimina estilos nativos */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230056B3' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px 8px;
}

.wpcf7-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 6px rgba(0, 86, 179, 0.3);
}

/* Opciones dentro del select */
.wpcf7-form select option {
  padding: 0.5rem;
  color: #333;
}

/* Inputs y textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 6px rgba(0, 86, 179, 0.3);
}

/* Checkbox / aceptación */
.wpcf7-form .wpcf7-form-control-wrap label {
  margin-bottom: 0px !important;
}

.wpcf7-form .wpcf7-form-control-wrap {
  font-size: 0.9rem;
  color: #333;
}

/* ===== Submit button ===== */
.wpcf7-form input[type="submit"] {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

/* ===== Inputs & Textareas ===== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.45rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 6px rgba(0, 86, 179, 0.3);
}

/* Placeholder styling */
.wpcf7-form ::placeholder {
  color: #777;
  font-style: italic;
}

/* ===== Checkbox / aceptación ===== */
.acceptance p {
  margin: 0px !important;
}

.wpcf7-form .acceptance label {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
}

.wpcf7-form .acceptance input[type="checkbox"] {
  accent-color: var(--color-primary);
  margin-right: 0.5rem;
}

/* ===== Response messages ===== */
.wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* END: style campos CF7 */


/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ STYLES HOMEPAGE ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */

/* INI: Background homepage */
.bg-img-campo {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.bg-img-campo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  filter: blur(8px);
  z-index: 0;
}

.bg-img-campo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(0 0 0));
}

/* END: Background homepage */

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ HOMEPAGE SLIDER ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
/* 1. Resetear contenedores padres para que permitan el ancho completo */
body.home .content, 
body.home .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

/* 2. Asegurar que el slider ocupe todo el ancho */
.slider-home {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.slider-home #mainSlider .carousel-caption,
.slider-home #mainSliderMobile .carousel-caption {
  right: 10%;
  left: auto;
  bottom: 35%;
  text-align: left;
  padding: 1rem;
  border-radius: 0.5rem;
  max-width: 40rem;
}

.slider-home #mainSlider .carousel-item img,
.slider-home #mainSliderMobile .carousel-item img {
  width: 100% !important;
  max-height: 600 px;
  object-fit: cover;
  width: 100%;
}

.slider-home #mainSlider .carousel-indicators,
.slider-home #mainSliderMobile .carousel-indicators,
.slider-home #mainSlider .carousel-caption h3,
.slider-home #mainSliderMobile .carousel-caption h3 {
  margin-bottom: 1.5rem !important;
}

.slider-home #mainSlider .carousel-caption a,
.slider-home #mainSliderMobile .carousel-caption a {
  font-weight: bold;
  margin-top: 1rem;
}

.slider-home #mainSlider .carousel-indicators li,
.slider-home #mainSliderMobile .carousel-indicators li {
  width: 10px;
  height: 10px;
  border: 3px solid #D9D9D9;
  opacity: 1 !important;
  border-radius: 50%;
  background-color: transparent;
  margin: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.slider-home #mainSlider .carousel-indicators .active,
.slider-home #mainSliderMobile .carousel-indicators .active {
  background-color: #D9D9D9;
  border-color: #D9D9D9;
}

/* Asegurar que las flechas estén visibles y clickeables */
.slider-home #mainSliderMobile .carousel-control-prev,
.slider-home #mainSliderMobile .carousel-control-next {
  z-index: 10;
  /* por encima de caption e imagen */
  width: 10%;
  /* área clickeable más grande */
}

.slider-home #mainSliderMobile .carousel-control-prev-icon,
.slider-home #mainSliderMobile .carousel-control-next-icon {
  background-size: 100% 100%;
  outline: none;
}

@media (max-width: 767.98px) {
  .slider-home #mainSliderMobile .carousel-caption {
    right: 5%;
    left: 5%;
    top: 10%;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    max-width: 100%;
  }

  .slider-home #mainSliderMobile .carousel-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .slider-home #mainSliderMobile .carousel-caption p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .slider-home #mainSliderMobile .carousel-caption a {
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
  }

  .slider-home #mainSliderMobile .carousel-item img {
    max-height: 600px;
    object-fit: cover;
    width: auto;
  }

  .slider-home #mainSliderMobile .carousel-indicators {
    bottom: 10px;
    margin-bottom: 1rem !important;
  }

  .slider-home #mainSliderMobile .carousel-indicators li {
    width: 10px;
    height: 10px;
    border: 3px solid #D9D9D9;
    opacity: 1 !important;
    border-radius: 50%;
    background-color: transparent;
    margin: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }

  .slider-home #mainSliderMobile .carousel-indicators .active {
    background-color: #D9D9D9;
    border-color: #D9D9D9;
  }
}

/* END: Slider homepage */


/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ HOMEPAGE MACHINES ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.component-machines {
  padding-top: 5rem;
}

.selector-container {
  position: relative;
  background: #ffffff69;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: auto;
  border-radius: 1rem;
  z-index: 9;
}

.componet-machines-mobile {
  background: #0000002b;
}

.componet-machines,
.componet-machines-mobile {
  position: relative;
  z-index: 9;
}

.machine-image {
  flex: 1;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.machine-image img {
  width: 100%;
  height: 290px;
  opacity: 1;
  transition: opacity 0.4s ease;
  object-fit: contain;
}


@keyframes text-blink {
  0% {
    filter: blur(0.5rem) contrast(3);
    opacity: 0;
    transform: scale(1.05);
  }

  40% {
    filter: blur(0) contrast(1.2);
    opacity: 1;
    transform: scale(1);
  }

  100% {
    filter: blur(0) contrast(1);
    opacity: 1;
    transform: none;
  }
}

.vertical-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.vertical-text span {
  writing-mode: vertical-rl;
  text-orientation: initial;
  font-family: 'Arial Black', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 3px;
  transform: rotate(180deg);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.vertical-text .filled {
  color: #000;
}

.vertical-text .outlined {
  color: transparent;
  -webkit-text-stroke: 1px #000;
}

.vertical-text.animating span {
  animation: text-blink 0.9s ease-in-out both;
}

@media (max-width: 767.98px) {
  #verticalTextMobile {
    flex-direction: column;
  }

  .vertical-text span {
    writing-mode: horizontal-tb;
    transform: rotate(0deg) !important;
  }
}

@keyframes text-blink {
  0% {
    filter: blur(0.5rem) contrast(3);
    opacity: 0;
    transform: rotate(180deg) scale(1.05);
  }

  40% {
    filter: blur(0) contrast(1.2);
    opacity: 1;
    transform: rotate(180deg) scale(1);
  }

  100% {
    filter: blur(0) contrast(1);
    opacity: 1;
    transform: rotate(180deg);
  }
}

.menu-options {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
}

.menu-options button,
.menu-options-mobile button {
  border: none;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  border-radius: 10px;
  margin: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.menu-options button {
  width: 100%;
  background: transparent;
}

.menu-options-mobile button {
  background: rgb(0 43 100 / 34%);
  color: #ffffff70;
}

.menu-options button.active,
.menu-options-mobile button.active {
  background: #02225C !important;
  color: #fff;
}

.menu-options button:hover,
.menu-options-mobile button:hover {
  background: rgba(0, 43, 100, 0.15);
}

/* Mobile horizontal layout */
.menu-options-mobile {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#machineCarousel .carousel-item a,
#carouselInnerMobile .carousel-item a {
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.3s ease;
}

#machineCarousel .carousel-item a:hover,
#carouselInnerMobile .carousel-item a:hover {
  transform: scale(1.05);
  /* escala un 5% más grande */
  color: var(--color-secondary);
}

#machineCarousel .carousel-item a {
  color: #000;
  text-decoration: none;
}

#carouselInnerMobile .carousel-item a {
  color: #fff;
}

#machineCarousel .carousel-control-next,
#machineCarousel .carousel-control-prev {
  top: 90% !important;
}

/* END: Machines homepage */


/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ HOMEPAGE CARD SERVICES ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.cards-services {
  position: relative;
  margin-top: 2rem;
  z-index: 9;
}

.card-service {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 1.5rem;
  padding: 1rem;
  min-height: 100px;
}

.card-service img {
  height: auto;
  margin-right: 1rem;
  flex-shrink: 0;
}

.card-service-text {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 767.98px) {
  .card-service {
    display: block;
  }

  .card-service-text {
    font-size: 0.8rem;
  }
}

/* END: Cards Service homepage */

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ HOMEPAGE ÚLTIMOS EVENTOS ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.base-template {
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 50%, rgb(0 0 0 / 40%) 62%, rgb(255 253 253) 100%);
}

.base-template__wrapper {
  max-width: 1560px;
}

.base-template__text {
  margin-bottom: 60px;
}

/**
 * Slider Instance
 */

.swiper {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.emotions-slider {
  --color-gray: #818181;
  --color-gray-dark: transparent;

  padding-inline: 98px;
  position: relative;
}

.emotions-slider__slide {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767.9px) {
  .emotions-slider {
    padding: 0;
  }
}

.slider-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  z-index: 1;
  pointer-events: none;
}

.slider-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 48px;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.slider-nav__item.disabled {
  cursor: default;
  opacity: 0.5;
}

.slider-nav__item path {
  stroke: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .slider-nav__item:not(.disabled):hover {
    color: var(--color-blue);
  }
}

@media (hover: none) {
  .slider-nav__item:not(.disabled):active {
    color: var(--color-blue);
  }
}

@media screen and (max-width: 767.9px) {
  .slider-nav {
    display: none;
  }
}

.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 40px;
}

.swiper-pagination-lock {
  display: none !important;
}

.slider-pagination__item {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #002458;
  transition: all 0.3s ease-out;
  opacity: 0.7;
}

.slider-pagination__item.active {
  background: #ffd01e;
  width: 30px;
  opacity: 1;
}

/**
 * Slider Item
 */
.swiper-slide {
  width: auto;
  height: auto;
}

@keyframes btn-arrow-move {
  0% {
    translate: 0;
  }

  100% {
    translate: 100% -100%;
  }
}

.emotions-slider-item {
  --border-radius: 10px;
  max-width: 400px;
  background: var(--color-gray-dark);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}


.emotions-slider-item__image {
  aspect-ratio: 100 / 100;
  overflow: hidden;
}

.emotions-slider-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.emotions-slider-item__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.emotions-slider-item__header,
.emotions-slider-item__footer {
  background: #002458;
  max-height: 50px;
  overflow: hidden;
  transition: max-height 0.6s ease-in;
}

.emotions-slider-item__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.emotions-slider-item__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 18px;
  color: #ffd01e;
  text-decoration: none;
  justify-content: center;
}

.emotions-slider-item__btn:hover {
  color: #fff;
}

.emotions-slider-item__btn-icon {
  flex-shrink: 0;
  display: block;
  aspect-ratio: 1;
  width: 24px;
  position: relative;
  overflow: hidden;
}

.emotions-slider-item__btn-icon::before,
.emotions-slider-item__btn-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.emotions-slider-item__btn-icon::after {
  position: absolute;
  top: 100%;
  right: 100%;
}

.emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__header,
.emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__footer {
  max-height: 0;
}

@media (hover: hover) and (pointer: fine) {

  .emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::before,
  .emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::after {
    animation: btn-arrow-move 0.4s ease forwards;
  }
}

@media (hover: none) {

  .emotions-slider-item__btn:active .emotions-slider-item__btn-icon::before,
  .emotions-slider-item__btn:active .emotions-slider-item__btn-icon::after {
    animation: btn-arrow-move 0.4s ease forwards;
  }
}

.emotions-slider__nav.slider-nav svg {
  color: #ffd01e;
}

.title-last-events {
  color: #fff;
  margin-block: 3rem;
  text-align: center;
}

/* END: Últimos Eventos homepage */

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ BANNER REPUESTOS HOMEPAGE ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.banner-repuestos {
  background-size: cover;
  background-repeat: no-repeat;
  padding: 2rem 0;
  border-radius: 2rem;
}

.banner-repuestos .card {
  border: none;
  background-color: transparent;
}

.banner-repuestos .card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.banner-repuestos .logo-text img {
  max-height: 80px;
  width: auto;
}

.banner-repuestos h1 {
  color: #fff;
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
}

.banner-repuestos .image-col img {
  position: absolute;
  right: 0;
  top: -172px;
  width: 120%;
  max-width: none;
  height: auto;
  object-fit: contain;
  z-index: 2;
}

/* --- MOBILE: Banner Repuestos --- */
.banner-repuestos_mobile {
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 1rem;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 90% !important;
  margin-block: 1rem;
}

.banner-repuestos_mobile .logo-text img {
  max-height: 60px;
  margin-bottom: 1rem;
}

.banner-repuestos_mobile h1 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.banner-repuestos_mobile .image-col img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  top: auto;
  right: auto;
}

/* END: Banner Repuestos homepage */


/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ BANNER USADOS HOMEPAGE ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.usados-banner h2,
.usados-banner-mobile h2 {
  font-size: 2rem;
  color: #333;
}

.usados-banner h5,
.usados-banner-mobile h5 {
  color: var(--color-black);
}

.usados-banner .btn-usados,
.usados-banner-mobile .btn-usados {
  background: var(--color-primary) !important;
  border: none;
}

.usados-banner .btn-usados:focus,
.usados-banner-mobile .btn-usados:focus {
  box-shadow: 0 0 5px 0.1rem var(--color-secondary);
}

.usados-banner .btn-service,
.usados-banner-mobile .btn-service {
  background: var(--color-secondary) !important;
  border: none;
}

.usados-banner .btn-service:focus,
.usados-banner-mobile .btn-service:focus {
  box-shadow: 0 0 5px 0.1rem var(--color-primary);
}

.usados-banner .left-image,
.usados-banner-mobile .left-image {
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.usados-banner .btn-block-custom,
.usados-banner-mobile .btn-block-custom {
  width: 220px;
  max-width: 100%;
  display: inline-block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: 4px;
}

/* END: Banner Usados homepage */

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ NOVEDADES - ENTRADAS ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.novedades-post-container {
  padding: 0px !important;
}

/* Imagen destacada */
.novedad-image {
  margin-bottom: 2rem;
  overflow: hidden;
}

.novedad-image img {
  width: 100%;
  height: 23rem;
  object-fit: cover;
  margin: 0 !important;
}

/* Título */
.novedades-post-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

/* Contenido */
.novedad-post-content {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 2rem;
  color: #333;
}

.novedad-post-content p {
  margin-bottom: 1rem;
}

/* Centrar el contenedor de la noticia */
.novedades-post-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Ajustar el contenido de la noticia */
.novedad-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
    margin: 0 auto;
}

/* Centrar automáticamente cualquier imagen que el usuario suba dentro del contenido */
.novedad-post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto !important;
}

/* Estilo del título */
.novedades-post-title {
    font-weight: bold;
    color: #003366; /* Azul New Holland */
    margin-top: 20px;
}

/* Centrar el contenedor de Novedades / Entradas */
.base-template__content.py-4 {
    margin: 0 auto !important;   /* Centrado horizontal */
    float: none !important;
}

/* END: Novedades - Entradas */

/* ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ MACHINES SECTION - MODELOS ‖‖‖‖‖‖‖‖‖‖‖‖‖‖‖ */
.machines-post-container .zocalo-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* permite que el logo baje en mobile */
  min-height: 6rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}

.machines-post-container .zocalo-category h2 {
  font-size: 2rem;
  margin: 0;
}

/* Tabs scrollables en mobile */
.machines-post-container .nav-tabs {
  overflow-x: auto;
  flex-wrap: wrap;
  -webkit-overflow-scrolling: touch;
  border: none !important;
}

.machines-post-container .nav-tabs .nav-link {
  margin-bottom: 0px !important;
  white-space: nowrap;
  color: #fff;
  background: var(--color-primary) !important;
  border: 11px solid #fff !important;
  border-radius: 1rem;
}

.machines-post-container .nav-link.active {
  color: var(--color-secondary) !important;
  border: 11px solid #fff !important;
}

.machines-post-container #nav-tabContent .card-title {
  font-weight: 700 !important;
}

/* Ajustes responsive */
@media (max-width: 767px) {
  .machines-post-container .zocalo-category {
    padding: 1rem;
    text-align: center;
  }

  .machines-post-container .zocalo-category h2 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
  }

  .machines-post-container .zocalo-category img {
    max-height: 40px;
    margin: 0 auto;
  }

  .machines-post-container .card-body h5 {
    font-size: 1rem;
  }
}

.machines-post-container .modelo-wrapper {
  position: relative;
  display: inline-block;
  padding: 1rem;
}

.machines-post-container .modelo-img {
  width: 100%;
  height: auto;
  display: block;
}

.machines-post-container .hot-sale-icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 30%;
  /* ajustá según diseño */
  height: auto;
  z-index: 2;
}

/* END: Machines Section - categorias/modelos */