/* =============================================
   Barnes Walker — Master Stylesheet
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    /* Colors */
    --green-primary: #063f2a;
    --green-secondary: #015a2e;
    --green-hover: #0a5e3d;
    --gold: #dacd98;
    --gold-dark: #c2a35d;
    --gold-light: #e2ce99;
    --bg: #f4f0ea;
    --bg-dark: #eae5dc;
    --teal: #007ea7;
    --gray: #b0b0b0;
    --gray-light: #d4d0c8;
    --dark: #2e2e2e;
    --white: #ffffff;
    --black: #000000;

    /* Semantic */
    --color-text: #2e2e2e;
    --color-text-muted: #666666;
    --color-text-on-dark: #ffffff;
    --color-text-on-dark-muted: rgba(255, 255, 255, 0.7);
    --color-border: #d4d0c8;
    --color-border-gold: rgba(218, 205, 152, 0.3);
    --color-overlay: rgba(6, 63, 42, 0.88);
    --color-overlay-light: rgba(6, 63, 42, 0.75);

    /* Typography */
    --font-heading: 'EB Garamond', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, sans-serif;

    /* Spacing */
    --section-pad: 120px;
    --section-pad-mobile: 48px;
    --side-pad: 40px;
    --side-pad-mobile: 20px;
    --max-width: 1380px;
    --max-width-wide: 1380px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s var(--ease);
    --transition-normal: 0.3s var(--ease);
    --transition-slow: 0.4s var(--ease);
    --transition-drawer: 0.35s var(--ease);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}

body.drawer-open,
body.search-open {
    overflow: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

input, textarea, select {
    font-family: var(--font-body);
    font-size: 1rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: 3.5rem; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 2.5rem; line-height: 1.2; }
h3 { font-size: 1.75rem; line-height: 1.3; }
h4 { font-size: 1.375rem; line-height: 1.35; }
h5 { font-size: 1.125rem; line-height: 1.4; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--color-text-muted); }
.text-gold { color: var(--gold-dark); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.subtitle {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: capitalize;
    color: var(--green-primary);
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--side-pad);
    padding-right: var(--side-pad);
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding-left: var(--side-pad);
    padding-right: var(--side-pad);
}

.section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.section-dark {
    background: var(--green-primary);
    color: var(--color-text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
    color: var(--color-text-on-dark);
}

.section-beige {
    background: var(--bg);
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    border: none;
    line-height: 1;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--green-primary);
    border: 1.5px solid var(--green-primary);
}

.btn-secondary:hover {
    background: var(--green-primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--green-primary);
}

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

.btn-dark:hover {
    background: var(--green-secondary);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    font-size: 1.1em;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--green-primary);
    height: 100px;
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}


.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    max-width: 100%;
    margin: 0;
    padding: 0 48px;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 70px;
    width: auto;
}

.header-logo a {
    display: flex;
    align-items: center;
}

/* Desktop Nav */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 100%;
    flex: 1;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 100%;
    color: var(--color-text-on-dark);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    transition: color var(--transition-fast);
    cursor: pointer;
}

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

.nav-link .arrow {
    font-size: 0.55em;
    transition: transform var(--transition-fast);
    opacity: 0.7;
}

.nav-item.active .nav-link .arrow {
    transform: rotate(180deg);
}

/* Header right side */
.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
    flex-shrink: 0;
}

.header-search-btn {
    color: var(--color-text-on-dark);
    padding: 8px;
    margin-left: 4px;
    cursor: pointer;
    transition: color var(--transition-fast);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-btn svg {
    width: 18px;
    height: 18px;
}

.header-search-btn:hover {
    color: var(--gold);
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--color-text-on-dark);
}

.header-phone-label {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.04em;
    text-transform: none;
}

.header-phone-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-on-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.header-phone-number:hover {
    color: var(--gold);
}

.header-more-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--color-text-on-dark);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 4px;
    background: none;
    border: none;
    transition: color var(--transition-fast);
}

.header-more-btn:hover {
    color: var(--gold);
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 32px;
}

.hamburger-lines span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: all var(--transition-normal);
}

/* ---------- Mega Menu ---------- */
.mega-menu {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--green-primary);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 48px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 999;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    gap: 48px;
}

.mega-menu-legal .mega-menu-inner {
    grid-template-columns: 1fr 1fr 1fr;
}

