:root {
    --primary: #4A0E4E;
    --primary-light: #6B1F6B;
    --primary-dark: #2D062D;
    --accent: #9B4DCA;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --white: #FFFFFF;
    --off-white: #F5F3F7;
    --light-purple: #EDE8EF;
    --gray-light: #E8E6EB;
    --shadow: 0 4px 20px rgba(74, 14, 78, 0.1);
    --transition: all 0.3s ease;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.2s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-light);
}

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

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 5px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F0EDF3 0%, #FAF9FC 50%, var(--white) 100%);
    padding-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-content h1 {
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.hero-content h1 span {
    color: var(--primary);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.hero-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-image {
    position: relative;
    animation: fadeIn 1s ease 0.3s both;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 16px;
    z-index: -1;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
}

/* About Section */
#about {
    background: var(--white);
    border-bottom: 1px solid var(--light-purple);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.credentials {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.credential {
    background: var(--off-white);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--primary);
}

/* Practice Areas */
#practice-areas {
    background: var(--light-purple);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.practice-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(74, 14, 78, 0.15);
}

.practice-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.practice-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.practice-card h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.practice-card p {
    font-size: 0.95rem;
}

/* Contact Section */
#contact {
    background: var(--off-white);
    border-top: 1px solid var(--light-purple);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.address-item {
    margin-top: 40px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
}

h4,
.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.contact-details p {
    font-size: 0.95rem;
}

.contact-item a.contact-link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.contact-item a.contact-link:hover {
    opacity: 0.7;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: var(--white);
    padding: 16px 28px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        padding-top: 100px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 310px;
        margin: 30px auto 24px;
    }

    .hero-image::before {
        top: -20px;
        right: -20px;
    }

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

    .about-image {
        max-width: 310px;
        margin: 0 auto;
    }

    .credentials {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

    section {
        padding: 60px 0;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
