@font-face {
	font-family:Avenir-Book;
	src: url('/public/css/fonts/AvenirBook.otf') format("opentype");
}

@font-face {
	font-family:Avenir-Black;
	src: url('/public/css/fonts/AvenirBlack.otf') format("opentype");
}

@font-face {
	font-family:Avenir-Light;
	src: url('/public/css/fonts/AvenirLight.otf') format("opentype");
}

@font-face {
	font-family:Avenir-Medium;
	src: url('/public/css/fonts/AvenirMedium.ttf') format("opentype");
}

@font-face {
	font-family:Bebas-Book;
	src: url('/public/css/fonts/BebasNeueBook.otf') format("opentype");
}

@font-face {
	font-family:Bebas-Light;
	src: url('/public/css/fonts/BebasNeueLight.otf') format("opentype");
}

@font-face {
	font-family:Bebas-Regular;
	src: url('/public/css/fonts/BebasNeueRegular.otf') format("opentype");
}


html,body {
    margin: 0;
    padding: 0;
    font-family:Avenir-Book;
    font-size: 16px;
    color: #09152E;
}

nav {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(
    to bottom,
    rgba(9, 21, 46, 1) 0%,     /* azul sólido arriba */
    rgba(9, 21, 46, 1) 30%,    /* se mantiene sólido hasta el 40% */
    rgba(9, 21, 46, 0.1) 100%    /* se desvanece a transparente */
    );
    z-index:3;
}

nav a {
    font-family:Avenir-Medium;
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    margin-left: 30px;
    padding: 5px 10px 5px;
}

nav a:hover,
nav a .active {
    background: #004c90;
}

nav a:hover {
    background:#ffffff;
    color: #000;
}

nav .active {
    background: #004c90;
}

.forlogo a:hover {
    background:transparent;
}

.intro {
    top:0;
    width: 100%;
    height: 100vh;
    color: #fff;
}

.mob-bg {
    background: #09152E;
}

.offcanvas-body a {
    text-decoration: none;
    font-size: 1.3rem;
}

.intro-mes {
    background-color: rgba(9, 21, 46, 0.9);
    color: #fff;
}


.intro-mes h2 {
    text-transform: uppercase;
    font-family:Bebas-Light;
    font-size: 2.2rem;
    letter-spacing: 0.25em;
}

.intro-mes strong {
  font-family:Bebas-Book;
}


/* Contenedor del video */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  
  /* Video en pantalla completa */
  .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Capa oscura para legibilidad */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* Ajusta opacidad si quieres más o menos oscuridad */
    z-index: 0;
  }

/* HOME */

#home {
    width: 100%;
    height: 100vh;
    /* background: url(/public/img/site/home/hom3bgslide0.jpg);
    background-size: cover;
    background-position: center; */
    color: #fff;
    margin-top: 0;
}

#capital {
    background: #ffffff;
}

#capital h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
    
}

.capi-pa4{
  padding-top: 1.6rem
}

.capi-pa2{
  padding-top: .5rem !important;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile: 1 columna */
    gap: 1rem;
  }

  .feature-card {
    background-color: #F2F2F2;
    padding: 2rem 1.5rem;
    border-radius: 0.5rem;
    height: 100%;
    text-align: left;
  }
  .feature-card img {
    width: 80px;
    height: 80px;
   
  }
  .feature-card h5 {
    font-family:Avenir-Black;
    font-size: 0.8rem;
    
  }
  .feature-card p {
    font-family:Avenir-Book;
    font-size: 0.8rem;
    color: #09152E;
    margin-bottom: 0;
  }

#snapshot {
    background: url(/public/img/site/home/home_02.jpg);
    background-size: 100% 550px;
    background-position: top;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

#snapshot h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 3.2rem;
    letter-spacing: 0.25em;
    color: #fff;
}

.green-snap {
    background-color: #a1bf82;
    color: white;
    height: 200px;
}

