/* Escalado controlado para escritorio y pantallas grandes. */
@media screen and (min-width: 1025px) {
  :root { --acidul-page-max: 1600px; --acidul-content-max: 1320px; }
  html, body { max-width: 100%; overflow-x: clip; }
  body > main { width: min(100%, var(--acidul-page-max)); margin-inline: auto; }

  .container { width: min(calc(100% - 48px), var(--acidul-content-max)); max-width: var(--acidul-content-max); }
  main img, footer img, .navbar img { height: auto; max-width: 100%; }
  #carousel-id, #carousel-id2, #carousel-id3, .banTo, .backCon { width: 100%; max-width: var(--acidul-page-max); margin-inline: auto; overflow: hidden; }
  .banImg1, .banImg2, .banImg3, .imgBannProd, .imgBanCon { display: block; width: 100%; max-height: 680px; object-fit: cover; object-position: center; }
  .title-bann-hom { font-size: clamp(30px, 3.2vw, 50px); }
  .sub-bann-hom { font-size: clamp(70px, 6.7vw, 107px); }
  .text-prop-val { font-size: clamp(25px, 2.4vw, 38px); line-height: 1.2; }
  .title-qui { font-size: clamp(45px, 4.4vw, 70px); }
  .cont-qui { font-size: clamp(20px, 1.65vw, 26px); }
  .title-sab, .title-form { font-size: clamp(30px, 2.5vw, 40px); }
  .sub-sab { font-size: clamp(45px, 4vw, 64px); }
  .text-call-to, .btn.btn-conocer, .btn.btn-call-to { font-size: clamp(21px, 1.9vw, 30px); }
  .text2-call-to { font-size: clamp(32px, 3vw, 47px); }
  .imgBanuf { width: min(80%, 680px); max-width: 680px; }
  .imgProGo { width: auto; max-width: min(100%, 420px); max-height: 420px; object-fit: contain; }
  .contImgPro { display: grid; place-items: center; }
  .imgCar { max-width: 190px !important; max-height: 110px !important; object-fit: contain !important; }
  #nosotros {
    height: min(720px, calc(100svh - 96px));
    min-height: 560px;
    margin-top: clamp(16px, 3vh, 32px) !important;
  }
  #nosotros > .dFC,
  #nosotros > .bacRo,
  #nosotros > .dFC picture { height: 100%; }
  #nosotros > .dFC {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }
  #nosotros > .dFC picture {
    display: grid;
    width: 100%;
    place-items: center;
  }
  #nosotros > .bacRo { align-items: center; justify-content: center; }
  #nosotros > .bacRo > .row {
    width: 100%;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
  #nosotros > .dFC,
  #nosotros > .dFC picture { background-color: #f8ced8; }
  .imgQui {
    display: block;
    width: 100%;
    max-width: none;
    height: 100% !important;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
  }
  #nosotros .title-qui { font-size: clamp(42px, 4vw, 60px); margin-bottom: 8px; }
  #nosotros .cont-qui {
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.28;
    margin-bottom: 10px;
    padding-inline: 8px;
  }
  #nosotros .cont-qui.ital { margin-top: 12px; }
  .img-Call, .img-Call3 { max-width: 720px; max-height: 720px; object-fit: contain; }
  .imgCall2 { max-width: 620px; max-height: 620px; object-fit: contain; }
  .imgCall2Iz, .imgCall2De, .imgderecho, .imgizquierdo, .imgCallP2 { max-width: 520px; max-height: 620px; object-fit: contain; }
  .imglagartoConta { max-width: 330px; max-height: 390px; object-fit: contain; }
  .main-img-container { display: grid; min-height: 360px; place-items: center; }
  .main-img-container img, .main-img { width: auto !important; max-width: min(100%, 440px) !important; max-height: 440px; object-fit: contain; }
  .thumb-img { width: 64px; height: 64px; object-fit: contain; }
  .img_prod { width: 100%; max-height: 130px; object-fit: cover; }
  .imgDes { width: auto; max-width: 170px; max-height: 170px; object-fit: contain; }
  .imgLaC { width: min(100%, 190px); max-height: 190px; object-fit: contain; }
  .imgComCon, .imgVenCon, .imgRhCon, .imgFle, .imgPin { width: auto; max-width: 120px; max-height: 90px; object-fit: contain; }
  #modal-img { width: min(30%, 150px) !important; max-height: 150px; object-fit: contain; }
}
@media screen and (min-width: 1800px) {
  body { background: #f7f7f7; }
  body > main { box-shadow: 0 0 36px rgba(29, 20, 42, 0.08); }
}
/* Bandas de acceso a marketplaces compartidas por las landings. */
.marketplace-bands {
  display: block;
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  background: #fff;
}
.banTo > .marketplace-bands { margin-top: -30px; }
.marketplace-bands__link,
.marketplace-bands__link picture,
.marketplace-bands__link img {
  display: block;
  width: 100%;
}
.marketplace-bands__link img { height: auto; }
/* Ajuste del contenido del home posterior a las bandas. */
.bacSab { display: none !important; }
.cont-prop-val { margin-top: 7rem; }

@media screen and (max-width: 1024px) {
  .cont-prop-val { margin-top: 3rem; }
}

@media screen and (max-width: 540px) {
  .cont-prop-val { margin-top: 4rem; }
}
/* Propuesta de valor: franja limpia inmediatamente después de marketplaces. */
.home-value-row {
  width: 100%;
  margin: 0;
  background: #f99237;
}
.home-value-row > div:first-child,
.home-value-row > div:last-child { display: none; }
.home-value-row > div:nth-child(2) {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  padding: 0;
}
.home-value-row .cont-prop-val { margin: 0; }
.home-value-row .cont-prop-val::after { display: none; }
.home-value-row .text-prop-val {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 46px) clamp(24px, 5vw, 72px);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.35;
}

