@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,600;1,700&display=swap');

.img-wrap{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; 
}

.img-base{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.img-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 75, 0.45); /* azul + transparencia */
    pointer-events: none;
}
.img-text{
    position: absolute;
    top: 50%;
    left: 20px;                 
    transform: translateY(-50%);
    color: white;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    z-index: 999;
}

.header-main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    height: 100px;
    border-bottom: 1px solid #004990;;
}
.header-img{
    width: 130px;
}
#tres_barra{
    font-size: 22px
}
.header-holder{
    position: fixed;
    top: 100px;
    left: 0;
    height: 100vh;
    width: 100vw;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 999;
    background-color: white;
}

.header-holder.active{
    transform: translateX(0);
}

.menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    border-bottom: 1px solid #004990;
}
.menu-item:last-of-type {
    padding-top: 15px;
    border:none;
}

.menu-title {
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Inter-regular;
    text-align: center;
}

.menu-title:hover {
    background: rgba(255,255,255,0.1);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    background: #2F64A3;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
}

.submenu.show {
    max-height: 300px;
}

.submenu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 36px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.submenu a:hover {
    background: rgba(255,255,255,0.15);
}

.section-hero {
    display: block;
    width: 100%;
}

.video-side video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.text-side {
    text-align: center;
    padding: 0px;
}

.hero-text{
    color: #004990;

}
.mysec-title{
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 20px;
    text-align: right;
}
.leftside{
    padding: 15px;
}
.rightside{
    padding:15px;
}
.img-side {
    width: 100%;
    height: 400px;
    background-image: url('../img/img_1.jpg');
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.btns {
    position: relative;
    display: flex;
    gap: 10px;
    padding: 25px;
    width: 80%;
    margin: auto;
    height: 80%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.btns .btn {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  font-size: 16px;
}

.btns{
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}
.subhero-title{
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
}
.subhero-text{
    font-size:16px;
    font-weight: 550;
    line-height: 48px;
}
.subhero-bkg{
    background: linear-gradient(to right, #363086, #D52916);
    width: 100%;
    padding: 25px 0px;
}
.subhero-cont{
background-color: white;   
}
.subhero-btn{
    width: 100%;
    background-color: #D52916;
    border-radius: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0px;
    height: 80px;
    color: white;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    transition: all 0.25s ease-in-out;
}
.subhero-btn:hover {
    background-color: #9C3A6A;
}
.ps-text-side{
    width: 100%;
    justify-content: center;
    align-items: center;
    height: auto;
    opacity: 0;
    display: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.ps-text-side h3{
    font-size: 14px;
    font-family: Inter-bold;
}
.ps-text-side .mycol{
    margin-bottom: 20px;
}
.ps-holder-no-card{
        padding: 15px;
    text-align: center;
    border-radius: 12px;
    color: #004990;
    border:1px solid #004990;
    font-size: 12px;
    height: 100%;
}
.ps-holder{
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    color: #004990;
    border:1px solid #004990;
    font-size: 12px;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: pointer;
}


.ps-holder p {
    transition: all 0.4s ease;
    margin: 0;
    font-size: 14px;

}
.ps-text-side.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    display: flex;
}
#section-branches{
  margin-top: 3rem;
  margin-bottom: 4rem;
}
#section-branches .banner {
  background: linear-gradient(90deg, rgba(6, 0, 112, 0.82) 0%, rgba(6, 0, 112, 0.78) 55%, rgba(255, 0, 17, 0.75) 95%, rgba(255, 0, 17, 0.7) 100%);
  background-size: cover;
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: auto;
  margin-bottom: 2rem;
}
#section-branches .banner span {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  line-height: initial;
}
#section-branches .banner a {
  color: #fff;
  background-color: #C80C10;
  border-radius: 0.6rem;
  font-size: 1.875rem;
  line-height: normal;
}
#section-branches .cartas.row {
  width: 78%;
  margin: auto;
  margin-bottom: 4rem;
}
#section-branches .cartas.row > div:hover svg {
  transform: rotate(90deg);
  background-color: #fff;
  color: black;
}
#section-branches .cartas.row > div:hover span {
  margin-bottom: 0.35rem;
}
#section-branches .cartas.row > div:hover img {
  padding-bottom: 0.35rem;
}

