:root {
    --navy: #0a1628;
    --navy-light: #0d2044;
    --gold: #c9a84c;
    --gold-light: #dfc06a;
    --gold-pale: #f5e9c8;
    --white: #ffffff;
    --cream: #f8f5f0;
    --text: #1c1c2e;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --radius: 4px;
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.5rem; }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

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

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

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; }

.section-dark { background: var(--navy); color: var(--white); }
.section-cream { background: var(--cream); }

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { text-decoration: none; display: flex; flex-direction: column; }

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--white);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

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

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

.nav-admin-link {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.4) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: var(--radius) !important;
}

.nav-admin-link:hover {
    color: rgba(255,255,255,0.75) !important;
    border-color: rgba(255,255,255,0.35) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(201,168,76,0.08) 0%, transparent 55%),
        linear-gradient(110deg, rgba(10,22,40,0.97) 0%, rgba(10,22,40,0.88) 50%, rgba(13,32,68,0.72) 100%),
        url('uploads/vecteezy_statue-of-lady-justice-legal-and-law_4340176.jpg') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    max-width: 750px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

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

.hero-text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    max-width: 520px;
    margin-bottom: 3rem;
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

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

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.hero-deco {
    position: absolute;
    right: 0; top: 0;
    width: 40%; height: 100%;
    opacity: 0.03;
    background: repeating-linear-gradient(
        45deg, var(--gold), var(--gold) 1px, transparent 1px, transparent 60px
    );
}

/* === PAGE HERO (inner pages) === */
.page-hero {
    background: var(--navy);
    padding: 6rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 500px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* === CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 52px; height: 52px;
    background: var(--gold-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--navy); }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.card-link:hover { gap: 0.7rem; }

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid rgba(255,255,255,0.08);
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* === TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.15);
}

.team-info { padding: 1.5rem; }

.team-info h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.25rem; }

.team-role {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.team-bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.team-specialties { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }

.tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.65rem;
    background: var(--gold-pale);
    color: var(--navy);
    border-radius: 20px;
    font-weight: 500;
}

/* === PRACTICE AREAS === */
.practice-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.practice-sidebar { position: sticky; top: 8rem; }

.practice-list {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.practice-item { border-bottom: 1px solid var(--border); }
.practice-item:last-child { border-bottom: none; }

.practice-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    gap: 1rem;
    font-family: 'Inter', sans-serif;
}

.practice-trigger:hover { background: var(--cream); }
.practice-trigger.active { background: var(--navy); color: var(--white); }

.practice-trigger-left { display: flex; align-items: center; gap: 1rem; }

.practice-num {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    min-width: 2rem;
}

.practice-trigger h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
}

.practice-icon { font-size: 1.25rem; min-width: 2rem; text-align: center; }

.practice-chevron {
    width: 18px; height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0.4;
    flex-shrink: 0;
}

.practice-trigger.active .practice-chevron {
    transform: rotate(-135deg);
    opacity: 1;
    border-color: var(--gold);
}

.practice-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.practice-body.open { max-height: 500px; }

.practice-body-inner {
    padding: 0 2rem 2rem 5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* === PUBLICATIONS === */
.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.pub-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pub-card-img-placeholder {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
}

.pub-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.pub-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.pub-cat { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.pub-body h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.4; }
.pub-body p { font-size: 0.9rem; color: var(--text-muted); flex: 1; line-height: 1.7; }
.pub-body .card-link { margin-top: 1.25rem; }

/* === ABOUT SPLIT === */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-wrap { position: relative; }

.about-img { width: 100%; border-radius: 8px; display: block; }

.about-img-deco {
    position: absolute;
    bottom: -2rem; right: -2rem;
    width: 60%; height: 60%;
    border: 3px solid var(--gold);
    border-radius: 8px;
    z-index: -1;
}

/* === HISTORY TIMELINE === */
.timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.15));
}