.green-snap:nth-child(3n+2) .inner-number {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.deepb-snap {
    background-color: #09152E;
    color: white;
    height: 200px;
}

.deepb-snap:nth-child(3n+2) .inner-number {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.lightb-snap {
    background-color: #004c90;
    color: white;
    height: 200px;
}

.lightb-snap:nth-child(3n+2) .inner-number {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.inner-number {
    width: 100%;
    height: 100px;
    font-family:Bebas-Regular;
    font-size: 3.5rem;
    line-height: 30px;
}

/* .inner-number small {
    font-family:Avenir-Light;
    font-size: 0.9rem;
    text-transform: uppercase;
    line-height: 0px;
} */

.inner-number p {
  margin-top: 20px;
  font-family:Avenir-Light;
  font-size: 0.9rem;
  text-transform: uppercase;
  line-height: 20px;
}

.lowle {
  text-transform: lowercase;
}

.inner-middle {
    border-left: 1px solid white;
    border-right: 1px solid white;
}

#contact {
    background: #09152E;
    color:#fff;
}

#contact h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 3.2rem;
    letter-spacing: 0.25em;
}

.contact-pad {
    padding-left: 210px;
}

.form-wraper{
    height: auto;
    background: #fff;
    border-radius: 10px;
}

label {
    color: #000;
    font-size: 0.7rem;
}


input::placeholder {
    color: red;
    font-size: 0.7rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

select {
    border-color: #000!important;
}

.form-select {
    --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
    display: block;
    width: 100%;
    padding: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.btn-envio {
    width: 350px;
    color: #fff;
    font-size: 0.7rem;
    text-transform: uppercase;
    background: #97c5d5;
}

.btn-whasp {
    width: 350px;
    color: #fff;
    font-size: 0.7rem;
    text-transform: uppercase;
    background: #01ba2e;
}

.btn-envio:hover {
    background: #b5ccd4;
}

.btn-whasp:hover {
    background: #49ba65;
}

.form-wraper  h4 {
    color:#be002d;
    font-size: 1rem;
}

/* ACERCA */

#about {
  width: 100%;
  height: 100vh;
  /* background: url(/public/img/site/home/hom3bgslide0.jpg);
  background-size: cover;
  background-position: center; */
  color: #fff;
  margin-top: 0;
}

.aboutback {
    background: url(/public/img/site/about/aboutHome.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#business, #model, #vision, #values, #directors, #dicipline, #financial {
  background: #ffffff;
}

#business h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

.core-box {
    height: 270px;
    background-color: #09152E;
    background-image: url("/public/img/site/about/MaskGroup.png");
    background-size: cover;   
    background-position: center;
    background-repeat: no-repeat; 
    font-family:Avenir-Medium;
    color:#ffffff;
    padding: 20px 20px 20px 30px;
}

.core-box h5 {
    font-size: 1rem;
}

.core-box strong {
    font-family:Avenir-Medium;
    font-size: 2.6rem;
    line-height: 5px;
}

.core-box small {
    font-family:Avenir-Light;
    font-size: 0.7rem;
}

#timeline {
  background: #ffffff;
}

#timeline h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

#timeline p {
    font-family:Avenir-Book;
    font-size: 1rem;
    color: #09152E;
}

#timeline strong {
    font-family:Avenir-Medium;
    font-size: 1rem;
    color: #09152E;
}

/* contenedor horizontal */
.time-viewport {
    position:relative;
    padding:3rem 1rem;
    overflow:hidden;            /* ocultamos overflow para efecto más limpio */
    touch-action: pan-y;       /* permite swipe vertical nativo en móviles */
  }
  /* flex horizontal con scroll interno (usamos scrollLeft controlado por js) */
  .time-track {
    display:flex;
    gap:15px;
    padding:12px;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    overflow-x:auto;           /* permite drag/touch nativo en móviles */
    scrollbar-width: none;     /* firefox */
  }
  .time-track::-webkit-scrollbar{ display:none; } /* chrome/safari */

  .item-card{
    flex:0 0 450px;            /* ancho fijo por "slide" (ajustable) */
    background:#F2F2F2;
    /* border-radius:14px; */
    overflow:hidden;
    /* box-shadow: 0 8px 30px rgba(0,0,0,0.6); */
    /* transition: transform .25s ease, box-shadow .25s ease; */
  }
  /* .project-card:hover{ transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,0.7); } */
  .item-card img{ width:100%; height:210px; object-fit:cover; display:block; }
  .item-body{ padding:40px 50px 20px 40px; }
  .item-body h5{ color:#09152E; margin-bottom:6px; }
  .item-body p{
    font-family: Avenir-Book;
    font-size: 1.1rem;  
    color:#444444;

  }

  /* cursor feedback */
  .time-track.grabbing{ cursor:grabbing; cursor:-webkit-grabbing; }
  .time-viewport .hint{
    position:absolute; left:50%; top:8px; transform:translateX(-50%); color:#aaa; font-size:.85rem;
    pointer-events:none; opacity:.7;
  }

  /* reduce motion: desactiva animación automática si usuario lo solicita */
  @media (prefers-reduced-motion: reduce){
    .item-card{ transition:none; }
  }

  /* Responsive: tarjetas más pequeñas en pantallas pequeñas */
  @media (max-width:768px){
    .item-card{ flex:0 0 84%; } /* casi ancho completo para móviles */
    .time-viewport{ padding:2rem 0; }
  }

  .btn-carousel2 {
    background: #001a33; border: none; color: white;
    font-size: 1.2rem;
    width: 60px; height: 30px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
  }

#team {
    background: #F2F2F2;
}

