/* =====================================================
   WHITTAKER LAW - Main Stylesheet
   ===================================================== */

:root {
    --gold: #C9A227;
    --gold-light: #E5C76B;
    --gold-dark: #8B7019;
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --cream: #FAF8F5;
    --cream-dark: #F0EBE3;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 30px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 50px rgba(0,0,0,0.12);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

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

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

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

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

.btn-dark {
    background: var(--charcoal);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--charcoal-light);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.navbar.transparent {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar.transparent.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

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

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

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

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

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

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

.nav-links > li > a svg {
    width: 12px;
    height: 12px;
    transition: var(--transition-smooth);
}

.nav-links > li:hover > a svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 100;
    border-radius: 10px;
    overflow: hidden;
}

.nav-links > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    position: relative;
}

.dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--cream);
    color: var(--gold);
    padding-left: 1.75rem;
}

.dropdown li a svg {
    width: 14px;
    height: 14px;
}

/* Sub-dropdown */
.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 250px;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-smooth);
}

.dropdown li:hover .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Nav CTA */
.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
}

.nav-cta:hover {
    background: var(--gold-dark) !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition-smooth);
}

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

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

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

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.page-header .breadcrumb a:hover {
    color: var(--gold);
}

.page-header .breadcrumb svg {
    width: 14px;
    height: 14px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(201, 162, 39, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(201, 162, 39, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-pattern {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 162, 39, 0.15);
    border-left: 3px solid var(--gold);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
    border-radius: 4px;
}

.hero-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .highlight {
    color: var(--gold);
    font-style: italic;
}

.hero-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.hero-image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--gold);
    z-index: 1;
    border-radius: 12px;
}

.hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
    border-radius: 12px;
}

.hero-image:hover img {
    filter: grayscale(0%);
}

.hero-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--charcoal);
    color: var(--white);
    padding: 1.5rem 2rem;
    z-index: 3;
    display: flex;
    gap: 2rem;
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-lighter);
    margin-top: 0.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-lighter);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--charcoal);
}

.section-cream {
    background: var(--cream);
}

.section-white {
    background: var(--white);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.section-label span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

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

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

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

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

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: 12px;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    filter: grayscale(30%);
    border-radius: 12px;
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
}

.accent-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.accent-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

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

.about-text {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(201, 162, 39, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--charcoal);
}

.feature-text p {
    font-size: 0.85rem;
}

/* =====================================================
   PRACTICE AREAS / SERVICES
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
    border-radius: 12px;
}

.section-white .service-card {
    background: var(--cream);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
    border-radius: 12px 12px 0 0;
}

.service-card:hover {
    transform: translateY(-5px);
}

.section-dark .service-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.section-white .service-card:hover {
    box-shadow: var(--shadow-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 12px;
}

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

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.section-dark .service-card h3 {
    color: var(--white);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.section-dark .service-card p {
    color: var(--text-lighter);
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-dark .service-list li {
    color: rgba(255, 255, 255, 0.7);
}

.section-white .service-list li {
    border-bottom-color: rgba(0,0,0,0.05);
}

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

.service-list li svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* Service Page Layout */
.service-page-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.service-main h2 {
    margin: 2rem 0 1rem;
}

.service-main h3 {
    margin: 2rem 0 1rem;
    color: var(--charcoal);
}

.service-main p {
    margin-bottom: 1rem;
}

.service-main ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.service-main ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.sidebar-widget h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0;
}

.sidebar-links a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.sidebar-links a:hover,
.sidebar-links a.active {
    color: var(--gold);
    padding-left: 0.5rem;
}

.sidebar-cta {
    background: var(--charcoal);
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--white);
    border-bottom-color: var(--gold);
}

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

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background: var(--gold);
    color: var(--white);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.process-step p {
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--cream);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    border-radius: 12px;
}

.section-cream .testimonial-card {
    background: var(--white);
    border-radius: 12px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 400;
}

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

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

.author-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

/* Review Form */
.review-form-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

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

.contact-info > p {
    margin-bottom: 2.5rem;
}

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

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

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

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

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--charcoal);
}

.contact-text p,
.contact-text a {
    font-size: 0.95rem;
    color: var(--text-light);
}

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

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
}

.contact-form h3 {
    margin-bottom: 0.5rem;
}

.contact-form > p {
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--cream);
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}

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

.form-submit {
    width: 100%;
    justify-content: center;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem;
}

.faq-answer-inner p {
    margin-bottom: 0.75rem;
}

