/**
 * Professional Footer Styles - JobCast
 * Single Source of Truth for Footer Design
 * 
 * Design Theme: Professional Corporate Blue with Gold Accents
 * Matches: Header navigation theme (#1e3a8a background, #fbbf24 accents)
 * 
 * Features:
 * - Responsive 4-column grid layout
 * - Professional animations and hover effects
 * - Accessibility compliant
 * - Print-friendly styles
 * - Dark mode compatible
 * 
 * @version 2.0
 * @author JobCast Development Team
 */

/* ========================================
   FOOTER DESIGN SYSTEM VARIABLES
   ======================================== */

:root {
    /* Footer Colors - Dark Theme (Matching Home Page) */
    --footer-bg-primary: #1A2539;
    --footer-bg-secondary: #2A3441;
    --footer-bg-gradient: linear-gradient(135deg, #1A2539 0%, #2A3441 100%);
    --footer-text-primary: #f8fafc;
    --footer-text-secondary: #cbd5e1;
    --footer-text-muted: #94a3b8;
    --footer-accent: #fbbf24;
    --footer-accent-hover: #f59e0b;
    --footer-accent-dark: #d97706;
    --footer-border: rgba(251, 191, 36, 0.2);
    --footer-border-light: rgba(251, 191, 36, 0.1);
    --footer-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
    --footer-link-hover-bg: rgba(251, 191, 36, 0.1);
    
    /* Footer Spacing */
    --footer-padding-top: 2.5rem;
    --footer-padding-bottom: 1.5rem;
    --footer-section-gap: 1.5rem;
    --footer-column-gap: 1.5rem;
    
    /* Footer Transitions */
    --footer-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --footer-transition-fast: all 0.15s ease-in-out;
}

/* ========================================
   MAIN FOOTER CONTAINER
   ======================================== */

.site-footer {
    background: var(--footer-bg-gradient);
    color: var(--footer-text-primary);
    padding: var(--footer-padding-top) 0 0 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Decorative Top Border with Gold Accent */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--footer-accent) 20%,
        var(--footer-accent-hover) 50%,
        var(--footer-accent) 80%,
        transparent 100%
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Subtle Pattern Overlay */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ========================================
   FOOTER CONTENT GRID
   ======================================== */

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--footer-column-gap);
    margin-bottom: 1rem;
}

/* ========================================
   FOOTER COLUMNS
   ======================================== */

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Brand Column (First Column - 2x Width) */
.footer-column.footer-brand {
    gap: 1.5rem;
}

/* ========================================
   FOOTER LOGO & BRAND
   ======================================== */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--footer-transition);
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--footer-text-primary);
    letter-spacing: -0.02em;
    transition: var(--footer-transition);
}

.footer-logo a:hover .footer-logo-text {
    color: var(--footer-accent);
    transform: scale(1.03);
}

.footer-logo img {
    height: 48px;
    filter: brightness(0) invert(1);
    transition: var(--footer-transition);
}

.footer-logo a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
    transform: scale(1.05);
}

/* Footer Description */
.footer-description {
    color: var(--footer-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 320px;
}

/* ========================================
   FOOTER SECTION HEADINGS
   ======================================== */

.footer-column h3 {
    color: var(--footer-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

/* Gold Underline Effect */
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--footer-accent) 0%, var(--footer-accent-hover) 100%);
    border-radius: 2px;
    transition: var(--footer-transition);
}

.footer-column:hover h3::after {
    width: 70px;
}

/* ========================================
   FOOTER NAVIGATION LISTS
   ======================================== */

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--footer-text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: var(--footer-transition);
    border-radius: 4px;
    position: relative;
    font-size: 0.95rem;
}

.footer-nav a i {
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
    color: var(--footer-accent);
    opacity: 0.8;
    transition: var(--footer-transition);
}

.footer-nav a:hover {
    color: var(--footer-accent);
    transform: translateX(6px);
    padding-left: 0.5rem;
    background: var(--footer-link-hover-bg);
}

.footer-nav a:hover i {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
}

/* Active Link State */
.footer-nav a.active {
    color: var(--footer-accent);
    font-weight: 600;
}

/* ========================================
   CONTACT INFORMATION
   ======================================== */

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: var(--footer-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--footer-accent);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    transition: var(--footer-transition);
}

.footer-contact li:hover i {
    transform: scale(1.15);
    color: var(--footer-accent-hover);
}

.footer-contact a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: var(--footer-transition);
}

