
/* ========================================
   CHARVI EXTRUSION - PREMIUM FOOTER
======================================== */

.cx-footer {
    --cx-primary: #102D3B;
    --cx-deep: #092530;
    --cx-gold: #C69A51;
    --cx-text: #263B45;
    --cx-muted: #687B83;
    font-family: inherit;
    overflow: hidden;
    background: #fff;
}

/* Main area */
.cx-footer-top {
    position: relative;
    padding: 75px 0 65px;
    background:
        radial-gradient(ellipse at 4% 100%, rgba(202, 222, 226, .36), transparent 34%),
        linear-gradient(135deg, #fff 0%, #f8fbfc 100%);
}

.cx-footer-top::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -100px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(16, 45, 59, .07);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(16, 45, 59, .018),
        0 0 0 70px rgba(16, 45, 59, .018);
    pointer-events: none;
}

.cx-footer-container {
    width: min(1320px, calc(100% - 60px));
    margin: auto;
    display: grid;
    grid-template-columns: 1.15fr 1.45fr 1.05fr;
    gap: 55px;
    position: relative;
    z-index: 1;
}

/* Brand */
.cx-brand-panel {
    position: relative;
    overflow: hidden;
    padding: 10px 25px 20px 0;
}

.cx-brand-label,
.cx-section-label {
    display: inline-block;
    color: #A67C36;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cx-logo {
    display: block;
    margin: 25px 0 30px;
}

.cx-logo img {
    width: 290px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.cx-brand-panel h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: var(--cx-primary);
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.cx-brand-panel h2 span {
    color: var(--cx-gold);
}

.cx-brand-panel > p {
    position: relative;
    z-index: 1;
    max-width: 350px;
    margin: 0;
    color: var(--cx-muted);
    font-size: 15px;
    line-height: 1.8;
}

.cx-discover-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 27px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--cx-primary);
    color: var(--cx-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.cx-discover-link span {
    color: var(--cx-gold);
    font-size: 19px;
}

.cx-discover-link:hover {
    color: var(--cx-gold);
    gap: 22px;
}

.cx-brand-watermark {
    position: absolute;
    right: -12px;
    bottom: -65px;
    color: rgba(16, 45, 59, .035);
    font-size: 190px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -15px;
    pointer-events: none;
}

/* Navigation */
.cx-navigation-panel {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 35px;
    padding: 12px 0 12px 40px;
    border-left: 1px solid #DCE6E8;
    border-right: 1px solid #DCE6E8;
}

.cx-nav-group h3,
.cx-contact-heading h3 {
    margin: 13px 0 28px;
    color: var(--cx-primary);
    font-size: 23px;
    font-weight: 750;
    line-height: 1.25;
}

.cx-nav-group > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--cx-text);
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
    transition: .25s ease;
}

.cx-nav-group > a span {
    color: #A2B3B9;
    font-size: 10px;
    font-weight: 700;
    transition: .25s ease;
}

.cx-nav-group > a:hover {
    color: #B38335;
    transform: translateX(4px);
}

.cx-nav-group > a:hover span {
    color: var(--cx-gold);
}

/* Contact card */
.cx-contact-panel {
    position: relative;
    padding: 30px 27px;
    border: 1px solid #E3EBED;
    border-radius: 15px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 15px 45px rgba(16, 45, 59, .055);
}

.cx-contact-panel::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 27px;
    width: 55px;
    height: 3px;
    background: var(--cx-gold);
}

.cx-contact-heading h3 {
    margin: 12px 0 9px;
    font-size: 27px;
    line-height: 1.2;
}

.cx-contact-heading > p {
    margin: 0 0 23px;
    color: var(--cx-muted);
    font-size: 13px;
    line-height: 1.7;
}

.cx-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 18px;
}

.cx-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    border-radius: 10px;
    background: #EAF2F3;
    color: var(--cx-primary);
    font-size: 21px;
}

.cx-contact-row small {
    display: block;
    margin: 1px 0 5px;
    color: #8B9BA0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.cx-contact-row p {
    margin: 0;
    color: var(--cx-text);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 550;
    overflow-wrap: anywhere;
}

