/*
 * SpeakerPlanHub - Merged Style
 * Fusion of: speakerplans.eu/speu dark side-menu vCard style
 *          + speakerplans.eu landing page modern gradient card style
 */

:root {
    --topbar-h: 36px; /* topbar height — keep in sync with actual rendered height */
    --primary: #000000;
    --secondary: #ff7b00;
    --accent: #ffb100;
    --accent-red: #e74c3c;
    --dark-bg: #0d0d0d;
    --card-bg: rgba(255,255,255,.04);
    --card-border: rgba(255,255,255,.07);
    --text-light: rgba(255,255,255,.7);
    --text-muted: rgba(255,255,255,.5);
    --side-bg: #141414;
    --white-section: #fff;
    --body-color: #ccc;
    --heading-color: #fff;
    --hero-gradient-start: #000;
    --hero-gradient-overlay: rgba(255,123,0,.12);
    --svg-pattern-opacity: 0.02;
    --social-proof-bg: rgba(255,255,255,.03);
    --social-proof-border: rgba(255,255,255,.06);
    --menu-link-color: rgba(255,255,255,.55);
    --menu-link-hover-bg: rgba(255,255,255,.06);
    --menu-active-bg: rgba(255,123,0,.1);
    --menu-social-color: rgba(255,255,255,.8);
    --menu-social-bg: rgba(255,255,255,.06);
    --menu-social-border: rgba(255,255,255,.08);
    --side-border: rgba(255,255,255,.06);
    --scrollbar-thumb: rgba(255,255,255,.15);
    --mob-menu-bg: rgba(20,20,20,.95);
    --mob-menu-border: rgba(255,255,255,.06);
    --mob-close-bg: rgba(255,255,255,.15);
    --mob-close-color: #fff;
    --hamburger-color: #fff;
    --card-hover-bg: rgba(255,255,255,.07);
    --card-hover-border: rgba(255,123,0,.3);
    --service-card-text: rgba(255,255,255,.6);
    --service-icon-bg: linear-gradient(135deg, rgba(255,123,0,.15), rgba(231,76,60,.1));
    --inner-card-bg: #fff;
    --inner-card-shadow: rgba(0,0,0,.06);
    --inner-card-h3: #222;
    --inner-card-p: #666;
    --form-bg: #fff;
    --form-color: #333;
    --form-border: #ddd;
    --form-label: #555;
    --cookie-bg: rgba(17,17,17,.95);
    --cookie-text: rgba(255,255,255,.7);
    --cookie-border: rgba(255,255,255,.08);
    --footer-border: rgba(255,255,255,.06);
    --footer-copy: rgba(255,255,255,.25);
    --copyright-color: rgba(255,255,255,.2);
    --back-home-bg: rgba(0,0,0,.7);
    --back-home-color: #fff;
    --back-home-border: rgba(255,255,255,.1);
    --links-list-bg: rgba(0,0,0,.02);
    --links-list-border: rgba(0,0,0,.05);
    --links-list-hover-bg: rgba(255,123,0,.05);
    --links-list-hover-border: rgba(255,123,0,.15);
    --links-list-color: #333;
    --sec-title-h2: #222;
    --loader-bg: #000;
    --loader-border: rgba(255,255,255,.08);
    --scroll-indicator: rgba(255,255,255,.3);
    --profile-border: rgba(255,123,0,.3);
    --btn-outline-color: #fff;
    --btn-outline-border: rgba(255,255,255,.2);
    --btn-bordered-hover-text: #000;
}

