/* ============================================================
   THE LAW WORKSHOP - Global Styles
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ink: #0d1117;
    --paper: #fafaf8;
    --white: #ffffff;
    --surface: #f5f0e9;
    --accent: #1a3355;
    --accent-hover: #244475;
    --accent-light: #eef2f8;
    --accent-dark: #0f2035;
    --gold: #c49a2a;
    --gold-light: #fef9ec;
    --warm: #f5f0e9;
    --muted: #6b7280;
    --slate: #4b5563;
    --line: #e8e4dc;
    --line-warm: #e0dbd0;
    --red: #dc2626;
    --green: #16a34a;
    --green-light: #f0fdf4;
    --radius: 8px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
    --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

/* ============================================================
   DISCLAIMER BANNER (persistent)
   ============================================================ */
.disclaimer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: #fff;
    z-index: 1000;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.disclaimer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.disclaimer-icon {
    flex-shrink: 0;
    color: rgba(255,255,255,0.6);
}

.disclaimer-inner strong { color: rgba(255,255,255,0.85); }

.disclaimer-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.3rem;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0 0.25rem;
    line-height: 1;
}
.disclaimer-close:hover { color: #fff; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250,250,248,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.nav-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo svg { color: var(--gold); }
.nav-logo span { color: var(--accent); }

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

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate);
    transition: color 0.15s;
    letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.55rem 1.35rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.01em;
}

.nav-cta:hover { background: var(--accent-hover); color: #fff !important; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-hamburger svg { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero-wrap {
    background: linear-gradient(160deg, var(--paper) 0%, var(--surface) 100%);
    border-bottom: 1px solid var(--line);
}

.hero {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 6rem 2rem 5.5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    border: 1px solid var(--line-warm);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge svg { color: var(--gold); }

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.35rem;
    color: var(--ink);
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
    position: relative;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.75;
    max-width: 510px;
    margin-bottom: 2.25rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--slate);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 0.3rem 0.85rem;
}

.trust-pill-check {
    color: var(--green);
    font-weight: 700;
    font-size: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.65rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(26,51,85,0.25);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,51,85,0.3);
}

.btn-outline {
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid var(--line-warm);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-card-stack {
    position: relative;
}

.hero-stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
}

.hero-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-topics li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-topics li:last-child { border-bottom: none; }

.topic-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ti-1 { background: var(--accent); }
.ti-2 { background: var(--gold); }
.ti-3 { background: var(--slate); }
.ti-4 { background: var(--green); }
.ti-5 { background: #9333ea; }
.ti-6 { background: var(--red); }
.ti-7 { background: #dc2626; }
.ti-8 { background: #0369a1; }
.ti-9 { background: #059669; }
.ti-10 { background: #7c3aed; }
.ti-11 { background: #b45309; }

/* ============================================================
   SECTION PATTERNS
   ============================================================ */
.section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-sub {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.7;
    max-width: 600px;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.stats-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    border-right: 1px solid rgba(255,255,255,0.12);
    padding: 0 1rem;
}
.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -1.5px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 7rem 2rem;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.how-grid::before {
    content: '';
    position: absolute;
    top: 2.75rem;
    left: calc(16.67% + 1rem);
    right: calc(16.67% + 1rem);
    height: 1px;
    background: linear-gradient(90deg, var(--line) 0%, var(--accent) 50%, var(--line) 100%);
    opacity: 0.4;
    pointer-events: none;
}

.how-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.how-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    opacity: 0;
    transition: opacity 0.25s;
}

.how-card:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: rgba(26,51,85,0.18);
}

.how-card:hover::after { opacity: 1; }

.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(26,51,85,0.25);
    position: relative;
    z-index: 1;
}

.how-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--ink);
}

.how-card p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ============================================================
   TOPICS (Light Section)
   ============================================================ */
.topics-section {
    background: var(--ink);
    color: var(--white);
    padding: 7rem 2rem;
}

.topics-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.topics-section .section-label { color: var(--gold); }
.topics-section .section-title { color: var(--white); }
.topics-section .section-sub { color: rgba(255,255,255,0.6); }

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.topic-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
}

.topic-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(196,154,42,0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.topic-card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
    background: rgba(255,255,255,0.08);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.topic-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #fff;
}

.topic-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* ============================================================
   REFERRAL SECTION
   ============================================================ */
.referral-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 7rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.referral-steps {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.referral-step {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
}

.referral-step + .referral-step {
    border-top: 1px solid var(--line);
}

.rs-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rs-1 { background: rgba(30,58,95,0.08); color: var(--accent); }
.rs-2 { background: rgba(184,134,11,0.1); color: var(--gold); }
.rs-3 { background: rgba(22,163,74,0.08); color: var(--green); }

.rs-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.rs-text p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--accent);
    background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    padding: 7rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(196,154,42,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    max-width: 650px;
    margin: 0 auto;
}

