:root {
    --primary-navy: #001a33;
    --accent-gold: #c5a059;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.menu-open {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-drawer {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-left: auto;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.1rem;
}

.phone-link .bi {
    font-size: 1.05rem;
    color: var(--accent-gold);
}

.phone-link:hover {
    color: var(--accent-gold);
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-navy);
}

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

.mobile-actions {
    display: none;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
}

.mobile-sep {
    display: none;
    font-size: 1.15rem;
    line-height: 1;
    color: rgba(0, 26, 51, 0.28);
    transform: translateY(-1px);
    user-select: none;
}

.mobile-phone-link {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-navy);
    white-space: nowrap;
    padding: 0.25rem 0;
}

.mobile-phone-text {
    font-size: 0.95rem;
}

.mobile-phone-link .bi {
    color: var(--accent-gold);
    font-size: 1.05rem;
}

.mobile-menu-btn {
    display: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-navy);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--primary-navy);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-primary-gold {
    background-color: var(--accent-gold);
    color: var(--primary-navy) !important;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--accent-gold);
}

.btn-primary-gold:hover {
    background-color: #bfa052;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white) !important;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-navy) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--primary-navy);
}

.btn-secondary:hover {
    background-color: rgba(0, 26, 51, 0.05);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.w-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-brand {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 220px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/bg.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    pointer-events: none;
}

.hero-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 500px at 70% 20%, rgba(197, 160, 89, 0.14), transparent 65%);
    pointer-events: none;
}

.hero-brand .container {
    position: relative;
    z-index: 1;
}

.hero-brand-visual {
    position: relative;
    min-height: 360px;
}

.legal-pattern {
    width: 320px;
    height: 320px;
    display: grid;
    place-items: center;
    margin-left: auto;
}

.legal-pattern .bi {
    font-size: 15rem;
    line-height: 1;
    color: var(--accent-gold);
    opacity: 0.14;
    filter: drop-shadow(0 18px 60px rgba(197, 160, 89, 0.18));
}

.hero-woman {
    position: absolute;
    right: -28px;
    bottom: 0;
    width: min(520px, 44vw);
    height: auto;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 40px 90px rgba(0, 0, 0, 0.35));
}

.hero-brand .hero-content h1 {
    color: var(--white);
}

.hero-brand .hero-content .lead {
    color: rgba(255, 255, 255, 0.8);
}

.hero-logo-large {
    height: 100px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

/* Services */
.services {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(197, 160, 89, 0.05);
    padding: 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-icon .bi {
    font-size: 2.25rem;
    line-height: 1;
    color: var(--accent-gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.service-card ul {
    text-align: left;
    margin-top: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.service-card ul li::before {
    content: "•";
    color: var(--accent-gold);
    font-weight: bold;
    margin-right: 0.8rem;
}

/* Areas Served */
.areas {
    padding: 100px 0;
    background-color: var(--primary-navy);
    color: var(--white);
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.areas-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.area-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.area-list li {
    font-size: 1.1rem;
}

.highlight-box {
    background-color: var(--white);
    color: var(--primary-navy);
    padding: 3rem;
    border-radius: 8px;
}

.highlight-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.languages {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 4rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.05);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.badge-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.contact-details {
    margin-top: 3rem;
}

.contact-details li {
    margin-bottom: 2rem;
}

.contact-details li a:hover {
    color: var(--accent-gold);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.4rem;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

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

.lead-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

.form-status {
    text-align: center;
    padding: 2rem;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary-navy);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.hidden { display: none; }

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Footer */
.footer {
    padding: 80px 0 20px;
    background-color: var(--primary-navy);
    color: var(--white);
}

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

.footer-brand .footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-legal h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer-links a {
    display: block;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-grid, .about-grid, .contact-grid, .areas-content {
        grid-template-columns: 1fr;
    }
    .hero-image { order: -1; }
    .hero { padding-top: 140px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-drawer { display: none; }

    .mobile-actions {
        display: flex;
    }

    .mobile-phone-link {
        display: inline-flex;
    }

    .mobile-sep {
        display: inline-block;
    }
    
    .navbar .container {
        padding: 0.5rem 1.5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1003;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background-color: var(--primary-navy);
        transition: var(--transition);
    }

    /* Make burger visible on dark menu */
    .navbar.menu-open .mobile-menu-btn span {
        background-color: var(--white);
    }

    .navbar.menu-open .mobile-phone-link {
        color: var(--white);
    }

    .navbar.menu-open .mobile-phone-link .bi {
        color: var(--accent-gold);
    }

    .navbar.menu-open .mobile-sep {
        color: rgba(255, 255, 255, 0.35);
    }

    /* Animate burger into X */
    .navbar.menu-open .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar.menu-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
        transform: translateX(-6px);
    }

    .navbar.menu-open .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Menu Open State */
    .nav-drawer.active {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        inset: 0;
        background:
            radial-gradient(800px 500px at 50% 20%, rgba(197, 160, 89, 0.18), transparent 60%),
            linear-gradient(180deg, rgba(0, 26, 51, 0.98), rgba(0, 26, 51, 0.92));
        padding: 90px 1.5rem 24px;
        z-index: 1002;
        text-align: center;
        gap: 2.5rem;
    }

    .nav-drawer.active .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-drawer.active .nav-links a {
        color: var(--white);
        font-size: 1.6rem;
        letter-spacing: 0.2px;
    }

    .nav-drawer.active .nav-links a:hover {
        color: var(--accent-gold);
    }

    .nav-drawer.active .nav-contact {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .nav-drawer.active .phone-link {
        color: var(--white);
        font-size: 1.1rem;
    }

    .nav-drawer.active .btn-primary {
        width: min(320px, 100%);
    }

    .nav-drawer.active .nav-cta {
        display: none;
    }

    .hero-content h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .area-list { grid-template-columns: 1fr; }
    .about { padding: 60px 0; }
    
    .hero-brand {
        padding: 160px 0 80px;
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-logo-large {
        height: 80px;
    }

    .legal-pattern {
        width: 220px;
        height: 220px;
        margin: 1.5rem auto 0;
    }

    .legal-pattern .bi {
        font-size: 10.5rem;
    }

    .hero-brand-visual {
        display: none;
    }

    .hero-woman {
        display: none;
    }
}

@media (max-width: 360px) {
    .mobile-phone-text {
        display: none;
    }
}
