/* =============================================================
   contact.css — Template Contact
   ============================================================= */

/* ---- Hero -------------------------------------------------- */
.contact-hero {
    background: radial-gradient(412.45% 101.88% at 54.06% -1.88%, #050072 0%, #715DFF 50%, #FFFFFF80 60%, #FFFFFF 80%);
    padding: 127px 0 64px;
    text-align: center;
    color: #fff;
}

.gform_heading {
   display: none;
}

div.gfield {
margin-bottom: 16px;
}

.contact-hero__label {
    color: #FFF031;
    text-align: center;
    
    /* EYE BROWN */
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: 28px; /* 116.667% */
    text-transform: uppercase;
    margin-bottom: 11px;
}

.contact-hero__title {
    color: #FFF;
    text-align: center;
    font-family: PlutoRegular;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -2px;
    margin-bottom: 11px;
}

@media (max-width: 768px) {
    .contact-hero__title {
        font-size: 36px;
        line-height: 40px;
    }
}

.contact-hero__subtitle {
    color: #FFF;
    text-align: center;
    
    /* H5 */
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 23px; /* 127.778% */
    margin: 0 0 48px;
}

/* ---- Cards ------------------------------------------------- */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: left;
    
}

@media (max-width: 767px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
     border: 1px solid #E3E2E9;
}

.contact-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #1B1851;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__icon.sales {
    background: #8979FF;
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.contact-card__tag {
    color: #8979FF;
    margin-bottom: 0;
    /* color por defecto = icono "sales" (#8979FF) */
    /* Eyebrow */
    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 148%;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-card__tag--client {
    color: #1B1851;
}

.contact-card__title {
    color: #1B1851;
    
    /* h3 */
    font-family: Roboto;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px; /* 121.429% */
    margin-bottom: 24px;
}

.contact-card__desc {
    color: #212529;
    
    /* Paragraph */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%; /* 25.16px */
    margin-bottom: 32px;
}

.contact-card__sla {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(0deg, #FFF 0%, #E8E7FF 100%);    
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 32px;
}

.contact-card__sla-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #1B1851;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__sla-icon.sales {
   background: #8979FF;
}
.contact-card__sla strong {
    color:#18181B;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
    margin-bottom: 2px;
}

.contact-card__sla span {
    color: #18181B;

    /* Caption */
    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%; /* 20.72px */
}

/* Texto SLA: versión corta solo en móvil */
.contact-card__sla-text--mobile {
    display: none;
}

/* ---- Buttons ----------------------------------------------- */
.contact-btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 15.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    align-self: flex-start;
}

.contact-btn--primary {
    background-color: #33268C;
    color: #fff;
}

.contact-btn--primary:hover,
.contact-btn--primary:focus {
    background-color: #33268C;
    color: #fff031;
    text-decoration: none;
}

.contact-card__link {
    color: #767A7B;

    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    margin-top: 14px;
}

/* La CTA secundaria "Become a partner" es un <button> que abre el form:
   lo reseteamos para que se vea igual que el enlace de texto. */
button.contact-card__link {
   color: #767A7B;
    font-size: 15px !important;
    
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #767A7B;
    cursor: pointer;
    text-align: left;
}

.contact-card__link:hover {
    text-decoration: underline;
    color: #3b2d8f;
}

/* ---- Help text below cards --------------------------------- */
.contact-hero__help {
    color: #252526;
    text-align: center;
    
    /* Paragraph */
    font-family: Roboto;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%; /* 25.16px */
}

.contact-hero__help a {
    color: #4842C1;
    text-decoration: underline;
}

.contact-hero__help a:hover {
    color: #fff031;
}

/* ---- Form section ------------------------------------------ */
.contact-form-section {
    display: none;
    background: #ffffff;
    padding: 30px 0 70px;
}

.contact-form-section.is-visible {
    display: block;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #E3E2E9;
    border-radius: 8px;
    padding: 40px 37px;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

.contact-form__title {
    color: #191567;
    font-family: Roboto, sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 45px;
    letter-spacing: 0;
    margin: 0 0 8px;
}

@media (max-width: 768px) {
    .contact-form__title {
        font-size: 28px;
        line-height: 36px;
    }
}

.contact-form__subtitle {
    font-size: 17px;
    color: #212529;
    line-height: 148%;
    margin: 0 0 12px;
}

/* === RESET TOTAL GRAVITY FORMS === */
.contact-form-wrapper .gform_wrapper {
    margin: 0 !important;
}

.contact-form-wrapper .gform_wrapper ul,
.contact-form-wrapper .gform_wrapper ul.gform_fields {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 24px !important;
}

.contact-form-wrapper .gform_wrapper ul li,
.contact-form-wrapper .gform_wrapper ul.gform_fields li.gfield {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-image: none !important;
}

.contact-form-wrapper .gform_wrapper li.gfield::before,
.contact-form-wrapper .gform_wrapper li::before,
.contact-form-wrapper .gform_wrapper .gfield::before {
    content: none !important;
    display: none !important;
}

/* Por defecto cada campo ocupa media fila (50%) */
.contact-form-wrapper .gform_wrapper li.gfield {
    grid-column: span 1 !important;
}

/* Nombre y Email a columna completa */
.contact-form-wrapper .gform_wrapper li.gfield:nth-child(1),
.contact-form-wrapper .gform_wrapper li.gfield:nth-child(2) {
    grid-column: span 2 !important;
}

/* Consentimiento, textarea y archivo a columna completa */
.contact-form-wrapper .gform_wrapper li.gfield--type-consent,
.contact-form-wrapper .gform_wrapper li.gfield--type-textarea,
.contact-form-wrapper .gform_wrapper li.gfield--type-fileupload {
    grid-column: span 2 !important;
}

/* Labels */
.contact-form-wrapper .gform_wrapper .gfield_label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #252526 !important;
    margin-bottom: 8px !important;
    display: block !important;
    line-height: normal;
}

