/* Request-a-call modal */
.call-request-dialog {
    max-width: 520px;
}

.call-request-card {
    overflow: hidden;
    border-radius: 1rem !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22) !important;
}

.call-request-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    opacity: 0.7;
}

.call-request-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1.15rem;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 45%),
        linear-gradient(180deg, #f4faf6 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(22, 163, 74, 0.12);
}

.call-request-avatar {
    position: relative;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: visible;
}

.call-request-avatar img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    display: block;
    background: #e8f5e9;
}

.call-request-avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.call-request-online {
    position: absolute;
    right: 4px;
    bottom: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22c55e;
    border: 3px solid #fff;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    animation: call-request-online-pulse 2s ease-out infinite;
}

.call-request-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #16a34a;
}

.call-request-hero-copy .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.call-request-person {
    font-size: 0.92rem;
    color: #334155;
}

.call-request-person span {
    color: #64748b;
    font-weight: 400;
}

.call-request-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
}

.call-request-phone:hover,
.call-request-phone:focus {
    color: #16a34a;
    text-decoration: none;
}

.call-request-promise {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: #475569;
}

.call-request-body {
    padding: 1.25rem 1.5rem 1.5rem !important;
}

.call-request-input {
    border-radius: 0.65rem;
    border-color: #dbe3ea;
    min-height: 44px;
}

.call-request-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.15);
}

.call-request-actions {
    display: grid;
    gap: 0.65rem;
}

.call-request-direct {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.call-request-submit,
.call-request-call,
.call-request-whatsapp {
    min-height: 44px;
    font-weight: 600;
    border-radius: 0.65rem;
}

.call-request-submit {
    min-height: 46px;
}

@keyframes call-request-online-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@media (max-width: 575.98px) {
    .call-request-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .call-request-direct {
        grid-template-columns: 1fr;
    }

    .call-request-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .call-request-online {
        animation: none;
    }
}
