html {
    scroll-behavior: smooth;
}

p{
    font-size: 15px !important;
}

.imagenBienvenida{
    width: 47% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.bienvenidaSecundario {
    display: flex !important;
    align-items: stretch !important;
    gap: 70px !important;
}

.textHeader{
    color: #131327;
    font-size: 30.7px;
    margin-bottom: 1rem;
    margin-top: 0;
    margin-bottom: 0px;
}

.consultaTitle{
    color: #000000;
       font-size: 23px;
}

.paragraph{
    color: #131327;
}


.boldParagraph{
    font-weight: 700;
    color: #131327;
}


.buttonsHeader{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.consultaHeader{
 background-color: #131327;
 padding: 7px 14px;
 color: white;
 border-radius: 20px;
 font-size: 15px;
}

.serviceHeader{
     background-color: #abb8c4;
 padding: 7px 14px;
 color: #131327;
 border-radius: 20px;
 font-size: 15px;
}

.consultaHeader:hover{
 background-color: #131327;
 padding: 7px 14px;
 color: white;
 border-radius: 20px;
}

.serviceHeader:hover{
     background-color: #abb8c4;
 padding: 7px 14px;
 color: #131327;
 border-radius: 20px;
}


.buttonsSubHeader{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item{
         background-color: white;
         border: 1px solid #131327;
 padding: 7px 14px;
 color: #131327;
 border-radius: 20px;
 font-size: 15px;
}

.item:hover{
         background-color: white;
         border: 1px solid #131327;
 padding: 7px 14px;
 color: #131327;
 border-radius: 20px;
 font-size: 15px;
}


.separadorConsulta{
    margin-top: 50px;
    background-color: rgba(19, 19, 39, 0.09);
    padding: 10px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.consultaTitle{
margin: 0px;
font-weight: 700;
}

.consultaParagraph{
 margin: 0px;
 font-size: 15px;
}


.subtitle{
    color: #131327;
    font-weight: 700;
}


.itemNumber{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #131327;
    color: white;
}


.secuence{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    font-weight: 700;
}

.itemContainer{
    display: flex;
    align-items: center;
    gap: 10px;
}

.textContainer{
    border: 1px solid #131327;
    padding: 5px 15px;
    border-radius: 50px;
}


.textContainer p{
    margin: 0px;
}


       .solapa-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0px;
  border-top: 4px solid #131327;
  margin-top: 50px;
}

.solapa-title {
  font-family: 'Poppins', sans-serif;
  background-color: #131327;
  color: white;
  padding: 5px 20px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 20px;
  position: relative;
  font-size: 24px;
  font-weight: 400;
}


.boxContainer{
    display: flex;
    gap: 40px;
    width: 100%;
    margin-top: 50px;
}



.boxItem p, ul, li{
    font-size: 14px !important;
    color: #131327;
}


.boxItem{
    border: 1px solid #abb8c4;
    padding: 20px;
    border-radius: 20px;
    background-color: rgba(243, 243, 243, 0.5);
    height: 236px;
}


.pill{
    padding: 2px 10px;
    background-color: #131327;
    color: white;
    font-weight: 500;
    border-radius: 20px;
    width: fit-content;
    margin: 0px;
}


.pillImage{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box {
    width: 50%;
    box-sizing: border-box;
    min-height: 236px !important;
}



.itemNumberSecuence{
      display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f3f3f3;
    color: #131327;  
    font-weight: 400;
}

.boxItemSecuence{
    margin-top: 20px;
}

.itemSecuence p{
    margin: 0px !important;
}


.secuenceFooter{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    font-weight: 700;
}

.pillBox{
    height: 48px;
    display: flex;
    align-items: center;
}



.companyContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin-top: 20px; 
}

.companyBox {
    border: 1px solid #abb8c4;
    padding: 10px;
    border-radius: 20px;
    background-color: rgba(243, 243, 243, 0.5);
}

.companyBox h4{
    color: #131327;
    font-weight: 700;
}


.companyBox p{
 margin: 0px !important;
 font-size: 13px !important;
 text-align: justify !important;
 color: #131327;
}

@media (max-width: 768px) {
    .companyContainer {
        grid-template-columns: 1fr; 
    }
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .boxContainer {
        flex-direction: column;
        gap: 30px;
    }
    
    .box {
        width: 100%;
    }
    
    .boxItem {
        height: auto;
        min-height: 200px;
    }
    
    .secuence {
        gap: 15px;
    }
    
    .itemContainer {
        align-items: flex-start;
    }
    
    .textContainer {
        padding: 8px 12px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    .imgSubtitle img{
        display: none;
    }

    .pillImage img{
        display: none;
    }

    .seccionBienvenida{
        margin-top: 60px !important;
    }
    
    .bienvenidaSecundario {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .imagenBienvenida {
        width: 100% !important;
        gap: 20px;
    }
    
    .textHeader {
        font-size: 24px;
        text-align: left;
    }
    
    .paragraph {
        text-align: justify;
    }
    
    .buttonsHeader {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .buttonsHeader a {
        text-align: center;
    }
    
    .buttonsSubHeader {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .buttonsSubHeader .item {
        text-align: center;
    }
    
    .bienvenidaTextos {
        width: 100%;
    }
    
    .subtitle {
        font-size: 23px !important;
        text-align: left;
    }
    
    .secuence {
        gap: 12px;
    }
    
    .itemContainer {
        align-items: center;
    }
    
    .textContainer {
        padding: 10px 15px;
    }
    
    .textContainer p {
        font-size: 14px !important;
    }

    .itemNumber{
        width: 42px !important;
        height: 32px !important;
    }
    
    /* Separador consulta */
    .separadorConsulta {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
        border-radius: 25px;
    }
    


    .consultaTitle {
        font-size: 20px;
        text-align: justify;
    }
    
    /* Solapa */
    .solapa-title {
        font-size: 18px;
        /* padding: 8px 16px; */
        max-width: 80%;
        text-align: center;
    }

    .pill{
        font-size: 14px !important;
    }
    
    /* Boxes */
    .boxContainer {
        flex-direction: column;
        gap: 25px;
        margin-top: 30px;
    }
    
    .box {
        width: 100%;
    }
    
    .boxItem {
        height: auto;
        padding: 15px;
    }
    
    .imgSubtitle {
        margin-bottom: 15px;
    }
    
    .imgSubtitle h3 {
        font-size: 18px;
    }
    
    /* Sección ¿Cómo trabajamos? */
    .pillImage {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pillBox {
        display: flex;
        justify-content: flex-start;
        height: auto;
    }
    
    .secuenceFooter {
        gap: 15px;
    }
    
    .itemSecuence p {
        font-size: 14px !important;
    }
    
    /* Company boxes */
    .companyContainer {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .companyBox {
        padding: 15px;
    }
    
    .companyBox h4 {
        font-size: 16px;
    }
    
    .budgetButton {
        justify-content: center;
    }


    .subTitleBox{
        height: auto !important;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .textHeader {
        font-size: 22px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .consultaHeader,
    .serviceHeader,
    .item {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .itemNumber {
        width: 28px;
        height: 28px;
        padding: 8px;
        font-size: 14px;
    }
    
    .textContainer {
        padding: 8px 12px;
    }
    
    .textContainer p {
        font-size: 13px !important;
    }
    
    .solapa-title {
        font-size: 16px;
    }
    
    .boxItem p,
    .boxItem ul,
    .boxItem li {
        font-size: 13px !important;
    }
}

.budgetButton{
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}


.imgSubtitle{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    max-height: 41.75px !important;   
}

.imgSubtitle img{
    object-fit: contain;
}


.subTitleBox{
    height: 41.75px;
}