/* 
   Theme: Luxury Black, White & Gold
   Colors: Deep Black, White, Gold Gradient
   Fonts: Playfair Display (Headers), Inter (Body)
*/

:root {
    /* Colors */
    --color-black: 12, 12, 12;
    /* #0C0C0C */
    --color-black-light: 26, 26, 26;
    /* #1A1A1A */
    --color-white: 255, 255, 255;
    /* #FFFFFF */
    --color-gray-light: 248, 248, 248;
    /* #F8F8F8 */
    --color-gray-text: 100, 100, 100;
    /* #646464 */

    /* Gold Gradient Definition */
    --gold-start: #BF953F;
    --gold-mid: #FCF6BA;
    --gold-end: #B38728;
    --gradient-gold: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    --color-gold-solid: 191, 149, 63;
    /* Fallback Solid Gold */

    /* Very Dark Navy/Black for specific sections based on image request */
    --color-dark-section: #050810;

    /* Semantic Mapping */
    --color-primary: var(--color-black);
    --color-secondary: var(--color-gray-light);
    --color-text-main: var(--color-black);
    --color-text-light: var(--color-gray-text);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 95px;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-sans);
    color: rgb(var(--color-text-main));
    background-color: rgb(var(--color-white));
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: rgb(var(--color-primary));
    line-height: 1.2;
}

/* Gradient Text Class */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: rgb(var(--color-gold-solid));
}

.text-gold {
    color: rgb(var(--color-gold-solid));
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 L89 27.5 L89 72.5 L50 95 L11 72.5 L11 27.5 Z' fill='none' stroke='white' stroke-width='5'/%3E%3Ctext x='50' y='65' font-family='Playfair Display, serif' font-size='45' fill='white' text-anchor='middle' font-weight='bold'%3EM%3C/text%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.section-padding {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-gold);
    color: rgb(var(--color-black));
    border: none;
    box-shadow: 0 4px 10px rgba(191, 149, 63, 0.3);
}

.btn-primary:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(191, 149, 63, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: rgb(var(--color-white));
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    /* background-color: rgb(var(--color-white)); */
    color: rgb(var(--color-black));
}

.btn-accent {
    background: transparent;
    border: 1px solid rgb(var(--color-gold-solid));
    color: rgb(var(--color-gold-solid));
}

.btn-accent:hover {
    background: var(--gradient-gold);
    color: rgb(var(--color-black));
    border-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(12, 12, 12, 0.95);
    /* Black background */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--color-white));
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: rgb(var(--color-white));
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-gold);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: rgb(var(--color-white));
}

/* Hero Section */
.hero {
    position: relative;
    height: 150vh;
    min-height: 1060px;
    display: flex;
    align-items: center;
    /* Darker overlay on left for text, lighter on right for image */
    background-image: linear-gradient(90deg,
            rgba(0, 0, 0, 10) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.1) 100%),
        url('../images/hero-lawyer.webp');
    background-size: cover;
    background-position: center top;
    /* Focus more on faces/upper body */
    background-repeat: no-repeat;
    color: rgb(var(--color-white));
    padding-top: var(--header-height);
    margin-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: rgb(var(--color-gold-solid));
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    color: rgb(var(--color-white));
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}



/* Authority Stats */
/* Authority Stats */
.stats-section {
    background-color: rgb(var(--color-black));
    color: rgb(var(--color-white));
    padding: 4rem 0;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* Golden Line with Glow */
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.8);
    z-index: 11;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    transition: transform 0.3s ease;
    padding: 0.5rem;
    cursor: default;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: rgb(var(--color-gold-solid));
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1;
    transition: text-shadow 0.3s ease, filter 0.3s ease;
    display: inline-block;
}

