/* =========================
   QUIENES SOMOS (BODY)
   Extensiones usando nomenclatura del home
   ========================= */

/* util: title */
.home__section-title{
  width: min(100%, 1265px);
  margin: 0 auto 22px;
  font-size: 30px;
  font-weight: 700;
  color: #5b5b5f;
  text-align: center;
}
.home__section-title--left{ text-align:left; }

/* -------------------------
   SECTION 1: HERO
   ------------------------- */
.home__about-hero{
  background:#eaeaea;
  padding: clamp(26px, 3.8vw, 54px) 0;
}

.home__about-hero-wrap{
  --inpesa-inner-width: 1265px;
  --inpesa-inner-gutter: clamp(18px, 3vw, 50px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(18px, 3vw, 50px);
  align-items: center;
}

.home__about-hero-left h1{
  font-size: 56px;
  line-height: 1.12;
  margin: 0 0 30px;
  color:#5b5b5f;
  font-weight:700;
}

.home__about-hero-left p{
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 30px;
  color:#707070;
  font-weight:300;
}

.home__about-hero-left .btn.primary{
  margin-top: 30px;
  margin-left: 0;
  display: inline-block;
  background-color: #5b5b5f;
}

/* -------------------------
   SECTION 2: INTRO
   ------------------------- */
.home__about-intro{
  background:#eaeaea;
  background-image:url("../asstes/images/bg-mozaico-1.png");
  background-repeat:repeat;
  background-size:140px auto;
  padding: clamp(22px, 3.2vw, 44px) 0;
}

.home__section-2.home__about-intro{
  background-color: #eaeaea;
  background-image: url("../asstes/images/bg-mozaico-2.png");
  background-repeat: repeat;
  background-size: 140px auto;
}

.home__about-intro-wrap{
  --inpesa-inner-width: 1265px;
  --inpesa-inner-gutter: clamp(18px, 3vw, 50px);
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items:start;
}

.home__about-intro-left p{
  margin: 0 0 14px;
  color:#707070;
  font-size: 19px;
  line-height: 1.55;
  font-weight:400;
}

.home__about-intro-right{
  max-width:550px;
}

.home__about-intro-right h2{
  margin: 0;
  color:#5b5b5f;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
  font-weight:700;
  text-align:right;
  font-size: 35px;
  max-width:550px;
  margin-bottom:50px;
}

.home__about-intro-right > img{
  margin-top: 20px;
  margin-left: auto;
  width: min(100%, 520px);
  height: auto;
  display: block;
  object-fit: contain;
  border-radius:15px;
}

/* -------------------------
   SECTION 3: HISTORIA (AZUL)
   ------------------------- */
.home__about-history{
  background:#009cbd;
  background-image:url("../asstes/images/bg-mozaico-1.png");
  background-repeat:repeat;
  background-size:140px auto;
  padding: clamp(26px, 3.8vw, 54px) 0;
}

.home__about-history-inner,
.home__about-values-inner,
.home__about-clients-inner,
.home__about-awards-inner {
  --inpesa-inner-width: 1265px;
  --inpesa-inner-gutter: clamp(18px, 3vw, 50px);
}

.home__about-history .home__section-title{
  color:#ffffff;
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 700;
}

.home__about-history .home__catalog-wrap{
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 15px;
  grid-template-columns: 1fr;
  padding-top: clamp(18px, 3vw, 40px);
  padding-left: clamp(18px, 3vw, 40px);
  padding-right: clamp(18px, 3vw, 40px);
  padding-bottom: clamp(18px, 3vw, 40px);
  gap: 14px;
}

.home__history-carousel{
  width: 100%;
}

.home__history-gallery-viewport{
  width: 100%;
}

.home__history-gallery{
  gap: 24px;
  align-items: stretch;
  width: max-content;
}

.home__about-history-item{
  flex: 0 0 360px;
  width: 360px;
  min-width: 260px;
  display:flex;
  flex-direction:column;
  align-items: flex-start;
  gap: 14px;
  text-align:left;
  color:#5b5b5f;
}

.home__about-history-icon{
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.home__about-history-item h3{
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color:#5b5b5f;
  line-height: 1.1;
}

.home__about-history-item h3 span{
  display:inline;
  font-size: 30px;
  font-weight: 300;
  margin-top: 0;
  color:#5b5b5f;
}

.home__about-history-item p{
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight:300;
  color:#707070;
}

.home__about-history-item p strong{ font-weight:700; color:#5b5b5f; }

.home__about-history .home__catalog-carousel-controls{
  width: 100%;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* -------------------------
   SECTION 4: VALORES (VERDE)
   ------------------------- */
.home__about-values{
  background:#6ba539;
  background-image:url("../asstes/images/bg-mozaico-1.png");
  background-repeat:repeat;
  background-size:140px auto;
  padding: clamp(26px, 3.8vw, 54px) 0;
}

.home__about-values .home__section-title{
  color:#ffffff;
  margin-bottom: 16px;
}

.home__about-values .home__catalog-wrap{
  --inpesa-inner-width: 1265px;
  --inpesa-inner-gutter: clamp(18px, 3vw, 50px);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 15px;
  grid-template-columns: 1fr;
  padding-top: clamp(18px, 3vw, 40px);
  padding-left: clamp(18px, 3vw, 40px);
  padding-right: clamp(18px, 3vw, 40px);
  padding-bottom: clamp(18px, 3vw, 40px);
}

.home__about-values-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
  justify-items: center;
}

.home__about-values-item{
  width: 100%;
  max-width: 360px;
  grid-column: span 2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content: center;
  text-align:center;
  gap: 10px;
}

.home__about-values-item > img{
  width: auto;
  height: auto;
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}

.home__about-values-item h3{
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color:#5b5b5f;
  line-height:1.2;
}

.home__about-values-item p{
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  font-weight:300;
  color:#707070;
}

.home__about-values-item:nth-child(4){
  grid-column: 2 / span 2;
}

.home__about-values-item:nth-child(5){
  grid-column: 4 / span 2;
}

/* -------------------------
   SECTION 5: CLIENTES (logos)
   ------------------------- */
.home__about-clients{
  background:#ffffff;
  padding: 18px 0 24px;
}

/* alias para tu HTML (.home__brands) y el CSS existente del home (.home__brands-carousel) */
.home__brands,
.home__brands-carousel{
  margin: 18px auto 0;
  width: 100%;
}

.home__brands-viewport,
.home__brands-viewport{
  width: 100%;
}

.home__brands-track{
  width:max-content;
  gap: 24px;
  padding: 10px 0;
}

.home__brands-track > img{
  width: auto;
  height: auto;
  max-height: 59px;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  background: transparent;
}

/* -------------------------
   SECTION 6: ACREDITACIONES + AFILIACIONES
   ------------------------- */
.home__about-credentials{
  background:#ffffff;
  padding: 20px 0 26px;
}

.home__about-credentials-wrap{
  --inpesa-inner-width: 1265px;
  --inpesa-inner-gutter: 0px;
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 50px);
  align-items:start;
}

.home__about-logos{
  display:flex;
  align-items:center;
  gap: 24px;
  margin-top: 10px;
  flex-wrap:wrap;
}

.home__about-logos > img{
  max-height: 70px;
  max-width: 190px;
  object-fit:contain;
}

/* -------------------------
   SECTION 7: RECONOCIMIENTOS (MAGENTA)
   ------------------------- */
.home__about-awards{
  background:#d0006f;
  background-image:url("../asstes/images/bg-mozaico-1.png");
  background-repeat:repeat;
  background-size:140px auto;
  padding: clamp(26px, 3.8vw, 54px) 0;
}

.home__about-awards .home__catalog-wrap{
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 15px;
  grid-template-columns: 1fr;
  padding-top: clamp(24px, 3vw, 50px);
  padding-left: clamp(24px, 3vw, 50px);
  padding-right: clamp(24px, 3vw, 50px);
  padding-bottom: clamp(24px, 3vw, 50px);
  gap: 18px;
}

.home__about-awards .home__section-title{
  font-size: 35px;
  line-height: 1.1;
  font-weight: 700;
}

.home__about-awards-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 34px);
  align-items:start;
  margin-top:50px;
}

