/* Retail Community: base original + correcciones responsive. */
/* Nav y back */
.lawbusiness{
  background-color: white !important;
  color: #00442b;
  box-shadow: 0 -5px 10px rgba(0,68,43,1), 0 5px 10px rgba(0,68,43,1);
}
.linknavbusiness{
  color: #00442b;
  text-decoration: none;
}
.linknavbusiness:hover{
  color: #00442b;
  text-decoration: none;
}
.logohol{
  max-height: 70px;
  width: auto;
}
.bg-acordeon{
  background-color: #00442b;
  color: white;
}
.bg-retail {
    height: 65vh;
    background-image: url("../img/retailcomint.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
}
.bg-black{
    background-color: black;
    opacity: 30%;
}
.bg-business{
background-color: #00442b;
-webkit-box-shadow: 13px 11px 20px 0px rgba(0,0,0,0.59);
box-shadow: 13px 11px 20px 0px rgba(0,0,0,0.59);
}
.bg-white{
-webkit-box-shadow: 13px 11px 20px 0px rgba(0,0,0,0.59);
box-shadow: 13px 11px 20px 0px rgba(0,0,0,0.59);
}
.bg-line{
  -webkit-box-shadow: 33px 5px 0px -26px rgba(0,68,43,1);
  -moz-box-shadow: 33px 5px 0px -26px rgba(0,68,43,1);
  box-shadow: 33px 5px 0px -26px rgba(0,68,43,1);
}

/* Textos Especiales de CSS */
.tituloswhite{
color: white;
font-weight: bolder;
padding-top: 30px;
}
.titulosblack{
font-weight: bolder;
padding-top: 30px;
color: #00442b;
}

/* Textos en Pagina web*/
.retai h1{
  padding-top: 30px;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
  opacity: 0; /* Inicialmente, el texto estará invisible */
  animation: aparecer 3s forwards; /* Utiliza la animación llamada "aparecer" durante 2 segundos y mantiene el último estado */
  }
.retai p{
  padding-bottom: 50px;
  font-size: 2rem;
  margin-bottom: 50px;
  text-align: justify;
  color: white;
  opacity: 0; /* Inicialmente, el texto estará invisible */
  animation: aparecer 3s forwards; /* Utiliza la animación llamada "aparecer" durante 2 segundos y mantiene el último estado */
  }
.wow{
  opacity: 0; /* Inicialmente, el texto estará invisible */
  animation: aparecer 3s forwards; /* Utiliza la animación llamada "aparecer" durante 2 segundos y mantiene el último estado */
}
.wowinf p{
font-size: 1.3rem;
margin: 50px;
text-align: justify;
color: white;
}
.reutex{
  padding-left: 80px;
  padding-right: 80px;
}
.wowinf h1{
padding-top: 30px;
padding-bottom: 30px;
font-size: 2.3rem;
margin: 50px;
color: white;
}
.wow h1{
  padding-top: 30px;
  font-size: 2.3rem;
  color: #00442b;
  margin: 50px;
  }
.wow p{
padding-top: 20px;
font-size: 1.3rem;
margin: 50px;
text-align: justify;
color: #00442b;
}
.wow li{
  padding-top: 20px;
  font-size: 1.3rem;
  text-align: justify;
  color: #00442b;
}
.textoimg p{
  font-size: 1.3rem;
  text-align: center;
  color:  white;
}
/* Links a las demas paginas */


/*Imagenes*/
.pimg{
padding: 30px;
}
.imgred{
  width: 30%; /* Ancho deseado */
  height: auto; /* Altura deseada */
  margin-left: auto;
  margin-right: auto;
}
.imagenidioma{
  width: 60%; /* Ancho deseado */
  height: auto; /* Altura deseada */
  margin-left: 20%;
}
.cardretail{
  margin: 100px;
  width: 700px;
  opacity: 90%; /*cambiar de ser necesario*/
}
.cardretail img{
  width: 50%; /* Ancho deseado */
  height: auto; /* Altura deseada */
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

/* 180 Card Business */
.container-card{
  padding-bottom: 30px;
}
.flip-card {
  perspective: 1000px;
  width: auto; /* Ajusta el ancho según tus necesidades */
  height: 350px; /* Ajusta la altura según tus necesidades */
  margin: 0 auto; /* Centra las tarjetas en la fila */
  border-radius: 10px;

}
.flip-card-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s;
  padding-bottom: 30px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}
.flip-card-front {
  background-color: #ffffff; /* Color del frente de la tarjeta */
  color: #00442b;
}
.flip-card-back {
  background-color: #00442b; /* Color de la parte trasera de la tarjeta */
  color: white; /* Color del texto en la parte trasera de la tarjeta */
  font-size: 1rem;
  transform: rotateY(180deg);
}


/*Prueba Boton*/
.btn-flotante {
	border-radius: 10px; /* Borde del boton */
	background-color: white; /* Color de fondo */
	padding: 18px 30px; /* Relleno del boton */
	position: fixed;
  width: 100px; /* Ajusta el ancho deseado */
  text-align: center; /* Centra el contenido del botón horizontalmente */
  line-height: 50px; /* Centra el contenido del botón verticalmente */
	bottom: 40px;
	right: 150px;
	transition: all 300ms ease 0ms;
	box-shadow: 10px 10px 23px -2px rgba(0,0,0,0.76);
	z-index: 99;
  text-decoration: none;
}
.btn-flotante:hover {
  color: white;
	box-shadow: 10px 10px 23px -2px rgba(0,0,0,0.76);
	transform: translateY(-7px);
}
/*Boton flotante Idioma*/
.btn-flotante-idioma {
	border-radius: 10px; /* Borde del boton */
	background-color: white; /* Color de fondo */
	padding: 18px 30px; /* Relleno del boton */
	position: fixed;
  width: 100px; /* Ajusta el ancho deseado */
  text-align: center; /* Centra el contenido del botón horizontalmente */
  line-height: 50px; /* Centra el contenido del botón verticalmente */
	bottom: 40px;
	right: 40px;
	box-shadow: 10px 10px 23px -2px rgba(0,0,0,0.76);
	z-index: 99;
  text-decoration: none;
}

/*Rango Dinamico*/
@media (max-width: 1280px) {
  img.img-fluid {
      width: 100%;
      margin: 0 auto;
  }
  .flip-card-back {
    font-size: .7rem;
  }
  }
@media (max-width: 992px) {
img.img-fluid {
    width: 100%;
    margin: 0 auto;
}
.flip-card-back {
  font-size: .4rem;
}
}

@media (max-width: 767px) {
img.img-fluid {
    width: 100%;
    margin: 0 auto;
    display: block;
}
.flip-card-back {
  font-size: .9rem;
}
.imagenidioma{
  width: 38%; /* Ancho deseado */
  height: auto; /* Altura deseada */
  margin-left: 30%;
}

}
@media only screen and (max-width: 600px) {
  .btn-flotante {
   font-size: 14px;
   padding: 12px 20px;
   bottom: 20px;
   right: 100px;
   width: 70px; /* Ajusta el ancho deseado */
 }
 .btn-flotante-idioma{
   font-size: 14px;
   padding: 12px 20px;
   bottom: 20px;
   right: 20px;
   width: 70px; /* Ajusta el ancho deseado */
 }
}
@media (max-width: 576px) {
img.img-fluid {
    width: 100%;
    margin: 0 auto;
    display: block;
}
.tituloswhite {
    font-size: 1.1rem;
}
}

@media (max-width: 380px) {
img.img-fluid {
    width: 100%;
    margin: 0 auto;
    display: block;
}
.tituloswhite {
    font-size: 0.8rem;
}
}

.modal-xl {
    max-width: 90%;
}
.text-container {
    padding: 2rem;
}

.custom-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.custom-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.custom-year {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.custom-button {
    font-size: 1.5rem;
    padding: 1rem 2rem;
}

.custom-modal-content {
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    background-image: url('/static/img/retimg.jpg');
    background-size: cover;
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.custom-btn-color {
    background-color: #005137;
    color: white;
}



@media (min-width: 1200px) {
    .custom-subtitle {
        font-size: 2rem;
    }
    .custom-title {
        font-size: 3.5rem;
    }
    .custom-year {
        font-size: 6rem;
    }
    .custom-button {
        font-size: 2rem;
        padding: 1.5rem 3rem;
    }
    .modal-close {
        font-size: 2rem;
    }
}
/*Animaciones*/

@keyframes aparecer {
  from {
    opacity: 0; /* Empieza con una opacidad de 0 (invisible) */
    transform: translateY(20px); /* Puedes agregar transformaciones, como desplazar el texto hacia abajo */
  }
  to {
    opacity: 1; /* Termina con una opacidad de 1 (totalmente visible) */
    transform: translateY(0); /* Termina en su posición original */
  }
}
.custom-button {
    color: white;
    background-color: #005137;
}


.modal-close-custom {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1;
}


.lastret{
    margin-bottom: 50px;
}

/* =========================================================
   RETAIL COMMUNITY - CORRECCIONES FINALES
   Mantener al final: prevalecen sobre las reglas heredadas.
   No se modifican el navbar ni el footer global.
   ========================================================= */

/* Evitar desbordamientos y espacios producidos por márgenes fijos. */
.bg-retail, .retai, .wow, .wowinf, .lastret { max-width: 100%; }
.bg-retail *, .retai *, .wow *, .wowinf *, .lastret * { box-sizing: border-box; }
.bg-retail .container-sm, .retai .container-xxl,
.wow .container-xxl, .wowinf .container-xxl, .lastret .cont {
  max-width: 1200px;
  margin-inline: auto;
}
.bg-retail { min-height: 440px; height: min(65vh, 720px); display: flex; align-items: center; }
.bg-retail .container-sm { width: 100%; }
.bg-retail .cardretail { width: min(100%, 700px); margin: 32px auto; opacity: .95; }
.bg-retail .cardretail img { display: block; width: min(55%, 320px); max-width: 100%; padding-top: 16px; }
.bg-retail .cardretail .card-body { padding: clamp(20px, 3vw, 36px); }
.retai { padding: clamp(36px, 5vw, 70px) 0; }
.retai h1, .retai p { padding: 0; margin: 0 auto; max-width: 980px; }
.retai h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.retai p { font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.65; text-align: left; }
.wow > .col-md-12 > .row { margin-inline: 0; }
.wow .reutex { padding: clamp(28px, 4vw, 65px); }
.wow .reutex h1, .wow .reutex p { margin: 0 0 20px; padding: 0; }
.wow .reutex h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.wow .reutex p, .wow .reutex li { font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.65; text-align: left; }
.wow .reutex li { padding-top: 0; margin-bottom: 10px; }
.wow .reutex ul { padding-left: 1.35rem; margin-bottom: 0; }
.wowinf { padding: clamp(36px, 4.5vw, 64px) 0; }
.wowinf h1 { padding: 0; margin: 0 auto 20px; max-width: 1000px; font-size: clamp(1.65rem, 2.7vw, 2.3rem); line-height: 1.3; }
.wowinf p { margin: 0 auto; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; text-align: center; }
.wowinf .textoimg { max-width: 1050px; margin: 34px auto 0; justify-content: center; row-gap: 30px; }
.wowinf .textoimg > .col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.wowinf .textoimg .imgred { display: block; width: clamp(64px, 7vw, 100px); height: 100px; max-width: 100%; object-fit: contain; margin: 0; }
.wowinf .textoimg p { max-width: 300px; padding: 0; margin: 0; font-size: clamp(.95rem, 1.25vw, 1.1rem); }
/* Distribuir tres bloques incluso si el HTML conserva row-cols-md-4. */
@media (min-width: 768px) {
  .wowinf .textoimg > .col { flex: 0 0 33.333333%; width: 33.333333%; max-width: 33.333333%; }
}
.wow .pimg { padding: clamp(20px, 3vw, 42px) 0; }
.wow .pimg img { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto; object-fit: contain; }
.lastret { padding: clamp(36px, 5vw, 70px) 20px; margin-bottom: 0; }
.lastret > h1 { margin: 0 auto 32px; padding: 0; font-size: clamp(1.75rem, 3vw, 2.3rem); }
.lastret .cont { width: 100%; max-width: 1050px; margin-top: 0 !important; }
.lastret .row { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.lastret .flip-card { width: 100%; height: 420px; }
.lastret .flip-card-inner { padding-bottom: 0; }
.lastret .flip-card-back { padding: 20px; font-size: .9rem; line-height: 1.45; overflow-y: auto; }
.lastret .flip-card-back .container { width: 100%; padding: 0; }
.lastret .flip-card-back p { margin: 0 0 8px; }
.lastret .flip-card-back ul { margin: 8px 0 0; padding-left: 20px; }
.lastret .flip-card-back li { margin-bottom: 5px; }
.btn-flotante, .btn-flotante-idioma { display: grid; place-items: center; width: 58px; height: 58px; padding: 10px; line-height: normal; bottom: 20px; border-radius: 12px; }
.btn-flotante { right: 90px; }
.btn-flotante-idioma { right: 20px; }
.btn-flotante .imagenidioma, .btn-flotante-idioma .imagenidioma { display: block; width: 100%; max-width: 36px; height: auto; margin: 0; }
.modal-dialog.modal-xl { width: calc(100% - 32px); max-width: 960px; margin-inline: auto; }
.custom-modal-content { background-position: center; }
.custom-modal-content .modal-body img { max-width: 100%; height: auto; }
.custom-modal-content .custom-title { font-size: clamp(1.5rem, 3.4vw, 2.8rem); overflow-wrap: anywhere; }
.custom-modal-content .custom-subtitle { font-size: clamp(1rem, 2vw, 1.5rem); }
.custom-modal-content .custom-button { font-size: clamp(.95rem, 1.6vw, 1.2rem); padding: 12px 20px; max-width: 100%; white-space: normal; }

@media (max-width: 991.98px) {
  .bg-retail { min-height: 390px; height: auto; }
  .wow .reutex { padding: 32px 26px; }
  .wowinf .textoimg { margin-top: 28px; }
  .lastret .flip-card { height: 460px; }
  .lastret .flip-card-back { font-size: .9rem; }
}
@media (max-width: 767.98px) {
  .bg-retail { min-height: 350px; padding: 24px 16px; }
  .bg-retail .cardretail { margin: 12px auto; }
  .bg-retail .cardretail img { width: min(65%, 260px); }
  .retai, .wowinf { padding: 36px 0; }
  .retai .container-xxl, .wowinf .container-xxl { padding-inline: 22px; }
  .retai h1 { margin-bottom: 14px; }
  .retai p { font-size: 1rem; line-height: 1.6; }
  .wow .reutex { padding: 30px 22px; }
  .wow .reutex h1 { margin-bottom: 14px; }
  .wow .reutex p { margin-bottom: 14px; }
  .wow .bg-line { box-shadow: none; border-bottom: 1px solid rgba(0,68,43,.18); }
  .wowinf h1 { font-size: clamp(1.5rem, 5vw, 1.9rem); margin-bottom: 14px; }
  .wowinf .textoimg { margin: 24px auto 0; row-gap: 24px; }
  .wowinf .textoimg > .col { flex: 0 0 100%; width: 100%; max-width: 100%; gap: 10px; }
  .wowinf .textoimg .imgred { width: 76px; height: 76px; }
  .wowinf .textoimg p { max-width: 340px; }
  .wow .pimg { padding: 20px 0; }
  .lastret { padding: 36px 20px; }
  .lastret .row { --bs-gutter-y: 18px; }
  /* En táctil mostrar todo el contenido: no depende de hover ni recorta texto. */
  .lastret .flip-card { height: auto; min-height: 0; perspective: none; overflow: hidden; border: 1px solid rgba(0,68,43,.12); }
  .lastret .flip-card-inner { height: auto; transform: none !important; display: flex; flex-direction: column; }
  .lastret .flip-card-front, .lastret .flip-card-back { position: static; width: 100%; height: auto; transform: none; backface-visibility: visible; border-radius: 0; }
  .lastret .flip-card-front { padding: 22px 18px 16px; }
  .lastret .flip-card-front img { max-width: 80px !important; max-height: 80px !important; }
  .lastret .flip-card-front h5 { margin-bottom: 0; }
  .lastret .flip-card-back { padding: 20px 22px; overflow: visible; font-size: .95rem; align-items: stretch; text-align: left; }
  .btn-flotante, .btn-flotante-idioma { width: 46px; height: 46px; padding: 9px; bottom: 16px; }
  .btn-flotante { right: 74px; }
  .btn-flotante-idioma { right: 16px; }
  .btn-flotante .imagenidioma, .btn-flotante-idioma .imagenidioma { max-width: 29px; }
  .modal-dialog.modal-xl { width: calc(100% - 24px); margin: 12px auto; }
  .custom-modal-content .text-container { padding: 18px; }
  .custom-modal-content .modal-body { padding: 20px; }
}
@media (max-width: 380px) {
  .retai .container-xxl, .wowinf .container-xxl { padding-inline: 18px; }
  .wow .reutex { padding-inline: 18px; }
  .lastret { padding-inline: 16px; }
  .wowinf h1, .tituloswhite { font-size: 1.45rem; }
}
@media (hover: none), (pointer: coarse) {
  .lastret .flip-card { height: auto; min-height: 0; perspective: none; overflow: hidden; }
  .lastret .flip-card-inner { height: auto; transform: none !important; display: flex; flex-direction: column; }
  .lastret .flip-card-front, .lastret .flip-card-back { position: static; width: 100%; height: auto; transform: none; backface-visibility: visible; }
  .lastret .flip-card-front { padding: 22px; }
  .lastret .flip-card-back { overflow: visible; padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .wow, .retai h1, .retai p { opacity: 1; animation: none; }
  .flip-card-inner, .btn-flotante { transition: none; }
}


/* =========================================================
   NUESTRO MODELO - THE RETAIL COMMUNITY
   Basado en el material "Modelo TRC".
   ========================================================= */
.trc-model {
  background: #fff;
  color: #202020;
  overflow: hidden;
}

.trc-model__banner {
  width: 100%;
  height: clamp(110px, 12vw, 165px);
  overflow: hidden;
}

.trc-model__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trc-model__inner {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(46px, 6vw, 78px) 0 clamp(54px, 7vw, 90px);
}

.trc-model__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 62px);
}

.trc-model__header h2 {
  margin: 0 0 8px;
  color: #00442b;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: .01em;
}

.trc-model__header p {
  margin: 0;
  color: #1e1e1e;
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  line-height: 1.4;
}

.trc-model__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 68px) clamp(50px, 7vw, 90px);
}

.trc-model__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.trc-model__icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: #557f4f;
}

