/**
 * Chronbyte Company — Footer premium (compact, organized)
 * All marketing pages including homepage.
 */

.co-site--pro .co-footer {
    background: #0f172a !important;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0;
}

.co-site--pro .co-footer__shell {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-left: clamp(16px, 3vw, 24px);
    padding-right: clamp(16px, 3vw, 24px);
}

.co-site--pro .co-footer__grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.05fr) minmax(240px, 1.35fr) minmax(180px, 0.75fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
    width: 100%;
    margin: 0;
}

/* Brand column */
.co-site--pro .co-footer__brand {
    min-width: 0;
}

.co-site--pro .co-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.co-site--pro .co-footer__mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.co-site--pro .co-footer__brand strong {
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.co-site--pro .co-footer__tagline,
.co-site--pro .co-footer__brand p {
    color: #94a3b8 !important;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0 0 14px;
    max-width: 26em;
}

.co-site--pro .co-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

.co-site--pro .co-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.co-site--pro .co-footer__social a:hover {
    background: #2563eb;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Column headings */
.co-site--pro .co-footer h4 {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b !important;
}

/* Quick links — 2-column compact grid */
.co-site--pro .co-footer__links,
.co-site--pro .co-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.co-site--pro .co-footer__links--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.25rem;
}

.co-site--pro .co-footer__links li {
    margin: 0;
}

.co-site--pro .co-footer__links a {
    display: inline-block;
    color: #e2e8f0 !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 2px 0;
    transition: color 0.2s ease;
}

.co-site--pro .co-footer__links a:hover {
    color: #fff !important;
}

/* Legal + contact stacked */
.co-site--pro .co-footer__col--meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.co-site--pro .co-footer__meta-block {
    min-width: 0;
}

.co-site--pro .co-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #e2e8f0 !important;
}

.co-site--pro .co-footer__contact li:last-child {
    margin-bottom: 0;
}

.co-site--pro .co-footer__contact i {
    color: #2563eb;
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 0.8rem;
}

.co-site--pro .co-footer__contact a {
    color: #e2e8f0 !important;
    text-decoration: none;
    word-break: break-word;
}

.co-site--pro .co-footer__contact a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Bottom bar */
.co-site--pro .co-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 1rem 0 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    margin: 0;
    font-size: 0.8125rem;
}

.co-site--pro .co-footer__bottom span {
    color: #64748b !important;
    line-height: 1.4;
}

.co-site--pro .co-footer__bottom-note {
    text-align: right;
}

/* Demo minimal footer */
.co-site--pro .co-footer--demo {
    background: #0f172a !important;
}

.co-site--pro .co-footer--demo .co-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.co-site--pro .co-footer--demo__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.co-site--pro .co-footer--demo__legal a {
    color: #94a3b8 !important;
    text-decoration: none;
    font-size: 0.8125rem;
}

.co-site--pro .co-footer--demo__legal a:hover {
    color: #fff !important;
}

/* Responsive */
@media (max-width: 900px) {
    .co-site--pro .co-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .co-site--pro .co-footer__brand {
        grid-column: 1 / -1;
    }

    .co-site--pro .co-footer__col--meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .co-site--pro .co-footer__meta-block {
        flex: 1 1 140px;
    }
}

@media (max-width: 560px) {
    .co-site--pro .co-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-top: 1.75rem;
    }

    .co-site--pro .co-footer__links--grid {
        grid-template-columns: 1fr;
    }

    .co-site--pro .co-footer__col--meta {
        flex-direction: column;
        gap: 1.25rem;
    }

    .co-site--pro .co-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .co-site--pro .co-footer__bottom-note {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .co-site--pro .co-footer__social a:hover {
        transform: none;
    }
}
