/* ── Savvy Footer ───────────────────────────────────────────── */

footer.full_width_footer {
    position: relative;
    background: var(--light-bg);
}

/* Gold accent line at top */
.savvy-footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 182, 54, 0.4) 25%,
        var(--heading-color) 50%,
        rgba(255, 182, 54, 0.4) 75%,
        transparent 100%
    );
}

/* ── Container ─────────────────────────────────────────────── */

.savvy-footer-inner {
    padding: 56px 0 40px;
}

/* ── Grid ──────────────────────────────────────────────────── */

.savvy-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 0.8fr;
    gap: 48px;
}

.savvy-footer-col {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ── Brand Column ──────────────────────────────────────────── */

.savvy-footer-brand {
    max-width: 360px;
}

.savvy-footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    transition: opacity 0.3s ease;
}

.savvy-footer-logo:hover {
    opacity: 0.75;
}

.savvy-footer-logo img {
    width: auto;
    height: auto;
    max-width: 64px;
}

.savvy-footer-tagline {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--secondary-text);
    margin: 0 0 28px;
    max-width: 350px;
}

/* ── Column Headings ───────────────────────────────────────── */

.savvy-footer-heading {
    font-size: var(--fs-base);
    font-weight: 700;
    font-variation-settings: "wdth" 87.5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 182, 54, 0.12);
}

/* ── Links ─────────────────────────────────────────────────── */

.savvy-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.savvy-footer-links li {
    margin-bottom: 9px;
}

.savvy-footer-links li:last-child {
    margin-bottom: 0;
}

.savvy-footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: var(--fs-base);
    line-height: 1.5;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.savvy-footer-links a:hover {
    color: var(--heading-color);
    transform: translateX(3px);
}

/* RTL: reverse hover shift */
html[dir="rtl"] .savvy-footer-links a:hover {
    transform: translateX(-3px);
}

/* ── Newsletter ────────────────────────────────────────────── */

.savvy-footer-newsletter {
    margin-bottom: 24px;
}

.savvy-footer-newsletter-desc {
    font-size: var(--fs-sm);
    color: var(--secondary-text);
    margin: 0 0 14px;
    line-height: 1.5;
    opacity: 0.8;
}

.savvy-footer-input-wrap {
    display: flex;
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--dark-bg);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.savvy-footer-input-wrap:focus-within {
    border-color: rgba(255, 182, 54, 0.4);
    box-shadow: 0 0 0 2px rgba(255, 182, 54, 0.08);
}

.savvy-footer-email {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: var(--fs-base);
    font-family: inherit;
    outline: none;
}

.savvy-footer-email::placeholder {
    color: var(--secondary-text);
    opacity: 0.5;
}


.savvy-footer-form-msg {
    margin-top: 8px;
    font-size: var(--fs-sm);
    display: none;
}

/* ── Social Links ──────────────────────────────────────────── */

.savvy-footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.savvy-footer-social-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.savvy-footer-social-link:hover {
    color: var(--heading-color);
    border-color: rgba(255, 182, 54, 0.3);
    background: rgba(255, 182, 54, 0.06);
}

.savvy-footer-social-link svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Contact email */
.savvy-footer-contact-email {
    font-size: var(--fs-sm);
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.savvy-footer-contact-email:hover {
    color: var(--heading-color);
}

/* ── Tech Corners (framing entire footer content) ──────────── */

.savvy-footer-inner > .tech-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--heading-color);
    border-style: solid;
    opacity: 0.2;
    pointer-events: none;
    z-index: 3;
}

.savvy-footer-inner > .tech-corner.top-right {
    top: 20px;
    inset-inline-end: 20px;
    border-block-start-width: 1px;
    border-inline-end-width: 1px;
    border-block-end-width: 0;
    border-inline-start-width: 0;
}

.savvy-footer-inner > .tech-corner.bottom-left {
    bottom: 8px;
    inset-inline-start: 20px;
    border-block-end-width: 1px;
    border-inline-start-width: 1px;
    border-block-start-width: 0;
    border-inline-end-width: 0;
}

/* ── Bottom Bar ────────────────────────────────────────────── */

.savvy-footer-bottom {
    position: relative;
    z-index: 2;
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
}

.savvy-footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.savvy-footer-copyright {
    font-size: var(--fs-sm);
    color: var(--secondary-text);
    margin: 0;
    opacity: 0.7;
}

.savvy-footer-legal {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.savvy-footer-legal a {
    font-size: var(--fs-sm);
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.7;
}

.savvy-footer-legal a:hover {
    color: var(--heading-color);
    opacity: 1;
}

.savvy-footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--secondary-text);
    opacity: 0.35;
    flex-shrink: 0;
}
/* ── Color Palette ─────────────────────────────────────────── */

.savvy-palette {
    padding-top: 32px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.savvy-palette-swatch {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.savvy-palette-swatch:hover {
    transform: scale(1.3);
    border-color: rgba(255, 182, 54, 0.25);
}

@media screen and (min-width: 1123px) {

.savvy-footer-logo img {
    max-width: 96px;
}
}


/* ── Responsive: Tablet (1122px and below) ─────────────────── */

@media screen and (max-width: 1122px) {
    
    .savvy-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .savvy-footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }

    .savvy-footer-bottom-inner {
        padding: 16px 30px;
    }
}

/* ── Responsive: Mobile (640px and below) ──────────────────── */

@media screen and (max-width: 640px) {
  

    .savvy-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .savvy-footer-brand {
        grid-column: 1;
    }



    
    .savvy-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        gap: 8px;
    }

    .savvy-footer-legal {
        justify-content: center;
    }
}

/* ── Print ─────────────────────────────────────────────────── */

@media print {
    .savvy-footer,
    .full_width_footer {
        display: none !important;
    }
}
