:root {
    --primary-blue: #0a192f;
    --accent-gold: #c5a059;
    --light-gray: #f4f4f4;
    --white: #ffffff;
}

body {
    font-family: 'Georgia', serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--primary-blue);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo span { color: var(--accent-gold); }

.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: white; text-decoration: none; font-weight: bold; }

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), 
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.cta-button {
    background: var(--accent-gold);
    padding: 12px 30px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Service Cards */
.services { padding: 5rem 5%; text-align: center; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.card {
    padding: 2rem;
    background: var(--light-gray);
    border-top: 5px solid var(--accent-gold);
    transition: 0.3s;
}
.card:hover { transform: translateY(-10px); }

.contact-section {
    padding: 100px 10%;
    background: #0d1b2a;
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.contact-section form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
}

.contact-section textarea {
    min-height: 140px;
    resize: none;
}

.submit-btn {
    padding: 15px;
    background: #caa64c;
    border: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #b8963f;
}
section {
    padding: 80px 10%;
    text-align: center;
}

.why-grid,
.case-grid,
.attorney-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-card,
.case-card,
.attorney-card {
    background: #1b263b;
    padding: 30px;
    border-radius: 10px;
    color: white;
    transition: 0.3s ease;
}

.why-card:hover,
.case-card:hover,
.attorney-card:hover {
    transform: translateY(-8px);
    background: #24344d;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    background: #0d1b2a;
    color: white;
}

.stat-box h2 {
    font-size: 40px;
    color: #caa64c;
}

.attorney-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.testimonials {
    background: #f4f4f4;
    color: #222;
}

.legal-terms {
    background: #caa64c;
    color: black;
    font-weight: bold;
    padding: 20px;
}

.final-cta {
    background: #0d1b2a;
    color: white;
}
.mexico-law {
    background: url('https://images.unsplash.com/photo-1518639192441-8fce0a366e2e') center/cover no-repeat;
    position: relative;
    padding: 120px 10%;
    color: white;
}

.mexico-overlay {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.6);
    padding: 80px 40px;
    border-radius: 15px;
}

.mexico-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.mexico-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #caa64c;
}

.mexico-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 18px;
}

.mexico-tags {
    margin-top: 30px;
}

.mexico-tags span {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: #caa64c;
    color: black;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
}
/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #0d1b2a;
        width: 100%;
        flex-direction: column;
        display: none;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #caa64c;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .services {
        padding: 60px 5%;
    }

    .service-grid {
        flex-direction: column;
        gap: 20px;
    }

    .mexico-law {
        padding: 60px 5%;
    }

    .mexico-overlay {
        padding: 40px 20px;
    }

    .mexico-content h2 {
        font-size: 28px;
    }

    .contact-section {
        padding: 60px 5%;
    }

    .contact-section form {
        width: 100%;
    }
}
.firm-expertise {
    padding: 120px 10%;
    background: #111;
    color: white;
}

.firm-expertise h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    color: #caa64c;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.expertise-block {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.expertise-block:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.expertise-block h3 {
    margin-bottom: 15px;
    color: #caa64c;
}

.expertise-block ul {
    list-style: none;
    padding: 0;
}

.expertise-block ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.main-footer {
    background: #0b0f1a;
    color: #ccc;
    padding: 80px 10% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3,
.footer-column h4 {
    color: #caa64c;
    margin-bottom: 20px;
}

.footer-column p {
    line-height: 1.6;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #caa64c;
}

.social-icons a {
    color: #caa64c;
    margin-right: 15px;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 13px;
}
.elite-footer {
    background: linear-gradient(135deg, #0b0f1a, #111827);
    color: #ccc;
    padding-top: 0;
    position: relative;
}

.footer-top-line {
    height: 4px;
    background: linear-gradient(to right, #caa64c, #e6c76b, #caa64c);
}

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding: 80px 10%;
}

.footer-brand h2 {
    color: #caa64c;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-socials a {
    color: #caa64c;
    margin-right: 15px;
    font-size: 18px;
    transition: 0.3s ease;
}

.footer-socials a:hover {
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    color: #caa64c;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #caa64c;
    padding-left: 5px;
}

.footer-contact p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter {
    display: flex;
    gap: 10px;
}

.newsletter input {
    padding: 10px;
    border: none;
    border-radius: 4px;
    flex: 1;
}

.newsletter button {
    padding: 10px 15px;
    background: #caa64c;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.newsletter button:hover {
    background: #e6c76b;
}

.footer-bottom {
    text-align: center;
    padding: 25px 10%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #caa64c;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-weight: bold;
    display: none;
}

#backToTop:hover {
    background: #e6c76b;
}
.attorney-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.attorney-card {
    background: #fff;
    text-align: center;
    border-bottom: 4px solid #b3924e; /* Gold accent */
    transition: transform 0.3s ease;
}

.attorney-card:hover {
    transform: translateY(-10px);
}

.attorney-card .img-container {
    width: 100%;
    height: 350px; /* Forces all images to the same height */
    overflow: hidden;
}

.attorney-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching */
    object-position: top;
}

.attorney-card h3 {
    margin: 15px 0 5px;
    font-family: 'Cinzel', serif;
    color: #0d1b2a;
}

.attorney-card p {
    font-size: 0.9rem;
    color: #b3924e;
    margin-bottom: 20px;
    font-weight: 600;
}
.testimonials-premium {
    padding: 120px 0;
    background: #0d1b2a; /* Navy background for contrast */
    color: #fff;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 60px;
}

.gold-accent-text {
    color: #b3924e;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.gold-line {
    width: 60px;
    height: 2px;
    background: #b3924e;
    margin: 20px auto;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 25px;
}

.mosaic-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border: 1px solid rgba(179, 146, 78, 0.2);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mosaic-item:hover {
    background: rgba(179, 146, 78, 0.05);
    border-color: #b3924e;
    transform: translateY(-10px);
}

.mosaic-item.tall { grid-row: span 2; }
.mosaic-item.wide { grid-column: span 2; }

.quote-icon {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: rgba(179, 146, 78, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
}

.mosaic-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mosaic-item cite {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: #b3924e;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.mosaic-item cite span {
    display: block;
    color: #888;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    margin-top: 5px;
    font-size: 0.75rem;
}

/* Responsive Mosaic */
@media (max-width: 992px) {
    .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
    .mosaic-item.wide { grid-column: span 1; }
}

@media (max-width: 600px) {
    .mosaic-grid { grid-template-columns: 1fr; }
    .mosaic-item.tall { grid-row: span 1; }
}