.trc-model__icon svg {
  display: block;
  width: 72px;
  height: 72px;
}

.trc-model__copy {
  min-width: 0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.45;
}

.trc-model__copy p {
  margin: 0 0 4px;
}

.trc-model__copy strong {
  display: block;
  color: #171717;
  font-weight: 800;
}

.trc-model__copy ul {
  margin: 0 0 5px;
  padding-left: 1.15rem;
}

.trc-model__copy li {
  margin-bottom: 3px;
}

.trc-model__copy li::marker {
  color: #1999bf;
}

/* CTA final: deliberadamente mucho más grande que el anterior. */
.retail-community-cta {
  display: flex;
  justify-content: center;
  padding: clamp(50px, 6vw, 82px) 20px;
  background: #fff;
}

.retail-community-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  min-height: 92px;
  padding: 24px 48px;
  border: 2px solid #00442b;
  border-radius: 18px;
  background: #005137;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 14px 28px rgba(0, 68, 43, .22);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.retail-community-cta__button:hover {
  background: #003f2b;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 68, 43, .28);
}

.retail-community-cta__button:focus-visible {
  outline: 3px solid #77b996;
  outline-offset: 4px;
}

@media (max-width: 767.98px) {
  .trc-model__banner {
    height: 105px;
  }

  .trc-model__inner {
    width: calc(100% - 36px);
    padding: 42px 0 54px;
  }

  .trc-model__header {
    margin-bottom: 38px;
  }

  .trc-model__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .trc-model__item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
  }

  .trc-model__icon {
    width: 64px;
    height: 64px;
  }

  .trc-model__icon svg {
    width: 58px;
    height: 58px;
  }

  .retail-community-cta {
    padding: 42px 18px 54px;
  }

  .retail-community-cta__button {
    width: 100%;
    min-height: 84px;
    padding: 20px 24px;
    border-radius: 15px;
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }
}