/* =====================================================
   BLOG STYLES
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    height: 200px;
    background: var(--cream);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-lighter);
}

.blog-category {
    color: var(--gold);
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.blog-card:hover h3 {
    color: var(--gold);
}

.blog-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-smooth);
}

.blog-link:hover svg {
    transform: translateX(5px);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 45px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border-radius: 10px;
}

.footer-social a:hover {
    background: var(--gold);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

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

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item span {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

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

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .service-page-content {
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        transition: var(--transition-smooth);
        overflow-y: auto;
        padding: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links > li > a {
        font-size: 1.1rem;
    }
    
    .dropdown,
    .sub-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--cream);
        margin-top: 0.5rem;
        display: none;
        border-radius: 8px;
    }
    
    .nav-links > li.active > .dropdown {
        display: block;
    }
    
    .dropdown > li.active > .sub-dropdown {
        display: block;
        margin-left: 1rem;
        background: rgba(201, 162, 39, 0.1);
    }
    
    .dropdown > li > a,
    .sub-dropdown > li > a {
        padding: 0.75rem 1rem;
        display: block;
    }
    
    .dropdown > li > a svg,
    .sub-dropdown > li > a svg {
        float: right;
        transition: transform 0.3s ease;
    }
    
    .dropdown > li.active > a svg {
        transform: rotate(90deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 7rem 0 5rem;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-text {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 350px;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        justify-content: center;
        display: flex;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .service-page-content {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image-accent {
        width: 150px;
        height: 150px;
        bottom: -20px;
        right: -20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-image-frame {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    
    .section {
        padding: 4rem 0;
    }
    
    .page-header {
        padding: 8rem 0 4rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* =====================================================
   ADDITIONAL MOBILE FIXES
   ===================================================== */

/* Fix for about page attorney section */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-image-main {
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content .section-label {
        justify-content: center;
    }
    
    /* Hide decorative placeholder images on mobile */
    .about-image-main[style*="linear-gradient"],
    .about-image-main:has(svg:only-child),
    div[style*="linear-gradient"]:has(svg:only-child) {
        display: none !important;
    }
}

/* Fix service pages inline styles overflow */
@media (max-width: 768px) {
    /* Fix grid layouts that use inline styles */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 1.2fr 1fr"],
    [style*="grid-template-columns: 1fr 1.2fr"],
    [style*="grid-template-columns: 1fr auto"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Fix flex items with gaps */
    [style*="display: flex"][style*="gap"] {
        flex-wrap: wrap !important;
    }
    
    /* Fix padding on inline styled elements */
    [style*="padding: 2rem"],
    [style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }
    
    /* Prevent horizontal scroll */
    .container,
    .section,
    main,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Fix wide elements */
    img,
    svg,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix service page sidebars */
    .service-sidebar {
        margin-top: 2rem;
    }
    
    /* Hide large decorative SVG placeholders */
    [style*="min-height: 400px"]:has(svg),
    [style*="height: 300px"]:has(svg),
    [style*="height: 200px"]:has(svg) {
        display: none !important;
    }
    
    /* Fix inline grid on service cards */
    .service-card [style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .container {
        padding: 0 4%;
    }
    
    /* Fix inline flex boxes */
    [style*="display: flex"][style*="gap: 2rem"],
    [style*="display: flex"][style*="gap: 3rem"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Fix icon boxes */
    [style*="width: 50px"][style*="height: 50px"],
    [style*="width: 40px"][style*="height: 40px"] {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
    }
    
    /* Ensure text doesn't overflow */
    p, li, span, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Fix service page feature grids */
    .service-main [style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Feature boxes on service pages */
    [style*="display: flex"][style*="align-items: flex-start"][style*="gap: 1rem"] {
        padding: 1rem !important;
    }
    
    /* Fix testimonial boxes in service pages */
    [style*="border-left: 3px solid"] {
        padding-left: 1rem !important;
    }
}

/* Ensure proper box sizing everywhere */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Prevent horizontal scroll globally */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Fix any element that might cause overflow */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Service page specific fixes */
@media (max-width: 768px) {
    .service-page-content {
        display: block !important;
    }
    
    .service-main {
        width: 100% !important;
    }
    
    .service-sidebar {
        width: 100% !important;
        margin-top: 2rem;
    }
    
    /* Fix the feature cards with icons */
    [style*="padding: 1.5rem"][style*="background: var(--cream)"] {
        padding: 1rem !important;
        border-radius: 8px;
    }
    
    /* Ensure lists don't overflow */
    ul[style*="margin: 1rem 0 2rem 1.5rem"] {
        margin-left: 1rem !important;
        padding-left: 0.5rem;
    }
    
    /* Fix dark background boxes */
    [style*="background: var(--charcoal)"] {
        padding: 1.5rem !important;
        border-radius: 8px;
    }
}