.timeline-item {
    position: relative;
    padding: 0 0 3.5rem 3rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: -1px;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-year {
    background: var(--navy);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    border: 2px solid var(--gold);
    white-space: nowrap;
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 0.95rem;
}

.timeline-divisions {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-divisions li {
    padding: 0.5rem 1rem;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* === VALUES === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-item { text-align: center; padding: 2rem 1.5rem; }

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

.value-item h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.5rem; }
.value-item p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px; height: 48px;
    background: var(--gold-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.contact-info-text p,
.contact-info-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.6;
}

.contact-info-text a:hover { color: var(--navy); }

.contact-form {
    background: var(--white);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

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

/* === CTA BANNER === */
.cta-section { background: var(--gold); padding: 5rem 0; text-align: center; }

.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: 1rem; }
.cta-section p { color: rgba(10,22,40,0.7); margin-bottom: 2.5rem; font-size: 1.1rem; }

/* === FOOTER === */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 5rem 0 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.footer-about p { font-size: 0.9rem; line-height: 1.8; max-width: 280px; margin-top: 1.25rem; }

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }

.social-link {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* === HERO STAGGER ANIMATIONS === */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero .hero-eyebrow { animation: heroFadeUp 0.7s ease 0.3s both; }
.hero h1            { animation: heroFadeUp 0.7s ease 0.55s both; }
.hero .hero-text    { animation: heroFadeUp 0.7s ease 0.8s both; }
.hero .hero-actions { animation: heroFadeUp 0.7s ease 1.0s both; }
.hero .hero-scroll  { animation: heroFadeUp 0.7s ease 1.2s both, scrollBounce 2s ease-in-out 2.2s infinite; }

/* === WHY CHOOSE US STRIP === */
.why-strip {
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 10;
    margin-top: -5rem;
    padding: 0 0 2rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
    overflow: hidden;
    border: 1px solid var(--border);
}

.why-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.why-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.why-item:hover { background: var(--cream); }
.why-item:hover::before { transform: scaleX(1); }

.why-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

.why-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.why-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.page { animation: pageFadeIn 0.6s ease forwards; }

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

/* === GOLD DIVIDER === */
.gold-divider { width: 60px; height: 3px; background: var(--gold); margin: 1.5rem 0; }
.gold-divider.center { margin: 1.5rem auto; }

/* === NOTICE / ALERT === */
.form-success {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--gold-pale);
    border-radius: var(--radius);
    color: var(--navy);
    font-size: 0.95rem;
    border-left: 3px solid var(--gold);
}

/* === CHATBOT === */
#cbBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

#cbBtn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,0.28); }

#cbBubble {
    position: fixed;
    bottom: 5.2rem;
    right: 1.4rem;
    z-index: 1000;
    background: #fff;
    color: var(--navy);
    border-radius: 16px 16px 4px 16px;
    padding: 0.7rem 1rem;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.45;
    max-width: 210px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#cbBubble.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}
#cbBubble::after {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 16px;
    border-left: 7px solid transparent;
    border-right: 2px solid transparent;
    border-top: 8px solid #fff;
}

#cbWindow {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    z-index: 1000;
    width: 360px;
    max-width: calc(100vw - 1.5rem);
    background: #f5f5f5;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.97);
    transition: opacity 0.22s, transform 0.22s;
    max-height: 520px;
}

#cbWindow.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.cb-header {
    background: var(--navy);
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cb-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.cb-status {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1px;
}

.cb-dot {
    width: 7px;
    height: 7px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
}

.cb-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.cb-close-btn:hover { color: #fff; }

.cb-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    scroll-behavior: smooth;
}

.cb-msg { display: flex; }

.cb-msg-bot  { justify-content: flex-start; }
.cb-msg-user { justify-content: flex-end; }

.cb-bubble {
    max-width: 82%;
    padding: 0.6rem 0.9rem;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.55;
}

.cb-msg-bot  .cb-bubble { background: var(--white); color: var(--navy); border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.cb-msg-user .cb-bubble { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.cb-msg-bot  .cb-bubble a { color: var(--gold); }

.cb-typing .cb-bubble {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.65rem 1rem;
}

.cb-typing .cb-bubble span {
    width: 7px;
    height: 7px;
    background: #bbb;
    border-radius: 50%;
    animation: cbBounce 1s infinite;
}

.cb-typing .cb-bubble span:nth-child(2) { animation-delay: 0.15s; }
.cb-typing .cb-bubble span:nth-child(3) { animation-delay: 0.30s; }

@keyframes cbBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40%           { transform: translateY(-6px); }
}

.cb-chips {
    padding: 0.4rem 0.75rem 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex-shrink: 0;
}

.cb-chip {
    background: var(--white);
    border: 1.5px solid var(--gold);
    color: var(--navy);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.cb-chip:hover { background: var(--gold); color: var(--navy); }

.cb-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

#cbInput {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--navy);
    outline: none;
    transition: border-color 0.2s;
}

#cbInput:focus { border-color: var(--gold); }

#cbSend {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

#cbSend:hover { background: var(--gold-light); }

/* === FORM STATES === */
.form-submitted {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gold-pale);
    border-radius: var(--radius);
    border: 1px solid rgba(201,168,76,0.3);
}

.form-submitted-icon {
    width: 56px;
    height: 56px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.form-submitted h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.form-submitted p {
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 340px;
    margin: 0 auto;
}

.form-error-box {
    background: #fdf2f2;
    border-left: 3px solid #c0392b;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    color: #c0392b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* === MAPS === */
.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.map-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.map-card-label {
    background: var(--navy);
    color: var(--white);
    padding: 0.85rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.map-card-label strong {
    font-size: 0.95rem;
    color: var(--gold);
}

.map-card-label span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-split { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .practice-layout { grid-template-columns: 1fr; }
    .practice-sidebar { position: static; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-item:nth-child(2) { border-right: none; }
    .why-item:nth-child(1),
    .why-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .cards-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .values-grid { grid-template-columns: 1fr; }
    .pub-grid { grid-template-columns: 1fr; }
    .timeline { padding-left: 1.25rem; }
    .timeline-content { padding: 1.25rem; }
    .maps-grid { grid-template-columns: 1fr; }
    .practice-body-inner { padding-left: 2rem; }
    .about-img-deco { display: none; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .contact-form { padding: 2rem; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .why-grid { grid-template-columns: 1fr; border-radius: 8px; }
    .why-item { border-right: none; border-bottom: 1px solid var(--border); }
    .why-item:last-child { border-bottom: none; }
    .why-strip { margin-top: -2rem; }
}
