/* Solar Solutions Bulgaria — Unified site shell */

:root {
    --ssb-navy: #0b2347;
    --ssb-green: #16884a;
    --ssb-green-dark: #0f6f3a;
    --ssb-orange: #ff9d00;
    --ssb-text: #102544;
    --ssb-muted: #5f7186;
    --ssb-line: #dce5ed;
    --ssb-white: #ffffff;
}

.ssb-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #e8edf2;
    box-shadow: 0 8px 24px rgba(16,37,68,.06);
    backdrop-filter: blur(12px);
}

.ssb-header-shell {
    width: min(1280px, 94%);
    min-height: 88px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.ssb-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--ssb-navy);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.05;
    text-decoration: none;
    white-space: nowrap;
}

.ssb-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.ssb-brand strong {
    color: var(--ssb-green);
}

.ssb-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.ssb-main-nav a {
    position: relative;
    padding: 33px 0 28px;
    color: var(--ssb-text);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.ssb-main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--ssb-green);
    transition: right .2s ease;
}

.ssb-main-nav a:hover::after,
.ssb-main-nav a.active::after {
    right: 0;
}

.ssb-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ssb-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--ssb-green), var(--ssb-green-dark));
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(22,136,74,.18);
}

.ssb-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #ccd9e4;
    border-radius: 9px;
    color: var(--ssb-navy);
    font-weight: 900;
    text-decoration: none;
}

.ssb-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ssb-navy);
    font-size: 28px;
    cursor: pointer;
}

.ssb-site-footer {
    margin-top: 70px;
    color: #dfe8f2;
    background: linear-gradient(135deg, #07192f, #0d2b50);
    border-top: 4px solid var(--ssb-green);
}

.ssb-footer-shell {
    width: min(1280px, 94%);
    margin-inline: auto;
    padding: 34px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.ssb-footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ssb-footer-brand img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 5px;
}

.ssb-footer-brand strong,
.ssb-footer-brand span {
    display: block;
}

.ssb-footer-brand strong {
    color: #fff;
    font-size: 18px;
}

.ssb-footer-brand span {
    margin-top: 6px;
    color: #b9c8d8;
}

.ssb-footer-contact,
.ssb-footer-links {
    display: grid;
    gap: 9px;
}

.ssb-footer-contact a,
.ssb-footer-links a {
    color: #dfe8f2;
    text-decoration: none;
}

.ssb-footer-contact a:hover,
.ssb-footer-links a:hover {
    color: #fff;
}

.ssb-footer-bottom {
    padding: 18px;
    text-align: center;
    color: #aebed0;
    border-top: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 1100px) {
    .ssb-header-shell {
        grid-template-columns: auto auto 1fr;
    }

    .ssb-menu-toggle {
        display: block;
    }

    .ssb-main-nav {
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        display: none;
        padding: 18px 4%;
        background: #fff;
        border-top: 1px solid #e8edf2;
        box-shadow: 0 16px 24px rgba(16,37,68,.08);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .ssb-main-nav.is-open {
        display: flex;
    }

    .ssb-main-nav a {
        width: 100%;
        padding: 13px 0;
    }

    .ssb-main-nav a::after {
        display: none;
    }

    .ssb-header-actions {
        justify-self: end;
    }
}

@media (max-width: 700px) {
    .ssb-header-shell {
        min-height: 76px;
        grid-template-columns: auto auto;
    }

    .ssb-brand img {
        width: 52px;
        height: 52px;
    }

    .ssb-brand {
        font-size: 17px;
    }

    .ssb-header-actions {
        display: none;
    }

    .ssb-menu-toggle {
        justify-self: end;
    }

    .ssb-main-nav {
        top: 76px;
    }

    .ssb-footer-shell {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ssb-footer-brand {
        justify-content: center;
    }
}
