
* {
  font-family: 'Poppins', sans-serif;
}

main{
    background: #F5F9EF;
}
.carousel-control-next{
    justify-content: flex-end !important;
    padding-right: 20px;
}
.carousel-control-prev{
    justify-content: flex-start !important;
    padding-left: 20px !important;
}
.carousel-control-next-icon, 
.carousel-control-prev-icon{
    width: 50px !important;
    height: 70px !important;
    background-size:cover !important; 
}
.carousel-mobile{
    display: none;
}
.carousel-item img{
    max-height: 95vh;
    object-fit: cover;  
    object-position: center;
}
.carousel-item{
    height: 110vh;
    position: relative !important;
}
.image-card{
    position: absolute;
    background: #9B122E;
    bottom: 30px;
    width: 86%;
    height: 55%;
    margin-left: 7%;
    box-shadow: 10px 15px 15px rgba(0, 0, 0, 0.585);
    display: flex;
}
.card-2{
    width: 40%;
}
.card-1{
    width: 60%;
    height: 100%;
    display: flex;
}
.image-1{
    background-image: url(../assets/img/rectangle.png);
    background-position:right;
    height: 100%;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}
.ico-section {
    padding-top: 130px;
    margin-bottom: 100px;
    height:100vh ;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-2{
    display: flex;
    border-radius: 20px;
    min-width: 80vw;
    max-width: 90vw;
    max-height: 90vh;
    min-height: 70vh;
    align-items: center;
    width: 85%;
    height: 80%;
    background: white;
}
.section-2-content{
    padding: 20px 100px 20px 10px;
    max-height: 90vh;
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.section-2-image {
    position: relative;
    width: 35vw;
    min-width: 250px;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding-top: 20px;
}
.section-2-mobil{
    display: none;
}
.section-2-image img {
    width: 100%;
    max-width: 40vw;
    max-height: 90vh;
    object-fit: contain;
}
.section-2-content h1 {
  color: #900;
  margin-bottom: 15px;
  font-weight: 700;
}
.section-2-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.section-2-content ul li {
  margin-bottom: 18px;
  font-size: 1.2rem;
  line-height: 1.5;
  position: relative;
  padding-left: 22px;
  color: #444;
  text-align: justify;
}
.section-2-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #b20000;
  font-size: 22px;
  line-height: 15px;
}
.section-2-content ul li span {
  color: #b20000;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.section-2-content ul li:nth-child(2),
.section-2-content ul li:nth-child(3){
    margin-left: 30px;
}

@media (max-width:1000px){
    .section-2-image{
        display: none;
    }
    .section-2-content{
        padding-right: 0;
        max-height: 80vh;
        overflow-y: auto;
        h1{
            text-align: center;
        }
    }
    .section-2-content ul li:nth-child(2),
    .section-2-content ul li:nth-child(3){
        margin-left: 0px;
    }
    .section-2{
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.293);
        padding: 50px;
    }
    /* .section-2-content ul{
        overflow-y: auto;
        max-height: 70vh;
    } */
}
@media (max-width:600px){
    .section-2-content{
        display: none;
    }
    .section-2-mobil{
        display: block;
    }
    .section-2{
        max-width: 90vw;
        width: 100%;
        padding: 20px;
        min-height: 40vh;
    }
    .ico-section{
        height: auto;
    }
    .section-2-mobil h2{
        font-size: 2rem;
        text-align: center;
        color: #9B122E;
        margin-bottom: 30px;
    }
    .section-2-mobil ul li span{
        color: #9B122E;
    }
}


.contact-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.left-box{
    background: url('../assets/img/home-3.jpg') center/cover no-repeat;
    color: white;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left-box h1{
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.left-box p{
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.277);
    padding: 25px;
    border-radius: 10px;
}

.right-box{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    align-items: end;
    background: white;
}
.content-bot{
    position: relative;
    width: 250px;
    height: 60px;
    background:#900;
    border-radius:  40px 40px 0 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    p{
        padding: 0;
        margin: 0;
        color: white;
        font-weight: bold;
        font-size: 1.5rem;
        padding-left: 50px;
    }
}
.content-bot:hover{
    background:linear-gradient( rgb(235, 96, 96), #900)
}
.content-bot img:nth-of-type(1){
    position: absolute;
    bottom: 0;
    width: 90px;
    right: 0;
}
.content-bot img:nth-of-type(2){
    position: absolute;
    width: 0;
    overflow: hidden;
    opacity: 0;
    bottom: 0;
    right: 0;
}
.content-bot:hover img:nth-of-type(1){
    height: 0;
    width: 0;
    overflow: hidden;
    opacity: 0;
}
.content-bot:hover img:nth-of-type(2){
    display: block;
    width: 90px;
    overflow: visible;
    opacity: 1;
}
form{
    width: 100%;
}

label{
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 5px;
}
form input{
    box-shadow: inset 0px 3px 3px rgba(91, 90, 90, 0.501);
}

input[type="text"],
input[type="email"]{
    width: 100%;
    padding: 10px;
    background: #efefef;
    border: 2px solid #900020;
    border-radius: 5px;
    font-size: 16px;
}

.check{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    input{
        box-shadow: none;
    }
}


.check a{
    color: #900020;
    font-weight: 700;
    text-decoration: underline;
}
form input::placeholder{
    color: transparent;
}

.btn-enviar{
    background: #9B122E;
    border: none;
    width: 200px;
    height: 50px;
    border-radius: 10px;
    color: white;
    font-size: 1.5rem;
    transition: background 0.5s ease-out;
}
.btn-enviar:hover{
    background: black;
}
.label-terminos{
    padding: 0;
    margin: 0;
}
.content-btn-enviar{
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}
@media (max-width : 950px){
    .contact-container .left-box{
        display: none;
    }
    .contact-container .right-box .content-bot{
        display: none;
    }
    .contact-container{
        display: flex;
        justify-content: center;
        min-height: 50vh;
        
    }
    .right-box{
        width: 85%;
        max-width: 90vw;
        height: auto;
        border-radius: 20px;
        background: white;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
        padding: 20px 50px;
    }
    form label{
        opacity: 0;
        visibility: hidden;
    }
    form input::placeholder{
        color: #626262;
    }
    .label-terminos{
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width:600px){ 
    .contact-container{
        margin-top: 40px;
    }
    .right-box{
        width: 90%;
        padding: 0 30px 30px 30px;
    }
}


/* =========================
   MODAL COMUNICADO
   ========================= */

.img-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.img-wrapper img {
    max-height: 90vh;     
    max-width: 100%;
    width: auto;       
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}

.img-text {
    position: absolute;
    z-index: 10;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: clamp(0.45rem, 1.2vw, 0.65rem)
             clamp(0.9rem, 3vw, 1.25rem);
    background-color: #9B122E;
    color: #ffffff;
    border-radius: 9999px;
    font-size: clamp(0.75rem, 1.4vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-shadow: 0 0.25rem 0.6rem rgba(83, 8, 23, 0.45);

    text-decoration: none;
    user-select: none;

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.img-text:hover {
    background-color: #7f0f26;
    box-shadow: 0 0.35rem 0.75rem rgba(83, 8, 23, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    .img-text {
        transition: none;
    }
}


.img-text:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 18px #9B122E;
}

/* CONTENEDOR DEL MODAL */
.modal-body {
    max-height: 90vh;
    overflow: auto;
}




.carousel {
  position: relative;
  width: 100vw;
  height: 100vh;
  padding-top: 100px;
  margin-bottom: 140px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  position: relative;
  min-width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.slide-1 { background: #9c1530; }
.slide-2 { background: #111111; }
.slide-3 { background: #2c2c2c; }

.slide-content {
    position: absolute;
    bottom: -10vh;      
    height: 50vh;
    width: 80%;
    background:white;
    border-radius: 12px;
    display: flex;
    box-shadow: 0px 9px 20px 3px #0000006e;
}

.slide-content h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.slide-content p {
  font-size: 18px;
  color: #555;
}
.linea{
    bottom: 20px;
    background: #900020;
    width: 14%;
    height: 15px;
    position: absolute;
    left: 0;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  background: transparent;
  color: #fff;
  border: none;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 10;
}

.nav.prev { left: 20px; }
.nav.next { right: 20px; }


.slide-1 {
  background-image: url("../new-assets/img/home-1.webp");
  background-size: cover;
  background-position: center;
}

.slide-2 {
  background-image: url("../new-assets/img/home-6.webp");
  background-size: cover;
  background-position: center;
}

.slide-3 {
  background-image: url("../new-assets/img/home-3.webp");
  background-size: cover;
  background-position: center;
}
.slide-4 {
  background-image: url("../new-assets/img/home-4.webp");
  background-size: cover;
  background-position: center;
}

/* TEXTO */
.slide-text {
    width: 55%;
    overflow-y: auto;
    margin: 40px 0px 40px 40px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-text .tag {
  color: #9B122E;
  font-weight: 700;
  font-size: 30px;
  display: inline-block;
  margin-bottom: 12px;
}

.slide-text h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 16px;
}

.slide-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
}

.slide-btn{
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.slide-btn a {
  display: inline-block;
  background: #9B122E;
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.slide-btn a:hover {
    color: white;
  text-decoration: none;
}

/* IMAGEN */
.slide-image {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    background: white;
    position: relative;
    img{
        position: absolute;
        left: -60px;
        width: calc(100% + 60px);
        height: 100%;
        object-fit: cover;
        object-position: center;
        clip-path: polygon(
            10% 0px,     
            100% 0,
            100% 100%,
            0 100%,
            0 100%   
        );
    }
}

.slide-image-2 {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    background: white;
    position: relative;
    img{
        position: absolute;
        left: -60px;
        width: calc(100% + 60px);
        height: 100%;
        object-fit: cover;
        object-position: center;
        clip-path: polygon(
            10% 0px,     
            100% 0,
            100% 100%,
            0 100%,
            0 100%   
        );
    }
}


.slide-image-3 {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    background: white;
    position: relative;
    img{
        position: absolute;
        left: -60px;
        width: calc(100% + 60px);
        height: 100%;
        object-fit: cover;
        object-position: center;
        clip-path: polygon(
            10% 0px,     
            100% 0,
            100% 100%,
            0 100%,
            0 100%   
        );
    }
}

.slide-image-4 {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    background: white;
    position: relative;
    img{
        position: absolute;
        left: -60px;
        width: calc(100% + 60px);
        height: 100%;
        object-fit: cover;
        object-position: center;
        clip-path: polygon(
            10% 0px,     
            100% 0,
            100% 100%,
            0 100%,
            0 100%   
        );
    }
}
.slide-separador{
    flex: 0 0 100px; 
    z-index: 2;             
    align-self: stretch;            
    background: url("../new-assets/img/home-union.png") center / 100% 100% no-repeat;
}


@media(max-width: 800px){
    
    .slide-image img,
    .slide-image-2 img,
    .slide-image-3 img,
    .slide-image-4 img{
        clip-path: none;
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        object-fit: initial;
        object-position: initial;

    }
    .carousel{
        display: none;
    }
    .carousel-mobile{
        display: block;
        padding-top: 90px;
    }
    .swiper-slide{
        display: flex !important;
        flex-direction: column;
    }
    .slide-image,
    .slide-image-2,
    .slide-image-3,
    .slide-image-4{
        height: 300px;
        width: 80%;
        border-radius: 20px 20px 0 0;
    }
    .slide-text{
        width: 80%;
        padding: 5%;
        margin: 0;
        background: white;
        border-radius: 0 0 20px 20px;
        h2{
            text-align: justify;
            font-size: 23px;
        }
        p{
            padding: 0px 15px 0 15px;
            text-align: justify;
        }
    }
    .empresa-swiper{
        display: flex !important;
        justify-content: center;
    }
    .swiper-wrapper{
        width: 80% !important;
        background: white;
        border-radius: 20px;
        margin: 20px 0 20px 0;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.293);
    }
    .slide-btn{
        padding-bottom: 50px;
    }
    .swiper-pagination{
        bottom: 30px !important;
        span{
            width: 15px;
            height: 15px;
        }
    }
}

@media(max-width: 800px){
    .swiper-wrapper{
        width: 90% !important;
    }
    .slide-image,
    .slide-image-2,
    .slide-image-3,
    .slide-image-4{
        width: 90%;
    }
    .slide-text{
        width: 90%;
    }
}