.cx-contact-row p a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.cx-contact-row p a:hover {
    color: #B38335;
}

.cx-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding: 14px 18px;
    border-radius: 7px;
    background: var(--cx-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.cx-contact-button span {
    color: #E9C477;
    font-size: 19px;
}

.cx-contact-button:hover {
    background: #17495A;
    color: #fff;
}

/* Industrial strip */
.cx-industrial-strip {
    position: relative;
    padding: 20px 0;
    background: #EAF1F2;
    border-top: 1px solid #D9E5E7;
    border-bottom: 1px solid #D9E5E7;
}

.cx-strip-container {
    width: min(1320px, calc(100% - 60px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cx-strip-text,
.cx-strip-products {
    display: flex;
    align-items: center;
    gap: 13px;
}

.cx-strip-text {
    color: var(--cx-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cx-strip-line {
    width: 30px;
    height: 2px;
    background: var(--cx-gold);
}

.cx-strip-products {
    color: #657A82;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cx-strip-products i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cx-gold);
}

/* Bottom */
.cx-footer-bottom {
    padding: 23px 0;
    background: var(--cx-primary);
    color: #fff;
}

.cx-bottom-container {
    width: min(1320px, calc(100% - 60px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cx-bottom-container > p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.cx-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cx-bottom-links a {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s;
}

.cx-bottom-links a:hover {
    color: #E9C477;
}

.cx-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cx-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.cx-social a svg {
    width: 17px;
    height: 17px;
}

.cx-social a:hover {
    background: #fff;
    color: var(--cx-primary);
    transform: translateY(-3px);
}

/* Responsive */
@media(max-width: 1100px) {
    .cx-footer-container {
        grid-template-columns: 1fr 1.3fr;
        gap: 40px;
    }

    .cx-navigation-panel {
        border-right: 0;
    }

    .cx-contact-panel {
        grid-column: 1 / -1;
    }

    .cx-contact-details {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media(max-width: 767px) {
    .cx-footer-top {
        padding: 45px 0;
    }

    .cx-footer-container {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cx-brand-panel {
        padding-right: 0;
    }

    .cx-logo {
        margin: 20px 0;
    }

    .cx-logo img {
        width: 245px;
    }

    .cx-brand-panel h2 {
        font-size: 31px;
    }

    .cx-navigation-panel {
        padding: 30px 0;
        border-top: 1px solid #DCE6E8;
        border-bottom: 1px solid #DCE6E8;
        border-left: 0;
        border-right: 0;
        gap: 20px;
    }

    .cx-nav-group h3 {
        font-size: 19px;
    }

    .cx-nav-group > a {
        font-size: 14px;
        margin-bottom: 17px;
    }

    .cx-contact-panel {
        grid-column: auto;
        padding: 24px 20px;
    }

    .cx-contact-details {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cx-strip-container {
        width: calc(100% - 36px);
        flex-direction: column;
        align-items: flex-start;
    }

    .cx-strip-products {
        flex-wrap: wrap;
        font-size: 9px;
    }

    .cx-bottom-container {
        width: calc(100% - 36px);
        flex-wrap: wrap;
    }

    .cx-bottom-container > p {
        width: 100%;
    }

    .cx-bottom-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}

@media(max-width: 420px) {
    .cx-navigation-panel {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cx-bottom-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cx-bottom-links {
        gap: 12px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .cx-footer *,
    .cx-footer *::before,
    .cx-footer *::after {
        transition: none !important;
    }
}

/* Single navigation group */
.cx-navigation-panel {
    display: flex;
    justify-content: center;
    padding: 12px 35px;
    border-left: 1px solid #DCE6E8;
    border-right: 1px solid #DCE6E8;
}

.cx-navigation-panel .cx-nav-group {
    width: 100%;
    max-width: 260px;
}

@media (max-width: 767px) {
    .cx-navigation-panel {
        justify-content: flex-start;
        padding: 30px 0;
        border-left: 0;
        border-right: 0;
        border-top: 1px solid #DCE6E8;
        border-bottom: 1px solid #DCE6E8;
    }
}