#team h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

#team h3 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

.teamtitle {
    border-bottom: 1px solid #09152E;
}

.teampad {
    padding-left:120px;
}

.dirname {
    font-family:Bebas-Book;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    line-height: 1px;
}

.dirposi {
    font-family:Avenir-Black;
    padding-right: 7rem !important;
}

.btdir {
    background-color: #09152E;
    color: #ffffff;
    display: block;
    width: 200px;
    height: 30px;
    padding-top: 2px;
    text-align: center;
    border-radius: 4px;
    margin: 30px 0 85px;
  }

  .btdir:hover {
    color: #ffffff;
    background-color: #1A3B80;
  }

.teamemb img {
    width: 150px;
}

.membername {
    font-family:Avenir-Black;
    font-size: 0.8rem;
}

.menberposi {
    font-family:Bebas-Book;
    font-size: 1.2rem;
}

.memberbuton {
    position:absolute; 
    bottom:0; 
    right:15px; 
    width: 50px; 
    height:50px; 
    border-radius:25px; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#004c90; 
    color:#fff;
    font-size: 1.4rem;
    cursor: pointer;
}

.memberbuton:hover{
    background-color: #09152E;
}

/* APROACH */

.aboutappro {
    background: url(/public/img/site/aproach/aproachHome.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#model h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

#model p {
    font-family:Avenir-Book;
    font-size: 0.8;
    color: #09152E;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 60px;
    padding-left: 0;
  }

  /* La línea de fondo */
  .timeline::before {
    content: "";
    position: absolute;
    top: 40px; /* altura centrada respecto a los círculos */
    left: 0;
    width: 100%;
    border-top: 2px dashed #ccc;
    z-index: 0;
  }

  .step {
    text-align: left;
    flex: 1;
    padding: 0 40px 30px 0; /* Top: 10px, Right: 20px, Bottom: 30px, Left: 40px */
    position: relative;
  }

  .icon {
    width: 80px;
    height: 80px;
    background: #004c90; /* azul */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    margin: 0 0 20px;
    z-index: 1;
    position: relative;
  }

  .icon img {
      width: 40px;
  }

  .step h3 {
    margin-top: 30px;
    margin-bottom: 30px;
    font-family:Avenir-Black;
    font-size: 1.1rem;
    color: #004c90;
  }

  .step p {
    font-family:Avenir-Book;
    font-size: 0.9rem;
    color: #09152e;
    line-height: 1.4;
  }

#mapa {
    background: #f2f2f2;
}

.nav-link {
    width: 200px;
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #fff;
    text-decoration: none;
    background: #666767;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.nav-link:hover {
    background-color: #004c90;
    color: #ffffff;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: #004c90;
}

#mapa h2 {
  text-transform: uppercase;
  font-family:Bebas-Book;
  font-size: 3.2rem;
  letter-spacing: 0.25em;
  color: #09152E;
}

.mapa-box {
    position: absolute; width:100%; top:0;
    font-family:Bebas-Book;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.15em;
}

