/* ===================================================
   LL SHADRACH ATTORNEYS — Liquid Glass Design System
   Colors sampled from the brand logo:
   - Navy: #283853     (logo "S" face)
   - Orange: #E58D31   (logo top face)
   - Teal:  #5BB4C4    (logo left face)
   =================================================== */

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F7F9;
    --bg-dark: #283853;

    --text-primary: #283853;
    --text-secondary: #4A5D67;

    --accent-gold: #E58D31;
    --accent-orange: #cd7e2b;
    --accent-teal: #5BB4C4;
    --accent-teal-dark: #3E8A96;

    /* Liquid Glass tokens */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.72);
    --glass-bg-dark: rgba(40, 56, 83, 0.55);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-border-soft: rgba(255, 255, 255, 0.35);
    --glass-stroke: rgba(40, 56, 83, 0.08);
    --glass-blur: 22px;
    --glass-saturate: 160%;
    --glass-shadow: 0 20px 60px -20px rgba(40, 56, 83, 0.25),
                    0 8px 24px -12px rgba(40, 56, 83, 0.18),
                    inset 0 1px 0 rgba(255, 255, 255, 0.55);
    --glass-shadow-hover: 0 30px 80px -25px rgba(40, 56, 83, 0.35),
                          0 12px 32px -14px rgba(229, 141, 49, 0.25),
                          inset 0 1px 0 rgba(255, 255, 255, 0.7);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 90px;
    --section-padding: 100px 0;
    --container-width: 1300px;

    --ease-glass: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --transition: all 0.6s var(--ease-glass);
    --border-fine: 1px solid rgba(40, 56, 83, 0.08);
    --btn-radius: 50px;
    --radius-glass: 24px;
    --radius-glass-sm: 16px;
}

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

/* Visually hidden but accessible to screen readers / SEO */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    background: var(--bg-dark, #283853);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--accent-gold, #E58D31);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Hint to compositor that we're doing lots of blurring/transforms */
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    background-color: #F8FBFD;
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* --- LIQUID GLASS BACKDROP --- */
/* Animated orbs sit on a fixed layer behind every section so the
   glass surfaces above have something colorful to refract. */
.liquid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, #FAFCFE 0%, #EEF5F8 100%);
}

.liquid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
    transition: transform 0.4s linear;
}

