/* ============================================================
   BCNLIP Header
   ============================================================ */
.bcnlip-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header, 50);
    background: #fff;
    border-bottom: 1px solid var(--stone-100);
    transition: box-shadow 0.3s ease;
}

.bcnlip-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.bcnlip-header__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bcnlip-header__inner { height: 5rem; }
}

/* Logo */
.bcnlip-header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

.bcnlip-header__logo img {
    height: 3rem;
    width: auto;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .bcnlip-header__logo img { height: 3.5rem; }
}

.bcnlip-header__logo-text {
    display: none;
    flex-direction: column;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .bcnlip-header__logo-text { display: flex; }
}

.bcnlip-header__logo-name {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--stone-900);
    letter-spacing: -0.02em;
}

.bcnlip-header__logo-tagline {
    font-size: 0.625rem;
    color: var(--stone-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Nav */
.bcnlip-header__nav {
    display: none;
}

@media (min-width: 768px) {
    .bcnlip-header__nav {
        display: flex;
        align-items: center;
        flex: 1;
    }
}

.bcnlip-nav__menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bcnlip-nav__menu a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-600);
    transition: color 0.2s;
}

.bcnlip-nav__menu a:hover,
.bcnlip-nav__menu .current-menu-item > a {
    color: var(--stone-900);
}

/* CTA */
.bcnlip-header__actions {
    display: none;
}

@media (min-width: 768px) {
    .bcnlip-header__actions { display: block; }
}

.bcnlip-header__cta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.625rem 1.25rem;
    background: var(--bcnlip-yellow);
    color: var(--stone-900);
    text-decoration: none;
    transition: background 0.2s;
}

.bcnlip-header__cta:hover {
    background: #d4a020;
}

/* Mobile Toggle */
.bcnlip-header__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem;
}

@media (min-width: 768px) {
    .bcnlip-header__toggle { display: none; }
}

.bcnlip-header__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--stone-900);
    transition: transform 0.3s, opacity 0.3s;
}

.bcnlip-header__toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.bcnlip-header__toggle.is-active span:nth-child(2) { opacity: 0; }
.bcnlip-header__toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.bcnlip-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--stone-100);
    padding: 1.5rem 1rem;
}

.bcnlip-mobile-menu.is-open {
    display: flex;
}

.bcnlip-mobile-menu__list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.bcnlip-mobile-menu__list li {
    border-bottom: 1px solid var(--stone-100);
}

.bcnlip-mobile-menu__list a {
    display: block;
    padding: 0.875rem 0;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--stone-700);
}

/* Page offset for fixed header */
#page-content {
    padding-top: 4rem;
}

@media (min-width: 768px) {
    #page-content { padding-top: 5rem; }
}

/* ============================================================
   BCNLIP Footer
   ============================================================ */
.bcnlip-footer {
    background-color: var(--bcnlip-teal);
    color: #fff;
}

.bcnlip-footer__inner {
    padding-block: 4rem;
}

.bcnlip-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .bcnlip-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bcnlip-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
    }
}

/* Brand column */
.bcnlip-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.bcnlip-footer__logo img {
    height: 2.5rem;
    width: auto;
    border-radius: 0.5rem;
}

.bcnlip-footer__logo-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.125rem;
}

.bcnlip-footer__logo-name {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
}

.bcnlip-footer__logo-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

.bcnlip-footer__desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.bcnlip-footer__social {
    display: flex;
    gap: 0.75rem;
}

.bcnlip-footer__social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.bcnlip-footer__social-link:hover {
    background: var(--bcnlip-yellow);
    color: var(--stone-900);
}

/* Column title */
.bcnlip-footer__col-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

/* Links */
.bcnlip-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.bcnlip-footer__links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.bcnlip-footer__links a:hover {
    color: var(--bcnlip-yellow);
}

/* Contact */
.bcnlip-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bcnlip-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.bcnlip-footer__contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.bcnlip-footer__contact a:hover {
    color: var(--bcnlip-yellow);
}

.bcnlip-footer__contact-icon {
    flex-shrink: 0;
}

/* Bottom bar */
.bcnlip-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .bcnlip-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.bcnlip-footer__copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.8125rem;
}

.bcnlip-footer__legal {
    display: flex;
    gap: 1.5rem;
}

.bcnlip-footer__legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.2s;
}

.bcnlip-footer__legal a:hover {
    color: rgba(255,255,255,0.9);
}