#section-branches .cartas.row .columna-1 a {
  background-image: url("../img/branches/3 de Febrero 2835 mdq.jpg");
}
#section-branches .cartas.row .columna-2 a {
  background-image: url("../img/branches/9 de Julio 1456 - Pergamino.jpg");
}
#section-branches .cartas.row .columna-3 a {
  background-image: url("../img/branches/Av Ilia 296, local 3 - Jujuy.jpg");
}
#section-branches .cartas.row .columna-4 a {
  background-image: url("../img/branches/Brasil 969 - Constitucion.jpg");
}
#section-branches .cartas.row .columna-5 a {
  background-image: url("../img/branches/Bv. Pellegrini 2850 - Santa Fe.jpg");
}
#section-branches .cartas.row .columna-6 a {
  background-image: url("../img/branches/Calle 5 630 - La Plata.jpeg");
}
#section-branches .cartas.row .columna-7 a {
  background-image: url("../img/branches/Carlos Gardel 85 - Lanus.jpg");
}
#section-branches .cartas.row .columna-8 a {
  background-image: url("../img/branches/Chacabuco 1386 - San Telmo.JPG");
}
#section-branches .cartas.row .columna-9 a {
  background-image: url("../img/branches/Humberto Primo 133 - San Telmo.jpg");
}
#section-branches .cartas.row .columna-10 a {
  background-image: url("../img/branches/Maipu 105, Local 3 - San Nicolas.jpg");
}
#section-branches .cartas.row .columna-11 a {
  background-image: url("../img/branches/Maipu 684 - Venado Tuerto.jpg");
}
#section-branches .cartas.row .columna-12 a {
  background-image: url("../img/branches/Mitre 2434 - Rosario.jpeg");
}
#section-branches .cartas.row .columna-13 a {
  background-image: url("../img/branches/Neuquen 2915 - Flores.jpg");
}
#section-branches .cartas.row .columna-14 a {
  background-image: url("../img/branches/Pedro Gallo 197 - Sgo. del Estero.jpg");
}
#section-branches .cartas.row .columna-15 a {
  background-image: url("../img/branches/Pellegrini 143 - Quilmes.jpg");
}
#section-branches .cartas.row .columna-16 a {
  background-image: url("../img/branches/Puccini 255, local 3 - Rosario.jpg");
}
#section-branches .cartas.row .columna-17 a {
  background-image: url("../img/branches/Rivadavia 17412 - Moron.jpg");
}
#section-branches .cartas.row .columna-18 a {
  background-image: url("../img/branches/Siria 104 - Salta.jpg");
}
#section-branches .cartas.row .columna-19 a {
  background-image: url("../img/branches/Tomas guido 999 - Temperley.JPG");
}


