@font-face {
    font-family: "Gotham";
    src: url("../fonts/gotham/Gotham-Book.otf") format("opentype");
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Gotham', sans-serif;
}

:root {
    --principal-green: #2F5F4F;
    --hover-green: #234539;
    --basc-text: rgb(156, 163, 175);
    --fs-h1: 3.5rem;
    /* 56px */
    --fs-h2: 2.25rem;
    /* 36px */
    --fs-h3: 1.25rem;
    /* 20px */
    --fs-body: 1rem;
    /* 16px */
    --fs-small: 0.875rem;
    /* 14px */
}

.content-wrapper {
    padding-left: var(--margin-lateral) !important;
    padding-right: var(--margin-lateral) !important;
}

.center {
    text-align: center;
}

.principal-section {
    padding-top: 15vh;
    padding-bottom: 10vh;
}

.img-services {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 25%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%), url(../img/5.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: auto;
}

.services-title {
    color: rgb(47 95 79);
    font-size: var(--fs-h3);
    font-weight: 600;
}

.services-title2 {
    font-size: var(--fs-h2);
    color: white;
    font-weight: bold;
}

.services-title3 {
    color: var(--basc-text);
    font-size: var(--fs-h3);
}

.card-services {
    background-color: rgb(249 250 251);
    padding-top: 5vh;
    padding-bottom: 5vh;
    padding-left: 5%;
    padding-right: 5%;
}

.accordion-item {
    border-radius: 20px !important;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
    border-bottom: .2px solid rgb(243 244 246);
}

.accordion-item {
    border: none;
}

.accordion-item:not(:last-of-type) {
    border-bottom: none;
}

