/* ============================================
   Sterling & Associates Law Firm Template
   A professional law firm website template
   Built with RSL Framework
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Primary - Deep Navy (Trust/Authority) */
    --law-navy: #1a2744;
    --law-navy-light: #2a3a5c;
    --law-navy-dark: #0f1829;

    /* Accent - Warm Gold (Prestige/Success) */
    --law-gold: #c9a961;
    --law-gold-light: #d4ba7a;
    --law-gold-dark: #a88d4a;

    /* Neutrals */
    --law-white: #ffffff;
    --law-cream: #f8f6f2;
    --law-gray: #6b7280;
    --law-gray-light: #9ca3af;
    --law-charcoal: #374151;
    --law-text: #1f2937;

    /* Semantic */
    --law-success: #059669;
    --law-error: #dc2626;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --law-navy: #0f1829;
    --law-navy-light: #1a2744;
    --law-navy-dark: #080c14;
    --law-cream: #1a1a1a;
    --law-text: #e5e7eb;
    --law-charcoal: #d1d5db;
    --law-gray: #9ca3af;
}

/* ============================================
   Base Styles
   ============================================ */
body {
    font-family: var(--font-body);
    color: var(--law-text);
    line-height: 1.7;
    background: var(--law-white);
}

[data-theme="dark"] body {
    background: #121212;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--law-navy);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--law-white);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--law-gold);
    color: var(--law-navy-dark);
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    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: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-full {
    width: 100%;
}

.btn-gold {
    background: var(--law-gold) !important;
    color: var(--law-navy-dark) !important;
    border-color: var(--law-gold) !important;
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--law-gold-dark) !important;
    border-color: var(--law-gold-dark) !important;
    color: var(--law-white) !important;
}

[data-theme="dark"] .btn-gold {
    background: var(--law-gold) !important;
    color: var(--law-navy-dark) !important;
    border-color: var(--law-gold) !important;
}

[data-theme="dark"] .btn-gold:hover,
[data-theme="dark"] .btn-gold:focus {
    background: var(--law-gold-dark) !important;
    border-color: var(--law-gold-dark) !important;
    color: var(--law-white) !important;
}

.btn-outline-light {
    background: transparent !important;
    color: var(--law-white) !important;
    border-color: var(--law-white) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--law-white) !important;
    color: var(--law-navy) !important;
}

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

.btn-outline-navy:hover,
.btn-outline-navy:focus {
    background: var(--law-navy) !important;
    color: var(--law-white) !important;
}

[data-theme="dark"] .btn-outline-navy {
    color: var(--law-gold) !important;
    border-color: var(--law-gold) !important;
}

[data-theme="dark"] .btn-outline-navy:hover,
[data-theme="dark"] .btn-outline-navy:focus {
    background: var(--law-gold) !important;
    color: var(--law-navy-dark) !important;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--law-navy);
    color: var(--law-white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-left .divider {
    opacity: 0.5;
}

.top-bar-left a,
.top-bar-right a {
    color: var(--law-gold-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    color: var(--law-gold);
}

.phone-link {
    font-weight: 600;
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .top-bar-content {
        justify-content: center;
    }
}

/* ============================================
   Navbar
   ============================================ */
.law-navbar {
    background: var(--law-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
}

[data-theme="dark"] .law-navbar {
    background: var(--law-navy-dark);
}

.law-navbar .rsl-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--law-navy);
}

[data-theme="dark"] .law-navbar .rsl-navbar-brand {
    color: var(--law-white);
}

.law-navbar .brand-icon {
    font-size: 1.75rem;
    color: var(--law-gold);
}

.law-navbar .brand-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.law-navbar .brand-accent {
    color: var(--law-gold);
}

.law-navbar .rsl-navbar-link {
    color: var(--law-charcoal);
    font-weight: 500;
    transition: color 0.2s ease;
}

[data-theme="dark"] .law-navbar .rsl-navbar-link {
    color: var(--law-gray-light);
}

.law-navbar .rsl-navbar-link:hover,
.law-navbar .rsl-navbar-link[aria-current="page"] {
    color: var(--law-gold);
}

.navbar-cta {
    margin-left: 1rem;
}

@media (max-width: 991px) {
    .navbar-cta {
        display: none;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.92) 0%, rgba(15, 24, 41, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--law-white);
}

.hero-tagline {
    display: inline-block;
    background: rgba(201, 169, 97, 0.2);
    color: var(--law-gold);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-section h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--law-white);
    margin: 0 0 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

@media (max-width: 576px) {
    .hero-cta-group .btn {
        width: 100%;
    }
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-section {
    background: var(--law-navy);
    padding: 2.5rem 0;
}

.trust-badge {
    text-align: center;
    padding: 1rem;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--law-gold);
    margin-bottom: 0.25rem;
}

.trust-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1rem;
}

