.ai-contact { position: fixed; inset: 0; box-sizing: border-box; width: min(560px, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 24px; background: #fff; color: #021133; overflow-x: hidden; overflow-y: auto; box-shadow: 0 28px 90px rgba(0,0,0,.4); font-family: Lato, Arial, sans-serif; }
.ai-contact::backdrop { background: rgba(2,17,51,.78); backdrop-filter: blur(5px); }
.ai-contact__header { padding: 1.8rem 2rem 1.7rem; background: radial-gradient(ellipse at top, rgba(66,232,224,.16), transparent 80%), #021133; text-align: center; }
.ai-contact__header img { display: block; width: 88px; height: 88px; margin: 0 auto .8rem; border-radius: 50%; object-fit: cover; }
.ai-contact__brand { display: block; margin-bottom: .25rem; color: #42e8e0; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ai-contact__ruc { display: block; margin-bottom: .75rem; color: #fff; font-size: .8rem; }
.ai-contact__header h2 { margin: 0; color: #fff; font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.ai-contact__close { position: sticky; z-index: 1; top: 12px; float: right; width: 38px; height: 38px; margin: 12px 12px -50px 0; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: #021133; color: #fff; font: 28px/1 Arial,sans-serif; cursor: pointer; }
.ai-contact__form { padding: 1.6rem 2rem 2rem; }
.ai-contact__intro { margin: 0 0 1.3rem; color: #5c687a; font-size: .98rem; line-height: 1.5; text-align: center; }
.ai-contact__form label { display: block; margin: 0 0 .45rem; color: #021133; font-size: .95rem; font-weight: 700; }
.ai-contact__form label span { color: #a23131; }
.ai-contact__field { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.05rem; padding: 0 1rem; border: 1px solid #cbd3df; border-radius: 10px; background: #fff; }
.ai-contact__field i { color: #8a98aa; font-size: 1rem; }
.ai-contact__field:focus-within { border-color: #087e79; box-shadow: 0 0 0 3px rgba(66,232,224,.16); }
.ai-contact__field input { box-sizing: border-box; width: 100%; min-width: 0; height: 48px; padding: .65rem 0; border: 0; outline: 0; background: transparent; color: #021133; font: 16px Lato,Arial,sans-serif; }
.ai-contact__field input::placeholder { color: #7a8799; opacity: 1; }
.ai-contact__submit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 1rem; padding: .9rem 1rem; border: 0; border-radius: 999px; background: #42e8e0; color: #021133; font-size: 1.05rem; font-weight: 900; cursor: pointer; box-shadow: 0 10px 24px rgba(66,232,224,.22); }
.ai-contact__submit:hover { background: #34d6cf; }
.ai-contact__submit:disabled { opacity: .65; cursor: wait; }
.ai-contact__status { margin: 1rem 0 0; color: #354661; font-size: .9rem; line-height: 1.5; text-align: center; }
.ai-contact__close:hover { color: #42e8e0; }
.ai-contact button:focus-visible { outline: 2px solid #087e79; outline-offset: 3px; }
html.codelabz-custom-cursor .ai-contact,
html.codelabz-custom-cursor .ai-contact * { cursor: auto; }
html.codelabz-custom-cursor .ai-contact button { cursor: pointer; }
html.codelabz-custom-cursor .ai-contact input { cursor: text; }
html:has(.ai-contact[open]) .codelabz-cursor { visibility: hidden; }
@media (max-width: 575px) {
    .ai-contact { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); border-radius: 18px; }
    .ai-contact__header { padding: 1.5rem 1.4rem; }
    .ai-contact__header h2 { font-size: 1.25rem; }
    .ai-contact__form { padding: 1.4rem; }
}
