@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --black: #0a0a0a;
    --gold: #d4af37;
    --gold-dark: #b08d1e;
    --cream: #faf9f6;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--gray-800);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.font-serif { font-family: 'Playfair Display', Georgia, serif; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top Bar */
.top-bar {
    background: var(--black);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.5rem 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.top-bar a { color: #fff; text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: var(--gold); }
.top-bar svg { width: 0.75rem; height: 0.75rem; margin-right: 0.25rem; color: var(--gold); }

/* Navigation */
.nav-main {
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--black);
}
.logo-mark {
    width: 2.5rem; height: 2.5rem;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    margin-right: 0.75rem;
}
.logo-mark span {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
}
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.25rem; }
.logo-text .bold { font-weight: 700; }
.logo-text .light { font-weight: 300; color: var(--gray-500); margin-left: 0.25rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.btn-primary {
    background: var(--black);
    color: #fff;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--gold); color: var(--black); }

.btn-outline {
    border: 1px solid currentColor;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-outline-white { color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--black); }

.btn-outline-dark { color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: #fff; }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu.active { display: block; background: #fff; border-top: 1px solid var(--gray-100); padding: 1rem 1.5rem; }
    .mobile-menu a { display: block; padding: 0.75rem 0; font-size: 0.875rem; color: var(--gray-700); text-decoration: none; border-bottom: 1px solid var(--gray-100); }
    .mobile-menu .btn-primary { display: block; text-align: center; margin-top: 1rem; }
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 50%, var(--black) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(circle at 20% 30%, var(--gold) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, var(--gold-dark) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 768px; }
.hero-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.hero-tag .line { width: 3rem; height: 1px; background: var(--gold); }
.hero-tag span { color: var(--gold); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero p {
    color: var(--gray-400);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 640px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sections */
.section { padding: 6rem 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--black); color: #fff; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header .tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.section-header .tag .line { width: 3rem; height: 1px; background: var(--gold); }
.section-header .tag span { color: var(--gold); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
}
.section-header p { color: var(--gray-500); margin-top: 0.75rem; }

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background: #fff;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.card-icon {
    width: 3.5rem; height: 3.5rem;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}
.card:hover .card-icon { background: var(--gold); }
.card-icon svg { width: 1.5rem; height: 1.5rem; color: var(--gold); transition: color 0.3s; }
.card:hover .card-icon svg { color: var(--black); }
.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.card p { color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; }

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}
.team-card { text-decoration: none; color: inherit; }
.team-card-img {
    background: var(--gray-100);
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1rem;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card:hover img { transform: scale(1.05); }
.team-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-200);
}
.team-card-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gray-400);
}
.team-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s;
}
.team-card:hover h3 { color: var(--gold-dark); }
.team-card .role { color: var(--gold); font-size: 0.875rem; }

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--gray-900);
    padding: 2rem;
    border: 1px solid var(--gray-800);
}
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; font-size: 1.25rem; }
.testimonial-text {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-author-img {
    width: 2.5rem; height: 2.5rem;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.testimonial-author-img span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--black);
    font-size: 0.875rem;
}
.testimonial-author-name { color: #fff; font-size: 0.875rem; font-weight: 500; }
.testimonial-author-role { color: var(--gray-500); font-size: 0.75rem; }

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-card { text-decoration: none; color: inherit; background: #fff; }
.blog-card-img {
    background: var(--gray-100);
    aspect-ratio: 16/10;
    overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}
.blog-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card:hover h3 { color: var(--gold-dark); }
.blog-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--black);
    color: #fff;
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 1.5rem; }
.footer-logo-mark {
    width: 2.5rem; height: 2.5rem;
    background: var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin-right: 0.75rem;
}
.footer-logo-mark span { color: var(--black); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.25rem; }
.footer-logo-text .bold { font-weight: 700; }
.footer-logo-text .light { font-weight: 300; color: var(--gray-400); margin-left: 0.25rem; }
.footer p { color: var(--gray-400); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 2.5rem; height: 2.5rem;
    background: var(--gray-800);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--gold); color: var(--black); }
