:root {
    --primary-color: #0b1c31; /* Midnight Blue */
    --secondary-color: #c59b5f; /* Professional Gold */
    --accent-color: #8c2a3e; /* Burgundy accent */
    --background-light: #ffffff;
    --background-alt: #f8f9fa; 
    --text-dark: #1e293b;
    --text-muted: #3d4f63;
    --border-color: #e2e8f0;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Times New Roman', Times, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
main { display: block; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

body {
    font-family: var(--font-sans);
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-padding { padding: 6rem 0; }
.section-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.section-title.text-left { text-align: left; }
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations initial states */
.anime-hero-text, .anime-hero-photo, .observe-element, .observe-stagger, .practice-card-stagger {
    opacity: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.nav-logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav-logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-serif);
    line-height: 1.2;
}
.nav-logo-text small {
    font-size: 0.6rem;
    font-family: var(--font-sans);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    font-weight: 400;
    margin-top: 2px;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}
.nav-links.open { display: flex; }
.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--secondary-color); }
.nav-links .btn-nav {
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.nav-links .btn-nav:hover { background: var(--secondary-color); color: var(--primary-color); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    padding: 10px 12px;
    min-width: 44px;
    min-height: 44px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

@media (max-width: 992px) {
    .hamburger { display: flex; }
    .nav-inner { flex-wrap: wrap; }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        order: 3;
        flex: 0 0 100%;
        background: white;
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
        padding: 0.5rem 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    .nav-links .btn-nav {
        margin: 0.5rem 2rem 1rem;
        text-align: center;
        width: auto;
        display: inline-block;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background-color: var(--background-alt);
    padding: 8rem 2rem 4rem 2rem;
}
.hero-content {
    max-width: 1200px; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-title {
    font-size: 4rem; font-weight: 600; line-height: 1.1; margin-bottom: 1.5rem;
    color: var(--primary-color); font-family: var(--font-serif);
}
.hero-title span { color: var(--secondary-color); font-style: italic; }
.hero-description {
    font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }
.btn-primary-action {
    background-color: var(--primary-color); color: white;
    padding: 0.9rem 1.8rem; border-radius: 4px; font-weight: 600;
    text-decoration: none; transition: background 0.3s;
}
.btn-primary-action:hover { background-color: var(--secondary-color); color: var(--primary-color); }
.btn-outline-dark {
    background-color: transparent; color: var(--primary-color);
    border: 1px solid var(--primary-color); padding: 0.9rem 1.8rem;
    border-radius: 4px; font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.btn-outline-dark:hover { background-color: var(--primary-color); color: white; }

.hero-badges { display: flex; gap: 2rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.badge-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; }
.badge-icon { color: var(--secondary-color); }

/* Photo Card */
.hero-photo-side {
    position: relative; border-radius: 4px; overflow: hidden; height: 550px;
    box-shadow: 0 20px 40px rgba(11, 28, 49, 0.1);
}
.photo-card { width: 100%; height: 100%; position: relative; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-name-badge {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); border-radius: 8px; padding: 1.2rem;
    display: flex; align-items: center; gap: 1rem; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.photo-badge-icon { font-size: 1.5rem; color: var(--primary-color); }
.photo-badge-text { display: flex; flex-direction: column; }
.photo-badge-text strong { color: var(--primary-color); font-size: 1.1rem; font-weight: 700; }
.photo-badge-text span { color: var(--text-muted); font-size: 0.8rem; }

/* About Section */
.about { background: var(--background-light); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; }
.about-stats { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.about-stats li {
    background: var(--background-alt); padding: 1.25rem; border-radius: 4px;
    border-left: 3px solid var(--secondary-color); color: var(--text-dark);
}
.about-stats strong { display: block; font-size: 1.5rem; color: var(--primary-color); margin-bottom: 0.25rem; }
.about-image img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.about-image picture { display: block; }

/* Practice Areas Grid */
.practice-areas { background: var(--background-alt); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card {
    background: var(--background-light); border: 1px solid var(--border-color);
    padding: 2.5rem 2rem; border-radius: 4px; transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(11, 28, 49, 0.08); }
.service-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary-color); font-family: var(--font-serif); }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Intake Form Section */
.intake-section { background: var(--background-light); border-top: 1px solid var(--border-color); }
.intake-form-container {
    background: var(--background-light); padding: 3rem; border-radius: 4px;
    border: 1px solid var(--border-color); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.intake-form-container h2 {
    font-size: 1.75rem; margin-bottom: 1.5rem; color: var(--primary-color); text-align: center; font-family: var(--font-serif);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.875rem; background: var(--background-alt); border: 1px solid var(--border-color);
    border-radius: 4px; color: var(--text-dark); font-family: var(--font-sans); font-size: 1rem; transition: all 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(11, 28, 49, 0.1);
}
.btn-primary {
    width: 100%; padding: 1rem; background: var(--primary-color); color: white;
    border: none; border-radius: 4px; font-size: 1.125rem; font-weight: 600; cursor: pointer; transition: background 0.3s; margin-top: 0.5rem;
}
.btn-primary:hover { background: var(--secondary-color); color: var(--primary-color); }
.form-disclaimer { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: 1rem; border-radius: 4px; text-align: center; display: none; }
.form-status.success { display: block; background: #e6f4ea; color: #137333; }
.form-status.error { display: block; background: #fce8e6; color: #c5221f; }

/* International Footer */
.footer-global { background: var(--primary-color); color: rgba(255,255,255,0.8); padding-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col-brand .logo-name, .footer-col-brand .logo-icon { color: white; border-color: white; }
.brand-desc { margin-top: 1.5rem; margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.6; max-width: 300px; }
.newsletter-box h3, .newsletter-box h4 { color: white; margin-bottom: 1rem; font-family: var(--font-sans); font-weight: 600; }
.newsletter-input { display: flex; }
.newsletter-input input {
    padding: 0.8rem; border: none; border-radius: 4px 0 0 4px; flex-grow: 1; outline: none;
}
.newsletter-input button {
    background: var(--secondary-color); color: var(--primary-color); border: none; padding: 0 1rem;
    border-radius: 0 4px 4px 0; cursor: pointer; font-weight: bold; transition: background 0.3s;
}
.newsletter-input button:hover { background: white; }
.footer-global h3, .footer-global h4 { color: white; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col-links ul { list-style: none; }
.footer-col-links li { margin-bottom: 0.75rem; }
.footer-col-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer-col-links a:hover { color: var(--secondary-color); }
.footer-col-contact address { font-style: normal; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.6; }
.contact-method a { color: white; text-decoration: none; font-weight: 600; }
.footer-bottom-bar { background: #071221; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.legal-links { list-style: none; display: flex; gap: 1.5rem; }
.legal-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s; }
.legal-links a:hover { color: white; }

/* Floating Action Buttons */
.fab-container { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 1rem; z-index: 100; }
.fab {
    width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); transition: transform 0.3s, box-shadow 0.3s;
}
.fab:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2); }
.fab-phone { background: var(--secondary-color); color: var(--primary-color); font-size: 1.5rem; }
.fab-whatsapp { background: #25d366; color: white; }

/* Blog Page */
.active-nav {
    color: var(--secondary-color) !important;
}
.blog-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #122d4a 100%);
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
}
.blog-hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.blog-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(11, 28, 49, 0.08);
}
.blog-card-category {
    display: inline-block;
    background: var(--background-alt);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--secondary-color);
}
.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.blog-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.blog-card-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-card-link:hover {
    color: var(--primary-color);
}
.blog-cta {
    background: var(--background-alt);
}
.blog-cta-card {
    text-align: center;
    background: var(--primary-color);
    padding: 4rem 3rem;
    border-radius: 4px;
    color: white;
}
.blog-cta-card h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.blog-cta-card p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}
.blog-cta-card .btn-primary-action {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
}
.blog-cta-card .btn-primary-action:hover {
    background: white;
    color: var(--primary-color);
}

/* FAQ Section (AEO / structured answers) */
.faq-section {
    background: var(--background-alt);
    padding: 6rem 0;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--background-light);
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-question:hover { color: var(--secondary-color); }
.faq-question .faq-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Areas Served (local SEO section) */
.areas-served {
    padding: 6rem 0;
}
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.areas-col h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}
.areas-col ul {
    list-style: none;
}
.areas-col ul li {
    padding: 0.35rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.areas-col ul li::before {
    content: "\25B8";
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}
.areas-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Google Map Section */
.map-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.map-container {
    width: 100%;
    height: 100%;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.map-overlay-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.map-overlay-link a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.map-overlay-link a:hover {
    color: var(--secondary-color);
}


@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .hero { padding: 5rem 1rem 3rem; }
    .hero-content { grid-template-columns: 1fr; gap: 2rem; }
    .hero-title { font-size: 2.25rem; }
    .hero-description { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-photo-side { height: 400px; }
    .photo-name-badge { padding: 0.8rem 1rem; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .about-stats { grid-template-columns: 1fr; }
    .container { padding: 0 1.25rem; }
    .section-padding { padding: 3rem 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .blog-hero-title { font-size: 2rem; }
    .blog-hero { min-height: 30vh; padding: 5rem 1rem 3rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-cta-card { padding: 2.5rem 1.5rem; }
    .blog-cta-card h2 { font-size: 1.5rem; }
    .intake-form-container { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .hero-description { font-size: 0.9rem; }
    .hero-photo-side { height: 320px; }
    .photo-name-badge { flex-direction: column; text-align: center; padding: 0.6rem 0.8rem; }
    .photo-badge-text span { font-size: 0.7rem; }
    .hero-badges { flex-direction: column; gap: 0.75rem; }
    .blog-hero-title { font-size: 1.5rem; }
    .nav-logo-text { font-size: 0.9rem; }
    .nav-logo-text small { font-size: 0.5rem; }
}

@media print {
    .navbar, .fab-container, .map-section, .newsletter-box { display: none; }
    .hero { min-height: auto; padding: 1rem 0; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-photo-side { height: 300px; }
    .footer-global { background: white; color: black; padding-top: 1rem; }
    .footer-global h3, .footer-global h4, .footer-col-brand .logo-name, .footer-col-brand .logo-icon { color: black; border-color: black; }
    .footer-bottom-bar { background: #eee; }
    .skip-link { display: none; }
    body { font-size: 11pt; color: black; }
    a { color: black !important; text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
