/* =========================================================
   HAMSA EXECUTIVE FOOTER
   APPROVED DESIGN SYSTEM
   Palette: Gray / Gold / Black / White
   Structure: 30 / 40 / 30
   ========================================================= */

.hef-footer {
    --black: #111111;
    --black-soft: #222222;
    --gold: #c6a15b;
    --gold-dark: #9d7a2f;
    --white: #ffffff;
    --gray-50: #f7f7f7;
    --gray-100: #eeeeee;
    --gray-200: #dddddd;
    --gray-500: #666666;
    --gray-700: #444444;

    box-sizing: border-box;
    width: 100%;
    margin: 0;
    color: var(--black);
    background: var(--white);
    font-family: inherit;
    line-height: 1.55;
    overflow: hidden;
}

.hef-footer *,
.hef-footer *::before,
.hef-footer *::after {
    box-sizing: border-box;
}

.hef-shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.hef-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 52px 0 44px;
}

.hef-column { min-width: 0; }

.hef-column + .hef-column { padding-left: 42px; }

.hef-column h2 {
    margin: 0;
    color: var(--black);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.hef-rule {
    display: block;
    width: 34px;
    height: 2px;
    margin: 10px 0 20px;
    background: var(--gold);
}

.hef-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hef-menu li { margin: 0 0 9px; }

.hef-menu a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.55;
    text-decoration: none;
    transition: color .2s ease;
}

.hef-menu a span {
    color: var(--gold);
    font-size: 15px;
    line-height: 1;
}

.hef-menu a:hover { color: var(--gold-dark); }

.hef-contact-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.hef-contact-item:first-of-type { padding-top: 0; }
.hef-contact-item:last-child { border-bottom: 0; }

.hef-icon {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
}

.hef-contact p {
    margin: 0;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.55;
}

.hef-contact a {
    color: inherit;
    text-decoration: none;
}

.hef-contact a:hover { color: var(--gold-dark); }

.hef-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 104px;
    padding: 22px 28px;
    border: 1px solid var(--black-soft);
    border-radius: 4px;
    background: var(--black);
    overflow: hidden;
}

.hef-cta::before {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(198,161,91,.22);
    border-radius: 50%;
    pointer-events: none;
}

.hef-cta-copy {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.hef-cta-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 21px;
}

.hef-cta h2 {
    margin: 0 0 3px;
    color: var(--white);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.hef-cta p {
    margin: 0;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
}

.hef-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    background: var(--gold);
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.hef-cta-button:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.hef-panorama {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 2px solid var(--gold);
}

.hef-panorama-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--gray-100);
}

.hef-panorama-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: .82;
}

.hef-capabilities {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.hef-cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hef-cap {
    min-height: 116px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hef-cap + .hef-cap {
    border-left: 1px solid var(--gray-200);
}

.hef-cap-icon {
    width: 58px;
    flex: 0 0 58px;
}

.hef-cap-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: var(--black);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hef-cap h2 {
    margin: 0 0 4px;
    color: var(--black);
    font-size: 15px;
    line-height: 1.3;
}

.hef-cap p {
    max-width: 235px;
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

.hef-bottom {
    background: var(--black);
    color: #cccccc;
}

.hef-bottom-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hef-bottom p {
    margin: 0;
    color: #cccccc;
    font-size: 12px;
}

.hef-socials {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hef-socials > span {
    margin-right: 4px;
    color: #bbbbbb;
    font-size: 12px;
}

.hef-socials a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid #444444;
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.hef-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

@media (max-width: 1050px) {
    .hef-shell { width: calc(100% - 40px); }

    .hef-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .hef-column + .hef-column { padding-left: 0; }

    .hef-cap-grid { grid-template-columns: repeat(2, 1fr); }

    .hef-cap:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--gray-200);
    }

    .hef-cap:nth-child(4) {
        border-top: 1px solid var(--gray-200);
    }
}

@media (max-width: 700px) {
    .hef-shell { width: calc(100% - 30px); }

    .hef-columns {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0;
    }

    .hef-column:nth-child(even) { padding-left: 0; }

    .hef-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 22px;
    }

    .hef-cta h2 { font-size: 20px; }
    .hef-cta-button { width: 100%; }
    .hef-panorama { height: 100px; }
    .hef-cap-grid { grid-template-columns: 1fr; }

    .hef-cap,
    .hef-cap:nth-child(3),
    .hef-cap:nth-child(4) {
        min-height: 90px;
        padding: 16px 0;
        border-left: 0;
        border-top: 1px solid var(--gray-200);
    }

    .hef-cap:first-child { border-top: 0; }

    .hef-cap-icon {
        width: 50px;
        flex-basis: 50px;
    }

    .hef-cap-icon svg {
        width: 46px;
        height: 46px;
    }

    .hef-bottom-inner {
        min-height: 0;
        padding: 15px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hef-socials { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    .hef-menu a,
    .hef-cta-button,
    .hef-socials a {
        transition: none;
    }
}

.site-footer:has(.hef-footer) {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-footer:has(.hef-footer) .hamsa-container,
.site-footer:has(.hef-footer) .site-footer-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