.cta-section .section-label { color: rgba(255,255,255,0.5); }

.cta-section .section-title {
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-section .section-sub {
    color: rgba(255,255,255,0.75);
    margin: 0 auto 2.5rem;
    text-align: center;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-section .btn-primary:hover {
    background: var(--surface);
    color: var(--accent);
}

.cta-section .btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
}

.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: none;
    padding: 4.5rem 2rem 3rem;
    background: var(--ink);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand .nav-logo {
    margin-bottom: 0.75rem;
    color: #fff;
}

.footer-brand .nav-logo span { color: rgba(255,255,255,0.85); }

.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    max-width: 280px;
    line-height: 1.65;
}

.footer-links-group h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.85rem;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-group a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.15s;
}

.footer-links-group a:hover { color: #fff; }

.footer-disclaimers {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.footer-disclaimer-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-disclaimer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
}

.footer-disclaimer-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255,255,255,0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
    display: inline-block;
    margin-top: 0.4rem;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    transition: color 0.15s;
}

.footer-bottom-links a:hover {
    color: rgba(255,255,255,0.7);
}

.footer-sep {
    margin: 0 0.4rem;
    color: rgba(255,255,255,0.15);
}

/* ============================================================
   INTAKE FORM PAGE
   ============================================================ */
.page-header {
    background: var(--ink);
    color: #fff;
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.page-header .section-label { color: rgba(255,255,255,0.5); }
.page-header .section-title { color: #fff; font-size: 2.4rem; }
.page-header .section-sub { color: rgba(255,255,255,0.65); margin: 0 auto; }

.form-section {
    max-width: 720px;
    margin: -2rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.form-group label .req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--white);
    transition: border-color 0.15s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30,58,95,0.08);
}

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

.form-group select { cursor: pointer; }

.form-disclaimer {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--slate);
    line-height: 1.55;
}

.form-disclaimer svg {
    flex-shrink: 0;
    color: var(--muted);
    margin-top: 2px;
}

.form-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--accent);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.form-submit-btn:hover { background: var(--accent-hover); }
.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success svg {
    color: var(--green);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--green);
}

.form-success p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.65;
    max-width: 450px;
    margin: 0 auto;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--red);
}

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.catalog-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    margin-top: 0;
    background: linear-gradient(to bottom, rgba(249,250,251,0.5) 0%, transparent 50%);
}

.catalog-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.45rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 100px;
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--slate);
    cursor: pointer;
    transition: all 0.15s;
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.catalog-category {
    margin-bottom: 3rem;
}

.catalog-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cat-icon {
    font-size: 1.3rem;
}

.catalog-category-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.catalog-category-header p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-left: auto;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.course-card.coming-soon { opacity: 0.7; }

.course-type-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.badge-short { background: #dbeafe; color: #1d4ed8; }
.badge-medium { background: #fef3c7; color: #b45309; }
.badge-long { background: #ede9fe; color: #7c3aed; }
.badge-course { background: var(--accent); color: #fff; }

.coming-soon-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 0.15rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
}

.course-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* AI Avatar Disclosure */
.avatar-disclosure {
    background: #f0f4ff;
    border: 1px solid #c7d7fe;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--accent);
}

.avatar-disclosure svg {
    flex-shrink: 0;
    color: var(--accent-hover);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 4rem 1.5rem 3rem;
        gap: 2.5rem;
    }

    .hero h1 { font-size: 2.6rem; }

    .how-grid { grid-template-columns: 1fr; }
    .how-grid::before { display: none; }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    .referral-section {
        grid-template-columns: 1fr;
        padding: 4rem 1.5rem;
        gap: 2rem;
    }

    .footer-top { flex-direction: column; }

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

    .nav-links { display: none; }
    .nav-hamburger { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250,250,248,0.98);
        border-bottom: 1px solid var(--line);
        padding: 1rem 2rem 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow);
        animation: slideDown 0.2s ease-out;
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.1rem; letter-spacing: -0.5px; }
    .section-title { font-size: 1.75rem; }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2rem; }
    .form-card { padding: 1.5rem; }
    .page-header { padding: 3rem 1.5rem 2.5rem; }
    .catalog-section { padding: 0 1.5rem 3rem; }
    .legal-card { padding: 1.5rem 1.25rem; }
    .legal-page-section { padding: 0 1rem; }
    .footer-bottom-links { display: block; margin-top: 0.5rem; }
    .trust-pills { gap: 0.4rem; }
}

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

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
.page-fade-in {
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONSENT CHECKBOX
   ============================================================ */
.form-consent {
    margin: 1.25rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--slate);
    line-height: 1.55;
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}