#section-branches .cartas.row > div a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(54, 48, 134, 0.5);
    clip-path: polygon(
        0% 55%,
        12% 58%,
        28% 62%,
        45% 66%,
        63% 70%,
        80% 73%,
        100% 75%,
        100% 100%,
        0% 100%
    );


    transition: opacity 0.3s ease;
}
#section-branches .cartas.row > div:hover a::after {
    opacity: 0.9;

}
#section-branches .cartas.row a {
  display: flex;
  align-items: end;
  text-decoration: none;
  background-size: cover;
  min-height: 280px;
  background-repeat: no-repeat;
  padding: 0.75rem 0.95rem;
  position: relative;
}
#section-branches .cartas.row a .logo-hybrin {
  transition: all 0.3s;
  width: 40px;
  padding-bottom: 0;
}
#section-branches .cartas.row a svg {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  border: 1px #fff solid;
  padding: 0.5rem 0.75rem;
  color: #fff;
  border-radius: 100%;
  transition: all 0.3s;
  position: absolute;
  z-index: 999999;
}
#section-branches .cartas.row a span {
  font-family: "lato-light";
  color: #fff;
  font-weight: bold;
  font-size: 1.125rem;
  transition: all 0.25s;
  line-height: 1.563rem;
  min-height: 2.25rem;
  width: 86%;
  position: absolute;
  z-index: 99999;
}
#section-branches .unimos {
  margin: auto;
  width: 77%;
}
#section-branches .unimos .title {
  color: #004990;
  font-size: 2rem;
  font-weight: 1000;
  line-height: 2.2rem;
}
#section-branches .unimos .text {
  color: #808080;
  font-size: 1.05rem;
  line-height: 1.2rem;
  width: 85%;
  margin-bottom: 0.85rem;
}
#section-branches .unimos .btn {
  border-radius: 2rem;
  font-size: 1.25rem;
  padding: 0.2rem 1.2rem;
}
#section-branches .unimos img {
  width: 100%;
}
#section-branches .subtitle {
  position: absolute;
  bottom: 3rem;
  display: block;
  text-align: right;
  width: 100%;
  color: white;
  font-size: 1.15rem;
  font-family: "montserrat-bold";
  padding-right: 10%;
  margin-bottom: 0px;
}
@media (min-width: 768px) {
    .menu-item:last-of-type {
        padding-top: 0px;
        border:none;
    }
    .menu-title {
        justify-content: space-between;
    }
    .header-main{
        justify-content: space-between;
        padding: 0px 60px;
    }
    .header-img{
        width: 250px;
    }
    #tres_barra{
        display: none;
    }
    .menu-item {
        text-align: left;
        border:none;
    }

    .menu-title:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #2F64A3;
    }
    .header-holder{
        position: relative;
        flex-direction: row;
        top: 0;
        width: auto;
        height: auto;
        transform: translateX(0);
        gap: 40px;
    }

    .submenu{
        position: absolute;
    }

    .section-hero{
        display: flex;
        width: 100%;
        height: 500px;
    }
    .video-side,
    .text-side {
        flex: 1;
        position: relative;
    }

    .video-side video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text-side {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: left;
    }
.img-side {
    width: 100%;
    height: 800px;
    background-image: url('../img/img_1.jpg');
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mystyle-holder{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    gap: 30px;
}

.mys-right{
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
}
.mys-left{
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
}
.mysec-t-right{
    margin-right: 30px;
    margin-left: 40px;
}
.mysec-t-left{
    margin-left: 30px;
}
.btns {
    display: flex;
    gap: 10px;
    padding: 25px;
    width: auto;
    height: auto;
    flex-direction: column;
    margin: 0px;
}


.btns .btn {
  display: flex;
  border-radius: 0.75rem;
  padding: 0.9rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  width: 26rem;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.btns{
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.ps-text-side{
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 800px;
    opacity: 0;
    display: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    padding: 0;

}
.leftside{
    padding: 0;
    padding-left: 10px;
}
.rightside{
    padding: 0;
    padding-right: 10px;
}

.ps-text-side h3{
    font-size: 14px;
}
.ps-text-side .mycol{
    margin-bottom: 20px;
}
.ps-holder{
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    font-size: 12px;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 20px;
}


.ps-holder p, .ps-holder ul, .ps-holder img {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0;
    font-size: 14px;
}
.ps-text-side.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    display: flex;
}
.ps-holder:hover p {
    max-height: 500px;
    opacity: 1;
}
.ps-holder:hover ul {
    max-height: 500px;
    opacity: 1;
}
.ps-holder:hover img {
    max-height: 1500px;
    opacity: 1;
}
}