:root {
    /* Premium Color Palette */
    --color-primary: #050a15;
    /* Ultra Deep Midnight Blue */
    --color-primary-light: #0f1c3a;
    /* Slightly lighter for cards */
    --color-secondary: #00EDB5;
    /* Vibrant Mint for primary actions */
    --color-accent: #FF2B6D;
    /* Neon Pink for secondary accents */
    --color-bg: #F4F7FB;
    /* Soft off-white for main bg */
    --color-surface: #FFFFFF;
    /* Pure white for foreground elements */

    /* Typography Metrics */
    --color-text: #1a1a2e;
    /* Deep text for readability */
    --color-text-light: #5f6c88;
    /* Soft slate for descriptions */
    --color-white: #FFFFFF;

    /* Functional Gradients */
    --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, #0d1e3d 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, #00c496 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Shadows & Effects */
    --shadow-soft: 0 10px 40px -10px rgba(5, 10, 21, 0.08);
    --shadow-hover: 0 20px 50px -15px rgba(5, 10, 21, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);

    --font-main: 'Outfit', sans-serif;
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.category-label {
    color: var(--color-secondary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------
   Global Typography
   ------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* ------------------------
   Premium Header & Navigation
   ------------------------ */
.global-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* When scrolled via JS */
.global-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    height: 90px;
    transition: height 0.3s ease;
}

.global-header.scrolled .header-container {
    height: 70px;
}

.logo,
.logo-white {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.logo span,
.logo-white span {
    color: var(--color-secondary);
    font-size: 32px;
}

.main-nav>ul {
    display: flex;
    gap: 45px;
}

.main-nav>ul>li {
    height: 90px;
    display: flex;
    align-items: center;
}

.global-header.scrolled .main-nav>ul>li {
    height: 70px;
}

.main-nav>ul>li>a {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-primary);
    position: relative;
    padding: 8px 0;
}

.main-nav>ul>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-fast);
}

.main-nav>ul>li:hover>a::after {
    width: 100%;
}

/* Mega Menu Enhancements */
.has-mega-menu {
    position: static !important;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 30px 60px rgba(5, 10, 21, 0.05);
    padding: 60px 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 9999;
    /* Crucial fix for homepage relative sections bleeding through */
}

.main-nav>ul>li:hover .mega-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: megaEntrance 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes megaEntrance {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-grid {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    gap: 80px;
}

.mega-col {
    flex: 1;
}

.mega-col h4 {
    color: var(--color-text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 12px;
}

.mega-col li {
    margin-bottom: 15px;
    transform: translateX(0);
    transition: var(--transition-fast);
}

.mega-col a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.mega-col a::before {
    content: '→';
    color: var(--color-secondary);
    margin-right: -15px;
    opacity: 0;
    transition: var(--transition-fast);
}

.mega-col li:hover {
    transform: translateX(5px);
}

.mega-col li:hover a::before {
    margin-right: 8px;
    opacity: 1;
}

/* ------------------------
   Premium Buttons
   ------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 4px;
    /* Slightly sharper corners for enterprise look */
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(5, 10, 21, 0.15);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    color: var(--color-primary);
    box-shadow: 0 12px 25px rgba(0, 237, 181, 0.3);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(0, 237, 181, 0.2);
}

.btn-accent:hover {
    box-shadow: 0 12px 25px rgba(0, 237, 181, 0.4);
    transform: translateY(-2px);
    background: var(--color-white);
}

/* ------------------------
   Global Footer
   ------------------------ */
.global-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 100px 50px 30px;
    position: relative;
    overflow: hidden;
}

/* Footer subtle background pattern */
.global-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 237, 181, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.logo-white {
    color: var(--color-white);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Breadcrumbs */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 90px;
    /* Offset for header height */
    position: relative;
    z-index: 10;
}

.global-header.scrolled+.breadcrumb-nav {
    margin-top: 70px;
    /* Offset for scrolled header height */
}

.breadcrumb-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
}

.breadcrumb-nav li:after {
    content: '/';
    margin-left: 15px;
    opacity: 0.3;
}

.breadcrumb-nav li:last-child:after {
    display: none;
}

.breadcrumb-nav a {
    color: var(--color-primary);
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--color-secondary);
}

.breadcrumb-nav li.active {
    color: var(--color-text-light);
    opacity: 0.7;
}

@media (max-width: 767px) {
    .breadcrumb-nav {
        margin-top: 90px;
        /* Mobile header is also fixed, needs offset */
        padding: 15px 0;
    }

    .global-header.scrolled+.breadcrumb-nav {
        margin-top: 70px;
    }
}

/* --- Hero Layout Fixes --- */
.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Desktop: link cols are direct children of footer-grid, links-grid wrapper is transparent */
.footer-links-grid {
    display: contents;
    /* acts as if it's not there — children slot into the parent grid */
}

