/*
Theme Name: LegalAlex Pro
Theme URI: https://legalalex.com
Author: Alex J. Bell
Author URI: https://legalalex.com
Description: A modern, conversion-optimized theme for Alex J. Bell's law practice. Features sophisticated typography, trust-building sections, and mobile-first responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legalalex
Tags: one-column, custom-menu, featured-images, theme-options, legal, attorney, law-firm
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-ink: #1a1f2e;
    --color-ink-light: #3d4559;
    --color-gold: #c9a962;
    --color-gold-dark: #a88b3d;
    --color-cream: #faf8f5;
    --color-warm-white: #ffffff;
    --color-border: #e8e4df;
    --color-muted: #6b7280;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-ink);
    background: var(--color-warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-ink);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.625rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--color-ink);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

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

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

.section-header p {
    color: var(--color-ink-light);
    font-size: 1.0625rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-ink);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
    background: var(--color-ink);
    color: var(--color-warm-white);
}

.btn-secondary:hover {
    background: var(--color-ink-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-ink);
    color: var(--color-ink);
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-ink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-logo span {
    color: var(--color-gold);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--color-ink);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-link svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-ink);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: 10rem 0 6.25rem;
    background: linear-gradient(165deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a962' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

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

.hero-section h1 {
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-ink-light);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

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

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 0.8s 0.2s ease forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 12px;
    pointer-events: none;
}

.hero-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-gold);
    border-radius: 12px;
    z-index: -1;
}

/* ============================================
   CREDENTIALS BAR
   ============================================ */
.credentials-section {
    padding: 3.75rem 0;
    background: var(--color-ink);
    color: var(--color-warm-white);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.credential-item {
    text-align: center;
    padding: 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.credential-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.credential-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.credential-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ============================================
   PRACTICE AREAS
   ============================================ */
.practice-section {
    padding: 6.25rem 0;
    background: var(--color-warm-white);
}

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

.practice-card {
    background: var(--color-cream);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-gold);
}

.practice-icon {
    width: 56px;
    height: 56px;
    background: var(--color-warm-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
}

.practice-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-gold);
}

.practice-card h3 {
    margin-bottom: 0.75rem;
}

.practice-card p {
    color: var(--color-ink-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
    padding: 6.25rem 0;
    background: var(--color-cream);
}

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

.result-card {
    background: var(--color-warm-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.result-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.result-type {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-type svg {
    width: 36px;
    height: 36px;
    color: var(--color-ink);
}

.result-content h4 {
    margin-bottom: 0.5rem;
}

.result-content p {
    color: var(--color-ink-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.result-outcome {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #16a34a;
}

.result-outcome svg {
    width: 16px;
    height: 16px;
}

.results-disclaimer {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.75rem;
    color: var(--color-muted);
    font-style: italic;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 6.25rem 0;
    background: var(--color-warm-white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-ink);
    color: var(--color-warm-white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

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

.about-content p {
    color: var(--color-ink-light);
    font-size: 1.0625rem;
    margin-bottom: 1.25rem;
}

.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.about-credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-ink-light);
    background: var(--color-cream);
    padding: 0.625rem 1rem;
    border-radius: 6px;
}

.about-credential svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 6.25rem 0;
    background: var(--color-ink);
    color: var(--color-warm-white);
}

.testimonials-section .section-header h2 {
    color: var(--color-warm-white);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-ink);
}

.testimonial-info h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-body);
    margin-bottom: 0.125rem;
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 6.25rem 0;
    background: var(--color-cream);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.cta-section > .container > .cta-content > p {
    font-size: 1.125rem;
    color: var(--color-ink-light);
    margin-bottom: 2.5rem;
}

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

.cta-phone {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-top: 2rem;
}

.cta-phone a {
    color: var(--color-gold);
    text-decoration: none;
}

.cta-phone a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-ink);
    color: var(--color-warm-white);
    padding: 3.75rem 0 2.5rem;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-warm-white);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-gold);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    color: var(--color-gold);
}

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

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

.footer-links a:hover {
    color: var(--color-warm-white);
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 500px;
    text-align: right;
    line-height: 1.6;
}

/* Mobile menu toggle active state */
.contact-section {
    padding: 10rem 0 6.25rem;
    background: var(--color-cream);
}

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

.contact-info h1 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--color-ink-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

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

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--color-ink-light);
    font-size: 1rem;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-warm-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

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

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

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

.contact-form .btn {
    width: 100%;
}

/* WordPress specific form styles */
.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-warm-white);
    color: var(--color-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form input[type="submit"] {
    background: var(--color-gold);
    color: var(--color-ink);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--color-gold-dark);
}

/* ============================================
   WORDPRESS ADMIN BAR ADJUSTMENT
   ============================================ */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3.75rem;
    }

    .hero-image-wrapper {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .credential-item:nth-child(2) {
        border-right: none;
    }

    .credential-item:nth-child(3),
    .credential-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2.5rem;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        position: static;
        margin-top: 1.5rem;
        justify-content: center;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-cta .btn {
        display: none;
    }

    .hero-section {
        padding: 7.5rem 0 3.75rem;
    }

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

    .credential-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.875rem 1.25rem;
    }

    .credential-item:last-child {
        border-bottom: none;
    }

    .credential-item:nth-child(3),
    .credential-item:nth-child(4) {
        border-top: none;
        padding-top: 1.875rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

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

    .result-card {
        flex-direction: column;
    }

    .result-type {
        width: 60px;
        height: 60px;
    }

    .result-type svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   MOBILE MENU (ACTIVE STATE)
   ============================================ */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-warm-white);
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--color-border);
}

.main-nav.active ul {
    flex-direction: column;
    gap: 0;
}

.main-nav.active li {
    border-bottom: 1px solid var(--color-border);
}

.main-nav.active li:last-child {
    border-bottom: none;
}

.main-nav.active a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
}

/* Mobile menu toggle active state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