.accordion-icon {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background-color: var(--principal-green);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.accordion-item:hover {
    -webkit-box-shadow: 5px 5px 15px 5px rgb(156, 163, 175);
    box-shadow: 5px 5px 15px 5px rgb(156, 163, 175);
}

.center-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.center-icon {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.accordion-title {
    font-size: var(--fs-h3);
    color: black;
    font-weight: bold;
    padding-left: 20px;
}

.accordion-subtitle {
    font-size: var(--fs-body);
    color: var(--principal-green);
}

.accordion-subtitle2 {
    font-size: 2.4vh;
    color: var(--basc-text);
}

.circular-check {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgb(249, 250, 251);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.check-icon {
    color: #2F5F4F;
    font-size: 14px;
    line-height: 1;
}

.accordion-text {
    color: black;
    font-size: var(--fs-small);
}

.accordion-padding {
    margin-bottom: 3%;
}

.solution-section {
    background-color: black;
    padding-top: 10vh;
    padding-bottom: 10vh;
    padding-left: 20%;
    padding-right: 20%;
    border-bottom: 5px solid var(--principal-green);
    text-align: center;
}

.solution-title {
    font-size: var(--fs-h2);
    color: white;
    font-weight: bold;
}

.solution-subtitle {
    font-size: var(--fs-body);
    color: var(--basc-text);
}

.solution-btn {
    background-color: var(--principal-green);
    color: white;
    font-weight: 500;
    font-size: var(--fs-body);
}

.solution-btn:hover {
    background-color: var(--hover-green);
    color: white;
}


/* div oculto !!!!!!!!!!!!!!!!!!!!!!! */


/* div oculto !!!!!!!!!!!!!!!!!!!!!!! */


/* div oculto !!!!!!!!!!!!!!!!!!!!!!! */


/* El row debe tener posición relativa para que el hijo se base en él */

.row {
    position: relative;
    display: flex;
}


/* La columna que contiene la imagen debe ser relativa y medir lo mismo que la del acordeón */

.col-md-5 {
    position: relative;
    display: flex;
    flex-direction: column;
}

.extra-content {
    overflow: hidden;
    opacity: 0;
    height: 0;
    /* Usamos la misma duración y curva que Bootstrap para ir sincronizados */
    transition: height 0.35s ease, opacity 0.35s ease;
    will-change: height, opacity;
}

.extra-content.mostrar {
    opacity: 1;
    /* El alto lo seguirá poniendo JS */
}

.contenedor-img-accord {
    width: 100%;
    height: 100%;
}

.img-accordion-services {
    width: 100%;
    /* Importante: para evitar el salto visual, la imagen debe ser 
       más alta que su contenedor y recortarse, o estar lista desde el inicio */
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

@media screen and (min-width: 1537px) {
    .content-wrapper {
        padding-left: var(--margin-lateral-xl) !important;
        padding-right: var(--margin-lateral-xl) !important;
    }
}

@media screen and (max-width: 1425px) {
    .content-wrapper {
        padding-left: var(--margin-lateral-md) !important;
        padding-right: var(--margin-lateral-md) !important;
    }
}

@media (max-width: 1275px) {
    .accordion-title {
        font-size: var(--fs-h3);
        color: black;
        font-weight: bold;
        padding-left: 20px;
    }
}

@media screen and (max-width: 991px) {
    .content-wrapper {
        padding-left: var(--margin-lateral-sm) !important;
        padding-right: var(--margin-lateral-sm) !important;
    }
    .services-title {
        color: var(--principal-green);
        font-size: var(--fs-h3);
    }
    .services-title2 {
        font-size: var(--fs-h2);
        color: white;
        font-weight: bold;
    }
    .services-title3 {
        color: var(--basc-text);
        font-size: var(--fs-h3);
    }
    .accordion-text {
        color: var(--principal-green);
        font-size: var(--fs-small);
        padding-left: 5px;
    }
    .solution-section {
        background-color: black;
        padding-top: 10vh;
        padding-bottom: 10vh;
        padding-left: 15%;
        padding-right: 15%;
        border-bottom: 5px solid var(--principal-green);
        text-align: center;
    }
    .solution-title {
        font-size: var(--fs-h2);
        color: white;
        font-weight: bold;
    }
    .solution-subtitle {
        font-size: var(--fs-body);
        color: var(--basc-text);
    }
    .card-services {
        background-color: rgb(249 250 251);
        padding-top: 5vh;
        padding-bottom: 5vh;
        padding-left: 3%;
        padding-right: 3%;
    }
}

@media screen and (max-width: 767px) {
     :root {
        --fs-h1: 2.25rem;
        /* 36px */
        --fs-h2: 1.5rem;
        /* 24px */
        --fs-h3: 1.0625rem;
        /* 17px */
        --fs-body: 0.9375rem;
        /* 15px */
        --fs-small: 0.8125rem;
        /* 13px */
    }
    .center-icon {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: initial;
        padding-bottom: 15px;
    }
    .solution-section {
        background-color: black;
        padding-top: 10vh;
        padding-bottom: 10vh;
        padding-left: 7%;
        padding-right: 7%;
        border-bottom: 5px solid var(--principal-green);
        text-align: center;
    }
    .solution-title {
        font-size: var(--fs-h2);
        color: white;
        font-weight: bold;
    }
    .solution-subtitle {
        font-size: var(--fs-body);
        color: var(--basc-text);
    }
    .card-services {
        background-color: rgb(249 250 251);
        padding-top: 5vh;
        padding-bottom: 5vh;
        padding-left: 1%;
        padding-right: 1%;
    }
    .accordion-title {
        font-size: var(--fs-h3);
        color: black;
        font-weight: bold;
        padding-left: 0px;
    }
}

@media screen and (max-width: 619px) {
    .services-title {
        color: var(--principal-green);
        font-size: var(--fs-h3);
    }
    .services-title2 {
        font-size: var(--fs-h2);
        color: white;
        font-weight: bold;
    }
    .services-title3 {
        color: var(--basc-text);
        font-size: var(--fs-h3);
    }
    .solution-section {
        background-color: black;
        padding-top: 10vh;
        padding-bottom: 10vh;
        padding-left: 5%;
        padding-right: 5%;
        border-bottom: 5px solid var(--principal-green);
        text-align: center;
    }
    .solution-title {
        font-size: var(--fs-h2);
        color: white;
        font-weight: bold;
    }
    .solution-subtitle {
        font-size: var(--fs-body);
        color: var(--basc-text);
    }
}