/* =========================================================
   Homepage hero / services
   ========================================================= */
.hero {
    padding: 20px 0 18px;
}

.hero-card {
    background: linear-gradient(180deg, rgba(69, 72, 84, 0.92), rgba(48, 50, 58, 0.96));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0 0 45px 45px;
    box-shadow: var(--shadow);
    padding: 26px 24px 34px;
}

/* =========================================================
   Hero banner logo transition
   Momoy logo fades into E&A logo on every reload
   ========================================================= */
.banner-wrap {
    width: min(100%, 1020px);
    margin: 0 auto 10px;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 2px;
    position: relative;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Keep banner clean — no red overlay glow */
.banner-wrap::after {
    content: none;
}

.logo-transition {
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-transition .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 96%;
    max-height: 140px;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease, filter 1s ease;
}

/* Default starting state */
.logo-transition .momoy-logo {
    opacity: 1;
    filter: blur(0);
    z-index: 2;
}

.logo-transition .ea-logo {
    opacity: 0;
    z-index: 3;
    filter: none;
}

/* Triggered state after page load */
.logo-transition.animate .momoy-logo {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.03);
    filter: blur(3px);
}

.logo-transition.animate .ea-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
}

/* =========================================================
   Hero content grid
   ========================================================= */
.hero-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
    align-items: start;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.service-panel {
    background: rgba(33, 34, 40, 0.22);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.service-list {
    display: grid;
    gap: 16px;
}

.service-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, #4a4c58, #40424d);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 14px 18px;
    min-height: 108px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(0,0,0,0.28);
}

.service-thumb {
    width: 78px;
    height: 58px;
    border-radius: 4px;
    object-fit: cover;
    background: #242424;
}