@media screen and (max-width: 540px) {
  .home-value-row .text-prop-val {
    padding: 24px 18px;
    font-size: 18px;
    line-height: 1.4;
  }
}
/* Carrusel de clientes centrado entre secciones. */
#CarEsc {
  width: 100%;
  min-height: 170px;
  margin: 0;
  padding: clamp(28px, 3.5vw, 48px) 0;
  align-items: center;
  background: #fff;
}
#CarEsc > div:nth-child(2) { margin-inline: auto; }
#CarEsc .owl-stage { display: flex; align-items: center; }
#CarEsc .owl-item { display: flex; align-items: center; justify-content: center; }
#CarEsc .imgCar {
  width: 100% !important;
  max-width: 175px !important;
  height: 86px !important;
  max-height: 86px !important;
  margin: auto !important;
  object-fit: contain !important;
}
#CarEsc .owl-carousel .owl-nav button.owl-prev,
#CarEsc .owl-carousel .owl-nav button.owl-next {
  top: 50% !important;
  transform: translateY(-55%);
  font-size: 72px !important;
  line-height: 1 !important;
}
#CarEsc .owl-carousel .owl-nav button.owl-prev { left: -42px !important; }
#CarEsc .owl-carousel .owl-nav button.owl-next { right: -42px !important; left: auto !important; }
#nosotros { margin-top: 0 !important; }

@media screen and (max-width: 540px) {
  #ClieMov {
    width: 100%;
    margin: 0;
    padding: 24px 0;
    justify-content: center;
    background: #fff;
  }
  #ClieMov > .col-1 { display: none; }
  #ClieMov > .col-12 {
    flex: 0 0 100%;
    width: 100%;
    margin: 0 !important;
    text-align: center;
  }
  #ClieMov img {
    display: block;
    width: min(100%, 415px);
    height: auto;
    margin: auto;
    object-fit: contain;
  }
}
/* Mascota circular junto a la propuesta de valor. */
.home-value-row .cont-prop-val {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 15vw, 210px);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(22px, 2.5vw, 38px) clamp(28px, 5vw, 76px);
}
.home-value-row .text-prop-val {
  max-width: none;
  padding: 0;
}
.home-value-mascot {
  display: grid;
  place-items: center;
}
.home-value-mascot img {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  animation: home-mascot-float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 12px rgba(91, 40, 0, .2));
}
@keyframes home-mascot-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home-value-mascot img { animation: none; }
}
@media screen and (max-width: 700px) {
  .home-value-row .cont-prop-val {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 18px;
  }
  .home-value-mascot img { width: min(42vw, 170px); }
}
/* Alineación del contenido de Quiénes somos dentro del panel rosa. */
#nosotros > .bacRo > .row > div:first-child {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(24px, 3vw, 48px);
}
#nosotros > .bacRo > .row > div:last-child { display: none; }
#nosotros > .bacRo .row .col-1 { display: none; }
#nosotros > .bacRo .row .col-10 {
  flex: 0 0 100%;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}
#nosotros .title-qui,
#nosotros .cont-qui {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
#nosotros .cont-qui { padding-inline: clamp(8px, 1.5vw, 20px); }

@media screen and (max-width: 1200px) and (min-width: 1025px) {
  #nosotros > .bacRo > .row > div:first-child { padding-inline: 20px; }
  #nosotros .cont-qui { font-size: 17px; line-height: 1.25; }
}
/* Banner compacto de Contacto. */
.banTo .carousel-inner.contac {
  height: clamp(135px, 10vw, 170px);
}
.banTo .carousel-captionCont {
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
}
.banTo .title-bann-prod {
  margin: 0;
  padding: 0;
  font-size: clamp(52px, 5.5vw, 78px);
  line-height: .95;
}

@media screen and (max-width: 540px) {
  .banTo .carousel-inner.contac { height: 112px; }
  .banTo .title-bann-prod {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1;
  }
}
/* Alineación de columnas del formulario de Contacto. */
.backCon .menCon1 {
  margin: 0 0 12px;
  line-height: .92;
}
.backCon .menCon2,
.backCon .menCon3 {
  margin: 0;
  line-height: 1.15;
}
.backCon .menCon3 { margin-top: 2px; }
.backCon .cont-imgC {
  min-height: 0;
  margin: 0 0 18px;
}
.backCon .cont-imgC .imgLaC {
  display: block;
  width: clamp(145px, 14vw, 190px);
  max-width: 190px;
  margin: 0 auto;
}

@media screen and (min-width: 999px) {
  .backCon {
    align-items: flex-start;
    padding-top: clamp(24px, 3vw, 44px);
  }
  .backCon .pa5,
  .backCon .pCon { padding-top: 0; }
  .backCon .pCon { justify-content: flex-start; }
}

@media screen and (max-width: 998px) {
  .backCon .cont-imgC { margin-top: 0; }
}
/* Accesos sociales y de contacto en el header. */
.header-socials {
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 !important;
  white-space: nowrap;
}
.header-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 1px !important;
}
.header-social-icon {
  display: block;
  width: 40px;
  height: 40px !important;
  object-fit: contain;
}
.header-location-icon { padding: 3px; }
.header-whatsapp-icon {
  padding: 8px;
  border-radius: 50%;
  color: #fff;
  fill: currentColor;
  background: #25d366;
}
.header-social-link:hover .header-social-icon,
.header-social-link:focus-visible .header-social-icon { transform: translateY(-2px); }
.header-social-icon { transition: transform .2s ease; }
@media (max-width: 991px) {
  .header-socials { margin: 4px 0 8px; }
}
