/* ============================================================
   THE HUSTLE BEAR — Responsive Stylesheet (Premium Mobile Focus)
   Breakpoints: 320px, 375px, 480px, 768px, 992px, 1200px, 1440px
   ============================================================ */

/* ============ STICKY MOBILE ACTIONS & FLOATING BUTTONS ============ */
.floating-actions {
    position: fixed;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)); /* Elevated to avoid bottom UI */
    right: 16px; /* Exactly 16px screen edge margin */
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999; /* Ensure it stays above everything */
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.btn-float {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform var(--transition-spring), background var(--transition-base);
}


/* ============ MOBILE PRICING SUMMARY ============ */
@media (max-width: 768px) {
    .pricing.section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .pricing-marquee {
        overflow: hidden;
        margin: 0 -1px;
    }

    .pricing-track {
        gap: 8px;
    }

    .pricing-track .pricing-card {
        flex: 0 0 min(230px, calc(100vw - 56px));
        width: min(230px, calc(100vw - 56px));
        min-height: 160px;
        height: 160px;
        padding: 17px 14px 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--bg-secondary);
        box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }

    .pricing-track .pricing-card:hover {
        transform: translateY(-2px);
        border-color: var(--secondary);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34), 0 0 14px rgba(109, 40, 217, 0.16);
    }

    .pricing-track .pricing-popular {
        border: 1px solid var(--secondary);
        background: var(--bg-secondary);
        box-shadow: 0 8px 20px rgba(109, 40, 217, 0.16);
    }

    .pricing-track .pricing-badge,
    .pricing-track .pricing-desc,
    .pricing-track .pricing-features {
        display: none;
    }

    .pricing-track .pricing-header {
        text-align: left;
    }

    .pricing-track .pricing-name {
        margin: 0 0 14px;
        color: var(--text-primary);
        font-size: 16px;
        line-height: 1.2;
    }

    .pricing-track .pricing-amount {
        display: flex;
        align-items: baseline;
        gap: 2px;
        margin: 0;
    }

    .pricing-track .pricing-currency,
    .pricing-track .pricing-price,
    .pricing-track .pricing-period {
        color: var(--secondary);
    }

    .pricing-track .pricing-currency {
        font-size: 16px;
        font-weight: 700;
    }

    .pricing-track .pricing-price {
        font-size: 25px;
        font-weight: 800;
        line-height: 1;
    }

    .pricing-track .pricing-period {
        color: var(--text-secondary);
        font-size: 10px;
    }

    .pricing-track .pricing-cta {
        width: 100%;
        min-height: 40px;
        height: 40px;
        padding: 8px 12px !important;
        justify-content: space-between;
        border-radius: 8px !important;
        font-size: 11px !important;
    }

    .pricing-track .pricing-cta::after {
        content: ' →';
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .pricing-track .pricing-card {
        flex-basis: min(214px, calc(100vw - 52px));
        width: min(214px, calc(100vw - 52px));
        height: 154px;
        min-height: 154px;
        padding: 15px 12px 12px;
    }

    .pricing-track .pricing-name {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .pricing-track .pricing-price {
        font-size: 23px;
    }
}

/* ============ STABLE MOBILE HEADER ============ */
@media (max-width: 768px) {
    .header,
    .header.scrolled {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: var(--header-height) !important;
        min-height: var(--header-height) !important;
        max-height: var(--header-height) !important;
        z-index: 9999 !important;
        transform: none !important;
        transition: none !important;
    }

    .header .container,
    .header .navbar {
        height: var(--header-height) !important;
        min-height: var(--header-height) !important;
        max-height: var(--header-height) !important;
    }

    main {
        padding-top: 56px;
    }

    .hero {
        padding-top: 18px !important;
    }

    .mobile-menu {
        top: 56px !important;
        height: calc(100dvh - 56px) !important;
        max-height: calc(100dvh - 56px) !important;
        z-index: 9998 !important;
    }

    .mobile-menu-overlay {
        top: 56px;
        z-index: 9997;
    }
}

/* ============ MOBILE HEADER, DRAWER & PRICING RECOVERY ============ */
@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + 18px) !important;
    }

    .mobile-menu {
        top: 0;
        right: 0;
        left: auto;
        width: 70% !important;
        max-width: 300px;
        height: 100dvh;
        transform: translateX(100%);
        padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        background: var(--bg-primary);
        box-shadow: -14px 0 35px rgba(0, 0, 0, 0.42);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
        transform: translateX(0);
    }

    .mobile-menu-overlay {
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-nav-links {
        width: 100%;
        align-items: stretch;
        gap: 3px;
        margin: 0;
    }

    .mobile-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 10px 12px;
        font-size: 14px;
        text-align: left;
    }

    .mobile-cta {
        width: 100%;
        max-width: none;
        min-height: 44px;
        margin-top: 14px;
    }

    .pricing-track .pricing-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .pricing-track .pricing-price,
    .pricing-track .pricing-amount {
        cursor: pointer;
    }
}

