/* =============================================
   SAC Footer — ArtisanConnect-inspired design
   ============================================= */

/* Shared container */
.sac-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1024px) {
    .sac-footer-container {
        padding-left: 48px;
        padding-right: 48px;
    }
}

/* ---- Newsletter section ---- */
.sac-footer-newsletter {
    background: #1A1918;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sac-footer-newsletter-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px 0;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .sac-footer-newsletter-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.sac-footer-newsletter-text h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .sac-footer-newsletter-text h3 {
        font-size: 1.875rem;
    }
}

.sac-footer-newsletter-text h3 span {
    font-weight: 600;
    color: #E8A87C;
}

.sac-footer-newsletter-text p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.95rem;
}

.sac-footer-newsletter-form {
    width: 100%;
    max-width: 480px;
}

.sac-footer-newsletter-form .gform_wrapper {
    margin: 0 !important;
}

.sac-footer-newsletter-form .gform_body input[type="email"],
.sac-footer-newsletter-form .gform_body input[type="text"] {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    height: auto !important;
}

.sac-footer-newsletter-form .gform_body input::placeholder {
    color: rgba(255,255,255,0.4) !important;
}

.sac-footer-newsletter-form .gform_footer input[type="submit"],
.sac-footer-newsletter-form .gform_button {
    background: #C45B28 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 32px !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.sac-footer-newsletter-form .gform_footer input[type="submit"]:hover,
.sac-footer-newsletter-form .gform_button:hover {
    background: #A84920 !important;
}

.sac-footer-newsletter-form .gfield_label,
.sac-footer-newsletter-form .gform_footer {
    display: inline-block;
}

.sac-footer-newsletter-form .validation_error,
.sac-footer-newsletter-form .validation_message {
    color: #E8A87C !important;
    border-color: rgba(232,168,124,0.3) !important;
    background: transparent !important;
}

/* ---- Main footer ---- */
.sac-footer {
    background: #1A1918;
    color: #fff;
    padding: 64px 0;
}

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

@media (min-width: 768px) {
    .sac-footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px 48px;
    }
}

@media (min-width: 1024px) {
    .sac-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
        gap: 48px;
    }
}

/* Brand column */
.sac-footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .sac-footer-brand {
        grid-column: auto;
        margin-bottom: 0;
    }
}

.sac-footer-logo img {
    height: 72px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.sac-footer-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.sac-footer-social {
    display: flex;
    gap: 10px;
}

.sac-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.sac-footer-social-link:hover {
    background: #C45B28;
    color: #fff !important;
}

/* Link columns */
.sac-footer-col h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: #E8A87C;
    font-size: 1rem;
}

ul.sac-footer-links,
.sac-footer-col .sac-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sac-footer-links li {
    margin-bottom: 12px;
}

.sac-footer-links li a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sac-footer-links li a:hover {
    color: #fff !important;
}

/* Contact column icons */
.sac-footer-contact .sac-footer-links li a i,
.sac-footer-contact .sac-footer-address i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.sac-footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.5;
}

.sac-footer-address i {
    margin-top: 3px;
}

/* ---- Bottom bar ---- */
.sac-footer-bottom {
    background: #1A1918;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sac-footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .sac-footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.sac-footer-bottom-inner p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
    margin: 0;
}

.sac-footer-bottom-links {
    display: flex;
    gap: 24px;
}

.sac-footer-bottom-links a {
    color: rgba(255,255,255,0.4) !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.sac-footer-bottom-links a:hover {
    color: #fff !important;
}

/* Override old footer styles */
.footer,
.bottom-footer {
    display: none;
}

/* Override newsletter old styles */
section.newsletter {
    display: none;
}
