/* Shared contact bar — login + portal header */
:root {
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
}

/* Contact / social strip — matches login bottom bar weight */
.kph-contact-bar {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 8px 0 calc(8px + var(--safe-b, 0px));
    background: linear-gradient(180deg, #14532d 0%, #166534 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ecfdf5;
    box-sizing: border-box;
}

.kph-contact-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 40px;
    padding: 0 var(--kph-hero-pad-x, 10px);
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
}

.kph-contact-bar__inner::-webkit-scrollbar {
    display: none;
}

.kph-contact-bar__actions,
.kph-contact-bar__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 0 0 auto;
    min-width: 0;
}

.kph-contact-bar__actions {
    flex-wrap: nowrap;
}

.kph-contact-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 7px 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(236, 253, 245, 0.92);
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.kph-contact-bar__link + .kph-contact-bar__link {
    position: relative;
    padding-left: 10px;
    margin-left: 2px;
}

.kph-contact-bar__link + .kph-contact-bar__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 16px;
    transform: translate(-0.5px, -50%);
    background: rgba(255, 255, 255, 0.18);
}

.kph-contact-bar__link:hover,
.kph-contact-bar__link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.kph-contact-bar__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    opacity: 0.95;
}

.kph-contact-bar__ico svg {
    width: 16px;
    height: 16px;
}

.kph-contact-bar__link--wa {
    color: #bbf7d0;
}

.kph-contact-bar__link--phone {
    font-weight: 800;
}

.kph-contact-bar__social {
    flex: 0 0 auto;
    gap: 6px;
    margin-left: 0;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.kph-contact-bar__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: rgba(236, 253, 245, 0.9);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.kph-contact-bar__social-link svg {
    width: 16px;
    height: 16px;
}

.kph-contact-bar__social-link:hover,
.kph-contact-bar__social-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    outline: none;
}

@media (max-width: 379.98px) {
    .kph-contact-bar__link {
        padding: 6px 6px;
        font-size: 0.84rem;
    }

    .kph-contact-bar__link + .kph-contact-bar__link {
        padding-left: 8px;
    }

    .kph-contact-bar__social-link {
        width: 30px;
        height: 30px;
    }
}
