/* Representante Banner */
.representante-banner {
  height: 960px;
  width: 100%;
  background-image: image-set(url("/assets/images/representante-tecnico/representante-banner.webp") type("image/webp"), url("/assets/images/representante-tecnico/representante-banner.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.representante-banner .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.representante-banner h1 {
  font-size: 50px;
  color: #ffffff;
  line-height: 60px;
  max-width: 660px;
  margin-bottom: 40px;
  display: inline-block;
}

.representante-banner p {
  font-size: 18px;
  line-height: 28px;
  color: #ffffff;
  max-width: 320px;
  margin-bottom: 40px;
}

.representante-banner-ceabs {
    position: absolute;
    right: 0;
    bottom: -120px;
}

/* Form Section */
.form-section {
    padding: 150px 0;
    background-image: image-set(url("/assets/images/representante-tecnico/representante-form-bg.webp") type("image/webp"), url("/assets/images/representante-tecnico/representante-form-bg.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.form-section-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    background-color: #FFFFFF1A;
    border: 1.5px solid #FFFFFF33;
    border-radius: 12px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.form-section-image {
    height: 660px;
    width: 560px;
    display: flex;
    align-items: flex-end;
    padding: 23px;
    background-image: image-set(url("/assets/images/representante-tecnico/representante-form.webp") type("image/webp"), url("/assets/images/representante-tecnico/representante-form.png") type("image/png"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.form-section-image-whatsapp {
    padding: 27px 19px 19px 23px;
    background-color: #FFFFFF03;
    border: 2px solid #FFFFFF66;
    border-radius: 12px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.form-section-image-whatsapp h3 {
    font-size: 25px;
    font-weight: 400;
    line-height: 33px;
    color: #ffffff;
    margin-bottom: 15px;
}

.form-section-image-whatsapp h3 strong {
    font-weight: 700;
}

.form-section-image-whatsapp-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.form-section-fields {
    width: 100%;
    max-width: 544px;
    padding-top: 25px;
    padding-right: 25px;
}

.form-section-fields h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 42px;
    color: #ffffff;
    margin-bottom: 14px;
}

.form-section-subtitle {
    max-width: 430px;
    margin-bottom: 20px;
    font-family: 'Arimo', sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.84);
}

.contact-form .form-feedback {
    margin: 0 0 22px;
}

.form-group {
    width: 100%;
    min-height: 56px;
    margin-bottom: 22px;
    background: #F8F8F8;
    border: 1px solid #E3E3E4;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 12px;
    font-size: 15px;
    color: #45484C;
    font-family: inherit;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.form-row .form-group {
    width: 50%;
    margin-bottom: 0;
}

.select-group {
    padding: 0 12px;
    justify-content: space-between;
    overflow: hidden;
}

.select-group label {
    font-size: 15px;
    color: #45484C;
    white-space: nowrap;
}

.select-group select {
    width: auto;
    max-width: 174px;
    padding: 0 36px 0 6px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='11' viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L9 9.5L17 1.5' stroke='%234D4D52' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
}

.select-group select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.radio-group {
    min-height: 56px;
    padding: 0 12px;
    gap: 28px;
}

.radio-group span,
.radio-group label {
    font-size: 15px;
    color: #45484C;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 28px;
    height: 28px;
    accent-color: var(--color-primary);
    cursor: pointer;
    padding: 0;
}

.upload-box {
    width: 100%;
    min-height: 56px;
    background: var(--color-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    cursor: pointer;
    color: #fff;
}

.upload-box input {
    display: none;
}

.upload-icon {
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon :is(img, svg.svg-icon) {
    max-width: 100%;
}

.upload-text {
    font-size: 15px;
    color: #fff;
    margin-right: 12px;
}

.upload-info {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
}

.contact-form button[type="submit"],
.contact-form input[type="submit"] {
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    width: 130px;
    background-color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 0;
    color: #ffffff;
    height: 50px;
    border: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
    background-color: var(--color-primary-hover);
}

.contact-form button[type="submit"]:disabled,
.contact-form input[type="submit"]:disabled {
    opacity: 0.75;
    cursor: wait;
}

@media (max-width: 1024px) {
    .form-section-container {
        flex-direction: column;
    }

    .form-section-image {
        width: 100%;
        justify-content: center;
    }

    .form-section-fields {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .representante-banner h1 {
        padding-top: 40px;
    }

    .representante-banner {
        height: 660px;
    }
}

@media (max-width: 500px) {
    .representante-banner h1 {
        font-size: 36px;
        line-height: 46px;
    }

    .representante-banner-ceabs {
        display: none;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row .form-group {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .representante-banner h1 {
        padding-top: 100px;
    }
}
