/* HERO */
.section-hero {
    width: 100%;
    height: 748px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    position: relative;
    padding: 90px 0 0;
    text-align: center;
    display: flex;
    align-items: flex-end;
}

.section-hero .hero_content {
    /* max-width: max-content;
    margin: auto; */
}

.section-hero h2 {
    font-family: var(--font-science);
    font-size: clamp(1.5rem, 20vw, 11.563rem);
    line-height: clamp(1.5rem, 15vw, 7.75rem);
    letter-spacing: -6%;
}

.section-hero .sub_title {
    font-family: var(--font-south-assign);
    color: var(--color-gold-light);
    font-size: clamp(1.5rem, 10vw, 3.75rem);
    line-height: clamp(1.5rem, 10vw, 2.75rem);
    text-align: center;
    transform: rotate(-5deg);
    position: relative;
    right: -18%;
    top: 0px;
}

.section-hero .box_text {
    max-width: 488px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 80px;
    margin-bottom: 60px;
}

.section-hero .box_text p {
    font-size: clamp(1rem, 8vw, 1.375rem);
    line-height: clamp(1rem, 8vw, 1.875rem);
}

.section-hero .cta_grid {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.section-hero .cta_grid .cta-2 {
    max-width: max-content;
}

.section-hero::before {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #000;
    background: linear-gradient(0deg, rgb(0 0 0) 0%, rgba(185, 148, 104, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .section-hero {
        height: 460px;
    }

    .section-hero h2 {
        max-width: 90%;
        margin: auto;
    }

    .section-hero .sub_title {
        right: 0;
        top: 0px;
    }

    .section-hero .cta_grid {
        max-width: 75%;
        margin: auto;
    }

    .section-hero .cta_grid .cta-2 {
        max-width: 100%;
        width: 100%;
        font-size: 1rem;
        padding: 14px 20px;
    }
}

/* JOIN CARTA + FORM */
.join-form_header {
    padding: 150px 0;
    text-align: center;
}

.join-form_header p {
    font-size: clamp(1rem, 6vw, 2.125rem);
    line-height: clamp(1rem, 9vw, 2.75rem);
    max-width: 578px;
    margin: auto;
}

.join-form_wrapper {
    position: relative;
}

.section-join-form .image_float {
    position: absolute;
    z-index: 1;
    width: 307px;
    height: 402px;
    pointer-events: none;
}

.section-join-form .image_float.image_float_01 {
    top: 103px;
    left: 7%;
    rotate: -6.30deg;
}

.section-join-form .image_float.image_float_02 {
    top: -56px;
    right: 7%;
    rotate: 5.41deg;
}

.carta {
    width: 897px;
    height: 555px;
    max-width: 100%;
    margin: auto;
    position: relative;
    background-image: url('../img/collection-bg-01.jpg');
    padding: 40px;
    border-radius: 4px;
    display: grid;
    place-content: center;
    grid-template-columns: 1fr;
}

.carta::before {
    content: '';
    background-image: url('../img/marco-carta.png');
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.carta::after {
    content: '';
    background-image: url('../img/sello-dorado.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    right: 6%;
    bottom: 6%;
    width: 141px;
    height: 151px;
    pointer-events: none;
}

.box_form {
    width: 100%;
    max-width: 360px;
    margin: auto;
    text-align: center;
}

.box_form .box_input {
    margin-bottom: 60px;
}

.box_form .box_input:nth-of-type(3) {
    margin-bottom: 40px;
}

.box_form .box_check {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.box_form input {
    width: 100%;
    background: transparent;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #b48e63;
    color: #b48e63;
    font-size: 1.125rem;
    line-height: 1.813rem;
    font-family: var(--font-engravers-bold);
    text-transform: uppercase;
    letter-spacing: .10em;
}

label[for=legal] {
    font-family: var(--font-avenir-medium);
    color: #b48e63;
}

input[type=checkbox] {
    width: max-content;
}

.btn-submit {
    display: inline-block;
    font-family: var(--font-engravers-bold);
    width: 100%;
    max-width: 213px;
    color: rgb(255, 255, 255);
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .10em;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 14px;
    background: rgba(185, 148, 104, 0.2);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(185, 148, 104);
    border-image: initial;
    transition: 0.3s;
}

.btn-submit::before {
    content: "";
    position: absolute;
    background-color: rgb(185, 148, 104);
    z-index: -1;
    inset: 4px;
}

.btn-submit:hover {
    border-color: var(--color-black);
}

.btn-submit:hover::before {
    inset: 0px;
    background-color: var(--color-black);
}

.btn-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form_status {
    min-height: 24px;
    margin-top: 18px;
    font-family: var(--font-avenir-medium);
    font-size: 0.938rem;
    line-height: 1.4;
    color: #b48e63;
}

.form_status.is-error {
    font-family: var(--font-editorial);
    color: #ff6b6b;
}

.form_status.is-success {
    font-family: var(--font-editorial);
    color: #ff6b6b;
}

.form_download_link {
    display: inline-block;
    margin-top: 8px;
    font-family: var(--font-avenir-medium);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: #b48e63;
    text-transform: uppercase;
    text-decoration: underline;
}

.form_download_link:hover {
    color: #ffffff;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #b48e63;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #b48e63;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #b48e63;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #b48e63;
}

@media (max-width: 768px) {
    .join-form_header {
        padding: 100px 0 200px;
    }

    .join-form_header p {
        max-width: 90%;
    }

    .carta {
        height: 655px;
        padding: 30px;
    }

    .carta::before {
        opacity: 0;
    }

    .carta::after {
        width: 100px;
        height: 107px;
    }

    .box_form input {
        font-size: 1rem;
    }

    .box_form .box_input {
        margin-bottom: 40px;
    }

    label[for=legal] {
        font-size: 0.675rem;
    }

    .btn-submit {
        font-size: 1rem;
        max-width: 170px;
    }

    .section-join-form .image_float {
        width: 180px;
        height: 236px;
    }

    .section-join-form .image_float.image_float_01 {
        top: 90%;
        left: -11%;
    }

    .section-join-form .image_float.image_float_02 {
        top: -22%;
        right: -16%;
    }
}

/* JOIN ITEMS */
.section-join-items {
    padding: 175px 0 20px;
    background: #B99468;
    background: linear-gradient(0deg, rgba(185, 148, 104, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.section-join-items .join_items_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.section-join-items .join_items_grid .join_item {
    text-align: center;
}

.section-join-items .join_items_grid .join_item h6 {
    font-family: var(--font-engravers-bold);
    color: var(--color-gold-light);
    font-size: 1.125rem;
    line-height: 1;
    margin-bottom: 20px;
}

.section-join-items .join_items_grid .join_item p {
    font-size: clamp(1rem, 5vw, 1.375rem);
    line-height: clamp(1rem, 8vw, 1.875rem);
    max-width: 300px;
    margin: auto;
}

@media (max-width: 768px) {
    .section-join-items {
        padding: 225px 0 20px;
    }

    .section-join-items .join_items_grid .join_item p {
        max-width: 90%;
    }

    .section-join-items .join_items_grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}