/* Footer component styles. */
/* ═══════════════════════════════════════════════════════════════
   FOOTER DESIGN TOKENS — Bright Institutional
   Synced with personal.php v4.1 palette
   ═══════════════════════════════════════════════════════════════ */
.premium-footer {
    --ft-blue-900: #1E3A8A;
    --ft-blue-800: #1E40AF;
    --ft-blue-700: #1D4ED8;
    --ft-blue-600: #2563EB;
    --ft-blue-500: #3B82F6;
    --ft-blue-400: #60A5FA;
    --ft-blue-300: #93C5FD;
    --ft-blue-200: #BFDBFE;
    --ft-blue-100: #DBEAFE;
    --ft-blue-50: #EFF6FF;
    --ft-blue-25: #F5F9FF;

    --ft-sky-500: #0EA5E9;
    --ft-sky-400: #38BDF8;
    --ft-sky-300: #7DD3FC;
    --ft-sky-200: #BAE6FD;
    --ft-sky-100: #E0F2FE;
    --ft-sky-50: #F0F9FF;

    --ft-gold-600: #B45309;
    --ft-gold-500: #D97706;
    --ft-gold-400: #F59E0B;
    --ft-gold-300: #FBBF24;
    --ft-gold-200: #FDE68A;

    --ft-slate-900: #0F172A;
    --ft-slate-800: #1E293B;
    --ft-slate-700: #334155;
    --ft-slate-600: #475569;
    --ft-slate-500: #64748B;
    --ft-slate-400: #94A3B8;
    --ft-slate-300: #CBD5E1;
    --ft-slate-200: #E2E8F0;
    --ft-slate-100: #F1F5F9;
    --ft-slate-50: #F8FAFC;
    --ft-white: #FFFFFF;

    --ft-font-display: 'Noto Serif Thai', Georgia, serif;
    --ft-font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;

    --ft-shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.06);
    --ft-shadow-md: 0 4px 16px rgba(30, 58, 138, 0.08);
    --ft-shadow-lg: 0 8px 30px rgba(30, 58, 138, 0.1);
    --ft-shadow-gold: 0 4px 16px rgba(217, 119, 6, 0.2);

    --ft-r-sm: 8px;
    --ft-r-md: 10px;
    --ft-r-lg: 12px;
    --ft-r-xl: 14px;
    --ft-r-full: 9999px;
    --ft-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ft-transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.premium-footer *,
.premium-footer *::before,
.premium-footer *::after {
    box-sizing: inherit;
}

/* ═══════════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════════ */
.premium-footer {
    position: relative;
    background: linear-gradient(180deg, var(--ft-slate-50) 0%, var(--ft-blue-25) 100%);
    color: var(--ft-slate-600);
    font-family: var(--ft-font-body);
    overflow: hidden;
}

/* Blue gradient top border */
.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1D4ED8, #2563EB, #3B82F6, #60A5FA, #93C5FD, #38BDF8, #0EA5E9);
    background-size: 300% 100%;
    animation: ftShimmer 10s ease-in-out infinite;
}

@keyframes ftShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.ft-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.ft-main {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 36px) clamp(16px, 4vw, 32px) clamp(16px, 3vw, 24px);
}

.ft-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(20px, 3vw, 32px);
    padding-bottom: clamp(16px, 2.5vw, 24px);
    border-bottom: 1px solid var(--ft-blue-100);
    flex-wrap: wrap;
}

.ft-brand {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 20px);
    min-width: 0;
}

.ft-brand-info {
    min-width: 0;
}

.ft-logo-container {
    position: relative;
    flex-shrink: 0;
}

.ft-logo {
    width: clamp(52px, 7vw, 64px);
    height: clamp(52px, 7vw, 64px);
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.ft-logo-glow {
    position: absolute;
    inset: -10px;
    background: conic-gradient(from 0deg,
            var(--ft-blue-400), var(--ft-sky-400), var(--ft-blue-500),
            var(--ft-blue-600), var(--ft-sky-500), var(--ft-blue-400));
    border-radius: 50%;
    opacity: 0.25;
    animation: ftPulse 4s ease-in-out infinite, ftRotate 10s linear infinite;
    filter: blur(8px);
}

@keyframes ftPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(1.05);
    }
}