/* ============ FINAL MOBILE CONTROLS & MARQUEE ============ */
@media (max-width: 768px) {
    .header,
    .header.scrolled {
        display: block !important;
        height: 56px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header .container,
    .navbar {
        height: 56px;
    }

    .navbar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .navbar > .logo {
        display: flex !important;
        align-items: center;
        min-width: 0;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar > .logo .logo-bear {
        display: block !important;
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
    }

    .navbar > .logo .logo-text {
        display: block !important;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: var(--text-primary) !important;
        font-size: 13px !important;
    }

    .navbar > .nav-cta {
        display: none !important;
    }

    .navbar > .hamburger {
        display: flex !important;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: rgba(11, 10, 24, 0.72);
    }

    .navbar > .hamburger .hamburger-line {
        display: block !important;
        width: 20px;
        height: 2px;
        background: var(--violet) !important;
    }

    .pricing-track {
        width: max-content;
        display: flex !important;
        flex-wrap: nowrap !important;
        animation: pricingMarquee 28s linear infinite !important;
        animation-play-state: running !important;
    }

    .pricing-marquee {
        overflow: hidden !important;
    }
}

/* ============ MOBILE CONTROLS & PRICING RECOVERY ============ */
@media (max-width: 768px) {
    .header,
    .header.scrolled {
        display: block !important;
        height: 56px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header .container,
    .navbar {
        height: 56px;
    }

    .navbar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .navbar > .logo {
        display: flex !important;
        align-items: center;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: 0;
    }

    .navbar > .logo .logo-bear {
        display: block !important;
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
    }

    .navbar > .logo .logo-text {
        display: block !important;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: var(--text-primary) !important;
        font-size: 13px !important;
    }

    .navbar > .nav-cta {
        display: none !important;
    }

    .navbar > .hamburger {
        display: flex !important;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: rgba(11, 10, 24, 0.72);
    }

    .navbar > .hamburger .hamburger-line {
        display: block !important;
        width: 20px;
        height: 2px;
        background: var(--violet) !important;
    }

    .pricing-track {
        width: max-content;
        display: flex !important;
        flex-wrap: nowrap !important;
        animation: pricingMarquee 28s linear infinite !important;
        animation-play-state: running !important;
    }

    .pricing-marquee {
        overflow: hidden !important;
    }
}

/* ============ FINAL MOBILE COMPACTNESS ============ */
@media (max-width: 768px) {
    html {
        scroll-padding-top: calc(var(--header-height) + 10px);
    }

    section[id],
    footer[id] {
        scroll-margin-top: calc(var(--header-height) + 10px);
    }

    .header,
    .header.scrolled,
    .navbar {
        height: 56px;
    }

    .logo {
        gap: 5px;
        min-width: 0;
    }

    .logo-bear {
        width: 25px;
        height: 25px;
    }

    .logo-text {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
        letter-spacing: 0;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .hero {
        padding-top: 68px;
        padding-bottom: 16px;
    }

    .hero-content {
        gap: 12px;
    }

    .hero-description {
        margin-bottom: 0;
    }

    .hero-stats {
        margin-top: 0;
    }

    .hero-right {
        margin-top: 0;
    }

    .services.section,
    .why-us.section,
    .process.section,
    .testimonials.section,
    .pricing.section,
    .faq.section {
        padding-top: 24px !important;
        padding-bottom: 26px !important;
    }

    .services .section-header,
    .why-us .section-header,
    .process .section-header,
    .testimonials .section-header,
    .pricing .section-header,
    .faq .section-header {
        margin-bottom: 14px !important;
    }

    .why-us-intro {
        margin-bottom: 10px;
    }

    .process-timeline {
        gap: 6px;
    }

    .pricing.section {
        padding-bottom: 24px !important;
    }

    .faq-container {
        gap: 6px;
    }

    .footer-top {
        padding-top: 20px;
    }

    .footer-col {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .mobile-nav-link.active {
        color: var(--highlight);
        background: rgba(139, 92, 246, 0.1);
    }
}

/* ============ FINAL MOBILE PRICING OVERRIDE ============ */
@media (max-width: 768px) {
    .pricing-marquee {
        overflow: hidden;
    }

    .pricing-track .pricing-card {
        flex: 0 0 min(230px, calc(100vw - 56px));
        width: min(230px, calc(100vw - 56px));
        height: 160px;
        min-height: 160px;
        max-height: 180px;
        padding: 17px 14px 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }

    .pricing-track .pricing-badge,
    .pricing-track .pricing-desc,
    .pricing-track .pricing-features {
        display: none !important;
    }

    .pricing-track .pricing-header {
        text-align: left;
    }

    .pricing-track .pricing-name {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 1.2;
    }

    .pricing-track .pricing-amount {
        margin: 0;
        display: flex;
        align-items: baseline;
        gap: 2px;
    }

    .pricing-track .pricing-price {
        font-size: 25px;
        line-height: 1;
    }

    .pricing-track .pricing-period {
        font-size: 10px;
        color: var(--text-secondary);
    }

    .pricing-track .pricing-cta {
        width: 100%;
        height: 40px;
        min-height: 40px;
        padding: 8px 12px !important;
        justify-content: space-between;
        font-size: 11px !important;
    }

    .pricing-track .pricing-cta::after {
        content: ' →';
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .pricing-track .pricing-card {
        flex-basis: min(214px, calc(100vw - 52px));
        width: min(214px, calc(100vw - 52px));
        height: 154px;
        min-height: 154px;
        padding: 15px 12px 12px;
    }

    .pricing-track .pricing-name {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .pricing-track .pricing-price {
        font-size: 23px;
    }
}
.btn-float:active {
    transform: scale(0.9);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-phone {
    background-color: var(--secondary);
}

/* Sticky Bottom Bar for Mobile Quote CTA */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px 20px;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.8);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.sticky-bottom-bar.visible {
    transform: translateY(0);
}

.sticky-bottom-bar .btn {
    width: 100%;
    height: 50px;
    min-height: 50px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* Hide hero mobile logo on desktop */
.hero-mobile-logo {
    display: none;
}

/* ============ ULTRA-LARGE SCREENS (≥ 1440px) ============ */
@media (min-width: 1440px) {
    .container {
        max-width: 1360px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    :root {
        --fs-5xl: 4.5rem;
        --fs-4xl: 3.5rem;
        --fs-3xl: 3rem;
    }
}

/* ============ DESKTOP (≤ 1200px) ============ */
@media (max-width: 1280px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 1200px) {
    :root {
        --fs-5xl: 3rem;
        --fs-4xl: 2.5rem;
        --fs-3xl: 2rem;
    }

    .container {
        padding: 0 var(--space-xl);
    }

    .hero-content {
        gap: var(--space-3xl);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
        row-gap: var(--space-2xl);
    }

    .process-line {
        display: none;
    }
}

/* ============ LAPTOP / LANDSCAPE TABLETS (≤ 992px) ============ */
@media (max-width: 992px) {
    :root {
        --fs-5xl: 2.5rem;
        --fs-4xl: 2.25rem;
        --space-5xl: 6rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-right {
        margin-top: var(--space-xl);
        padding-top: 0;
    }

    .hero-illustration {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-enquiry {
        max-width: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-us-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .why-us-reasons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-us-illustration {
        display: none;
    }

    .why-us-svg {
        max-width: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .contact-info {
        order: 2;
    }
}

/* ============ PREMIUM PORTRAIT TABLETS & SMARTPHONES (≤ 768px) ============ */
@media (max-width: 768px) {
    :root {
        /* Premium Dark Theme overrides with Futuristic Palette */
        --bg-primary: #05030D;
        --bg-secondary: #0B0A18;
        --purple: #6D28D9;
        --violet: #8B5CF6;
        --magenta: #D946EF;
        --cyan: #22D3EE;
        --orange: #F97316;
        --lime: #84CC16;
        --white: #F8FAFC;
        --gray: #A1A1AA;
        --border-color: #272044;

        --primary: var(--white);
        --secondary: var(--violet);
        --accent: var(--magenta);
        --background: var(--bg-primary);
        --medium-text: var(--gray);
        --light-text: rgba(161, 161, 170, 0.6);
        --card-bg: var(--bg-secondary);
        --card-border: var(--border-color);
        --card-border-hover: var(--violet);
        
        --header-height: 60px;
    }

    /* Global Mobile Layout & Spacing */
    body {
        background-color: var(--bg-primary);
        color: var(--white);
        font-size: 14px;
        line-height: 1.6;
        overscroll-behavior-x: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* Padding to clear sticky CTA */
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .section {
        padding: 36px 0;
        overflow: hidden;
    }

    .section-header {
        margin-bottom: 24px !important;
        text-align: center;
        padding: 0 8px;
    }

    .section-tag {
        display: inline-block;
        padding: 4px 12px;
        background: rgba(139, 92, 246, 0.1);
        color: var(--violet);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        border-radius: 9999px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: clamp(22px, 6vw, 26px) !important;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.5px;
        color: var(--white);
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 13.5px !important;
        line-height: 1.6;
        color: var(--gray);
        max-width: 100%;
        margin: 0 auto;
    }

    /* Buttons Style */
    .btn {
        width: 100%;
        min-height: 48px;
        padding: 12px 24px;
        font-size: 14px !important;
        font-weight: 600;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s ease, border-color 0.16s ease;
    }

    .btn:active {
        transform: scale(0.96);
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--purple), var(--magenta));
        color: var(--white);
        border: none;
        box-shadow: 0 4px 18px rgba(109, 40, 217, 0.3);
    }

    .btn-primary:active {
        box-shadow: 0 2px 8px rgba(109, 40, 217, 0.2);
    }

    .btn-outline {
        background: transparent;
        color: var(--white);
        border: 1.5px solid var(--border-color);
    }

    .btn-outline:active {
        border-color: var(--violet);
        box-shadow: 0 0 14px rgba(139, 92, 246, 0.15);
    }

    /* Sticky Header & Menu */
    .header,
    .header.scrolled {
        height: var(--header-height);
        background: rgba(5, 3, 13, 0.85) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border-color);
    }

    .navbar {
        height: var(--header-height);
        padding: 0;
    }

    .logo {
        gap: 6px;
    }

    .logo-bear {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 15px;
        font-weight: 800;
    }

    .hamburger {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: rgba(11, 10, 24, 0.6);
        padding: 0;
    }

    .hamburger-line {
        background: var(--violet);
        width: 20px;
        height: 2px;
    }

    /* Full screen mobile navigation menu */
    .mobile-menu {
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        border-radius: 0;
        background: rgba(5, 3, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 32px 24px;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-nav-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 0;
        margin-bottom: 24px;
    }

    .mobile-nav-link {
        font-size: 20px;
        font-weight: 700;
        color: var(--white);
        padding: 10px 24px;
        text-align: center;
        transition: color 0.25s ease, transform 0.25s ease;
        border-radius: 8px;
    }

    .mobile-nav-link:active {
        color: var(--magenta);
        transform: scale(1.06);
    }

    .mobile-cta {
        width: 100%;
        max-width: 280px;
        margin-top: 16px;
    }

    /* Hero Section Mobile styling */
    .hero {
        min-height: 0;
        display: block;
        padding-top: calc(var(--header-height) + 16px);
        padding-bottom: 24px;
        background: radial-gradient(circle at 50% 10%, rgba(109, 40, 217, 0.1) 0%, rgba(34, 211, 238, 0.04) 40%, transparent 70%);
    }

    .hero-bg .floating-shape,
    .hero-bg .hero-grid-pattern,
    .scroll-indicator,
    .hero-mobile-logo {
        display: none !important;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .hero-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        background: rgba(139, 92, 246, 0.08);
        border: 1px solid rgba(139, 92, 246, 0.16);
        border-radius: 9999px;
        font-size: 11px;
        margin-bottom: 12px;
        align-self: center;
    }

    .hero-badge::after {
        display: none;
    }

    .hero-title {
        font-size: clamp(21px, 6.2vw, 28px) !important;
        line-height: 1.18;
        font-weight: 800;
        letter-spacing: -0.5px;
        text-align: center;
        margin-bottom: 12px;
        max-width: 100%;
    }

    .hero-description {
        font-size: 14.5px !important;
        line-height: 1.6;
        color: var(--gray);
        text-align: center;
        margin: 0 auto 0;
        max-width: 44ch;
    }

    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Hero stats row into 2x2 grid */
    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        border: none;
        margin-bottom: 16px;
    }

    .hero-stat-divider {
        display: none !important;
    }

    .hero-stat {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 12px 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .hero-stat:active {
        transform: scale(0.96);
        border-color: var(--violet);
    }

    .hero-stat-number {
        font-size: 20px;
        font-weight: 800;
        line-height: 1.1;
    }

    /* Map colors directly to stat titles to make them colorful & premium */
    .hero-stat:nth-child(1) .hero-stat-number { color: var(--violet); }
    .hero-stat:nth-child(3) .hero-stat-number { color: var(--cyan); }
    .hero-stat:nth-child(5) .hero-stat-number { color: var(--orange); }
    .hero-stat:nth-child(7) .hero-stat-number { color: var(--lime); }

    .hero-stat-plus {
        font-size: 16px;
        font-weight: 800;
        color: inherit;
    }

    .hero-stat-label {
        font-size: 11px;
        font-weight: 500;
        color: var(--gray);
        margin-top: 3px;
        text-transform: none;
        letter-spacing: 0;
    }

    /* Booking Form Restoration & Styling */
    .hero-right {
        width: 100%;
        margin-top: 8px;
        display: flex;
        justify-content: center;
    }

    .hero-illustration {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    .hero-enquiry {
        width: 100%;
        padding: 18px;
        border-radius: 14px;
        border: 1px solid var(--border-color);
        background: linear-gradient(145deg, #0b0a18, #05030d);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .hero-enquiry::before {
        display: none; /* Hide watermark on mobile to keep form legible */
    }

    .demo-form-intro {
        text-align: center;
        margin-bottom: 14px;
    }

    .demo-form-intro h2 {
        font-size: 18px;
        font-weight: 700;
    }

    .demo-form-intro p {
        font-size: 12.5px;
        color: var(--gray);
    }

    .demo-service-picker {
        border-color: var(--border-color);
        background: rgba(11, 10, 24, 0.5);
        padding: 8px 10px;
        margin-bottom: 12px;
    }

    .demo-service-picker-label {
        font-size: 9.5px;
        color: var(--violet);
    }

    .demo-service-options {
        gap: 6px;
    }

    .demo-service-chip {
        padding: 4px 10px;
        font-size: 10px;
        background: rgba(5, 3, 13, 0.7);
        border: 1px solid var(--border-color);
    }

    .demo-service-chip.is-selected {
        background: linear-gradient(135deg, var(--purple), var(--magenta));
        border-color: var(--magenta);
        color: var(--white);
    }

    .demo-type-group {
        margin-bottom: 12px;
    }

    .demo-type-group legend {
        font-size: 11.5px;
        color: var(--white);
        margin-bottom: 6px;
    }

    .demo-type-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .demo-type-option {
        padding: 8px 12px;
        border-color: var(--border-color);
        background: rgba(11, 10, 24, 0.4);
        border-radius: 8px;
    }

    .demo-type-option:has(input:checked) {
        border-color: var(--violet);
        background: rgba(139, 92, 246, 0.08);
    }

    .demo-type-option strong {
        font-size: 11.5px;
    }

    .demo-type-option small {
        font-size: 9.5px;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero-enquiry .form-group {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: left;
    }

    .hero-enquiry .form-group label {
        font-size: 11.5px;
        font-weight: 500;
        color: var(--white);
    }

    .hero-enquiry .form-group input,
    .hero-enquiry .form-group select,
    .hero-enquiry .form-group textarea {
        min-height: 48px;
        height: 48px;
        padding: 10px 14px;
        font-size: 13.5px;
        background-color: var(--bg-secondary);
        border: 1.5px solid var(--border-color);
        border-radius: 10px;
        color: var(--white);
        width: 100%;
        box-sizing: border-box;
    }

    .hero-enquiry .form-group input:focus,
    .hero-enquiry .form-group select:focus,
    .hero-enquiry .form-group textarea:focus {
        border-color: var(--violet);
        box-shadow: 0 0 8px rgba(139, 92, 246, 0.2);
        background-color: #0d0b1a;
    }

    .hero-enquiry .form-group textarea {
        min-height: 80px;
        height: 80px;
        resize: none;
    }

    .hero-enquiry #submitBtn {
        min-height: 48px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--purple), var(--magenta));
        border: none;
        color: var(--white);
        margin-top: 8px;
        box-shadow: 0 4px 18px rgba(109, 40, 217, 0.25);
    }

    .form-error {
        font-size: 10px;
        color: var(--orange);
        margin-top: 2px;
        min-height: 12px;
    }

    /* Services Grid Redesign (2-Column Grid) */
    .services-grid,
    .services-grid-top,
    .services-grid-bottom {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 0 0 10px !important;
    }

    .services-grid-bottom {
        margin-bottom: 0 !important;
    }

    /* Stretch 9th card across two columns */
    .services-grid-bottom .service-card:last-child {
        grid-column: span 2;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: auto;
    }

    .service-card {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        min-height: 146px;
        height: auto;
        padding: 12px;
        gap: 8px;
        border-radius: 12px;
        background: var(--bg-secondary);
        border: 1.5px solid var(--border-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
        overflow: hidden;
    }

    .service-card::before,
    .service-card-glow {
        display: none !important;
    }

    .service-card:active {
        transform: scale(0.97);
        border-color: var(--violet);
        box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15), 0 0 10px rgba(139, 92, 246, 0.1);
    }

    .service-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px;
        min-height: 34px;
        margin: 0;
        border-radius: 8px;
        border: 1.5px solid currentColor;
        background: rgba(11, 10, 24, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-icon svg {
        width: 16px;
        height: 16px;
    }

    /* Distribute colors to service icons */
    .services-grid-top .service-card:nth-child(1) .service-icon { color: var(--violet); }
    .services-grid-top .service-card:nth-child(2) .service-icon { color: var(--magenta); }
    .services-grid-top .service-card:nth-child(3) .service-icon { color: var(--orange); }
    .services-grid-top .service-card:nth-child(4) .service-icon { color: var(--cyan); }
    .services-grid-bottom .service-card:nth-child(1) .service-icon { color: var(--violet); }
    .services-grid-bottom .service-card:nth-child(2) .service-icon { color: var(--orange); }
    .services-grid-bottom .service-card:nth-child(3) .service-icon { color: var(--lime); }
    .services-grid-bottom .service-card:nth-child(4) .service-icon { color: var(--cyan); }
    .services-grid-bottom .service-card:nth-child(5) .service-icon { color: var(--magenta); }

    .service-title {
        display: block !important;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--white) !important;
        line-height: 1.25;
        margin-bottom: 2px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .service-desc {
        display: -webkit-box !important;
        font-size: 11px;
        line-height: 1.35;
        color: var(--gray) !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        margin-bottom: auto;
    }

    .service-link {
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        color: var(--violet);
        font-weight: 600;
        margin-top: 4px;
        background: transparent;
        border: none;
        position: static !important;
        padding: 0;
    }

    .service-link svg {
        width: 10px;
        height: 10px;
        color: inherit;
    }

    /* Why Choose Us Redesign */
    .why-us-content.compact-why {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .why-us-intro {
        text-align: center;
        margin-bottom: 8px;
    }

    .why-badge-small {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 9999px;
        background: rgba(139, 92, 246, 0.1);
        color: var(--violet);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .why-main-title {
        font-size: clamp(18px, 5vw, 22px);
        font-weight: 800;
        color: var(--white);
        margin: 0 0 6px 0;
        line-height: 1.2;
    }

    .why-main-desc {
        display: none;
    }

    .why-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin: 0;
        padding: 0;
    }

    .why-card {
        background: var(--bg-secondary);
        border: 1.5px solid var(--border-color);
        border-radius: 12px;
        padding: 12px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        height: auto;
        min-height: 110px;
        transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .why-card:active {
        transform: scale(0.97);
        border-color: var(--violet);
    }

    .why-card-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 8px;
        border: 1.5px solid currentColor;
        background: rgba(11, 10, 24, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .why-cards .why-card:nth-child(1) .why-card-icon { color: var(--violet); }
    .why-cards .why-card:nth-child(2) .why-card-icon { color: var(--cyan); }
    .why-cards .why-card:nth-child(3) .why-card-icon { color: var(--lime); }
    .why-cards .why-card:nth-child(4) .why-card-icon { color: var(--orange); }
    .why-cards .why-card:nth-child(5) .why-card-icon { color: var(--magenta); }
    .why-cards .why-card:nth-child(6) .why-card-icon { color: var(--violet); }

    .why-card-icon svg {
        width: 15px;
        height: 15px;
    }

    .why-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .why-card-title {
        font-size: 12.5px;
        font-weight: 700;
        color: var(--white);
        line-height: 1.2;
    }

    .why-card-desc {
        font-size: 10px;
        color: var(--gray);
        margin-top: 3px;
        line-height: 1.3;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .why-tagline {
        font-size: 10px;
        font-weight: 700;
        color: var(--violet);
        margin-top: 8px;
        letter-spacing: 0.1em;
    }

    /* Process Timeline Redesign */
    .process-timeline {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
        padding-top: 0;
    }

    .process-line {
        display: block;
        width: 2px;
        background: var(--border-color);
        left: 20px;
        top: 10px;
        bottom: 10px;
        height: auto;
    }

    .process-step {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 10px 14px;
        background: var(--bg-secondary);
        border: 1.5px solid var(--border-color);
        border-radius: 12px;
        margin-left: 36px;
        text-align: left;
        position: relative;
        min-height: 52px;
    }

    .process-step-number {
        position: absolute;
        left: -30px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--bg-primary);
        border: 2px solid var(--violet);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        font-weight: 700;
        z-index: 2;
        box-shadow: 0 0 6px rgba(139, 92, 246, 0.4);
    }

    .process-step-icon {
        display: none !important;
    }

    .process-step-title {
        font-size: 13.5px;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 0;
    }

    /* Portfolio Grid & Cards Mobile styling */
    .portfolio-filters {
        margin-bottom: 18px !important;
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 11.5px;
        border-radius: 9999px;
        border-color: var(--border-color);
        background: var(--bg-secondary);
        color: var(--gray);
    }

    .filter-btn.active {
        background: linear-gradient(135deg, var(--purple), var(--magenta));
        border-color: var(--magenta);
        color: var(--white);
        box-shadow: 0 4px 10px rgba(109, 40, 217, 0.2);
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding: 0;
    }

    .portfolio-card {
        border-radius: 14px;
        border: 1.5px solid var(--border-color);
        background: var(--bg-secondary);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
    }

    .portfolio-image {
        height: 140px;
        background: linear-gradient(145deg, #100f1a, #05030d);
        border-bottom: 1.5px solid var(--border-color);
    }

    .mock-browser {
        max-width: 220px;
        border-color: var(--border-color);
        border-radius: 8px;
        padding: 20px 10px 10px;
    }

    .mock-toolbar {
        height: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .mock-toolbar span {
        width: 4px;
        height: 4px;
    }

    .mock-dashboard span,
    .mock-grid span,
    .mock-shop-grid span {
        background: rgba(139, 92, 246, 0.15);
    }

    .mock-graph,
    .mock-hero,
    .mock-profile,
    .mock-calendar {
        background: rgba(219, 70, 239, 0.1);
        border-color: rgba(219, 70, 239, 0.2);
    }

    .portfolio-overlay {
        position: static;
        padding: 0;
    }

    .portfolio-overlay-content {
        padding: 14px;
        gap: 0;
    }

    .portfolio-overlay-content h4 {
        font-size: 15px;
        color: var(--white);
        font-weight: 700;
        margin-bottom: 2px;
    }

    .portfolio-cat {
        font-size: 11px;
        color: var(--violet);
        font-weight: 500;
        margin-bottom: 6px;
    }

    .portfolio-overlay-content p {
        font-size: 12px !important;
        line-height: 1.4;
        color: var(--gray);
        margin-bottom: 10px;
        min-height: 0;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .portfolio-tech-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 12px;
    }

    .portfolio-tech-tags span {
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 9999px;
        border: 1px solid var(--border-color);
        background: rgba(11, 10, 24, 0.5);
        color: var(--cyan);
    }

    .portfolio-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .portfolio-view-btn,
    .portfolio-demo-btn {
        min-height: 40px !important;
        height: 40px;
        padding: 8px !important;
        font-size: 12px !important;
        font-weight: 700;
        border-radius: 8px !important;
    }

    .portfolio-view-btn {
        color: var(--white);
        border: 1.5px solid var(--border-color);
        background: transparent;
    }

    .portfolio-demo-btn {
        background: linear-gradient(135deg, var(--purple), var(--magenta));
        border: none;
        color: var(--white);
        box-shadow: 0 4px 10px rgba(109, 40, 217, 0.2);
    }

    /* Pricing Marquee — Mobile overrides */
    /* Remove any old grid override on the now-removed .pricing-grid */

    /* Compact card width on small screens — shows ~1 full card + peek of next */
    .pricing-track .pricing-card {
        flex: 0 0 280px;
        width: 280px;
    }

    /* Speed stays the same — 28s feels comfortable to read on mobile */

    /* Popular card: neutralise the desktop scale so the track height stays uniform */
    .pricing-track .pricing-popular {
        transform: none !important;
    }

    .pricing-card {
        padding: 16px;
        border-radius: 12px;
        border: 1.5px solid var(--border-color);
        background: var(--bg-secondary);
    }

    .pricing-popular {
        border: 2px solid transparent;
        background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)), linear-gradient(135deg, var(--violet), var(--magenta));
        background-origin: border-box;
        background-clip: content-box, border-box;
        transform: none !important;
        box-shadow: 0 10px 24px rgba(109, 40, 217, 0.15);
    }

    .pricing-badge {
        font-size: 10px;
        padding: 3px 12px;
        background: linear-gradient(135deg, var(--purple), var(--magenta));
        color: var(--white);
        border-radius: 9999px;
        top: -10px;
    }

    .pricing-name {
        font-size: 17px;
        font-weight: 700;
    }

    .pricing-desc {
        font-size: 11.5px;
        color: var(--gray);
        margin-bottom: 8px;
    }

    .pricing-amount {
        margin-bottom: 12px;
    }

    .pricing-price {
        font-size: 26px;
        font-weight: 800;
    }

    .pricing-features {
        gap: 6px;
        margin-bottom: 16px;
    }

    .pricing-feature {
        font-size: 12px;
        line-height: 1.4;
        gap: 6px;
    }

    .pricing-feature svg {
        width: 14px;
        height: 14px;
    }

    .pricing-cta {
        min-height: 48px;
        font-size: 13.5px !important;
    }

    /* Testimonials Swiper Layout */
    .testimonial-carousel {
        padding: 0 4px;
    }

    .testimonial-slide {
        padding: 0;
    }

    .testimonial-card {
        padding: 16px;
        border-radius: 12px;
        border: 1.5px solid var(--border-color);
        background: var(--bg-secondary);
        min-height: 0;
    }

    .testimonial-quote svg {
        width: 32px;
        height: 32px;
    }

    .testimonial-text {
        font-size: 13px !important;
        line-height: 1.5;
        margin-bottom: 12px;
        color: var(--white);
    }

    .testimonial-avatar {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .testimonial-info h4 {
        font-size: 13px;
    }

    .testimonial-info p {
        font-size: 11px;
    }

    .testimonial-controls {
        margin-top: 12px;
        gap: 12px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        background: var(--bg-secondary);
        color: var(--white);
    }

    .carousel-dot {
        width: 7px;
        height: 7px;
        background: var(--border-color);
    }

    .carousel-dot.active {
        width: 18px;
        background: var(--violet);
    }

    /* FAQ accordion styling */
    .faq-container {
        gap: 8px;
    }

    .faq-item {
        border-radius: 10px;
        border: 1.5px solid var(--border-color);
        background: var(--bg-secondary);
    }

    .faq-question {
        min-height: 48px;
        padding: 12px;
        font-size: 12.5px;
        line-height: 1.35;
        gap: 8px;
        text-align: left;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        border: 1px solid var(--border-color);
        background: rgba(11, 10, 24, 0.5);
    }

    .faq-icon svg {
        width: 12px;
        height: 12px;
    }

    .faq-answer p {
        padding: 0 12px 12px;
        font-size: 11.5px !important;
        line-height: 1.5;
        color: var(--gray);
    }

    /* ── FOOTER CONTACT BANNER ───────────────────────── */
    .footer-contact-banner {
        padding: 24px 0;
    }

    .footer-contact-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-contact-card {
        border-radius: 12px;
        padding: 20px 16px;
        margin-bottom: 12px;
    }

    .footer-contact-item {
        padding: 12px 0;
        gap: 12px;
    }

    .footer-contact-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .footer-contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .footer-contact-text h4 {
        font-size: 12px;
    }

    .footer-contact-text p,
    .footer-contact-text a {
        font-size: 13px;
        word-break: break-all;
    }

    .footer-map-card {
        border-radius: 12px;
        padding: 20px 16px;
        margin-bottom: 0;
    }

    /* ── FOOTER TOP GRID — single column stack ────────── */
    .footer-top {
        padding: 32px 0 20px;
    }

    /* THIS is the critical fix — force single column layout */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100%;
    }

    /* ── BRAND / ABOUT column ─────────────────────────── */
    .footer-col {
        width: 100%;
        text-align: left;
        padding: 24px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    /* Last column — no bottom border */
    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .footer-logo .logo-bear {
        width: 28px;
        height: 28px;
    }

    .footer-logo span {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
    }

    .footer-desc {
        text-align: left;
        font-size: 13px !important;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 16px;
        max-width: 100%;
    }

    .footer-socials {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 0;
    }

    .social-link {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ── QUICK LINKS & SERVICES — side by side on ≥360px ─ */
    /* Wrap them in a shared row using a small trick:
       On very narrow screens they stack; on 360px+ they go 2-col */
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        /* These are Quick Links and Services cols */
        width: 100%;
    }

    .footer-heading {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #fff;
        margin-bottom: 14px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-links a {
        display: block;
        font-size: 13.5px;
        color: rgba(255, 255, 255, 0.6);
        padding: 7px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        transition: color 0.2s;
    }

    .footer-links li:last-child a {
        border-bottom: none;
    }

    .footer-links a:hover {
        color: var(--violet);
        padding-left: 0;        /* override desktop indent */
    }

    /* ── FOOTER BOTTOM BAR ───────────────────────────── */
    .footer-bottom {
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-bottom-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
        font-size: 11.5px;
    }

    .footer-bottom-content p {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.4);
    }

    .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
        justify-content: center;
    }

    .footer-bottom-links a {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.4);
    }

    /* Floating Quick Contact Actions */
    .floating-actions {
        right: 12px;
        bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 12px);
        gap: 10px;
    }

    .btn-float {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    }

    .btn-whatsapp {
        background-color: #25D366;
    }

    .floating-actions .btn-phone {
        background: linear-gradient(135deg, var(--purple), var(--magenta));
    }

    .back-to-top {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 12px);
        right: auto;
        left: 12px;
        width: 40px;
        height: 40px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .back-to-top.visible {
        opacity: 0.8;
    }

    /* Sticky Bottom Bar for Mobile Booking CTA */
    .sticky-bottom-bar {
        display: block;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(5, 3, 13, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1.5px solid var(--border-color);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    }

    .sticky-bottom-bar .btn {
        height: 48px;
        min-height: 48px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        background: linear-gradient(135deg, var(--purple), var(--magenta));
        box-shadow: 0 4px 15px rgba(109, 40, 217, 0.25);
    }
}

/* ============ DESKTOP SAFEGUARDS & RESTORATIONS (min-width: 769px) ============ */
@media (min-width: 769px) {
    /* Restore footer 3-column grid for desktop (Newsletter column removed) */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1.4fr 1fr 1fr !important;
        gap: var(--space-3xl) !important;
        width: auto !important;
    }

    .footer-col {
        width: auto;
        text-align: left;
        padding: 0;
        border-bottom: none;
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-logo {
        justify-content: flex-start;
        margin-bottom: var(--space-lg);
    }

    .footer-logo .logo-bear {
        width: 32px;
        height: 32px;
    }

    .footer-logo span {
        font-size: var(--fs-lg);
    }

    .footer-desc {
        max-width: 300px;
        font-size: var(--fs-sm) !important;
        color: inherit;
    }

    .footer-socials {
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin-bottom: 0;
    }

    .footer-bottom-content {
        flex-direction: row;
        text-align: left;
    }

    .footer-bottom-links {
        flex-wrap: nowrap;
    }

    /* Restore service desc display state for desktop */
    .service-desc {
        display: none;
    }

    /* Desktop portfolio display adjustments */
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        justify-content: stretch !important;
    }

    /* Style the desktop Why Choose Us layout properly */
    .why-us-content.compact-why .why-cards {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .why-us-content.compact-why .why-card {
        min-height: 142px;
        height: 100%;
        padding: 20px;
        display: flex;
        align-items: flex-start;
        gap: 14px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--bg-secondary);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
        overflow: hidden;
        transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .why-us-content.compact-why .why-card:hover,
    .why-us-content.compact-why .why-card:focus-within {
        transform: translateY(-3px);
        border-color: var(--secondary);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(109, 40, 217, 0.18);
    }
    .why-us-content.compact-why .why-card-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid currentColor;
        border-radius: 11px;
        background: rgba(139, 92, 246, 0.08);
        color: var(--secondary);
    }
    .why-us-content.compact-why .why-card-icon svg {
        width: 20px;
        height: 20px;
        color: inherit;
    }
    .why-us-content.compact-why .why-card-content {
        min-width: 0;
        padding-top: 1px;
    }
    .why-us-content.compact-why .why-card-title {
        color: var(--text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.25;
        white-space: normal;
    }
    .why-us-content.compact-why .why-card-desc {
        margin-top: 6px;
        color: var(--text-secondary);
        font-size: 12px;
        line-height: 1.45;
        white-space: normal;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .why-us-content.compact-why .why-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============ MOBILE PRICING SUMMARY ============ */
@media (max-width: 768px) {
    .pricing-track .pricing-card {
        flex: 0 0 min(230px, calc(100vw - 56px));
        width: min(230px, calc(100vw - 56px));
        height: 160px;
        min-height: 160px;
        max-height: 180px;
        padding: 17px 14px 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }

    .pricing-track .pricing-badge,
    .pricing-track .pricing-desc,
    .pricing-track .pricing-features {
        display: none !important;
    }

    .pricing-track .pricing-header {
        text-align: left;
    }

    .pricing-track .pricing-name {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 1.2;
    }

    .pricing-track .pricing-amount {
        margin: 0;
        display: flex;
        align-items: baseline;
        gap: 2px;
    }

    .pricing-track .pricing-price {
        font-size: 25px;
        line-height: 1;
    }

    .pricing-track .pricing-period {
        font-size: 10px;
        color: var(--text-secondary);
    }

    .pricing-track .pricing-cta {
        width: 100%;
        height: 40px;
        min-height: 40px;
        padding: 8px 12px !important;
        justify-content: space-between;
        font-size: 11px !important;
    }

    .pricing-track .pricing-cta::after {
        content: ' →';
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .pricing-track .pricing-card {
        flex-basis: min(214px, calc(100vw - 52px));
        width: min(214px, calc(100vw - 52px));
        height: 154px;
        min-height: 154px;
        padding: 15px 12px 12px;
    }

    .pricing-track .pricing-name {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .pricing-track .pricing-price {
        font-size: 23px;
    }
}