/* TNC Wedding Suite -- site-wide footer.
   Self-contained: defines its own --tnc-* tokens scoped to
   .tnc-footer, same approach as tnc-homepage.css, so it doesn't
   depend on tnc-base.css and can't be thrown off by load order.

   Two layouts live in the markup at once (see templates/footer.php):
   .tnc-footer-inner-desktop (full column layout) and
   .tnc-footer-inner-mobile (compact centered layout). This file shows
   exactly one of them at a time via display:none, switched at the
   600px breakpoint at the bottom of this file -- desktop keeps the
   full footer, only mobile gets the short version. */

.tnc-footer {

    --tnc-oxblood: #3A1A17;
    --tnc-oxblood-dark: #1F0E0C;

    --tnc-gold: #C6A15B;
    --tnc-gold-light: #E5CF9A;
    --tnc-gold-deep: #A6803A;

    --tnc-ivory: #FBF8F1;
    --tnc-cream: #F3EBDD;

    --tnc-text: #383334;
    --tnc-muted: #786F6D;
    --tnc-white: #FFFFFF;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--tnc-text);

    background: var(--tnc-cream);
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(198,161,91,0) 0%, rgba(198,161,91,.55) 50%, rgba(198,161,91,0) 100%) 1;
}


/* =========================================================
   DESKTOP / TABLET -- full column layout (default; hidden on
   mobile by the breakpoint at the bottom of this file)
   ========================================================= */

.tnc-footer-inner-desktop {

    display: block;
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 25px 0;
}


.tnc-footer-inner-mobile {

    display: none;
}


.tnc-footer-top {

    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}


.tnc-footer-logo {

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    letter-spacing: -.2px;
    color: var(--tnc-oxblood);
}


.tnc-footer-logo span {

    color: var(--tnc-gold-deep);
}


.tnc-footer-tagline {

    margin: 14px 0 0;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--tnc-muted);
}


/* SOCIAL ICONS -- bare monochrome (currentColor) marks, no boxes or
   borders. Quieter and more editorial than a button grid; a muted
   oxblood at rest, warming to gold with a slight lift on hover so the
   row stays light-touch instead of looking like a toolbar. Shared by
   both layouts. */

.tnc-footer-social {

    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}


.tnc-footer-social-link {

    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tnc-oxblood);
    opacity: .72;
    transition: color .18s ease, opacity .18s ease, transform .18s ease;
}


.tnc-footer-social-link svg {

    width: 18px;
    height: 18px;
}


.tnc-footer-social-link:hover {

    color: var(--tnc-gold-deep);
    opacity: 1;
    transform: translateY(-2px);
}


.tnc-footer-col h4 {

    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tnc-oxblood);
}


.tnc-footer-col h4::after {

    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    background: var(--tnc-gold);
}


.tnc-footer-col ul {

    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.tnc-footer-col a {

    font-size: 14px;
    color: var(--tnc-text);
    text-decoration: none;
    transition: color .15s ease;
}


.tnc-footer-col a:hover {

    color: var(--tnc-gold-deep);
}


.tnc-footer-note {

    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--tnc-muted);
}


.tnc-footer-cta {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 22px;
    border: 1px solid var(--tnc-gold-deep);
    border-radius: 0;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tnc-oxblood);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}


.tnc-footer-cta:hover {

    background: var(--tnc-oxblood);
    border-color: var(--tnc-oxblood);
    color: var(--tnc-gold-light);
}


/* =========================================================
   MOBILE -- compact centered layout (hidden by default; shown
   only under the 600px breakpoint below)
   ========================================================= */

.tnc-footer-centered {

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 32px;
}


.tnc-footer-mark {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--tnc-gold);
    border-radius: 50%;
    color: var(--tnc-gold-deep);
}


.tnc-footer-mark svg {

    width: 18px;
    height: 18px;
}


.tnc-footer-logo--mini {

    margin-top: 20px;
    font-size: 22px;
}


.tnc-footer-inner-mobile .tnc-footer-tagline {

    margin-top: 12px;
    max-width: 360px;
}


.tnc-footer-inner-mobile .tnc-footer-social {

    justify-content: center;
}


/* =========================================================
   BOTTOM -- copyright + legal bar (shared by both layouts;
   the mobile version centers it via the wrapper below)
   ========================================================= */

.tnc-footer-bottom {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(198,161,91,.25);
}


.tnc-footer-bottom p {

    margin: 0;
    font-size: 12.5px;
    color: var(--tnc-muted);
}


.tnc-footer-legal {

    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.tnc-footer-legal li {

    display: flex;
    align-items: center;
    gap: 10px;
}


.tnc-footer-legal li + li::before {

    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--tnc-gold-deep);
    opacity: .6;
}


.tnc-footer-legal a {

    font-size: 12.5px;
    color: var(--tnc-muted);
    text-decoration: none;
    transition: color .15s ease;
}


.tnc-footer-legal a:hover {

    color: var(--tnc-gold-deep);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .tnc-footer-top {

        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }


    .tnc-footer-brand {

        grid-column: 1 / -1;
    }

}


@media (max-width: 600px) {

    /* The actual mobile/desktop swap: hide the full column layout,
       show the compact centered one instead. */

    .tnc-footer-inner-desktop {

        display: none;
    }


    .tnc-footer-inner-mobile {

        display: block;
        max-width: 640px;
        margin: 0 auto;
        padding: 48px 20px 0;
    }


    .tnc-footer-inner-mobile .tnc-footer-bottom {

        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }


    .tnc-footer-inner-mobile .tnc-footer-legal {

        justify-content: center;
        flex-wrap: wrap;
    }

}