.mega-menu-title .mega-menu-inner {
    grid-template-columns: 1fr 1fr 1fr;
}

.mega-menu-inquiries .inquiries-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.inquiry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inquiry-card-image {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.inquiry-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.inquiry-card-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-on-dark);
    background: rgba(6, 63, 42, 0.55);
    padding: 4px 24px;
    border-radius: 2px;
    letter-spacing: 0.02em;
}

.mega-menu-inquiries .inquiry-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    background: none;
    margin-bottom: 12px;
}

.inquiry-card-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 24px;
    max-width: 420px;
}

.mega-col-heading {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-on-dark-muted);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    margin-bottom: 20px;
}

.mega-cta-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-cta-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.mega-cta-text {
    color: var(--color-text-on-dark);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.mega-cta-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 4px;
}

.mega-link {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition-fast);
}

.mega-link:hover {
    padding-left: 6px;
}

.mega-link-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-text-on-dark);
    text-decoration: underline;
    text-decoration-color: rgba(218, 205, 152, 0.4);
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.mega-link:hover .mega-link-title {
    color: var(--gold);
}

.mega-link-desc {
    font-size: 0.8125rem;
    color: var(--color-text-on-dark-muted);
    margin-top: 2px;
}

/* ---------- Explore Mega Menu ---------- */
.mega-menu-explore .explore-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.explore-hero {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
}

.explore-hero-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-on-dark);
    margin-bottom: 16px;
}

.explore-hero-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 24px;
}

.explore-hero-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.explore-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.explore-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.explore-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.explore-card-icon {
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-on-dark);
    margin-bottom: 8px;
}

.explore-card-desc {
    font-size: 0.8125rem;
    color: var(--color-text-on-dark-muted);
    line-height: 1.5;
}

/* ---------- Office Location Cards ---------- */
.office-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.office-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.office-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.office-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.office-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.office-card-body {
    padding: 24px 28px;
    flex: 1;
}

.office-card-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
}

.office-card-divider {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin-bottom: 16px;
}

.office-card-address {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.office-card-phone {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.office-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gold);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.office-card-btn:hover {
    background: #c4b882;
}

@media (max-width: 768px) {
    .office-grid-3,
    .office-grid-2 {
        grid-template-columns: 1fr;
    }
    .office-grid-2 {
        max-width: 100%;
    }
}

/* ---------- Office Sub-Page: Hero ---------- */
.office-hero {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.office-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 51, 34, 1) 0%, rgba(0, 51, 34, 0.7) 50%, rgba(0, 51, 34, 0) 100%);
}

.office-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 160px 40px 80px;
}

.office-hero-info {
    max-width: 600px;
}

.office-hero-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

.office-hero-address {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 32px;
}

.office-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.office-hero-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9375rem;
    background: var(--gold);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.office-hero-call:hover {
    opacity: 0.88;
}

.office-hero-call svg {
    stroke: var(--color-primary);
}

.office-hero-fax {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9375rem;
}

/* ---------- Office Sub-Page: Body ---------- */
.office-body {
    padding: 80px 0;
    background: #f5f0e8;
}

.office-body-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.office-motto {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--green-primary);
    letter-spacing: 0.15em;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.office-divider {
    width: 100%;
    max-width: 500px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 28px;
}

.office-body-text p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.office-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9375rem;
    margin-top: 12px;
}

.office-body-map iframe {
    border-radius: var(--radius-md);
    width: 100%;
    min-height: 400px;
}

/* ---------- Office Sub-Page: CTA ---------- */
.office-cta {
    padding: 120px 0 80px;
}

.office-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.office-cta-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--color-primary);
}