/* Light Theme */
body.light-theme {
    --primary: #f5f5f5;
    --dark-bg: #eaeaea;
    --card-bg: rgba(0,0,0,.03);
    --card-border: rgba(0,0,0,.08);
    --text-light: rgba(0,0,0,.65);
    --text-muted: rgba(0,0,0,.45);
    --side-bg: #ffffff;
    --white-section: #fff;
    --body-color: #333;
    --heading-color: #111;
    --hero-gradient-start: #f5f5f5;
    --hero-gradient-overlay: rgba(255,123,0,.08);
    --svg-pattern-opacity: 0.04;
    --social-proof-bg: rgba(0,0,0,.03);
    --social-proof-border: rgba(0,0,0,.08);
    --menu-link-color: rgba(0,0,0,.55);
    --menu-link-hover-bg: rgba(0,0,0,.05);
    --menu-active-bg: rgba(255,123,0,.1);
    --menu-social-color: rgba(0,0,0,.7);
    --menu-social-bg: rgba(0,0,0,.05);
    --menu-social-border: rgba(0,0,0,.1);
    --side-border: rgba(0,0,0,.08);
    --scrollbar-thumb: rgba(0,0,0,.15);
    --mob-menu-bg: rgba(255,255,255,.95);
    --mob-menu-border: rgba(0,0,0,.08);
    --mob-close-bg: rgba(0,0,0,.1);
    --mob-close-color: #333;
    --hamburger-color: #333;
    --card-hover-bg: rgba(0,0,0,.05);
    --card-hover-border: rgba(255,123,0,.3);
    --service-card-text: rgba(0,0,0,.55);
    --service-icon-bg: linear-gradient(135deg, rgba(255,123,0,.12), rgba(231,76,60,.08));
    --inner-card-bg: #fff;
    --inner-card-shadow: rgba(0,0,0,.08);
    --inner-card-h3: #222;
    --inner-card-p: #555;
    --form-bg: #fff;
    --form-color: #333;
    --form-border: #ccc;
    --form-label: #444;
    --cookie-bg: rgba(255,255,255,.95);
    --cookie-text: rgba(0,0,0,.7);
    --cookie-border: rgba(0,0,0,.1);
    --footer-border: rgba(0,0,0,.08);
    --footer-copy: rgba(0,0,0,.35);
    --copyright-color: rgba(0,0,0,.3);
    --back-home-bg: rgba(255,255,255,.85);
    --back-home-color: #333;
    --back-home-border: rgba(0,0,0,.1);
    --links-list-bg: rgba(0,0,0,.02);
    --links-list-border: rgba(0,0,0,.06);
    --links-list-hover-bg: rgba(255,123,0,.06);
    --links-list-hover-border: rgba(255,123,0,.2);
    --links-list-color: #333;
    --sec-title-h2: #222;
    --loader-bg: #f5f5f5;
    --loader-border: rgba(0,0,0,.1);
    --scroll-indicator: rgba(0,0,0,.3);
    --profile-border: rgba(255,123,0,.4);
    --btn-outline-color: #333;
    --btn-outline-border: rgba(0,0,0,.2);
    --btn-bordered-hover-text: #fff;
}

/* =================================
   00. Topbar
   ================================= */
.topbar {
    background: #e67e22;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    border-bottom: 2px solid #d35400;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-brand {
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.topbar-brand i {
    margin-right: 5px;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.topbar-nav a {
    color: #fff3e0;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.topbar-nav a:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.topbar-nav a.active {
    background: #fff;
    color: #e67e22;
    font-weight: 700;
}

/* Sponsored Badge */
.sponsored-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(253,180,153,0.22), rgba(148,197,249,0.22));
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow:
        0 4px 20px rgba(253,180,153,0.35),
        0 0 25px rgba(148,197,249,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sponsored-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: sponsoredShine 3.5s ease-in-out infinite;
}
.sponsored-badge:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
        0 6px 28px rgba(253,180,153,0.55),
        0 0 35px rgba(148,197,249,0.45),
        inset 0 1px 0 rgba(255,255,255,0.35);
}
.sponsored-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.8px;
}
.sponsored-brand {
    font-weight: 800;
    background: linear-gradient(135deg, #fdb499, #94c5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(253,180,153,0.55));
}
.sponsored-badge i {
    color: #fdb499;
    font-size: 0.8rem;
    filter: drop-shadow(0 0 4px rgba(253,180,153,0.9));
    animation: aiPulse 2s ease-in-out infinite;
}
.sponsored-desc {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    padding-left: 0;
    margin-left: 0;
    border-left: 1px solid transparent;
    transition:
        max-width 0.55s cubic-bezier(.4,.0,.2,1),
        opacity 0.35s ease 0.15s,
        padding-left 0.4s ease,
        margin-left 0.4s ease,
        border-color 0.4s ease;
}
.sponsored-badge:hover .sponsored-desc {
    max-width: 320px;
    opacity: 1;
    padding-left: 9px;
    margin-left: 3px;
    border-left: 1px solid rgba(255,255,255,0.35);
}
@keyframes sponsoredShine {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}
@keyframes aiPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.15); }
}