/* Mobile-only elements: hidden on desktop */
.footer-contact-mobile {
    display: none;
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 25px;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col.branding p {
    margin-top: 20px;
    color: var(--color-text-light);
    max-width: 280px;
    font-size: 16px;
}

.footer-col li {
    margin-bottom: 16px;
}

.footer-col a {
    color: var(--color-text-light);
    font-size: 15px;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-light);
    font-size: 14px;
}

/* ------------------------
   Utility Layouts
   ------------------------ */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
}

.py-100 {
    padding: 120px 0;
}

.bg-primary {
    background: var(--color-primary);
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.bg-light {
    background: #FFFFFF;
}

/* White background section */
.bg-soft {
    background: var(--color-bg);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 20px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ------------------------
   Staggered Animations Setup
   ------------------------ */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------
   Responsive Media Queries
   ------------------------ */
@media (max-width: 1200px) {

    .mega-grid,
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }

    .container {
        padding: 0 30px;
    }

    .main-nav>ul {
        gap: 22px;
    }

    .main-nav>ul>li>a {
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Reduce hero padding */
    .hero-section {
        padding: 140px 0 80px !important;
    }

    /* 2-col grids at tablet */
    .industries-grid,
    .expertise-grid,
    .approach-grid,
    .diff-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }

    /* Section title sizing */
    .section-title h2,
    .section-header h2 {
        font-size: 38px;
    }

    /* Theme pills: keep as flex row but allow wrap */
    .trending-topics div {
        flex-wrap: wrap !important;
        flex-direction: row !important;
    }

    .theme-pill {
        width: auto !important;
        text-align: left !important;
    }
}

/* --- Tablet Only: 768px–1023px (iPad portrait) --- */
@media (min-width: 768px) and (max-width: 1023px) {

    /* Show hamburger, hide desktop nav */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 420px;
        height: 100vh;
        background: var(--color-primary);
        z-index: 2000;
        padding: 60px 40px;
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        visibility: hidden;
    }

    .main-nav.active {
        right: 0;
        visibility: visible;
        box-shadow: -20px 0 80px rgba(0, 0, 0, 0.4);
    }

    .main-nav::after {
        content: 'Contact Us';
        display: block;
        margin-top: 40px;
        color: var(--color-secondary);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        border: 2px solid var(--color-secondary);
        padding: 12px 32px;
        border-radius: 4px;
    }

    .main-nav>ul {
        flex-direction: column;
        gap: 24px;
        text-align: left;
        width: 100%;
    }

    .main-nav>ul>li {
        height: auto;
    }

    .main-nav>ul>li>a {
        color: var(--color-white);
        font-size: 22px;
        font-weight: 700;
        display: block;
    }

    .mega-menu {
        display: none !important;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 18px;
        cursor: pointer;
        z-index: 3000;
        position: relative;
        flex-shrink: 0;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        transition: var(--transition-fast);
        border-radius: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-white);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-white);
    }

    /* Tablet: 2 column grids feel spacious */
    .industries-grid,
    .expertise-grid,
    .diff-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }

    /* Hero: show image on tablet */
    .hero-image {
        display: block !important;
        max-width: 320px;
    }

    .hero-content h1 {
        font-size: 48px !important;
    }

    /* Insights: 2-col hub grid */
    .filters-bar {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 16px;
    }

    /* Newsletter: side by side on tablet */
    .newsletter-cta form,
    section form {
        flex-direction: row !important;
    }

    .newsletter-cta input[type="email"] {
        width: auto !important;
        flex: 1;
    }

    .newsletter-cta button {
        width: auto !important;
    }
}