.consent-checkmark {
    display: none;
}

.consent-text {
    flex: 1;
}

.form-consent .field-error {
    margin-top: 0.5rem;
    margin-left: 2.25rem;
}

/* ============================================================
   PRIVACY / TERMS LEGAL PAGES
   ============================================================ */
.legal-page-section {
    max-width: 780px;
    margin: -2rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.legal-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-lg);
}

.legal-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.legal-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-block h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.legal-block h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.legal-block p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.legal-block ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-block ul li {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 0.4rem;
}

.legal-block a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(30,58,95,0.3);
    text-underline-offset: 2px;
}

.legal-block a:hover {
    text-decoration-color: var(--accent);
}

/* ============================================================
   COURSE CARD WATCH / NOTIFY BUTTONS
   ============================================================ */
.course-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1;
}

.course-action-btn svg {
    flex-shrink: 0;
}

.course-preview-btn {
    background: var(--accent);
    color: #fff;
    border: 1.5px solid var(--accent);
}

.course-preview-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.course-notify-btn {
    background: transparent;
    color: var(--slate);
    border: 1.5px solid var(--line);
}

.course-notify-btn:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================================
   INLINE FORM VALIDATION
   ============================================================ */
.field-invalid {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08) !important;
}

.field-error {
    font-size: 0.75rem;
    color: var(--red);
    margin-top: 0.3rem;
    display: none;
    line-height: 1.4;
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.textarea-footer .field-error {
    flex: 1;
}

.char-counter {
    text-align: right;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 0.35rem;
    flex-shrink: 0;
    transition: color 0.15s;
}

.char-counter-warn {
    color: var(--gold);
}

.char-counter-over {
    color: var(--red);
    font-weight: 600;
}

/* ============================================================
   MOBILE NAV SLIDE-DOWN ANIMATION
   ============================================================ */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 4.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ============================================================
   REFERENCE NUMBER BOX (Success State)
   ============================================================ */
.reference-number-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem auto;
    max-width: 380px;
    text-align: center;
}

.reference-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.reference-value {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.reference-note {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ============================================================
   NEWSLETTER SECTION (Homepage)
   ============================================================ */
.newsletter-section {
    background: linear-gradient(160deg, #0d1117 0%, #1a2035 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    bottom: -80px; right: 10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(196,154,42,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.65);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.newsletter-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.newsletter-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.newsletter-form {
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-fields {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-name-input,
.newsletter-email-input {
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.newsletter-name-input {
    flex: 0 0 160px;
    min-width: 0;
}

.newsletter-email-input {
    flex: 1 1 200px;
    min-width: 0;
}

.newsletter-name-input::placeholder,
.newsletter-email-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.newsletter-name-input:focus,
.newsletter-email-input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.12);
}

.newsletter-submit-btn {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    background: var(--white);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.newsletter-submit-btn:hover:not(:disabled) {
    background: var(--surface);
    transform: translateY(-1px);
}

.newsletter-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.newsletter-error {
    color: #fca5a5;
    font-size: 0.8rem;
    margin-top: 0.6rem;
    text-align: left;
}

.newsletter-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #86efac;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.75rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
}

/* ============================================================
   NEWSLETTER MINI SECTION (Learn Page)
   ============================================================ */
.newsletter-mini-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-mini-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.newsletter-mini-text {
    flex: 1 1 200px;
    min-width: 0;
}

.newsletter-mini-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--ink);
    margin-bottom: 0.15rem;
}

.newsletter-mini-text span {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
}

.newsletter-mini-form {
    display: flex;
    gap: 0.4rem;
    flex: 0 0 280px;
    min-width: 0;
}

.newsletter-mini-input {
    flex: 1 1 160px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
    min-width: 0;
}

.newsletter-mini-input::placeholder {
    color: var(--muted);
}

.newsletter-mini-input:focus {
    border-color: var(--accent);
}

.newsletter-mini-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: none;
    background: var(--accent);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.newsletter-mini-btn:hover:not(:disabled) {
    background: var(--accent-hover);
}

.newsletter-mini-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.newsletter-mini-error {
    flex: 1 1 100%;
    color: var(--red);
    font-size: 0.78rem;
    text-align: left;
    display: none;
}

.newsletter-mini-success {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ============================================================
   ARTICLE / SEO LANDING PAGES
   ============================================================ */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

.article-meta svg {
    opacity: 0.7;
}

.article-page-section {
    max-width: 780px;
    margin: -2rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.article-cta {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-top: 0.5rem;
}

.article-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.article-cta p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.article-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.55;
}

.article-disclaimer svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--muted);
}

.article-toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
}

.article-toc strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-toc ol {
    margin: 0;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.article-toc ol li a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.5;
}