@media (max-width: 991px) {
    /* hide badge on mobile — keeps topbar height predictable */
    .sponsored-badge { display: none; }
}

@media (max-width: 600px) {
    .topbar-brand { display: none; }
    .topbar-inner { justify-content: center; }
}

/* =================================
   01. Reset & Base
   ================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    background-color: var(--primary);
    color: var(--body-color);
    overflow-x: hidden;
    transition: background-color .3s, color .3s;
}

img { max-width: 100%; }

a, a:hover, a:focus {
    text-decoration: none;
    outline: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    color: var(--heading-color);
    font-family: 'Montserrat', 'Inter', sans-serif;
}

p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-light);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.display-table {
    display: table;
    height: 100%;
    width: 100%;
}

.display-table-cell {
    display: table-cell;
    vertical-align: middle;
}

/* =================================
   02. Preloader
   ================================= */

.page-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--loader-bg);
    z-index: 100000;
    transition: opacity 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border-top: 2px solid var(--loader-border);
    border-right: 2px solid var(--loader-border);
    border-bottom: 2px solid var(--loader-border);
    border-left: 2px solid var(--accent);
    border-radius: 50%;
    animation: spinner 700ms infinite linear;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =================================
   03. Side Menu / Navigation
   ================================= */

body.side-menu {
    padding-left: 260px;
}

.side-left {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    z-index: 200;
    width: 260px;
    height: calc(100vh - var(--topbar-h));
    text-align: center;
    background: var(--side-bg);
    border-right: 1px solid var(--side-border);
    transition: all 0.3s ease-in-out, background-color .3s, border-color .3s;
    overflow-y: auto;
}

.side-left::-webkit-scrollbar { width: 4px; }
.side-left::-webkit-scrollbar-track { background: transparent; }
.side-left::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 2px; }

.side-left .menu-wrapper {
    overflow: auto;
}

.intro-content {
    position: relative;
    padding-top: 50px;
    min-height: 100%;
}

.profile {
    margin: 0 auto;
    width: 110px;
    height: 110px;
}

.profile img {
    border: 4px solid var(--profile-border);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: border-color .3s;
}

.profile img:hover {
    border-color: var(--secondary);
}

.intro-content h1 {
    font-size: 18px;
    text-transform: capitalize;
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff7b00, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-content .tagline-small {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 25px;
    padding: 0 15px;
    line-height: 1.5;
}

.vertical-menu {
    padding-bottom: 40px;
}

.menu-social-icons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.menu-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--menu-social-color);
    background: var(--menu-social-bg);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--menu-social-border);
    transition: all 0.3s ease-in-out;
}

.menu-social-icons a:hover {
    background: rgba(255,123,0,.15);
    border-color: rgba(255,123,0,.3);
    color: var(--secondary);
    transform: translateY(-2px);
}

.menu_list {
    margin-top: 35px;
    list-style: none;
    padding: 0 20px;
}

.menu_list li {
    margin: 1px 0;
}

