.contact-page {
    grid-column: 1;
    min-width: 0;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin-top: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    min-height: calc(100vh - var(--fixed-video-height) - 220px);
}

.contact-page p,
.contact-page li {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.contact-intro {
    margin: 36px auto 20px;
    text-align: center;
    font-size: 45px;
    line-height: 1.2;
    color: var(--text-main);
    font-weight: 600;
    width: 60%;
}

.contact-conversion-layout {
    display: grid;
    align-items: stretch;
    min-height: 0;
}

.contact-form-column {
    display: grid;
    gap: 14px;
    min-height: 0;
}

.contact-choice-note {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.5;
    width: 32rem;
    padding: 20px 20px;
    margin: auto;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid rgba(14, 172, 216, 0.18);
    border-radius: 20px;
}

.contact-choice-note:hover {
    transform: translateY(-5px) scale(1.012);
    box-shadow: 0 12px 40px rgba(14, 172, 216, 0.18), 0 3px 10px rgba(0, 0, 0, 0.09);
    border-color: rgba(14, 172, 216, 0.46);
}




.contact-choice-note p {
    margin: 0 0 6px;
    font-weight: 600;
}

.contact-choice-note ul {
    margin: 0 auto;
    padding-left: 20px;
    display: inline-block;
    text-align: left;
}

.contact-panel {
    margin-top: 0;
    border-radius: 16px;
    padding: clamp(18px, 4vw, 34px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.contact-title {
    margin: 0 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    line-height: 1.1;
    color: var(--text-main);
    text-align: center;
}

.contact-lead {
    margin: -8px 0 16px;
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.5;
    max-width: 70ch;
}

.contact-form {
    display: grid;
    gap: 20px;
    align-content: start;
    flex: 1;
    width: 100%;
    margin-inline: auto;
}

.contact-grid {
    display: grid;
    gap: 12px;
}

.contact-grid-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid-mid {
    grid-template-columns: 1.1fr 0.9fr 1.35fr;
}

@media (max-width: 900px) {
    .contact-grid-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid-mid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-field-service {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {

    .contact-grid-top,
    .contact-grid-mid {
        grid-template-columns: 1fr;
    }
}

.contact-field {
    display: grid;
    gap: 7px;
}

.contact-field span {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
}

.contact-field span strong {
    color: #ff6b6b;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    width: 100%;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: #102236;
    font: inherit;
    padding: 10px 12px;
}

.contact-field input {
    min-height: 42px;
}

.contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-field select {
    min-height: 42px;
}

.contact-field-service select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 480px) {
    .contact-field input {
        min-height: 48px;
        font-size: 16px;
    }

    .contact-field textarea {
        min-height: 120px;
        font-size: 16px;
    }
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible,
.contact-field select:focus-visible {
    outline: 2px solid rgba(8, 152, 196, 0.4);
    outline-offset: 1px;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    border: 1px solid #000000 !important;
    background: var(--card-bg);
    box-shadow: none;
}

.contact-panel {
    border: 1px solid #000000 !important;
    background: var(--card-bg);
}

.contact-captcha,
.contact-captcha-check {
    border: 1px solid #000000 !important;
    background: var(--card-bg);
}

.contact-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.contact-optin-wrap {
    display: grid;
    gap: 18px;
    align-self: center;
    margin-top: 0;
}

.contact-human-note {
    margin: 0;
    font-size: 15px;
    color: #203247;
    line-height: 1.45;
}

.contact-optin {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-main);
    line-height: 1.35;
    font-size: 16px;
}

.contact-optin input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    accent-color: #0ba8d4;
    margin-top: 2px;
}

.contact-trust {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(11, 168, 212, 0.3);
    border-radius: 10px;
    background: rgba(11, 168, 212, 0.06);
}

.contact-trust p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #17314a;
}

.contact-captcha {
    border: 1px solid var(--card-border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    min-height: 94px;
    color: #202b39;
    display: grid;
    gap: 8px;
    justify-items: start;
    align-items: start;
    padding: 10px;
}

.contact-captcha .g-recaptcha {
    min-height: 78px;
}

.contact-captcha-error {
    margin: 0;
    min-height: 20px;
    font-size: 13px;
    line-height: 1.3;
    color: #b33030;
}

.contact-captcha[aria-label="reCAPTCHA temporal"] {
    min-height: auto;
    padding: 8px;
    gap: 6px;
    border-radius: 10px;
}

.contact-actions .contact-captcha[aria-label="reCAPTCHA temporal"] {
    grid-column: 2;
    justify-self: stretch;
    align-self: center;
    margin-top: 12px;
    width: min(100%, 320px);
}

.contact-captcha[aria-label="reCAPTCHA temporal"] .contact-optin {
    font-size: 15px;
    gap: 8px;
    align-items: center;
}

.contact-captcha[aria-label="reCAPTCHA temporal"] .contact-optin input {
    width: 18px;
    height: 18px;
    margin-top: 0;
}

.contact-captcha[aria-label="reCAPTCHA temporal"] .contact-captcha-error {
    min-height: auto;
    font-size: 12px;
}

.contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-top: 4px;
}

.contact-submit {
    grid-column: 1;
    justify-self: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ba8d4, #056f95);
    color: #f8fbff;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
    min-width: 160px;
    padding: 12px 30px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 55, 80, 0.26);
    outline: none;
}

.contact-privacy-note {
    grid-column: 1;
    justify-self: center;
    margin: 2px 0 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
    color: #30465f;
}

.contact-privacy-note a {
    color: #056f95;
    font-weight: 700;
}

#asterisco {
    margin-top: 20px;
    color: rgb(38, 38, 160);
}

