.nrg-contact {
    position: fixed;
    right: max(28px, env(safe-area-inset-right));
    bottom: calc(var(--nrg-contact-bottom, 28px) + env(safe-area-inset-bottom));
    z-index: 9000;
    font: 15px/1.5 system-ui, sans-serif;
    color: #1e293b;
}
.nrg-contact *, .nrg-contact *::before, .nrg-contact *::after { box-sizing: border-box; }
.nrg-contact [hidden] { display: none !important; }
.nrg-contact button, .nrg-contact input { font: inherit; }
.nrg-contact a { color: #9a4000; text-decoration: underline; }
.nrg-contact button { cursor: pointer; margin: 0; letter-spacing: normal; text-transform: none; }
.nrg-contact :focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.nrg-contact__capsule {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 5px;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 2px 14px rgb(0 0 0 / 10%);
    filter: drop-shadow(0 6px 16px rgb(0 0 0 / 14%));
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.nrg-contact .nrg-contact__action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #e86401;
    text-decoration: none;
    box-shadow: none;
}
.nrg-contact__action svg { flex-shrink: 0; pointer-events: none; }
.nrg-contact__action:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 11px;
    right: 11px;
    height: 1px;
    background: #e5e7eb;
}
.nrg-contact__tooltip {
    position: absolute;
    right: calc(100% + 12px);
    padding: 6px 10px;
    border-radius: 6px;
    background: #1e293b;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    visibility: hidden;
}
.nrg-contact__action:focus-visible .nrg-contact__tooltip { visibility: visible; }
@media (hover: hover) and (pointer: fine) {
    .nrg-contact__capsule:hover { transform: translateY(-3px); }
    .nrg-contact .nrg-contact__action:hover { background: #eff6ff; color: #e86401; }
    .nrg-contact__action:hover .nrg-contact__tooltip { visibility: visible; }
}
.nrg-contact .nrg-contact__launcher, .nrg-contact .nrg-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 28px;
    background: #a74400;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 18px rgb(0 0 0 / 16%);
}
.nrg-contact .nrg-contact__launcher:hover, .nrg-contact .nrg-contact__submit:hover { background: #8c3800; }
.nrg-contact .nrg-contact__dialog {
    position: fixed;
    inset: auto 16px calc(var(--nrg-contact-bottom, 28px) + env(safe-area-inset-bottom));
    margin: 0 0 0 auto;
    width: min(400px, calc(100vw - 32px));
    max-height: calc(100dvh - 48px - env(safe-area-inset-bottom));
    padding: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    color: #1e293b;
    box-shadow: 0 12px 48px rgb(0 0 0 / 20%);
}
.nrg-contact__dialog::backdrop { background: rgb(15 23 42 / 28%); }
.nrg-contact .nrg-contact__dialog:not([open]) { display: none; }
.nrg-contact__header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.nrg-contact .nrg-contact__header h2 { margin: 0; font: 700 21px/1.3 system-ui, sans-serif; color: #1e293b; }
.nrg-contact .nrg-contact__close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 28px; line-height: 1; }
.nrg-contact__choices { display: grid; gap: 10px; margin-top: 18px; }
.nrg-contact .nrg-contact__choice { display: grid; gap: 3px; min-height: 60px; padding: 12px 14px; text-align: left; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; color: #1e293b; text-decoration: none; line-height: 1.4; }
.nrg-contact .nrg-contact__choice--primary { background: #fff7ed; border-color: #c65100; }
.nrg-contact .nrg-contact__choice:hover { border-color: #a74400; background: #fff7ed; color: #1e293b; }
.nrg-contact__choice span { font-size: 13px; color: #475569; }
.nrg-contact__email { padding: 10px 0; min-height: 44px; }
.nrg-contact__form { display: grid; gap: 8px; margin: 0; }
.nrg-contact .nrg-contact__form h3 { margin: 0 0 8px; font: 700 18px/1.4 system-ui, sans-serif; color: #1e293b; }
.nrg-contact .nrg-contact__form input:not([type="hidden"]):not([type="checkbox"]) { width: 100%; height: 46px; min-height: 46px; padding: 8px 12px; border: 1px solid #64748b; border-radius: 8px; background: #fff; color: #1e293b; font-size: 16px; }
.nrg-contact__consent { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 13px; cursor: pointer; }
.nrg-contact .nrg-contact__consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #a74400; }
.nrg-contact__honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nrg-contact .nrg-contact__submit { width: 100%; border-radius: 10px; box-shadow: none; }
.nrg-contact .nrg-contact__submit:disabled { opacity: .65; cursor: wait; }
.nrg-contact__error { color: #991b1b; background: #fef2f2; padding: 12px; border-radius: 8px; }
.nrg-contact__email-error { position: absolute; right: 64px; bottom: 0; width: min(280px, calc(100vw - 104px)); margin: 0; box-shadow: 0 2px 14px rgb(0 0 0 / 10%); }
.nrg-contact__success { color: #166534; background: #f0fdf4; padding: 14px; border-radius: 8px; }
.nrg-contact-ready .nrg-floating-badge,
body:has([data-nrg-contact]) .nrg-floating-badge { display: none !important; }
body:has(.cmplz-cookiebanner.cmplz-show) .nrg-contact { visibility: hidden; }
@media (max-width: 480px) {
    .nrg-contact { right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--nrg-contact-bottom, 18px) + env(safe-area-inset-bottom)); }
    .nrg-contact .nrg-contact__dialog { bottom: calc(var(--nrg-contact-bottom, 18px) + env(safe-area-inset-bottom)); }
    .nrg-contact .nrg-contact__launcher { font-size: 14px; padding: 11px 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .nrg-contact__capsule { transition: none; }
    .nrg-contact__capsule:hover { transform: none; }
}
@media print { .nrg-contact { display: none; } }