.home__about-award-card{
  display:grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items:start;
}

.home__about-award-media{
  display:block;
}

.home__about-award-media > img{
  width: auto;
  height: auto;
  max-width: 100%;
  display:block;
}

.home__about-award-body h3{
  margin: 0 0 6px;
  color:#5b5b5f;
  font-size: 25px;
  font-weight: 800;
}

.home__about-award-body{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home__about-award-body p{
  margin: 0 0 6px;
  color:#707070;
  font-size: 16px;
  line-height: 1.35;
  font-weight:300;
}

.home__about-award-link{
  display:inline-flex;
  margin-top: 6px;
  color:#73204B;
  font-weight:700;
  font-size: 18px;
  text-decoration:none;
  align-self: flex-end;
  text-align: right;
}

/* -------------------------
   SECTION 8: PROCESO (5 pasos)
   ------------------------- */
.home__about-process{
  background:#ffffff;
  padding: clamp(24px, 3.6vw, 50px) 0 clamp(16px, 3vw, 44px);
}

.home__about-process .home__section-title{
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.home__about-process-head{
  width: min(100%, 1265px);
  margin: 0 auto 50px;
  padding: 0 clamp(18px, 3vw, 50px);
}

.home__about-process-head p{
  margin: 8px 0 0;
  color:#707070;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.home__about-process-grid{
  width: min(100%, 1265px);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 50px);
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.home__about-process-card{
  width: 354px;
  height: 412px;
  background-color: transparent;
  background-image: url("quienes-somos/back-proceso.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color:#ffffff;
  padding: 44px 38px 36px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content: center;
  text-align:center;
  gap: 30px;
  min-height: 412px;
}

.home__about-process-card > img{
  width: auto;
  height: auto;
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
}

.home__about-process-card h3{
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height:1.1;
}

.home__about-process-card p{
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight:300;
}

/* -------------------------
   SECTION 9: TESTIMONIOS
   ------------------------- */
.home__about-testimonials{
  background:#eaeaea;
  background-image: url("quienes-somos/back-clientes.png");
  background-repeat:repeat;
  background-size:140px auto;
  padding: 67px 0 100px;
}

.home__about-testimonials-grid{
  width: min(100%, 1265px);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 50px);
  display:grid;
  grid-template-columns: repeat(3, 260px);
  justify-content: center;
  gap: 50px;
  align-items:center;
  justify-items:center;
}

.home__about-testimonial{
  width: 260px;
  min-width: 260px;
  height: 340px;
  min-height: 340px;
  padding: 24px 18px;
  border-radius: 5px;
  background-color: #eaeaea;
  background-image: url("quienes-somos/back-clientes-2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.home__about-testimonial p{
  margin: 0;
  color:#5b5b5f;
  font-size: 18px;
  line-height: 1.35;
  font-weight:300;
  text-align: center;
}

.home__about-testimonial-author{
  margin: 0;
  color:#5b5b5f;
  font-size: 18px;
  line-height: 1.2;
  font-weight:700;
  text-align: center;
}