.menu_list a {
    display: block;
    color: var(--menu-link-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.25s ease-in-out;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.menu_list a:hover {
    color: var(--heading-color);
    background: var(--menu-link-hover-bg);
}

.menu_list a.active_item {
    color: var(--secondary);
    background: var(--menu-active-bg);
    border-left: 3px solid var(--secondary);
}

.menu_list a .menu-icon {
    margin-right: 8px;
    width: 18px;
    text-align: center;
    font-size: 13px;
}

.menu_list .menu-external {
    font-size: 9px;
    opacity: .5;
    margin-left: 4px;
}

.side-left .copyright {
    padding: 20px 15px;
    text-align: center;
    color: var(--copyright-color);
    font-size: 11px;
    font-weight: 400;
}

/* =================================
   04. Mobile Menu
   ================================= */

.mob-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
    width: 100%;
    background: var(--mob-menu-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--mob-menu-border);
    padding: 12px 0;
    display: none;
}

.mob-menu .mob-menu-content {
    overflow: hidden;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mob-menu .menu-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ff7b00, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mob-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 57;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    backdrop-filter: blur(3px);
    display: none;
}

.mob-menu-close {
    font-size: 15px;
    color: var(--mob-close-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
    background-color: var(--mob-close-bg);
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 250;
    cursor: pointer;
    display: none;
    text-align: center;
}

.hamburger-btn {
    background: none;
    border: none;
    padding: 7px 0;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--hamburger-color);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 1px;
}

/* =================================
   05. Main Content Area
   ================================= */

main {
    position: relative;
    width: 100%;
    margin-top: var(--topbar-h);
    height: calc(100vh - var(--topbar-h));
    background-color: var(--primary);
}

section.sec_content {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s ease, visibility .4s;
}

section.current_sec {
    position: relative;
    height: 100%;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

section .sec__content {
    background-color: var(--white-section);
}

section .content__inner {
    background-color: var(--dark-bg);
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.scroll__content {
    background: var(--white-section);
}

.sec_title {
    position: relative;
    margin-bottom: 50px;
    line-height: 1;
    z-index: 1;
    text-align: center;
    padding-bottom: 20px;
}

.sec_title h2 {
    display: inline-block;
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--sec-title-h2);
    position: relative;
    z-index: 5;
    padding-right: 5px;
    padding-bottom: 15px;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.5px;
}

.sec_title h2:after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 8px;
    left: -3px;
    bottom: 20px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 4px;
}

a.backToHome {
    position: fixed;
    right: 30px;
    top: 20px;
    z-index: 100;
    font-size: 18px;
    background: var(--back-home-bg);
    backdrop-filter: blur(10px);
    color: var(--back-home-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    border: 1px solid var(--back-home-border);
}

a.backToHome:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.padding-top-80 { padding-top: 80px; }
.padding-bottom-80 { padding-bottom: 80px; }

/* =================================
   06. Home / Hero Section (Merged)
   ================================= */

.home {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background:
        radial-gradient(ellipse at 50% 0%, var(--hero-gradient-overlay) 0%, transparent 60%),
        linear-gradient(180deg, var(--hero-gradient-start) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.home .hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .home {
        padding-top: 3rem;
        padding-bottom: 1rem;
        height: 100%;
    }
    .social-proof {
        position: relative;
        width: 100%;
        margin-top: 1.5rem;
    }
}

.home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.3) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.3) 100%);
    pointer-events: none;
}

body.light-theme .home::before {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.home h1.fit--text {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: var(--heading-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    animation: fadeUp .8s ease-out;
    overflow-wrap: break-word;
    word-break: break-word;
}

.home h1.fit--text span#typed {
    background: linear-gradient(135deg, #ff7b00, #ffcc00, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home h1.fit--text .typed-cursor {
    font-weight: 100;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
}

.home .tagline {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
    margin: 0 auto 2rem;
    animation: fadeUp .8s ease-out .15s both;
}

.home .home_btns {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp .8s ease-out .3s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: bounce 2s infinite;
    color: var(--scroll-indicator);
    font-size: 1.5rem;
    z-index: 2;
}

/* =================================
   07. Social Proof Bar
   ================================= */

.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2.5rem 2rem;
    background: var(--social-proof-bg);
    border-top: 1px solid var(--social-proof-border);
    border-bottom: 1px solid var(--social-proof-border);
}

.stat { text-align: center; }

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: .8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: .25rem;
}

/* =================================
   08. Buttons (Merged)
   ================================= */

.btn-primary {
    padding: .85rem 2rem;
    background: linear-gradient(135deg, var(--secondary), #ff9a3c);
    color: #000;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 25px rgba(255,123,0,.3);
    font-family: 'Montserrat', 'Inter', sans-serif;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(255,123,0,.5);
    color: #000;
}

.btn-outline {
    padding: .85rem 2rem;
    background: transparent;
    color: var(--btn-outline-color);
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid var(--btn-outline-border);
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
    font-family: 'Montserrat', 'Inter', sans-serif;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-bordered {
    padding: 14px 26px;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent);
    border-radius: 0;
    background-color: transparent;
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-decoration: none;
}

.btn-bordered:hover {
    background-color: var(--accent);
    color: var(--btn-bordered-hover-text);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary), #ff9a3c);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,123,0,.4);
}

/* =================================
   09. Service Cards (from landing)
   ================================= */

.section-title {
    text-align: center;
    padding: 4rem 2rem 2.5rem;
}