.footer-social svg { width: 1rem; height: 1rem; }
.footer h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.75rem; }
.footer ul a { color: var(--gray-400); font-size: 0.875rem; text-decoration: none; transition: color 0.3s; }
.footer ul a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--gray-400); font-size: 0.875rem; }
.footer-contact svg { width: 1.25rem; height: 1.25rem; color: var(--gold); flex-shrink: 0; margin-top: 0.125rem; }
.footer-newsletter { display: flex; margin-top: 1.5rem; }
.footer-newsletter input {
    flex: 1;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.footer-newsletter input:focus { outline: none; border-color: var(--gold); }
.footer-newsletter button {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}
.footer-newsletter button:hover { background: #e5c158; }
.footer-bottom {
    border-top: 1px solid var(--gray-800);
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p, .footer-bottom a { color: var(--gray-500); font-size: 0.875rem; }
.footer-bottom a { text-decoration: none; margin-left: 1.5rem; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold); }

/* Page Header */
.page-header {
    background: var(--black);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(circle at 20% 30%, var(--gold) 0%, transparent 50%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header .tag { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.page-header .tag .line { width: 3rem; height: 1px; background: var(--gold); }
.page-header .tag span { color: var(--gold); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
}
.page-header p { color: var(--gray-400); margin-top: 1rem; font-size: 1.125rem; max-width: 640px; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea { resize: vertical; }
.form-error { color: #dc2626; font-size: 0.75rem; margin-top: 0.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-info-icon {
    width: 3rem; height: 3rem;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon svg { width: 1.25rem; height: 1.25rem; color: var(--gold); }
.contact-info-item h4 { font-weight: 500; margin-bottom: 0.25rem; }
.contact-info-item p { color: var(--gray-600); font-size: 0.875rem; }

/* Practice Area Detail */
.practice-detail { max-width: 896px; margin: 0 auto; }
.practice-detail img { width: 100%; aspect-ratio: 21/9; object-fit: cover; margin-bottom: 3rem; }
.practice-detail .prose { color: var(--gray-600); line-height: 1.8; }
.practice-detail .prose h2 { font-family: 'Playfair Display', serif; color: var(--black); margin: 2rem 0 1rem; }
.practice-detail .prose p { margin-bottom: 1rem; }

/* Team Detail */
.team-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}
@media (max-width: 1023px) { .team-detail-grid { grid-template-columns: 1fr; } }
.team-detail-img {
    background: var(--gray-100);
    aspect-ratio: 3/4;
    margin-bottom: 1.5rem;
}
.team-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.team-detail-contact { list-style: none; }
.team-detail-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}
.team-detail-contact svg { width: 1rem; height: 1rem; color: var(--gold); flex-shrink: 0; }
.team-detail-contact a { color: var(--gray-600); text-decoration: none; }
.team-detail-contact a:hover { color: var(--gold-dark); }

/* Blog Detail */
.blog-detail { max-width: 896px; margin: 0 auto; }
.blog-detail img { width: 100%; aspect-ratio: 21/9; object-fit: cover; margin-bottom: 3rem; }
.blog-detail .prose { color: var(--gray-600); line-height: 1.8; }
.blog-detail .prose h2 { font-family: 'Playfair Display', serif; color: var(--black); margin: 2rem 0 1rem; }
.blog-detail .prose p { margin-bottom: 1rem; }
.blog-detail-meta { display: flex; align-items: center; gap: 0.75rem; color: var(--gray-400); font-size: 0.875rem; margin-top: 1.5rem; }
.blog-detail-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.blog-detail-tags span { background: var(--gray-100); color: var(--gray-700); padding: 0.25rem 0.75rem; font-size: 0.875rem; }

/* Sidebar */
.sidebar { position: sticky; top: 6rem; }
.sidebar h4 { font-family: 'Playfair Display', serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.sidebar ul { list-style: none; margin-bottom: 2rem; }
.sidebar ul li { margin-bottom: 0.5rem; }
.sidebar ul a { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--gray-600); text-decoration: none; padding: 0.25rem 0; transition: color 0.3s; }
.sidebar ul a:hover { color: var(--gold-dark); }
.sidebar ul a .count { font-size: 0.75rem; background: var(--gray-100); padding: 0.125rem 0.5rem; border-radius: 0.25rem; }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.875rem; }
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--gray-500); }

/* CTA Section */
.cta-section {
    background: var(--black);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 24rem; height: 24rem;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.05;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}
.cta-section p { color: var(--gray-400); font-size: 1.125rem; margin-bottom: 2.5rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* About Page Specifics */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 1023px) { .about-grid { grid-template-columns: 1fr; } }
.about-stat {
    background: var(--gray-100);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.about-stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.about-stat .label { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gray-600); margin-top: 1rem; }

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
@media (max-width: 768px) { .mission-vision-grid { grid-template-columns: 1fr; } }
.mission-vision-card {
    background: #fff;
    padding: 2.5rem;
    border-left: 4px solid var(--gold);
}
.mission-vision-card:last-child { border-left-color: var(--black); }
.mission-vision-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.mission-vision-card p { color: var(--gray-600); line-height: 1.7; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}
.value-card { text-align: center; padding: 2rem; background: var(--cream); }
.value-icon {
    width: 4rem; height: 4rem;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}
.value-icon span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}
.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.value-card p { color: var(--gray-600); font-size: 0.875rem; }

/* Practice Areas List */
.practice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.practice-row:nth-child(even) .practice-content { order: 2; }
.practice-row:nth-child(even) .practice-image { order: 1; }
@media (max-width: 1023px) {
    .practice-row { grid-template-columns: 1fr; }
    .practice-row:nth-child(even) .practice-content,
    .practice-row:nth-child(even) .practice-image { order: unset; }
}
.practice-content .number {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.practice-content .number .icon-box {
    width: 3rem; height: 3rem;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
}
.practice-content .number .icon-box svg { width: 1.5rem; height: 1.5rem; color: var(--gold); }
.practice-content .number span { color: var(--gold); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.practice-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.practice-content p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.5rem; }
.practice-content .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}
.practice-content .learn-more:hover { color: var(--gold); }
.practice-image {
    background: var(--gray-100);
    aspect-ratio: 4/3;
}
.practice-image img { width: 100%; height: 100%; object-fit: cover; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--gray-700);
}
.pagination a:hover { background: var(--gray-50); }
.pagination .active { background: var(--black); color: #fff; border-color: var(--black); }

/* Admin Styles */
.admin-body { background: #f3f4f6; }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 16rem;
    background: var(--gray-900);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.admin-sidebar-header {
    height: 4rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--gray-800);
}
.admin-sidebar-header span { color: #fff; font-weight: 600; font-size: 1.125rem; }
.admin-sidebar-nav { flex: 1; overflow-y: auto; padding: 1rem 0; }
.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 2px solid transparent;
}
.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
    background: var(--gray-800);
    color: #fff;
    border-left-color: var(--gold);
}
.admin-sidebar-nav a svg { width: 1.25rem; height: 1.25rem; margin-right: 0.75rem; flex-shrink: 0; }
.admin-sidebar-nav .badge {
    margin-left: auto;
    background: #dc2626;
    color: #fff;
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}
.admin-sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-800);
}
.admin-sidebar-user { display: flex; align-items: center; gap: 0.75rem; }
.admin-sidebar-user-avatar {
    width: 2rem; height: 2rem;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.admin-sidebar-user-avatar span { color: var(--black); font-size: 0.75rem; font-weight: 700; }
.admin-sidebar-user-info { flex: 1; min-width: 0; }
.admin-sidebar-user-info p { color: #fff; font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-sidebar-user-info span { color: var(--gray-400); font-size: 0.75rem; }
.admin-sidebar-footer .logout-btn {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.admin-sidebar-footer .logout-btn:hover { color: #fff; }

.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-header-mobile {
    display: none;
    background: var(--gray-900);
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}
.admin-header-mobile span { color: #fff; font-weight: 600; }
.admin-header-mobile button { background: none; border: none; color: #fff; cursor: pointer; }

.admin-content { flex: 1; overflow-y: auto; padding: 1.5rem; }

@media (max-width: 1023px) {
    .admin-sidebar { display: none; position: fixed; inset: 0; z-index: 50; }
    .admin-sidebar.active { display: flex; }
    .admin-header-mobile { display: flex; }
}

/* Admin Tables */
.admin-table { width: 100%; background: #fff; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th {
    background: var(--gray-50);
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}
.admin-table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    border-top: 1px solid var(--gray-100);
}
.admin-table tr:hover { background: var(--gray-50); }
.admin-table .actions { text-align: right; white-space: nowrap; }
.admin-table .actions a,
.admin-table .actions button {
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0.75rem;
}
.admin-table .actions .edit { color: var(--gold-dark); }
.admin-table .actions .edit:hover { color: var(--gold); }
.admin-table .actions .delete { color: #dc2626; }
.admin-table .actions .delete:hover { color: #b91c1c; }
.admin-table .actions .view { color: #2563eb; }
.admin-table .actions .view:hover { color: #1d4ed8; }

.badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 9999px;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-gray { background: var(--gray-100); color: var(--gray-700); }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-red { background: #fee2e2; color: #991b1b; }

/* Admin Cards */
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.admin-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-card h3 { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0.25rem; }
.admin-card .number { font-size: 1.875rem; font-weight: 700; color: var(--gray-900); }
.admin-card-icon { width: 3rem; height: 3rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; }
.admin-card-icon svg { width: 1.5rem; height: 1.5rem; }

/* Admin Forms */
.admin-form { background: #fff; border-radius: 0.5rem; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .admin-form-grid { grid-template-columns: 1fr; } }
.admin-form-group { margin-bottom: 1.5rem; }
.admin-form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--gray-700); margin-bottom: 0.5rem; }
.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.3s;
}
.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus { outline: none; border-color: var(--gold); }
.admin-form-group textarea { resize: vertical; }
.admin-form-group .hint { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.25rem; }
.admin-form-group .preview-img { max-height: 5rem; margin-top: 0.5rem; border-radius: 0.25rem; }

/* Login Page */
.login-page {
    background: var(--gray-900);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-box { width: 100%; max-width: 28rem; padding: 0 1.5rem; }
.login-logo { text-align: center; margin-bottom: 2.5rem; }
.login-logo .mark {
    width: 4rem; height: 4rem;
    background: var(--black);
    border: 2px solid var(--gold);
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
}
.login-logo .mark span { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }
.login-logo h1 { color: #fff; font-size: 1.5rem; font-weight: 700; }
.login-logo p { color: var(--gray-400); font-size: 0.875rem; margin-top: 0.25rem; }
.login-form {
    background: var(--gray-800);
    border-radius: 0.5rem;
    padding: 2rem;
}
.login-form h2 { color: #fff; font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.login-form .error {
    background: rgba(127, 29, 29, 0.5);
    border: 1px solid #7f1d1d;
    color: #fecaca;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}
.login-form-group { margin-bottom: 1.25rem; }
.login-form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--gray-300); margin-bottom: 0.5rem; }
.login-form-group input {
    width: 100%;
    background: var(--gray-700);
    border: 1px solid var(--gray-600);
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: border-color 0.3s;
}
.login-form-group input:focus { outline: none; border-color: var(--gold); }
.login-form-group.checkbox { display: flex; align-items: center; gap: 0.5rem; }
.login-form-group.checkbox input { width: auto; }
.login-form-group.checkbox label { margin-bottom: 0; }
.login-form button {
    width: 100%;
    background: var(--gold);
    color: var(--black);
    font-weight: 500;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.3s;
}
.login-form button:hover { background: #e5c158; }
.login-footer { text-align: center; color: var(--gray-500); font-size: 0.75rem; margin-top: 1.5rem; }

/* Two column layout for admin */
.admin-two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
@media (max-width: 1023px) { .admin-two-col { grid-template-columns: 1fr; } }