.stat-item:hover h3 {
    text-shadow: 0 0 25px rgba(191, 149, 63, 0.6);
    filter: brightness(1.2);
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Practice Areas */
.areas-section {
    background-color: var(--color-white);
    color: rgb(var(--color-text-main));
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-tag {
    color: rgb(var(--color-gold-solid));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Practice Areas - Luxury White */
.areas-section {
    background-color: #ffffff;
    /* White context */
    padding-bottom: 6rem;
    padding-top: 6rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.area-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 280px;
    text-align: center;
}

.area-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.area-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.area-title {
    color: #0c0c0c;
    /* Dark Text */
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.area-desc {
    color: #555;
    /* Medium Gray */
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Ensure title is visible on white background */
.areas-section .section-title {
    color: #000000;
}

/* Cleanup unused */
.area-link {
    display: none;
}

/* About Section - Luxury Redesign */
.about-section {
    background-color: #0B0E14;
    /* Level 2: Rich Charcoal/Navy */
    color: rgb(var(--color-white));
    position: relative;
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
    z-index: 1;
}

/* Luxury Image Frame Effect */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(191, 149, 63, 0.3);
    z-index: -1;
    transition: transform 0.5s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.about-image:hover img {
    filter: brightness(1) contrast(1);
    transform: translateY(-5px);
}

.about-image:hover::before {
    transform: translate(-10px, -10px);
    border-color: rgba(191, 149, 63, 0.6);
}



.about-content .section-tag {
    /* Ensure it uses the global class but we can override specific positioning if needed */
    margin-bottom: 1.5rem;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: rgb(var(--color-white));
    line-height: 1.15;
}

.about-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient-gold);
    color: #000;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.value-item span:last-child {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgb(var(--color-white));
    letter-spacing: 0.02em;
}

/* Problems Solved - Luxury White/Silver */
.problems-section {
    background-color: #f8f8f8;
    /* Light Silver/White */
    color: #0c0c0c;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

/* Background Texture */
.problems-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: radial-gradient(circle at bottom left, rgba(191, 149, 63, 0.05), transparent 40%);
    pointer-events: none;
}

.problems-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.problems-section .section-title {
    color: #0c0c0c;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problems-section .section-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.problems-grid {
    position: relative;
    z-index: 2;
    display: block;
}

/* Owl Carousel Theme Overrides */
.owl-theme .owl-dots .owl-dot span {
    background: #ccc;
    transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--gradient-gold);
    transform: scale(1.2);
}

.owl-theme .owl-nav {
    margin-top: 2rem;
}

.problem-card {
    background: #ffffff;
    /* White Card */
    padding: 3rem 2rem;
    border-radius: var(--radius-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(191, 149, 63, 0.05) 0%, transparent 100%);
    transition: height 0.4s ease;
    z-index: 0;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(191, 149, 63, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.problem-card:hover::before {
    height: 100%;
}

.problem-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    background: rgba(191, 149, 63, 0.1);
    /* Subtle background circle */
    border-radius: 50%;
}

.icon-svg {
    width: 60%;
    height: 60%;
    color: rgb(var(--color-gold-solid));
    stroke-width: 1.5;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.problem-card:hover .icon-svg {
    transform: scale(1.1);
    /* remove glow on light bg */
}

.problem-card h3 {
    color: #0c0c0c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.problem-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.problem-card:hover p {
    color: #333;
}

.problem-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgb(var(--color-gold-solid));
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 1;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.problem-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.problem-link:hover {
    color: #B38728;
    padding-left: 5px;
    border-bottom-color: rgb(var(--color-gold-solid));
}

.problem-link:hover::after {
    transform: translateX(4px);
}

/* Testimonials - Luxury Redesign */
.testimonials-section {
    background-color: #0B0E14;
    /* Level 2: Alternating with Problems */
    padding: 6rem 0;
    position: relative;
    /* Subtle decorative element */
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.testimonials-section h2.section-title {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: inline-block;
}

.testimonials-grid {
    position: relative;
    z-index: 2;
    display: block;
}

.testimonial-card {
    background: #ffffff;
    /* White Card */
    border: none;
    border-radius: 8px;
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Decorative huge quote mark */
/* Decorative huge quote mark - REMOVED for clean look or made subtle if needed */
.testimonial-card::before {
    display: none;
}

.quote {
    font-family: var(--font-sans);
    font-style: normal;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.client-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0;
    border-top: none;
}

.client-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 1 / 1;
}

.client-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.client-details h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #0c0c0c;
    margin-bottom: 0.2rem;
    text-transform: capitalize;
    margin: 0 0 0.25rem 0;
}

.stars {
    color: #FFA500;
    /* Orange/Gold star color */
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Steps / Process - Luxury White */
.process-section {
    background-color: #ffffff;
    /* White context */
    color: #0c0c0c;
    padding: 8rem 0;
    position: relative;
}

.process-section .section-title {
    color: #0c0c0c;
    margin-bottom: 1rem;
}



.steps-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    margin-top: 4rem;
}

@media(min-width: 768px) {
    .steps-container {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Connecting line behind steps - Darker line for white bg */
    .steps-container::before {
        content: '';
        position: absolute;
        top: 2.5rem;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 80%, transparent);
        z-index: 1;
    }
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: transparent;
    padding: 0 1rem;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-gold);
    /* High standard gold gradient */
    border: none;
    color: rgb(var(--color-black));
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 25px rgba(191, 149, 63, 0.4);
    transition: all 0.4s ease;
    position: relative;
}

/* Inner gold circle for detail */
.step-number::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(191, 149, 63, 0.3);
    border-radius: 50%;
}

.step-item:hover .step-number {
    background: var(--gradient-gold);
    color: #000;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(191, 149, 63, 0.4);
}

.step-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    color: #0c0c0c;
}

.step-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background-color: rgb(var(--color-black));
    color: rgb(var(--color-white));
    text-align: center;
    padding: 8rem 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-gold);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: rgb(var(--color-white));
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* Footer - Luxury Redesign */
footer {
    background-color: #050505;
    /* Deep black */
    color: rgba(255, 255, 255, 0.6);
    padding: 6rem 0 3rem;
    font-size: 0.95rem;
    position: relative;
    border-top: 3px solid #BF953F;
    /* Solid gold top border */
}

