html,
body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  color: #0c0c0c;
  background-color: #ffffff;
  padding-top: 108px;
}

body p {
  text-align: justify;
  text-justify: inter-word;
}

.header_section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
}

.layout_padding {
  padding: 75px 0;
}

.layout_padding2 {
  padding: 45px 0;
}

.layout_padding2-top {
  padding-top: 45px;
}

.layout_padding2-bottom {
  padding-bottom: 45px;
}

.layout_padding-top {
  padding-top: 75px;
}

.layout_padding-bottom {
  padding-bottom: 75px;
}

.custom_heading-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.custom_heading-container h2 {
  font-weight: bold;
  border-bottom: 1px solid #82b8b2;
  padding-bottom: 5px;
}



/*header section*/
.hero_area {
  position: relative;
  overflow: hidden;
  height: 110vh;
  background: -webkit-gradient(linear, left top, right top, from(#ffffff), to(#ffffff));
  background: linear-gradient(to right, #ffffff, #ffffff);
}

.hero_area::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 86%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  top: 25px;
  right: 0;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero_area video {
  display: block;
}

.sub_page .hero_area {
  height: auto;
}

.sub_page .hero_area::before {
  display: none;
}

.hero_area.sub_pages {
  height: auto;
}

.header_section {
  padding-top: 0px;
}

.header_section .container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.header_section .topbar {
  background-color: #157466;
  padding: 12px 0;
  font-size: 0.9rem;
}

.new-nav {
  background-color: #ffffff;
  padding: 18px 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.header_section .topbar-info a,
.header_section .topbar-links a {
  color: #fff;
  text-decoration: none;
}

.header_section .topbar-links a {
  margin-left: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.header_section .topbar-info svg {
  width: 18px;
  height: auto;
  margin-right: 3px;
  fill: #ffff;
}

.topbar.hide,
.topbar-info.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, height 0.3s ease, padding 0.3s ease;
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.new-nav {
  background-color: #ffffff;
  padding: 18px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding-right: 200px;
  border-bottom: 2.5px solid rgb(42, 187, 47);
  /* Abajo */
}

.new-nav .navbar-brand {
  display: flex;
  align-items: center;
  color: #1f6b47;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-header {
  width: 130px;
  height: auto;
  margin-left: 115px;
}

.logo-header2 {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 40px;
}

.logo-header3 {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto 15px 0;
  margin-right: -15px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.slide.active .history-slide .logo-header3 {
  animation: floatLogo 1.2s ease-out both;
}

.slide:not(.active) .history-slide .logo-header3 {
  opacity: 0;
  transform: translateY(18px) scale(0.92);
}

.titulo-con-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.titulo-con-logo2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.titulo-con-logo2 {
  justify-content: center;
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.titulo-con-logo2 h2 {
  margin: 0;
  width: 100%;
  text-align: center;
}

/* Divisor verde para el título del timeline */
.titulo-con-logo2 .divisor-verde {
  width: 90px;
  height: 4px;
  background-color: #23c823;
  margin: 10px auto 22px;
}

.titulo-con-logo h2 {
  margin: 0;
  font-size: 2.4rem;
}

.titulo-con-logo .logo-header4 {
  width: 22px;
  height: auto;
  display: block;
}

@keyframes floatLogo {
  0% {
    transform: translateY(18px) scale(0.94);
    opacity: 0;
    filter: blur(2px);
  }

  60% {
    transform: translateY(-4px) scale(1.01);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.new-nav .navbar-nav .nav-link {
  color: #37603a;
  font-weight: 600;
  padding: 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
}

.new-nav .navbar-nav .nav-link:hover {
  color: #37603a;
  font-weight: 600;
  padding: 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #06bf34;
  text-decoration-thickness: 3px;
  text-underline-offset: 40px;
}

.new-nav .navbar-nav .nav-link:hover,
.new-nav .navbar-nav .nav-link.active,
.new-nav .navbar-nav .nav-item.active .nav-link {
  color: #3eb843;
}

.new-nav .navbar-nav .nav-link.active,
.new-nav .navbar-nav .nav-item.active .nav-link {
  font-weight: 600;
  padding: 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: #06bf34;
  text-decoration-thickness: 3px;
  text-underline-offset: 40px;
}

.new-nav .navbar-toggler {
  border: none;
  padding: 0;
}

.new-nav .navbar-toggler .navbar-toggler-icon {
  position: relative;
  width: 24px;
  height: 18px;
  background-color: transparent;
}

.new-nav .navbar-toggler .navbar-toggler-icon span,
.new-nav .navbar-toggler .navbar-toggler-icon:before,
.new-nav .navbar-toggler .navbar-toggler-icon:after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #37593b;
  border-radius: 1px;
  position: absolute;
  left: 0;
}

.new-nav .navbar-toggler .navbar-toggler-icon:before {
  top: 0;
}

.new-nav .navbar-toggler .navbar-toggler-icon span {
  top: 8px;
}

.new-nav .navbar-toggler .navbar-toggler-icon:after {
  bottom: 0;
}

/*end header section*/
/* slider section */
.slider_section {
  color: #f9fcfb;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 90%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* NAV - animated hamburger and mobile off-canvas menu */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 6px 10px;
  z-index: 1300;
}

.navbar-toggler svg {
  display: block;
}

.navbar-toggler .close-icon {
  display: none;
}

.navbar-toggler:not(.collapsed) .hamburger-icon {
  display: none;
}

.navbar-toggler:not(.collapsed) .close-icon {
  display: block;
}

.navbar-toggler .line {
  transition: transform .28s ease, opacity .2s ease;
  transform-origin: center;
}

.navbar-toggler.collapsed .line1 {
  transform: translateY(-5px) rotate(0);
}

.navbar-toggler.collapsed .line2 {
  opacity: 1;
}

.navbar-toggler.collapsed .line3 {
  transform: translateY(5px) rotate(0);
}

.navbar-toggler:not(.collapsed) .line1 {
  transform: translateY(0) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .line2 {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .line3 {
  transform: translateY(0) rotate(-45deg);
}

/* Off-canvas behavior on small screens */
@media (max-width: 991px) {
  .new-nav {
    padding: 14px 18px;
    border-bottom: none;
  }

  .new-nav .navbar-brand {
    margin-left: 0;
  }

  .logo-header {
    width: 110px;
    height: auto;
    margin-left: 0;
  }

  .titulo-con-logo2 {
    padding: 8px;
    margin-bottom: 50px;
  }

  .logo-header3 {
    display: block;
    width: 60px;
    height: auto;
    margin: 0 auto;
    margin-left: 20px;
    margin-bottom: -20px;
    opacity: 0;
  }

  .navbar-toggler {
    position: relative;
    margin-right: 0;
  }

  .navbar-collapse {
    position: absolute !important;
    top: 100%;
    left: 40px;
    right: 40px;
    width: auto;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
    transition: transform .28s ease, opacity .28s ease;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    z-index: 1200;
    display: block !important;
    padding: 0;
  }

  .navbar-collapse.show {
    transform: translateY(0) !important;
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 20px;
  }

  .navbar-nav .nav-item {
    width: 100%;
    box-sizing: border-box;
  }

  .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 18px;
    box-sizing: border-box;
    white-space: nowrap;
    font-weight: 600;
    color: #1f6b47 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.2;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-collapse.show .navbar-nav .nav-link {
    color: #2da10d !important;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active,
  .navbar-nav .nav-item.active .nav-link {
    background: #f3fef5;
    color: #1f6b47;
  }

  .offcanvas-backdrop {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
    flex-direction: row;
  }

  .navbar-nav .nav-link {
    padding: 0 10px;
  }

  .navbar-collapse {
    position: static !important;
    width: auto;
    transform: none !important;
    background: transparent;
    box-shadow: none;
    padding-top: 0;
    height: auto;
  }

  .offcanvas-backdrop {
    display: none !important;
  }
}

.slider_section .row {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.slider_section .carousel-item .col-md-6:last-child {
  display: block;
}

.slider_detail-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.slider_section {
  position: relative;
  min-height: calc(100vh - 20px);
}

/* Quitar cualquier línea, margen o padding que deje una franja bajo el carrusel */
.slider_section,
.slider_section .carousel-inner,
.slider_section .carousel-item,
.slider_section #carouselExampleIndicators {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  background-color: transparent !important;
}

/* Hacer que el carrusel ocupe toda la altura disponible del hero_area para evitar 'pixel gaps' */
.hero_area .slider_section,
.hero_area .slider_section .carousel-inner,
.hero_area .slider_section .carousel-item {
  height: 100% !important;
  min-height: 0 !important;
}

/* Animaciones para Slide 2: Sistema de Lavado */
@keyframes cylinderGrow {
  0% {
    transform: scaleY(0.18);
    opacity: 0.2;
  }

  60% {
    transform: scaleY(1.06);
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes slideTextIn {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Estado inicial: cilindros comprimidos y texto oculto (sin afectar otros slides) */
.system-slide .cylinders-section .cylinder {
  transform-origin: bottom center;
  transform: scaleY(0.18);
  opacity: 0.2;
}

.system-slide .text-section>* {
  opacity: 0;
  transform: translateX(40px);
}

/* Cuando el slide está activo, reproducir animaciones con delays escalonados */
.slide.active .system-slide .cylinders-section .cylinder {
  animation-name: cylinderGrow;
  animation-duration: 850ms;
  animation-timing-function: cubic-bezier(.22, .9, .26, 1);
  animation-fill-mode: both;
}

.slide.active .system-slide .cylinders-section .cylinder:nth-child(1) {
  animation-delay: 0.18s;
}

.slide.active .system-slide .cylinders-section .cylinder:nth-child(2) {
  animation-delay: 0.34s;
}

.slide.active .system-slide .cylinders-section .cylinder:nth-child(3) {
  animation-delay: 0.5s;
}

.slide.active .system-slide .cylinders-section .cylinder:nth-child(4) {
  animation-delay: 0.66s;
}

.slide.active .system-slide .text-section h1,
.slide.active .system-slide .text-section h2 {
  animation: slideTextIn 700ms cubic-bezier(.22, .9, .26, 1) both;
  animation-delay: 0.9s;
}

.slide.active .system-slide .text-section .highlight-number {
  animation: slideTextIn 700ms cubic-bezier(.22, .9, .26, 1) both;
  animation-delay: 1.05s;
}

.slide.active .system-slide .text-section p {
  animation: slideTextIn 700ms cubic-bezier(.22, .9, .26, 1) both;
  animation-delay: 1.18s;
}

.interior-cylinder img {
  max-width: 60px;
  height: auto;
  margin-bottom: 6px;

}

/* Small adjustments to make the cylinders look like bars */
.system-slide .cylinders-section {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.system-slide .cylinders-section .cylinder {
  width: 56px;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}


/* Animaciones para Slide 3: Stand Comercial (texto e imagen) */
@keyframes standTextIn {
  0% {
    transform: translateX(-36px);
    opacity: 0;
  }

  60% {
    transform: translateX(6px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes standImagePop {
  0% {
    transform: scale(0.86) translateY(18px) rotate(-4deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.04) translateY(-6px) rotate(2deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) translateY(0) rotate(0);
    opacity: 1;
  }
}

.stand-slide .text-section h1,
.stand-slide .text-section h2 {
  opacity: 0;
  transform: translateX(-36px);
}

.stand-slide .booth-side .booth-label img {
  display: block;
  max-width: 1200px;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.9) translateY(12px) rotate(-3deg);
}

.slide.active .stand-slide .text-section h1,
.slide.active .stand-slide .text-section h2 {
  animation: standTextIn 700ms cubic-bezier(.22, .9, .26, 1) both;
  animation-delay: 0.22s;
}

.slide.active .stand-slide .booth-side .booth-label img {
  animation: standImagePop 900ms cubic-bezier(.22, .9, .26, 1) both;
  animation-delay: 0.52s;
}


/* Ajustes móviles: reducir tamaño de imagen y texto para pantallas pequeñas */
@media (max-width: 768px) {

  .stand-slide .text-section h1,
  .stand-slide .text-section h2 {
    font-size: 2rem;
  }

  .stand-slide .booth-side .booth-label img {
    max-width: min(90vw, 620px);
    margin: 18px auto 0;
  }

  .system-slide .cylinders-section {
    gap: 10px;
  }

  .system-slide .text-section p {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 17px;
    display: inline-block;
  }

}

/* Animaciones para Slide 4: Pioneros (Banner Coche) */
@keyframes carTextReveal {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }

  80% {
    transform: translateX(10px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes carImageFloat {
  0% {
    transform: translateY(18px) scale(0.95) rotate(-1deg);
    opacity: 0;
  }

  60% {
    transform: translateY(-4px) scale(1.01) rotate(0.5deg);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1) rotate(0);
    opacity: 1;
  }
}

.car-slide .text-section h2,
.car-slide .text-section h1 {
  opacity: 0;
  transform: translateX(-60px);
}

.car-slide .image-side img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.95) rotate(-1deg);
}

.slide.active .car-slide .text-section h2,
.slide.active .car-slide .text-section h1 {
  animation: carTextReveal 700ms cubic-bezier(.22, .9, .26, 1) both;
}

.slide.active .car-slide .text-section h2 {
  animation-delay: 0.24s;
}

.slide.active .car-slide .text-section h1 {
  animation-delay: 0.4s;
}

.slide.active .car-slide .image-side img {
  animation: carImageFloat 1000ms cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: 0.7s;
}

.hero_area .carousel-banner-img,
.hero_area .slider_section .carousel-item img,
.hero_area .hero-video {
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  z-index: 100001;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.whatsapp-icon {
  font-size: 1.5rem;
  font-weight: 700;
}

.whatsapp-text {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 24px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  visibility: visible;
}


/* Evitar que reglas generales de .hero_area (position:absolute) afecten al video del carousel
   - los videos dentro de .slider_section deben estar en el flujo para mantener la altura del slide */
.slider_section .carousel-item video,
.slider_section .carousel-item .hero-video {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  inset: auto !important;
  z-index: 0 !important;
  height: 100% !important;
}

.slider_section #carouselExampleIndicators {
  position: unset;
}

.slider_section .carousel-item {
  min-height: calc(100vh - 20px);
}

/* Evita una franja fina debajo de las imágenes del carrusel (espacio por línea/inline images)
   No forzar display:block en .carousel-item porque Bootstrap controla su visibilidad. */
.slider_section .carousel-item img,
.slider_section .carousel-banner-img {
  overflow: hidden;
  display: block;
  line-height: 0;
}

.slider_section .carousel-banner-img {
  object-fit: cover;
  width: 100%;
  height: calc(100vh - 20px);
}

.slider_section .carousel_btn-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

.slider_section .carousel_btn-container .carousel-control-prev,
.slider_section .carousel_btn-container .carousel-control-next {
  position: absolute;
  top: 50%;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  opacity: 1;
  background: none !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  pointer-events: auto;
  padding: 10px;
  z-index: 1001;
  color: #ffffff;
}

.slider_section .carousel_btn-container .carousel-control-prev {
  left: 14px;
}

.slider_section .carousel_btn-container .carousel-control-next {
  right: 14px;
}

.slider_section .carousel_btn-container .carousel-control-prev:hover,
.slider_section .carousel_btn-container .carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.slider_section .carousel_btn-container .carousel-control-prev,
.slider_section .carousel_btn-container .carousel-control-next {
  background-image: none !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none !important;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 113, 100, 0.2);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: #1f7164;
}

.slider-arrow.arrow-left {
  left: 20px;
}

.slider-arrow.arrow-right {
  right: 20px;
}

.slider-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.slider-arrow:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 113, 100, 0.25);
}

.slider_section ol.carousel-indicators {
  margin: 0;
  width: 75px;
  bottom: 10%;
  left: 47.5%;
}

.slider_section ol.carousel-indicators li {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  text-indent: 0px;
  text-align: center;
  line-height: 55px;
  color: #f9fcfb;
  background-color: #3eb843;
  opacity: 1;
  display: none;
}

.slider_section ol.carousel-indicators li.active {
  display: block;
}

.slider_detail-box h1 {
  font-weight: bold;
  margin-bottom: 25px;
  font-size: 3.2rem;
  line-height: 1.05;
  max-width: 720px;
  width: 100%;
}

.slider_detail-box .btn-box a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #82b8b2;
  color: #f9fcfb;
  border-radius: 25px;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  margin: 35px 0 50px 0;
}

.slider_detail-box .btn-box a:hover {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}

.slider_img-box {
  width: 75%;
  margin: 0 auto;
}

.slider_img-box img {
  width: 100%;
}

.welcome_section {
  padding: 60px 0;
}

.welcome_section .custom_heading-container {
  text-align: left;
  justify-content: flex-start;
}

/* Contenedor principal que junta ambos bloques */
.contact-block-container {
  display: flex;
  align-items: center;
  gap: 30px;
  /* Espacio entre el botón y el teléfono */
  font-family: sans-serif;
  /* Usa la misma fuente de tu web */
  margin-top: 60px;
  /* Margen superior opcional */
}

/* --- ESTILOS DEL BOTÓN WHATSAPP --- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #1ece2d;
  /* Azul exacto de tu captura */
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 35px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.separador {
  text-align: center;
  background-image: url(../images/separador.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 50px;
  height: 200px;
  margin-bottom: 0px;
  padding-bottom: 0px;

  h2 {
    font-weight: bold;
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
    color: #ffff;
    padding-top: 50px;
    /* Ajusta según sea necesario */
  }
}

.btn-whatsapp:hover {
  background-color: #156dae;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  z-index: 11000;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.22);
}

.whatsapp-float .fab {
  font-size: 22px;
}

/* --- ESTILOS DEL TELÉFONO (LADO DERECHO) --- */
.phone-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Espacio entre el icono del teléfono y el texto */
  padding-left: 30px;
  border-left: 1px solid #e0e0e0;
  /* La línea gris divisoria */
}

/* Icono SVG del teléfono */
.phone-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: block;
}

/* Contenedor de los textos del teléfono */
.phone-text {
  display: flex;
  flex-direction: column;
  /* Pone un texto encima del otro */
}

/* Texto pequeño "COMUNÍCATE CON NOSOTROS" */
.phone-label {
  font-size: 11px;
  color: #777777;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Número de teléfono */
.phone-number {
  font-size: 18px;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  margin-top: 2px;
}

.phone-number:hover {
  color: #1ece2d;
  /* Opcional: cambia a azul al pasar el cursor */
}

.welcome_section .custom_heading-container h2 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}

.welcome_section .heading-underline {
  width: 60px;
  height: 6px;
  background: #2d75a7;
  border-radius: 4px;
  margin-bottom: 20px;
}

.welcome_section h3 {
  font-size: 18px;
  color: #6b6b6b;
  margin-bottom: 20px;
  text-align: left;
}

.welcome_section .detail-box p {
  color: #6b6b6b;
  line-height: 1.8;
  font-size: 16px;
}

.welcome_section .detail-box .btn {
  margin-top: 20px;
}

.welcome_section .img-box {
  text-align: right;
  overflow: hidden;
  margin-bottom: -50px;
}

.welcome_section .img-box img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: inline-block;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(20, 30, 50, 0.12);
}

/* --- CONTENEDOR GENERAL Y ENCABEZADO --- */
.seccion-categorias {
  margin: 50px auto;
  background-color: #f9f9f9;
  padding: 0 10px;
  font-family: 'Arial', sans-serif;
  text-align: center;
  padding-bottom: 2px;
}

.categorias-header h2 {
  padding-top: 50px;
  font-size: 32px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.categorias-header .linea-divisoria {
  width: 43rem;
  height: 4px;
  background-color: #1ece2d;
  /* El azul de tu tienda */
  margin: 0 auto 20px auto;
}

.categorias-header p {
  font-size: 16px;
  color: #718096;
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* --- GRID DE LAS TARJETAS (3 Columnas) --- */
.grid-categorias {
  margin-bottom: 80px;
  margin-right: 200px;
  margin-left: 200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 3 columnas de igual tamaño */
  gap: 35px;
  /* Espaciado entre tarjetas */
}

.diferenciadores {
  margin-top: 60px !important;
  font-family: 'Arial', sans-serif;
}

/* Selector renombrado */
.wrapper-diferenciadores {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.item-diferencial {
  flex: 1;
  padding: 15px;
}

.item-diferencial img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.item-diferencial h3 {
  color: #006644;
  margin-bottom: 10px;
}

.item-diferencial p {
  color: #555;
  line-height: 1.5;
}

/* ==========================================
   VERSIÓN RESPONSIVA (MÓVILES Y TABLETS)
   ========================================== */
@media (max-width: 768px) {
  .wrapper-diferenciadores {
    flex-direction: column;
    /* Cambia la fila a una columna vertical */
    gap: 15px;
    /* Reduce un poco el espacio entre elementos */
  }

  .item-diferencial {
    width: 100%;
    /* Ocupa todo el ancho disponible */
    margin-top: 0px;
    padding: 30px;
    /* Ajusta el padding para pantallas pequeñas */
  }

  .diferenciadores h2 {
    display: flex;
    justify-content: center;
    margin-left: 70px;
  }
}

/* Contenedor principal de la sección */
.seccion-sistema {
  padding-top: 0;
  background-color: #fafafa;
  margin-top: -40px;
}

/* Grid flexbox para las columnas */
.sistema-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.sistema-columna {
  flex: 1;
  padding: 15px;
  min-width: 300px;
}

.sistema-columna.sistema-texto {
  padding-left: 25px;
}

.sistema-imagenes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.sistema-imagen {
  flex: 1 1 280px;
  max-width: 500px;
  width: 100%;
}

.sistema-imagen img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 0;
  display: block;
}

.image-figure {
  flex: 1 1 280px;
  max-width: 500px;
  width: 100%;
  margin: 0;
}

.image-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

/* Limitar tamaño en pantallas de escritorio y centrar la imagen */
@media (min-width: 992px) {
  .sistema-imagenes {
    gap: 24px;
    align-items: flex-start;
  }

  .sistema-imagen {
    flex: 1 1 calc(50% - 12px);
    min-width: 0;
  }

  .seccion-sistema .sistema-imagen img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    display: block;
  }
}

/* Estilos para el bloque de texto */
.sistema-texto {
  text-align: left;
  padding-left: 10px;
}

.timeline-swiper-outer .sistema-texto {
  padding-left: 0;
}

.sistema-texto h2 {
  color: #006644;
  font-size: 28px;
  margin-bottom: 5px;
  margin-left: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sistema-icon {
  width: 26px;
  height: 26px;
  color: #006644;
  flex-shrink: 0;
}

.sistema-icon--small {
  width: 22px;
  height: 22px;
}

.sistema-texto .divisor-verde {
  width: 155px;
  height: 4px;
  background-color: #23c823;
  margin: 0 0 20px 0;
  margin-bottom: 40px;
}

.sistema-texto .divisor-verde2 {
  width: 405px;
  height: 4px;
  background-color: #23c823;
  margin: 0 0 20px 0;
}

.sistema-texto h4 {
  color: #666666;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.sistema-texto p {
  color: #555555;
  line-height: 1.6;
  font-size: 15px;
  text-align: justify;
}

/* ==========================================
           VERSIÓN RESPONSIVA (MÓVILES Y TABLETS)
           ========================================== */
@media (max-width: 768px) {
  .sistema-grid {
    flex-direction: column;
    gap: 20px;
  }

  .sistema-columna {
    width: 100%;
    padding: 40px;
    min-width: unset;
  }

  .sistema-texto h2 {
    font-size: 20px;
  }

  .sistema-texto p {
    text-align: left;
  }

  .sistema-texto .divisor-verde {
    width: 120px;
    height: 4px;
    background-color: #23c823;
    margin: 0 0 20px 0;
  }

  .sistema-texto .divisor-verde2 {
    width: 300px;
    height: 4px;
    background-color: #23c823;
    margin: 0 0 20px 0;
  }
}


/* Contenedor principal de la sección */
.seccion-ancelave {
  margin: 20px auto;
  padding: 30px;
}

/* Contenedor principal ajustado */
.seccion-ancelave2 {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 0 40px 0;
  /* Eliminamos el padding izquierdo (último valor) */
}

/* La imagen se pega al borde izquierdo */
.seccion-ancelave2 img {
  margin-left: 0;
  display: block;
  /* Evita espacios fantasma debajo de la imagen */
}

/* Título Principal */
.seccion-ancelave h2.titulo-principal {
  color: #006614;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

/* Línea verde decorativa debajo del título */
.seccion-ancelave .divisor-verde {
  width: 145px;
  height: 4px;
  background-color: #17cb0d;
  margin-bottom: 30px;
}

/* Estructura de dos columnas */
.ancelave-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Columna de Texto */
.ancelave-texto {
  flex: 1.2;
  min-width: 300px;
}

.ancelave-texto p {
  color: #555555;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Estilo del Botón y Enlace inferior */
.contenedor-boton {
  margin-top: 30px;
  margin-bottom: 15px;
}

.boton-dossier {
  display: flex;
  align-items: center;
  margin-top: -20px;
  margin-bottom: 30px;
  justify-content: center;
}

.btn-descargadossier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #17cb0d;
  color: #ffffff;
  padding: 20px 28px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  margin-top: 30px;
}

.btn-descargadossier:hover {
  background-color: #1b6216;
  color: #ffffff;
  text-decoration: none;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  color: #ffffff;
}

.btn-descargadossier span {
  display: inline-block;
}

.btn-descargadossier svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.btn-ancelave {
  display: inline-block;
  background-color: #2b59a2;
  /* Azul corporativo ancelave */
  color: #ffffff;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}

.btn-ancelave:hover {
  background-color: #1f427a;
}

.enlaceweb2 {
  color: #006644;
  text-decoration: none;
  font-size: 15px;
  margin-left: 12rem;
}

.enlace-web {
  color: #006644;
  text-decoration: none;
  font-size: 23px;
}

.enlace-web:hover {
  text-decoration: underline;
}

/* Columna Gráfica / Imágenes (Derecha) */
.ancelave-graficos {
  flex: 0.8;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ancelave-graficos img {
  width: 100%;
  height: auto;
  display: block;
}

.img-logo-texto2 {
  max-width: 400px;
  margin-bottom: 30px;
}

.img-logo-texto {
  max-width: 400px;
}

.img-folleto {
  max-width: 250px;
  align-self: flex-end;
}

/* ==========================================
           VERSIÓN RESPONSIVA (MÓVILES Y TABLETS)
           ========================================== */
@media (max-width: 768px) {
  .ancelave-grid {
    flex-direction: column;
    gap: 30px;
  }

  .ancelave-texto,
  .ancelave-graficos {
    width: 100%;
    min-width: unset;
  }

  .ancelave-texto p {
    text-align: left;
    /* Alineado a la izquierda para mejor lectura en móvil */
  }

  .ancelave-graficos {
    align-items: center;
  }

  .img-logo-texto2 {
    max-width: 310px;
    margin-bottom: 30px;
  }

  .img-folleto {
    align-self: center;
    max-width: 100px;
    max-height: 200px;
    /* Centra el folleto en pantallas pequeñas */
  }

  .seccion-ancelave .divisor-verde {
    width: 130px;
    height: 4px;
    background-color: #17cb0d;
    margin-bottom: 30px;
  }

  .seccion-ancelave h2.titulo-principal {
    font-size: 24px;
  }
  .franquicia-texto .divisor-verde {
    width: 320px !important;
  }
}

/* Sección de Aviso Importante con fondo verde corporativo fuerte */
.seccion-aviso {
  background: linear-gradient(135deg, #084c2a 0%, #0e7a3d 45%, #1d9b59 100%);
  color: #ffffff;
  text-align: center;
  padding: 62px 32px;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.seccion-aviso::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  width: 180%;
  height: 180%;
  transform: translateX(-50%) rotate(20deg);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.seccion-aviso h2 {
  position: relative;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px;
  border-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 0, 0, 0.913);
}

.seccion-aviso h2::before {
  content: '⚠️';
  font-size: 1.1em;
}

.seccion-aviso p {
  font-size: 1.05rem;
  margin: 0 auto 30px auto;
  letter-spacing: 0.5px;
  text-align: center;
  max-width: 760px;
  line-height: 1.75;
}


/* Contenedor responsivo para el vídeo (Aspect Ratio 16:9) */
.video-contenedor {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

/* El elemento de video en sí */
.video-contenedor video,
.video-contenedor iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Encabezado fijo sobre el vídeo que ocupa el mismo ancho */
.video-contenedor {
  position: relative;
}

.video-contenedor .video-header {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  color: #ffffff;
  font-weight: 300;
  padding: 8px 0px;
  font-size: 2.30rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ==========================================
           VERSIÓN RESPONSIVA (MÓVILES Y TABLETS)
           ========================================== */
@media (max-width: 768px) {
  .seccion-aviso {
    padding: 30px 15px;
  }

  .seccion-aviso h2 {
    font-size: 22px;
  }

  .video-contenedor .video-header {
    font-size: 1.75rem;
  }

  .seccion-aviso p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* Contenedor principal de la sección */
.seccion-certificacion {
  margin: 40px;
  text-align: center;
}

/* 1. Caja de texto superior con borde */
.caja-aviso {
  border: 1px solid #333333;
  padding: 20px 30px;
  margin-bottom: 50px;
  font-size: 16px;
  color: #ffffff;
  background-color: #064aa3;
}

/* 1. Caja de texto superior con borde */
.caja-aviso p {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 2. Bloque de la placa de certificación */
.contenedor-placa {
  margin-bottom: 50px;
}

.contenedor-placa img {
  width: 100%;
  max-width: 380px;
  /* Tamaño aproximado de la placa en pantallas grandes */
  height: auto;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Sutil sombra para realzar el efecto metálico */
  border-radius: 4px;
}

.leyenda-placa {
  font-size: 13px;
  color: #666666;
  font-style: italic;
}

/* 3. Bloque inferior de llamada a la acción (CTA) */
.seccion-contacto-cta {
  margin-top: 40px;
}

.seccion-contacto-cta h3 {
  font-size: 20px;
  color: #222222;
  margin-bottom: 12px;
}

.seccion-contacto-cta p {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  max-width: 750px;
  margin: 0 auto 25px auto;
}

/* Estilo del botón de Contacto */
.btn-contacto {
  display: inline-block;
  border: 1px solid #333333;
  color: #ffffff;
  background-color: #14c717;
  padding: 12px 35px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.btn-contacto:hover {
  background-color: #333333;
  color: #ffffff;
}

/* ==========================================
           VERSIÓN RESPONSIVA (MÓVILES Y TABLETS)
           ========================================== */
@media (max-width: 768px) {
  .caja-aviso {
    padding: 15px 20px;
    font-size: 15px;
    margin-bottom: 35px;
  }

  .seccion-contacto-cta h3 {
    font-size: 18px;
  }

  .seccion-contacto-cta p {
    font-size: 14px;
    text-align: left;
    /* En móviles suele leerse mejor justificado a la izquierda */
    padding: 0 10px;
  }

  .contenedor-placa img {
    max-width: 100%;
    /* La placa se adapta al ancho de los móviles pequeños */
  }
}

/* --- TARJETA INDIVIDUAL --- */
.tarjeta-categoria {
  position: relative;
  display: block;
  height: 200px;
  /* Altura de cada celda */
  border-radius: 4px;
  overflow: hidden;
  /* Corta lo que se salga al hacer zoom */
  text-decoration: none;
}

.tarjeta-categoria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Se adapta sin deformarse */
  transition: transform 0.4s ease;
  /* Efecto suave de zoom */
}

/* Capa oscura interna para legibilidad del texto */
.overlay-categoria {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  /* Capa oscura */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
}

.tarjeta-categoria2 p {
  /* 1. Definimos la fuente (perfecto) */
  font-size: 16px;
  color: #000000;
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
  /* Limpia márgenes por defecto para controlar mejor el diseño */
}

/* Controla el tamaño del nuevo SVG de Font Awesome */
.tarjeta-categoria2 svg {
  width: 40px;
  /* Ajusta este número si lo quieres un poco más grande o pequeño */
  height: 40px;
  /* Mantén el mismo valor que el width para que sea simétrico */
  fill: #62b132;
  /* Aplica tu verde corporativo al icono */
  margin-bottom: 20px;
  /* Separa el icono del texto inferior */
  display: block;
  /* Evita desajustes visuales de línea */
}

.tarjeta-categoria2 {
  /* 2. Propiedades de TARJETA */
  background-color: #ffffff;
  padding: 30px;
  border-radius: 3px;
  /*border: 3px solid rgba(87, 250, 5, 0.19);*/
  /* Te subí a 12px para que haga juego con el diseño moderno de la foto */
  box-shadow: 0px 0px 30px rgba(21, 250, 5, 0.291);

  /* 3. El truco para centrar el SVG y alinear el texto */
  display: flex;
  flex-direction: column;
  /* Apila los elementos verticalmente (SVG arriba, texto abajo) */
  align-items: center;
  /* Centra horizontalmente los elementos directos (como el SVG) */

  /* 4. Centrado de la tarjeta en la página */
  margin: 0 auto;
}


/* 5. Aseguramos que el texto se mantenga alineado a la izquierda dentro de la tarjeta */
.tarjeta-categoria2 p {
  text-align: left;
  width: 100%;
  /* Ocupa todo el ancho disponible tras el padding */
}

.btn-container882 {
  display: flex;
  align-items: center;
  /* Alinea verticalmente al centro */
  justify-content: space-between;
  /* Centra horizontalmente en la tarjeta */
  margin-top: 20px;
  /* Espacio superior entre el texto y el botón */
  width: 100%;
  /* Asegura que el contenedor ocupe todo el ancho disponible */
  padding: 0 10px;
  /* Distancia entre botón e imagen */
}

.iconos882 {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Espacio entre los dos iconos */
}

.btn-container882 .btn-tarjeta {
  display: inline-block;
  width: auto;
  margin: 0;
  /* Cancela el margen que empuja la imagen abajo */
}

.btn-container882 img {
  display: block;
  margin: 0;
}

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

.btn-tarjeta-categoria2 {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 18px;
  background-color: #62b132;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.btn-tarjeta-categoria2:hover {
  background-color: #4f9326;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 992px) {
  .btn-tarjeta-categoria2 {
    display: none;
  }
}

/* 6. Espaciado del SVG */
.tarjeta-categoria2 svg {
  margin-bottom: 20px;
  /* Separa el icono del texto de abajo */
  display: block;
  /* Evita espacios fantasmas inferiores */
}

.tarjeta-categoria,
.tarjeta-categoria:hover,
.tarjeta-categoria:focus,
.tarjeta-categoria:visited {
  text-decoration: none;
}

.overlay-categoria h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
}

/* --- EFECTO HOVER (Animación al pasar el mouse) --- */
.tarjeta-categoria:hover img {
  transform: scale(1.06);
  /* Zoom sutil de la imagen */
}

@media (min-width: 993px) {
  .tarjeta-categoria {
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
  }

  .tarjeta-categoria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
  }

  .tarjeta-categoria .overlay-categoria {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(97, 177, 50, 0.95), rgba(31, 113, 100, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .tarjeta-categoria .overlay-categoria h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .tarjeta-categoria .btn-tarjeta {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: inline-block;
    margin: 0;
  }
}

/* 4. El BOTÓN que vas a agregar en tu HTML (Oculto por defecto) */
.tarjeta-categoria .btn-tarjeta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Mismo centrado perfecto que el texto */
  z-index: 2;

  /* Estilos del botón (Cámbialos a tu gusto) */
  background-color: #62b132;
  /* Tu verde corporativo */
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 2px;
  text-transform: uppercase;
  cursor: pointer;

  /* Control de visibilidad inicial (Oculto) */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

/* Cambia el color del botón cuando el mouse se posa exactamente encima de él */
.tarjeta-categoria .btn-tarjeta:hover {
  background-color: #4f9326;
}


/* ===================================================
   LA MAGIA DEL HOVER (INTERCAMBIO)
   =================================================== */

/* El título permanece visible y el hover solo afecta al zoom de la imagen */

/* --- DISEÑO RESPONSIVO (Móviles y Tablets) --- */
@media (max-width: 992px) {
  .grid-categorias {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas en tablets */
  }

  .categorias-header .linea-divisoria {
    width: 20rem;
  }
}

@media (max-width: 576px) {
  .grid-categorias {
    grid-template-columns: 1fr;
    /* 1 sola columna en pantallas móviles */
  }

  .tarjeta-categoria {
    height: 160px;
    /* Un poco más bajas en móvil */
  }

  .overlay-categoria h3 {
    font-size: 18px;
  }
}


/* --- FIN DE LA SECCIÓN DE CATEGORÍAS --- */

/* Ajustes rápidos para la sección de videos: limitar ancho y mantener proporción */
/* Contenedor principal de la sección */
.videos-section {
  padding: 60px 20px;
  max-width: 1600px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
}

/* Contenedor Flex para alinear las dos columnas */
.videos-container {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Cada columna (Título + Video) */
.video-card {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Estilos de los Títulos */
.video-title {
  color: #000000;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
}

/* Línea decorativa debajo del título */
.video-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 307px;
  height: 3px;
  background-color: rgb(30, 206, 45);
  ;
}

/* Estilos de los Títulos */
.video-title2 {
  color: #000000;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
}

/* Línea decorativa debajo del título */
.video-title2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 255px;
  height: 3px;
  background-color: rgb(30, 206, 45);
  ;
}

/* Contenedor del video para control de proporciones y bordes */
.video-wrapper {
  width: 100%;
  max-width: 640px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

/* El elemento de video en sí */
.video-wrapper video,
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ajustes Responsivos para tablets y móviles */
@media (max-width: 991px) {
  .videos-section {
    padding: 40px 16px;
  }

  .videos-container {
    gap: 28px;
  }

  .video-card {
    flex-basis: 100%;
  }
}

@media (max-width: 576px) {
  .videos-section {
    padding: 32px 12px;
  }

  .videos-container {
    gap: 24px;
  }

  .video-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .video-title::after {
    width: 80px;
    height: 2px;
  }

  .video-wrapper {
    margin-top: 12px;
    border-radius: 6px;
  }

  /* Línea decorativa debajo del título */
  .video-title2::after {
    width: 190px;
  }

  /* Línea decorativa debajo del título */
  .video-title::after {
    width: 230px;
  }
}


/* SECCION BANNER1 */
/* Contenedor principal del banner */
.cta-banner {
  position: relative;
  width: 100%;
  margin-top: 0px;
  min-height: 400px;
  /* Altura regulable según prefieras */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Imagen de fondo */
  background-image: url('../images/separador.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-align: center;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  overflow: hidden;
}

/* Capa verde translúcida para dar el tono exacto y mejorar el contraste del texto */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Degradado verde con opacidad (puedes ajustar el nivel de transparencia cambiando el 0.85) */
  background: linear-gradient(135deg, rgba(57, 181, 74, 0.88), rgba(0, 148, 68, 0.10));
  z-index: 1;
}

/* Contenedor del texto (apilado por encima de la capa verde) */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #ffffff;
}

/* Título principal */
.cta-title {
  font-size: 36px;
  font-weight: 400;
  /* Estilo ligero/regular como el de la imagen */
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Subtítulo */
.cta-subtitle {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
  padding-left: 30px;
}

/* Botón "Más información" */
.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #39b54a;
  /* Verde corporativo para el texto del botón */
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 45px;
  border-radius: 2px;
  /* Esquinas apenas redondeadas */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Efecto al pasar el cursor por encima del botón */
.cta-button:hover {
  background-color: #f4f4f4;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Adaptación para pantallas móviles */
@media (max-width: 768px) {
  .cta-banner {
    min-height: 300px;
  }

  .cta-title {
    font-size: 26px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  .cta-button {
    font-size: 18px;
    padding: 10px 35px;
  }
}

/* Process section */
.process-section {
  margin-top: 0px;
  position: relative;
  width: 100%;
  padding: 20px 20px;
  background-color: #ffffff;
  /* Color verde oscuro base */

  /* Agregamos la misma imagen texturizada de fondo de forma sutil */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  font-family: 'Arial', sans-serif;
  overflow: hidden;
}

/* Capa oscura superpuesta para dar el tono verde profundo corporativo */
.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Tono verde bosque oscuro con opacidad alta */
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
}

/* Contenedor interno alineado */
.process-content {
  position: relative;
  z-index: 2;
  /* Por encima de la capa verde */
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #000000;
}

/* Títulos de secciones */
.process-section .process-title,
.testimonios .process-title {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  margin: 0 0 20px 0;
  line-height: 1.2;
  font-family: 'Arial', sans-serif;
  display: block;
}

.testimonios .linea-divisoria {
  width: 900px !important;
  height: 4px;
  background-color: #23c823;
}

.process-content .linea-divisoria {
  width: 720px;
  height: 4px;
  background-color: #23c823;
  margin: 0px auto 40px auto;

}

/* Subtítulo */
.process-subtitle {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Contenedor del reproductor de video */
.process-video-container {
  width: 100%;
  max-width: 700px;
  /* Controla el ancho máximo del video en pantallas grandes */
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  /* Sombra pronunciada para destacar el video */
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* Mantiene la proporción del reproductor */
}

/* Estilos para el elemento de video o iframe */
.process-video-container video,
.process-video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ajustes para pantallas móviles */
@media (max-width: 768px) {
  .process-section {
    padding: 50px 15px;
  }

  .process-title {
    font-size: 24px;
  }

  .process-subtitle {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .process-content .linea-divisoria {
    width: 300px;
    height: 4px;
    background-color: #23c823;
  }

  .testimonios .linea-divisoria {
    width: 350px !important;
    height: 4px;
    background-color: #23c823;
  }
}

/* ===================================================
   SECCIÓN DE FRANQUICIA MASTER
   =================================================== */

/* 1. El contenedor del Banner Principal */
.franquicia-master {
  position: relative;
  min-height: 500px;
  margin-top: -90px;
  /* Altura ideal para que el mapa luzca bien */
  width: 100%;

  /* Carga aquí la imagen del mapa limpio que guardaste */
  background-image: url('../images/franquiciamaster.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Flexbox para empujar el contenido hacia la derecha */
  display: flex;
  justify-content: flex-end;
  /* Alinea el contenido a la derecha */
  align-items: center;
  /* Centra el contenido verticalmente */
  overflow: hidden;
}

/* 2. El OVERLAY (Capa oscura sobre la imagen) */
.franquicia-master::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente: más claro a la izquierda (deja ver el mapa) y más oscuro a la derecha (para leer el texto) */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 20%, rgba(10, 35, 15, 0.85) 80%);
  z-index: 1;
}

/* 3. El Bloque de Contenido (Texto y Botón) */
.franquicia-master-content {
  position: relative;
  z-index: 2;
  /* Se posiciona por encima del overlay */
  width: 100%;
  max-width: 550px;
  /* Evita que las líneas de texto sean demasiado anchas */
  padding: 40px;
  margin-right: 3%;
  /* Margen de separación respecto al borde derecho de la pantalla */
  color: #ffffff;
  text-align: right;
  /* Alineación del texto a la derecha como la referencia */
}

/* 4. Estilos de los textos internos */
.franquicia-master-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: uppercase;
}

.franquicia-master-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  /* Blanco suavizado para una lectura elegante */
  margin-bottom: 30px;
}

.franquicia-master img {
  display: none;
}

.btn-franquicia {
  display: block;
  /* Cambia de inline-block a block para que acepte márgenes automáticos */
  width: fit-content;
  /* O un ancho fijo (ej. 250px) para que no ocupe todo el ancho */
  margin: 30px auto 0 auto;
  /* Arriba 20px, Derecha AUTO, Abajo 0, Izquierda AUTO */

  /* ... el resto de tus estilos ... */
  background-color: #1ece2d;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Efecto hover del botón */
.btn-franquicia:hover {
  background-color: #4f9326;
  /* Un tono verde más oscuro */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* 6. Adaptabilidad para Móviles (Responsive) */
@media (max-width: 768px) {
  .franquicia-master {
    justify-content: center;
    /* En móviles el texto se centra */
    min-height: 450px;
  }

  /* El overlay en móvil se vuelve oscuro completo para mantener legibilidad */
  .franquicia-master::before {
    background: rgba(10, 35, 15, 0.85);
  }

  .franquicia-master-content {
    margin-right: 0;
    text-align: center;
    padding: 20px;
  }

  .franquicia-master-content h2 {
    font-size: 2rem;
  }

  .franquicia-master img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* SERVICE SECTION */
.service_section {
  text-align: center;
  color: #000;
  background-size: 100% 100%;
  padding-top: 50px;
  padding-bottom: 125px;
  background-repeat: no-repeat;

}

.service_section .custom_heading-container h2 {
  border-color: #f9fcfb;
}

.linea-divisoria442 {
  width: 34rem;
  height: 4px;
  background-color: #1ece2d;
  /* El azul de tu tienda */
  margin: 0 auto 20px auto;
}

.linea-divisoria {
  width: 37rem;
  height: 4px;
  background-color: #1ece2d;
  /* El azul de tu tienda */
  margin: 0 auto 20px auto;
}


.linea-divisoriap {
  font-size: 16px;
  color: #718096;
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.service_section .service_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.service_section .service_container .service_box {
  width: 30%;
  min-width: 300px;
  margin: 35px 15px;
}

.service_section .service_container .service_box .img-box {
  border-radius: 3px;
  overflow: hidden;
}

.service_section .service_container .service_box .img-box img {
  width: 100%;
}

.service_section .service_container .service_box .detail-box {
  margin-top: 30px;
}

.service_section .service_container .service_box .detail-box h4 {
  font-weight: bold;
}

.service_section a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #82b8b2;
  color: #f9fcfb;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
}

.service_section a:hover {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}

.sub_page .service_section {
  margin-top: 00px;
  margin-bottom: 150px;
}

.problem_section {
  text-align: center;
}

.problem_section .img-box {
  width: 65%;
  margin: 0 auto;
}

.problem_section .img-box img {
  width: 100%;
}

.problem_section .detail-box {
  margin-top: 45px;
}

.problem_section .detail-box a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #82b8b2;
  color: #f9fcfb;
  border-radius: 25px;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  margin-top: 45px;
}

.problem_section .detail-box a:hover {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}

.why_section {
  color: #f9fcfb;
  background: -webkit-gradient(linear, left top, right top, from(#1f7164), to(#25a28e));
  background: linear-gradient(to right, #1f7164, #25a28e);
}

.why_section .custom_heading-container h2 {
  border-color: #f9fcfb;
}

.why_section p {
  text-align: center;
  margin: 40px 0 55px 0;
}

.why_section .row .col-md-3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.why_section .row .col-md-3 .img-box {
  width: 45px;
  margin-right: 15px;
}

.why_section .row .col-md-3 .img-box img {
  width: 100%;
}

.testimonios {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.contenedor-tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* Espacia las tarjetas equitativamente */
  gap: 20px;
  /* Separación entre tarjetas */
  padding: 20px;
  margin: 40px;
  margin-bottom: 0px;
}

.tarjeta {
  background-color: #1e5631;
  /* Verde oscuro del diseño */
  color: white;
  padding: 20px;
  flex: 0 1 calc(33.333% - 13.333px);
  max-width: calc(33.333% - 13.333px);
  /* Hace que todas tengan el mismo ancho y se ajusten en dos filas */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tarjeta .autor {
  width: 100%;
  text-align: left;
  margin-top: 15px;
}

.tarjeta img {
  width: 100px;
  /* Ajusta según sea necesario */
  height: 100px;
  border-radius: 50%;
  /* Para que la imagen sea circular */
  object-fit: cover;
  margin-bottom: 15px;
}

.icono-comillas {
  font-size: 2rem;
  color: #88c83a;
  /* Verde claro del icono */
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .contenedor-tarjetas {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 12px;
  }

  .tarjeta {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .testimonios {
    padding: 10px 16px;
  }

  .tarjeta {
    padding: 18px;
  }

  .tarjeta img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
  }

  .icono-comillas {
    font-size: 1.8rem;
  }
}

.contact_section .contact_heading {
  text-align: center;
  margin-top: -20px;
  margin-bottom: 30px;
}

.contact_section .contact_heading h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  margin: -40px 0 12px 0;
  line-height: 1.2;
  font-family: 'Arial', sans-serif;
}

.contact_section .contact_heading .linea-divisoria {
  width: 630px;
  height: 4px;
  background-color: #23c823;
  margin: 0px auto 40px auto;
}

.contact_section .contact_heading p {
  margin-top: 40px;
}

.contact_section form .form-control {
  border: none;
  background-color: #ebf9ebe0;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
  height: 50px;
}

.contact_section form .form-control#inputMessage {
  height: 120px;
  padding-bottom: 30px;
}

.contact_section form .phone-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.contact_section form .phone-code-select {
  flex: 0 0 110px;
  max-width: 130px;
  background-image: none;
}

.contact_section form .phone-input-group .form-control {
  flex: 1;
  min-width: 0;
}

.contact_section .message-group {
  position: relative;
}

.contact_section .message-counter {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 0.8rem;
  color: #6c757d;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
}

.contact_section form select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  background-image: url(../images/down-arrow.png);
  background-repeat: no-repeat;
  background-position: 98%;
}

.contact_section button {
  display: inline-block;
  padding: 12px 40px;
  background-color: #3eb843;
  color: #f9fcfb;
  border-radius: 5px;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  text-transform: uppercase;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  margin-top: 35px;
  font-size: 15px;
}

.contact_section button:hover {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}


/* --- Sección Final VisionWash --- */
.final-section {
  background-color: #000000;
  color: #ffffff;
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.final-section-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

/* --- Columna Información --- */
.final-section-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.final-section-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.final-section-icon {
  font-size: 2rem;
  color: #ffffff;
}

.final-section-logo h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  /* Asegura el color blanco */
}

.final-section-logo h2 span {
  font-weight: 400;
}

.final-section-description {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

/* Detalles de contacto */
.final-section-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.final-section-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.final-section-item i {
  font-size: 1.1rem;
  color: #ffffff;
  width: 20px;
  text-align: center;
}

.final-section-item a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.final-section-item a:hover {
  color: #ffffff;
}

/* --- Columna Mapa --- */
.final-section-map {
  flex: 1;
  min-width: 350px;
  height: 320px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* --- Responsividad --- */
@media (max-width: 768px) {
  .final-section-container {
    flex-direction: column;
    gap: 40px;
  }

  .final-section-info,
  .final-section-map {
    max-width: 100%;
    width: 100%;
  }

  .final-section-map {
    height: 250px;
  }


  .contact_section .contact_heading .linea-divisoria {
    width: 300px;
    height: 4px;
    background-color: #23c823;
    margin: 0px auto 40px auto;
  }
}

/* Contenedor Principal del Slider/Banner */
.hero-banner {
  position: relative;
  width: 100%;
  margin-top: -30px;
  height: 800px;
  overflow: hidden;
  background-image: url('../images/banner4greenwash-Recuperado.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.calendar-wrapper {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

.calendar-glow {
  position: absolute;
  inset: 8% 16% auto 16%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.calendar-img {
  max-width: 450px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.18));
}

.history-text-block {
  position: relative;
  z-index: 2;
}

.orla-img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  margin: 14px 0 0;
  border-radius: 12px;
}

.history-subtitle {
  font-size: 1.5rem !important;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  color: #fefefe;
}

.history-title {
  font-size: 3.6rem !important;
  line-height: 0.8;
  margin-bottom: 12px;
}

.history-text {
  font-size: 1.4rem !important;
  margin-top: 10px;
  line-height: 1.0 !important;
  color: #fefefe;
  font-weight: 500;
}

.history-badge {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f79204 0%, #ffb347 100%);
  color: #0d3115;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.calendar-top {
  font-size: 2.5rem;
  font-weight: bold;
}

.calendar-bottom {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #666;
}

/* Líneas dinámicas de fondo (Efecto abstracto) */
.hero-banner::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -10%;
  width: 120%;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(-5deg);
  z-index: 1;
}

.slide.active .history-slide .calendar-wrapper {
  animation: historyCalendarIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.slide.active .history-slide .calendar-glow {
  animation: historyGlowPulse 2.2s ease-in-out infinite;
}

.slide.active .history-slide .calendar-img {
  animation: historyImageFloat 3.6s ease-in-out 0.6s infinite;
}

.slide.active .history-slide .history-subtitle {
  animation: historyTextReveal 0.8s ease-out 0.2s both;
}

.slide.active .history-slide .history-title {
  animation: historyTextReveal 0.9s ease-out 0.35s both;
}

.slide.active .history-slide .history-text {
  animation: historyTextReveal 0.9s ease-out 0.5s both;
}

.slide.active .history-slide .history-badge {
  animation: historyBadgeAppear 0.8s ease-out 0.7s both;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- ZONA IZQUIERDA: MAPA Y PINES --- */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.map-spain {
  width: 90%;
  height: auto;
  max-height: 400px;
  opacity: 0.85;
  filter: drop-shadow(5px 10px 15px rgba(0, 0, 0, 0.3));
  animation: mapEntrance 1.1s ease-out both, mapFloat 5s ease-in-out 1.1s infinite;
  transform-origin: center;
}


/* Pines Ubicadores 
.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #a1ff9b 0%, #3e993b 80%);
  border: 2px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.4);
  animation: pulse 2s infinite;
}*/
/* GW Ubicadores 
.pin {
  position: absolute;
  width: 50px;
  height: 50px;
  background-image: url(../images/logogreenwashfondoverde.png);
  background-size: contain;  Recomendado para que la imagen se ajuste bien 
  background-repeat: no-repeat;
  z-index: 10;  Asegura que los pines queden por encima del mapa 
}
.pin-1 { top: 30%; left: 25%; }
.pin-2 { top: 36%; left: 35%; }
.pin-3 { top: 30%; left: 15%; }
.pin-4 { top: 60%; left: 10%; }
.pin-5 { top: 47%; left: 42%; }
.pin-6 { top: 59%; left: 29%; }
.pin-7 { top: 50%; left: 20%; }
.pin-8 { top: 50%; left: 20%; }*/

@keyframes pulse {
  0% {
    transform: rotate(-45deg) scale(1);
  }

  50% {
    transform: rotate(-45deg) scale(1.15);
  }

  100% {
    transform: rotate(-45deg) scale(1);
  }
}

@keyframes mapEntrance {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
  }

  to {
    opacity: 0.85;
    transform: translateY(0) scale(1);
  }
}

@keyframes mapFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateX(25px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textSlideIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes historyCalendarIn {
  from {
    opacity: 0;
    transform: translateX(-40px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes historyImageFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

@keyframes historyTextReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes historyBadgeAppear {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes historyGlowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes badgeAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* --- ZONA DERECHA: TEXTOS --- */
.content-wrapper {
  color: var(--white);
  padding-left: 20px;
  animation: textReveal 1s ease-out both;
}

.title-top {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 0;
  letter-spacing: 1px;
  animation: textSlideIn 0.8s ease-out 0.2s both;
}

.title-main {
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 5px;
  margin-bottom: 25px;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  animation: textSlideIn 0.9s ease-out 0.35s both;
}

/* Distintivo "+100 centros" */
.badge-franchise {
  display: inline-flex;
  align-items: center;
  background-color: #0d3115;
  padding: 12px 25px;
  border-radius: 8px;
  border-left: 5px solid #f79204;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: badgeAppear 0.9s ease-out 0.55s both;
}

.badge-number {
  font-size: 3rem;
  font-weight: 900;
  color: #f79204;
  line-height: 1;
  margin-right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-number span {
  font-size: 1rem;
  font-weight: bold;
  color: var(--white);
  text-transform: uppercase;
}

.badge-text {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- NUEVA ZONA: SISTEMA DE LAVADO --- */
.system-slide {
  display: flex !important;
  /* Sobrescribimos el grid solo para este slide si es necesario */
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.cylinders-section {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  height: 300px;
}

.cylinder {
  position: relative;
  width: 80px;
  height: 250px;
  background: #e2533d;
  border-radius: 10px 10px 0 0;

  /* Flexbox para alinear los elementos */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  /* Estilos conservados */
  color: white;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding-top: 0;
}

.hidro-text {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 110px;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  word-break: normal;
  overflow: visible;
  padding: 0 2px;
}

.header-flex {
  display: flex;
  align-items: center;
  /* Los alinea verticalmente */
  gap: 60px;
  /* Reduce la distancia entre el signo y el texto (puedes probar con 0px o lo que prefieras) */
  width: fit-content;
  /* Hace que el contenedor mida solo lo que ocupan sus elementos juntos */
}

.hidro-text2 {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 110px;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  text-align: center;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
  word-break: normal;
  overflow: visible;
  padding: 0 2px;
}

.value-text {
  margin-top: auto;
  /* Empuja el número hacia abajo del todo */
  padding-bottom: 15px;
  /* Da un respiro en la base */
  font-size: 18px;
  text-shadow: 2px 2px 0 #000;
  /* Ajuste sutil para balancear con el texto superior */
}

.value-text2 {
  display: flex;
  margin-top: auto;
  /* Empuja el número hacia abajo del todo */
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-shadow: 2px 2px 0 #000;
  /* Ajuste sutil para balancear con el texto superior */
}


.text-section {
  color: white;
  max-width: 400px;
  margin-left: 90px;
}

.text-section h1,
.text-section h2 {
  font-size: 3.0rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.highlight-number {
  font-size: 8rem;
  font-weight: 900;
  color: #f79204;
  line-height: 1;
}

/* Ajuste para que las flechas se mantengan visibles sobre ambos slides */
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

/* Asegura que el contenedor del slider ocupe todo el banner */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Ocultar todos los slides por defecto */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  /* Esto evita que aparezcan todos juntos */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Mostrar solo el activo */
.slide.active {
  display: flex !important;
  /* Fuerza el layout flex */
  opacity: 1;
}

.hero-banner .carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 150px;
  transform: translateX(-135%);
  display: flex;
  gap: 12px;
  z-index: 50;
  align-items: center;
  justify-content: center;
}

.hero-banner .carousel-indicators button {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.649);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  outline: none;
  box-sizing: border-box;
}

.hero-banner .carousel-indicators button.active,
.hero-banner .carousel-indicators button:hover {
  background: #ffffff;
  border-color: rgba(31, 113, 100, 0.95);
  transform: scale(1.2);
}

/* Asegurar que el contenedor hero tenga el ancho correcto dentro del slide */
.slide .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -50px;
}

.booth-side {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.booth-side .stand-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 8px;
  transform: translateX(12px);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.booth-side .stand-image.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.years-badge {
  margin-top: 20px;
  background-color: #0d3115;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  border-left: 5px solid #f79204;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  max-width: 220px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpYears 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUpYears {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.years-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #f79204;
  /* Ajusta este color al de tu marca */
  line-height: 1;
}

.years-text {
  font-size: 0.9rem;
  color: #ffffff;
  text-transform: uppercase;
}

@media (min-width: 993px) {
  .system-slide .cylinders-section {
    height: 360px;
    gap: 24px;
  }

  .system-slide .cylinders-section .cylinder {
    width: 92px;
  }

  .system-slide .cylinders-section .cylinder:nth-child(1) {
    height: 300px !important;
  }

  .system-slide .cylinders-section .cylinder:nth-child(2) {
    height: 250px !important;
  }

  .system-slide .cylinders-section .cylinder:nth-child(3) {
    height: 200px !important;
  }

  .system-slide .cylinders-section .cylinder:nth-child(4) {
    height: 150px !important;
  }
}

@media (max-width: 992px) {

  /* --- 1. Evitamos que el banner se colapse --- */
  .hero-banner {
    height: 700px;
    /* Altura fija para que los slides absolutos no se aplasten */
    min-height: 700px;
    padding: 0;
    position: relative;
  }

  .slider-wrapper {
    height: 100%;
  }

  .header-flex {
    display: flex;
    align-items: center;
    /* Los alinea verticalmente */
    gap: 20px;
    /* Reduce la distancia entre el signo y el texto (puedes probar con 0px o lo que prefieras) */
    width: fit-content;
    /* Hace que el contenedor mida solo lo que ocupan sus elementos juntos */
    margin-bottom: -20px;
  }

  .slide {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .hero-banner .carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-110%);
    display: flex;
    gap: 12px;
    z-index: 50;
    align-items: center;
    justify-content: center;
  }

  /* --- 2. Contenedor de cada diapositiva --- */
  .hero-container {
    display: flex;
    flex-direction: column !important;
    /* Apilado vertical */
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
  }

  /* --- 3. Textos unificados y legibles --- */
  .content-wrapper,
  .text-section {
    width: 100%;
    text-align: center;
    padding: 0 !important;
  }

  .text-section {
    width: 100%;
    text-align: center;
    padding: 0 !important;
  }

  .title-top {
    font-size: 1.9rem;
  }

  .title-main,
  .text-section h1,
  .text-section h2,
  .car-slide .text-section h1,
  .stand-slide .text-section h1,
  .stand-slide .text-section h2 {
    font-size: 1.8rem !important;
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 40px;
  }

  /* --- 4. Slide 1: Mapa (Redimensionado sin romper) --- */
  .map-wrapper {
    width: 100%;
    max-width: 100%;
    /* Evita que ocupe toda la pantalla */
    height: auto;
    min-height: auto;
    margin: 0 auto;
    margin-bottom: 30px;
  }

  .map-spain {
    width: 120%;
    height: auto;
  }

  /* Ocultar pines en móvil para que no floten fuera del mapa */
  .pin {
    display: none !important;
  }

  .badge-franchise {
    margin: 15px auto 0 auto;
  }

  /* --- 5. Slide 2: Cilindros (Escalados) --- */
  .cylinders-section {
    height: 150px;
    /* Reducimos la altura del grupo */
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 40px;
  }

  /* Forzamos que los cilindros bajen de tamaño en móvil */
  .cylinder {
    width: 45px !important;
    font-size: 0.8rem;
  }

  .cylinder[style*="250px"] {
    height: 180px !important;
  }

  .cylinder[style*="200px"] {
    height: 135px !important;
  }

  .cylinder[style*="150px"] {
    height: 98px !important;
  }

  .cylinder[style*="100px"] {
    height: 65px !important;
  }

  .hidro-text {
    position: absolute;
    top: 41%;
    left: 50%;
    width: 110px;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
    text-align: center;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    word-break: normal;
    overflow: visible;
    padding: 0 2px;
  }

  .hidro-text2 {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 80px;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
    text-align: center;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    word-break: normal;
    overflow: visible;
    padding: 0 2px;
  }

  .value-text {
    margin-top: 2px;
    /* Empuja el número hacia abajo del todo */
    padding-bottom: 2px;
    /* Da un respiro en la base */
    font-size: 15px;
    /* Ajuste sutil para balancear con el texto superior */
  }

  .value-text2 {
    margin-top: auto;
    /* Empuja el número hacia abajo del todo */
    margin-bottom: 12px;
    /* Da un respiro en la base */
    font-size: 15px;
    /* Ajuste sutil para balancear con el texto superior */
  }

  .text-section {
    margin-left: 0 !important;
    padding: 0 10px;
  }

  .cylinder:last-child .interior-cylinder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    padding-top: 0;
  }

  .cylinder:last-child .interior-cylinder img {
    display: block;
    margin-top: 10px !important;
    transform: translateY(10px);
    max-height: 36px;
    max-width: 40px;
    width: auto;
  }

  .cylinder:last-child .interior-cylinder p {
    display: block;
    transform: translateY(10px);
    max-height: 36px;
    width: auto;
  }

  /* --- 6. Slides 3 y 4: Imágenes controladas --- */
  .stand-slide,
  .stand-slide .hero-container,
  .stand-slide .booth-side {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    flex: none !important;
    display: block !important;
  }

  /* Forzamos a la imagen a ser el elemento dominante */
  .stand-slide .booth-side img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    /* Quitamos recortes del navegador */
    overflow: visible !important;
  }

  .car-slide .image-side {
    width: 100%;
    max-width: min(90vw, 520px);
    margin: 0 auto;

  }

  .car-slide .image-side img {
    width: 140%;
    height: auto;
    padding-right: 60px;
    display: block;
  }

  /* --- 7. Flechas laterales tradicionales --- */
  .slider-arrow {
    width: 40px;
    height: 40px;
    z-index: 10;
  }

  .arrow-left {
    left: 10px;
  }

  .arrow-right {
    right: 10px;
  }
}

/* Ajuste extra fino para pantallas muy pequeñas */
@media (max-width: 480px) {
  .hero-banner {
    height: 620px;
    min-height: 620px;
  }

  .title-main,
  .text-section h1 {
    font-size: 1.8rem !important;
  }
}

/* mantener el botón de flecha visible en móviles y evitar solapamientos */
@media (max-width: 576px) {
  .hero-banner {
    min-height: 460px;
    padding: 18px 0 24px;
  }

  .hero-banner::before {
    width: 130%;
    height: 100px;
    bottom: -15px;
  }

  .map-wrapper {
    min-height: 180px;
    padding: 10px 0;
  }

  .map-spain {
    max-height: 180px;
  }

  .title-main {
    font-size: 1.6rem;
  }

  .title-top {
    font-size: 1.9rem;
  }

  .badge-number {
    font-size: 1.5rem;
  }

  .badge-text {
    font-size: 0.8rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-container,
  .slide .hero-container {
    gap: 14px;
  }

  .history-slide {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
  }

  .calendar-wrapper {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }

  .calendar-img {
    max-width: 220px;
    width: 100%;
  }

  .history-subtitle {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .history-title {
    font-size: 1.7rem !important;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .history-text {
    font-size: 1rem;
    margin-top: 4px;
    display: inline-block;
    max-width: calc(100% - 24px);
    width: auto;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: center;
  }

  .history-text-block {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .history-badge {
    margin-top: 10px;
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .slide.active .history-slide .calendar-wrapper,
  .slide.active .history-slide .history-subtitle,
  .slide.active .history-slide .history-title,
  .slide.active .history-slide .history-text,
  .slide.active .history-slide .history-badge {
    animation-duration: 0.7s;
  }
}

.social-footer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
}

.social-link {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-link::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 22, 31, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.social-link:hover::after,
.social-link:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: #ffffff;
  color: #1f7164;
  border-color: #ffffff;
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  display: block;
}

/* --- Pie de Página (Footer) --- */
.site-footer {
  background-color: #3eb843;
  padding: 18px 20px;
  border-top: 1px solid #3eb843;
}

.site-footer-container {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer-copyright,
.site-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer-copyright {
  flex: 1 1 auto;
  min-width: 0;
}

.site-footer-copyright p {
  color: #ffffff;
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer-links {
  flex: 1 1 auto;
  gap: 12px;
  flex-wrap: nowrap;
}

.site-footer-links a {
  color: #fcfcfc;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 16px 14px 18px;
  }

  .site-footer-container {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer-copyright p,
  .site-footer-links a {
    white-space: normal;
    text-align: center !important;
  }

  .site-footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}

/* info section */
.footer_bg {
  background-image: url(../images/footer-bg.png);
  background-size: cover;
  padding-top: 280px;
  margin-top: -125px;
}

.info_section {
  position: relative;
  font-family: "Poppins", sans-serif;
}

.info_section h3 {
  text-transform: uppercase;
  font-weight: bold;
  color: #f9fcfb;
  margin-bottom: 35px;
}

.info_section img {
  width: 100%;
}

.info_section ul {
  padding: 0;
}

.info_section ul li {
  list-style-type: none;
  margin: 10px 0;
}

.info_section ul li a,
.info_section ul li a:hover {
  color: #fff;
}

.info_section h5 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #fff;
  padding: 1px 3px;
  border-bottom: 2px solid #82b8b2;
}

.logo-footer {
  width: 50px;
  height: 50px;
  position: absolute;
  object-fit: contain;
  left: -34rem;
  top: -100px;
}

.info_section .social-box {
  margin: 25px 0;
}

.info_section .social-box img {
  width: 35px;
  margin-right: 5px;
}

.form_container form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.info_section .form_container label {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
}

.info_section .form_container input {
  width: 300px;
  height: 40px;
  border: none;
  outline: none;
  padding-left: 15px;
  background-color: #fff;
  margin-left: 45px;
  margin-right: 10px;
}

.info_section .form_container button {
  display: inline-block;
  padding: 8px 50px;
  background-color: #ffca56;
  color: #f9fcfb;
  border-radius: 5px;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  border: none;
  text-transform: uppercase;
}

.info_section .form_container button:hover {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}

.info_section .form_container button:hover {
  -webkit-transform: none;
  transform: none;
}

/* end info section */
/* footer section*/
.footer_section {
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer_section p {
  color: #f9fcfb;
  margin: 0;
  text-align: center;
  padding: 20px 15%;
  border-top: 1px solid #f9fcfb;
}

.footer_section a {
  color: #f9fcfb;
}

/* end footer section*/

/* segunda pagina */
.banner-empresa2 {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 70px;
}

.banner-empresa {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 70px;
}

.banner-image-section {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  display: block;
}

.banner-image-section img {
  width: min(100%, 350px);
  max-width: 100%;
  margin-top: -30px;
  height: auto;
  display: inline-block;
  border-radius: 8px;
}

@media (min-width: 992px) {
  .banner-image-section img {
    width: min(100%, 650px);
    margin-bottom: 40px;
  }
}

.overlay-empresa {
  width: 100%;
  height: 100%;
  background-color: rgb(42, 187, 47);
  /* Mantenemos tu tono verde */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.overlay-empresa h1 {
  font-size: 64px;
  margin: 0;
  letter-spacing: 2px;
}

.overlay-empresa .subtitle {
  font-size: 24px;
  margin-top: 10px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .banner-empresa {
    margin-bottom: -40px;
  }
}

/* Línea personalizada */
.linea-empresa {
  width: 100px;
  height: 3px;
  background-color: white;
  margin-top: 20px;
}

.seccion-empresa {
  display: flex;
  align-items: flex-start;
  /* Alinea texto e imagen arriba */
  gap: 40px;
  /* Espacio entre el texto y la imagen */
  padding: 50px 0;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .banner-empresa {
    height: auto;
    padding: 40px 18px;
    min-height: auto;
  }

  .banner-image-section {
    margin-top: 2px;
    margin-bottom: 4px;
  }

  .banner-image-section img {
    margin-top: 0;
  }

  .overlay-empresa {
    padding: 20px 18px;
  }

  .overlay-empresa h1 {
    font-size: 2.8rem;
  }

  .overlay-empresa .subtitle {
    font-size: 1rem;
  }

  .seccion-empresa {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 30px 18px;
  }

  .seccion-empresa .contenedor-texto,
  .seccion-empresa .contenedor-imagen {
    width: 100%;
  }

  .seccion-empresa .contenedor-imagen img {
    width: 100%;
    height: auto;
  }

  .seccion-empresa h2 {
    font-size: 2rem;
  }

  .seccion-empresa p {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .timeline-swiper-outer {
    padding: 0;
  }

  .timeline-swiper {
    overflow: hidden;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 44px;
    height: 44px;
    top: calc(50% - 40px);
  }

  .swiper-button-prev {
    left: -58px;
  }

  .swiper-button-next {
    right: -58px;
  }

  .timeline-swiper .swiper-slide {
    padding: 8px 0 16px;
  }

  .timeline-swiper .swiper-slide .card {
    min-height: 250px;
    padding: 18px 14px;
  }

  .dot {
    position: relative;
    top: 50px !important;
    margin-bottom: 0px !important;
  }

  .timeline-swiper .swiper-slide .card img {
    height: 130px;
    margin-bottom: 14px;
  }

  .timeline-swiper .swiper-slide .card h3 {
    font-size: 1rem;
  }

  .timeline-swiper .swiper-slide .card p {
    font-size: 0.84rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .timeline-swiper .swiper-slide .year {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
  }
}

.banner-empresa2 .overlay-empresa h1 {}

.contenedor-texto {
  flex: 1;
  /* Ocupa la mitad del espacio */
}

.contenedor-imagen {
  flex: 1;
  /* Ocupa la otra mitad */
}

.contenedor-imagen img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  /* Opcional: para suavizar los bordes */
}

.linea-empresa2 {
  width: 278px;
  height: 4px;
  background-color: #23c823;
  /* Ajusta según el color de tu línea */
  margin: 10px 0 20px 0;
}


/* La línea horizontal continua */
.timeline-swiper {
  position: relative;
}

.timeline-swiper::before {
  content: '';
  position: absolute;
  top: 132px;
  width: 100%;
  height: 2px;
  background: #dff7e6;
  z-index: 0;
}

/* Limita el ancho del contenedor del slider */
.timeline-swiper-outer {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  overflow: visible;
  padding: 30px 110px 10px;
}

.timeline-swiper {
  width: 100%;
  overflow: hidden;
}

/* Ajusta el color de las flechas */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: calc(50% - 40px) !important;
  transform: translateY(-50%);
  width: 30px !important;
  height: 30px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20bd15 !important;
  border-radius: 50%;
  z-index: 12;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: translateY(-50%) scale(1.02);
}

.swiper-button-prev {
  left: -70px;
}

.swiper-button-next {
  right: -70px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.dot {
  width: 14px;
  height: 14px;
  background: #1ece2d;
  border-radius: 50%;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 6px rgba(30, 206, 45, 0.12);
}

.timeline-swiper .swiper-slide {
  box-sizing: border-box;
  padding: 10px 0 20px;
  height: auto;
}

.timeline-swiper .swiper-slide .card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(30, 206, 45, 0.10);
  border-radius: 26px;
  padding: 10px 10px 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(30, 206, 45, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.centered-number {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Centrado matemático perfecto */

  /* Estilos del número */
  font-size: 24px;
  font-weight: bold;
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  pointer-events: none;
  /* Permite hacer clic en la imagen sin que el número estorbe */
}

.timeline-swiper .swiper-slide .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(30, 206, 45, 0.12);
}

.timeline-swiper .swiper-slide .card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.timeline-swiper .swiper-slide .year {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: 0 80px 12px;
  margin-bottom: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1ece2d 0%, #149b22 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(30, 206, 45, 0.24);
}

.timeline-swiper .swiper-slide .card h3 {
  margin-bottom: 8px;
  color: #1b5e20;
  font-size: 1.1rem;
}

.timeline-swiper .swiper-slide .card p {
  margin: 0;
  color: #4f5f56;
  font-size: 0.70rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  margin-top: 10px;
  max-width: 100%;
}

/* SECCION DE SERVICE */

/* Contenedor principal de la sección */
.seccion-franquicia {
  max-width: 1200px;
  margin: 60px auto;
}

/* Estructura de dos columnas */
.franquicia-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Columna de Texto (Izquierda) */
.franquicia-texto {
  flex: 1.2;
  min-width: 320px;
}

.franquicia-texto h2 {
  color: #006644;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.franquicia-texto .divisor-verde {
  width: 367px;
  height: 4px;
  background-color: #0fc925;
  margin-bottom: 15px;
}

.franquicia-texto h4 {
  color: #666666;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.franquicia-texto p {
  color: #555555;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 15px;
  text-align: justify;
}

/* Columna de Imagen (Derecha) */
.franquicia-imagen {
  flex: 0.8;
  min-width: 300px;
}

.franquicia-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
           VERSIÓN RESPONSIVA (MÓVILES Y TABLETS)
           ========================================== */
@media (max-width: 768px) {
  .seccion-franquicia {
    margin: 30px;
  }

  .franquicia-grid {
    flex-direction: column;
    gap: 25px;
  }

  .franquicia-texto,
  .franquicia-imagen {
    width: 100%;
    min-width: unset;
  }

  .franquicia-texto h2 {
    font-size: 24px;
  }

  .franquicia-texto p {
    text-align: left;
  }
}

/* Contenedor general de la sección de beneficios */
.benefit-section {
  padding: 50px 0;
  font-family: 'Poppins', sans-serif;
  color: #1f2937;
  background-color: #ffffff;
}

.benefit-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-grid-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.benefit-left h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 20px;
}

.benefit-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 35px;
}

/* Tarjetas de Beneficios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  font-size: 1.8rem;
  color: #0b6638;
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
}

.benefit-card p {
  font-size: 0.8rem;
  color: #4b5563;
}

/* Columna Derecha - Caja CTA */
.benefit-right {
  display: flex;
}

.cta-box {
  background-color: #074727;
  width: 100%;
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 18px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  width: 100%;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 25px;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.cta-note {
  color: #e5e7eb;
  font-size: 0.9rem;
  margin-bottom: 30px;
  text-align: center !important;
  text-align-last: center !important;
  text-justify: none !important;
  display: inline-block;
  max-width: 100%;
}

.cta-note strong {
  color: #ffffff;
  white-space: normal !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  font-variant: normal !important;
}

.cta-phone span {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.cta-phone a {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

/* Prueba Social Inferior */
.social-proof {
  margin-top: 60px;
  padding-top: 30px;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.badges {
  display: flex;
  gap: 25px;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
}

.badges i {
  color: #0b6638;
  margin-right: 5px;
}

.testimonial {
  text-align: right;
}

.testimonial p {
  font-style: italic;
  font-size: 0.95rem;
  color: #1f2937;
}

.testimonial span {
  font-size: 0.8rem;
  color: #4b5563;
}

/* Responsivo para la sección */
@media (max-width: 968px) {
  .benefit-grid-wrapper {
    grid-template-columns: 1fr;
  }

  .benefit-left h1 {
    font-size: 2rem;
  }

  .testimonial {
    text-align: left;
  }

  .social-proof {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos de la sección Principal */
.parking-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.parking-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Dos columnas iguales */
  gap: 40px;
  align-items: center;
}

/* Columna de Texto */
.text-column h1 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.text-column p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.text-column strong {
  color: #333;
}

.btn-green {
  display: inline-block;
  background-color: #13cb19;
  color: #ffffff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-green:hover {
  background-color: #259e29;
  /* Un tono más oscuro al pasar el ratón */
}

/* Columna de Imagen/Carrusel */
.image-column {
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #f3f3f3;
  aspect-ratio: 4 / 3;
  max-height: 520px;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  display: none;
  height: 100%;
  /* Ocultar todos por defecto */
}

.carousel-item.active {
  display: block;
  /* Mostrar solo el activo */
}

.carousel-item img,
.carousel-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #eaeaea;
}

/* Indicadores (puntos) */
.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Controles de navegación (flechas, ocultas por defecto como en la web original) */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
  display: none;
  /* Ocultar por defecto */
}

.carousel:hover .carousel-control {
  display: block;
  /* Mostrar al hacer hover en el carrusel */
}

.carousel-control:hover {
  color: rgba(255, 255, 255, 0.9);
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

/* Diseño Responsivo (Adaptación a móviles) */
@media (max-width: 768px) {
  .parking-section .container {
    grid-template-columns: 1fr;
    /* Cambiar a una sola columna */
  }

  .text-column {
    text-align: center;
    /* Centrar el texto */
    margin-bottom: 30px;
  }

  .text-column h1 {
    font-size: 2rem;
  }
}

/* ==========================================
   Estilos para la Sección de Apoyo Integral
   ========================================== */

/* 1. Contenedores Principales */
.support-section {
  padding: 60px 0;
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.support-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.support-content {
  max-width: 100%;
}

/* 2. Rejillas / Grids */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.support-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px !important;
  align-items: center;
}

/* 3. Tipografía y Encabezados */
.support-content h2 {
  font-size: 1.8rem;
  color: #1f2937;
  margin-bottom: 20px;
  font-weight: 700;
}

.support-content p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 40px;
  line-height: 1.6;
}

.support-content strong {
  color: #111827;
}

/* 4. Listas e Ítems */
.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.support-item {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.support-item:last-child {
  margin-bottom: 0;
}

.support-text {
  flex: 1 1 260px;
  min-width: 220px;
  text-align: justify !important;
  /* 👈 Justificado para Ordenador */
  /* Distribuye mejor el espacio entre palabras */
}

.support-text {
  flex: 1 1 260px;
  min-width: 220px;
  text-align: justify !important;
  /* 👈 Justificado para Ordenador */
  /* Distribuye mejor el espacio entre palabras */
}

.support-text h4 {
  justify-content: left;
  text-align: left;
  /* 👈 Justificado para Ordenador */
  /* Distribuye mejor el espacio entre palabras */
}

/* 5. Imágenes Generales y Bloques */
.support-content .support-image {
  margin-top: 5px;
  margin-bottom: 20px;
}

.support-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: block;
}

.support-image2 img {
  width: 70%;
  height: auto;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: block;
}

.support-image3 {
  flex: 0 0 420px;
  width: 100%;
  max-width: 420px;
}

.support-image3 img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

/* ==========================================
   6. Responsivo / Media Queries (Al Final)
   ========================================== */
@media (max-width: 992px) {
  .support-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 30px;
  }

  .support-text {
    flex: 0 1 auto !important;
    /* 👈 Anula los 260px de alto forzado */
    max-width: 100% !important;
    /* 👈 Permite que el texto use todo el ancho del móvil */
    min-width: 0 !important;
    text-align: center;
    /* Centra el texto en pantallas pequeñas */
  }

  .support-image3 {
    flex: 0 1 auto !important;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Botón de Escuchar Texto */
.btn-audio {
  background-color: #0b6638;
  /* Verde corporativo */
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.btn-audio:hover {
  background-color: #074727;
}

/* Adaptación Responsiva para móviles */
@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Barra Verde de Llamada a la Acción (Nombre Único) */
.green-promo-bar {
  background-color: #075e47;
  /* Tono verde oscuro corporativo */
  padding: 35px 0;
  color: #ffffff;
  margin: 40px 0;
}

.green-promo-bar2 {
  background-color: #075e47;
  /* Tono verde oscuro corporativo */
  padding: 35px 0;
  color: #ffffff;
}

.green-promo-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.green-promo-content p {
  font-size: 1.15rem;
  font-weight: 500;
}

.btn-green-light {
  background-color: #a7f3d0;
  /* Verde claro pastel */
  color: #064e3b;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-green-light:hover {
  background-color: #6ee7b7;
  transform: scale(1.02);
}

.promo-icon-plus {
  background-color: #064e3b;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .green-promo-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Estilos generales de la sección */
.implantation-section {
  padding: 60px 0;
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.implantation-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  color: #064e3b;
  margin-bottom: 30px;
  font-weight: 700;
}

.private-banner {
  position: relative;
  margin: 0 auto 30px;
  width: min(100%, 1200px);
  padding: 0 20px;
}

.private-banner-inner {
  background-image: linear-gradient(90deg, rgba(10, 62, 49, 0.84), rgba(22, 130, 102, 0.72)), url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 52px 30px;
  box-shadow: 0 18px 35px rgba(13, 56, 40, 0.12);
  color: #ffffff;
}

.private-banner-inner .eyebrow {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.private-banner-inner h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
  color: #ffffff;
  line-height: 1.2;
}

.private-banner-inner p:last-child {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

.private-downloads {
  padding: 70px 20px 40px;
  background: linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
}

.private-downloads-header {
  text-align: center;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #1f7164;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.private-downloads-header h2 {
  margin: 0;
  color: #0f2d25;
  font-size: clamp(2rem, 2vw + 1rem, 2.8rem);
  font-weight: 800;
}

.private-downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(18, 97, 71, 0.12);
  border-radius: 18px;
  padding: 30px 24px 24px;
  box-shadow: 0 18px 36px rgba(13, 56, 40, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(13, 56, 40, 0.12);
}

.download-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(22, 176, 96, 0.12), rgba(31, 113, 100, 0.14));
  color: #1f7164;
  margin-bottom: 20px;
}

.download-card-icon svg {
  width: 32px;
  height: 32px;
}

.download-card-body h3 {
  margin: 0 0 12px;
  color: #0e2f2a;
  font-size: 1.7rem;
  line-height: 1.2;
}

.download-card-body p {
  margin: 0 0 24px;
  color: #4c5b57;
  line-height: 1.7;
  font-size: 1rem;
}

.download-button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #17cb0d;
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.download-button:hover {
  background: #139f0f;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .private-banner {
    padding: 0 14px;
    margin-bottom: 22px;
  }

  .private-banner-inner {
    padding: 30px 18px;
    border-radius: 18px;
  }

  .private-banner-inner .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .private-banner-inner h2 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .private-banner-inner p:last-child {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .private-downloads {
    padding: 48px 14px 26px;
  }

  .private-downloads-header {
    margin-bottom: 22px;
  }

  .private-downloads-header h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .private-downloads-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .download-card {
    padding: 20px 18px 18px;
    border-radius: 16px;
  }

  .download-card-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
  }

  .download-card-body h3 {
    font-size: 1.35rem;
  }

  .download-card-body p {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .download-button {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.82rem;
  }
}

/* Cuadrícula de 2 columnas */
.implantation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Lado Izquierdo: Video */
.video-container {
  width: 100%;
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Botón de Descargar PDF */
.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #075e47;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-download-pdf:hover {
  background-color: #043c2e;
}

.pdf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999999;
}

.pdf-modal-overlay.active {
  display: flex;
}

.pdf-modal {
  background: #fff;
  width: min(100%, 480px);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.pdf-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #4b5563;
}

.pdf-modal h3 {
  margin: 0 0 8px;
  color: #064e3b;
}

.pdf-modal p {
  margin: 0 0 16px;
  color: #4b5563;
}

.pdf-form-group {
  margin-bottom: 12px;
}

.pdf-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1f2937;
}

.pdf-form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.btn-download-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.pdf-form-message {
  min-height: 20px;
  margin-top: 10px;
  font-weight: 600;
}

body.pdf-modal-open {
  overflow: hidden;
}

/* Lado Derecho: Acordeón */
.accordion {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.accordion-item {
  border-bottom: 1px solid #e5e7eb;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background-color: #ffffff;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #064e3b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: #f9fafb;
}

.accordion-icon {
  font-size: 1.2rem;
  font-weight: bold;
  color: #075e47;
}

.accordion-content {
  padding: 0 20px 20px 20px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
  /* Oculto por defecto */
}

.accordion-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto 15px auto;
  /* Centra la imagen y le da espacio abajo */
}

/* Mostrar contenido si el item está activo */
.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  /* Gira el '+' convirtiéndolo en una 'x' o indicador de abierto */
  transition: transform 0.2s ease;
}

/* Contenedor que hace que el texto flote alrededor de la imagen */
.content-with-image {
  overflow: hidden;
  /* Asegura que el contenedor contenga los elementos flotados */
  margin-bottom: 15px;
}

.content-with-image img {
  float: left;
  /* Envía la imagen a la izquierda */
  width: 45%;
  /* Ajusta el ancho de la imagen respecto al bloque */
  height: auto;
  margin-right: 20px;
  /* Espacio separador entre la imagen y el texto */
  margin-bottom: 10px;
  border-radius: 6px;
  object-fit: cover;
}

.content-with-image p {
  text-align: justify;
  /* Justifica el texto para el efecto de bloque limpio */
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
  /* Evita saltos de línea indeseados */
}

/* Diseño responsivo para pantallas pequeñas */
@media (max-width: 768px) {
  .implantation-grid {
    grid-template-columns: 1fr;
  }
}

/* Contenedor principal del banner */
.hero-banner3 {
  position: relative;
  /* Necesario para posicionar el texto encima */
  width: 100%;
  /* Ajusta la altura según la proporción deseada, por ejemplo, 40vw (40% del ancho de la ventana) */
  height: 40vw;
  min-height: 300px;
  /* Altura mínima para pantallas muy pequeñas */
  max-height: 400px;
  /* Altura máxima para pantallas muy grandes */
  background-image: url('../images/bannerparkingsubterraneo.jpg');
  /* Usa la imagen de tu archivo verbatim */
  background-size: cover;
  /* Cubre todo el área sin deformarse */
  background-position: center;
  /* Centra la imagen */
  background-repeat: no-repeat;
}

/* Contenedor principal del banner */
.hero-banner4 {
  position: relative;
  /* Necesario para posicionar el texto encima */
  width: 100%;
  /* Ajusta la altura según la proporción deseada, por ejemplo, 40vw (40% del ancho de la ventana) */
  height: 40vw;
  min-height: 300px;
  /* Altura mínima para pantallas muy pequeñas */
  max-height: 400px;
  /* Altura máxima para pantallas muy grandes */
  background-image: url('../images/bannerparkingsuperficie.jpg');
  /* Usa la imagen de tu archivo verbatim */
  background-size: cover;
  /* Cubre todo el área sin deformarse */
  background-position: center;
  /* Centra la imagen */
  background-repeat: no-repeat;
}

.hero-banner5 {
  position: relative;
  /* Necesario para posicionar el texto encima */
  width: 100%;
  /* Ajusta la altura según la proporción deseada, por ejemplo, 40vw (40% del ancho de la ventana) */
  height: 40vw;
  min-height: 200px;
  /* Altura mínima para pantallas muy pequeñas */
  max-height: 300px;
  /* Altura máxima para pantallas muy grandes */
  background-image: url('../images/localcomercial.jpg');
  /* Usa la imagen de tu archivo verbatim */
  background-size: cover;
  /* Cubre todo el área sin deformarse */
  background-position: center;
  /* Centra la imagen */
  background-repeat: no-repeat;
}

.hero-banner6 {
  position: relative;
  /* Necesario para posicionar el texto encima */
  width: 100%;
  /* Ajusta la altura según la proporción deseada, por ejemplo, 40vw (40% del ancho de la ventana) */
  height: 40vw;
  min-height: 300px;
  /* Altura mínima para pantallas muy pequeñas */
  max-height: 400px;
  /* Altura máxima para pantallas muy grandes */
  background-image: url('../images/upscalemedia-transformed.jpeg');
  /* Usa la imagen de tu archivo verbatim */
  background-size: cover;
  /* Cubre todo el área sin deformarse */
  background-position: center;
  /* Centra la imagen */
  background-repeat: no-repeat;
}


/* Contenedor principal del banner */
.hero-banner7 {
  position: relative;
  /* Necesario para posicionar el texto encima */
  width: 100%;
  /* Ajusta la altura según la proporción deseada, por ejemplo, 40vw (40% del ancho de la ventana) */
  height: 40vw;
  min-height: 300px;
  /* Altura mínima para pantallas muy pequeñas */
  max-height: 400px;
  /* Altura máxima para pantallas muy grandes */
  background-image: url('../images/franquiciamaster2.jpg');
  /* Usa la imagen de tu archivo verbatim */
  background-size: cover;
  /* Cubre todo el área sin deformarse */
  background-position: center;
  /* Centra la imagen */
  background-repeat: no-repeat;
}

/* Superposición oscura (overlay) para mejorar la legibilidad del texto */
.hero-banner3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Degradado sutil de negro transparente a completamente transparente */
}

/* Contenedor para el texto centrado */
.hero-text-container {
  position: absolute;
  bottom: 10%;
  /* Posiciona el texto cerca de la parte inferior */
  left: 5%;
  /* Alinea a la izquierda con un margen */
  z-index: 1;
  /* Asegura que el texto esté por encima del overlay */
}

/* Estilo del título */
.hero-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* Fuente limpia y moderna */
  font-size: 4vw;
  /* Tamaño de fuente relativo al ancho de la pantalla */
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  /* Sombra para mayor contraste */
  margin: 0;
  line-height: 1.1;
}

/* Estilo del título */
.hero-title2 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* Fuente limpia y moderna */
  font-size: 4vw;
  /* Tamaño de fuente relativo al ancho de la pantalla */
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  /* Sombra para mayor contraste */
  margin: 0;
  line-height: 1.1;
}

/* Contenedor principal de la sección */
.industrial-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Columna izquierda: Imágenes */
.images-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.images-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Figura con pie de foto para las imágenes de la sección industrial */
.image-figure {
  margin: 0;
}

.image-figure img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.figure-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #555555;
  text-align: center;
}

.figure-caption2 {
  margin-top: 8px;
  font-size: 14px;
  color: #555555;
  text-align: end;
}

/* Columna derecha: Contenido de texto */
.content-column {
  flex: 1.2;
  min-width: 300px;
}

.content-column p {
  font-size: 16px;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 25px;
}

.content-column strong {
  color: #222222;
}

.content-column h3 {
  font-size: 18px;
  color: #007a4d;
  /* Verde corporativo */
  margin-bottom: 15px;
}

/* Lista de requisitos */
.requirements-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.requirements-list li {
  font-size: 15px;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 10px;
}

/* Estilos específicos y aislados para esta sección */
.seccion-detalles-servicios-gw {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  align-items: center;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.seccion-detalles-servicios-gw * {
  box-sizing: border-box;
}

.caja-texto-detalles-gw {
  flex: 1.2;
  min-width: 300px;
}

.caja-texto-detalles-gw h1 {
  font-size: 26px;
  color: #007a4d;
  margin-bottom: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.caja-texto-detalles-gw h2 {
  font-size: 14px;
  color: #555555;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: bold;
}

.gw-images-between-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gw-image-item {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gw-image-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gw-image-caption {
  padding: 14px 16px;
  font-size: 0.95rem;
  color: #1b5e20;
  background: #f6faf7;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

@media (max-width: 768px) {
  .gw-images-between-container {
    grid-template-columns: 1fr;
  }
}

.caja-texto-detalles-gw p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 18px;
}

.caja-texto-detalles-gw strong {
  color: #222222;
}

.caja-imagen-estacion-gw {
  flex: 1;
  min-width: 300px;
}

.caja-imagen-estacion-gw img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

@media (max-width: 768px) {
  .seccion-detalles-servicios-gw {
    flex-direction: column;
  }
}

/* Estilos específicos y aislados para esta sección */
.seccion-franquiciados-gw {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.seccion-franquiciados-gw * {
  box-sizing: border-box;
}

/* Título y barra decorativa */
.franquiciados-titulo-container {
  text-align: center;
  margin-bottom: 40px;
}

.franquiciados-titulo-container h2 {
  font-size: 24px;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: bold;
}

.titulo-subrayado-gw {
  width: 695px;
  max-width: 80%;
  height: 3px;
  background-color: #1ece2d;
  margin: 0 auto;
}

/* Cuadrícula (Grid) para las 8 tarjetas */
.franquiciados-grid-gw {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Estilo de cada tarjeta individual */
.tarjeta-servicio-gw {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #000;
  aspect-ratio: 4 / 3;
  /* Mantiene una proporción uniforme para las fotos */
}

.tarjeta-servicio-gw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  /* Oscurece ligeramente la imagen para resaltar el texto */
  transition: transform 0.3s ease;
}

.tarjeta-servicio-gw:hover img {
  transform: scale(1.03);
  /* Efecto zoom suave al pasar el cursor */
}

/* Texto superpuesto en la esquina inferior izquierda de cada tarjeta */
.etiqueta-servicio-gw {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

/* Diseño responsivo para pantallas medianas (tablets) */
@media (max-width: 900px) {
  .franquiciados-grid-gw {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Diseño responsivo para pantallas pequeñas (móviles) */
@media (max-width: 500px) {
  .franquiciados-grid-gw {
    grid-template-columns: 1fr;
  }
}

/* Estilos específicos y aislados para la sección de contacto */
.seccion-contacto-gw {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.seccion-contacto-gw * {
  box-sizing: border-box;
}

/* Título superior */
.contacto-titulo-principal {
  text-align: center;
  margin-bottom: 50px;
}

.contacto-titulo-principal h2 {
  font-size: 26px;
  color: #007a4d;
  font-weight: bold;
}

.contacto-titulo-principal img {
  display: none;
  width: min(100%, 820px);
  max-width: 100%;
  height: auto;
  margin: 20px auto 0;
}

@media (max-width: 768px) {
  .contacto-titulo-principal h2 {
    font-size: 22px;
    padding: 0 10px;
  }

  .contacto-titulo-principal img {
    display: block;
    width: min(100%, 420px);
  }
}

@media (max-width: 500px) {
  .contacto-titulo-principal {
    margin-bottom: 30px;
  }

  .contacto-titulo-principal h2 {
    font-size: 18px;
  }

  .contacto-titulo-principal img {
    width: 100%;
  }
}

/* Estructura de dos columnas */
.contacto-contenido-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 920px;
  margin: 0 auto;
}

/* Columna izquierda (Datos y Mascota) */
.contacto-info-columna {
  flex: 0 0 320px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contacto-icono {
  font-size: 22px;
  color: #007a4d;
  margin-top: 2px;
}

.contacto-item strong {
  font-size: 16px;
  color: #007a4d;
  display: block;
  margin-bottom: 3px;
}

.contacto-item p {
  font-size: 16px;
  color: #333333;
  margin: 0;
}

.contacto-mascota {
  margin-top: 20px;
  padding-top: 20px;
  text-align: left;
}

.contacto-mascota img {
  max-width: 300px;
  height: auto;
}

/* Columna derecha (Tarjeta con fondo verde claro) */
.contacto-formulario-caja {
  flex: 1.3;
  min-width: 320px;
  background-color: #a8c9be;
  /* Tono verde pastel suave de fondo exacto a la captura */
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.formulario-contacto-gw {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-fila-doble {
  display: flex;
  gap: 20px;
}

.form-fila-doble .form-grupo {
  flex: 1;
}

.form-grupo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-grupo label {
  font-size: 14px;
  color: #333333;
}

.form-grupo input,
.form-grupo select,
.form-grupo textarea {
  width: 100%;
  padding: 10px 12px;
  background-color: #ffffff;
  font-size: 14px;
  color: #333333;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-radio-grupo {
  display: flex;

  font-size: 14px;
  color: #333333;
  margin-top: 2px;
  margin-bottom: 5px;
}

.form-radio-grupo label {
  display: flex;
  align-items: center;
  gap: 0px;
  cursor: pointer;
}

.form-select-zona {
  margin-top: 2px;
}

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

/* Botón Naranja de Enviar */
.form-boton-enviar {
  background-color: #f39c12;
  /* Naranja corporativo exacto */
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 5px;
}

.form-boton-enviar:hover {
  background-color: #d68910;
}

.surface-list {
  text-align: justify;
  padding-right: 20px;
}

.support-list {
  text-align: justify;
}

/* Diseño responsivo para pantallas pequeñas */
@media (max-width: 768px) {
  .contacto-contenido-grid {
    flex-direction: column;
    margin-left: 15px;
  }

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

  .contacto-formulario-caja {
    padding: 20px;
  }

  .contacto-info-columna {
    margin-left: 50px;
  }
}

/* Ensure telephone label, select and input are in one row on small screens */
@media (max-width: 576px) {
  .telefono-grupo {
    display: flex !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .telefono-grupo label {
    margin: 0 !important;
    white-space: nowrap;
    font-size: 14px;
    flex: 0 0 72px !important;
    padding-right: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 0 !important;
  }

  .telefono-input-row {
    display: flex !important;
    flex-direction: row;
    gap: 2px !important;
    align-items: center;
    flex: 1 1 auto;
    width: auto;
  }

  .select-codigo-pais {
    width: 96px !important;
    max-width: 96px !important;
    padding: 0px 8px !important;
    margin-left: 0 !important;
    font-size: 14px !important;
    height: 42px !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
  }

  .telefono-input-row input[type="tel"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 42px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 420px) {
  .telefono-grupo {
    flex-wrap: nowrap !important;
    align-items: start !important;
  }

  .telefono-grupo label {
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 0 !important;
    padding-right: 4px !important;
    flex: 0 0 64px !important;
  }

  .telefono-input-row {
    gap: 10px !important;
  }

  .select-codigo-pais {
    flex: 0 0 110px !important;
    width: 110px !important;
    max-width: 110px !important;
    margin-left: 0 !important;
  }
}


/* Contenedor principal */
.blog-section {
  padding: 20px 20px;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabecera */
.blog-header {
  text-align: center;
  margin-bottom: 50px;
}

.blog-subtitle {
  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.blog-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.blog-header p {
  font-size: 1rem;
  color: #666666;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de Artículos */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Tarjeta de Blog (clase adaptada para evitar conflictos) */
.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Imagen y Categoría */
.blog-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-image-wrapper iframe,
.blog-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.blog-card:hover .blog-image-wrapper img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 102, 204, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}

/* Contenido de la tarjeta */
.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #888888;
  margin-bottom: 12px;
}

.blog-meta i {
  margin-right: 5px;
}

.blog-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-content h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-content h3 a:hover {
  color: #0066cc;
}

.blog-content p {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Enlace Leer Más */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
  transition: gap 0.2s ease;
  gap: 5px;
}

.blog-read-more:hover {
  gap: 10px;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-subtitle {
    font-size: 1rem;
  }

  .blog-header h2 {
    font-size: 1.8rem;
  }
}

/* Contenedor principal del artículo */
.article-main {
  padding: 60px 20px;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 60px;
  background: #ffffff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Cabecera del Artículo */
.article-header {
  margin-bottom: 30px;
  text-align: center;
}

.article-category-tag {
  display: inline-block;
  background: rgba(0, 102, 204, 0.1);
  color: #0066cc;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.article-header h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article-meta-info {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 0.85rem;
  color: #777777;
}

.article-meta-info i {
  margin-right: 6px;
  color: #0066cc;
}

/* Imagen Principal del Artículo */
.article-featured-image {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cuerpo del Texto */
.article-body p {
  font-size: 1.05rem;
  color: #444444;
  margin-bottom: 20px;
}

.article-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #222222;
  line-height: 1.5;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 35px;
  margin-bottom: 15px;
}

.article-body ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.article-body li {
  font-size: 1.05rem;
  color: #444444;
  margin-bottom: 10px;
}

/* Citas / Blockquote */
.article-body blockquote {
  background: #f1f7fc;
  border-left: 4px solid #0066cc;
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: #2c3e50;
}

.article-body blockquote i {
  color: #0066cc;
  margin-right: 10px;
}

/* Navegación Inferior */
.article-footer-nav {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #eaeaea;
}

.back-to-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.back-to-blog-btn:hover {
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .article-container {
    padding: 25px;
    padding-top: 0px;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  .article-featured-image {
    height: 250px;
  }

  .article-meta-info {
    flex-direction: column;
    gap: 8px;
  }
}

.orla1992 {
  width: 100px;
  height: 130px;
}

.instagramlogo {
  width: 40px;
  height: 40px;
}

.logo-instagram {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.instagramfeed {
  margin-bottom: 40px;
}

.instagram-section {
  padding: 0px 20px;
}

/* Estilos exclusivos para el contenedor principal */
.franquiciamas-container {
  display: flex;
  justify-content: space-between;
  padding: 0px 30px;
  gap: 40px;
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #fff;
}

.franquiciamas-container .text-section {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.franquiciamas-container .map-section {
  flex: 1;
  text-align: center;
  margin-bottom: 20px;
}

.franquiciamas-container .map-section img {
  max-width: 100%;
  height: auto;
}

.franquiciamas-container .map-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  font-size: 13px;
  font-weight: bold;
}

.franquiciamas-container .legend-presence {
  color: #d9822b;
}

.franquiciamas-container .legend-expansion {
  color: #2b7a37;
}

/* Opcional: Estilos para la sección inferior si la necesitas junto con esto */
.franquiciamas-footer {
  text-align: center;
  padding: 40px 0px;
  background-color: #ffff;
  font-family: Arial, sans-serif;
}

.franquiciamas-footer h2 {
  font-size: 20px;
  color: #222;
  margin-bottom: 20px;
}

.franquiciamas-footer .dossier-card {
  display: inline-block;
  text-align: center;
}

.franquiciamas-footer .dossier-card img {
  width: 230px;
  height: auto;
}

.franquiciamas-footer .dossier-card p {
  font-size: 12px;
  color: #666;
}

/* COOKIES */
/* --- BANNER INFERIOR --- */
.site-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #121212;
  color: #e0e0e0;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  transition: transform 0.3s ease;
  transform: translateY(100%);
}

.site-notice.visible {
  transform: translateY(0);
}

.site-notice.hidden {
  transform: translateY(100%);
}

.consent-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consent-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #aaaaaa;
  line-height: 1.4;
}

.consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* --- BOTONES --- */
.consent-btn {
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s;
}

.consent-btn-outline {
  background: transparent;
  color: #e0e0e0;
  border-color: #333333;
}

.consent-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.consent-btn-secondary {
  background: #2a2a2a;
  color: #e0e0e0;
  border-color: #333333;
}

.consent-btn-secondary:hover {
  background: #353535;
}

.consent-btn-primary {
  background: #14f43d;
  color: #fff;
}

.consent-btn-primary:hover {
  background: #14f43d;
}

.private-access-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 14, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.private-access-box {
  width: min(100%, 420px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  padding: 32px 28px;
  text-align: center;
}

.private-access-box h2 {
  margin: 0 0 12px;
  color: #1f7164;
  font-size: 2rem;
}

.private-access-box p {
  margin: 0 0 18px;
  color: #4d4d4d;
  font-size: 1rem;
  line-height: 1.5;
}

.private-access-box input {
  width: 100%;
  border: 1px solid #c9d5d1;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
  outline: none;
}

.private-access-box input:focus {
  border-color: #1f7164;
  box-shadow: 0 0 0 3px rgba(31, 113, 100, 0.12);
}

.private-access-box button {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #1f7164, #2d8b7d);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.private-access-box button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.private-access-error {
  display: none;
  color: #b42318;
  font-weight: 700;
  margin-top: 14px;
  min-height: 20px;
}

/* --- MODAL DE CONFIGURACIÓN --- */
.consent-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consent-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.consent-modal {
  background: #1e1e1e;
  color: #e0e0e0;
  width: 90%;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.close-btn {
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-option {
  background: #242424;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.cookie-option-info h4 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
}

.cookie-option-info p {
  margin: 0;
  font-size: 0.82rem;
  color: #aaaaaa;
}

/* Interruptores personalizados */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #444;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #14f43d;
}

input:checked+.slider:before {
  transform: translateX(20px);
}

input:disabled+.slider {
  background-color: #14f43d;
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #333333;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #181818;
}

/* --- DISEÑO RESPONSIVO MÓVIL --- */
@media (max-width: 768px) {
  .site-notice {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .consent-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .consent-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .consent-modal {
    width: 95%;
    max-height: 95vh;
  }
}

@media (max-width: 768px) {
  body p {
    text-align: justify !important;
    text-justify: inter-word;
  }
}

.gw-content-legal {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #444444;
  text-align: justify;
}

.gw-content-legal p {
  margin-bottom: 20px;
}

.gw-content-legal p strong {
  color: #222222;
}

/* --- RESPONSIVO MÓVIL --- */
@media (max-width: 768px) {
  .gw-hero-legal {
    padding: 30px 20px;
  }

  .gw-hero-legal h1 {
    font-size: 1.6rem;
  }

  .gw-content-legal {
    padding: 0 20px;
    margin: 20px auto;
  }
}

/*contacto v2*/
.gw-contact-hero {
  position: relative;
  background: linear-gradient(rgba(27, 94, 32, 0.8), rgba(46, 125, 50, 0.7)), url('https://images.unsplash.com/photo-1520340356584-f9917d1eea6f?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.gw-contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.gw-contact-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contenedor Principal exclusivo */
.gw-contact-container {
  max-width: 1100px;
  margin: -40px auto 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Columna de Información exclusiva */
.gw-contact-info-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gw-contact-info-card h2 {
  font-size: 1.8rem;
  color: #1b5e20;
  margin-bottom: 15px;
}

.gw-contact-info-card>p {
  color: #666666;
  margin-bottom: 30px;
  line-height: 1.5;
}

.gw-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* Make contact items clickable without underline and keep colors */
a.gw-info-item,
a.gw-info-item:link,
a.gw-info-item:visited {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

a.gw-info-item:hover,
a.gw-info-item:active {
  text-decoration: none;
  color: inherit;
}

/* Remove default focus outline but keep accessibility hint with a subtle box-shadow */
a.gw-info-item:focus {
  outline: none;
  border-radius: 4px;
}

.gw-info-item i {
  font-size: 1.4rem;
  color: #2e7d32;
  width: 40px;
}

.gw-info-item div span {
  display: block;
  font-size: 0.85rem;
  color: #888888;
}

.gw-info-item div p {
  font-size: 1rem;
  color: #333333;
  font-weight: 500;
  margin: 0;
}

.gw-mascot-container {
  margin-top: 20px;
  text-align: left;
}

.gw-mascot-container img {
  max-width: 80px;
}

/* Columna de Formulario exclusiva */
.gw-contact-form-card {
  background: #a8c9be;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.gw-contact-form-card h2 {
  font-size: 1.8rem;
  color: #1b5e20;
  margin-bottom: 25px;
}

.gw-form-group {
  margin-bottom: 20px;
}

.gw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Estructura para combinar Código de país + Input de Teléfono solos en una línea */
.gw-phone-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.gw-contact-form-card label {
  display: block;
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 6px;
  font-weight: 600;
}

.gw-contact-form-card input,
.gw-contact-form-card select,
.gw-contact-form-card textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.gw-contact-form-card input:focus,
.gw-contact-form-card select:focus,
.gw-contact-form-card textarea:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.gw-contact-form-card textarea {
  resize: vertical;
  height: 120px;
}

.gw-btn-submit {
  background-color: #f39c12;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gw-btn-submit:hover {
  background-color: #1b5e20;
}

/* Responsive */
@media (max-width: 768px) {
  .gw-contact-container {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .gw-form-row {
    grid-template-columns: 1fr;
  }

  .gw-phone-row {
    grid-template-columns: 1fr;
  }

  .linea-divisoria442 {
    width: 18rem;
  }
}

/* VERSION PARA TABLET IPAD MINI */
@media screen and (min-width: 768px) and (max-width: 998px) {
  .seccion-franquicia {
    margin-right: 10px;
    margin-left: 10px;
  }

  .system-slide .text-section p {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 17px;
    display: inline-block;
  }

  .stand-slide .booth-side .stand-image,
  .stand-slide .booth-side img {
    width: auto !important;
    max-width: 520px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }


  .stand-slide .text-section {
    display: block;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    /* Quita el margin-right: 0px */
  }

  .stand-slide .text-section h2 {
    display: block;
    width: 100% !important;
    text-align: center !important;
    font-size: 30px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .car-slide .main-title {
    margin-top: 0px;
  }

  .car-slide .image-side img {
    max-width: 100%;
  }

  .history-slide .header-flex {
    text-align: center;
    /* Centra el texto internamente */
    margin: 0 auto;
    /* Centra la caja de 50% dentro del elemento padre */
  }

  .history-slide .history-text {
    width: 50%;
    display: block;
    text-align: center;
    /* Centra el texto internamente */
    margin: 0 auto;
    /* Centra la caja de 50% dentro del elemento padre */
  }

  /* Fuerza al contenedor .row de Bootstrap a apilar las columnas */
  #welcome_section .row {
    flex-direction: column !important;
  }

  /* Asegura que cada columna dentro del row ocupe el 100% */
  #welcome_section .row>div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .contact-block-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* <- Añade esto para centrar los elementos dentro */
    gap: 30px;
    font-family: sans-serif;
    margin-top: 50px;

    /* Para asegurar que el contenedor se centre en la pantalla */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Busca esta regla en tu style.css (~línea 1303) */
  .welcome_section .img-box {
    text-align: center;
    /* <- Cambia 'right' por 'center' */
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: -50px;
  }

  .grid-categorias {
    margin-left: 15px !important;
    margin-right: 15px !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }

  .franquicia-master-content {
    margin-right: 20%;
    padding-right: 0;
    /* Aplica un filtro negro transparente (0.5 o 0.7 según qué tan oscuro lo quieras) */
  }

  .franquicia-master::before {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  }

  .franquicia-master img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .categorias-header .linea-divisoria {
    width: 43rem;
    height: 4px;
    background-color: #1ece2d;
    /* El azul de tu tienda */
    margin: 0 auto 20px auto;
  }

  /* Línea decorativa debajo del título */
  .video-title::after {
    width: 230px;
  }

  .video-title2::after {
    width: 200px;
  }

  .testimonios .linea-divisoria {
    width: 500px !important;
  }

  .process-content .linea-divisoria {
    width: 500px;
  }

  .tarjeta-categoria {
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
  }

  .tarjeta-categoria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
  }

  .tarjeta-categoria .overlay-categoria {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(97, 177, 50, 0.95), rgba(31, 113, 100, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .tarjeta-categoria .overlay-categoria h3 {
    font-size: 18px;
    line-height: 1.3;
  }

}

@media (max-width: 1280px) {
  .hero_area {
    height: 90vh;
  }

  /* 1. El contenedor del Banner Principal */
  .franquicia-master {
    background-image: url('../images/franquiciamaster1280.png');
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {

  /* 1. El contenedor del Banner Principal */
  .franquicia-master {
    background-image: url('../images/franquiciamaster1024.png');
  }
}

.gracias-section {
  padding: 60px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.gracias-container {
  max-width: 800px;
  margin: 0 auto;
}

.gracias-section h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
  font-weight: normal;
}

.gracias-subtext {
  font-size: 20px;
  color: #555;
  margin-bottom: 40px;
  text-align: center !important;
}

.gracias-imagen img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Utilidad para ocultar elementos */
.d-none {
  display: none !important;
}

/* Formulario de solicitud: estilos aislados para no afectar a contacto.html */
.solicitud-main-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 800px;
  width: 100%;
  margin: 40px auto 60px auto;
  box-sizing: border-box;
  padding: 0 20px;
  overflow: hidden;
}

.solicitud-form-card {
  background: #D1EBD8;
  padding: 50px;
  border-radius: 18px;
  margin: 40px;
  margin-top: 0;
  box-sizing: border-box;
  box-shadow: 0 18px 40px rgba(15, 77, 65, 0.08);
  overflow: hidden;
}

.solicitud-form-card h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #1d5d53;
  text-align: center;
}

.solicitud-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.solicitud-form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.solicitud-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: #214f46;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.solicitud-form-group input,
.solicitud-form-group select,
.solicitud-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(20, 93, 79, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #1d2e2a;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.solicitud-form-group input:focus,
.solicitud-form-group select:focus,
.solicitud-form-group textarea:focus {
  border-color: #1f7a68;
  box-shadow: 0 0 0 4px rgba(31, 122, 104, 0.12);
}

.solicitud-form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.solicitud-phone-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.solicitud-phone-row select {
  flex: 0 0 140px;
}

.solicitud-phone-row input {
  flex: 1;
}

.solicitud-btn-submit {
  background: linear-gradient(135deg, #1e7b69 0%, #154f53 100%);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 26px rgba(21, 79, 83, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.solicitud-btn-submit:hover {
  background: linear-gradient(135deg, #1b6d5f 0%, #143f48 100%);
  box-shadow: 0 16px 28px rgba(21, 79, 83, 0.22);
  transform: translateY(-1px);
}

/* Contenedor Principal */
.contacto-main-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  width: 100%;
  margin: 40px auto 60px auto;
  box-sizing: border-box;
  padding: 0 20px;
  overflow: hidden;
}

/* Tarjetas de Información y Formulario */
.contacto-info-card,
.contacto-form-card {
  background: #ffff;
  padding: 30px;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.contacto-form-card {
  background: #a8c9be;
}

.contacto-info-card h2,
.contacto-form-card h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #000000;
}

.contacto-info-card p {
  color: #666;
  margin-bottom: 25px;
}

/* Items de Contacto (Teléfono, WhatsApp, Email) */
.contacto-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.contacto-info-item:hover {
  background: #f9f9f9;
  text-decoration: none;
}

.contacto-icono {
  font-size: 24px;
}

.contacto-info-item span:first-of-type {
  font-size: 0.85rem;
  color: #888;
  display: block;
}

.contacto-info-item p {
  margin: 0;
  font-weight: 600;
  color: #222;
}

/* Mascota */
.contacto-mascota {
  margin-top: 30px;
  text-align: center;
}

.contacto-mascota img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
}

.contacto-cta {
  margin-top: 22px;
  text-align: center;
  padding: 0 10px;
}

.contacto-cta p {
  margin: 0 0 14px;
  color: #2c3e3a;
  font-size: 1rem;
  line-height: 1.5;
}

.contacto-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #1e7b69 0%, #154f53 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(25, 95, 86, 0.18);
}

.contacto-cta-btn:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(25, 95, 86, 0.22);
}

/* Estructura del Formulario */
.contacto-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contacto-form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.contacto-form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444;
}

.contacto-form-group input,
.contacto-form-group select,
.contacto-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.contacto-form-group input:focus,
.contacto-form-group select:focus,
.contacto-form-group textarea:focus {
  border-color: #25d366;
}

.contacto-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Fila de Teléfono y Código de País */
.contacto-phone-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.contacto-phone-row select {
  flex: 0 0 140px;
}

.contacto-phone-row input {
  flex: 1;
}

/* Botón de Envío */
.contacto-btn-submit {
  background-color: #ff9800;
  /* O el color corporativo que prefieras */
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.contacto-btn-submit:hover {
  background-color: #e68900;
}

/* ==========================================
   Media Queries para Dispositivos Móviles
   ========================================== */
@media (max-width: 768px) {
  .solicitud-main-container {
    padding: 10px;
    margin: 20px auto;
  }


  .solicitud-form-row {
    grid-template-columns: 1fr;
  }

  .solicitud-phone-row {
    flex-direction: column;
  }

  .solicitud-phone-row select {
    flex: 1;
    width: 100%;
  }

  .solicitud-form-card {
    padding: 20px;
  }

  .contacto-main-container {
    grid-template-columns: 1fr;
    /* Pasa a una sola columna */
    padding: 10px;
    margin: 20px auto;
  }

  .contacto-form-card {
    order: 1;
  }

  .contacto-info-card {
    order: 2;
  }

  .contacto-form-row {
    grid-template-columns: 1fr;
    /* Apila los campos dobles en móviles */
  }

  .contacto-phone-row {
    flex-direction: column;
    /* Apila el selector de país y el input de teléfono */
  }

  .contacto-phone-row select {
    flex: 1;
    width: 100%;
  }

  .contacto-info-card,
  .contacto-form-card {
    padding: 20px;
  }

  .acceso-franquiciados {
    order: 3;
    width: 100%;
    margin-top: 20px;
  }

  .boton-accesoprivado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
}

.contacto-form-group .g-recaptcha {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.77);
    transform-origin: 0 0;
  }
}

.estrellas-valoracion img {
  width: 100%;
  max-width: 120px;
  /* Ajusta este valor según lo pequeña o grande que la quieras */
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
  /* Centra la imagen y le da separación abajo */
}

.acceso-franquiciados {
  padding: 0 0px 40px;
  text-align: center;
  text-decoration: none;
}

.boton-accesoprivado {
  display: inline-block;
  background: #1f7164;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(31, 113, 100, 0.25);
}

.boton-accesoprivado:hover,
.boton-accesoprivado:focus,
.boton-accesoprivado:active,
.boton-accesoprivado:visited {
  color: #fff;
  text-decoration: none;
}

.boton-accesoprivado svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  fill: #D9D941;
}

.banda-logotipo {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(90deg, #f5faf6 0%, #edf7f0 100%);
  border-top: 1px solid rgba(31, 113, 100, 0.12);
  border-bottom: 1px solid rgba(31, 113, 100, 0.12);
  overflow: hidden;
  white-space: nowrap;
  margin-top: 50px;
  position: relative;
  box-sizing: border-box;
  max-width: calc(100vw - 40px);
}

.logotipo-container {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  min-width: 100%;
  padding: 16px 0;
  animation: logo-marquee 20s linear infinite;
  will-change: transform;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 180px;
  height: 58px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 113, 100, 0.08);
  box-shadow: 0 8px 18px rgba(16, 41, 30, 0.04);
}

.logo-item img {
  max-width: 92px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.logo-item span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #295d52;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes logo-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.orla-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}