/* =====================================================================
   ALISCA LAW — Shared Stylesheet
   ---------------------------------------------------------------------
   This file is shared by every page on the site. The benefit: tweak a
   color or font here and it updates EVERYWHERE. No copy-paste.
   ===================================================================== */

/* =============================================================
   1. DESIGN TOKENS — change these to retheme the entire site.
   ============================================================= */
:root {
    --navy: #1a2332;
    --navy-light: #243044;
    --navy-dark: #131c2a;
    --gold: #c9a962;
    --gold-light: #ddc88a;
    --gold-dark: #a8893f;
    --cream: #f8f6f1;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-dark: #374151;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    /* Animation easings — exposed as variables so timing feels consistent */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 200ms;
    --duration-base: 400ms;
    --duration-slow: 800ms;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* clears fixed nav when anchor-jumping */
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--navy);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* prevents horizontal scrollbar from off-screen reveals */
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

/* =============================================================
   3. ANIMATION SYSTEM
   ---------------------------------------------------------------
   Three building blocks driven from JS via IntersectionObserver:
     .reveal       → element fades up into view
     .reveal-fade  → element fades in (no Y motion)
     .stagger      → child elements reveal in sequence
   Add `data-delay="200"` for a custom millisecond delay.
   prefers-reduced-motion users get an instant render — no motion.
   ============================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out);
}
.reveal-fade.in-view { opacity: 1; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}
.reveal-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

.stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in-view > *:nth-child(2) { transition-delay: 100ms; }
.stagger.in-view > *:nth-child(3) { transition-delay: 200ms; }
.stagger.in-view > *:nth-child(4) { transition-delay: 300ms; }
.stagger.in-view > *:nth-child(5) { transition-delay: 400ms; }
.stagger.in-view > *:nth-child(6) { transition-delay: 500ms; }
.stagger.in-view > * {
    opacity: 1;
    transform: translateY(0);
}

/* Animated counter shows a number ticking up — JS handles the math.
   We just need consistent typography here. */
.counter {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: inline-block;
}

/* Subtle parallax effect on hero — slows the background relative to scroll */
.parallax-bg {
    transform: translateY(var(--parallax-y, 0));
    transition: transform 50ms linear;
    will-change: transform;
}

/* Honor user's OS-level "reduce motion" setting */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-fade, .reveal-scale, .stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =============================================================
   4. UTILITY HELPERS
   ============================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}
.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4rem;
}
.text-center { text-align: center; }
.tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* =============================================================
   5. NAVIGATION
   ============================================================= */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 35, 50, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease-out);
}
nav.scrolled {
    background: var(--navy);
    box-shadow: var(--shadow-md);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity var(--duration-fast) var(--ease-out);
}
.logo:hover { opacity: 0.85; }
.logo span { color: var(--gold); }
/* Boxed AL favicon mark removed from the nav per brand direction —
   the wordmark "Alain Alisca" stands alone. The favicon.svg still
   exists for browser tabs but no longer appears in the nav. */

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}
.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.2s var(--ease-out);
    position: relative;
}
.nav-links a::after {
    /* Animated underline that grows on hover & for the active page */
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--navy);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    transition: all 0.2s var(--ease-out);
}
.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,169,98,0.3);
}

/* Animated hamburger icon */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px; height: 40px;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    margin: 5px auto;
    transition: all 0.3s var(--ease-out);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   6. BUTTONS
   ============================================================= */
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 1.1rem 2.75rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    transition: all 0.25s var(--ease-out);
    border: 2px solid var(--gold);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    /* Shine effect on hover — sweeps across the button */
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s var(--ease-out);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 98, 0.45);
}
.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1.1rem 2.75rem;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.2s var(--ease-out);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn-tertiary {
    /* "Learn more →" style ghost link */
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.25s var(--ease-out);
}
.btn-tertiary:hover { gap: 0.85rem; }
.btn-tertiary::after {
    content: '→';
    transition: transform 0.25s var(--ease-out);
}

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    /* The image lives in its own div so we can parallax it without
       affecting the overlay or the content. */
    position: absolute;
    inset: -10% -2% -10% -2%;
    z-index: 0;
    background:
        linear-gradient(135deg, rgba(19, 28, 42, 0.85) 0%, rgba(26, 35, 50, 0.75) 50%, rgba(19, 28, 42, 0.9) 100%),
        url('../img/hero.jpg') center/cover no-repeat;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(ellipse at 80% 20%, rgba(201, 169, 98, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}
.hero-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}
.hero h1 .accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
    display: inline-block;
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
}
.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    margin: 0 auto 3rem;
    font-weight: 300;
    max-width: 680px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
}
.hero-ctas {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s forwards;
}
/* The hero "SCROLL" cue was removed — it overlapped the CTA buttons
   on shorter viewports and added clutter without earning its space. */