/* Decorative Gradient Overlay at Top */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-gold);
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    /* Branding gets more space */
    gap: 4rem;
    margin-bottom: 5rem;
}

.branding-col {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(var(--color-white));
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: #050505;
    border-radius: 50%;
    /* Branding mark */
    font-weight: 800;
}

.footer-desc {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.oab-text {
    font-weight: 600;
    color: rgb(var(--color-gold-solid));
    letter-spacing: 0.05em;
}

.footer-heading {
    color: rgb(var(--color-white));
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-links li,
.contact-list li {
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '›';
    color: rgb(var(--color-gold-solid));
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: rgb(var(--color-gold-solid));
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.contact-icon {
    flex-shrink: 0;
    color: rgb(var(--color-gold-solid));
    margin-top: 3px;
}

.legal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
}

.legal-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

.legal-links a:hover {
    color: rgb(var(--color-gold-solid));
}

.sep {
    color: rgba(255, 255, 255, 0.2);
}

.oab-disclaimer {
    color: rgba(255, 255, 255, 0.3);
    text-align: left;
    font-size: 0.75rem;
}

/* Footer Responsive adjustments */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .branding-col {
        padding-right: 0;
    }

    .legal-flex {
        flex-direction: column;
        text-align: center;
    }

    .oab-disclaimer {
        text-align: center;
    }
}

/* =========================================
   RESPONSIVE DESIGN - ALL SCREEN SIZES
   ========================================= */

/* Extra Small Devices (Phones, 320px - 480px) */
@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Header */
    .logo {
        font-size: 1.1rem;
    }

    .logo svg {
        width: 24px;
        height: 24px;
    }

    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero Section */
    .hero {
        min-height: 850px;
        height: auto;
        padding-top: 70px;
        padding-bottom: 80px;
        background-position: 75% center;
        margin-top: 60px;
        align-items: flex-start;
    }

    .hero-content {
        margin-top: 30rem;
        margin-bottom: 5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }

    /* Rotating Words */
    .word-rotator-wrapper {
        width: 200px;
        font-size: 0.9em;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }

    /* Section Headers */
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-tag {
        font-size: 0.7rem;
    }

    /* Practice Areas */
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .area-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .area-title {
        font-size: 1.1rem;
    }

    .area-desc {
        font-size: 0.85rem;
    }

    /* About Section */
    .about-section {
        padding: 4rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .values-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 2rem;
    }

    /* Problems Section */
    .problems-section {
        padding: 3rem 0;
    }

    .problems-section .section-title {
        font-size: 1.75rem;
    }

    /* Process/Steps */
    .process-section {
        padding: 4rem 0;
    }

    .steps-container {
        gap: 2rem;
    }

    .steps-container::before {
        display: none;
    }

    .step-number {
        width: 4rem;
        height: 4rem;
        font-size: 1.5rem;
    }

    .step-item h3 {
        font-size: 1.2rem;
    }

    .step-item p {
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 4rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        width: auto;
        display: inline-flex;
        white-space: nowrap;
        max-width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .footer-heading {
        font-size: 1.1rem;
    }
}

/* Small Devices (Tablets Portrait, 481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    :root {
        --header-height: 90px;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Header */
    .logo {
        font-size: 1.3rem;
    }

    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 700px;
        height: 110vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .word-rotator-wrapper {
        width: 280px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    /* Section Headers */
    .section-title {
        font-size: 2rem;
    }

    /* Practice Areas */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content h2 {
        font-size: 2.25rem;
    }

    .values-list {
        grid-template-columns: 1fr 1fr;
    }

    /* Steps */
    .steps-container::before {
        display: none;
    }

    /* CTA */
    .cta-title {
        font-size: 2.25rem;
    }

    .btn-lg {
        padding: 1rem 2.5rem;
        white-space: nowrap;
        width: auto;
        display: inline-flex;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .branding-col {
        grid-column: 1 / -1;
    }
}

/* Medium Devices (Tablets Landscape, 769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }

    /* Hero */
    .hero-title {
        font-size: 3rem;
    }

    .word-rotator-wrapper {
        width: 320px;
    }

    .nav-cta {
        display: none !important;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    /* Practice Areas */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* Large Devices (Desktops, 1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }

    /* All default styles apply */
}

/* Extra Large Devices (Large Desktops, 1441px+) */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .areas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Menu Active State */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgb(var(--color-black));
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid rgb(var(--color-gold-solid));
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgb(var(--color-white));
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: rgb(var(--color-gold-solid));
}

/* Touch-friendly button sizes for mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        /* iOS recommended touch target */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
    }

    .mobile-toggle svg {
        stroke-width: 3;
    }

    /* Hide button in mobile menu */
    .mobile-menu .btn-block {
        display: none;
    }

    .icon {
        width: 50px;
        height: 50px;
    }
}