.article-toc ol li a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .article-page-section { padding: 0 1rem; }
    .article-cta { padding: 1.5rem 1.25rem; }
    .article-meta { gap: 1rem; }
    .article-toc { padding: 1rem 1.25rem; }
}

@media (max-width: 640px) {
    .newsletter-fields {
        flex-direction: column;
    }
    .newsletter-name-input,
    .newsletter-email-input,
    .newsletter-submit-btn {
        width: 100%;
        flex: none;
    }
    .newsletter-mini-form {
        flex: 1 1 100%;
    }
    .newsletter-mini-section {
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-mini-icon {
        align-self: flex-start;
    }
}

/* ============================================================
   PARTNERS PAGE
   ============================================================ */

/* Practice areas grid (badge display section) */
.partner-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-width: var(--max-w);
    margin: 2rem auto 0;
    padding: 0 1.5rem;
}

.partner-area-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.partner-area-badge:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.partner-area-badge-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Checkbox grid in the form */
.partner-areas-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.partner-area-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--ink);
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.partner-area-check:hover {
    border-color: var(--accent);
    background: #eef2f7;
}

.partner-area-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.partner-area-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Trust cards */
.partner-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 2.5rem auto 0;
    padding: 0 1.5rem;
}

.partner-trust-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.partner-trust-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.partner-trust-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.partner-trust-card p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.7;
}

/* Full-width button */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* Field hint */
.field-hint {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

@media (max-width: 640px) {
    .partner-areas-grid {
        grid-template-columns: 1fr 1fr;
    }
    .partner-areas-checkboxes {
        grid-template-columns: 1fr;
    }
    .partner-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   HERO PHOTO (stock photography, replaces card-stack)
   ============================================================ */
.hero-photo-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    aspect-ratio: 4/3;
    background: var(--line);
    position: relative;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

/* Attorney quote overlay on hero photo */
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,17,23,0.82) 0%, rgba(13,17,23,0.15) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    border-radius: inherit;
}

.hero-quote { width: 100%; }

.hero-quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: rgba(255,255,255,0.92);
    font-size: 0.83rem;
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.hero-quote-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.hero-quote-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-quote-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.hero-quote-role {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

/* ============================================================
   TOPIC CARD — link affordance
   ============================================================ */
.topic-card .topic-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 0.85rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
}

.topic-card:hover .topic-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   PRACTICE AREA TOPIC PAGES
   ============================================================ */
.practice-hero {
    background: var(--ink);
    color: #fff;
    padding: 4.5rem 2rem 3.5rem;
}

.practice-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.practice-hero-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.practice-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.practice-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.practice-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.practice-body {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.practice-main {}

.practice-sidebar {}

.practice-section {
    margin-bottom: 3rem;
}

.practice-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--ink);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--line);
}

.practice-overview p {
    font-size: 0.98rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.practice-topics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.practice-topics-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--ink);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}

.practice-topics-list li:last-child { border-bottom: none; }

.practice-topics-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.practice-courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.practice-course-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.15s;
}

.practice-course-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

.practice-course-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.practice-course-card-meta {
    font-size: 0.78rem;
    color: var(--muted);
}

.practice-course-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: var(--surface);
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.practice-sidebar-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.practice-sidebar-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.practice-disclaimer-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    font-size: 0.82rem;
    color: var(--slate);
    line-height: 1.6;
}

.practice-disclaimer-box strong {
    color: var(--ink);
}

.practice-related-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.practice-related-list a {
    font-size: 0.88rem;
    color: var(--accent);
    padding: 0.4rem 0;
    display: block;
    border-bottom: 1px solid var(--line);
    transition: color 0.15s;
}

.practice-related-list a:hover { color: var(--accent-hover); }
.practice-related-list li:last-child a { border-bottom: none; }

.practice-cta-section {
    background: var(--accent);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.practice-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.practice-cta-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.practice-cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.practice-breadcrumb {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1rem 2rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.practice-breadcrumb a {
    color: var(--accent);
    transition: color 0.15s;
}

.practice-breadcrumb a:hover { color: var(--accent-hover); }

.practice-breadcrumb span { color: var(--muted); }

/* Photo strip sections */
.photo-strip-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.photo-strip-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.photo-strip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

@media (max-width: 768px) {
    .practice-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .practice-hero h1 { font-size: 2rem; }
    .photo-strip-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .photo-strip-section.reverse-mobile .photo-strip-photo {
        order: -1;
    }
}

@media (max-width: 600px) {
    .hero-photo-wrap { aspect-ratio: 3/2; }
    .practice-hero { padding: 3rem 1.5rem 2.5rem; }
    .practice-body { padding: 2rem 1.5rem; }
}