.service-title {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.service-arrow {
    font-size: 1.9rem;
    color: #e8e8eb;
    justify-self: end;
}

/* =========================================================
   Homepage business info card
   ========================================================= */
.profile-card {
    background: linear-gradient(180deg, #4a4c58, #3f414a);
    border-radius: 14px;
    padding: 24px 18px 20px;
    box-shadow: var(--shadow);
    text-align: center;
    min-height: 310px;
    align-self: center;
}

.profile-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.profile-title {
    font-weight: 800;
    font-size: 1.95rem;
    line-height: 1.15;
    margin-bottom: 18px;
}

.profile-rating {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.stars {
    color: #ffffff;
    letter-spacing: 1px;
}

.profile-hours {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-status {
    color: #d9d9de;
    font-size: 0.88rem;
    text-transform: uppercase;
}

/* =========================================================
   Homepage reviews section
   ========================================================= */
.reviews-section {
    padding: 34px 0 30px;
}

.reviews-card {
    background: linear-gradient(180deg, rgba(20, 22, 27, 0.95), rgba(12, 13, 17, 0.98));
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 30px 0 8px;
    overflow: hidden;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
    padding: 0 32px 24px;
}

.reviews-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.rating-bars {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.rating-row {
    display: grid;
    grid-template-columns: 70px 1fr 18px;
    align-items: center;
    gap: 10px;
    color: #f5f5f7;
    font-size: 0.98rem;
}

.bar-track {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 100%;
    background: #ffffff;
}

.review-item {
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.reviewer-name {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.review-meta {
    color: #f3f3f4;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.review-body {
    color: #f7f7f8;
    font-size: 1rem;
}

.reviews-right-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 28px;
}

.sort-select {
    background: #15161b;
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 190px;
    font-size: 0.98rem;
    outline: none;
}

.review-summary {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.summary-score {
    display: flex;
    align-items: center;
    gap: 18px;
}

.score-center {
    text-align: center;
}

.laurel {
    color: rgba(255,255,255,0.72);
    font-size: 3rem;
    line-height: 1;
}

.score-main {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.score-sub {
    font-size: 0.96rem;
    color: #f2f2f3;
    text-align: center;
}

.write-review-btn {
    border: 2px solid rgba(255,255,255,0.9);
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 700;
    color: white;
    background: transparent;
    cursor: pointer;
}

/* =========================================================
   Homepage FAQ Chatbot Panel
   Design only for index.php chatbot
   FIXED: Send to Agent button always visible
   ========================================================= */

.chatbot-fixed-wrap {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-pill {
    background: #ffffff;
    color: #1f2937;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
    white-space: nowrap;
    cursor: pointer;
}

.chat-bot {
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #ff5b5b, #e92828);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(239, 68, 68, 0.48);
    padding: 9px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.chat-bot:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 38px rgba(239, 68, 68, 0.58);
    filter: brightness(1.03);
}

.chat-support-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.chat-face {
    display: none !important;
}

/* =========================================================
   Main chat box
   ========================================================= */

.chat-window {
    position: absolute !important;
    right: 0 !important;
    bottom: 92px !important;

    width: 365px !important;
    height: 465px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 125px) !important;

    background: #111827;
    color: #f8fafc;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 70px rgba(0,0,0,0.46);

    overflow: hidden !important;
    display: none !important;
    flex-direction: column !important;
}

.chatbot-fixed-wrap.is-open .chat-window {
    display: flex !important;
}

/* =========================================================
   Header
   ========================================================= */

.chat-window-header {
    flex: 0 0 auto !important;
    background: linear-gradient(180deg, #dc2626, #991b1b);
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.chat-window-header strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
}

.chat-window-header span {
    display: block;
    margin-top: 2px;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.78);
}

.chat-close-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

/* =========================================================
   Message body
   ========================================================= */

.chat-window-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 10px 12px !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.chat-window-body::-webkit-scrollbar,
.chat-options::-webkit-scrollbar {
    width: 6px;
}

.chat-window-body::-webkit-scrollbar-thumb,
.chat-options::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
}

.chat-message {
    max-width: 88%;
    padding: 9px 11px;
    border-radius: 13px;
    font-size: 0.84rem;
    line-height: 1.36;
}

.chat-message.bot {
    background: #1f2937;
    color: #f8fafc;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-message.user {
    background: #dc2626;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* =========================================================
   FAQ option buttons
   ========================================================= */

.chat-options {
    flex: 0 0 auto !important;
    padding: 8px 12px !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    max-height: 126px !important;
    overflow-y: auto !important;
    background: #111827;
}

.chat-options:empty {
    display: none !important;
    padding: 0 !important;
    border-top: 0 !important;
    max-height: 0 !important;
}

.chat-option-btn {
    border: 1px solid rgba(255,255,255,0.12);
    background: #1f2937;
    color: #f8fafc;
    border-radius: 11px;
    padding: 8px 10px;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.chat-option-btn:hover {
    background: #263244;
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}

.chat-option-btn.connect-agent {
    background: rgba(220,38,38,0.14);
    border-color: rgba(248,113,113,0.4);
    color: #fecaca;
}

/* =========================================================
   Agent form section
   ========================================================= */

.chat-agent-box {
    display: none;
    flex: 0 0 auto !important;
    padding: 10px 12px 12px !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #0f172a;
}

.chat-agent-box.is-visible {
    display: block !important;
}

.chat-agent-box .chat-message {
    max-width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;
    font-size: 0.82rem;
}

.chat-agent-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin-top: 0 !important;
}

.chat-agent-form input,
.chat-agent-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.12);
    background: #1f2937;
    color: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.84rem;
    outline: none;
}

.chat-agent-form input {
    height: 36px;
}

.chat-agent-form input:focus,
.chat-agent-form textarea:focus {
    border-color: rgba(248,113,113,0.72);
}

.chat-agent-form textarea {
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    resize: none !important;
}

.chat-agent-form button {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #ef4444, #b91c1c);
    color: #fff;
    padding: 9px 14px;
    font-weight: 900;
    cursor: pointer;
    display: block !important;
}

.chat-agent-form button:hover {
    filter: brightness(1.05);
}

.chat-agent-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.chat-agent-note {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 0.68rem;
    line-height: 1.25;
}



/* =========================================================
   Connected live chat state
   ========================================================= */

.chat-connected-banner {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.95), rgba(17, 94, 89, 0.95));
    border: 1px solid rgba(94, 234, 212, 0.32);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
    animation: chatConnectedFade 0.28s ease both;
}

.chat-connected-banner strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 900;
    margin-bottom: 3px;
}

.chat-connected-banner span {
    display: block;
    color: rgba(255,255,255,0.86);
    font-size: 0.72rem;
    line-height: 1.3;
}

.chat-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    height: 12px;
}

.chat-typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    animation: chatTypingBounce 1s infinite ease-in-out;
}

.chat-typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chatTypingBounce {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

@keyframes chatConnectedFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   Homepage responsive
   ========================================================= */
@media (max-width: 1024px) {
    .hero-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        max-width: 320px;
        justify-self: start;
    }

    .nav-links {
        gap: 22px;
    }

    .service-title {
        font-size: 1.05rem;
    }

    .banner-wrap {
        height: 150px;
    }

    .logo-transition .logo {
        max-width: 95%;
        max-height: 118px;
    }
}

@media (max-width: 768px) {
    .hero-card,
    .reviews-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .reviews-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .review-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card {
        grid-template-columns: 72px minmax(0, 1fr) 20px;
        padding: 12px 14px;
        min-height: 96px;
    }

    .service-title {
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .banner-wrap {
        height: 120px;
        padding: 6px 10px;
    }

    .logo-transition .logo {
        max-width: 96%;
        max-height: 84px;
    }
    .chatbot-fixed-wrap {
        right: 16px;
        bottom: 16px;
        gap: 8px;
    }

    .chat-pill {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .chat-bot {
        width: 64px;
        height: 64px;
        padding: 8px;
    }

    .chat-window {
        bottom: 78px !important;
        width: calc(100vw - 32px) !important;
        height: 72vh !important;
        max-height: 520px !important;
    }
}

@media (max-width: 480px) {
    .chat-pill {
        display: inline-flex !important;
    }
    .chat-window {
        right: -2px !important;
        bottom: 76px !important;
        width: calc(100vw - 24px) !important;
        height: 74vh !important;
    }
}


/* =========================================================
   Floating chat prompt update
   - Shows on mobile
   - Displays "Chat with a live agent"
   - Pops every 10 seconds, fades automatically, stays visible on hover/focus
   ========================================================= */
.chat-pill {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) scale(.96);
    animation: eaChatPromptCycle 10s ease-in-out infinite;
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
    font-weight: 800;
}

.chat-pill:hover,
.chat-pill:focus,
.chatbot-fixed-wrap:hover .chat-pill,
.chatbot-fixed-wrap:focus-within .chat-pill {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) scale(1) !important;
    animation-play-state: paused;
}

.chatbot-fixed-wrap.is-open .chat-pill {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
}

@keyframes eaChatPromptCycle {
    0%, 100% {
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px) scale(.96);
    }
    8%, 38% {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1);
    }
    48% {
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px) scale(.96);
    }
}