.footer-contact a:hover {
    color: var(--footer-accent);
    text-decoration: underline;
}

/* ========================================
   SOCIAL MEDIA LINKS
   ======================================== */

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--footer-border);
    border-radius: 50%;
    color: var(--footer-text-primary);
    text-decoration: none;
    transition: var(--footer-transition);
    position: relative;
    overflow: hidden;
}

/* Shine Effect */
.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: var(--footer-transition);
}

.footer-social-link:hover::before {
    left: 100%;
}

.footer-social-link i {
    font-size: 1.125rem;
    transition: var(--footer-transition);
    position: relative;
    z-index: 1;
}

/* Individual Social Media Brand Colors */
.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: currentColor;
}

.footer-social-link.facebook:hover {
    background: #1877f2;
    color: #ffffff;
}

.footer-social-link.twitter:hover {
    background: #1da1f2;
    color: #ffffff;
}

.footer-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.footer-social-link.youtube:hover {
    background: #ff0000;
    color: #ffffff;
}

.footer-social-link.whatsapp:hover {
    background: #25d366;
    color: #ffffff;
}

.footer-social-link.linkedin:hover {
    background: #0077b5;
    color: #ffffff;
}

.footer-social-link:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   FOOTER CONTACT ROW
   ======================================== */

.footer-contact-row {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--footer-border-light);
    padding: 1rem 0;
    margin-top: 1rem;
}

.footer-contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: var(--footer-text-secondary);
    font-size: 0.9rem;
    transition: var(--footer-transition);
}

.contact-item i {
    color: var(--footer-accent);
    font-size: 1rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item span,
.contact-item a {
    display: inline-block;
    text-align: left;
}

.contact-item a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: var(--footer-transition);
}

.contact-item a:hover {
    color: #3b82f6;
}

.contact-item:hover span {
    color: #3b82f6;
}

.contact-item:hover {
    color: var(--footer-text-primary);
}

/* ========================================
   FOOTER BOTTOM BAR
   ======================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: var(--footer-text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-copyright strong {
    color: var(--footer-accent);
    font-weight: 600;
}

/* Legal Links */
.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--footer-transition);
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: var(--footer-transition);
}

.footer-legal a:hover {
    color: var(--footer-accent);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--footer-accent);
    color: var(--footer-bg-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--footer-transition);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--footer-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.scroll-to-top i {
    font-size: 1.25rem;
    transition: var(--footer-transition);
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Floating Action Buttons Container */
.floating-action-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
    pointer-events: none;
}

.floating-action-buttons > * {
    pointer-events: auto;
}

.floating-action-buttons .scroll-to-top {
    position: relative;
    bottom: auto;
    right: auto;
}

/* Feedback Button (now Back to Top) */
.feedback-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 50px;
    height: 50px;
    padding: 0;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--footer-transition);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(6px);
    position: relative;
}

.feedback-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.feedback-button i {
    font-size: 1.25rem;
    transition: var(--footer-transition);
}

.feedback-button:hover,
.feedback-button:focus-visible {
    background: var(--footer-accent);
    color: var(--footer-bg-primary);
    border-color: transparent;
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.35);
}

.feedback-button:hover i {
    transform: translateY(-2px);
}

.feedback-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.45);
}

/* Feedback Modal */
.feedback-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.feedback-modal.open {
    opacity: 1;
    visibility: visible;
}

.feedback-modal__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.feedback-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 0;
    width: min(520px, 90vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    animation: feedbackModalSlide 0.35s ease forwards;
}

@keyframes feedbackModalSlide {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feedback-modal__header {
    position: sticky;
    top: 0;
    z-index: 10;
    margin: 0;
    padding: 2rem 2rem 1.5rem;
    border-radius: 1rem 1rem 0 0;
    background: #ffffff;
    background-color: #ffffff !important;
    border: none;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    text-align: center;
    flex-shrink: 0;
}

.feedback-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--footer-accent, #fbbf24);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.feedback-modal__header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: #111827;
    text-align: center;
}