.section-header p {
    color: var(--law-gray);
    font-size: 1.1rem;
}

.section-header-light h2 {
    color: var(--law-white);
}

.section-header-light p {
    color: rgba(255, 255, 255, 0.8);
}

.section-tag-light {
    color: var(--law-gold-light);
}

/* ============================================
   Practice Areas
   ============================================ */
.practice-section {
    padding: var(--section-padding);
    background: var(--law-cream);
}

[data-theme="dark"] .practice-section {
    background: #1a1a1a;
}

.practice-card {
    background: var(--law-white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .practice-card {
    background: #242424;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.practice-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--law-navy) 0%, var(--law-navy-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.practice-icon i {
    font-size: 1.75rem;
    color: var(--law-gold);
}

.practice-card h3 {
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
}

.practice-card p {
    color: var(--law-gray);
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.practice-link {
    color: var(--law-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.practice-link:hover {
    gap: 0.75rem;
}

/* ============================================
   Attorneys Section
   ============================================ */
.attorneys-section {
    padding: var(--section-padding);
    background: var(--law-white);
}

[data-theme="dark"] .attorneys-section {
    background: #121212;
}

.attorney-card {
    background: var(--law-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .attorney-card {
    background: #1e1e1e;
}

.attorney-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.attorney-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.attorney-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.attorney-card:hover .attorney-image img {
    transform: scale(1.05);
}

.attorney-info {
    padding: 1.5rem;
    text-align: center;
}

.attorney-info h3 {
    font-size: 1.35rem;
    margin: 0 0 0.25rem;
}

.attorney-title {
    color: var(--law-gold);
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.attorney-focus {
    color: var(--law-gray);
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.attorney-bar {
    font-size: 0.8rem;
    color: var(--law-gray-light);
    margin: 0 0 1rem;
}

.attorney-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.attorney-links a {
    color: var(--law-navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

[data-theme="dark"] .attorney-links a {
    color: var(--law-gray-light);
}

.attorney-links a:hover {
    color: var(--law-gold);
}

.attorneys-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-section {
    padding: var(--section-padding);
    background: var(--law-cream);
}

[data-theme="dark"] .why-section {
    background: #1a1a1a;
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--law-gold);
    color: var(--law-navy-dark);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.why-image-badge .badge-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}

.why-image-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
    .why-image-badge {
        bottom: 20px;
        right: 20px;
    }
}

.why-content .section-tag {
    display: block;
    text-align: left;
}

.why-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1.25rem;
}

.why-content .lead {
    font-size: 1.15rem;
    color: var(--law-gray);
    margin-bottom: 2rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    color: var(--law-gold);
    font-size: 1.5rem;
}

.feature-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.feature-content p {
    color: var(--law-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--law-navy) 0%, var(--law-navy-dark) 100%);
}

.testimonial-card {
    background: var(--law-white);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .testimonial-card {
    background: #1e1e1e;
}

.testimonial-stars {
    color: var(--law-gold);
    margin-bottom: 1rem;
}

.testimonial-stars i {
    margin-right: 0.15rem;
}

.testimonial-card blockquote {
    flex: 1;
    margin: 0 0 1.5rem;
    font-style: italic;
    color: var(--law-charcoal);
    font-size: 1.05rem;
    line-height: 1.7;
}

[data-theme="dark"] .testimonial-card blockquote {
    color: var(--law-gray-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1rem;
}

[data-theme="dark"] .testimonial-author {
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author cite {
    font-style: normal;
    font-weight: 600;
    color: var(--law-navy);
    display: block;
}

[data-theme="dark"] .testimonial-author cite {
    color: var(--law-white);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--law-gray);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding);
    background: var(--law-white);
}

[data-theme="dark"] .contact-section {
    background: #121212;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1.25rem;
}

.contact-info .lead {
    font-size: 1.1rem;
    color: var(--law-gray);
    margin-bottom: 2rem;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--law-cream);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="dark"] .contact-icon {
    background: #1e1e1e;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--law-gold);
}

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.contact-text p {
    margin: 0;
    color: var(--law-gray);
}

.contact-text a {
    color: var(--law-gold);
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--law-cream);
    border-radius: 12px;
    padding: 2.5rem;
}

[data-theme="dark"] .contact-form-wrapper {
    background: #1e1e1e;
}

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

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

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

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--law-charcoal);
}

[data-theme="dark"] .contact-form label {
    color: var(--law-gray-light);
}

.contact-form .required {
    color: var(--law-error);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: var(--law-white);
    color: var(--law-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
    background: #2a2a2a;
    border-color: #404040;
    color: var(--law-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--law-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--law-gray-light);
}

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

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

.form-disclaimer p {
    margin: 0;
    color: var(--law-gray);
    font-size: 0.85rem;
}

.form-disclaimer a {
    color: var(--law-gold);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.95) 0%, rgba(15, 24, 41, 0.9) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--law-white);
}

.cta-content h2 {
    color: var(--law-white);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0 0 1rem;
}

.cta-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

/* ============================================
   Footer
   ============================================ */
.law-footer {
    background: var(--law-navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--law-white);
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.75rem;
    color: var(--law-gold);
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--law-white);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    background: var(--law-gold);
    color: var(--law-navy-dark);
}

.footer-heading {
    color: var(--law-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--law-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--law-gold);
}

.footer-contact {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--law-gold);
    margin-top: 0.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--law-gold);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-legal p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.footer-legal .disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--law-gold);
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Mobile Phone Button
   ============================================ */