@media (max-width: 768px) {
    .chatbot-fixed-wrap {
        right: 14px !important;
        bottom: 14px !important;
        gap: 8px !important;
        max-width: calc(100vw - 28px);
    }

    .chat-pill {
        display: inline-flex !important;
        max-width: calc(100vw - 94px);
        padding: 9px 12px !important;
        font-size: .78rem !important;
        line-height: 1.15;
        white-space: normal !important;
        text-align: center;
        box-shadow: 0 10px 24px rgba(0,0,0,.30);
    }
}

@media (max-width: 480px) {
    .chat-pill {
        display: inline-flex !important;
        max-width: 190px;
        padding: 8px 11px !important;
        font-size: .74rem !important;
    }

    .chat-bot {
        width: 62px !important;
        height: 62px !important;
        flex: 0 0 62px;
    }
}

/* Live agent yellow button update */
.chat-bot {
    background: linear-gradient(180deg, #facc15 0%, #eab308 100%) !important;
    box-shadow: 0 14px 34px rgba(250, 204, 21, 0.42) !important;
}

.chat-bot:hover {
    box-shadow: 0 18px 38px rgba(250, 204, 21, 0.55) !important;
}

/* Chat survey reset + agent message display fix */
.chat-message.agent {
    align-self: flex-start;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border: 1px solid rgba(147, 197, 253, .55);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.chat-agent-name {
    display: block;
    margin-bottom: 5px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.chat-survey-box {
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 10px;
}

.chat-survey-box .chat-message {
    max-width: 100%;
}

.chat-survey-form {
    width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   Website reviews approval + carousel update
   ========================================================= */
.reviews-slider {
    position: relative;
    min-height: 170px;
}
.review-slide {
    display: none;
    animation: reviewFadeIn .35s ease both;
}
.review-slide.active {
    display: block;
}
@keyframes reviewFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.website-review-feedback {
    width: min(1180px, calc(100% - 28px));
    margin: -14px auto 22px;
}
.website-review-alert {
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 800;
    line-height: 1.4;
}
.website-review-alert.success {
    background: rgba(22, 163, 74, .16);
    border: 1px solid rgba(34, 197, 94, .42);
    color: #dcfce7;
}
.website-review-alert.error {
    background: rgba(220, 38, 38, .16);
    border: 1px solid rgba(248, 113, 113, .42);
    color: #fee2e2;
}
.website-review-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(2, 6, 23, .74);
    backdrop-filter: blur(7px);
}
.website-review-modal.is-open {
    display: flex;
}
.website-review-modal-card {
    width: min(720px, 100%);
    max-height: min(92vh, 760px);
    overflow: auto;
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.13);
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
    padding: 24px;
}
.website-review-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: rgba(255,255,255,.11);
    font-size: 24px;
    cursor: pointer;
}
.website-review-modal-card h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
}
.website-review-modal-card p {
    margin: 0 0 18px;
    color: #cbd5e1;
}
.website-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.website-review-grid label {
    display: grid;
    gap: 7px;
    color: #f8fafc;
    font-weight: 800;
    font-size: .94rem;
}
.website-review-grid label span {
    color: #94a3b8;
    font-weight: 700;
}
.website-review-grid .full {
    grid-column: 1 / -1;
}
.website-review-grid input,
.website-review-grid select,
.website-review-grid textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(15,23,42,.9);
    color: #ffffff;
    padding: 12px;
    outline: none;
    font: inherit;
}
.website-review-grid textarea {
    min-height: 130px;
    resize: vertical;
}
.website-review-submit {
    margin-top: 16px;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #ef4444, #b91c1c);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
@media (max-width: 640px) {
    .website-review-grid {
        grid-template-columns: 1fr;
    }
    .website-review-modal-card {
        padding: 20px 16px;
    }
    .reviews-slider {
        min-height: 210px;
    }
}

/* security mobile patch */

@media (max-width: 900px) {
    .hero-grid,
    .services-grid,
    .reviews-grid,
    .homepage-grid {
        grid-template-columns: 1fr !important;
    }
}


/* 2026-06-22: Chat call shortcut beside close button */
.chat-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.chat-call-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.chat-call-btn:hover {
    background: rgba(255, 255, 255, .26);
}


/* 2026-06-24: Borderless white phone shortcut icon */
.chat-call-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    padding: 0 !important;
    position: relative !important;
}
.chat-call-btn::before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chat-call-btn:hover,
.chat-call-btn:focus-visible {
    background: rgba(255, 255, 255, .10) !important;
    outline: none !important;
}