/* Asterisco requerido */
.contact-form-wrapper .gform_wrapper .gfield_required {
    color: #33268C !important;
}

/* Inputs y selects */
.contact-form-wrapper .gform_wrapper input[type="text"],
.contact-form-wrapper .gform_wrapper input[type="email"],
.contact-form-wrapper .gform_wrapper input[type="tel"],
.contact-form-wrapper .gform_wrapper input[type="url"],
.contact-form-wrapper .gform_wrapper input[type="number"],
.contact-form-wrapper .gform_wrapper select {
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid #E3E2E9 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    color: #222 !important;
    background: #fff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.contact-form-wrapper .gform_wrapper textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #E3E2E9 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    color: #222 !important;
    background: #fff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    resize: vertical !important;
    margin: 0 !important;
    height: 90px ;
}

.contact-form-wrapper .gform_wrapper input:focus,
.contact-form-wrapper .gform_wrapper select:focus,
.contact-form-wrapper .gform_wrapper textarea:focus {
    outline: none !important;
    border-color: #33268C !important;
    box-shadow: 0 0 0 3px rgba(51, 38, 140, 0.12) !important;
}

.contact-form-wrapper .gform_wrapper input::placeholder,
.contact-form-wrapper .gform_wrapper textarea::placeholder {
    color: #8C8C91 !important;
}

/* Select: flecha custom */
.contact-form-wrapper .gform_wrapper .ginput_container_select {
    position: relative !important;
}

.contact-form-wrapper .gform_wrapper .ginput_container_select::after {
    content: '' !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 10px !important;
    height: 6px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center !important;
    pointer-events: none !important;
}

/* Links dentro del formulario */
.contact-form-wrapper .gform_wrapper a {
    color: #33268C !important;
    text-decoration: underline !important;
}

.contact-form-wrapper .gform_wrapper a:hover {
    color: #1e1760 !important;
}

/* Consentimiento */
.contact-form-wrapper .gform_wrapper .gfield_description,
.contact-form-wrapper .gform_wrapper .ginput_container_consent label {
    font-size: 11px !important;
    color: #888 !important;
    line-height: 1.5 !important;
    margin-bottom: 5px;
}

.contact-form-wrapper .gform_wrapper .ginput_container_consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.contact-form-wrapper .gform_wrapper .ginput_container_consent input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin-top: 2px !important;
    accent-color: #33268C !important;
    cursor: pointer !important;
}

/* Footer y botón */
.contact-form-wrapper .gform_wrapper .gform_footer,
.contact-form-wrapper .gform_wrapper .gform_page_footer {
    margin-top: 16px !important;
    padding: 0 !important;
    text-align: center !important;
}

.contact-form-wrapper .gform_wrapper input[type="submit"],
.contact-form-wrapper .gform_wrapper .gform_button {
    width: auto !important;
    display: inline-block !important;
    height: 52px !important;
    padding: 0 48px !important;
    background: #33268C !important;
    color: #fff !important;
    border: none !important;
    border-radius: 100px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
}

.contact-form-wrapper .gform_wrapper input[type="submit"]:hover,
.contact-form-wrapper .gform_wrapper .gform_button:hover {
    background: #1e1760 !important;
}

/* Error de envío */
.contact-form-wrapper .gform_wrapper .gform_submission_error {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    background: #fff5f5 !important;
    border: 1px solid #f5c1c1 !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-bottom: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #a32d2d !important;
    line-height: 1.5 !important;
    font-family: 'Roboto';
}

/* Validación campos individuales */
.contact-form-wrapper .gform_wrapper .gfield_error input,
.contact-form-wrapper .gform_wrapper .gfield_error select,
.contact-form-wrapper .gform_wrapper .gfield_error textarea {
    border-color: #e24b4a !important;
}

.contact-form-wrapper .gform_wrapper .validation_message {
    font-size: 11px !important;
    color: #e24b4a !important;
    margin-top: 4px !important;
}