.mapa-box .mapa-title {
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.mapa-box .mapa-title h4 {
    font-size: 2.5rem;
    letter-spacing: 0.25em;
}

.mapa-info {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.mapa-box .mapa-info strong {
    font-family:Avenir-Book;
    font-weight: bold;
    font-size: 0.9rem;
}

.mapa-message {
    padding-top: 50px;
    font-family:Avenir-Book;
    font-weight: bold;
    font-size: 1.1rem;
}


/* COMMITMENT */

.aboutasg {
    background: url(/public/img/site/asg/asgHome.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#vision h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 2.5rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

#vision p {
    font-family:Avenir-Book;
    font-size: 1.2rem;
    color: #09152E;
}

#values h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size:3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

.valine {
    border-bottom: 1px solid #09152E;
}

.val-box{
    font-size: 0.9rem;
    color: #09152E;
}

.val-box span {
    font-family: Avenir-Black;
    font-size: 1.1rem;
    color:#004c90;
}

 .btetic {
    background-color: #ffffff;
    color: #09152E;
    display: block;
    width: 70%;
    height: 35px;
    padding-top: 7px;
    text-align: center;
    border-radius: 4px;
  }
  
  .btetic:hover {
    color: #ffffff;
    background-color: #1A3B80;
  }

#climate {
    background-color: #09152E;
}

.esg-container{
    position: relative;
    width: 100%;
    max-width: 1500px;       /* ajusta este valor para hacerlo más ancho o más pequeño */
    aspect-ratio: 16 / 9;
    margin: 40px auto;
    color: #e6eef7;
    border-radius: 6px;
    padding: clamp(18px, 2.5vw, 60px); /* espacio interior flexible */
    overflow: visible;
    box-sizing: border-box;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  }
  
  /* SVG de líneas (detrás) */
  .lines{
    position: absolute;
    inset: 0;                /* top:0; left:0; right:0; bottom:0 */
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
  
  /* Texto central */
  .center-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
  }
  .center-text h2{
    font-size: 3.2rem;
    letter-spacing: 6px;
    line-height: 1;
    margin: 0;
    font-weight: 400;
    color: #eaf3ff;
  }
  
  /* Estilos generales de items */
  .item{
    position: absolute;
    z-index: 4;             /* encima de las líneas */
    width: clamp(180px, 22%, 260px); /* evita que sean demasiado anchos en pantallas pequeñas o grandes */
    text-align: center;
    transform-origin: center;
  }
  .item h3{
    font-size: clamp(14px, 1.2vw, 18px);
    letter-spacing: 2px;
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #e6eef7;
  }
  .item p{
    margin: 0;
    font-size: clamp(12px, 0.95vw, 14px);
    line-height: 1.45;
    color: rgba(230,238,255,0.85);
  }
  
  /* Posiciones (valores en % que escalan con el svg) */
  /* Ajusta estos % si quieres acercar/alejar los textos */
  .item-top {
    left: 50%;
    top: 8%;
    transform: translateX(-50%);
    text-align: center;
  }
  .item-right {
    left: 82%;
    top: 33%;
    transform: translateX(-50%) translateY(-50%);
    text-align: left;
  }
  .item-left {
    left: 18%;
    top: 33%;
    transform: translateX(-50%) translateY(-50%);
    text-align: right;
  }
  .item-bottom-right {
    left: 72%;
    top: 78%;
    transform: translateX(-50%) translateY(-50%);
    text-align: left;
  }
  .item-bottom-left {
    left: 28%;
    top: 78%;
    transform: translateX(-50%) translateY(-50%);
    text-align: right;
  }
  
  /* RESPONSIVE: en pantallas pequeñas apilamos y ocultamos las líneas */
  @media (max-width: 900px){
    .esg-container{
      aspect-ratio: auto;
      display: flex;
      flex-direction: column;
      padding: 24px;
      gap: 18px;
    }
    .lines{ display: none; }
    .center-text{
      position: relative;
      transform: none;
      margin: 6px 0 0 0;
    }
    .center-text h2{ font-size: clamp(20px, 6vw, 36px); letter-spacing: 4px; }
    .item{
      position: relative;
      width: 100%;
      text-align: center !important;
      transform: none;
      padding: 0 10px;
    }
  }
  
  

.btpolis {
    background-color: #ffffff;
    color: #09152E;
    display: block;
    width: 40%;
    height: 35px;
    padding-top: 7px;
    text-align: center;
    border-radius: 4px;
  }
  
  .btpolis:hover {
    color: #ffffff;
    background-color: #1A3B80;
  }

#sustainability{
    background: #f2f2f2;
}

#sustainability h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size:3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

.suspand {
    padding-left:109px; 
    padding-right:0;
}

/* contenedor horizontal */
.portfolio-viewport{
    position:relative;
    /*padding:3rem 1rem;*/
    overflow:hidden;            /* ocultamos overflow para efecto más limpio */
    touch-action: pan-y;       /* permite swipe vertical nativo en móviles */
  }
  /* flex horizontal con scroll interno (usamos scrollLeft controlado por js) */
  .portfolio-track{
    display:flex;
    /* gap:24px; */
    gap:0px;
    padding:12px;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    overflow-x:auto;           /* permite drag/touch nativo en móviles */
    scrollbar-width: none;     /* firefox */
  }
  .portfolio-track::-webkit-scrollbar{ display:none; } /* chrome/safari */

  .project-card{
    flex:0 0 360px;            /* ancho fijo por "slide" (ajustable) */
    /* flex:0 0 500px; */
    background:var(--card);
    /* border-radius:14px; */
    overflow:hidden;
    /* box-shadow: 0 8px 30px rgba(0,0,0,0.6); */
    /* transition: transform .25s ease, box-shadow .25s ease; */
  }
  /* .project-card:hover{ transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,0.7); } */
  .project-card img{ width:100%; height:210px; object-fit:cover; display:block; }
  .project-body{ padding:50px 23px 20px 50px; }
  .project-body h5{ color:#ffffff; margin-bottom:6px; }
  .project-body p{
    font-family: Avenir-Book;
    font-size: 1.1rem;  
    color:#ffffff;

  }

  /* cursor feedback */
  .portfolio-track.grabbing{ cursor:grabbing; cursor:-webkit-grabbing; }
  .portfolio-viewport .hint{
    position:absolute; left:50%; top:8px; transform:translateX(-50%); color:#aaa; font-size:.85rem;
    pointer-events:none; opacity:.7;
  }

  .grback {
      background: #A1BF82;
  }

  .grbeige {
    background: #BEB782;
   }

   .grdarkblue {
    background: #09152E;
   }

   .gregray {
    background: #6E7180;
   }

   .grblue {
    background: #1A3B80;
   }

  /* reduce motion: desactiva animación automática si usuario lo solicita */
  @media (prefers-reduced-motion: reduce){
    .project-card{ transition:none; }
  }

  /* Responsive: tarjetas más pequeñas en pantallas pequeñas */
  @media (max-width:768px){
    .project-card{ flex:0 0 84%; } /* casi ancho completo para móviles */
    .portfolio-viewport{ padding:2rem 0; }
  }

#sustainability .logobox {
    background-color: #ffffff;
}

#sustainability .logos {
    width: 200px;
}