@media (max-width: 420px) {
  .trc-model__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trc-model__icon {
    width: 58px;
    height: 58px;
  }

  .trc-model__icon svg {
    width: 54px;
    height: 54px;
  }
}

/* =========================================================
   RETAIL COMMUNITY — AJUSTES CONSOLIDADOS
   Este bloque sustituye los parches posteriores.
   ========================================================= */

/* EL RETO / EL PROBLEMA: bloque centrado y contenido. */
.wow > .col-md-12 {
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
}

.wow > .col-md-12 > .row {
  width: 100%;
  margin-inline: 0;
}

.wow .reutex { min-width: 0; }

/* BOTONES FLOTANTES: dimensiones/posición del estilo BC&B original. */
.btn-flotante,
.btn-flotante-idioma {
  display: block;
  border-radius: 10px;
  background-color: #fff;
  padding: 18px 30px;
  position: fixed;
  width: 100px;
  height: auto;
  text-align: center;
  line-height: 50px;
  bottom: 40px;
  box-shadow: 10px 10px 23px -2px rgba(0,0,0,.76);
  z-index: 99;
  text-decoration: none;
}

.btn-flotante {
  right: 150px;
  transition: all 300ms ease 0ms;
}

.btn-flotante-idioma { right: 40px; }

.btn-flotante:hover {
  color: #fff;
  box-shadow: 10px 10px 23px -2px rgba(0,0,0,.76);
  transform: translateY(-7px);
}