.office-cta-card img {
    position: relative;
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.office-cta-card-overlay {
    display: none;
}

.office-cta-card:hover img {
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.office-cta-card-content {
    position: relative;
    z-index: 1;
    padding: 32px;
    color: #fff;
    flex: 1;
}

.office-cta-card-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 4px;
}

.office-cta-card-content p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.office-cta-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.office-cta-desc {
    font-size: 0.875rem !important;
    line-height: 1.6;
}

.office-cta-card .btn-gold {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.9375rem;
    margin-top: 8px;
    background: var(--gold);
    color: #003322 !important;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.office-cta-card .btn-gold:hover {
    opacity: 0.88;
}

@media (max-width: 768px) {
    .office-hero {
        min-height: 360px;
    }
    .office-hero-name {
        font-size: 1.75rem;
    }
    .office-hero-content {
        padding: 60px 20px;
    }
    .office-body-grid {
        grid-template-columns: 1fr;
    }
    .office-cta-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */

/* ---------- Careers Hero ---------- */
.careers-hero {
    position: relative;
    padding: 140px 0 100px;
    text-align: center;
    overflow: hidden;
}

.careers-hero-shapes {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 60%, rgba(218, 205, 152, 0.06) 60%, rgba(218, 205, 152, 0.06) 62%, transparent 62%),
        linear-gradient(135deg, transparent 70%, rgba(218, 205, 152, 0.04) 70%, rgba(218, 205, 152, 0.04) 73%, transparent 73%);
    pointer-events: none;
}

.careers-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.careers-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 24px;
}

.careers-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- Job Listings ---------- */
.careers-listings {
    padding: 120px 0 140px;
    background: var(--bg-warm);
}

.careers-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.careers-job {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.careers-job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast);
}

.careers-job-header:hover {
    background: rgba(0, 51, 34, 0.03);
}

.careers-job-title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0;
}

.careers-job-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #003322;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.careers-job-toggle svg {
    stroke: #fff;
}

.careers-job.open .careers-job-toggle {
    transform: rotate(180deg);
}

.careers-job-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 32px;
}

.careers-job.open .careers-job-body {
    max-height: 500px;
    padding: 0 32px 28px;
}

.careers-job-body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.careers-job-apply {
    font-weight: 500;
    color: var(--color-primary) !important;
}

.careers-job-apply a {
    color: var(--gold);
    text-decoration: underline;
}

.careers-job-apply a:hover {
    color: var(--color-primary);
}

/* ---------- Recognition Section ---------- */
.careers-recognition {
    padding: 140px 0;
}

.careers-recognition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.careers-recognition-text .careers-recognition-motto {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: capitalize;
    margin-bottom: 16px;
    font-weight: 500;
}

.careers-recognition-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.3;
}

.careers-recognition-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.careers-recognition-badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-badge-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
}

.careers-badge-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 51, 34, 0.9);
    border: 1px solid rgba(218, 205, 152, 0.3);
}

.careers-badge-float-top {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.careers-badge-float-left {
    bottom: 40px;
    left: -10px;
}

.careers-badge-float-right {
    bottom: 40px;
    right: -10px;
}

.careers-badge-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.25);
    padding: 24px;
}

.careers-badge-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.careers-badge-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 51, 34, 0.92), rgba(0, 51, 34, 0.75));
}

.careers-badge-photo-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 24px;
}

.careers-badge-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.625rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
}

.careers-badge-photo-content p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-width: 200px;
}

/* ---------- Careers Responsive ---------- */
@media (max-width: 768px) {
    .careers-hero {
        padding: 100px 0 60px;
    }
    .careers-hero h1 {
        font-size: 2.25rem;
    }
    .careers-recognition-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .careers-recognition-text h2 {
        font-size: 1.75rem;
    }
}

/* ---------- Search Overlay ---------- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 63, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 24px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-container {
    width: 100%;
    max-width: 860px;
    animation: searchSlideDown 0.35s ease;
}

@keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.search-overlay-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 16px 20px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.search-overlay-inner:focus-within {
    border-color: var(--gold);
    background: #fff;
}

.search-overlay .search-icon {
    color: #999;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.search-overlay input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--green-primary, #063f2a);
    font-size: 1.125rem;
    padding: 4px 0;
    outline: none;
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.search-overlay input::placeholder {
    color: #aaa;
}

.search-overlay input::-webkit-search-cancel-button {
    display: none;
}

.search-close-btn {
    color: #999;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    flex-shrink: 0;
    transition: color 0.2s ease;
    line-height: 1;
}

.search-close-btn:hover {
    color: var(--green-primary, #063f2a);
}

/* ---------- Search Results ---------- */
.search-results {
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.1);
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.search-results.active {
    max-height: 520px;
    opacity: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.search-results-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.75rem;
    color: #888;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: #fafaf8;
}

.search-results-header kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 5px;
    font-size: 0.6875rem;
    font-family: var(--font-body);
    color: #666;
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 8px;
}