.lgmt {
  margin-top: 20px;
}

#sustainability .logogr {
    width: 100px;
}

#gobierno {
    background: url(/public/img/site/home/home_02.jpg);
    background-size: 100% 550px;
    background-position: top;
    background-repeat: no-repeat;
    background-color: #fff;
}

#gobierno h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size:3.2rem;
    letter-spacing: 0.25em;
    color: #ffffff;
}

.gob-bluebox {
    background:#004c90;
    font-family:Avenir-Light;
    font-size: 0.9rem;
    color:#ffffff;
}

.gobpad {
    padding-left:100px;
    padding-right: 100px;
    font-size: 0.9rem;
}

.gnumb {
    font-family:Bebas-Regular;
    font-size: 3.2rem;
    font-weight: bold;
}

.gtitle {
    font-family:Avenir-Book;
    font-size: 1.1rem;
}

#directors h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size:3.2rem;
    letter-spacing: 0.25em;
    color: #09152E;
}

.boartitle {
    border-bottom: 1px solid gray;
}

.boardmes p {
    font-size: 1.1rem;
}

.direbox {
    height: 200px;
    background: #ececec;
    font-family:Avenir-Book;
    font-size: 0.9rem;
    color:#09152e;
}

.direbox i {
    font-size: 1.1rem;
}

.direbox strong {
    font-family:Avenir-Medium;
}

#comites {
    background: #09152e;
}

#comites h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size:3.2rem;
    letter-spacing: 0.25em;
    color: #ffffff;
}

.comtitle {
    border-bottom: 1px solid #ffffff;
}

