/* ============================================================
   Lindsay & Keller — Attorney Website Stylesheet
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Core palette */
    --navy-900: #0a1628;
    --navy-800: #162d50;
    --navy-700: #162d50;
    --navy-600: #1e3a5f;
    --navy-500: #2c5282;
    --navy-400: #3a6ea5;
    --navy-100: #dce6f5;

    --gold-500: #c9a84c;
    --gold-400: #d4b85c;
    --gold-300: #e0c96e;
    --gold-600: #b8943e;

    --cream: #faf8f4;
    --cream-dark: #f0ede5;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.16);

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--navy-800);
    line-height: 1.2;
}

::selection {
    background: var(--gold-500);
    color: var(--white);
}

/* ---------- UTILITY ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-gold { color: var(--gold-500); }

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
    position: relative;
    padding-left: 48px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 36px;
    height: 2px;
    background: var(--gold-500);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 640px;
    line-height: 1.8;
}

.section-header.center {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.center .section-label {
    padding-left: 0;
}

.section-header.center .section-label::before {
    display: none;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.btn i { font-size: 0.85rem; transition: transform var(--transition-base); }
.btn:hover i { transform: translateX(3px); }

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
}
.btn-primary:hover {
    background: var(--navy-600);
    border-color: var(--navy-600);
    box-shadow: 0 8px 24px rgba(15, 31, 58, 0.3);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
    font-weight: 700;
}
.btn-gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy-800);
    border-color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-500);
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0;
    height: 100%;
    background: var(--gold-500);
    border-radius: 10px;
    animation: loaderFill 1.5s ease forwards;
}

@keyframes loaderFill {
    to { width: 100%; }
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--navy-900);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding: 8px 0;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1001;
    max-height: 50px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.top-bar.hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.6);
}

.top-bar-left a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.top-bar-left a:hover { color: var(--gold-400); }

.top-bar-left i,
.top-bar-right i {
    color: var(--gold-500);
    font-size: 0.72rem;
}

.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-divider {
    color: rgba(255,255,255,0.2);
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 36px; /* sits below top bar */
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    top: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter var(--transition-base);
}

.header.scrolled .logo-img {
    filter: none;
}

.logo-amp {
    color: var(--gold-500);
    margin: 0 2px;
    font-style: italic;
}

.logo-tagline {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-500);
    opacity: 0.85;
}

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav-link:focus-visible,
.nav-cta:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
}

.nav-cta {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-link.active {
    color: var(--gold-400);
}

/* Light header (scrolled) nav & actions */
.header.scrolled .nav-link {
    color: var(--navy-700);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--navy-900);
    background: rgba(10,22,40,0.06);
}

.header.scrolled .nav-link.active {
    color: var(--navy-800);
}

.header.scrolled .header-phone {
    color: var(--navy-700);
}

.header.scrolled .header-phone i {
    color: var(--navy-600);
}

.header.scrolled .nav-toggle span {
    background: var(--navy-800);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.header-phone i {
    color: var(--gold-500);
}

.header-phone:hover {
    color: var(--gold-400);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 999;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(44, 82, 130, 0.15) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    padding: 160px 0 120px; /* extra top for top-bar + header */
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-500);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 8px 24px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    max-width: 680px;
    margin: 0 auto 44px;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
}

.hero-stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-500);
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.12);
}

/* ---------- ABOUT ---------- */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--white);
}

.about-image-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
    color: var(--gold-500);
}

.about-image-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-align: center;
    opacity: 0.5;
    line-height: 1.4;
}

.about-image-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--gold-500);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-image {
    position: relative;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--gold-500);
    color: var(--navy-900);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.about-experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 16px;
}

.about-content p {
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--navy-800);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0 !important;
    line-height: 1.6;
}

/* ---------- PRACTICE AREAS ---------- */
.practice {
    background: var(--navy-900);
    color: var(--white);
    overflow: hidden;
}

.practice .section-label { color: var(--gold-500); }
.practice .section-title { color: var(--white); }
.practice .section-subtitle { color: rgba(255,255,255,0.5); }

.practice-bg {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--gold-500) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--gold-500) 1px, transparent 1px);
    background-size: 80px 80px;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.practice-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.practice-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.practice-card:hover .practice-card-icon {
    background: var(--gold-500);
    color: var(--navy-900);
}

.practice-card-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}

.practice-card-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}

.practice-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-500);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.practice-card-link i {
    transition: transform var(--transition-base);
    font-size: 0.75rem;
}

.practice-card:hover .practice-card-link i {
    transform: translateX(4px);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 0;
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.cta-banner-inner {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    border-radius: var(--radius-xl);
    padding: 60px 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-xl);
    margin: -60px auto 0;
    max-width: var(--container-max);
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.cta-banner-content h2 {
    font-size: 2rem;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.cta-banner-content p {
    color: rgba(10, 22, 40, 0.7);
    font-size: 1.05rem;
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cta-banner .btn-gold {
    background: var(--navy-900);
    color: var(--gold-500);
    border-color: var(--navy-900);
}

.cta-banner .btn-gold:hover {
    background: var(--navy-700);
    border-color: var(--navy-700);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.cta-banner .btn-outline-light {
    border-color: rgba(10, 22, 40, 0.25);
    color: var(--navy-900);
}

.cta-banner .btn-outline-light:hover {
    background: rgba(10, 22, 40, 0.1);
    border-color: var(--navy-900);
}

/* ---------- WHY CHOOSE US ---------- */
.why-us {
    background: var(--cream);
    padding-top: calc(var(--section-padding) + 40px);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
    border: 1px solid transparent;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(201, 168, 76, 0.2);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-500);
    opacity: 0.15;
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--navy-800);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.why-card:hover .why-card-icon {
    background: var(--gold-500);
    color: var(--navy-900);
}

.why-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* B-BBEE Badge */
.bbee-badge {
    text-align: center;
}

.bbee-badge-inner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: var(--white);
    padding: 20px 40px;
    border-radius: 100px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
}

.bbee-badge-inner i {
    font-size: 1.6rem;
    color: var(--gold-500);
}

.bbee-badge-inner strong {
    color: var(--gold-400);
}


/* ---------- HERO TAGLINE ---------- */
.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 20px;
    opacity: 0.85;
}

/* Hero Stat Text (non-animated, like "Level 2") */
.hero-stat-text {
    font-size: 1.8rem !important;
    letter-spacing: 0.02em;
}

/* ---------- FOOTER EXTRA LINKS ---------- */
.footer-extra-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-extra-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-fast);
}