.section-title h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: .75rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    transition: all .35s ease;
    overflow: hidden;
    text-decoration: none;
    color: var(--heading-color);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent-red));
    opacity: 0;
    transition: opacity .35s;
}

.service-card:hover {
    background: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(255,123,0,.1);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    background: var(--service-icon-bg);
    color: var(--secondary);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--heading-color);
}

.service-card .desc {
    font-size: .9rem;
    color: var(--service-card-text);
    line-height: 1.65;
    flex: 1;
}

.service-card .card-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.25rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--secondary);
    transition: gap .25s;
}

.service-card:hover .card-cta { gap: .85rem; }

.badge {
    display: inline-block;
    padding: .25rem .7rem;
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .75rem;
    width: fit-content;
}

.badge-new {
    background: rgba(46,204,113,.15);
    color: #2ecc71;
}

.badge-hot {
    background: rgba(231,76,60,.15);
    color: var(--accent-red);
}

/* =================================
   10. Inner Content Sections
   ================================= */

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 { width: 33.333%; padding: 0 15px; margin-bottom: 30px; }
.col-md-6 { width: 50%; padding: 0 15px; margin-bottom: 20px; }
.col-md-12 { width: 100%; padding: 0 15px; margin-bottom: 20px; }

.card {
    background: var(--inner-card-bg);
    border-radius: 16px;
    box-shadow: 0 2px 15px var(--inner-card-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    color: var(--inner-card-h3);
    font-size: 18px;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 14px;
    color: var(--inner-card-p);
}

/* Form styles */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--form-border);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Inter', 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 12px;
    background: var(--form-bg);
    color: var(--form-color);
}

.form-control:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,123,0,.15);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-row .col-md-6 {
    width: 50%;
    padding: 0 15px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--form-label);
    margin-bottom: 5px;
}

/* =================================
   10a-b. Woofer Search Results
   ================================= */

.ws-loading,
.ws-error,
.ws-no-results,
.ws-count {
    font-size: 14px;
    padding: 12px 0;
    color: var(--form-label);
}

.ws-error {
    color: #e05252;
}

.ws-count {
    margin-bottom: 12px;
    color: var(--form-label);
}

.ws-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--form-border);
}

.ws-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 900px;
}

.ws-table thead th {
    background: var(--secondary);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .03em;
}

.ws-table thead th:first-child { border-radius: 11px 0 0 0; }
.ws-table thead th:last-child  { border-radius: 0 11px 0 0; }

.ws-table tbody tr {
    border-bottom: 1px solid var(--form-border);
    transition: background .2s;
}

.ws-table tbody tr:last-child { border-bottom: none; }

.ws-table tbody tr:hover {
    background: rgba(255,123,0,.07);
}

.ws-table tbody td {
    padding: 9px 12px;
    white-space: nowrap;
    color: var(--form-color);
}

.ws-table tbody td:first-child {
    font-weight: 600;
    color: var(--secondary);
}

/* =================================
   10b. Plan Cards Grid
   ================================= */

.plans-filter {
    text-align: right;
    margin-bottom: 24px;
}

.plans-filter label {
    color: var(--inner-card-h3);
    margin-right: 10px;
    display: inline;
    font-weight: 600;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px;
}

.plan-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.plan-card {
    background: var(--inner-card-bg);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--inner-card-shadow);
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255,123,0,.15);
}

.plan-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.plan-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.plan-card:hover .plan-card-img img {
    transform: scale(1.05);
}

.plan-card-info {
    padding: 12px 14px;
}

.plan-card-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--inner-card-h3);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.plan-cat {
    font-size: 11px;
    color: var(--inner-card-p);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}

/* Ad card variant */
.plan-card--ad {
    border: 1px solid rgba(255,123,0,.25);
}

.plan-card--ad a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.plan-cat--ad {
    color: var(--secondary);
}

.plan-card.hidden {
    display: none;
}

/* =================================
   11. Footer
   ================================= */

.site-footer {
    border-top: 1px solid var(--footer-border);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    transition: color .25s;
}

.footer-links a:hover { color: var(--secondary); }

.footer-copy {
    color: var(--footer-copy);
    font-size: .85rem;
}