.conmena {
  text-transform: uppercase;
}

.combuton {
    font-family:Avenir-Light;
    color:rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 1.1rem;
    cursor: pointer;
}

.combuton:hover {
    font-family:Avenir-Black;
    color:#ffffff;
}

.cmactive {
    font-family:Avenir-Black;
    color:#ffffff;
}

.combuton i {
    font-size: 1.5rem;
}

.com-box p {
    font-family:Avenir-Book;
    font-size: 1rem;
    color:#ffffff;
}

.com-box-white {
    background: #ffffff;
    border-radius: 5px;
}

.com-box-white h5 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size: 2rem;
    color: #282828;
}

.com-box-white span {
    font-family:Avenir-Book;
    font-size: 0.8;
    color: #282828;
}

/* INVESTORS */

.invback {
    background: url(/public/img/site/investors/invesHom.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#dicipline h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size:3rem;
    letter-spacing: 0.25em;
    color: #09152e;
}

#stories {
    background:#f2f2f2;
}

.hisTitle {
    border-bottom: 1px solid #000;
}

.hisTitle h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    font-size:3rem;
    color: #09152e;
}

.hisInfo h3 {
    font-family:Bebas-Regular;
    font-size:2rem;
    text-transform: uppercase;
    color: #09152e;
}

.hisNumb {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family:Avenir-Light;
    font-size: 0.8rem;
    color: #09152e;
}

