.grecaptcha-badge { visibility: hidden !important; }
    .contact-page,
    .contact-page *,
    #getCodeModal,
    #getCodeModal *,
    #cambioSolicitudModal,
    #cambioSolicitudModal * {
        font-family: 'Montserrat', sans-serif !important;
        text-transform: none !important;
        letter-spacing: normal;
    }
    .contact-page .control,
    .contact-page .control::placeholder {
        font-weight: 400;
    }
    .contact-page, .contact-hero { font-family: 'Montserrat', sans-serif; color: #3d527c; }
    .contact-page *, .contact-hero * { box-sizing: border-box; }
    .contact-hero { background: #595959; color: #fff; }
    .contact-hero-inner { width: min(1140px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; }
    .contact-hero-copy { align-self: center; padding: 35px 40px 35px 0; }
    .contact-hero h2 { color: #fff; font-size: 30px; line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
    .contact-hero p { color: #e0e0e0; font-size: 16px; line-height: 1.5; margin: 0; max-width: 510px; }
    .contact-hero-image { width: 100%; height: 260px; object-fit: cover; object-position: center; }
    .contact-page { width: min(1140px, calc(100% - 40px)); margin: 40px auto; }
    .contact-page .layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
    .contact-page .form-column { min-width: 0; margin: 0; padding: 38px 42px; background: #bdcfd9; }
    .contact-page .section { margin: 0 0 30px; padding: 0; border: 0; }
    .contact-page .section-title { margin: 0 0 10px; color: #3d527c; font-size: 16px; line-height: 1.4; font-weight: 700; }
    .contact-page h1.section-title { font-size: 24px; margin-bottom: 14px; }
    .contact-page .section-description { margin: 0 0 14px; color: #3d527c; font-size: 14px; line-height: 1.5; }
    .contact-page .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
    .contact-page .field { margin: 0 0 16px; }
    .contact-page .field-grid .field { margin: 0; }
    .contact-page #field-email { grid-column: 1; grid-row: 2; }
    .contact-page #field-telefono { grid-column: 2; grid-row: 2; }
    .contact-page .field.full { grid-column: 1 / -1; }
    .contact-page label { display: block; margin: 0 0 5px; color: #3d527c; font-size: 13px; line-height: 1.4; font-weight: 700; }
    .contact-page label[for="tipoSolicitud"] { font-size: 14px; }
    .contact-page .control { width: 100%; min-height: 38px; padding: 8px 12px; border: 2px solid #3d527c; border-radius: 3px; background-color: #fff; color: #3d527c; font-family: inherit; font-size: 14px; line-height: 1.4; box-shadow: inset 0 1px 2px #00000006; }
    .contact-page .control::placeholder { color: #666; opacity: 1; }
    .contact-page .control:focus { outline: 2px solid #3d527c33; outline-offset: 1px; border-color: #3d527c; }
    .contact-page #descripcion:focus { border-color: #3d527c; outline-color: #3d527c44; }
    .contact-page .field.invalid #descripcion { border-color: #c62828; }
    .contact-page select.control[aria-invalid="false"]:focus { border-color: #3d527c; outline-color: #3d527c44; }
    .contact-page select.control {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-right: 36px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M2 2l4 4 4-4' fill='none' stroke='%233d527c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 12px 8px;
        cursor: pointer;
    }
    @supports (appearance: base-select) {
        .contact-page #tipoSolicitud,
        .contact-page #tipoSolicitud::picker(select) {
            appearance: base-select;
        }
        .contact-page #tipoSolicitud::picker-icon {
            display: none;
        }
        .contact-page #tipoSolicitud::picker(select) {
            border: 1px solid #3d527c;
            border-radius: 3px;
            background: #fff;
            color: #3d527c;
            font: inherit;
        }
        .contact-page #tipoSolicitud option {
            padding: 6px 12px;
            gap: 8px;
        }
        .contact-page #tipoSolicitud option::checkmark {
            content: "\2713";
        }
    }
    .contact-page .problem-notice { margin: 12px 0 0; padding: 14px 16px; border-radius: 8px; background: #e0e9ef; color: #3d527c; font-size: 13px; line-height: 1.5; }
    .contact-page textarea.control { display: block; min-height: 108px; resize: vertical; }
    .contact-page .error-message { display: none; margin: 6px 0 0; color: #c62828; font-size: 12px; line-height: 1.4; }
    .contact-page .field.invalid .control, .contact-page .field.invalid .upload-box { border-color: #c62828; }
    .contact-page .field.invalid .error-message { display: block; }
    .contact-page .attachment-grid { display: flex; flex-wrap: wrap; gap: 12px; }
    .contact-page .upload-box { position: relative; flex: 1 1 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; margin: 0; padding: 20px; border: 1px dashed #ddd; border-radius: 6px; background: #fff; text-align: center; cursor: pointer; }
    .contact-page .upload-box:hover { border-color: #00b58b; }
    .contact-page .upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
    .contact-page .upload-box:focus-within { outline: 2px solid #3d527c44; background: #fff; }
    .contact-page .upload-box.is-dragging { outline: 2px solid #3d527c; background: #e0e9ef; }
    .contact-page .upload-icon { width: 32px; height: 32px; margin-bottom: 12px; }
    .contact-page .upload-title { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 400; }
    .contact-page .upload-title strong { color: #00b58b; }
    .contact-page .upload-help, .contact-page .file-list { color: #666; font-size: 12px; font-weight: 400; }
    .contact-page .file-list { display: contents; margin: 0; padding: 0; list-style: none; }
    .contact-page .attachment-card { position: relative; display: flex; flex-direction: column; flex: 1 1 220px; min-width: 0; padding: 20px; border-radius: 6px; background: #e0e9ef; }
    .contact-page .attachment-preview { display: flex; align-items: center; justify-content: center; width: 140px; max-width: 100%; height: 85px; margin: 0 auto 18px; border-radius: 6px; background: #fff; color: #999; font-weight: 700; }
    .contact-page .attachment-preview img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
    .contact-page .attachment-name { position: relative; display: block; padding-right: 20px; padding-bottom: 6px; overflow-wrap: anywhere; color: #3d527c; }
    .contact-page .attachment-name::after { content: "\2713"; position: absolute; top: 2px; right: 0; display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: #39b334; color: #fff; font: bold 10px/1 Arial, sans-serif; }
    .contact-page .remove-file { position: absolute; top: 16px; right: max(12px, calc(50% - 74px)); display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #ff1429; color: #fff; cursor: pointer; font: 16px/1 Arial, sans-serif; text-decoration: none; }
    .contact-page .attachment-ready { display: block; margin-top: auto; border-radius: 4px; background: #00b58b; color: #fff; text-align: center; font-size: 11px; }
    .contact-page .remove-file:focus-visible { outline: 2px solid #00b58b; outline-offset: 2px; }
    .contact-page .phone-control { position: relative; width: 100%; min-width: 0; }
    .contact-page .phone-prefix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #3d527c; font-size: 14px; pointer-events: none; }
    .contact-page .phone-control .control { display: block; width: 100%; max-width: none; height: 40px; padding-left: 49px; }
    .contact-page .actions { display: flex; justify-content: flex-end; }
    .contact-page .button { min-height: 40px; padding: 10px 27px; border: 0; border-radius: 0; background: #3d527c; color: #fff; font-family: inherit; font-size: 14px; line-height: 1.4; font-weight: 400; cursor: pointer; }
    .contact-page .button:hover { background: #2e3f60; }
    .contact-page .button:disabled { opacity: .65; cursor: wait; }
    .contact-page .side-card { padding: 8px 0 0; background: transparent; }
    .contact-page .help-block { margin-bottom: 46px; }
    .contact-page .help-icon { display: block; width: 48px; height: 48px; margin-bottom: 12px; fill: none; stroke: #3d527c; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
    .contact-page .help-icon .accent { stroke: #00b58b; }
    .contact-page img.help-icon { object-fit: contain; }
    .contact-page .side-card h3 { margin: 0 0 4px; color: #3d527c; font-size: 16px; line-height: 1.4; font-weight: 700; }
    .contact-page .side-card p { margin: 0 0 8px; color: #3d527c; font-size: 15px; line-height: 1.5; }
    .contact-page .side-card a, .contact-page .help-contact { color: #00b58b; font-size: 14px; line-height: 1.5; text-decoration: none; }
    .contact-page .side-card .help-contact { font-size: 16px; }
    .contact-page .side-card a:hover { text-decoration: none; }
    .contact-page .hidden { display: none; }
    .contact-page .attachment-optional { font-weight: 400; }
    .contact-page .form-message { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 3px; font-size: 14px; }
    .contact-page .form-message.success { display: block; background: #ecfdf3; color: #027a48; }
    .contact-page .form-message.error { display: block; background: #fef3f2; color: #b42318; }
    @media (max-width: 850px) {
      .contact-page .layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
      .contact-page .side-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
      .contact-page .help-block { margin-bottom: 0; }
      .contact-hero-inner { min-height: 220px; }
      .contact-hero-image { height: 220px; }
      .contact-hero h2 { font-size: 26px; }
    }
    @media (max-width: 560px) {
      .contact-hero-inner { width: 100%; grid-template-columns: 1fr; }
      .contact-hero-copy { padding: 28px 20px; }
      .contact-hero-image { height: 190px; }
      .contact-page { width: calc(100% - 24px); margin: 24px auto; }
      .contact-page .form-column { padding: 26px 20px; }
      .contact-page .field-grid, .contact-page .side-card { grid-template-columns: 1fr; }
      .contact-page #field-email, .contact-page #field-telefono { grid-column: auto; grid-row: auto; }
      .contact-page .button { width: 100%; }
    }

#getCodeModal,
#cambioSolicitudModal { position: fixed; inset: 0; width: auto; max-width: none; height: auto; margin: 0; padding: 0 !important; transform: none; }
    #getCodeModal,
    #cambioSolicitudModal,
    #getCodeModal .modal-dialog,
    #cambioSolicitudModal .modal-dialog { box-shadow: none; }
    #getCodeModal .modal-content,
    #cambioSolicitudModal .modal-content { --contact-modal-shadow: 0 5px 14px #0003; }
    #getCodeModal .contact-result-close { position: absolute; top: 16px; right: 16px; padding: 0; border: 0; background: transparent; color: #3d527c; font: 20px/1 Arial, sans-serif; cursor: pointer; opacity: 1; }
    #getCodeModal .contact-result-close:focus-visible { outline: 2px solid #00b58b; outline-offset: 3px; }
    #getCodeModal .contact-result-body { display: flex; align-items: flex-start; gap: 12px; padding: 0; }
    #getCodeModal .contact-result-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: #25c96f; color: #fff; font-size: 20px; line-height: 1; }
    #getCodeModal.contact-result-error .contact-result-icon { background: #e32636; }
    #getCodeModal .contact-result-title { margin: 0 22px 8px 0; font-size: 19px; line-height: 1.4; font-weight: 700; color: #3d527c; }
    #getCodeModal.contact-result-error .contact-result-title,
    #getCodeModal.contact-result-error .contact-result-description { color: #3d527c; }
    #getCodeModal .contact-result-description, #getCodeModal .contact-result-time { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
    #getCodeModal .contact-result-time { margin-top: 18px; }
    #getCodeModal [hidden] { display: none !important; }
    #getCodeModal .contact-result-actions { margin-top: 20px; text-align: right; }
    #getCodeModal .contact-result-home { display: inline-block; padding: 10px 24px; border-radius: 0; background: #3d527c; color: #fff; font-size: 14px; text-decoration: none; }
    #getCodeModal .contact-result-home:hover { background: #2e3f60; }

#getCodeModal .modal-dialog,
#cambioSolicitudModal .modal-dialog { position: absolute; top: 50%; left: 50%; right: auto; float: none; width: 560px; max-width: calc(100% - 32px); margin: 0; padding: 0; transform: translate(-50%, -50%); }
    #getCodeModal .modal-content,
    #cambioSolicitudModal .modal-content { position: relative; box-sizing: border-box; min-height: 204px; padding: 24px; border: 1px solid #eee; border-radius: 10px; background: #fff; color: #3d527c; box-shadow: var(--contact-modal-shadow); font-family: 'Montserrat', sans-serif; }
    #cambioSolicitudModal .modal-content { max-height: calc(100vh - 32px); overflow-y: auto; }
    #getCodeModal .modal-content { height: 190px; min-height: 0; max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 10px; }
    #cambioSolicitudModal h2 { margin: 0 22px 8px 0; color: #3d527c; font-size: 19px; line-height: 1.4; font-weight: 700; }
    #cambioSolicitudModal p { margin: 0; color: #3d527c; font-size: 14px; line-height: 1.6; }
    #cambioSolicitudModal .change-close { position: absolute; top: 16px; right: 16px; border: 0; padding: 0; background: transparent; color: #3d527c; font: 22px/1 Arial, sans-serif; cursor: pointer; }
    #cambioSolicitudModal .change-close, #cambioSolicitudModal .change-close span, #cambioSolicitudModal .change-close:hover, #cambioSolicitudModal .change-close:focus { color: #3d527c; }
    #cambioSolicitudModal .change-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 30px; margin-top: 36px; }
    #cambioSolicitudModal .change-actions button { box-sizing: border-box; flex: 0 1 240px; width: 240px; max-width: 100%; height: 40px; margin: 0; padding: 0 12px; border: 2px solid #3d527c; border-radius: 0; background: #fff; color: #3d527c; font: 700 14px/1.3 'Montserrat', sans-serif; text-transform: none; letter-spacing: normal; white-space: nowrap; cursor: pointer; }
    #cambioSolicitudModal .change-actions strong { font-weight: 700; }
    #cambioSolicitudModal #confirmarCambioSolicitud { border-color: #3d527c; background: #3d527c; color: #fff; }
    #cambioSolicitudModal .change-actions button { transition: background-color .18s ease, border-color .18s ease; }
    @media (hover: hover) {
        #cambioSolicitudModal .change-actions button:hover { background-color: #edf1f7; }
        #cambioSolicitudModal #confirmarCambioSolicitud:hover { background-color: #34476b; border-color: #34476b; }
    }
    #cambioSolicitudModal button:focus-visible { outline: 2px solid #3d527c; outline-offset: 3px; }