@media (max-width: 767px) {

    /* --- Header: One clean row with logo + hamburger only --- */
    .header-container {
        padding: 0 20px;
        height: 70px;
    }

    .header-actions .btn {
        display: none;
        /* Hide Contact Us button on mobile */
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* --- Mobile Nav Overlay --- */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-primary);
        z-index: 2000;
        padding: 40px 30px;
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        visibility: hidden;
    }

    .main-nav.active {
        right: 0;
        visibility: visible;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    }

    /* Add Contact Us link inside the mobile menu */
    .main-nav::after {
        content: 'Contact Us';
        display: block;
        margin-top: 40px;
        color: var(--color-secondary);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        border: 2px solid var(--color-secondary);
        padding: 12px 40px;
        border-radius: 4px;
    }

    .main-nav>ul {
        flex-direction: column;
        gap: 28px;
        text-align: center;
        width: 100%;
    }

    .main-nav>ul>li {
        height: auto;
    }

    .main-nav>ul>li>a {
        color: var(--color-white);
        font-size: 28px;
        font-weight: 800;
        text-align: center;
        display: block;
        width: 100%;
    }

    .mega-menu {
        display: none !important;
    }

    /* --- Mobile Hamburger Toggle --- */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 18px;
        cursor: pointer;
        z-index: 3000;
        position: relative;
        flex-shrink: 0;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        transition: var(--transition-fast);
        border-radius: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-white);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-white);
    }

    /* --- Typography Scale --- */
    h1 {
        font-size: 38px !important;
    }

    h2 {
        font-size: 30px !important;
    }

    /* --- Spacing --- */
    .py-100 {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* --- Homepage Hero --- */
    .hero-section {
        padding: 120px 0 80px !important;
    }

    .hero-container {
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 40px !important;
        letter-spacing: -1.5px !important;
    }

    .hero-content p {
        font-size: 16px !important;
        margin: 0 auto !important;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        display: none;
        /* Hide the hero image on mobile for cleaner fold */
    }

    /* --- Grids: force single column --- */
    .industries-grid,
    .expertise-grid,
    .approach-grid,
    .diff-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Impact section: stack text + features */
    .impact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Reduce card padding on mobile */
    .industry-card-mini,
    .expertise-card,
    .diff-card {
        padding: 30px 24px !important;
    }

    .approach-step {
        padding: 0 !important;
    }

    /* --- Section headers --- */
    .section-header,
    .section-title {
        margin-bottom: 40px;
    }

    .section-header h2,
    .section-title h2 {
        font-size: 30px !important;
    }

    /* --- Featured case study: stack layout --- */
    .case-study-wrapper {
        flex-direction: column !important;
    }

    .case-study-content {
        padding: 30px !important;
    }

    /* --- Insights page: card meta stack --- */
    .card-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .date-tag {
        width: 100%;
    }

    .hub-card {
        padding: 28px 20px !important;
    }

    .hub-card h3 {
        font-size: 20px !important;
    }

    /* --- Theme pills: stack --- */
    .trending-topics div {
        flex-direction: column !important;
    }

    .theme-pill {
        width: 100%;
        text-align: center;
    }

    /* --- Featured insight: stack --- */
    .featured-layout {
        flex-direction: column !important;
    }

    .featured-content {
        padding: 30px !important;
    }

    .featured-image {
        min-height: 180px !important;
    }

    .featured-content h2 {
        font-size: 24px !important;
    }

    /* --- Newsletter: stack form --- */
    .newsletter-cta form,
    section form {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .newsletter-cta input[type="email"],
    .newsletter-cta button {
        width: 100% !important;
    }

    /* --- Page header hero (Insights, Services etc) --- */
    .page-header {
        padding: 60px 0 !important;
    }

    .page-header h1 {
        font-size: 36px !important;
        letter-spacing: -1px !important;
    }

    /* --- Partner Logos Strip --- */
    .alliances-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .logos {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px 20px !important;
        font-size: 16px !important;
        width: 100%;
    }

    /* --- Footer Mobile Overhaul --- */
    .global-footer {
        padding: 50px 20px 24px;
    }

    .footer-grid {
        display: block;
        /* override grid entirely on mobile */
        gap: 0;
        margin-bottom: 40px;
    }

    /* Branding block: full width, centered, separated from links */
    .footer-col.branding {
        text-align: center;
        padding-bottom: 36px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .footer-col.branding p {
        max-width: 100%;
        margin: 12px auto 0;
        font-size: 14px;
    }

    /* Contact info: displayed inline on mobile */
    .footer-contact-mobile {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 16px;
    }

    .footer-contact-mobile a {
        color: var(--color-secondary) !important;
        font-size: 14px !important;
        font-weight: 600;
    }

    /* Link columns: 2-col grid */
    .footer-links-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-top: 8px;
    }

    /* Accordion-style section headers */
    .footer-col:not(.branding) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-col:not(.branding) h4 {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        margin-bottom: 0;
        font-size: 13px;
        user-select: none;
    }

    .footer-col:not(.branding) h4::after {
        content: '+';
        font-size: 18px;
        font-weight: 300;
        color: var(--color-secondary);
        transition: transform 0.25s ease;
        line-height: 1;
    }

    .footer-col:not(.branding).open h4::after {
        content: '−';
    }

    /* Links: hidden by default, revealed on expand */
    .footer-col:not(.branding) ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .footer-col:not(.branding).open ul {
        max-height: 300px;
        padding-bottom: 16px;
    }

    .footer-col li {
        margin-bottom: 12px;
    }

    .footer-col a {
        font-size: 14px;
    }

    /* Footer bottom bar */
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 20px;
        font-size: 13px;
    }

    /* --- Breadcrumb --- */
    .breadcrumb-nav {
        margin-top: 70px;
        padding: 10px 0;
    }
}

/* --- Extra small: < 400px --- */
@media (max-width: 400px) {
    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    .logo {
        font-size: 22px;
    }

    .logo span {
        font-size: 26px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }
}