.hisNumb strong{
    font-family:Bebas-Regular;
    font-size:2.5rem;
    text-transform: uppercase;
    color: #09152e;
}

 /* NO toques display de .carousel-item */
 .carousel-item {
    /* nada de display:flex aquí */
    padding: 40px 0;
    background:#f2f2f2;
  }

  /* wrapper interno con flex */
  .item-body {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .carousel-images {
    display: flex;
    gap: 20px;
  }

  .carousel-images img {
    border-radius: 4px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.15);
    object-fit: cover;
  }

  .carousel-images img:first-child { width: 200px; height: 300px; }
  .carousel-images img:last-child { width: 350px; height: 500px; }

  .carousel-text { max-width: 500px; }
  .carousel-text h2 { font-size: 18px; letter-spacing: 6px; font-weight: 400; color: #001a33; }
  .carousel-text h3 { font-size: 28px; font-weight: 700; margin: 20px 0 10px; color: #001a33; }
  .carousel-text p { font-size: 16px; color: #444; }

  .stats { display: flex; gap: 40px; margin-top: 30px; }
  .stat strong { display: block; font-size: 28px; font-weight: 700; color: #001a33; }
  .stat span { font-size: 13px; text-transform: uppercase; color: #666; }

  /* Botones externos (personalizados) */
  .carousel-controls {
    display: flex; gap: 10px; margin-bottom: 20px; justify-content: right;
  }
  .btn-carousel {
    background: #001a33; border: none; color: white;
    width: 40px; height: 40px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
  }

.finan-box {
    background:#09152e;
}

.finan-box h2 {
    text-transform: uppercase;
    font-family:Bebas-Book;
    letter-spacing: 0.25em;
    font-size:3.2rem;
    color: #ffffff;
}

.finan-box .btfin {
    background-color: #ffffff;
    color: #09152E;
    display: block;
    width: 180px;
    height: 40px;
    padding-top: 10px;
    text-align: center;
    border-radius: 4px;
  }
  
  .finan-box .btfin:hover {
    color: #ffffff;
    background-color: #1A3B80;
  }

/* FOOTER */

footer {
    background: #666767;
    width: 100%;
    color: #fff;
}

footer img {
    width: 230px;
    display: block;
    margin-bottom: 30px;
  }

  footer a {
      text-decoration: none;
  }

  footer p{
    font-family:Avenir-Book;
    font-size: 0.7rem;
    line-height: 16px;
    color: #ffffff;
    margin: 0 0 30px 0;
    padding: 0;
  }
  
  footer .contrfoot {
    text-align: right;
  }
  
  footer .contsocialf a {
    background-color: #09152E;
    color: #ffffff;
    text-align: center;
    width: 30px;
    height: 30px;
    padding-top: 3px;
    margin-left: 15px;
    display: block;
  }
  
  footer .contsocialf a:hover {
    background-color: #1A3B80;
  }
  
  footer  .btnaviso {
    background-color: #ffffff;
    color: #09152E;
    display: block;
    width: 180px;
    height: 40px;
    float: right;
    padding-top: 10px;
    text-align: center;
    border-radius: 4px;
    margin: 30px 0 85px;
  }
  
  footer .btnaviso:hover {
    color: #ffffff;
    background-color: #1A3B80;
  }
  
.linefotbut {
    background-color: #09152E;
    height: 10px;
}

/* UTILIDADES */

 .btngen {
    background-color: #ffffff;
    color: #09152E;
    display: block;
    width: 180px;
    height: 40px;
    padding-top: 10px;
    text-align: center;
    border-radius: 4px;
    margin: 30px 0 85px;
  }

  .btngen:hover {
    color: #ffffff;
    background-color: #1A3B80;
  }

  @media (min-width: 1200px) {
    .features-grid {
      grid-template-columns: repeat(7, 1fr); /* desktop: 7 columnas */
    }
  }



@media (min-width: 200px) and (max-width: 1399px){
  .dirname {
    font-family: Bebas-Book;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    line-height: 25px;
  }
}

/****** 1200 - 8000/****/
@media (min-width: 1200px) and (max-width: 1645px){
    .repartidor img {
        width: 48%;
    }
}

@media (min-width: 799px) and (max-width: 1400px){
    .repartidor img {
        width: 40%;
    }
}

/******* Mobile ******/

@media (min-width: 200px) and (max-width: 800px){

    .intro-mes h2 {
        text-transform: uppercase;
        font-family:Bebas-Light;
        font-size: 1.6rem;
        letter-spacing: 0.25em;
    }
    
    .contact-pad {
        padding-left: 20px;
    }

    .teampad {
        padding-left:0px;
    }

    .btdir {
        background-color: #09152E;
        color: #ffffff;
        display: block;
        width: 150px;
        height: 30px;
        padding-top: 2px;
        text-align: center;
        border-radius: 4px;
        margin: 30px 0 85px;
    }

    #directors h2, #capital h2, #snapshot h2, #contact h2, #business h2, #timeline h2, #team h2, #model h2,
    #vision h2, #values h2, #sustainability h2, #gobierno h2, #directors h2, #comites h2, #dicipline h2
     {
        font-size:1.6rem;
    }


    .suspand {
        padding-left:10px; 
        padding-right:0;
    }

    .gobpad {
        padding-left: 0px;
        padding-right:0px;
    }

    #sustainability .logos {
        width: 40px;
    }

    .lgmt {
      margin-top: 0px;
    }
    
    #sustainability .logogr {
        width: 30px;
    }

    .step {
        text-align: left;
        flex: 1;
        padding: 0 20px 10px 0; /* Top: 10px, Right: 20px, Bottom: 30px, Left: 40px */
        position: relative;
    }

    .step h3 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-family:Avenir-Black;
        font-size: 1.1rem;
        color: #004c90;
    }

    .nav-link {
        width: 350px;
        display: block;
        padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
        font-size: var(--bs-nav-link-font-size);
        font-weight: var(--bs-nav-link-font-weight);
        color: #fff;
        text-decoration: none;
        background: #666767;
        border: 0;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
        margin-top: 10px;
    }

    .green-snap:nth-child(3n+2) .inner-number{
        border-left: 0px solid #fff;
        border-right: 0px solid #fff;
    }

    .deepb-snap:nth-child(3n+2) .inner-number{
        border-left: 0px solid #fff;
        border-right: 0px solid #fff;
    }

    .lightb-snap:nth-child(3n+2) .inner-number{
        border-left: 0px solid #fff;
        border-right: 0px solid #fff;
    }

    /* wrapper interno con flex */
  .item-body {
    display: block;
    align-items: center;
    gap: 40px;
  }

  .carousel-images {
    display: block;
    gap: 20px;
  }

  .carousel-images img {
    border-radius: 4px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.15);
    object-fit: cover;
  }

  .btpolis {
    width: 100%;
    height: auto;
  }

  footer  .btnaviso {
    background-color: #ffffff;
    color: #09152E;
    display: block;
    width: 200px;
    height: 40px;
    float: left;
    padding-top: 10px;
    text-align: center;
    border-radius: 4px;
    margin: 0 0 0;
  }
}