/* =================================
   12. Cookie Banner
   ================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    padding: 15px 0;
    background: var(--cookie-bg);
    backdrop-filter: blur(15px);
    width: 100%;
    border-top: 1px solid var(--cookie-border);
}

.cookie-banner p {
    color: var(--cookie-text);
    margin: 0 0 10px;
    font-size: 13px;
}

.cookie-banner .cookie-btn {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, var(--secondary), #ff9a3c);
    padding: 8px 20px;
    border-radius: 60px;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    font-size: 13px;
}

.cookie-banner .cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,123,0,.3);
}

/* =================================
   13. Useful Links
   ================================= */

.links-list {
    list-style: none;
    padding: 0;
}

.links-list li {
    padding: 12px 16px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: var(--links-list-bg);
    border: 1px solid var(--links-list-border);
    transition: all .25s;
}

.links-list li:hover {
    background: var(--links-list-hover-bg);
    border-color: var(--links-list-hover-border);
}

.links-list a {
    color: var(--links-list-color);
    font-size: 15px;
    transition: color 0.3s;
    text-decoration: none;
}

/* =================================
   14. Sidebar menu divider + Auth
   ================================= */

.menu-divider {
    border-top: 1px solid rgba(255,255,255,.12);
    margin: 10px 0;
    list-style: none;
}

.menu-premium-btn {
    background: linear-gradient(135deg, #ff7b00, #ff9d3f) !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700 !important;
    margin: 4px 0;
    padding: 9px 14px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity .2s;
}

.menu-premium-btn:hover {
    opacity: .88;
}

.menu-premium-btn .menu-icon {
    color: #fff !important;
}

body.light-theme .menu-divider {
    border-color: rgba(0,0,0,.08);
}

/* =================================
   Installation Section
   ================================= */
.installation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.install-request-banner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: linear-gradient(135deg, rgba(255,123,0,.12), rgba(255,123,0,.04));
    border: 1px solid rgba(255,123,0,.35);
    border-radius: 18px;
    padding: 28px 32px;
    margin-top: 36px;
}

.install-request-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.install-request-text h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--inner-card-h3);
    margin-bottom: 8px;
}

.install-request-text p {
    font-size: 13px;
    color: var(--inner-card-p);
    line-height: 1.75;
    margin-bottom: 12px;
    max-width: 640px;
}

.install-request-text p:last-of-type {
    margin-bottom: 16px;
}

.install-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity .2s;
}

.install-request-btn:hover {
    opacity: .85;
}

@media (max-width: 600px) {
    .install-request-banner {
        flex-direction: column;
        padding: 22px 20px;
    }
}

.install-step {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: transform .2s, box-shadow .2s;
}

.install-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

.install-step__num {
    flex-shrink: 0;
    font-size: 36px;
    font-weight: 900;
    color: var(--secondary);
    opacity: .25;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.install-step__body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--inner-card-h3);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.install-step__body h3 i {
    color: var(--secondary);
    font-size: 14px;
}

.install-step__body p {
    font-size: 13px;
    color: var(--inner-card-p);
    line-height: 1.7;
}

.install-step__body a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.install-step__body a:hover {
    text-decoration: underline;
}

/* =================================
   Acoustics Book Section
   ================================= */
.acoustics-chapters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.acoustics-chapter {
    display: flex;
    gap: 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 22px 24px;
    transition: transform .2s, box-shadow .2s;
    min-width: 0;
}

.acoustics-chapter:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

.acoustics-chapter__num {
    flex-shrink: 0;
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary);
    opacity: .22;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.acoustics-chapter__body h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--inner-card-h3);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acoustics-chapter__body h3 i {
    color: var(--secondary);
    font-size: 13px;
}

.acoustics-chapter__body p {
    font-size: 13px;
    color: var(--inner-card-p);
    line-height: 1.75;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Wide desktop / 4K – expand container, more columns */
@media (min-width: 1600px) {
    #generalinfo .container {
        max-width: 1600px;
    }
    .acoustics-chapters {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (min-width: 2200px) {
    #generalinfo .container {
        max-width: 2000px;
    }
}

/* Acoustics Books */
.acoustics-books {
    margin-top: 48px;
}

.acoustics-books__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--inner-card-h3);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.acoustics-books__title i {
    color: var(--secondary);
}