@keyframes ftRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ft-brand-info h2 {
    font-family: var(--ft-font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--ft-blue-700), var(--ft-blue-500), var(--ft-sky-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 3px 0;
    letter-spacing: 0;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.ft-brand-info p {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    color: var(--ft-slate-500);
    margin: 0 0 10px 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Royal Badge */
.ft-royal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: var(--ft-r-full);
    backdrop-filter: blur(10px);
    box-shadow: var(--ft-shadow-gold);
}

.ft-royal-badge-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ft-gold-500), var(--ft-gold-400));
    border-radius: 50%;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.ft-royal-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ft-royal-badge-title {
    font-size: 0.7rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--ft-gold-600), var(--ft-gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ft-royal-badge-year {
    font-size: 0.6rem;
    color: var(--ft-slate-500);
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL LINKS
   ═══════════════════════════════════════════════════════════════ */
.ft-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    min-width: min(100%, 320px);
}

.ft-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ft-blue-50);
    border: 1px solid var(--ft-blue-100);
    border-radius: var(--ft-r-md);
    color: var(--ft-slate-500);
    font-size: 1.1rem;
    transition: var(--ft-transition);
    text-decoration: none;
    flex-shrink: 0;
}

.ft-social-link:hover {
    transform: translateY(-4px) scale(1.05);
}

.ft-social-link:focus-visible,
.ft-social .ft-aqi-widget:focus-visible,
.ft-links a:focus-visible,
.ft-contact-info a:focus-visible,
.ft-copyright a:focus-visible,
.ft-bottom-links a:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.35);
    outline-offset: 3px;
}

.ft-social-link.facebook {
    border-color: rgba(24, 119, 242, 0.2);
}

.ft-social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #42A5F5);
    border-color: #1877f2;
    color: white;
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);
}

.ft-social-link.youtube {
    border-color: rgba(255, 0, 0, 0.2);
}

.ft-social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #FF5252);
    border-color: #ff0000;
    color: white;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.ft-social-link.line {
    border-color: rgba(0, 195, 0, 0.2);
}

.ft-social-link.line:hover {
    background: linear-gradient(135deg, #00c300, #4CAF50);
    border-color: #00c300;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 195, 0, 0.35);
}

.ft-social-link.tiktok {
    border-color: rgba(37, 244, 238, 0.2);
}

.ft-social-link.tiktok:hover {
    background: linear-gradient(135deg, #010101, #25f4ee);
    border-color: #25f4ee;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 244, 238, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   AQI WIDGET
   ═══════════════════════════════════════════════════════════════ */
.ft-social .ft-aqi-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    background: var(--ft-blue-50);
    border: 1px solid var(--ft-blue-200);
    border-radius: var(--ft-r-md);
    text-decoration: none;
    transition: var(--ft-transition);
    height: 44px;
    flex-shrink: 0;
}

.ft-social .ft-aqi-widget:hover {
    background: var(--ft-blue-100);
    border-color: var(--ft-blue-300);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.ft-social .ft-aqi-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ft-r-sm);
    font-size: 0.95rem;
    line-height: 1;
    position: relative;
    flex-shrink: 0;
}

.ft-social .ft-aqi-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.ft-social .ft-aqi-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    border: 2px solid;
    border-color: inherit;
    opacity: 0.3;
    animation: ftAqiRing 2.5s ease-out infinite;
}

@keyframes ftAqiRing {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.ft-social .ft-aqi-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1px;
    line-height: 1;
    height: 100%;
}

.ft-social .ft-aqi-title {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--ft-slate-700);
    line-height: 1;
    margin-bottom: 2px;
}

.ft-social .ft-aqi-title i {
    font-size: 0.55rem;
    color: var(--ft-blue-500);
}

.ft-social .ft-aqi-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.ft-social .ft-aqi-stat {
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}

.ft-social .ft-aqi-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.ft-social .ft-aqi-label {
    font-size: 0.48rem;
    color: var(--ft-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1;
}

.ft-social .ft-aqi-divider {
    width: 1px;
    height: 14px;
    background: linear-gradient(180deg, transparent, var(--ft-blue-200), transparent);
    flex-shrink: 0;
}

.ft-social .ft-aqi-status {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 5px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 6px;
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--ft-blue-600);
    line-height: 1;
}

.ft-social .ft-aqi-status.stale {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
}

.ft-social .ft-aqi-status.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.ft-social .ft-aqi-status-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    animation: ftBlink 2s infinite;
}

@keyframes ftBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.ft-social .ft-aqi-status.offline .ft-aqi-status-dot {
    animation: none;
}