.feedback-modal__header p {
    margin: 0.35rem 0 0;
    color: #4b5563;
    line-height: 1.5;
    text-align: center;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.feedback-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feedback-field label {
    font-weight: 600;
    color: #111827;
}

.feedback-field--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feedback-input {
    width: 100%;
    border-radius: 0.65rem;
    border: 1px solid rgba(17, 24, 39, 0.12);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: rgba(249, 250, 251, 0.8);
}

.feedback-input:focus {
    border-color: var(--footer-accent, #fbbf24);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
    outline: none;
    background: #fff;
}

.feedback-input.has-error,
.feedback-input[aria-invalid="true"] {
    border-color: #dc2626;
    background: rgba(254, 226, 226, 0.6);
}

.feedback-error {
    color: #dc2626;
    font-size: 0.85rem;
    min-height: 1.2em;
}

.feedback-field--hidden {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.feedback-status {
    font-size: 0.9rem;
    min-height: 1.3em;
    border-radius: 0.65rem;
    padding: 0.4rem 0.75rem;
    background: rgba(15, 23, 42, 0.03);
    color: #111827;
}

.feedback-status--success {
    color: #065f46;
    background: rgba(16, 185, 129, 0.18);
}

.feedback-status--error {
    color: #b91c1c;
    background: rgba(248, 113, 113, 0.18);
}

.feedback-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: var(--footer-accent, #fbbf24);
    color: #1f2937;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.feedback-submit:hover,
.feedback-submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
    outline: none;
}

.feedback-submit.is-loading {
    cursor: progress;
    opacity: 0.85;
}

.feedback-submit__progress {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid rgba(31, 41, 55, 0.2);
    border-top-color: rgba(31, 41, 55, 0.8);
    animation: feedbackSpinner 0.75s linear infinite;
    display: none;
}

.feedback-submit.is-loading .feedback-submit__progress {
    display: inline-flex;
}

@keyframes feedbackSpinner {
    to {
        transform: rotate(360deg);
    }
}

.feedback-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

.feedback-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.2);
    background: transparent;
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-close-btn:hover,
.feedback-close-btn:focus-visible {
    background: rgba(17, 24, 39, 0.05);
    border-color: rgba(17, 24, 39, 0.3);
    outline: none;
    transform: translateY(-1px);
}

.feedback-close-btn:active {
    transform: translateY(0);
}

.feedback-disclaimer {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

body.feedback-modal-open {
    overflow: hidden;
}

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

/* Contact Row Responsive */
@media (max-width: 768px) {
    .footer-contact-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-item span,
    .contact-item a {
        text-align: center;
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-contact-content {
        gap: 0.75rem;
        padding: 0 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .contact-item {
        font-size: 0.85rem;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-item span,
    .contact-item a {
        text-align: center;
        display: block;
        width: 100%;
    }
}

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-column.footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile: Below 768px */
@media (max-width: 767px) {
    .site-footer {
        padding: 2rem 0 0 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .footer-column.footer-brand {
        grid-column: 1;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h3 {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .footer-contact li {
        text-align: left;
        max-width: 280px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1.5rem;
        align-items: center;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    .footer-legal a {
        text-align: center;
    }
    
    .footer-contact-content {
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-item span,
    .contact-item a {
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .floating-action-buttons {
        right: 1.25rem;
        bottom: 1.5rem;
        gap: 0.5rem;
    }

    .feedback-button {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

/* Small Mobile: Below 480px */
@media (max-width: 479px) {
    .footer-logo-text {
        font-size: 1.75rem;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .footer-legal a {
        text-align: center;
    }
    
    .footer-contact-content {
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-item span,
    .contact-item a {
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }

    .floating-action-buttons {
        right: 1rem;
        bottom: 1rem;
    }

    .feedback-modal__dialog {
        padding: 0;
    }

    .feedback-modal__header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .feedback-form {
        padding: 1.25rem;
    }

    .feedback-field--split {
        grid-template-columns: 1fr;
    }

    .feedback-actions {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .feedback-close-btn,
    .feedback-submit {
        width: 100%;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .site-footer {
        background: #ffffff;
        color: #000000;
        page-break-inside: avoid;
    }
    
    .site-footer::before,
    .site-footer::after {
        display: none;
    }
    
    .footer-social,
    .scroll-to-top {
        display: none;
    }
    
    .footer-nav a,
    .footer-legal a {
        color: #000000;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus Visible States */
.footer-nav a:focus-visible,
.footer-social-link:focus-visible,
.footer-legal a:focus-visible,
.scroll-to-top:focus-visible {
    outline: 3px solid var(--footer-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-to-top {
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .site-footer {
        border-top: 3px solid currentColor;
    }
    
    .footer-nav a,
    .footer-social-link,
    .footer-legal a {
        border: 1px solid currentColor;
    }
}