.search-hint-text {
    margin-right: 4px;
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.search-result-link:hover,
.search-result-item.selected .search-result-link {
    background: rgba(6, 63, 42, 0.04);
}

.search-result-item.selected .search-result-link {
    background: rgba(6, 63, 42, 0.06);
}

.search-result-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.search-result-category {
    font-size: 0.6875rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gold-dark, #b8a848);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.search-result-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--green-primary, #063f2a);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-title mark {
    background: rgba(218, 205, 152, 0.35);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-desc {
    font-size: 0.8125rem;
    color: #777;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-desc mark {
    background: rgba(218, 205, 152, 0.25);
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}

.search-result-arrow {
    flex-shrink: 0;
    color: #ccc;
    transition: color 0.15s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
}

.search-result-link:hover .search-result-arrow,
.search-result-item.selected .search-result-arrow {
    color: var(--green-primary, #063f2a);
    transform: translateX(3px);
}

/* No results state */
.search-no-results {
    padding: 40px 24px;
    text-align: center;
    color: #888;
}

.search-no-results svg {
    color: #ccc;
    margin-bottom: 12px;
}

.search-no-results p {
    font-size: 0.9375rem;
    color: #555;
    margin-bottom: 8px;
}

.search-no-results span {
    font-size: 0.8125rem;
    color: #999;
}

.search-no-results a {
    color: var(--green-primary, #063f2a);
    text-decoration: underline;
}

/* Results footer */
.search-results-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 10px 20px;
    background: #fafaf8;
    text-align: center;
}

.search-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--green-primary, #063f2a);
    text-decoration: none;
    transition: color 0.15s ease;
}

.search-footer-link:hover {
    color: var(--gold-dark, #b8a848);
}

/* Scrollbar styling for results */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .search-overlay {
        padding: 80px 16px 24px;
    }

    .search-overlay-inner {
        padding: 12px 16px;
    }

    .search-overlay input {
        font-size: 1rem;
    }

    .search-results-header {
        display: none;
    }

    .search-result-link {
        padding: 12px 16px;
    }

    .search-result-title {
        white-space: normal;
    }

    .search-results.active {
        max-height: 60vh;
    }
}

/* ---------- Right Drawer ---------- */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-drawer), visibility var(--transition-drawer);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    max-width: 90vw;
    background: var(--bg);
    border-left: 4px solid var(--gold);
    z-index: 1101;
    transform: translateX(100%);
    transition: transform var(--transition-drawer);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer.active {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green-primary);
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--transition-fast);
}

.drawer-close:hover {
    color: var(--gold-dark);
}

.drawer-nav {
    padding: 60px 30px 30px;
}

.drawer-nav-item {
    border-bottom: 1px solid var(--color-border);
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--green-primary);
    transition: color var(--transition-fast);
}

.drawer-nav-link:hover {
    color: var(--gold-dark);
}

.drawer-nav-link .chevron {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.drawer-nav-item.expanded .drawer-nav-link .chevron {
    transform: rotate(180deg);
}

.drawer-sub-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.drawer-nav-item.expanded .drawer-sub-nav {
    max-height: 600px;
}

.drawer-sub-link {
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.drawer-sub-link:hover {
    color: var(--green-primary);
}

.drawer-cta {
    margin: 24px 30px;
}

.drawer-map {
    margin: 0 30px 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.drawer-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.drawer-map-text {
    background: var(--white);
    padding: 16px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.drawer-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--bg);
    color: var(--green-primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-top: 1px solid var(--color-border);
    transition: background var(--transition-fast);
}

.drawer-map-btn:hover {
    background: var(--gold);
}

.drawer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px 30px;
}

.drawer-social a {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

.drawer-social a:hover {
    color: var(--green-primary);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--green-primary);
    overflow: visible;
    margin-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 63, 42, 0.92) 0%,
        rgba(6, 63, 42, 0.80) 35%,
        rgba(6, 63, 42, 0.55) 70%,
        rgba(6, 63, 42, 0.40) 100%
    );
}

/* Top fade: blends header into hero seamlessly */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, var(--green-primary), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 540px;
    padding: 200px 0;
}

.hero h1 {
    color: var(--color-text-on-dark);
    font-size: 3.1rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 24px;
}

.hero-stats {
    color: var(--color-text-on-dark);
    font-size: 1.0625rem;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.55;
}

.hero-desc {
    color: var(--color-text-on-dark-muted);
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.65;
}

