@font-face {
    font-family: "Gold";
    src: url(../fonts/gobold_bold-webfont.woff2);
    font-display: swap;
}
@font-face {
    font-family: "Poopins-Regular";
    src: url(../fonts/poppins-regular-webfont.woff2);
    font-display: swap;
}
@font-face {
    font-family: "Poopins-Medium";
    src: url(../fonts/poppins-medium-webfont.woff2);
    font-display: swap;
}
:root {
    --principal-color: #007831;
    --secundario-color: #c5a96f;
    --bg-body: #fff1d6;
    --gris: #939597;
    --texto: #231f20;
    --blanco: #ffffff;
    --font-principal: "Gold", sans-serif;
    --font-text: "Poopins-Regular", sans-serif;
    --font-text-medium: "Poopins-Medium", sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    /* background: #f9f9f8; */
}
body {
    background: #fff9ed;
}
h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
}
.btn-principal {
    padding: 0.8rem 2.5rem;
    background: var(--principal-color);
    border-radius: 1rem;
    border: 0;
    color: var(--blanco);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-principal:hover {
    background: hsl(145 100% 34% / 1);
}
.btn-principal:disabled {
    opacity: 0.65;
}
.btn-principal:disabled:hover {
    background: var(--principal-color);
}
.btn-principal-outline {
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--principal-color);
    border-radius: 1rem;
    color: var(--texto);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-principal-outline:hover {
    background: var(--principal-color);
    color: var(--blanco);
}



.btn-principal-sub {
    padding: 0.8rem 2.5rem;
    background: var(--principal-color);
    border-radius: 1rem;
    border: 0;
    color: var(--blanco);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-principal-sub:hover {
    background: hsl(145 100% 34% / 1);
}
.btn-principal-sub:disabled {
    opacity: 0.65;
}
.btn-principal-sub:disabled:hover {
    background: var(--principal-color);
}
.btn-principal-sub-outline {
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--principal-color);
    border-radius: 1rem;
    color: var(--texto);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-principal-sub-outline:hover {
    background: var(--principal-color);
    color: var(--blanco);
}

/* Seccion-principal */
.seccion-principal {
    width: 100%;
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}
.card-principal {
    width: fit-content;
    background: var(--principal-color);
    border-radius: 2rem;
    padding: 2rem;
}
.nav-card-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 1.5rem;
}
.title-nav-principal {
    font-size: 2.2rem;
    font-family: var(--font-principal);
    color: var(--blanco);
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
}
.img-logo {
    filter: brightness(0) invert(1);
    height: 120px;
    width: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.description-nav-principal {
    color: var(--blanco);
    font-family: var(--font-text);
    font-size: 1.5rem;
    line-height: 1.2;
    max-width: 450px;
    text-align: center;
}

.list-nav {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.list-nav img {
    width: 4rem;
    height: 4rem;
}

.body-card-principal {
    border: 1px solid var(--texto);
    background: var(--blanco);
    padding: 2rem;
    border-radius: 2rem;
    width: 640px;
    height: 500px;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}
.article {
    display: none;
    width: 100%;
}
.article.active {
    display: block;
}
.title-card-principal {
    width: 96%;
    height: 70px;
    font-family: var(--font-text);
    font-size: 1.3rem;
    color: var(--texto);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.2rem;
}
.title-card-principal a {
    font-size: 1rem;
    color: var(--principal-color);
    text-decoration: underline;
}
.form-card-principal {
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
}
.form-grid-reaction {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
    column-gap: 1rem;
}
.form-grid-option {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
form-grid-solucion {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 1rem;
}
.form-group {
    width: 100%;
}
.label-text {
    display: block;
    font-size: 1rem;
    font-family: var(--font-text);
    color: var(--texto);
    margin-bottom: 0.4rem;
}
.input-text {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid #e6e6e6;
    margin-bottom: 1rem;
}
.input-card {
    display: none;
}
.label-card {
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--texto);
    line-height: 1;
    display: flex;
    align-items: center;
    column-gap: 1rem;
    padding-top: 1.2rem;
    padding-right: 1.2rem;
    padding-bottom: 1.2rem;
    padding-left: 3.5rem;
    border-radius: 1rem;
    border: 1px solid #e6e6e6;
    background: #00000003;
    position: relative;
    cursor: pointer;
    user-select: none;
    margin-bottom: 1rem;
    transition: all 0.3s;
}
.label-card img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.label-card:hover {
    background: #0000000d;
}
.label-card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid var(--texto);
    border-radius: 50%;
}
.label-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 19.5px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: var(--principal-color);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
}
.input-card[type="radio"]:checked ~ .label-card {
    background: #0000000d;
    border: 1px solid var(--principal-color);
}
.input-card[type="radio"]:checked ~ .label-card::after {
    opacity: 1;
    visibility: visible;
}
.textarea-card {
    font-size: 1rem;
    font-family: var(--font-text);
    display: block;
    width: 100%;
    height: 140px;
    border-radius: 1rem;
    border: 1px solid #e6e6e6;
    padding: 1rem;
}
.form-group.reaction .label-card {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    line-height: 1.4;
}
.form-group.reaction .label-card::before {
    display: none;
}
.form-group.reaction .label-card::after {
    display: none;
}

.form-group-button {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    justify-content: center;
    margin-top: auto;
}

.footer-card-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}
.step {
    width: 100%;
    height: 2px;
    background: #0000001a;
    border-radius: 2px;
    max-width: 250px;
    margin: 25px 0 0 0;
    position: relative;
}
.step::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--principal-color);
    transition: all 0.3s;
}
.step.active::after {
    width: 100%;
    transition: all 0.3s;
}
/* fin Seccion-principal */

/* inicio footer */

.footer {
    background-color: var(--secundario-color);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer .empresa-B .content-logo-empresas {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 0;
}

.footer .empresa-B .img-empresa-B {
    width: 60px;
}

.separacion-logos:nth-child(3) img {
    height: 70px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.separacion-logos:nth-child(4) img {
    height: 80px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* fin footer */

@media screen and (max-width: 768px) {
    .seccion-principal {
        width: 96%;
        height: auto;
        margin: 0 auto;
        padding: 2rem 0;
    }
    .img-logo {
        height: 100px;
    }
    .title-nav-principal {
        text-align: center;
    }
    .card-principal {
        width: 100%;
        padding: 2rem 1rem;
    }
    .body-card-principal {
        height: auto;
        width: 100%;
        padding: 2rem 1rem;
    }
    .form-card-principal {
        height: auto;
    }
    .form-group-button {
        margin-top: 2.4rem;
    }
    .title-card-principal {
        font-size: 1rem;
        height: auto;
    }
    .footer .empresa-B .content-logo-empresas {
      gap: 2.6rem;
    }
}

@media screen and (max-width: 425px) {
  .list-nav img {
    width: 3.5rem;
    height: 3.5rem;
  }
  .footer .empresa-B .content-logo-empresas {
      gap: 1.6rem;
    }
  .footer .empresa-B .img-empresa-B {
    width: 40px;
  }
  .separacion-logos:nth-child(3) img,
  .separacion-logos:nth-child(4) img {
    height: 50px;
  }
}