.ft-social .ft-aqi-arrow {
    width: 20px;
    height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ft-blue-500), var(--ft-blue-400));
    border-radius: 6px;
    color: white;
    font-size: 0.5rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.ft-social .ft-aqi-widget:hover .ft-aqi-arrow {
    transform: translateX(2px);
    background: linear-gradient(135deg, var(--ft-blue-600), var(--ft-blue-500));
}

.ft-social .ft-aqi-widget.loading .ft-aqi-value {
    background: linear-gradient(90deg, var(--ft-blue-100), var(--ft-blue-50), var(--ft-blue-100));
    background-size: 200% 100%;
    animation: ftLoadShimmer 1.5s infinite;
    border-radius: 3px;
    color: transparent;
    min-width: 20px;
}

@keyframes ftLoadShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   GRID SECTION
   ═══════════════════════════════════════════════════════════════ */
.ft-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 32px);
    margin-bottom: clamp(16px, 2.5vw, 24px);
    padding-bottom: clamp(16px, 2.5vw, 24px);
    border-bottom: 1px solid var(--ft-blue-100);
}

.ft-section {
    min-width: 0;
}

.ft-section h3 {
    font-family: var(--ft-font-display);
    font-size: clamp(0.82rem, 1.3vw, 0.95rem);
    font-weight: 600;
    color: var(--ft-slate-800);
    margin-bottom: clamp(12px, 1.8vw, 16px);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.ft-section h3 i {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ft-r-sm);
    font-size: 0.7rem;
    color: white;
}

/* Blue gradient icons per section */
.ft-section:nth-child(1) h3 i {
    background: linear-gradient(135deg, var(--ft-blue-500), var(--ft-blue-400));
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.ft-section:nth-child(2) h3 i {
    background: linear-gradient(135deg, var(--ft-sky-500), var(--ft-blue-500));
    box-shadow: 0 3px 10px rgba(14, 165, 233, 0.3);
}

.ft-section:nth-child(3) h3 i {
    background: linear-gradient(135deg, var(--ft-blue-600), var(--ft-blue-700));
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.ft-section:nth-child(4) h3 i {
    background: linear-gradient(135deg, var(--ft-blue-700), var(--ft-blue-800));
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
}

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

.ft-links li {
    margin-bottom: 8px;
}

.ft-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ft-slate-500);
    text-decoration: none;
    font-size: clamp(0.7rem, 1.2vw, 0.82rem);
    font-weight: 400;
    padding: 6px 10px;
    margin: -6px -10px;
    border-radius: var(--ft-r-sm);
    transition: var(--ft-transition);
    line-height: 1.5;
    min-height: 34px;
}

.ft-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, var(--ft-blue-500), var(--ft-blue-400));
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: var(--ft-transition);
}

.ft-links a:hover {
    color: var(--ft-blue-700);
    background: var(--ft-blue-50);
}

.ft-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.ft-section:nth-child(1) .ft-links a:hover {
    background: rgba(59, 130, 246, 0.08);
}

.ft-section:nth-child(2) .ft-links a:hover {
    background: rgba(14, 165, 233, 0.08);
}

.ft-section:nth-child(3) .ft-links a:hover {
    background: rgba(37, 99, 235, 0.08);
}

.ft-section:nth-child(4) .ft-links a:hover {
    background: rgba(30, 64, 175, 0.08);
}

/* ─── Contact Cards ─── */
.ft-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: var(--ft-blue-50);
    border: 1px solid var(--ft-blue-100);
    border-radius: var(--ft-r-md);
    transition: var(--ft-transition);
}

.ft-contact-card:hover {
    background: var(--ft-blue-100);
    border-color: var(--ft-blue-200);
    transform: translateX(4px);
}

.ft-contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ft-r-sm);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: var(--ft-transition);
}

.ft-contact-card:nth-child(1) .ft-contact-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--ft-blue-600);
}

.ft-contact-card:nth-child(2) .ft-contact-icon {
    background: rgba(14, 165, 233, 0.1);
    color: var(--ft-sky-500);
}

.ft-contact-card:nth-child(3) .ft-contact-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--ft-blue-700);
}

.ft-contact-card:hover .ft-contact-icon {
    transform: scale(1.1) rotate(-5deg);
}

.ft-contact-card:nth-child(1):hover .ft-contact-icon {
    background: linear-gradient(135deg, var(--ft-blue-500), var(--ft-blue-400));
    color: white;
}

.ft-contact-card:nth-child(2):hover .ft-contact-icon {
    background: linear-gradient(135deg, var(--ft-sky-500), var(--ft-blue-500));
    color: white;
}