.btn-flotante .imagenidioma,
.btn-flotante-idioma .imagenidioma,
.imagenidioma {
  display: block;
  width: 60%;
  max-width: none;
  height: auto;
  margin-left: 20%;
}

/* HERO RETAIL COMMUNITY */
.retai {
  background: #00442b;
  padding: 42px 20px 46px !important;
}

.retai .container-xxl {
  width: min(100%, 1050px);
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.retai .container-xxl > img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 0 auto 22px;
}

.retai .container-xxl > p {
  width: 100%;
  max-width: none;
  margin: 0 0 22px !important;
  padding: 0 !important;
  text-align: center;
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
}

.retai .container-xxl > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  min-height: 56px;
  padding: 16px 30px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

/* CLIENTES — desktop/tablet normal; mobile queda reservado para Swiper. */
.retail-clients {
  background: #f7fcf8;
  padding: 70px 24px 78px;
  color: #00442b;
}

.retail-clients__heading {
  width: min(100%, 1180px);
  margin: 0 auto 34px;
  text-align: center;
}

.retail-clients__heading h2 {
  margin: 0;
  color: #00442b;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.retail-clients__surface {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border-radius: 18px;
}

@media (min-width: 768px) {
  .retail-clients__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 14px;
  }

  .retail-clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 70px;
    padding: 8px;
  }

  .retail-clients__item img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 54px !important;
    object-fit: contain;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  /* 50 logos = 5 filas exactas de 10 en desktop */
  .retail-clients__item {
    flex: 0 0 calc((100% - 126px) / 10);
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .retail-clients__item {
    flex: 0 0 calc((100% - 70px) / 6);
  }
}