.acoustics-books__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.acoustics-book-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 28px 26px;
    text-decoration: none;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.acoustics-book-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 10px 36px rgba(255,123,0,.15);
}

.acoustics-book-card > .fa-book {
    font-size: 32px;
    color: var(--secondary);
}

.acoustics-book-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--inner-card-h3);
    line-height: 1.5;
    flex: 1;
}

.acoustics-book-card__buy {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 8px 18px;
    border-radius: 50px;
    align-self: flex-start;
}

/* =================================
   15. Guest Limit Popup
   ================================= */

.gl-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gl-popup {
    background: #fff;
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    padding: 40px 36px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    animation: glFadeIn .25s ease;
}

@keyframes glFadeIn {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

.gl-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.gl-close:hover { color: #333; }

.gl-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #ff7b00, #e06600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.gl-popup h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.gl-popup p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.gl-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.gl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity .2s;
}

.gl-btn:hover { opacity: .85; }

.gl-btn--primary {
    background: linear-gradient(135deg, #ff7b00, #e06600);
    color: #fff;
}

.gl-btn--outline {
    border: 2px solid #ff7b00;
    color: #ff7b00;
    background: transparent;
}

.links-list a:hover {
    color: var(--secondary);
}

.links-list li i {
    margin-right: 8px;
    color: var(--secondary);
    width: 18px;
    text-align: center;
}

/* =================================
   14. Animations
   ================================= */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeUp 0.6s ease-out;
}

/* =================================
   15. Responsive
   ================================= */

/* =================================
   Theme Toggle
   ================================= */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px auto 10px;
    padding: 6px;
    background: var(--menu-social-bg);
    border: 1px solid var(--menu-social-border);
    border-radius: 50px;
    width: fit-content;
    cursor: pointer;
    transition: all .3s ease;
}

.theme-toggle:hover {
    border-color: var(--secondary);
}

.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--menu-link-color);
    transition: all .25s ease;
}

.theme-toggle-btn.active {
    background: var(--secondary);
    color: #000;
    box-shadow: 0 2px 10px rgba(255,123,0,.3);
}

.theme-toggle-btn:hover:not(.active) {
    color: var(--heading-color);
}

/* Mobile theme toggle */
.mob-theme-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    color: var(--hamburger-color);
    background: var(--menu-social-bg);
    border: 1px solid var(--menu-social-border);
    transition: all .3s;
    margin-right: 10px;
}

.mob-theme-toggle:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

@media (max-width: 991px) {
    /* ── Topbar: fixed on mobile so mob-menu sits below it ── */
    .topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 300;
    }

    /* Prevent nav links from wrapping — keeps topbar at exactly --topbar-h */
    .topbar-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .topbar-inner::-webkit-scrollbar { display: none; }
    .topbar-nav { flex-wrap: nowrap; }

    body.side-menu {
        padding-left: 0;
        padding-top: calc(var(--topbar-h) + 54px);
    }

    .side-left {
        left: -260px;
        top: var(--topbar-h);
        height: calc(100vh - var(--topbar-h));
    }

    .side-left.open {
        left: 0;
    }

    .mob-menu {
        display: flex !important;
        top: var(--topbar-h);
        z-index: 250;
    }

    .mob-menu-close {
        top: calc(var(--topbar-h) + 10px);
    }

    .mob-theme-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mob-menu-overlay.active {
        display: block;
    }

    .mob-menu-close.active {
        display: block;
    }

    .home h1.fit--text {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
    }

    .sec_title h2 {
        font-size: 36px;
    }

    .col-md-4, .col-md-6 {
        width: 100%;
    }

    .form-row .col-md-6 {
        width: 100%;
    }

    .social-proof {
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home h1.fit--text {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .sec_title h2 {
        font-size: 28px;
    }

    .services-grid {
        padding: 0 1rem 3rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .plans-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .home .home_btns {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .home {
        height: 100%;
        padding: 1.5rem 1rem;
    }

    .home h1.fit--text {
        font-size: clamp(1rem, 5vw, 1.4rem);
        letter-spacing: -0.2px;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .home .hero-content {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .home .tagline {
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }

    .home .home_btns {
        gap: 0.6rem;
        width: 100%;
        max-width: 320px;
    }

    .home .home_btns a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .social-proof {
        position: relative;
        width: 100%;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        margin-top: auto;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
}