.ft-contact-card:nth-child(3):hover .ft-contact-icon {
    background: linear-gradient(135deg, var(--ft-blue-600), var(--ft-blue-700));
    color: white;
}

.ft-contact-info strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ft-slate-700);
    margin-bottom: 2px;
    line-height: 1.3;
}

.ft-contact-info span,
.ft-contact-info a {
    font-size: 0.7rem;
    color: var(--ft-slate-500);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
    overflow-wrap: anywhere;
}

.ft-contact-info a:hover {
    color: var(--ft-blue-600);
}

/* ─── Hours Card ─── */
.ft-hours-card {
    margin-top: 10px;
    padding: 10px;
    background: var(--ft-blue-50);
    border: 1px solid var(--ft-blue-100);
    border-radius: var(--ft-r-md);
}

.ft-hours-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ft-slate-700);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ft-blue-100);
    line-height: 1.3;
}

.ft-hours-title i {
    background: linear-gradient(135deg, var(--ft-blue-500), var(--ft-sky-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ft-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.7rem;
    line-height: 1.4;
}

.ft-hours-day {
    color: var(--ft-slate-500);
}

.ft-hours-time {
    color: var(--ft-slate-700);
    font-weight: 500;
}

.ft-hours-time.closed {
    color: #EF4444;
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM BAR — Light Sky Blue
   ═══════════════════════════════════════════════════════════════ */
.ft-bottom {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--ft-blue-100) 0%, var(--ft-sky-100) 50%, var(--ft-blue-50) 100%);
    padding: clamp(12px, 1.8vw, 16px) 0;
    padding-bottom: calc(clamp(12px, 1.8vw, 16px) + env(safe-area-inset-bottom, 0px));
}

.ft-bottom-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.ft-copyright {
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    color: var(--ft-slate-500);
    line-height: 1.4;
}

.ft-copyright a {
    background: linear-gradient(135deg, var(--ft-blue-600), var(--ft-blue-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    transition: var(--ft-transition);
}

.ft-copyright a:hover {
    background: linear-gradient(135deg, var(--ft-blue-700), var(--ft-sky-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ft-bottom-links {
    display: flex;
    gap: clamp(14px, 2.5vw, 28px);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ft-bottom-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ft-slate-500);
    text-decoration: none;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    transition: var(--ft-transition);
    padding: 5px 0;
    line-height: 1.4;
}

.ft-bottom-links a i {
    font-size: 0.85em;
}

.ft-bottom-links a:nth-child(1):hover {
    color: var(--ft-blue-600);
}

.ft-bottom-links a:nth-child(2):hover {
    color: var(--ft-sky-500);
}

.ft-bottom-links a:nth-child(3):hover {
    color: var(--ft-blue-700);
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════════════════════════ */
:is(body.dark-mode, html.dark-mode body) .premium-footer {
    --ft-slate-50: #0F172A;
    --ft-slate-100: #1E293B;
    --ft-slate-200: #334155;
    --ft-slate-300: #475569;
    --ft-slate-400: #64748B;
    --ft-slate-500: #94A3B8;
    --ft-slate-600: #CBD5E1;
    --ft-slate-700: #E2E8F0;
    --ft-slate-800: #F1F5F9;
    --ft-white: #1E293B;
    --ft-blue-50: rgba(30, 58, 138, 0.15);
    --ft-blue-100: rgba(30, 64, 175, 0.2);
    --ft-blue-200: rgba(37, 99, 235, 0.25);

    background: linear-gradient(180deg, #0F172A 0%, #111827 100%);
    color: #94A3B8;
}

:is(body.dark-mode, html.dark-mode body) .ft-grid-pattern {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
}

:is(body.dark-mode, html.dark-mode body) .ft-brand-info h2 {
    background: linear-gradient(135deg, var(--ft-blue-300), var(--ft-sky-400), var(--ft-blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:is(body.dark-mode, html.dark-mode body) .ft-brand-info p {
    color: #94A3B8;
}

:is(body.dark-mode, html.dark-mode body) .ft-royal-badge {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(245, 158, 11, 0.08));
    border-color: rgba(217, 119, 6, 0.4);
}

:is(body.dark-mode, html.dark-mode body) .ft-royal-badge-title {
    background: linear-gradient(135deg, var(--ft-gold-400), var(--ft-gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:is(body.dark-mode, html.dark-mode body) .ft-social-link,
:is(body.dark-mode, html.dark-mode body) .ft-social .ft-aqi-widget {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #CBD5E1;
}

:is(body.dark-mode, html.dark-mode body) .ft-section h3 {
    color: #F1F5F9;
}

:is(body.dark-mode, html.dark-mode body) .ft-links a {
    color: #CBD5E1;
}

:is(body.dark-mode, html.dark-mode body) .ft-links a:hover,
:is(body.dark-mode, html.dark-mode body) .ft-links a:focus-visible {
    color: var(--ft-blue-300);
    background: rgba(37, 99, 235, 0.1);
}

:is(body.dark-mode, html.dark-mode body) .ft-contact-card {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

:is(body.dark-mode, html.dark-mode body) .ft-contact-info strong {
    color: #F1F5F9;
}

:is(body.dark-mode, html.dark-mode body) .ft-contact-info span,
:is(body.dark-mode, html.dark-mode body) .ft-contact-info a,
:is(body.dark-mode, html.dark-mode body) .ft-hours-day {
    color: #CBD5E1;
}

:is(body.dark-mode, html.dark-mode body) .ft-contact-info a:hover {
    color: var(--ft-blue-300);
}

:is(body.dark-mode, html.dark-mode body) .ft-hours-card {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

:is(body.dark-mode, html.dark-mode body) .ft-hours-title,
:is(body.dark-mode, html.dark-mode body) .ft-hours-time {
    color: #F1F5F9;
}

:is(body.dark-mode, html.dark-mode body) .ft-bottom {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
}

:is(body.dark-mode, html.dark-mode body) .ft-copyright {
    color: #CBD5E1;
}

:is(body.dark-mode, html.dark-mode body) .ft-copyright a {
    background: linear-gradient(135deg, var(--ft-blue-300), var(--ft-sky-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:is(body.dark-mode, html.dark-mode body) .ft-bottom-links a {
    color: #CBD5E1;
}

:is(body.dark-mode, html.dark-mode body) .ft-bottom-links a:hover,
:is(body.dark-mode, html.dark-mode body) .ft-bottom-links a:focus-visible {
    color: var(--ft-blue-300);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ft-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ft-hero {
        flex-direction: column;
        text-align: center;
    }

    .ft-brand {
        flex-direction: column;
        text-align: center;
    }

    .ft-social {
        justify-content: center;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ft-grid {
        gap: 20px;
    }

    .ft-section:last-child {
        grid-column: span 2;
    }

    .ft-section:last-child .ft-contact-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ft-section:last-child .ft-hours-card {
        grid-column: span 2;
    }

    .ft-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .ft-bottom-links {
        justify-content: center;
    }

    .ft-social .ft-aqi-widget {
        height: 42px;
    }

    .ft-social .ft-aqi-title {
        display: none;
    }

    .ft-social .ft-aqi-status {
        display: none;
    }
}

@media (max-width: 640px) {
    .ft-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ft-section:last-child {
        grid-column: span 1;
    }

    .ft-section:last-child .ft-contact-cards {
        grid-template-columns: 1fr;
    }

    .ft-section:last-child .ft-hours-card {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .ft-main {
        padding: 32px 12px 24px;
    }

    .ft-hero {
        gap: 18px;
        margin-bottom: 20px;
    }

    .ft-logo {
        width: 52px;
        height: 52px;
    }

    .ft-royal-badge {
        max-width: 100%;
        padding: 7px 10px;
    }

    .ft-social {
        gap: 8px;
    }

    .ft-social .ft-aqi-widget {
        height: 40px;
        max-width: 100%;
        padding: 0 10px;
    }

    .ft-social .ft-aqi-divider,
    .ft-social .ft-aqi-stat:last-of-type {
        display: none;
    }

    .ft-bottom-links {
        gap: 8px 14px;
    }
}

@media (max-width: 360px) {
    .ft-grid {
        grid-template-columns: 1fr;
    }

    .ft-section:last-child {
        grid-column: span 1;
    }
}

@media (hover:none) {
    .ft-social-link:hover,
    .ft-social .ft-aqi-widget:hover,
    .ft-contact-card:hover,
    .ft-links a:hover {
        transform: none;
    }
}

@media print {

    .premium-footer::before,
    .ft-grid-pattern,
    .ft-logo-glow {
        display: none;
    }

    .premium-footer {
        background: white !important;
        color: #333 !important;
    }

    .ft-social,
    .ft-bottom {
        display: none !important;
    }

    .ft-section h3 {
        color: #333 !important;
    }

    .ft-links a {
        color: #555 !important;
    }
}