/* 2026-06-26 footer single-line + inline chat choices */
.footer-partners {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 22px !important;
}

.footer-partners .partner-logo,
.footer-partners .partner-fallback {
    flex: 0 0 178px !important;
    width: 178px !important;
    height: 104px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-partners .partner-logo img {
    max-width: 100% !important;
    max-height: 86px !important;
    object-fit: contain !important;
}

.footer-partners .partner-logo img[src*="footer-ea"],
.footer-partners .partner-logo img[src*="footer-igen"] {
    max-height: 76px !important;
}

.chat-options {
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
}

.chat-inline-options {
    width: 100% !important;
    display: grid !important;
    gap: 8px !important;
    margin: 4px 0 8px !important;
    align-self: stretch !important;
}

.chat-inline-options .chat-option-btn {
    width: 100% !important;
    text-align: left !important;
    border-radius: 14px !important;
    padding: 10px 12px !important;
}

.chat-inline-options .chat-option-btn.connect-agent {
    font-weight: 900 !important;
}

@media (max-width: 1180px) {
    .footer-partners {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media (min-width: 1181px) {
    .footer-partners {
        min-width: 778px !important;
    }
}

/* Final redesigned footer spacing override */
.footer-grid-redesign .footer-partners {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(142px, 1fr)) !important;
    gap: 16px !important;
    min-width: 0 !important;
    width: 100% !important;
    justify-content: stretch !important;
}

.footer-grid-redesign .partner-logo,
.footer-grid-redesign .partner-fallback {
    width: auto !important;
    flex: initial !important;
}

@media (max-width: 700px) {
    .footer-grid-redesign .footer-partners {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}