/* Hero CTA Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 460px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 3px;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-cta-primary {
    background: var(--gold);
    color: var(--green-primary);
}

.hero-cta-primary:hover {
    background: var(--gold-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-cta-secondary {
    background: var(--white);
    color: var(--green-primary);
}

.hero-cta-secondary:hover {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Hero shape divider (half-circle candy) */
.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
    overflow: hidden;
}

.hero-shape svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Credentials Bar ---------- */
.credentials-bar {
    padding: 32px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--color-border);
}

.credentials-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.credentials-bar img {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-normal);
    filter: grayscale(0.2);
}

.credentials-bar img:hover {
    opacity: 1;
}

/* ---------- Established 1995 Section ---------- */
.established-section {
    position: relative;
    background: var(--green-primary);
    padding: 160px 0;
    overflow: hidden;
}

.established-geo {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 55%;
    height: calc(100% + 120px);
    background: rgba(0, 0, 0, 0.15);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

.established-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.established-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: capitalize;
    color: #dacd98;
    margin-bottom: 16px;
}

.established-text h2 {
    color: var(--color-text-on-dark);
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 28px;
}

.established-text h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: #dacd98;
    margin-top: 24px;
}

.established-text p {
    color: var(--color-text-on-dark-muted);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.established-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-on-dark);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: 12px;
    transition: color var(--transition-normal);
}

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

.established-media img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 28px;
}

.established-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.established-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-on-dark-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.established-checks svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* ---------- Law Firm that Delivers ---------- */
.delivers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.delivers-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-md);
}

.delivers-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.delivers-text > p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.delivers-list {
    list-style: disc;
    padding-left: 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.delivers-list li {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.delivers-list li strong {
    color: var(--color-text);
}

.delivers-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--green-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: 20px;
    transition: color var(--transition-normal);
}

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

.delivers-link svg {
    flex-shrink: 0;
}

/* ---------- CTA Curve Dividers ---------- */
.cta-curve-top,
.cta-curve-bottom {
    line-height: 0;
    background: #f4f0ea;
    margin: 0;
    padding: 0;
}

.cta-curve-top svg,
.cta-curve-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ---------- CTA Consultation ---------- */
.cta-consultation {
    background: var(--green-primary);
    padding: 100px 0;
    text-align: center;
}

.cta-monogram {
    display: block;
    width: 80px;
    height: auto;
    margin: 0 auto 28px;
    opacity: 0.9;
}

.cta-consultation h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-text-on-dark);
    margin-bottom: 8px;
}

.cta-consultation p {
    color: var(--color-text-on-dark-muted);
    font-size: 0.9375rem;
    margin-bottom: 28px;
}

.btn-cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #dacd98;
    color: var(--green-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transition-normal), transform var(--transition-normal);
    cursor: pointer;
}

.btn-cta-contact:hover {
    background: #c4b87e;
    transform: translateY(-1px);
}

.btn-cta-contact svg {
    flex-shrink: 0;
}

/* ---------- Service Cards ---------- */
.service-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-body {
    padding: 24px;
    border-top: 3px solid var(--gold);
}

.service-card-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
}

/* ---------- Info Section ---------- */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-section-text h2 {
    margin-bottom: 8px;
}

.info-section-text .subtitle {
    margin-bottom: 16px;
}

.info-section-text p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.info-section-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ---------- Feature List ---------- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--gold-dark);
    margin-top: 2px;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: var(--green-primary);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--color-text-on-dark);
    margin-bottom: 8px;
}

.cta-banner p {
    color: var(--color-text-on-dark-muted);
    font-size: 1.0625rem;
    margin-bottom: 24px;
}

/* ---------- News Cards ---------- */
.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text);
    line-height: 1.35;
    flex: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--gold);
    transition: color var(--transition-fast);
}

.news-card-link:hover {
    color: var(--gold-dark);
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background: var(--green-primary);
    color: var(--color-text-on-dark);
    overflow: hidden;
}

.footer-geo-left,
.footer-geo-right {
    display: none;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 60px;
}

.footer-logo img {
    height: 65px;
    width: auto;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-on-dark);
    line-height: 1.5;
    max-width: 520px;
    text-align: right;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding: 48px 0;
}

.footer-nav-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-nav-heading {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 400;
    font-style: italic;
    color: #dacd98;
    margin-bottom: 12px;
}

