/* =========================================
   GLOBALS CSS (Header & Footer)
   ========================================= */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 65px;
  z-index: 100;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.site-header.is-active {
  background-color: transparent;
  box-shadow: none;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 101;
}

.logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.site-header.is-active .logo {
  opacity: 0;
  pointer-events: none;
}

.logo img {
  height: 20px;
  width: auto;
  display: block;
}

.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  z-index: 102;
}

.hamburger {
  position: relative;
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 80px;
  background-color: #ff3040;
  transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff3040;
  transition:
    transform 0.3s ease,
    top 0.3s ease;
  border-radius: 80px;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.site-header:not(.is-active) .menu-toggle:hover .hamburger::before {
  transform: translateX(-15px);
}

.site-header:not(.is-active) .menu-toggle:hover .hamburger::after {
  transform: translateX(15px);
}

.site-header.is-active .menu-toggle {
  background-image: url("../images/menu-close.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 20px;
}

.site-header.is-active .hamburger {
  display: none;
}

.main-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f22535;
  background-image:
    url("../images/isuzu-bg-menu.png"), url("../images/menu-background.png");
  background-position:
    top center,
    center center;
  background-repeat: no-repeat, no-repeat;
  background-size:
    100% auto,
    cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 100;
}

.site-header.is-active .main-menu {
  opacity: 1;
  pointer-events: auto;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.menu-list li {
  margin: 20px 0;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.site-header.is-active .menu-list li {
  transform: translateY(0);
  opacity: 1;
}

.site-header.is-active .menu-list li:nth-child(1) {
  transition-delay: 0.1s;
}

.site-header.is-active .menu-list li:nth-child(2) {
  transition-delay: 0.2s;
}

.site-header.is-active .menu-list li:nth-child(3) {
  transition-delay: 0.3s;
}

.site-header.is-active .menu-list li:nth-child(4) {
  transition-delay: 0.4s;
}

.site-header.is-active .menu-list li:nth-child(5) {
  transition-delay: 0.5s;
}

.site-header.is-active .menu-list li:nth-child(6) {
  transition-delay: 0.6s;
}

.site-header.is-active .menu-list li:nth-child(7) {
  transition-delay: 0.7s;
}

.site-header.is-active .menu-list li:nth-child(8) {
  transition-delay: 0.8s;
}

.site-header.is-active .menu-list li:nth-child(9) {
  transition-delay: 0.9s;
}

.menu-list a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: color 0.3s ease;
}

.menu-list a:hover {
  color: #aaa;
}

.menu-social {
  margin-top: 30px;
}

.menu-social > a {
  display: none;
}

.dropdown-content-social {
  display: flex;
  align-items: center;
}

.dropdown-content-social a {
  padding: 0 10px;
}

.dropdown-content-social a:first-child {
  padding-left: 0;
}

.dropdown-content-social img {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease;
}

.dropdown-content-social a:hover img {
  transform: translateY(-5px) scale(1.1);
}

@media (min-width: 1180px) {
  .menu-toggle {
    display: none;
  }

  .main-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .menu-list {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .menu-list li {
    margin: 0;
    transform: none !important;
    opacity: 1 !important;
    transition: none;
  }

  .menu-list a {
    font-size: 0.8rem;
    color: #344251;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
    transition: font-weight 0.3s ease, color 0.3s ease;
  }

  .menu-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #e50014;
    border-radius: 2px;
    transition: width 0.3s ease;
  }

  .menu-list a:hover,
  .menu-list a.active {
    color: #e50014;
    font-weight: 800;
  }

  .menu-list a:hover::after,
  .menu-list a.active::after {
    width: 100%;
  }

  /* Botón de Contacto Pill */
  .menu-list a.btn-contacto {
    background-color: #e50014;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid #e50014;
    transition: all 0.3s ease;
    font-weight: 600;
  }

  .menu-list a.btn-contacto::after {
    display: none;
  }

  .menu-list a.btn-contacto:hover {
    background-color: transparent;
    color: #e50014;
    font-weight: 600;
  }

  .menu-social {
    margin-top: 0;
    margin-left: 0;
    position: relative;
  }

  .menu-social > a {
    display: inline-block;
    padding-bottom: 0;
  }

  .dropdown-content-social {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    border-radius: 4px;
    flex-direction: column;
    gap: 15px;
    margin-top: 5px;
  }

  /* Hover bridge para evitar que se cierre el menú al mover el mouse */
  .dropdown-content-social::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
  }

  .menu-social:hover .dropdown-content-social {
    display: flex;
  }

  .dropdown-content-social a {
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .dropdown-content-social a::after {
    display: none;
  }

  .dropdown-content-social img {
    width: 22px;
    filter: brightness(0) opacity(0.7);
    transition: filter 0.3s ease;
  }

  .dropdown-content-social a:hover img {
    filter: brightness(0) opacity(1);
    transform: none;
  }
}


.site-footer {
  width: 100%;
  min-height: 60vh;
  background-color: #121414;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 5%;
  box-sizing: border-box;
  position: relative;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  max-width: 1000px;
  gap: 30px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 25px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #e50014;
}

.footer-legales {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.footer-legales a {
  color: #ffffff;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legales a:hover {
  color: #e50014;
}

.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.footer-socials a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
}

.footer-socials img {
  width: 30px;
  height: auto;
  object-fit: contain;
}

.footer-copy {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.7;
}


@media (max-width: 1179px) {
  .menu-list a {
    font-size: 1.8rem;
  }

  .site-header {
    padding: 0 20px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
}
}


/* --- RESETS Y LAYOUT --- */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background-color: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.site-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* --- BOTONES GLOBALES --- */
.btn-switch-container {
  width: 250px;
  height: 50px;
  border: 2px solid #ff3c4b;
  border-radius: 50px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 4px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.4s ease;
}

.btn-switch-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 140px;
  background-color: #ff3c4b;
  color: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    background-color 0.4s ease;
}

.btn-switch-pill:hover,
.btn-switch-container:hover .btn-switch-pill {
  color: #ffffff;
}

.btn-switch-container:hover {
  border-color: #000000;
}

.btn-switch-container:hover .btn-switch-pill {
  transform: translateX(102px);
  background-color: #000000;
}

.switch-large {
  width: 320px;
}

.switch-large .btn-switch-pill {
  width: 180px;
}

.switch-large:hover .btn-switch-pill {
  transform: translateX(132px);
}

.switch-black {
  border-color: #000000;
}

.switch-black .btn-switch-pill {
  background-color: #000000;
  color: #ffffff;
}

.switch-black:hover {
  border-color: #ff3c4b;
}

.switch-black:hover .btn-switch-pill {
  background-color: #ff3c4b;
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(229, 0, 20, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.modal-box {
  background-color: #000000;
  border: 5px solid #ffffff;
  width: 80vw;
  max-width: 800px;
  height: 60vh;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.testimoniales-section {
  width: 100%;
  height: 120vh;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.testimoniales-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  z-index: 1;
}

.video-mobile {
  display: none;
}

.testimoniales-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.testimoniales-content {
  z-index: 3;
}

.testimoniales-title {
  color: #231916;
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 20px;
}

.testimoniales-subtitle {
  color: #231916;
  font-size: 1.8rem;
  margin-bottom: 50px;
}

.testimoniales-toggle-btn {
  position: absolute;
  bottom: 50px;
  right: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.testimoniales-toggle-btn:hover {
  transform: scale(1.05);
}

.testimoniales-toggle-btn img {
  width: 60px;
  height: auto;
}

.testimoniales-close-btn {
  position: fixed;
  bottom: 50px;
  right: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.testimoniales-close-btn:hover {
  transform: scale(1.05);
}

.testimoniales-close-btn img {
  width: 60px;
  height: auto;
}

@media (max-width: 768px) {
  .testimoniales-toggle-btn {
    bottom: 20px;
    right: 20px;
  }

  .testimoniales-toggle-btn img {
    width: 50px;
  }

  .testimoniales-close-btn {
    bottom: 20px;
    right: 20px;
  }

  .testimoniales-close-btn img {
    width: 50px;
  }
}

/* -------------------
   OFERTA SECTION
   ------------------- */

.ubicaciones-section {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #040d1c;
  background-image: url("../images/mapa.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.ubicaciones-card {
  width: 60%;
  height: 60%;
  background-color: #ffffff;
  border-radius: 37px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 800px;
}

.ubicaciones-icon {
  height: 85px;
  width: auto;
}

.ubicaciones-text {
  color: #707070;
  font-size: 1.8rem;
  margin: 0;
}

.btn-ubicaciones {
  display: inline-block;
  background-color: #ffffff;
  color: #e50014;
  border: 2px solid #e50014;
  border-radius: 50px;
  padding: 10px 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn-ubicaciones:hover {
  background-color: #e50014;
  color: #ffffff;
}

.postventa-section {
  width: 100%;
  height: 100vh;
  background-color: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.postventa-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.postventa-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  z-index: 2;
  padding: 0 5%;
}

.postventa-title {
  font-size: 6rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.postventa-text {
  font-size: 1.8rem;
  margin: 10px 0;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.postventa-highlight {
  font-size: 2.2rem;
  font-weight: bold;
}

.switch-postventa-container {
  width: 450px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 50px;
  text-decoration: none;
  overflow: hidden;
}

.switch-postventa-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background-color: #e50014;
  border-radius: 50px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.switch-text {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
  transition: color 0.4s ease;
  line-height: 1.3;
  padding: 0 10px;
}

.switch-text-left {
  color: #ffffff;
}

.switch-text-right {
  color: #e50014;
}

.switch-postventa-container:hover .switch-postventa-pill {
  transform: translateX(100%);
}

.switch-postventa-container:hover .switch-text-left {
  color: #e50014;
}

.switch-postventa-container:hover .switch-text-right {
  color: #ffffff;
}

.contactanos-section {
  width: 100%;
  height: 120vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.contactanos-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.contactanos-header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
  padding: 5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.contactanos-title {
  color: #ffffff;
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
}

.contactanos-divider {
  width: 100px;
  height: 4px;
  background-color: #e50014;
  margin: 15px auto 25px auto;
}

.contactanos-subtitle {
  color: #ffffff;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
}

.contactanos-form-container {
  width: 100%;
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 5%;
}

.contactanos-form-container .btn-switch-container:hover .btn-switch-pill {
  background-color: #ffffff;
  color: #e50014;
}

.contactanos-form-intro {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 30px;
  width: 100%;
}

.form-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid #707070;
  color: #ffffff;
  padding: 10px 0;
  font-size: 1.2rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.form-input:focus {
  border-bottom-color: #e50014;
}

.form-textarea {
  resize: vertical;
  min-height: 180px;
}

.form-submit {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.vacantes-section {
  width: 100%;
  height: 40vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 10%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background-color: white;
}

.vacantes-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.vacantes-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  position: relative;
  z-index: 2;
}

.vacantes-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #000000;
}

.btn-vacantes {
  display: inline-block;
  background-color: #ffffff;
  color: #e50014;
  border: 2px solid #e50014;
  border-radius: 50px;
  padding: 10px 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn-vacantes:hover {
  background-color: #e50014;
  color: #ffffff;
}

.dudas-section {
  width: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 5%;
  box-sizing: border-box;
  text-align: center;
}

.dudas-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dudas-icon {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
}

.dudas-text {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.4;
}

.dudas-mail {
  color: #e50014;
  font-size: 2.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: 10px;
}

.dudas-mail:hover {
  color: #ffffff;
}

@media (max-width: 992px) {
  .hero-image {
    max-width: 95%;
    max-height: 60vh;
  }

  .slider-section .carousel-inner,
  .slider-section .carousel-item {
    height: 40vh;
  }

  .tecnologia-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

  .tec-vertical-slider-wrapper {
    padding: 0;
  }

  .tec-panel {
    width: 100%;
    min-width: 100%;
    padding: 15% 5%;
  }

  .tec-slider-img {
    height: 100%;
  }

  .tec-left {
    height: 100vh;
    padding-top: 100px;
    z-index: 1;
  }

  .tec-right {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 10;
    justify-content: flex-start;
  }

  .tec-left::before,
  .tec-right::before {
    display: none;
  }

  .tec-connections-img {
    display: block;
    right: 0;
    width: 100%;
    opacity: 0.1;
    transform: unset;
    top: unset;
    bottom: 10%;
  }

  .tec-title {
    font-size: 3rem;
    text-align: center;
    white-space: normal;
  }

  .tec-subtitle {
    text-align: center;
    padding-top: 35%;
  }

  .tec-text {
    text-align: center;
  }

  .btn-switch-container {
    margin: 15% auto;
    border: none !important;
    width: auto !important;
    padding: 0 !important;
  }

  .btn-switch-pill {
    width: 220px !important;
    transform: none !important;
  }

  .btn-switch-container:hover .btn-switch-pill,
  .switch-large:hover .btn-switch-pill,
  .switch-black:hover .btn-switch-pill {
    transform: none !important;
  }

  .oferta-bg-text {
    font-size: 8rem;
    top: 15%;
  }

  .oferta-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .oferta-divider {
    width: 15vw;
    bottom: -20px;
  }

  .oferta-content {
    display: none !important;
  }

  .oferta-mobile {
    display: flex;
    flex-direction: column;
    width: 100vw;
  }

  .oferta-mobile-panel {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
  }

  .oferta-mobile-panel.panel-1 {
    background-image: url("../images/car-bg-mob.jpg");
  }

  .oferta-mobile-panel.panel-2 {
    background-image: url("../images/d-max-bg-mob.jpg");
  }

  .mobile-overlay-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(229, 0, 19, 0.77);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: 1;
  }

  .mobile-overlay-red.is-expanded {
    transform: scaleX(1);
  }

  .mobile-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-top: 20%;
    padding-bottom: 30%;
  }

  .btn-conocelos-mob {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: #e50013;
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 4;
  }

  .mobile-overlay-red.is-expanded .mobile-overlay-content {
    opacity: 1;
    transition-delay: 0.4s;
  }

  .mobile-overlay-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.45);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: 1;
  }

  .mobile-overlay-white.is-expanded {
    transform: scaleX(1);
  }

  .mobile-overlay-white.is-expanded .mobile-overlay-content {
    opacity: 1;
    transition-delay: 0.4s;
  }

  .mobile-overlay-content-dark {
    color: #000;
  }

  .btn-conocelos-mob-red {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e50013;
    color: white;
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 4;
  }

  .mobile-overlay-content img {
    max-width: 60%;
    margin-bottom: 20px;
  }

  .gama-title-mob {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .gama-model-mob {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }

  .gama-desc-mob {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .car-img-mobile {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    height: auto;
    z-index: 2;
    transition: transform 0.6s ease;
  }

  .car-img-mobile.is-active {
    transform: translateX(-50%) translateY(-20px) scale(1.1);
  }

  .btn-more-mobile {
    position: absolute;
    bottom: 5%;
    left: 5%;
    z-index: 3;
  }

  .btn-more-mobile img {
    height: 75px;
    width: auto;
  }

  .red-bar-left,
  .white-bar-right-title {
    width: 60%;
    top: 40px;
    left: unset;
  }

  .red-bar-left img,
  .white-bar-right-title img {
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
  }

  .oferta-red-bar.is-expanded {
    width: 100vw;
  }

  .oferta-white-bar.is-expanded {
    width: 100vw;
  }

  .red-bar-content {
    flex-direction: column;
    justify-content: center;
    padding-bottom: 10%;
    height: 50%;
  }

  .red-bar-right {
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 0;
    height: 50%;
    justify-content: center;
  }

  .white-bar-content {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10%;
  }

  .white-bar-left {
    width: 100%;
    padding: 0;
    align-items: center;
    height: 50%;
    justify-content: center;
  }

  .testimoniales-section {
    height: auto;
    min-height: 100vh;
    padding: 15vh 5% 50vh 5%;
    text-align: center;
    justify-content: flex-start;
  }

  .testimoniales-title {
    font-size: 3rem;
    padding: 5%;
    position: relative;
    top: 10%;
  }

  .testimoniales-title br {
    display: none;
  }

  .testimoniales-subtitle {
    font-size: 1.5rem;
  }

  .btn-switch-container.switch-large {
    margin: 0 auto;
  }

  .ubicaciones-section {
    padding: 50px 0;
  }

  .ubicaciones-card {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
    text-align: center;
    gap: 20px;
  }

  .ubicaciones-text {
    font-size: 1.5rem;
  }

  .postventa-section {
    height: auto;
    min-height: 80vh;
    padding: 60px 0;
  }

  .postventa-title {
    font-size: 4rem;
  }

  .postventa-text {
    font-size: 1.5rem;
  }

  .postventa-highlight {
    font-size: 1.8rem;
  }

  .switch-postventa-container {
    width: 90%;
    max-width: 500px;
    height: auto;
    min-height: 80px;
    flex-direction: row;
  }

  .switch-text {
    font-size: 0.9rem;
    padding: 15px 5px;
  }

  .contactanos-section {
    height: auto;
    min-height: 100vh;
    padding: 80px 5%;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .vacantes-section {
    height: auto;
    padding: 50px 5%;
    justify-content: center;
  }

  .vacantes-content {
    align-items: center;
    text-align: center;
  }

  .vacantes-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .tec-title {
    font-size: 2.2rem;
  }

  .tec-subtitle {
    font-size: 1.5rem;
  }

  .oferta-bg-text {
    font-size: 4rem;
  }

  .oferta-title {
    font-size: 1.8rem;
  }

  .car-item {
    width: 100%;
  }

  .red-bar-left img,
  .white-bar-right-title img {
    /* removed font-size */
  }

  .testimoniales-title {
    font-size: 2.2rem;
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
  }

  .testimoniales-section {
    padding: 0;
  }

  .testimoniales-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: block;
  }

  .testimoniales-subtitle {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
  }

  .testimoniales-content .btn-switch-container {
    position: absolute !important;
    bottom: 5% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
  }

  .testimoniales-toggle-btn {
    top: auto;
    bottom: 25%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .video-desktop {
    display: none !important;
  }

  .video-mobile {
    display: block !important;
    object-fit: cover !important;
  }

  .postventa-title {
    font-size: 3rem;
  }

  .postventa-text {
    font-size: 1.2rem;
  }

  .postventa-highlight {
    font-size: 1.4rem;
  }

  .switch-postventa-container {
    flex-direction: column;
    border: none !important;
    background: transparent !important;
    width: 90%;
    height: auto !important;
    overflow: visible !important;
    box-shadow: none !important;
    gap: 20px;
    margin: 0 auto;
  }

  .switch-postventa-pill {
    display: none !important;
  }

  .switch-postventa-container .switch-text {
    flex: none !important;
    background-color: #ffffff !important;
    color: #e50014 !important;
    border-radius: 9999px !important;
    padding: 20px !important;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    font-size: 1rem !important;
    line-height: 1.3;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .switch-postventa-container .switch-text-left {
    margin-top: 15%;
    font-size: 1rem !important;
  }

  .switch-postventa-container:hover .switch-postventa-pill {
    transform: none;
  }

  .contactanos-title {
    font-size: 2.5rem;
  }

  .contactanos-subtitle,
  .contactanos-form-intro {
    font-size: 1rem;
  }

  .vacantes-title {
    font-size: 2rem;
  }

  .dudas-text {
    font-size: 1.2rem;
  }

  .dudas-mail {
    font-size: 1.8rem;
  }

  @media (max-width: 768px) {
    .oferta-content {
      display: none !important;
    }

    .oferta-cars-container {
      padding: 0 !important;
      gap: 0 !important;
      justify-content: space-between;
      bottom: 2% !important;
    }

    .car-item,
    .car-left,
    .car-right {
      height: 50% !important;
      width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-end !important;
    }

    .car-img {
      width: 80% !important;
    }

    .panel-2 .gama-model-mob {
      display: none;
    }

    .switch-text-right {
      font-size: 1rem;
    }

    .ubicaciones-card {
      width: 80%;
    }
  }

  /* Mobile Small */
  @media (max-width: 375px) {
    #carLeftMobile {
      max-width: 70%;
    }

    .mobile-overlay-content {
      padding-top: 10%;
    }

    .testimoniales-title {
      font-size: 1.8rem;
    }

    .ubicaciones-text {
      font-size: 1.1rem;
    }

    .tec-subtitle {
      padding-top: 15%;
    }
  }
}


