/* ============================================================
   KRANTINATURAL — FOOTER
   All colors driven by design tokens (css/base.css :root).
   ============================================================ */

.site-footer {
    background: var(--gradient-footer);
    position: relative;
    overflow: hidden;
}

/* decorative bg pattern */
.site-footer::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 60px solid var(--gold-tint-050);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 40px solid var(--gold-tint-040);
    pointer-events: none;
}

/* ── CLOSING CTA STRIP ──
   Sits on the dark footer, so the whole block is built from light-on-dark
   contrast: a gold hairline marks the band, a ruled eyebrow labels it, and the
   single gold button is the only loud element in it.
   Copy for every page lives in config['newsletter_strip']. */
.footer-nl-strip {
    background: var(--gradient-footer-top);
    padding: clamp(20px, 2.4vw, 30px) 0;
    border-bottom: 1px solid var(--white-tint-080);
    position: relative;
    z-index: 1;
}

/* Gold hairline — separates the strip from the page without adding a box. */
.footer-nl-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-300) 45%, transparent 100%);
    opacity: 0.7;
}

.nl-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 64px);
}

/* No width cap: the block sizes itself to the title and the one-line text, so a
   future copy change widens it instead of wrapping. */
.nl-strip-copy {
    min-width: 0;
}

/* Eyebrow reads as a document label: a short gold rule, then spaced small caps.
   The rule is the strip's one structural device — it grows on hover of nothing,
   it just marks the copy as a label rather than a heading. */
.nl-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 8px;
}

.nl-eyebrow::before {
    content: '';
    flex: 0 0 auto;
    width: 24px;
    height: 1px;
    background: var(--color-gold-light);
    opacity: 0.85;
}

.nl-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 1.9vw, 25px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-on-dark);
    margin: 0 0 5px;
    text-wrap: balance;
}

/* One line by design — see the copy rule in config['newsletter_strip']. */
.nl-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-on-dark);
    opacity: 0.8;
    margin: 0;
}

/* Single action, sized one step up from the page's other gold buttons so it reads
   as the closing CTA. The arrow slide + shine sweep come from .btn-gold. */
.nl-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

/* ── MAIN FOOTER BODY ── */
.footer-body {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

/* Logo & About */
.footer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 10px;
    padding: 8px 14px;
    border-radius: var(--radius-lg);
    transition: background var(--transition-base);
}

.footer-brand:hover {
    background: var(--white-tint-070);
}

/* Same 52 x 52 mark as the navbar ring so both ends of the site match. */
.footer-logo-img {
    display: block;
    box-sizing: border-box;
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: var(--surface-card);
    border: 1px solid var(--accent-tint-200);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

/* One line, same as the navbar brand text. */
.footer-brand-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
    line-height: 1.15;
    margin-left: 12px;
    padding: 2px 0;
    white-space: nowrap;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-on-dark);
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-on-dark);
    line-height: 1.85;
    margin-bottom: 10px;
}

.f-trust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-tint-120);
    border: 1px solid var(--gold-tint-280);
    color: var(--color-icon-on-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

/* Social icons — the .f-social chip itself (size, shape and the
   per-platform brand colours) lives in css/base.css so the footer and the
   contact side panel can never drift apart. Only the row layout is here. */
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Column Headings */
.footer-col-title {
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--text-on-dark) !important;
    margin-bottom: 10px !important;
    font-family: var(--font-body) !important;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

/* Footer Links */
.f-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-on-dark);
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.5;
    padding: 6px 0;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    border-bottom: 1px solid var(--white-tint-040);
}

.f-nav-link:last-child {
    border-bottom: none;
}

.f-nav-link::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gold-light);
    opacity: 0;
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
}

.f-nav-link:hover {
    color: var(--color-gold-light);
    padding-left: 4px;
}

.f-nav-link.f-view-all {
    color: var(--color-gold-light);
    font-weight: 600;
    margin-top: 6px;
}

.f-nav-link.f-view-all::before {
    content: none;
}

.f-nav-link.f-view-all:hover {
    padding-left: 4px;
}

/* Contact Items */
.f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

/* Let the text column shrink so a long email/address wraps instead of pushing
   past the footer column. */
.f-contact-item > div {
    min-width: 0;
}

.f-contact-item:last-child {
    margin-bottom: 0;
}

.f-contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-top: 2px;
    border-radius: var(--radius-md);
    background: var(--gold-tint-120);
    border: 1px solid var(--gold-tint-280);
    color: var(--color-icon-on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.f-contact-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-on-dark);
    margin-bottom: 4px;
    line-height: 1;
}

.f-contact-value {
    font-size: 13.5px;
    color: var(--text-on-dark);
    line-height: 1.6;
    overflow-wrap: break-word;
}

.f-contact-value a {
    color: var(--text-on-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.f-contact-value a:hover {
    color: var(--color-gold-light);
}

/* ── DIVIDER ── */
.footer-divider {
    border: none;
    border-top: 1px solid var(--white-tint-070);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ── FOOTER BOTTOM (white credit bar) ── */
.footer-bottom-bar {
    background: var(--surface-bg);
    padding: 16px 0;
    position: relative;
    z-index: 1;
}

.fb-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    text-align: center;
}

.fb-text,
.fb-copy {
    font-size: 13px;
    color: var(--text-second);
    margin: 0;
}

.fb-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.fb-brand:hover {
    opacity: 0.85;
}

.fb-brand img {
    height: 28px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .fb-inner {
        flex-direction: column;
        gap: 6px;
    }

    .fb-brand img {
        height: 24px;
    }
}