.liquid-orb--gold {
    width: 520px;
    height: 520px;
    left: -120px;
    top: -100px;
    background: radial-gradient(circle, #E58D31 0%, rgba(229, 141, 49, 0) 70%);
    animation: orbDrift1 22s ease-in-out infinite;
}

.liquid-orb--teal {
    width: 600px;
    height: 600px;
    right: -180px;
    top: 30vh;
    background: radial-gradient(circle, #5BB4C4 0%, rgba(91, 180, 196, 0) 70%);
    animation: orbDrift2 28s ease-in-out infinite;
}

.liquid-orb--navy {
    width: 480px;
    height: 480px;
    left: 30%;
    bottom: -160px;
    background: radial-gradient(circle, #283853 0%, rgba(40, 56, 83, 0) 70%);
    opacity: 0.35;
    animation: orbDrift3 32s ease-in-out infinite;
}

.liquid-orb--gold-2 {
    width: 360px;
    height: 360px;
    right: 20%;
    bottom: 10vh;
    background: radial-gradient(circle, #E58D31 0%, rgba(229, 141, 49, 0) 70%);
    opacity: 0.4;
    animation: orbDrift4 26s ease-in-out infinite;
}

/* Use the standalone `translate`/`scale` properties so they compose with
   `transform` (which JS uses for scroll/mouse parallax) instead of overwriting it. */
@keyframes orbDrift1 {
    0%, 100% { translate: 0 0; scale: 1; }
    33%      { translate: 80px 60px; scale: 1.1; }
    66%      { translate: -40px 100px; scale: 0.95; }
}

@keyframes orbDrift2 {
    0%, 100% { translate: 0 0; scale: 1; }
    50%      { translate: -120px 80px; scale: 1.15; }
}

@keyframes orbDrift3 {
    0%, 100% { translate: 0 0; scale: 1; }
    50%      { translate: 100px -60px; scale: 1.1; }
}

@keyframes orbDrift4 {
    0%, 100% { translate: 0 0; scale: 1; }
    50%      { translate: -80px -40px; scale: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
    .liquid-orb {
        animation: none !important;
    }
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

main, footer {
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.bg-alt {
    background: transparent;
    position: relative;
}

.bg-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(244, 247, 249, 0.5) 30%,
        rgba(244, 247, 249, 0.5) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.bg-alt > * {
    position: relative;
    z-index: 1;
}

/* --- ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(6px);
    transition: opacity 1.1s var(--ease-glass),
                transform 1.1s var(--ease-spring),
                filter 1.1s var(--ease-glass);
    transition-delay: 0.05s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* --- GLASS SURFACE PRIMITIVE --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-glass);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s var(--ease-glass),
                box-shadow 0.6s var(--ease-glass),
                border-color 0.6s var(--ease-glass);
}

/* Specular top highlight — the signature liquid glass sheen */
.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.3) 100%
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.glass:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--glass-border);
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow:
        0 0 10px rgba(91, 180, 196, 0.5),
        0 0 20px rgba(229, 141, 49, 0.3);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(231, 181, 109, 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(231, 181, 109, 0.3);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- LIQUID GLASS HERO --- */
.hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    padding: calc(var(--nav-height) + 50px) 5% 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 0 60px 0 4%;
    z-index: 2;
    position: relative;
}

.hero-content .accent-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 5.8rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    letter-spacing: -0.045em;
    position: relative;
    z-index: 5;
}

.hero h1 .typewriter {
    display: inline-block;
    vertical-align: baseline;
    min-width: 1ch;
}

.hero p {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    max-width: 480px;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
    z-index: 5;
}

.cta-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-symbol {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 3%;
}

.hero-symbol-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 40px 80px -20px rgba(40, 56, 83, 0.25),
        0 10px 30px -10px rgba(229, 141, 49, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.7);
    animation: float 8s ease-in-out infinite;
}

.hero-symbol-wrap::before {
    content: '';
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(229, 141, 49, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(91, 180, 196, 0.22) 0%, transparent 50%);
    filter: blur(30px);
    pointer-events: none;
    z-index: -1;
    animation: orbDrift2 14s ease-in-out infinite;
}

.hero-symbol-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0) 40%
    );
    pointer-events: none;
}

.hero-symbol img {
    position: relative;
    width: 72%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(40, 56, 83, 0.25));
    z-index: 1;
}

/* --- TYPEWRITER ANIMATION --- */
.typewriter {
    display: block;
    min-height: 0.85em;
    color: var(--accent-gold);
    border-right: 3px solid var(--accent-gold);
    padding-right: 4px;
    animation: blink-caret .75s step-end infinite;
}

.typewriter.done {
    border-right-color: transparent;
    animation: none;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-gold) }
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

h1 {
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

.accent-text {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 800;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1.5rem;
}

/* --- LIQUID GLASS BUTTONS --- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    border-radius: var(--btn-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.5s var(--ease-glass),
                box-shadow 0.5s var(--ease-glass),
                background 0.5s var(--ease-glass),
                color 0.5s var(--ease-glass);
    cursor: pointer;
    border: 1px solid transparent;
    gap: 12px;
    text-decoration: none;
    letter-spacing: 0.05em;
    overflow: hidden;
    isolation: isolate;
}

/* Sheen sweep on hover — the liquid glass shimmer */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.8s var(--ease-glass);
    pointer-events: none;
    z-index: 2;
}

.btn:hover::after {
    left: 120%;
}