/* Wrapper for stats to eliminate white gaps on large screens */
.stats-wrapper {
    background-color: #02040a;
    /* Matches areas-section background */
}

/* Ensure title is visible on dark background */
/* Ensure title is visible on dark background */
.areas-section {
    color: rgb(var(--color-white));
}

/* ENHANCED CTA SECTION */
.cta-section {
    background: radial-gradient(circle at center, #1a1e29 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

/* Add a gold glow effect behind the text via pseudo element on title or content */
.cta-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: rgb(var(--color-gold-solid));
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

.btn-lg {
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    border-radius: 50px;
    /* Pill shape for modern look */
    box-shadow: 0 10px 30px rgba(191, 149, 63, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(191, 149, 63, 0.5);
}

/* =========================================
   SPECIAL EFFECTS & ANIMATIONS 
   ========================================= */

/* 1. Light Fade-in Animation */
/* Entradas Laterais (Fade Left/Right) */
.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .fade-left, 
    .fade-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Delay utilitário para sequências */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* 3. Rotating Words Text */
.word-rotator-wrapper {
    display: inline-block;
    position: relative;
    height: 1.25em;
    /* Adjust based on font size */
    overflow: hidden;
    vertical-align: bottom;
    width: 350px;
    /* Adjust width to fit largest word */
    text-align: left;
    margin-bottom: -0.2em;
    /* Align baseline */
}

.word-rotator {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    animation: rotateText 12s infinite cubic-bezier(0.23, 1, 0.32, 1);
}

.word-rotator span {
    display: block;
    height: 1.25em;
    padding-bottom: 0.1em;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: rgb(var(--color-gold-solid));
    white-space: nowrap;
}

@keyframes rotateText {

    0%,
    20% {
        transform: translateY(0);
    }

    25%,
    45% {
        transform: translateY(-1.25em);
    }

    50%,
    70% {
        transform: translateY(-2.5em);
    }

    75%,
    95% {
        transform: translateY(-3.75em);
    }

    100% {
        transform: translateY(0);
    }

    /* Loop back smoothly or jump */
}

/* 5. WhatsApp Pulse Effect */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(191, 149, 63, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(191, 149, 63, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(191, 149, 63, 0);
    }
}

.btn-pulse {
    animation: pulse-gold 2s infinite;
}

/* Link Underline Expansion */
.nav-link::after {
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Floating WhatsApp Button - Green Style */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    /* WhatsApp Green */
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-float:hover {
    background: #128C7E;
    /* Darker WhatsApp Green */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    stroke: none;
    flex-shrink: 0;
}

.whatsapp-float-text {
    display: none;
    font-family: var(--font-sans);
}

/* Mobile: Hide WhatsApp floating button and adjust CTA button */
@media (max-width: 768px) {
    .whatsapp-float {
        display: none;
    }

    /* Smaller font size for CTA button in mobile */
    .btn-lg {
        font-size: 0.85rem;
        padding: 1rem 2rem;
        letter-spacing: 0.1em;
    }
}

/* Tablet: Smaller button with icon only */
@media (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* WhatsApp Pulse Animation - Green */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* FAQ Section */
.faq-section {
    background-color: #050810;
    color: rgb(var(--color-white));
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section .section-title {
    color: rgb(var(--color-gold-solid));
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgb(var(--color-white));
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: rgb(var(--color-gold-solid));
}

.faq-question span {
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: rgb(var(--color-gold-solid));
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    margin-top: 4rem;
}

.btn-round {
    border-radius: 50px;
    padding: 1rem 3rem;
    display: inline-flex;
    align-items: center;
}

/* Mobile Adjustments for FAQ */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 0;
    }

    .faq-cta {
        margin-top: 3rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* Footer */
footer {
    background-color: #050810;
    color: rgb(var(--color-white));
    padding: 6rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--color-white));
    margin-bottom: 1.5rem;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: #000;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.oab-text {
    color: rgb(var(--color-gold-solid));
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: rgb(var(--color-white));
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-links li {
    margin-bottom: 1rem;
    margin-left: -13px;
    /* Alinha os links um pouco para a esquerda */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: rgb(var(--color-gold-solid));
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
    color: rgb(var(--color-gold-solid));
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.legal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.legal-bar p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: rgb(var(--color-white));
}

.sep {
    color: rgba(255, 255, 255, 0.2);
}

.oab-disclaimer {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legal-flex {
        flex-direction: column;
        text-align: center;
    }
}