/* CSS Variables */
:root {
    --primary: #4950bc;
    --primary-hover: #2f36a2;
    --primary-light: #6269d5;
    --secondary: #272525;
    --accent: #e8b923;
    --text: #272525;
    --text-light: #555;
    --text-muted: #777;
    --bg: #ffffff;
    --bg-alt: #f2f2f2;
    --bg-dark: #272525;
    --bg-lavender: #dadbf1;
    --border: #E5E0DF;
    --border-card: #c0c1d7;
    --shadow: 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 0.25em 0.75em -0.125em rgba(0, 0, 0, 0.08);
    --radius: 0.6em;
    --radius-sm: 0.35em;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #000000;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #6e74ca;
    border-color: #6e74ca;
    color: white;
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(39, 37, 37, 0.92) 0%, rgba(58, 56, 56, 0.88) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero .highlight {
    color: var(--accent);
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-highlights {
    margin: 1.5rem 0 2rem;
    padding: 0;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.hero-highlights svg {
    color: #4ade80;
    flex-shrink: 0;
}

/* Trust Bar */
.trust-bar {
    background: var(--primary);
    padding: 2rem 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item {
    color: white;
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

.trust-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Credentials Section (Former Prosecutor block at top) */
.credentials-section {
    background: var(--bg-alt);
    padding: 8rem 0 4rem;
    border-bottom: 1px solid var(--border);
}

.credentials-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.credentials-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.credentials-content > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.credentials-section .about-highlights {
    display: inline-flex;
    flex-direction: column;
    text-align: left;
    margin-top: 1.5rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-card);
}

.credentials-section .about-highlights li {
    padding: 0.6rem 0;
}

@media (max-width: 768px) {
    .credentials-section {
        padding: 6rem 0 3rem;
    }

    .credentials-content h2 {
        font-size: 1.875rem;
    }

    .credentials-content > p {
        font-size: 1rem;
    }

    .credentials-section .about-highlights {
        padding: 1rem 1.25rem;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Section */
.about {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-highlights {
    margin-top: 2rem;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.about-highlights li:last-child {
    border-bottom: none;
}

.about-highlights svg {
    color: var(--primary);
    flex-shrink: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.attorney-photo {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Practice Areas */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.practice-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-card);
    transition: var(--transition);
}

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

.practice-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.practice-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.practice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.practice-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
}

.practice-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Why Choose Section */
.why-choose {
    background: var(--bg-alt);
}

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

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-card);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Social Section (TikTok & Yelp) */
.social-section {
    padding: 5rem 0;
    background: var(--bg);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-card);
}

.social-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.social-card h3 svg {
    color: var(--primary);
}

.tiktok-embed-wrapper,
.yelp-embed-wrapper {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.tiktok-embed-wrapper blockquote {
    margin: 0;
}

.yelp-embed-wrapper a {
    color: var(--primary);
    font-weight: 500;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

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

.social-link svg {
    transition: transform 0.2s ease;
}

.social-link:hover svg {
    transform: translate(2px, -2px);
}

/* Yelp Card Specific Styles */
.yelp-card {
    background: white;
    border: 2px solid #FF1A1A;
}

.yelp-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.yelp-logo {
    height: 40px;
    width: auto;
}

.yelp-content {
    text-align: center;
}

.yelp-content h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.yelp-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.yelp-stars {
    color: #FF1A1A;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.yelp-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.yelp-quote {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.yelp-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.yelp-info span {
    display: flex;
    align-items: center;
}

.yelp-info span:not(:last-child)::after {
    content: '•';
    margin-left: 1rem;
    color: var(--border);
}

.yelp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FF1A1A;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.yelp-button:hover {
    background: #E00000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 26, 26, 0.3);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0 6rem;
    background: var(--bg-alt);
    overflow: hidden;
    margin-bottom: 0;
}

.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

.testimonial-inner {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--bg-alt);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #272525 0%, #3a3838 100%);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--bg-alt);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.testimonial-inner blockquote {
    margin: 0;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimonial-author {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-author strong {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary);
}

/* Service Areas */
.service-areas {
    background: #272525;
    color: white;
}

.service-areas h2 {
    color: white;
}

.service-areas .section-label {
    color: var(--accent);
}

.areas-content {
    text-align: center;
}

.areas-content > p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
}

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

.area-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
}

.area-group h3 {
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.area-group ul li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.area-group ul li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item span {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item a {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(73, 80, 188, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Contact Map */
.contact-map {
    margin-top: 2rem;
}

.contact-map iframe {
    box-shadow: var(--shadow);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
}

.map-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.sidebar-map {
    margin-top: 1rem;
}

.sidebar-map .map-link {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #272525;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

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

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

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

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

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.8rem !important;
}

/* ==================== */
/* Subpage Styles */
/* ==================== */

/* Page Hero */
.page-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, rgba(39, 37, 37, 0.92) 0%, rgba(58, 56, 56, 0.88) 100%),
                url('../hero-bg.webp') center/cover no-repeat;
    color: white;
}

.no-webp .page-hero {
    background: linear-gradient(135deg, rgba(39, 37, 37, 0.92) 0%, rgba(58, 56, 56, 0.88) 100%),
                url('../hero-bg-optimized.jpg') center/cover no-repeat;
}

.page-hero h1 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* Content Grid */
.location-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.main-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--secondary);
}

.main-content h4 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
}

.main-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Service List */
.service-list {
    margin: 1.5rem 0;
    padding-left: 0;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

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

/* Video Section */
.video-section {
    margin: 2.5rem 0;
}

.video-section h3 {
    margin-bottom: 1.5rem;
}

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

.video-grid--single {
    grid-template-columns: 1fr;
    max-width: 640px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius);
}

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

/* Court Info Box */
.court-info {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.court-info h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.court-info p {
    margin: 0;
    color: var(--text);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    color: white;
}

.highlight-box h4 {
    color: white;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.reason-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.reason-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.reason-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item h4 {
    margin: 0 0 0.75rem 0;
    color: var(--secondary);
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background: #272525;
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 1.5rem;
}

.sidebar-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.sidebar-cta .btn {
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.sidebar-office,
.sidebar-areas,
.sidebar-credentials,
.sidebar-practice {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.sidebar-office h4,
.sidebar-areas h4,
.sidebar-credentials h4,
.sidebar-practice h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--secondary);
}

.sidebar-office address {
    font-style: normal;
    color: var(--text);
    margin-bottom: 1rem;
}

.sidebar-office p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.sidebar-areas ul,
.sidebar-practice ul {
    margin: 0;
    padding: 0;
}

.sidebar-areas ul li,
.sidebar-practice ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-areas ul li:last-child,
.sidebar-practice ul li:last-child {
    border-bottom: none;
}

.sidebar-areas a,
.sidebar-practice a {
    color: var(--text);
    font-size: 0.95rem;
}

.sidebar-areas a:hover,
.sidebar-practice a:hover {
    color: var(--primary);
}

.sidebar-credentials ul {
    margin: 0;
    padding: 0;
}

.sidebar-credentials li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
}

.sidebar-credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Location CTA */
.location-cta {
    background: var(--primary);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.location-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.location-cta .btn-outline {
    border-color: white;
    color: white;
}

.location-cta .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Urgent CTA */
.urgent-cta {
    background: #dc2626;
    padding: 1.5rem 0;
}

.urgent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.urgent-text {
    color: white;
}

.urgent-text h3 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.urgent-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Penalty Table */
.penalty-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.penalty-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.penalty-card h4 {
    margin: 0 0 1rem 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.penalty-card ul {
    margin: 0;
    padding: 0;
}

.penalty-card li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 1rem;
    position: relative;
}

.penalty-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Defense Strategies */
.defense-strategies {
    margin: 2rem 0;
}

.strategy {
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.strategy h4 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary);
}

.strategy p {
    margin: 0;
    font-size: 0.95rem;
}

/* Court Details List */
.court-details {
    margin: 1.5rem 0;
    padding: 0;
}

.court-details li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.court-details li:last-child {
    border-bottom: none;
}

/* Responsive for Subpages */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .penalty-table {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .page-hero {
        padding: 7rem 0 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .urgent-content {
        flex-direction: column;
        text-align: center;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

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

    .hero-text {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .practice-list {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

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

    .trust-items {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .trust-number {
        font-size: 2rem;
    }

    .practice-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ==================== */
/* Language Toggle */
/* ==================== */

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-toggle:hover {
    border-color: var(--primary);
}

.lang-option {
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-option.active {
    color: var(--primary);
}

.lang-option:hover {
    color: var(--primary-hover);
}

.lang-divider {
    color: var(--border);
    font-weight: 400;
}

/* Mobile nav language toggle */
@media (max-width: 768px) {
    .lang-toggle {
        align-self: center;
        margin-top: 0.5rem;
    }
}