.contact-proof-panel {
    position: static;
    border-radius: 0;
    padding: clamp(16px, 2vw, 24px);
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
    height: 100%;
}

.contact-agent-photo {
    width: min(100%, 320px);
    height: auto;
    object-fit: cover;
    border-radius: 14px;
}

.contact-proof-panel h3 {
    margin: 0;
    font-size: clamp(20px, 2.1vw, 26px);
    line-height: 1.2;
    color: #102236;
    width: 50%;
}

.contact-proof-panel>p {
    margin: 0;
    color: #203247;
    line-height: 1.5;
}

.contact-proof-box {
    width: 50%;
    height: 15rem;
    margin-top: 40px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(to top left, rgba(111, 165, 228, 0) 46%, rgba(111, 165, 228, 0.22) 72%, rgba(111, 165, 228, 0.45) 100%), linear-gradient(135deg, #173f78 0%, #0b2954 100%);
    box-shadow: 0 8px 22px rgba(0, 96, 160, 0.25);
    text-align: left;
}

.contact-proof-box>p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #ffffff;
}

.contact-proof-box .contact-proof-list {
    color: #ffffff;
}

.contact-proof-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #17314a;
    line-height: 1.45;
    text-align: left;
    width: 100%;
}

.contact-method-card {
    border: 1px solid rgba(11, 168, 212, 0.28);
    border-radius: 12px;
    background: rgba(11, 168, 212, 0.06);
    padding: 12px;
}

.contact-method-card h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #0a6f92;
}

.contact-method-card p {
    margin: 0;
    font-size: 14px;
    color: #17314a;
    line-height: 1.45;
}

.contact-map-wrap {
    display: grid;
    gap: 8px;
}

.contact-map-title {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    color: #102236;
}

.contact-map-wrap iframe {
    width: 100%;
    min-height: 220px;
    border: 1px solid rgba(16, 34, 54, 0.18);
    border-radius: 12px;
}

.mapa{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

@media (max-width: 1200px) {
    .home-topbar+.main {
        margin-top: calc(var(--fixed-video-height, 74px) + 8.25rem) !important;
    }

    .contact-page {
        grid-column: 1;
        min-height: auto;
    }

    .contact-title {
        font-size: clamp(28px, 3.2vw, 34px);
    }
}

@media (max-width: 1024px) {
    .contact-page {
        display: flex;
        flex-direction: column;
        padding-top: 60px;
    }

    .contact-conversion-layout {
        display: contents;
    }

    .contact-intro {
        order: 2;
    }

    .social-proof {
        order: 5;
    }

    .contact-form-column {
        order: 1;
    }

    .contact-proof-panel {
        order: 3;
        margin-top: 0;
        position: static;
        top: auto;
        justify-items: center;
        text-align: center;
    }

    .mapa {
        order: 4;
    }

    .contact-agent-photo {
        width: min(100%, 280px);
    }

    .contact-grid-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid-mid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-field-service {
        grid-column: 1 / -1;
    }

    .contact-field-address {
        grid-column: 1 / -1;
    }
}

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

    .home-topbar+.main {
        margin-top: calc(var(--fixed-video-height, 74px) + 9.5rem) !important;
    }

    .contact-actions {
        grid-template-columns: 1fr;
    }

    .contact-actions .contact-captcha[aria-label="reCAPTCHA temporal"] {
        grid-column: auto;
        justify-self: stretch;
        margin-top: 8px;
        width: 100%;
    }

    .contact-privacy-note {
        grid-column: auto;
        justify-self: center;
    }

    .contact-optin-wrap {
        margin-top: 0;
    }

    .contact-submit {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 640px) {
    .contact-intro {
        text-align: left;
        font-size: clamp(18px, 5.6vw, 24px);
    }

    .contact-panel {
        border-radius: 14px;
        padding: 16px;
    }

    .contact-proof-panel {
        border-radius: 0;
        padding: 16px;
    }

    .contact-grid-top,
    .contact-grid-mid {
        grid-template-columns: 1fr;
    }

    .contact-field span {
        font-size: 15px;
    }

    .contact-field textarea {
        min-height: 140px;
    }

    .contact-optin {
        font-size: 15px;
    }

    .contact-submit {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .contact-captcha .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
    }

    .contact-captcha {
        min-height: 84px;
        overflow: hidden;
    }
}

/* Honeypot field - Hidden with CSS */
input[name="bot-field"] {
    display: none !important;
}

input[name="bot-field"]+label {
    display: none !important;
}