.footer-extra-links a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--gold-500);
    border-color: rgba(201, 168, 76, 0.3);
}

.footer-extra-links a i {
    color: var(--gold-500);
    font-size: 0.85rem;
}

/* ---------- AWARDS BAR ---------- */
.awards-bar {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.awards-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-500);
}

.award-item i {
    font-size: 2rem;
    color: var(--gold-500);
}

.award-item span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-800);
    line-height: 1.3;
}

.award-item small {
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.78rem;
}

/* ---------- CONTACT ---------- */
.contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
}

.contact-info p {
    margin-bottom: 40px;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--navy-800);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 2px;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-detail a {
    color: var(--navy-500);
}

.contact-detail a:hover {
    color: var(--gold-500);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition-base);
}

.contact-social a:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--gold-500);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-800);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy-500);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form .btn-block {
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 16px;
}

.form-note i {
    margin-right: 4px;
    color: var(--gold-500);
}

/* ---------- MAP ---------- */
.map-section {
    height: 420px;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: saturate(0.85) contrast(1.05);
    transition: filter var(--transition-base);
}

.map-section:hover iframe {
    filter: saturate(1) contrast(1);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-about p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--navy-900);
}

.footer-links h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.footer-links a {
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-500);
    padding-left: 6px;
}

.footer-contact-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-contact-list a,
.footer-contact-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition-fast);
}

.footer-contact-list a:hover { color: var(--gold-400); }

.footer-contact-list i {
    color: var(--gold-500);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--gold-500);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--gold-500);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-500);
    color: var(--navy-900);
    transform: translateY(-4px);
}

/* ---------- ANIMATIONS ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .nav { display: none; }
    .nav-toggle { display: flex; }
    .header-phone { display: none; }
    .header-cta { display: none; }

    .nav.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy-900);
        padding: 100px 32px 40px;
        z-index: 998;
        overflow-y: auto;
    }

    .nav.open .nav-cta {
        display: flex;
        width: 100%;
        max-width: 380px;
        margin: 0 auto 32px;
    }

    .nav.open .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .nav.open .nav-link {
        font-size: 1.3rem;
        font-family: var(--font-heading);
        padding: 12px 32px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        gap: 48px;
    }

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

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

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

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 44px 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-stats {
        gap: 24px;
    }

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

    .hero-stat-number {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-experience-badge {
        right: 0;
    }

    .awards-grid {
        justify-content: center;
        gap: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .practice-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 48px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner-actions .btn {
        width: 100%;
    }

    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .bbee-badge-inner {
        padding: 16px 24px;
        font-size: 0.85rem;
    }
}

/* ============================================================
   UPGRADED DEMO — Additional Sections & Components
   ============================================================ */

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-300));
    width: 0%;
    transition: width 0.1s linear;
    z-index: 9999;
}

/* ---------- LOADER EMBLEM ---------- */
.loader-emblem {
    width: auto;
    height: auto;
    margin: 0 auto 20px;
    animation: loaderPulse 2s ease-in-out infinite;
}

.loader-logo {
    height: 44px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ---------- HERO SCROLL INDICATOR ---------- */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    45% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    55% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- FORM IMPROVEMENTS ---------- */
.form-error {
    display: block;
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 5px;
    min-height: 18px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-group input.valid,
.form-group textarea.valid {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.07);
}

.form-char-count {
    text-align: right;
    font-size: 0.73rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 64px 32px;
}

.form-success-icon {
    font-size: 3.5rem;
    color: #16a34a;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto;
}

/* ---------- POPIA NOTICE ---------- */
.popia-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    transform: translateY(100%);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
}

.popia-notice.visible {
    transform: translateY(0);
}

.popia-notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 24px;
    flex-wrap: wrap;
}

.popia-notice-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.popia-notice-content i {
    color: var(--gold-500);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.popia-notice-content p {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
}

.popia-notice-content a {
    color: var(--gold-400);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.popia-notice-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.popia-decline {
    background: none;
    border: none;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 8px;
    transition: color var(--transition-fast);
}

.popia-decline:hover {
    color: rgba(255,255,255,0.65);
}

/* ---------- FOOTER CONTACT QUICK ---------- */
.footer-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.footer-contact-quick a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition-fast);
}

.footer-contact-quick a i {
    color: var(--gold-500);
    width: 14px;
    text-align: center;
}

.footer-contact-quick a:hover {
    color: var(--gold-400);
}

/* ---------- RESPONSIVE ADDITIONS ---------- */
@media (max-width: 768px) {
    .popia-notice-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hero-scroll {
        display: none;
    }
}

/* Top bar responsive */
@media (max-width: 768px) {
    .top-bar-right { display: none; }
    .top-bar-left { flex-wrap: wrap; gap: 8px; }
    .top-bar-divider { display: none; }
}