@media (max-width: 991.98px) {
  .retai { padding: 36px 24px 40px !important; }
  .retai .container-xxl > img {
    width: min(100%, 680px);
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .wow > .col-md-12 {
    width: min(calc(100% - 32px), 620px);
  }

  .wow > .col-md-12 > .row { margin-inline: 0; }
  .wow .reutex { padding: 30px 22px; }

  .retai { padding: 32px 18px 36px !important; }
  .retai .container-xxl { width: 100%; }
  .retai .container-xxl > img {
    width: 100%;
    max-width: 520px;
    margin-bottom: 18px;
  }
  .retai .container-xxl > p {
    font-size: 1.15rem;
    margin-bottom: 18px !important;
  }
  .retai .container-xxl > .btn {
    min-height: 52px;
    padding: 14px 24px;
    font-size: .95rem;
  }

  .retail-clients {
    padding: 48px 18px 56px;
  }
  .retail-clients__heading {
    margin-bottom: 26px;
    padding: 0 8px;
  }
  .retail-clients__heading h2 {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
  }
  .retail-clients__surface {
    width: 100%;
    padding: 24px 18px;
    border-radius: 18px;
  }

  /* NO aplicar flex/grid/flex-basis a __grid/__item aquí: lo controla Swiper. */
  .retail-clients__item img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 48px !important;
    object-fit: contain;
    margin: auto;
  }

  .btn-flotante .imagenidioma,
  .btn-flotante-idioma .imagenidioma,
  .imagenidioma {
    width: 38%;
    max-width: none;
    height: auto;
    margin-left: 30%;
  }
}

