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


.contact-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    background: #F5F9EF;
}
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;
}
.content-btn-enviar{
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.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;
}
@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;
    }
}

@media (max-width:600px){ 
    .contact-container{
        padding-top: 40px;
    }
    .right-box{
        width: 90%;
        padding: 0 30px 30px 30px;
    }
}





.carousel-main {
  position: relative;
  height: calc(100vh - 270px);
  overflow: hidden;
}

.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.carousel-overlay {
    background: linear-gradient(#00000067,#07070765);
    position: absolute;
    inset: 0;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.carousel-title{
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    h1{
        margin: 0;
        border-left: 5px solid #b11226;
        padding: 0 0 0 10px;
    }
    h3{
        margin: 15px 0 0 15px;
        font-weight: bold;
    }
}
#carouselText{
    position: absolute;
    bottom: 150px;
    width: 90%;
    text-align: center;
}

.btn-primary {
  background: #b11226;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  position: absolute;
  bottom: 50px;
  right: 10%;
}

.carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumb {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.thumb span {
  position: absolute;
  bottom: 8px;
  right: 8px;
  border-bottom: 3px solid white;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 0 10px 10px
}

.thumb.active {
  border-color: #b11226;
}
.services-carousel{
    padding-top: 100px;
}




.message-servicios {
    padding: 3% 10%;
    background-color: #F5F9EF;
    display: flex;
    align-items: center;
}

.text-message {
    width: 49%;
    height: 320px;
    background-color: white;
    border-radius: 10px 0 0 10px;
    position: relative;
    padding: 10px 0 0 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-message h3 {
    color:#900020;
    font-size: 16px;
    font-weight: 600;
}

.text-message h2 {
    font-size: 24px;
    padding: 0;
}

.text-message p {
    color: #1A1A1A;
    margin-top: 5px;
    padding-right: 100px;
    text-align: justify;
}

.video-message {
    width: 49%;
    height: 320px;
}

.video-message iframe {
    border-radius: 0 10px 10px 0;
    width: 100%;
    height: 100%;
}

.enterate {
    text-align: end;
}

.enterate span {
    color:#900020;
    font-weight: 500;
}

.enterate i {
    color:#900020;
    margin-left: 5px;
}



.cert-escribenos{
  display: flex;
  height: 50vh;
  background: #f5f7ee;
  align-items: center;
  position: relative;
}

/* IMAGEN */
.image-box {
  flex: 1.2;
  height: 60%;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  width: 50%;
    position: absolute;
    top: 50px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BLOQUE BLANCO */
.content-box {
    padding-top: 10px;
  flex: 1;
  height: 55%;
  background: #fff;
  clip-path: polygon(12.2% 0, 100% 0, 100% 100%, 0% 100%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  position: absolute;
    width: 56.8%;
    right: 0;
    top: 50px;
    overflow-y: auto;
}

.tag {
  color: #a0002a;
  font-weight: bold;
      padding-left: 150px;
}

.content-box h2 {
    margin:0;
    padding-left: 150px;
}
.content-box p{
    padding-left: 150px;
    margin: 0;
    font-size: 20px;
}
.btn-contactanos {
    margin-left: 50%;
    margin-top: 10px;
    padding: 5px 20px;
    background: #a0002a;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    text-decoration: none;
}
.content-box p:nth-of-type(2) {
    display: none;
}


@media(max-width: 800px){
    .content-box p:nth-of-type(2) {
        display: block;
        padding: 0 50px
    }
    .content-box p:nth-of-type(1) {
        display: none;
    }

    .carousel-title .iso-tag{
        display: none;
    }
    #carouselText{
        display: none;
    }
    .carousel-main{
        height: 20vh;
    }
    .carousel-thumbs{
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
        background: #F5F9EF;
    }
    .message-servicios{
        flex-direction: column-reverse;
        padding: 0;
    }
    .video-message,
    .text-message{
        width: calc(100% - 60px);
    }
    .text-message{
        padding: 20px;
        border-radius: 0 0 20px 20px;
    }
    .text-message p{
        padding: 0;
    }
    .video-message iframe{
        border-radius: 0;
    }
    .image-box{
        flex: initial;
        position: relative;
        width: 100%;
        clip-path: polygon(20% 0, 100% 0, 85% 100%, 0% 100%);
        height: 200px;
    }
    .content-box{
        flex: initial;
        position: relative;
        width: 100%;
        clip-path: polygon(0 0, 85% 0%, 100% 100%, 20% 100%);
        top: 0;
        height: 200px;
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .cert-escribenos{
        flex-direction: column;
        padding: 0 30px
    }
    .tag,
    .content-box h2,
    .content-box p{
        padding: 0;
        font-size: 0.8rem;
        text-align: center;
    }
    .btn-contactanos{
        margin-left: 20%;
        font-size: 1rem;
    }
    .form-terminos{
        opacity: 1;
        visibility: visible;
        font-size: 1rem;
    }
    .btn-primary{
        display: none;
    }
    .carousel-title h1{
        font-size: 1.5rem;
    }
}
.form-terminos{
    margin: 0;
}
#carouselImageLink {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}

#carouselImageLink img {
  cursor: pointer;
}

.carousel-overlay {
  pointer-events: none;
}

.carousel-overlay a,
.carousel-overlay button {
  pointer-events: auto;
}