.footer-nav-col a {
    font-size: 0.875rem;
    color: var(--color-text-on-dark);
    line-height: 1.7;
    transition: color var(--transition-fast);
}

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

.footer-action-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 280px;
}

.footer-action-block {
    display: flex;
    flex-direction: column;
}

.footer-phone {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-text-on-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    transition: color var(--transition-fast);
}

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

.footer-phone svg {
    flex-shrink: 0;
}

.footer-map-link img {
    width: 100%;
    max-width: 280px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    border: 2px solid rgba(255,255,255,0.1);
}

.footer-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #dacd98;
    color: var(--green-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transition-fast);
    max-width: 280px;
}

.footer-google-btn:hover {
    background: #c4b87e;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 48px 0;
    flex-wrap: wrap;
}

.footer-badges img {
    height: 70px;
    width: auto;
    opacity: 0.9;
}

.footer-offices-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-office {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.8125rem;
    color: var(--color-text-on-dark-muted);
    line-height: 1.5;
}

.footer-office a {
    color: #dacd98;
    margin-bottom: 4px;
    transition: color var(--transition-fast);
}

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

.footer-legal {
    padding: 40px 0 24px;
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    background: rgba(0,0,0,0.1);
}

.footer-legal p {
    margin-bottom: 12px;
}

.footer-legal a {
    color: rgba(255,255,255,0.55);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.footer-social-bar {
    padding: 32px 0 40px;
    background: var(--green-primary);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-social-heading {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 16px;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #dacd98;
    color: var(--green-primary);
    border-radius: 4px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer-social-icons a:hover {
    background: #c4b87e;
    transform: translateY(-2px);
}

/* ---------- 404 Page ---------- */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-pad) var(--side-pad);
    margin-top: 80px;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.error-page h2 {
    margin-bottom: 16px;
}

.error-page p {
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
    position: relative;
    padding: 120px 0 60px;
    background: var(--green-primary);
    margin-top: 100px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--green-primary) 0%, rgba(6, 63, 42, 0.9) 100%);
}

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

.page-hero h1 {
    color: var(--color-text-on-dark);
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-hero .subtitle {
    color: var(--gold);
}

.page-hero p {
    color: var(--color-text-on-dark-muted);
    font-size: 1.0625rem;
    max-width: 600px;
    line-height: 1.7;
}

/* ---------- Contact Form ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--green-primary);
}

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

/* ---------- Inquiry Split Page ---------- */
.inquiry-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
}

.inquiry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    transition: background var(--transition-normal);
}

.inquiry-card-legal {
    background: var(--green-primary);
    color: var(--color-text-on-dark);
}

.inquiry-card-title {
    background: var(--bg);
    color: var(--color-text);
}

.inquiry-card h2 {
    margin-bottom: 8px;
}

.inquiry-card p {
    margin-bottom: 24px;
    max-width: 400px;
}

.inquiry-card-legal h2,
.inquiry-card-legal h3 {
    color: var(--color-text-on-dark);
}

.inquiry-card-legal p {
    color: var(--color-text-on-dark-muted);
}

/* ---------- Divider ---------- */
.divider {
    width: 100%;
    height: 1px;
    background: var(--color-border);
}

.divider-gold {
    height: 2px;
    background: var(--gold);
    width: 80px;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 900;
    box-shadow: var(--shadow-md);
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--green-secondary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .nav-link { padding: 0 14px; font-size: 0.875rem; }
}

@media (max-width: 1024px) {
    :root {
        --section-pad: 60px;
        --side-pad: 24px;
    }

    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .header-nav { display: none; }
    .header-phone { display: none; }

    .hero-inner { padding: 0 24px; }
    .hero h1 { font-size: 2.75rem; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }

    .info-section { grid-template-columns: 1fr !important; gap: 40px !important; }
    .info-section-image { order: -1; }
    .info-section-image img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: var(--radius-md);
    }
    .inquiry-split { grid-template-columns: 1fr !important; }

    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); }

    /* Stack established and delivers grids on tablet */
    .established-grid { grid-template-columns: 1fr; gap: 40px; }
    .delivers-grid { grid-template-columns: 1fr; gap: 40px; }
    .delivers-image { order: -1; }
    .delivers-image img { max-width: 100%; }
}