.hero-scroll-cue { display: none; }

/* Smaller hero for inner pages — half height with same visual treatment */
.hero-inner {
    min-height: 60vh;
    padding: 9rem 4rem 4rem;
}
.hero-inner h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes bounce-soft {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* =============================================================
   8. TRUST STRIP
   ============================================================= */
.trust-strip {
    background: var(--white);
    padding: 1.5rem 4rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.trust-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--gray-dark);
    font-size: 0.85rem;
    font-weight: 500;
}
.trust-item .trust-icon { color: var(--gold); font-size: 1.1rem; font-weight: 700; }
.trust-item strong { color: var(--navy); font-weight: 700; }

/* =============================================================
   9. INDUSTRIES SERVED STRIP — looks like a "trusted by" logo bar
   even before the user has client logos to show. Each pill links
   to the relevant industry landing page.
   ============================================================= */
.industries {
    padding: 4rem 4rem;
    background: var(--cream);
    text-align: center;
}
.industries-label {
    display: block;
    color: var(--gray);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
}
.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.industries-list a {
    padding: 0.85rem 1.5rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.industries-list a:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gold-dark);
}

/* =============================================================
   10. SERVICES SPLIT (legal + consulting)
   ============================================================= */
.services-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.service-panel {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
}
.service-panel.legal { background: var(--white); }
.service-panel.consulting { background: var(--navy-light); color: var(--white); }

.service-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 2.5rem;
    filter: saturate(0.9);
    transition: filter 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}
.service-panel:hover .service-image {
    filter: saturate(1);
    transform: scale(1.02);
}

.service-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    width: fit-content;
}
.legal .service-badge { background: var(--navy); color: var(--gold); }
.consulting .service-badge { background: var(--gold); color: var(--navy); }

.service-panel h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
.consulting h2 { color: var(--white); }

.service-panel .description {
    font-size: 1rem;
    margin-bottom: 1.75rem;
    max-width: 480px;
}
.legal .description { color: var(--gray); }
.consulting .description { color: var(--gray-light); }

.service-list { list-style: none; margin-bottom: 2rem; }
.service-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: padding-left 0.2s var(--ease-out);
}
.service-list li:hover { padding-left: 0.5rem; }
.consulting .service-list li { border-bottom-color: rgba(255,255,255,0.1); }
.service-list li::before { content: '→'; color: var(--gold); font-weight: 600; }

.entity-note {
    font-size: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.6;
}
.legal .entity-note {
    background: var(--cream);
    color: var(--gray);
    border-left: 3px solid var(--gold);
}
.consulting .entity-note {
    background: rgba(0,0,0,0.2);
    color: var(--gray-light);
    border-left: 3px solid var(--gold);
}

.service-cta {
    display: inline-block;
    padding: 1rem 2.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.25s var(--ease-out);
    width: fit-content;
}
.legal .service-cta { background: var(--navy); color: var(--white); }
.legal .service-cta:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.consulting .service-cta { background: var(--gold); color: var(--navy); }
.consulting .service-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(201,169,98,0.4); }

/* =============================================================
   11. JURISDICTION BAR
   ============================================================= */
.jurisdiction-bar {
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 4rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.jurisdiction-bar strong { font-weight: 700; }

/* =============================================================
   12. STATS BAR (animated counters)
   ============================================================= */
.stats {
    padding: 5rem 4rem;
    background: var(--navy);
    color: var(--white);
}
.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item .counter {
    display: block;
    margin-bottom: 0.5rem;
}
.stat-item .label {
    color: var(--gray-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* =============================================================
   13. DIFFERENTIATORS / VALUE PROPS
   ============================================================= */
.differentiators {
    padding: 7rem 4rem;
    background: var(--white);
    text-align: center;
}
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}
.differentiator {
    padding: 2.5rem 1.75rem;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--cream);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.differentiator::before {
    /* Gold accent bar that grows from left on hover */
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}
.differentiator:hover::before { width: 100%; }
.differentiator:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,169,98,0.3);
}
/* The boxed letter/number badges were removed — the user found them
   tacky. The classes remain in the HTML so we can swap in a different
   visual treatment later (e.g. a thin gold rule) without re-editing
   every page, but right now they render to nothing. */