/* ---- Campo de archivo (file upload) ----------------------- */
.contact-form-wrapper .gform_wrapper .ginput_container_fileupload input[type="file"] {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 9px 12px !important;
    border: 1px dashed #C9C7D6 !important;
    border-radius: 8px !important;
    background: #FAFAFC !important;
    font-size: 13px !important;
    color: #555 !important;
    cursor: pointer !important;
    transition: border-color 0.2s, background 0.2s !important;
}

.contact-form-wrapper .gform_wrapper .ginput_container_fileupload input[type="file"]:hover {
    border-color: #33268C !important;
    background: #F4F3FB !important;
}

/* Botón "Seleccionar archivo" (WebKit) */
.contact-form-wrapper .gform_wrapper .ginput_container_fileupload input[type="file"]::-webkit-file-upload-button {
    margin-right: 12px !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 50px !important;
    background: #33268C !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.contact-form-wrapper .gform_wrapper .ginput_container_fileupload input[type="file"]::-webkit-file-upload-button:hover {
    background: #1e1760 !important;
}

/* Botón "Seleccionar archivo" (estándar / Firefox) */
.contact-form-wrapper .gform_wrapper .ginput_container_fileupload input[type="file"]::file-selector-button {
    margin-right: 12px !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 50px !important;
    background: #33268C !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.contact-form-wrapper .gform_wrapper .ginput_container_fileupload input[type="file"]::file-selector-button:hover {
    background: #1e1760 !important;
}

/* Texto de reglas: "Max. file size: 2 GB." */
.contact-form-wrapper .gform_wrapper .gform_fileupload_rules {
    display: block !important;
    margin-top: 6px !important;
    font-size: 12px !important;
    color: #8C8C91 !important;
}

@media (max-width: 768px) {
    .contact-form-wrapper .gform_wrapper ul,
    .contact-form-wrapper .gform_wrapper ul.gform_fields {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .contact-form-wrapper .gform_wrapper li.gfield,
    .contact-form-wrapper .gform_wrapper li.gfield:nth-child(1),
    .contact-form-wrapper .gform_wrapper li.gfield:nth-child(2),
    .contact-form-wrapper .gform_wrapper li.gfield--type-consent,
    .contact-form-wrapper .gform_wrapper li.gfield--type-textarea {
        grid-column: 1 / -1 !important;
    }
}

/* ---- Info section ------------------------------------------ */
.contact-info {
    background: #fff;
    border-top: 1px solid #e5e3f3;
    padding: 56px 0 64px;
}

.contact-info__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

@media (max-width: 900px) {
    .contact-info__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .contact-info__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contact-info__col h3 {
    color: #212529;
    font-family: Roboto;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 148%; /* 25.16px */
    margin: 0 0 16px;
}

.contact-info__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 340px; /* mantiene país y número como pareja, sin estirarse */
}

.contact-info__col ul li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 13px;
    padding: 5px 0;
    color: #333;
    gap: 16px;
    margin-bottom: 0;
}

.contact-info__col ul li span {
    color: #212529;
    white-space: nowrap;
    flex: 0 1 auto;
}

.contact-info__col ul li a {
    white-space: nowrap;
    text-align: right;
}

.contact-info__col address {
    font-style: normal;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.contact-info__col p {
    font-size: 14px;
    color: #444;
    margin: 0 0 6px;
    line-height: 1.5;
}

.contact-info__col a {
    color: #1b1851;
    text-decoration: none;
}

.contact-info__col a:hover {
    text-decoration: underline;
    color: #3b2d8f;
}

.contact-info__col ul li a {
    font-weight: 600;
    color: #212529;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =============================================================
   MOBILE — compacto y táctil (pantalla pequeña)
   ============================================================= */
@media (max-width: 767px) {
    .contact-hero {
        padding: 90px 0 36px;
    }

    .contact-hero__label {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 8px;
    }

    .contact-hero__subtitle {
        font-size: 15px;
        line-height: 21px;
        margin: 0 0 32px;
    }

    .contact-cards {
        gap: 16px;
        margin-bottom: 32px;
    }

    .contact-card {
        padding: 28px 22px;
    }

    .contact-card__title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 12px;
    }

    .contact-card__desc {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .contact-card__sla {
        margin-bottom: 12px;
    }

    /* En móvil mostramos la versión corta del texto SLA */
    .contact-card__sla-text--desktop {
        display: none;
    }

    .contact-card__sla-text--mobile {
        display: inline;
    }

    /* CTA principal a todo el ancho (objetivo de toque más grande) */
    .contact-btn {
        width: 100%;
        align-self: stretch;
    }

    /* CTA secundaria centrada debajo del botón */
    .contact-card__link,
    button.contact-card__link {
        align-self: center;
        text-align: center;
        width: 100%;
    }

    .contact-hero__help {
        font-size: 14px;
    }

    .contact-info {
        padding: 40px 0 48px;
    }

    .contact-info__col ul {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-hero__title {
        font-size: 30px;
        line-height: 36px;
    }

    .contact-card {
        padding: 24px 18px;
    }
    
    .contact-card__head {
       margin-bottom: 12px;
    }
}
