/* ==========================================================
   Buddys Infotech — Footer styles
   ========================================================== */

:root {
    --bg: #050505;
    --surface: #0f1115;
    --surface-light: #1a1d24;
    --primary: #00f0ff;
    --secondary: #7000ff;
    --accent: #ff003c;
}

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    position: relative;
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Decorative glows */
.glow {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.glow-1 {
    top: 0;
    left: 25%;
    background: rgba(0, 240, 255, 0.1);
}
.glow-2 {
    bottom: 0;
    right: 25%;
    background: rgba(112, 0, 255, 0.1);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    margin: 0 auto;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
}

@media (min-width: 640px) {
    .footer-inner { padding: 5rem 2.5rem 2.5rem; }
}
@media (min-width: 768px) {
    .footer-inner { padding-left: 4rem; padding-right: 4rem; }
}
@media (min-width: 1024px) {
    .footer-inner { padding-left: 6rem; padding-right: 6rem; }
}

/* ================= MOBILE ================= */
.footer-mobile { display: block; }

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
}
.mobile-logo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.mobile-logo img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.mobile-brand h4 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}
.mobile-brand .tagline {
    color: #6b7280;
    font-size: 12px;
    font-family: 'Space Mono', monospace;
    margin: 0.15rem 0 0;
}

.mobile-desc {
    color: #9ca3af;
    font-size: 12.5px;
    line-height: 1.7;
    font-family: 'Space Mono', monospace;
    padding: 0 0.25rem;
    margin: 0 0 1.5rem;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem 1rem;
    border-radius: 1rem;
    background: var(--primary);
    color: #000;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
    transition: transform 0.2s ease;
}
.cta-btn:active { background: rgba(255, 255, 255, 0.06); }
.cta-btn svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.list-label {
    color: #6b7280;
    font-size: 11px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 0.5rem;
    margin: 0 0 0.5rem;
}

.list-group {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.list-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}
.list-row:last-child { border-bottom: none; }
.list-row:active { background: rgba(255, 255, 255, 0.06); }

.icon-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-badge svg { width: 1rem; height: 1rem; fill: #fff; }
.icon-instagram { background: linear-gradient(to bottom right, #ec4899, #fb923c); }
.icon-facebook { background: #2563eb; }
.icon-linkedin { background: #0077b5; }

.row-label { flex: 1; color: #e5e7eb; font-size: 13.5px; }

.chevron {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    fill: none;
    stroke: #4b5563;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.copyright-mobile {
    text-align: center;
    color: #4b5563;
    font-size: 11px;
    font-family: 'Space Mono', monospace;
    padding-bottom: 0.5rem;
    margin: 0;
}

/* ================= DESKTOP ================= */
.footer-desktop { display: none; }

.desktop-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
    .desktop-top { grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 4rem; }
}

.brand-logo { max-width: 140px; margin-bottom: 1.5rem; display: block; }

.brand-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.7;
    font-family: 'Space Mono', monospace;
    margin: 0 0 1.25rem;
}

.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.social-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}
.social-icon svg { width: 1.25rem; height: 1.25rem; fill: rgba(255, 255, 255, 0.7); }
.social-icon:hover { transform: scale(1.1); }
.social-icon:hover svg { fill: #fff; }
.social-instagram:hover { background: linear-gradient(to bottom right, #ec4899, #fb923c); }
.social-facebook:hover { background: #2563eb; }
.social-linkedin:hover { background: #0077b5; }

.section-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.title-bar { width: 2.5rem; height: 2px; background: var(--primary); }
.section-title h5 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.service-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #d1d5db;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
@media (min-width: 768px) {
    .service-card { font-size: 0.875rem; }
}
.service-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.05);
    color: var(--primary);
}

.cta-band-wrap {
    position: relative;
    margin-bottom: 3.5rem;
    padding: 1px;
    border-radius: 1.5rem;
    background: linear-gradient(to right, rgba(0, 240, 255, 0.4), rgba(112, 0, 255, 0.4), rgba(255, 0, 60, 0.4));
}
.cta-band {
    border-radius: 1.5rem;
    background: rgba(9, 9, 9, 0.9);
    backdrop-filter: blur(24px);
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
}
@media (min-width: 1024px) {
    .cta-band { flex-direction: row; text-align: left; padding: 2.5rem 2rem; }
}
.cta-band h3 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
}
@media (min-width: 768px) {
    .cta-band h3 { font-size: 1.875rem; }
}
.cta-band p {
    color: #9ca3af;
    font-size: 0.875rem;
    max-width: 36rem;
    margin: 0;
}
.cta-btn-desktop {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    background: var(--primary);
    color: #000;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.35);
    transition: transform 0.3s ease;
    white-space: nowrap;
}
@media (min-width: 1024px) {
    .cta-btn-desktop { width: auto; padding: 1rem 2rem; }
}
.cta-btn-desktop:hover { transform: scale(1.05); }

.bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: center;
}
@media (min-width: 640px) {
    .bottom-bar { padding-top: 2rem; gap: 1.25rem; }
}
@media (min-width: 768px) {
    .bottom-bar { flex-direction: row; text-align: left; }
}

.copyright { display: flex; align-items: center; gap: 0.5rem; color: #9ca3af; font-size: 0.875rem; }
.copy-symbol { display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; }

.bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 11px;
    color: #6b7280;
}
@media (min-width: 640px) {
    .bottom-links { font-size: 0.875rem; }
}
@media (min-width: 768px) {
    .bottom-links { justify-content: flex-end; }
}
.bottom-links a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.bottom-links a:hover { color: var(--primary); }

/* ================= BREAKPOINT SWITCH ================= */
@media (min-width: 640px) {
    .footer-mobile { display: none; }
    .footer-desktop { display: block; }
}