@media (max-width: 768px) {
    :root {
        --section-pad: var(--section-pad-mobile);
        --side-pad: var(--side-pad-mobile);
    }

    /* Override inline style="padding: 120px 0" on sections */
    .section[style*="padding"] {
        padding: var(--section-pad-mobile) 0 !important;
    }

    /* Force any inline grid to single column on mobile */
    .container [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Content sections (staff pages etc.) */
    .content-section[style*="padding"] {
        padding: var(--section-pad-mobile) 0 !important;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }

    .hero-inner { padding: 0 20px; }
    .hero h1 { font-size: 2.25rem; }
    .hero-content { padding: 40px 0 70px; }

    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }

    .footer-nav { grid-template-columns: 1fr; }
    .footer-offices { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .credentials-bar-inner { gap: 24px; }
    .credentials-bar img { height: 40px; }

    .btn { padding: 14px 24px; font-size: 0.875rem; }
    .btn-lg { padding: 16px 32px; }

    /* --- Header & Logo: smaller on mobile --- */
    .site-header { height: 60px; }
    .header-inner { height: 60px; padding: 0 12px 0 12px; }
    .header-logo img { height: 40px; }

    /* --- SVG Curve Separators: hide on mobile --- */
    .hero-shape,
    .dir-curve { display: none; }
    .cta-curve-top,
    .cta-curve-bottom { display: none; }
    .hero-curve-transition { display: none; }

    /* --- Established 1995 Section --- */
    .established-section { padding: 80px 0 !important; }
    .established-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .established-text h2 { font-size: 1.75rem; }
    .established-geo { display: none !important; }

    /* --- Law Firm that Delivers --- */
    .delivers-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .delivers-image { order: -1; }
    .delivers-image img { max-width: 100%; }
    .delivers-text h2 { font-size: 1.75rem; }

    /* --- CTA Consultation --- */
    .cta-consultation { padding: 60px 0; }

    /* --- Page Hero (inner pages) --- */
    .hero { margin-top: 60px; }
    .page-hero { padding: 80px 0 40px; margin-top: 60px; }
    .page-hero h1 { font-size: 2rem; }

    /* --- Footer: hide logo, center tagline on mobile --- */
    .footer-logo { display: none; }
    .footer-top {
        text-align: center;
        justify-content: center;
    }
    .footer-tagline {
        text-align: center;
        font-size: 1.125rem;
    }

    /* --- Footer: reorder - action area first, nav second --- */
    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
    .footer-action-area {
        order: -1;
        width: 100%;
        min-width: unset;
        text-align: center;
        align-items: center;
    }
    .footer-nav-area {
        order: 1;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px 16px;
    }
    .footer-map-link img {
        width: 100%;
        max-width: 320px;
    }

    .footer-tagline-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .footer-tagline-grid img { margin: 0 auto; }

    /* --- Footer: office addresses stacked on mobile --- */
    .footer-offices-row {
        grid-template-columns: 1fr !important;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-content { padding: 60px var(--side-pad); }
    .page-hero h1 { font-size: 1.75rem; }

    /* --- Hide SVG curves entirely on small phones --- */
    .hero-shape { display: none; }
    .cta-curve-top,
    .cta-curve-bottom { display: none; }

    /* --- CTA flush on small phones (no curves) --- */
    .cta-consultation { padding: 48px 0; }

    /* --- Attorney grid: single column on phones --- */
    .grid-2 { grid-template-columns: 1fr; }

    /* --- Footer cleanup --- */
    .footer-nav { grid-template-columns: 1fr; gap: 24px; }
    .footer-offices { gap: 24px; }

    /* --- Established: tighter on phones --- */
    .established-section { padding: 60px 0; }
    .established-text h2 { font-size: 1.5rem; }
}

/* ---------- Breadcrumb Navigation ---------- */
.breadcrumb-nav {
    background: var(--bg-beige);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 14px 0;
    position: relative;
    z-index: 10;
}
/* When breadcrumb exists, the next hero section should not add its own top margin */
.breadcrumb-nav + section {
    margin-top: 0 !important;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: #888;
}
.breadcrumb li {
    display: flex;
    align-items: center;
}
.breadcrumb li + li::before {
    content: '›';
    margin: 0 10px;
    color: var(--gold);
    font-size: 0.9rem;
}
.breadcrumb a {
    color: var(--green-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}
.breadcrumb li:last-child {
    color: #666;
    font-weight: 500;
}