.btn-gold {
    background: linear-gradient(135deg, #F4A24A 0%, var(--accent-gold) 50%, var(--accent-orange) 100%);
    color: var(--bg-dark);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 10px 30px -8px rgba(229, 141, 49, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px -10px rgba(229, 141, 49, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Glass teal — translucent button with backdrop blur */
.btn-nav-teal {
    background: linear-gradient(135deg, rgba(91, 180, 196, 0.9) 0%, rgba(62, 138, 150, 0.95) 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    padding: 14px 28px !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.15em;
    box-shadow:
        0 8px 24px -6px rgba(91, 180, 196, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-nav-teal:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow:
        0 14px 32px -8px rgba(62, 138, 150, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 56, 83, 0.25);
    color: var(--bg-dark);
}

.btn-outline:hover {
    background-color: var(--bg-dark);
    color: #fff;
    transform: translateY(-4px);
    border-color: var(--bg-dark);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-4px);
}

/* --- LIQUID GLASS NAV --- */
.glass-header {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1400px;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    display: flex;
    align-items: center;
    transition: height 0.5s var(--ease-glass),
                background 0.5s var(--ease-glass),
                box-shadow 0.5s var(--ease-glass),
                top 0.5s var(--ease-glass);
    box-shadow:
        0 20px 50px -20px rgba(40, 56, 83, 0.25),
        0 8px 20px -10px rgba(40, 56, 83, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.glass-header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    pointer-events: none;
}

.glass-header.scrolled {
    height: 68px;
    top: 10px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow:
        0 24px 60px -22px rgba(40, 56, 83, 0.3),
        0 10px 24px -12px rgba(40, 56, 83, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.glass-header.scrolled .logo img {
    height: 45px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Remove default button padding in nav */
.nav-links li:last-child a.btn {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.mobile-menu-btn {
    display: none;
    width: 45px;
    height: 45px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

.close-menu-item {
    display: none;
}

.close-menu-btn {
    display: none;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION (extended) --- */
.hero-content h1 {
    margin-bottom: 2rem;
    animation: slide-in-bottom 1.2s ease-out;
}

.hero-content .hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-family: var(--font-heading);
    font-style: italic;
    animation: slide-in-bottom 1.2s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    animation: slide-in-bottom 1.2s ease-out 0.4s both;
}

/* --- PAGE HERO (Glass) --- */
.page-hero {
    background:
        radial-gradient(circle at 12% 30%, rgba(91, 180, 196, 0.45) 0%, transparent 50%),
        radial-gradient(circle at 88% 75%, rgba(229, 141, 49, 0.45) 0%, transparent 50%),
        linear-gradient(135deg, rgba(40, 56, 83, 0.92) 0%, rgba(40, 56, 83, 0.85) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 240px 0 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(91, 180, 196, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 20% 90%, rgba(229, 141, 49, 0.18) 0%, transparent 40%);
    pointer-events: none;
    animation: orbDrift1 30s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-teal), var(--accent-gold));
    border-radius: 2px;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero .accent-text {
    color: var(--accent-gold);
}

.page-hero h1 {
    color: var(--bg-primary);
    margin: 0;
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.03em;
}

.page-hero h1 span {
    color: var(--accent-gold);
    font-weight: 300;
}

.page-hero p {
    color: rgba(248, 250, 252, 0.75);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 2rem auto 0;
    font-family: var(--font-heading);
    font-style: italic;
    line-height: 1.5;
}

/* --- RECOGNITION / MEMBERSHIPS STRIP (Glass) --- */
.recognition-strip {
    background: rgba(40, 56, 83, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    color: #fff;
    padding: 38px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 40px -20px rgba(40, 56, 83, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.recognition-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(229, 141, 49, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 85% 50%, rgba(91, 180, 196, 0.18) 0%, transparent 45%);
    pointer-events: none;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
    align-items: start;
}

.recognition-item {
    text-align: center;
    padding: 0.5rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.recognition-item:last-child {
    border-right: none;
}

.recognition-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.recognition-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.recognition-subvalue {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.25rem;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 992px) {
    .recognition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
    }
    .recognition-item {
        border-right: none;
    }
    .recognition-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 560px) {
    .recognition-grid {
        grid-template-columns: 1fr;
    }
    .recognition-item:nth-child(odd) {
        border-right: none;
    }
    .recognition-item {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .recognition-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    padding: 2.8rem 2.4rem;
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-glass-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    text-align: left;
    box-shadow: var(--glass-shadow);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold), var(--accent-teal));
    z-index: 2;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(229, 141, 49, 0.18) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.8s var(--ease-glass);
}

.stat-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: var(--glass-shadow-hover);
}

.stat-item:hover::after {
    transform: scale(1.5) translate(-10px, 10px);
}

.stat-number {
    font-size: 4.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
}

/* --- EXPERTISE GRID --- */
.text-gold { color: var(--accent-gold) !important; }
.text-light { color: rgba(2, 48, 71, 0.05) !important; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: transparent;
}

.service-card {
    padding: 60px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-glass);
    position: relative;
    transition: transform 0.6s var(--ease-glass),
                box-shadow 0.6s var(--ease-glass),
                border-color 0.6s var(--ease-glass);
    display: flex;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--glass-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0) 40%
    );
    pointer-events: none;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--glass-border);
}

.service-card-featured {
    background: linear-gradient(135deg, rgba(40, 56, 83, 0.92) 0%, rgba(40, 56, 83, 0.85) 100%);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    color: #fff;
    transform: scale(1.04);
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 30px 80px -20px rgba(40, 56, 83, 0.45),
        0 10px 30px -10px rgba(229, 141, 49, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.service-card-featured::before {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 50%
    );
}

.service-card-featured:hover {
    transform: scale(1.04) translateY(-10px);
}

.service-card-accent {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(142, 202, 230, 0.15);
    border-radius: 8px;
    z-index: -1;
}

.service-card-featured .service-card-accent {
    background: rgba(255, 255, 255, 0.05);
}

.service-number {
    font-size: 7rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 3rem;
    letter-spacing: -0.05em;
    opacity: 0.6;
}

.service-card-featured .service-number {
    color: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 3rem;
}

.service-card-featured .service-icon {
    color: var(--accent-gold);
}

.service-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: inherit;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    flex-grow: 1;
}

.service-card-featured p {
    color: rgba(255, 255, 255, 0.7);
}

.learn-more {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.service-card-featured .learn-more {
    color: #fff;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.learn-more:hover::after {
    width: 100%;
}

/* --- Premium FAQ Accordion V2 --- */
.section-dark {
    background: #023652; /* Refined Prussian Blue */
    color: #fff;
}

.section-dark-alt {
    background: #011627; /* Distinct deep black-blue for contrast */
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-dark-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 183, 3, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Force visibility of headings on dark backgrounds */
.section-dark .section-header h2,
.section-dark-alt .section-header h2 {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    color: #ffffff !important;
    letter-spacing: -0.04em;
    margin-bottom: 4.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.section-dark .accent-text,
.section-dark-alt .accent-text {
    font-size: 1rem;
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
    color: var(--accent-gold) !important;
}

.faq-container-v2 {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-glass-sm);
    margin-bottom: 1rem;
    padding: 0 2rem;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 8px 24px -10px rgba(40, 56, 83, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px rgba(40, 56, 83, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.accordion-item.active {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(229, 141, 49, 0.4);
}

.accordion-header {
    width: 100%;
    padding: 2.5rem 0; /* Reduced from 3rem */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    gap: 3rem;
    font-family: var(--font-heading);
}

.accordion-header h4 {
    margin: 0;
    font-size: 1.4rem; /* Adjusted from 1.5rem */
    font-weight: 500;
    transition: var(--transition);
    color: inherit; /* Use parent color */
    letter-spacing: -0.01em;
}

/* Light Background Context (Default) */
.accordion-header { color: var(--text-primary); }

/* Dark Background Context Overrides */
.section-dark .accordion-header,
.section-dark-alt .accordion-header {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.section-dark .accordion-header h4,
.section-dark-alt .accordion-header h4 {
    color: #fff;
}

.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-gold);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Horizontal line (seen in both + and -) */
.accordion-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical line (seen only in +) */
.accordion-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Transform to minus when active */
.accordion-item.active .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-item.active .accordion-header h4 {
    color: var(--accent-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 0 3rem 5.5rem; /* Aligned with larger gap */
    color: var(--text-secondary); /* Dark grey-blue for light context */
    line-height: 1.8;
    font-size: 1.1rem;
}

.section-dark .accordion-body,
.section-dark-alt .accordion-body {
    color: rgba(255, 255, 255, 0.7); /* Lighter for dark context */
}

@media (max-width: 768px) {
    .accordion-header {
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .accordion-body {
        padding-left: 3.5rem;
    }
}

/* --- LIQUID GLASS CONTACT --- */
.contact-v2 {
    background: transparent;
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    color: var(--text-primary);
}

.contact-glow {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229, 141, 49, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.contact-v2-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10rem;
    position: relative;
    z-index: 1;
    align-items: center;
}

.contact-v2-left h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    color: var(--text-primary);
    margin-bottom: 3.5rem;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.contact-v2-left h1 span {
    color: var(--accent-gold);
    display: block;
    font-weight: 300;
}

.contact-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 5rem;
}

.contact-checklist li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.contact-checklist i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.contact-v2-direct .email-link {
    font-size: 1.6rem;
    color: var(--text-primary);
    text-decoration: none;
    background-image: linear-gradient(var(--accent-gold), var(--accent-gold));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.4s ease;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.contact-v2-direct .email-link:hover {
    background-size: 100% 2px;
}

.contact-info-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    padding: 1.8rem 2.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 3px solid var(--accent-gold);
    margin-bottom: 2rem;
    box-shadow:
        0 16px 40px -16px rgba(40, 56, 83, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 50px -18px rgba(40, 56, 83, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-phone, .contact-phone-link {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem !important;
    letter-spacing: 1px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.contact-phone-link:hover {
    color: var(--accent-gold);
}

.contact-v2-direct p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-pill-outline {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-pill-outline:hover {
    background: var(--text-primary);
    color: #fff;
}

/* Liquid Glass Form Panel */
.contact-v2-right {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 4.5rem;
    box-shadow:
        0 40px 90px -20px rgba(40, 56, 83, 0.25),
        0 15px 35px -12px rgba(40, 56, 83, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-v2-right::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 40%
    );
    pointer-events: none;
}

.contact-v2-right > * {
    position: relative;
    z-index: 1;
}

.form-group-v2 {
    margin-bottom: 3rem;
    position: relative;
}

.form-group-v2 label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group-v2 input,
.form-group-v2 select,
.form-group-v2 textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(40, 56, 83, 0.1);
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.5s var(--ease-glass);
    appearance: none;
    font-family: var(--font-body);
}

.form-group-v2 input:focus,
.form-group-v2 select:focus,
.form-group-v2 textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--accent-gold);
    box-shadow:
        0 0 0 4px rgba(229, 141, 49, 0.15),
        0 8px 24px -8px rgba(229, 141, 49, 0.25);
    transform: translateY(-1px);
}

.btn-pill-dark {
    background: var(--bg-dark);
    color: #fff;
    padding: 22px 30px;
    border-radius: var(--btn-radius);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pill-dark:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- DOWNLOADS PAGE --- */
.downloads-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-glass-sm);
    padding: 2rem 2.4rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold), var(--accent-teal));
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 255, 255, 0.7);
}

.download-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    color: #fff;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.download-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.download-meta {
    font-size: 0.78rem;
    color: var(--accent-teal);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.download-meta i {
    margin-right: 0.3rem;
    color: var(--accent-gold);
}

.download-btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 130px;
    text-align: center;
}

@media (max-width: 640px) {
    .download-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .download-btn {
        width: 100%;
    }
}

/* --- CTA BANNER --- */
.cta-banner {
    background-color: var(--bg-secondary);
    background-image: linear-gradient(to bottom, #fff, transparent 150px);
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--text-primary);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-family: var(--font-body);
}

/* --- FOOTER (Glass) --- */
.footer {
    background:
        radial-gradient(circle at 15% 20%, rgba(91, 180, 196, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(229, 141, 49, 0.20) 0%, transparent 45%),
        linear-gradient(180deg, rgba(40, 56, 83, 0.95) 0%, rgba(40, 56, 83, 1) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: var(--bg-primary);
    padding: 60px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(229, 141, 49, 0.5) 25%,
        rgba(91, 180, 196, 0.5) 75%,
        transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1.5fr;
    gap: 3.5rem;
    padding: 30px 0 50px;
    align-items: start;
}

.footer-brand .logo img {
    height: 55px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 0.8rem;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: flex-start; /* Default */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(91, 180, 196, 0.3);
}

.footer-map iframe {
    border-radius: 12px;
    height: 220px;
    width: 100%;
    filter: grayscale(0.2) brightness(0.95);
    transition: var(--transition);
}

.footer-map iframe:hover {
    filter: grayscale(0) brightness(1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-contact-info {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1.5rem;
    line-height: 1.8;
}

.footer-contact-info p {
    margin-bottom: 0.5rem;
}

.footer-contact-info a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-info a:hover {
    color: var(--accent-gold);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    :root {
        --container-width: 90%;
    }

    .contact-grid {
        gap: 5rem;
    }
}

@media (max-width: 992px) {

    .hero,
    .hero-grid,
    .about-grid,
    .contact-grid,
    .contact-v2-container,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 30px) 5% 60px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content .accent-text,
    .hero p,
    .hero h1 {
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-symbol {
        order: -1;
        padding-right: 0;
    }

    .hero-symbol-wrap {
        max-width: 280px;
    }

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

    .social-links {
        justify-content: center;
    }

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

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        padding: 80px 5%;
        z-index: 999;
        gap: 2rem;
        text-align: center;
        justify-content: center;
        animation: fadeInGlass 0.5s var(--ease-glass);
    }

    @keyframes fadeInGlass {
        from { opacity: 0; backdrop-filter: blur(0) saturate(100%); }
        to { opacity: 1; backdrop-filter: blur(30px) saturate(180%); }
    }

    .close-menu-item {
        display: block;
        position: static;
        list-style: none;
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 3rem;
        cursor: pointer;
        z-index: 1002;
    }

    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 25px;
        right: 20px;
        z-index: 1001;
    }

    .hero-symbol img {
        width: 100%;
        max-width: 350px;
    }

    .brand-protection-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    body {
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .contact-v2-right {
        padding: 3rem 2rem;
        border-radius: 24px;
    }

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

    h1 {
        font-size: 3rem;
    }

    .hero-content .accent-text {
        font-size: 0.85rem;
        letter-spacing: 0.15em;
    }

    h2 {
        font-size: 2.8rem;
    }

    .section {
        padding: 60px 0;
    }

    /* Nav pill: smaller side margins on phones */
    .glass-header {
        top: 10px;
        width: calc(100% - 16px);
        height: 64px;
        border-radius: 999px;
    }

    .glass-header.scrolled {
        height: 56px;
        top: 8px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo img {
        height: 42px;
    }

    .glass-header.scrolled .logo img {
        height: 36px;
    }

    /* Hero adjustments */
    :root { --nav-height: 70px; }

    .hero {
        padding: calc(var(--nav-height) + 40px) 5% 50px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 9vw, 3.2rem);
        line-height: 1.05;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-symbol-wrap {
        max-width: 240px;
    }

    /* CTA group: full-width stacked buttons */
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.9rem;
    }

    .cta-group .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }

    /* Recognition strip — already collapses but tighten spacing */
    .recognition-strip {
        padding: 28px 0;
    }

    .recognition-value {
        font-size: 1rem;
    }

    /* Service cards: comfortable padding on phones */
    .service-card {
        padding: 44px 28px;
    }

    .service-card-featured {
        transform: none;
    }

    .service-card-featured:hover {
        transform: translateY(-10px);
    }

    .service-number {
        font-size: 5rem;
    }

    /* Stat cards full-width readable */
    .stat-item {
        padding: 2.2rem 1.8rem;
    }

    .stat-number {
        font-size: 3.4rem;
    }

    /* Contact section: tighter padding */
    .contact-v2 {
        padding: 80px 0;
    }

    .contact-v2-left h1 {
        font-size: clamp(2.4rem, 8vw, 3rem);
    }

    /* Page hero subpages */
    .page-hero {
        padding: 180px 0 90px;
    }

    /* Mobile menu: bigger tap targets */
    .nav-links.active a {
        font-size: 1.1rem;
        padding: 1rem 0;
    }

    /* Footer */
    .footer-grid {
        gap: 2.5rem;
        padding: 20px 0 30px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    /* FAQ items — touch friendly */
    .accordion-header {
        padding: 1.6rem 0;
    }

    .faq-card-header {
        padding: 1.6rem;
    }

    /* Ensure every interactive surface is min 44x44 touch target */
    .btn,
    .accordion-header,
    .faq-card-header,
    .faq-filter-btn,
    .social-icon,
    .nav-links a {
        min-height: 44px;
    }

    /* Form inputs — easier to tap, prevent iOS zoom (font-size >= 16px) */
    .form-group-v2 input,
    .form-group-v2 select,
    .form-group-v2 textarea {
        font-size: 16px;
        padding: 16px 18px;
    }

    /* Map iframe shorter on phones */
    .footer-map iframe {
        height: 180px;
    }
}

/* --- Tiny phones --- */
@media (max-width: 420px) {
    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.6rem);
    }

    .recognition-grid {
        gap: 1.8rem;
    }

    .service-card {
        padding: 36px 22px;
    }

    .contact-v2-right {
        padding: 2.4rem 1.6rem;
    }
}

/* --- Mobile/Tablet perf: reduce expensive glass effects ---
   Backdrop-filter and large blurred orbs hammer the GPU on lower-end
   phones. Trim down on smaller viewports + coarse-pointer devices. */
@media (max-width: 768px) {
    :root {
        --glass-blur: 14px;
        --glass-saturate: 140%;
    }

    /* Fewer orbs visible on mobile + lighter blur for cheaper compositing */
    .liquid-orb {
        filter: blur(60px);
        opacity: 0.45;
    }

    .liquid-orb--navy,
    .liquid-orb--gold-2 {
        display: none;
    }

    /* Disable parallax/drift animations that don't add value at this scale */
    .liquid-orb {
        animation-duration: 40s;
    }
}

/* Devices that can't render backdrop-filter cleanly — graceful fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass-header,
    .service-card,
    .stat-item,
    .value-item,
    .contact-v2-right,
    .contact-info-card,
    .faq-topic-card,
    .accordion-item {
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .recognition-strip,
    .page-hero,
    .footer {
        background: var(--bg-dark) !important;
    }
}

/* --- SERVICE SUBGROUPS & ALIGNMENT --- */
.desc-detailed {
    min-height: 6.4rem;
    margin-bottom: 2.5rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.expand-toggle {
    background: transparent;
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: var(--accent-gold);
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    width: fit-content;
}

.expand-toggle:hover {
    background: rgba(255, 183, 3, 0.05);
    border-color: var(--accent-gold);
}

.expand-toggle i {
    font-size: 0.7rem;
    transition: transform 0.4s ease;
}

.expand-toggle.is-active i {
    transform: rotate(45deg); /* Plus to X / rotate chevron if used */
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 183, 3, 0.1);
    padding-left: 0;
}

.expandable-content.is-expanded {
    max-height: 1500px;
    opacity: 1;
    padding-left: 2rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.service-subgroups {
    text-align: left;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.subgroup h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: block;
    border-bottom: 1px solid rgba(255, 183, 3, 0.1);
    padding-bottom: 0.5rem;
}

.subgroup.spacer {
    min-height: 80px; /* Maintains vertical rhythm for shorter cards */
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.service-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

.service-card .btn-outline {
    margin-top: 3rem;
    width: 100%;
    text-align: center;
    border: 1px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
    padding: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.service-card .btn-outline:hover {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

.btn-teal {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--accent-teal);
    border-radius: var(--btn-radius);
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-teal:hover {
    background: var(--accent-teal-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(91, 180, 196, 0.2);
}

/* --- SERVICE-CARD BUTTON ALIGNMENT ---
   All cards share the same vertical rhythm: description (clamped min-height),
   then the gold "View Practice Areas" toggle, then the teal FAQ button pinned
   to the bottom. Both buttons fill the card width and never wrap. */
.service-card .expand-toggle {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 0.85rem 1.4rem;
    font-size: 0.72rem;
    letter-spacing: 1.6px;
    white-space: nowrap;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    line-height: 1;
    min-height: 44px;
}

.service-card .expand-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card .btn-teal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    padding: 0.95rem 1.5rem;
    font-size: 0.78rem;
    letter-spacing: 1.6px;
    white-space: nowrap;
    line-height: 1;
    min-height: 48px;
}

/* Featured card sits on dark glass — keep its toggle legible */
.service-card-featured .expand-toggle {
    border-color: rgba(229, 141, 49, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.service-card-featured .expand-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

/* --- ADDITIONAL UTILITIES --- */
.brand-protection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* --- VALUES GRID --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: left;
}

.value-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    padding: 3rem 2.5rem;
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-glass);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-gold), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-glass);
    z-index: 2;
}

.value-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0) 40%
    );
    pointer-events: none;
    z-index: 0;
}

.value-item > * {
    position: relative;
    z-index: 1;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 255, 255, 0.7);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(229, 141, 49, 0.1) 0%, rgba(91, 180, 196, 0.1) 100%);
    border-radius: 12px;
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 1.8rem;
}

.value-item h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===================================================
   PREMIUM CATEGORIZED FAQ (V2)
   =================================================== */

.faq-v2-section {
    background-color: transparent;
    position: relative;
    padding: 100px 0;
    color: var(--text-primary);
}

.faq-v2-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Topic Filter Navigation */
.faq-filter-nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 0;
}

.faq-filter-btn {
    background: rgba(40, 56, 83, 0.05);
    border: 1px solid rgba(40, 56, 83, 0.1);
    padding: 14px 28px;
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.faq-filter-btn:hover {
    background: rgba(40, 56, 83, 0.1);
    color: var(--text-primary);
    border-color: rgba(40, 56, 83, 0.2);
}

.faq-filter-btn.active {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(91, 180, 196, 0.3);
}

/* Category Tiles */
.faq-topic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.faq-topic-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border-soft);
    border-radius: var(--radius-glass);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
    position: relative;
}

.faq-topic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0) 45%
    );
    pointer-events: none;
    z-index: 0;
}

.faq-topic-card > * {
    position: relative;
    z-index: 1;
}

.faq-topic-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 141, 49, 0.5);
    box-shadow: var(--glass-shadow-hover);
}