.differentiator-icon { display: none; }
.differentiator h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--navy); }
.differentiator p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* =============================================================
   14. ABOUT SECTION
   ============================================================= */
.about {
    padding: 7rem 4rem;
    background: var(--cream);
}
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}
.about-image { position: relative; }
.about-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.6s var(--ease-out);
}
.about-image:hover img { transform: translate(-4px, -4px); }
.about-image-fallback {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 2rem;
}
.about-image::before {
    content: '';
    position: absolute;
    top: 20px; left: 20px;
    right: -20px; bottom: -20px;
    border: 2px solid var(--gold);
    z-index: 0;
    transition: all 0.4s var(--ease-out);
}
.about-image:hover::before {
    top: 16px; left: 16px;
    right: -24px; bottom: -24px;
}
.about-content h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
.about-content p { color: var(--gray); margin-bottom: 1.25rem; font-size: 1rem; }

/* Credentials in a single horizontal row on desktop; falls back to
   2x2 on tablet, stacked on mobile. Without icon boxes, the four
   credentials fit comfortably side-by-side. */
.credentials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-top: 2rem;
    align-items: center;
}
.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
}
/* Credential boxes (NY / JD / 7+ / FS) removed — tacky.
   The text ("Licensed NY Attorney (2020)" etc.) carries the meaning. */
.credential-icon { display: none; }
/* With icons gone, give each credential a subtle gold dot accent so
   the row reads as discrete items, not a wall of text. */
.credential::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* =============================================================
   15. FEATURED WORK / CASE STUDIES
   ============================================================= */
.featured-work {
    padding: 7rem 4rem;
    background: var(--navy);
    color: var(--white);
}
.featured-work .section-header h2 { color: var(--white); }

.case-card {
    max-width: 1000px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--navy-light);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.case-card-image {
    /* Switched from `cover` (which was cropping the clapboard) to
       `contain` so the full film marker is always visible. The
       navy-dark backdrop fills any letterboxed space and matches
       the surrounding card. */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--navy-dark);
    min-height: 360px;
    transition: transform 0.6s var(--ease-out);
}
.case-card:hover .case-card-image { transform: scale(1.02); }
.case-card-body { padding: 3rem; }
.case-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.case-card-body h3 { font-size: 1.75rem; margin-bottom: 1rem; color: var(--white); }
.case-card-body p { color: var(--gray-light); margin-bottom: 1.25rem; font-size: 0.95rem; }
.case-result {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.case-result-item .label {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.25rem;
}
.case-result-item .value {
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

/* =============================================================
   16. WHAT YOU GET / DELIVERABLES
   ============================================================= */
.what-you-get { padding: 7rem 4rem; background: var(--white); }
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.deliverable {
    padding: 2rem 1.5rem;
    background: var(--cream);
    border-top: 3px solid var(--gold);
    transition: all 0.3s var(--ease-out);
}
.deliverable:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.deliverable h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--navy); }
.deliverable .timeline {
    font-size: 0.7rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}
.deliverable p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* =============================================================
   17. PRICING TABLE
   ============================================================= */
.pricing { padding: 7rem 4rem; background: var(--cream); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}
.price-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s var(--ease-out);
    position: relative;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold);
}
.price-card.featured {
    border-color: var(--gold);
    border-width: 2px;
    transform: scale(1.02);
}
.price-card.featured::before {
    content: 'Most Common';
    position: absolute;
    top: 0;
    right: 1.5rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(-50%);
}
.price-card h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1;
}
.price-amount small {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}
.price-period {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.price-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
}
.price-features li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.price-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* =============================================================
   18. FAQ ACCORDION
   ============================================================= */