@media only screen and (max-width: 600px) {
  .btn-flotante,
  .btn-flotante-idioma {
    display: block;
    font-size: 14px;
    padding: 12px 20px;
    bottom: 20px;
    width: 70px;
    height: auto;
    line-height: 50px;
  }
  .btn-flotante { right: 100px; }
  .btn-flotante-idioma { right: 20px; }
}

@media (max-width: 420px) {
  .retai { padding: 28px 16px 32px !important; }
  .retai .container-xxl > img { margin-bottom: 16px; }
}

/* =========================================================
   CLIENTES - SWIPER SOLO EN MOVIL
   Replica el carrusel correcto de Consultoria Retail:
   6 logos por slide, 3 columnas x 2 filas.
   ========================================================= */
@media (max-width: 767.98px) {
  .retail-clients__grid.retail-clients__grid--swiper {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .retail-clients__swiper {
    width: 100%;
    overflow: hidden;
  }

  .retail-clients__swiper .swiper-wrapper {
    align-items: stretch;
  }

  .retail-clients__swiper .swiper-slide {
    height: auto;
  }

  .retail-clients__slide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 82px);
    gap: 16px 12px;
    width: 100%;
    align-items: center;
  }

  .retail-clients__slide-grid .retail-clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    height: 82px;
    padding: 6px;
  }

  .retail-clients__slide-grid .retail-clients__item img {
    display: block;
    max-width: 100% !important;
    max-height: 66px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .retail-clients__grid {
    overflow: visible;
  }
}