.mobile-phone-btn {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
    background: var(--law-gold);
    color: var(--law-navy-dark);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.5);
}

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

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }

    .hero-section {
        min-height: 60vh;
        padding: 4rem 0;
    }

    .why-image-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 1rem;
    }

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

/* ============================================
   Accessibility: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Focus States for Accessibility
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--law-gold);
    outline-offset: 2px;
}

.practice-card:focus-within,
.attorney-card:focus-within,
.testimonial-card:focus-within {
    outline: 3px solid var(--law-gold);
    outline-offset: 4px;
}

/* ============================================
   Accessibility Widget Custom Colors
   ============================================ */
:root {
    --rsl-a11y-primary: #1a2744;
    --rsl-a11y-secondary: #2a3a5c;
    --rsl-a11y-button-gradient: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%);
    --rsl-a11y-header-gradient: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%);
    --rsl-a11y-toggle-gradient: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%);
    --rsl-a11y-button-shadow: 0 4px 16px rgba(26, 39, 68, 0.4);
    --rsl-a11y-button-icon: #c9a961;
    --rsl-a11y-header-text: #ffffff;
}

/* Direct overrides for accessibility widget */
.rsl-a11y-widget-button {
    background: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%) !important;
    box-shadow: 0 4px 16px rgba(26, 39, 68, 0.4) !important;
    color: #c9a961 !important;
}

.rsl-a11y-widget-button:hover {
    box-shadow: 0 6px 24px rgba(26, 39, 68, 0.5) !important;
}

.rsl-a11y-panel-header {
    background: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%) !important;
    color: #ffffff !important;
}

.rsl-a11y-panel-title {
    color: #ffffff !important;
}

.rsl-a11y-close-btn {
    color: #ffffff !important;
}

.rsl-a11y-toggle.active {
    background: linear-gradient(135deg, #1a2744 0%, #2a3a5c 100%) !important;
}

/* ============================================
   Theme Toggle Styling
   ============================================ */
.rsl-theme-toggle {
    background: var(--law-navy) !important;
    border: 2px solid var(--law-gold) !important;
    color: var(--law-gold) !important;
}

.rsl-theme-toggle:hover {
    background: var(--law-gold) !important;
    color: var(--law-navy-dark) !important;
}

[data-theme="dark"] .rsl-theme-toggle {
    background: var(--law-navy-light) !important;
    border-color: var(--law-gold) !important;
    color: var(--law-gold) !important;
}

[data-theme="dark"] .rsl-theme-toggle:hover {
    background: var(--law-gold) !important;
    color: var(--law-navy-dark) !important;
}