.faq { padding: 7rem 4rem; background: var(--cream); }
.faq-list { max-width: 800px; margin: 4rem auto 0; }
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: padding 0.25s var(--ease-out);
}
.faq-item.open { padding-bottom: 0.5rem; }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s var(--ease-out);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question .icon {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out);
}
.faq-answer-inner {
    padding: 0 0 1.5rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* =============================================================
   19. INSIGHTS / BLOG TEASER (authority signal)
   ============================================================= */
.insights {
    padding: 7rem 4rem;
    background: var(--white);
}
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}
.insight-card {
    background: var(--cream);
    padding: 2rem;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    color: inherit;
    display: block;
    border-top: 3px solid transparent;
}
.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--gold);
}
.insight-meta {
    display: flex;
    gap: 1rem;
    color: var(--gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 1rem;
}
.insight-card h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.insight-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =============================================================
   20. CONTACT SECTION
   ============================================================= */
.contact {
    padding: 7rem 4rem;
    background: var(--navy);
    color: var(--white);
}
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.contact-intro h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 1.25rem; }
.contact-intro p { color: var(--gray-light); margin-bottom: 2rem; font-size: 1.05rem; }
.contact-block {
    border-left: 3px solid var(--gold);
    padding: 1rem 0 1rem 1.25rem;
    margin-bottom: 1.5rem;
    transition: padding-left 0.25s var(--ease-out);
}
.contact-block:hover { padding-left: 1.75rem; }
.contact-block .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.contact-block .value { color: var(--white); font-size: 0.95rem; }
.contact-block a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(201,169,98,0.4);
    transition: border-color 0.2s var(--ease-out);
}
.contact-block a:hover { border-bottom-color: var(--gold); }
.calendly-cta-wrapper { margin: 2rem 0; }

.contact-form {
    background: rgba(255,255,255,0.04);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.08);
}
.contact-form h3 {
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s var(--ease-out);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(201,169,98,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--navy); color: var(--white); }
.form-submit {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}
.form-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201,169,98,0.4);
}

/* =============================================================
   21. DISCLAIMERS, FOOTER, MISC
   ============================================================= */
.disclaimers { padding: 4rem; background: var(--navy-dark); }
.disclaimers-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.disclaimer-box {
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}
.disclaimer-box h4 {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.disclaimer-box p { color: var(--gray-light); font-size: 0.85rem; line-height: 1.8; }

footer {
    background: var(--navy);
    padding: 4rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { display: inline-flex; margin-bottom: 1rem; }
.footer-brand p { color: var(--gray-light); font-size: 0.85rem; line-height: 1.7; }
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.06);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s var(--ease-out);
}
.footer-social a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-links-group { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h4 {
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { color: var(--gray-light); font-size: 0.75rem; }
.footer-legal { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-legal a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s var(--ease-out);
}
.footer-legal a:hover { color: var(--white); }

/* =============================================================
   22. PAGE-SPECIFIC: legal-services / consulting service grids
   ============================================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}
.service-tile {
    padding: 2.25rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.service-tile::after {
    content: '→';
    position: absolute;
    top: 1.75rem; right: 1.75rem;
    color: var(--gold);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease-out);
}
.service-tile:hover::after { opacity: 1; transform: translateX(0); }
.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
/* Service-tile letter boxes (CR / CD / SA / etc.) removed —
   replaced by a thin gold rule at the top of each tile for an
   editorial, non-tacky accent. */
.service-tile-icon { display: none; }
.service-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 48px; height: 3px;
    background: var(--gold);
}
.service-tile h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.65rem;
}
.service-tile p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =============================================================
   23. PAGE BANNERS / CALLOUTS
   ============================================================= */
.callout {
    padding: 4rem;
    background: var(--gold);
    color: var(--navy);
    text-align: center;
}
.callout h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}
.callout p { max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }
.callout .btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.callout .btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* =============================================================
   24. RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; animation: slideDown 0.3s var(--ease-out); }
    .nav-cta { display: none; }
    .nav-toggle { display: block; }

    .hero, .differentiators, .about, .featured-work,
    .what-you-get, .faq, .contact, .disclaimers, .industries,
    .stats, .insights, .pricing, footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .container, .container-narrow { padding: 0 1.5rem; }
    .services-split { grid-template-columns: 1fr; }
    .service-panel { padding: 4rem 1.5rem; }
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { max-width: 350px; margin: 0 auto; }
    .differentiators-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .deliverables-grid { grid-template-columns: 1fr 1fr; }
    .case-card { grid-template-columns: 1fr; }
    .case-card-image { min-height: 240px; }
    .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .disclaimers-container { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 2.5rem; }
    .footer-links-group { gap: 3rem; }
    .trust-strip { padding: 1.25rem 1.5rem; }
    .trust-strip-inner { gap: 1rem; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
}

@media (max-width: 640px) {
    .hero { padding: 6rem 1.25rem 3rem; min-height: 90vh; }
    .hero-inner { min-height: 50vh; padding: 7rem 1.25rem 3rem; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .deliverables-grid { grid-template-columns: 1fr; }
    .credentials-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .case-card-body { padding: 2rem; }
    .industries-list a { font-size: 0.8rem; padding: 0.7rem 1.1rem; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