/* =========================================================
   SWIPER MOBILE — GRID 3x2 + PAGINACIÓN DEBAJO
   ========================================================= */

@media (max-width: 767.98px) {

    .retail-clients__swiper {
        position: relative;
        width: 100%;
        overflow: hidden;

        /* Reserva espacio EXCLUSIVO para las bolitas */
        padding-bottom: 38px !important;
    }

    .retail-clients__swiper .swiper-wrapper {
        align-items: stretch;
    }

    .retail-clients__swiper .swiper-slide {
        height: auto;
    }

    /* Los seis logos viven exclusivamente aquí */
    .retail-clients__slide-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(2, 82px) !important;

        column-gap: 14px;
        row-gap: 14px;

        width: 100%;
        padding: 4px 2px 12px;
        box-sizing: border-box;
    }

    .retail-clients__slide-grid .retail-clients__item {
        width: 100% !important;
        height: 82px !important;
        min-width: 0;

        display: flex !important;
        align-items: center;
        justify-content: center;

        padding: 7px;
        box-sizing: border-box;
    }

    .retail-clients__slide-grid .retail-clients__item img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 64px !important;
        object-fit: contain;
        margin: auto;
    }

    /* Las bolitas quedan FUERA del grid de logos */
    .retail-clients__swiper .swiper-pagination {
        position: absolute !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 4px !important;

        width: 100% !important;
        height: 18px;

        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;

        z-index: 20;
    }

    .retail-clients__swiper .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
        min-width: 10px;

        margin: 0 !important;

        border-radius: 50%;
        background: #00442b !important;
        opacity: .22 !important;
    }

    .retail-clients__swiper .swiper-pagination-bullet-active {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px;

        background: #005137 !important;
        opacity: 1 !important;
    }
}
/* ============================================================
   ACTUALIZACIÓN DE SECCIONES: HERO / INTRO / RETO
   Los logos y Swiper se mantienen sin modificaciones.
   ============================================================ */