.faq-topic-card.active {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--accent-gold);
}

.faq-card-header {
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-card-icon {
    font-size: 1.5rem;
    color: var(--accent-teal);
    background: rgba(91, 180, 196, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 1.5rem;
}

.faq-topic-card.active .faq-card-icon {
    background: var(--text-primary);
    color: #fff;
}

.faq-card-info {
    flex-grow: 1;
}

.faq-card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.faq-question-count {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    background: rgba(229, 141, 49, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.faq-card-arrow {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.4s ease;
}

.faq-topic-card.active .faq-card-arrow {
    transform: rotate(180deg);
}

/* Nested Questions List */
.faq-nested-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(40, 56, 83, 0.02);
}

.faq-questions-inner {
    padding: 0 3rem 3rem 3rem;
}

/* Individual Accordion Items (V2) */
.faq-item-v2 {
    border-bottom: 1px solid rgba(40, 56, 83, 0.08);
    margin-bottom: 1rem;
}

.faq-item-v2:last-child {
    border-bottom: none;
}

.faq-item-header {
    width: 100%;
    padding: 2rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-item-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 2rem;
}

.faq-item-toggle {
    width: 32px;
    height: 32px;
    background: rgba(40, 56, 83, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent-gold);
    transition: var(--transition);
}

.faq-item-v2.active .faq-item-toggle {
    background: var(--text-primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item-answer {
    padding-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Topic Specific Accents */
.faq-topic-card[data-topic="brand-protection"] .faq-question-count { color: #8ECAE6; background: rgba(142, 202, 230, 0.1); }
.faq-topic-card[data-topic="copyright"] .faq-question-count { color: #219EBC; background: rgba(33, 158, 188, 0.1); }
.faq-topic-card[data-topic="patents"] .faq-question-count { color: #00B4D8; background: rgba(0, 180, 216, 0.1); }

@media (max-width: 768px) {
    .faq-card-header {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .faq-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .faq-questions-inner {
        padding: 0 2rem 2rem 2rem;
    }
    
    .faq-item-header h4 {
        font-size: 1.1rem;
    }
}
