/* ===== Universal site header / nav ===== */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow .3s ease, top .3s ease;
}

.site-header.scrolled {
    top: 10px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.logo-wrapper {
    background: #ffffff;
    padding: 8px 20px 20px 20px;
    border-radius: 12px;
    position: relative;
    z-index: 10;
}

.logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--intro-ink);
    text-decoration: none;
    transition: color .3s ease;
}

.logo span {
    color: var(--accent);
}

/* Scrolled color overrides no longer needed since it's always dark */

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Reduced from 30px to prevent wrapping */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Reduced slightly */
    background: none;
    border: none;
    font-family: var(--font-body);
    color: var(--intro-ink);
    text-decoration: none;
    font-size: 15px;
    /* Increased for readability */
    font-weight: 500;
    letter-spacing: .01em;
    opacity: 0.88;
    cursor: pointer;
    padding: 0;
    transition: color .3s ease, opacity .2s ease;
}

.nav-link:hover {
    opacity: 1;
}

/* Scrolled color overrides no longer needed */

.chevron {
    width: 13px;
    height: 13px;
    transition: transform .25s ease;
}

.nav-item.open .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #ffffff;
    min-width: 170px;
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    z-index: 1002;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.dropdown-menu a {
    color: var(--intro-ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background .15s ease;
}

.dropdown-menu a:hover {
    background: rgba(28, 26, 22, 0.07);
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 3px;
    font-weight: 600 !important;
    font-size: 15px !important;
    opacity: 1 !important;
    transition: background .2s ease;
}

.nav-cta:hover {
    background: var(--color-primary-hover);
}

.nav-cta.pill-btn {
    background: var(--color-secondary) !important;
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
    /* Changed from 30px to match capsule */
    font-size: 15px !important;
    margin-right: 5px;
    text-decoration: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: 4px;
    transition: color .3s ease;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

.site-header.scrolled .nav-toggle {
    color: var(--intro-ink);
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100vh;
        width: 270px;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 28px;
        gap: 6px;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right .35s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        color: var(--intro-ink);
        width: 100%;
        justify-content: space-between;
        padding: 12px 4px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(28, 26, 22, 0.03);
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        padding: 4px 4px 8px 14px;
    }

    .nav-item.open .dropdown-menu {
        display: flex;
    }

    .nav-cta {
        margin-top: 10px;
    }
}

.logo img {
    height: 50px;
    /* Adjust as needed */
    width: auto;
    display: block;
}



/* =========================================================
   FOOTER CTA & MAIN FOOTER
========================================================= */

.container {
    max-width: var(--container-max, 1300px);
    margin: 0 auto;
    padding: 0 var(--container-px, 5vw);
}

.footer-cta-section {
    position: relative;
    padding: 0 20px;
    margin-top: -40px;
    text-align: center;
    z-index: 10;
    background: var(--split-white);
}

.footer-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(circle at center, #ffffff 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
    border-radius: 20px;
}

.footer-cta-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--color-primary);
    border-radius: 20px;
    padding: 30px 50px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
    transform: translateY(50%);
    /* Perfectly centers it vertically on the bottom edge */
}

.footer-cta-content {
    position: relative;
    z-index: 2;
}

.footer-cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 28px);
    margin: 0 0 6px;
    font-weight: 600;
}

.footer-cta-section p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.primary-cta {
    background: var(--color-secondary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(235, 85, 163, 0.3);
}

.primary-cta:hover {
    background: #d4458f;
    transform: translateY(-2px);
    color: #fff;
}

.secondary-cta {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.secondary-cta:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
}

/* Main Footer */
.site-footer-modern {
    background: #111820;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    padding-top: 120px;
    /* Increased to make room for floating CTA */
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-logo img {
    max-height: 125px;
    max-width: 100%;
    margin-bottom: 20px;
    display: block;
    border-radius: 10px;

}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--color-secondary);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-info svg {
    width: 20px;
    height: 20px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-cta-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        transform: translateY(30%);
        /* Adjust translation for smaller screens if needed, or keep 50% */
    }

    .footer-cta-section p {
        margin: 0 0 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   SCROLL TO TOP BUTTON
========================================================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}