.trc-hero.retai {
  background-color:#00442b;
  background-image:linear-gradient(rgba(0,45,30,.62),rgba(0,45,30,.62)),url('../img/retailcomint.png');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  padding:clamp(34px,4vw,54px) 20px !important;
  min-height:0;
}
.trc-hero.retai .container-xxl {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:min(100%,960px);max-width:960px;margin:0 auto;padding:0 !important;
  background:transparent !important;box-shadow:none !important;border:0;
}
.trc-hero.retai .container-xxl > img {
  display:block;width:min(100%,640px);height:auto;margin:0 auto 22px;
  background:transparent;border:0;box-shadow:none;
}
.trc-hero.retai .container-xxl > p {
  margin:0 auto 20px !important;padding:0 !important;text-align:center;
  font-size:clamp(1.25rem,2vw,1.7rem);font-weight:600;line-height:1.35;
  color:white;max-width:100%;
}
.trc-hero.retai .container-xxl > .btn {
  display:inline-flex;align-items:center;justify-content:center;
  padding:15px 28px;min-height:54px;margin:0 auto;
  font-size:clamp(.95rem,1.25vw,1.08rem);font-weight:600;
}
.trc-intro {padding:clamp(34px,4vw,56px) 22px;text-align:center;background:#00442b;color:white;}
.trc-intro__inner {max-width:900px;margin:0 auto;}
.trc-intro h2 {color:white;font-size:clamp(1.55rem,2.5vw,2.15rem);font-weight:750;margin:0 0 14px;}
.trc-intro p {font-size:clamp(1.05rem,1.5vw,1.23rem);line-height:1.65;margin:0 auto;max-width:850px;}
.trc-challenge.wow {padding:clamp(60px,7vw,100px) 22px;background:#fff;text-align:center;}
.trc-challenge__inner {max-width:940px;margin:0 auto;}
.trc-challenge h2 {font-size:clamp(2.2rem,4vw,3.35rem);font-weight:800;color:#00442b;margin:0 0 24px;line-height:1.15;}
.trc-challenge p {font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.55;font-weight:500;color:#00442b;margin:0 auto;max-width:850px;text-align:center;}
@media(max-width:767.98px){
 .trc-hero.retai {padding:30px 18px 38px !important;}
 .trc-hero.retai .container-xxl > img {width:min(100%,480px);margin-bottom:18px;}
 .trc-hero.retai .container-xxl > p {font-size:1.18rem;}
 .trc-hero.retai .container-xxl > .btn {padding:13px 20px;min-height:50px;}
 .trc-intro {padding:38px 22px;}
 .trc-challenge.wow {padding:58px 22px;}
}


/* ============================================================
   HERO FINAL - FOTO / LOGO / INFORMACIÓN
   ============================================================ */
.trc-hero-photo {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #003d2a;
  background-image:
    linear-gradient(rgba(0, 55, 38, .48), rgba(0, 55, 38, .48)),
    url('../img/retailcomint.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 48%;
}

.trc-hero-photo__inner {
  width: min(92%, 900px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trc-hero-photo__inner > img {
  display: block;
  width: min(100%, 650px);
  height: auto;
  max-height: 330px;
  object-fit: contain;
  margin: 0 auto;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.trc-hero-info {
  width: 100%;
  padding: 30px 20px 34px;
  background: #00442b;
  color: #fff;
  text-align: center;
}

.trc-hero-info__inner {
  width: min(100%, 900px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trc-hero-info p {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 650;
  line-height: 1.3;
}

.trc-hero-info .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  margin: 0;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  font-weight: 650;
}

/* El Reto queda como la siguiente sección real. */
.trc-challenge.wow {
  padding: clamp(64px, 7vw, 100px) 22px;
}

@media (max-width: 991.98px) {
  .trc-hero-photo {
    min-height: 420px;
    background-position: center center;
  }

  .trc-hero-photo__inner > img {
    width: min(88%, 570px);
    max-height: 280px;
  }
}

@media (max-width: 767.98px) {
  .trc-hero-photo {
    min-height: 330px;
    background-position: center center;
  }

  .trc-hero-photo__inner {
    width: 90%;
  }

  .trc-hero-photo__inner > img {
    width: min(92%, 470px);
    max-height: 220px;
  }

  .trc-hero-info {
    padding: 26px 18px 30px;
  }

  .trc-hero-info p {
    margin-bottom: 16px;
    font-size: 1.2rem;
  }

  .trc-hero-info .btn {
    min-height: 50px;
    padding: 13px 21px;
    font-size: .92rem;
  }
}

@media (max-width: 480px) {
  .trc-hero-photo {
    min-height: 280px;
  }

  .trc-hero-photo__inner > img {
    width: 94%;
    max-height: 190px;
  }
}


/* =========================================================
   HERO FINAL — FOTO LIMPIA / LOGO + TEXTO DEBAJO
   ========================================================= */
.trc-hero-photo {
  display: block;
  width: 100%;
  min-height: clamp(420px, 27vw, 540px);
  background-image:
    linear-gradient(rgba(0,68,43,.42), rgba(0,68,43,.42)),
    url('../img/retailcomint.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.trc-hero-photo__inner,
.trc-hero-photo > img {
  display: none !important;
}

.trc-hero-info {
  width: 100%;
  padding: 34px 20px 38px;
  background: #00442b;
  color: #fff;
  text-align: center;
}

.trc-hero-info__inner {
  width: min(100%, 900px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trc-hero-info__logo {
  display: block;
  width: min(82%, 520px);
  height: auto;
  max-height: 220px;
  object-fit: contain;
  margin: 0 auto 20px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.trc-hero-info p {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 650;
  line-height: 1.3;
}

.trc-hero-info .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  margin: 0;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  font-weight: 650;
}

@media (max-width: 991.98px) {
  .trc-hero-photo {
    min-height: 390px;
    background-position: center center;
  }
  .trc-hero-info__logo {
    width: min(86%, 470px);
  }
}

@media (max-width: 767.98px) {
  .trc-hero-photo {
    min-height: 300px;
    background-position: center center;
  }
  .trc-hero-info {
    padding: 28px 18px 32px;
  }
  .trc-hero-info__logo {
    width: min(88%, 390px);
    max-height: 180px;
    margin-bottom: 18px;
  }
  .trc-hero-info p {
    margin-bottom: 17px;
    font-size: 1.18rem;
  }
  .trc-hero-info .btn {
    min-height: 50px;
    padding: 13px 21px;
    font-size: .92rem;
  }
}

@media (max-width: 480px) {
  .trc-hero-photo {
    min-height: 245px;
  }
  .trc-hero-info__logo {
    width: 92%;
    max-height: 155px;
  }
}
