/*
Theme Name: KOÇ Hukuk Professional
Theme URI: http://avukat.local
Author: KOÇ Hukuk & Danışmanlık
Description: KOÇ Hukuk & Danışmanlık için profesyonel avukat teması
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: koc-hukuk
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0f1b2d;
    --navy-light: #1a2d47;
    --navy-medium: #152238;
    --gold: #c9a96e;
    --gold-light: #d4b97e;
    --gold-dark: #b8944f;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

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

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Default state: transparent on top of hero */
.site-header:not(.scrolled) {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header.scrolled {
    background: rgba(10, 18, 32, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.header-top-bar {
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 7px 0;
    font-size: 0.8rem;
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 28px;
    align-items: center;
}

.top-bar-left a,
.top-bar-left span {
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.top-bar-left a:hover {
    color: var(--gold) !important;
}

.top-bar-left svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--gold);
    opacity: 0.7;
}

.header-main {
    padding: 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
}

.site-logo .logo-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white) !important;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.site-logo .logo-tagline {
    font-size: 0.625rem;
    color: var(--gold) !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.85;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 26px 16px;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
    color: var(--white) !important;
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current_page_item > a::after {
    transform: scaleX(1);
}

/* Dropdown */
.nav-menu > li > .sub-menu,
.nav-menu > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--navy);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    list-style: none;
    padding: 6px 0;
    border-top: 2px solid var(--gold);
    z-index: 100;
}

.nav-menu > li:hover > .sub-menu,
.nav-menu > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu > li > .sub-menu li a,
.nav-menu > li > ul li a {
    display: block;
    padding: 9px 22px;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.8125rem;
    font-weight: 400;
    transition: var(--transition);
    border-left: 2px solid transparent;
    text-transform: none;
}

.nav-menu > li > .sub-menu li a:hover,
.nav-menu > li > ul li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold) !important;
    border-left-color: var(--gold);
    padding-left: 26px;
}

.nav-menu > li.menu-item-has-children > a .dropdown-arrow,
.nav-menu > li.page_item_has_children > a .dropdown-arrow {
    margin-left: 5px;
    font-size: 0.5rem;
    opacity: 0.6;
    transition: var(--transition);
}

.nav-menu > li.menu-item-has-children:hover > a .dropdown-arrow {
    opacity: 1;
}

/* Header CTA */
.header-cta {
    margin-left: 20px;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--gold);
    color: var(--navy) !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--gold);
}

.btn-header-cta:hover {
    background: transparent;
    color: var(--gold) !important;
    border-color: var(--gold);
    transform: translateY(-1px);
}

.btn-header-cta svg {
    width: 14px;
    height: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    z-index: 10002;
    transition: var(--transition);
    position: relative;
}

.mobile-menu-toggle:hover {
    border-color: var(--gold);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: absolute;
}

.mobile-menu-toggle span:nth-child(1) { top: 14px; }
.mobile-menu-toggle span:nth-child(2) { top: 21px; }
.mobile-menu-toggle span:nth-child(3) { top: 28px; }

.mobile-menu-toggle.active {
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.08);
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
    background: var(--gold);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
    background: var(--gold);
}

/* ===== MOBILE MENU PANEL ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: linear-gradient(180deg, #0a1220 0%, #0f1b2d 50%, #152238 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-panel.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    flex-shrink: 0;
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.mobile-menu-logo-icon svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mobile-menu-logo-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.mobile-menu-logo-tag {
    font-size: 0.625rem;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-list > li:last-child {
    border-bottom: none;
}

.mobile-nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-list > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gold);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.mobile-nav-list > li > a:hover,
.mobile-nav-list > li.current-menu-item > a,
.mobile-nav-list > li.current_page_item > a {
    color: #ffffff !important;
    background: rgba(201, 169, 110, 0.06);
}

.mobile-nav-list > li > a:hover::before,
.mobile-nav-list > li.current-menu-item > a::before,
.mobile-nav-list > li.current_page_item > a::before {
    height: 24px;
}

.mobile-nav-list > li.current-menu-item > a,
.mobile-nav-list > li.current_page_item > a {
    color: var(--gold) !important;
}

/* Mobile Dropdown Arrow */
.mobile-nav-list .dropdown-arrow {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

/* Mobile Submenu */
.mobile-nav-list .sub-menu,
.mobile-nav-list > li > ul {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 0;
    background: rgba(0, 0, 0, 0.15);
    display: none;
}

.mobile-nav-list > li.submenu-open > .sub-menu,
.mobile-nav-list > li.submenu-open > ul {
    display: block;
}

.mobile-nav-list > li.submenu-open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-nav-list .sub-menu li a,
.mobile-nav-list > li > ul li a {
    display: block;
    padding: 10px 24px 10px 36px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    margin-left: 24px;
}

.mobile-nav-list .sub-menu li a:hover,
.mobile-nav-list > li > ul li a:hover {
    color: var(--gold) !important;
    border-left-color: var(--gold);
    background: rgba(201, 169, 110, 0.04);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    flex-shrink: 0;
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--gold) !important;
    color: #0a101c !important;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-menu-cta:hover {
    background: var(--gold-light) !important;
    color: #0a101c !important;
    transform: translateY(-1px);
}

.mobile-menu-cta svg {
    flex-shrink: 0;
}

.mobile-menu-contact {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-contact a,
.mobile-menu-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none;
}

.mobile-menu-contact a:hover {
    color: var(--gold) !important;
}

.mobile-menu-contact svg {
    flex-shrink: 0;
    color: var(--gold);
    opacity: 0.6;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #080e19;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,16,28,0.92) 0%, rgba(10,16,28,0.75) 55%, rgba(10,16,28,0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding-top: 160px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.hero-title {
    font-size: 3.25rem;
    color: #ffffff !important;
    margin-bottom: 22px;
    line-height: 1.18;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--gold) !important;
    display: inline;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 56px;
    margin-top: 72px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat {
    text-align: left;
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat .label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

/* Decorative elements */
.hero-decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 550px;
    height: 550px;
    border: 1px solid rgba(201, 169, 110, 0.06);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero-decoration::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 50px;
    border: 1px solid rgba(201, 169, 110, 0.04);
    border-radius: 50%;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
    border: 2px solid transparent;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
}

a.btn-primary,
.btn-primary {
    background: var(--gold) !important;
    color: #0a101c !important;
    border-color: var(--gold) !important;
}

a.btn-primary:hover,
.btn-primary:hover {
    background: var(--gold-light) !important;
    border-color: var(--gold-light) !important;
    color: #0a101c !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.35);
}

a.btn-outline,
.btn-outline {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}

a.btn-outline:hover,
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.8125rem;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

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

.section-gray {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-dark .section-title {
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* Gold separator */
.gold-sep {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto;
    border-radius: 2px;
}

.gold-sep-left {
    margin-left: 0;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--gold);
    border-radius: 8px;
    z-index: -1;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--gold);
    color: var(--navy);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-label::before {
    display: none;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.about-feature svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

/* ===== PRACTICE AREAS ===== */
.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.practice-card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    display: block;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.practice-card:hover .practice-card-icon {
    background: var(--gold);
}

.practice-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
    transition: var(--transition);
}

.practice-card:hover .practice-card-icon svg {
    color: var(--navy);
}

.practice-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition);
}

.practice-card:hover h3 {
    color: var(--gold-dark);
}

.practice-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.practice-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.practice-card .card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.practice-card:hover .card-link svg {
    transform: translateX(4px);
}

/* ===== QUOTE / CTA BANNER ===== */
.cta-banner {
    position: relative;
    padding: 80px 0;
    background: var(--navy);
    overflow: hidden;
}

.cta-banner::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 10%;
    font-size: 20rem;
    font-family: var(--font-heading);
    color: rgba(201, 169, 110, 0.05);
    line-height: 1;
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.cta-quote {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: #ffffff;
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 20px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.cta-author {
    color: var(--gold);
    font-size: 0.9375rem;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== LAWYER PROFILE ===== */
.lawyer-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.lawyer-photo {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.lawyer-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.lawyer-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--navy), transparent);
    padding: 30px 24px 24px;
}

.lawyer-photo-overlay h3 {
    color: var(--white);
    font-size: 1.375rem;
    margin-bottom: 4px;
}

.lawyer-photo-overlay span {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
}

.lawyer-info h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.lawyer-bio {
    color: var(--gray-600);
    line-height: 1.9;
    font-size: 1rem;
}

.lawyer-bio p {
    margin-bottom: 16px;
}

.lawyer-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.credential-item svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.credential-item .credential-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 2px;
}

.credential-item .credential-value {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9375rem;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon-box {
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .icon-box svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.contact-info-card h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-wrapper .form-subtitle {
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 0.9375rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* WPForms override */
.wpforms-container .wpforms-form .wpforms-field input,
.wpforms-container .wpforms-form .wpforms-field textarea {
    padding: 12px 16px !important;
    border: 1px solid var(--gray-300) !important;
    border-radius: 6px !important;
    font-size: 0.9375rem !important;
}

.wpforms-container .wpforms-form .wpforms-field input:focus,
.wpforms-container .wpforms-form .wpforms-field textarea:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15) !important;
}

.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-submit {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    border: none !important;
    font-size: 0.9375rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Pagelayer contact form override */
.pagelayer-contact-form input,
.pagelayer-contact-form textarea,
.pagelayer-contact-form select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid var(--gray-300) !important;
    border-radius: 6px !important;
    font-size: 0.9375rem !important;
    font-family: var(--font-body) !important;
    color: var(--gray-800) !important;
    transition: var(--transition) !important;
    background: var(--white) !important;
    margin-bottom: 16px !important;
}

.pagelayer-contact-form input:focus,
.pagelayer-contact-form textarea:focus {
    outline: none !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15) !important;
}

.pagelayer-contact-form button,
.pagelayer-contact-form input[type="submit"],
.pagelayer-contact-form .pagelayer-btn {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    border: none !important;
    font-size: 0.9375rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.pagelayer-contact-form button:hover,
.pagelayer-contact-form input[type="submit"]:hover,
.pagelayer-contact-form .pagelayer-btn:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px) !important;
}

/* Google Map styling */
.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 24px;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* ===== BLOG / ARTICLES ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.article-card-image {
    height: 220px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 28px;
}

.article-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.article-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--navy);
    transition: var(--transition);
}

.article-card h3 a:hover {
    color: var(--gold-dark);
}

.article-card-excerpt {
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card .read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.article-card:hover .read-more svg {
    transform: translateX(4px);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--navy);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../uploads/2021/04/header-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,27,45,0.95), rgba(15,27,45,0.85));
}

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

.page-hero h1 {
    color: #ffffff !important;
    font-size: 2.75rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb a:hover {
    color: var(--gold);
}

.page-hero .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

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

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 80px 0;
}

.page-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-content .content-wrapper h2 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.page-content .content-wrapper p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.9;
}

.page-content .content-wrapper ul,
.page-content .content-wrapper ol {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--gray-600);
}

.page-content .content-wrapper li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

/* -- Footer CTA Band -- */
.footer-cta-band {
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    padding: 40px 48px;
    border-radius: 12px;
    position: relative;
    top: -48px;
    margin-bottom: -48px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.footer-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta-inner::after {
    content: '\2696';
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
}

.footer-cta-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 700;
}

.footer-cta-content p {
    color: rgba(15, 27, 45, 0.7);
    font-size: 0.9375rem;
}

.footer-cta-actions {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.footer-cta-actions .btn {
    background: var(--navy);
    color: var(--gold) !important;
    border-color: var(--navy);
    white-space: nowrap;
}

.footer-cta-actions .btn:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* -- Footer Main -- */
.footer-main {
    padding: 80px 0 48px;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.15), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
}

/* -- Footer Brand -- */
.footer-brand .footer-logo {
    margin-bottom: 24px;
}

.footer-brand .footer-logo a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-icon svg {
    width: 24px;
    height: 24px;
    color: var(--navy);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.footer-logo-tag {
    font-size: 0.6875rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    margin-top: 1px;
}

.footer-brand .footer-description {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 28px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(201, 169, 110, 0.3);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

/* -- Footer Widget Titles -- */
.footer-widget h4 {
    color: var(--white);
    font-size: 0.8125rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-widget-title-line {
    width: 18px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
    border-radius: 1px;
}

/* -- Footer Links -- */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0;
    padding: 7px 0;
    position: relative;
}

.footer-links a::before {
    display: none;
}

.footer-links .link-arrow {
    color: var(--gold);
    font-size: 1rem;
    margin-right: 8px;
    opacity: 0.5;
    transition: var(--transition);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-links a:hover .link-arrow {
    opacity: 1;
    color: var(--gold);
}

/* -- Footer Contact Items -- */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fci-icon {
    width: 36px;
    height: 36px;
    background: rgba(201, 169, 110, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.fci-icon svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.fci-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fci-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    font-weight: 600;
}

.fci-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

a.fci-value {
    text-decoration: none;
    transition: var(--transition);
}

a.fci-value:hover {
    color: var(--white);
}

/* -- Footer Bottom -- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.15);
}

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

.footer-copyright p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright strong {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.footer-seal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
}

.footer-seal svg {
    color: var(--gold);
    opacity: 0.6;
}

.footer-bottom-right p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

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

/* ===== SINGLE POST ===== */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.single-post-content .post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.single-post-content .entry-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.single-post-content .entry-content p {
    margin-bottom: 20px;
}

.single-post-content .entry-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content .entry-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content .entry-content img {
    border-radius: 8px;
    margin: 24px 0;
}

.single-post-content .entry-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    margin: 24px 0;
    background: var(--gray-50);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gray-600);
}

/* Post navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.post-navigation a {
    padding: 16px 20px;
    background: var(--gray-50);
    border-radius: 8px;
    transition: var(--transition);
}

.post-navigation a:hover {
    background: var(--gray-100);
}

.post-navigation .nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.post-navigation .nav-title {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9375rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

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

.scroll-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 52px;
    height: 52px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    color: white;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== PAGELAYER OVERRIDES ===== */
/* Base body styles */
body.pagelayer-body {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: var(--gray-800) !important;
}

body.pagelayer-body p {
    font-family: var(--font-body) !important;
    font-size: inherit !important;
    line-height: 1.7 !important;
    color: inherit !important;
}

/* Pagelayer heading font-family only (NO color here - color set per-context below) */
body.pagelayer-body h1,
body.pagelayer-body h2,
body.pagelayer-body h3,
body.pagelayer-body h4,
body.pagelayer-body h5,
body.pagelayer-body h6 {
    font-family: var(--font-heading) !important;
    font-style: normal !important;
}

/* Pagelayer link base - only for content areas (NOT nav, header, footer, hero, buttons) */
body.pagelayer-body .pagelayer-ele a,
body.pagelayer-body .page-content a:not(.btn):not(.btn-primary):not(.btn-outline):not(.btn-outline-dark):not(.btn-header-cta):not(.read-more) {
    color: var(--gold-dark) !important;
}

body.pagelayer-body .pagelayer-ele a:hover,
body.pagelayer-body .page-content a:not(.btn):not(.btn-primary):not(.btn-outline):not(.btn-outline-dark):not(.btn-header-cta):not(.read-more):hover {
    color: var(--gold) !important;
}

/* --- LIGHT BACKGROUND: navy headings --- */
body.pagelayer-body .page-content h1,
body.pagelayer-body .page-content h2,
body.pagelayer-body .page-content h3,
body.pagelayer-body .page-content h4,
body.pagelayer-body .section:not(.section-dark) h2,
body.pagelayer-body .section:not(.section-dark) h3,
body.pagelayer-body .pagelayer-ele h1,
body.pagelayer-body .pagelayer-ele h2,
body.pagelayer-body .pagelayer-ele h3,
body.pagelayer-body .pagelayer-ele h4 {
    color: var(--navy) !important;
}

/* --- DARK BACKGROUND: white text (specificity: body + class + element = wins) --- */
/* Hero section */
body.pagelayer-body .hero-section h1,
body.pagelayer-body .hero-section h2,
body.pagelayer-body .hero-section h3,
body.pagelayer-body .hero-section h4,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4 {
    color: #ffffff !important;
}

body.pagelayer-body .hero-section p,
body.pagelayer-body .hero-section .hero-description,
.hero-section .hero-description,
.hero-section p:not(.hero-description) {
    color: rgba(255, 255, 255, 0.75) !important;
}

body.pagelayer-body .hero-section .hero-badge,
.hero-section .hero-badge {
    color: var(--gold) !important;
}

body.pagelayer-body .hero-section .hero-stat .number,
.hero-section .hero-stat .number {
    color: var(--gold) !important;
}

body.pagelayer-body .hero-section .hero-stat .label,
.hero-section .hero-stat .label {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.pagelayer-body .hero-section a:not(.btn),
.hero-section a:not(.btn) {
    color: #ffffff !important;
}

/* Page hero */
body.pagelayer-body .page-hero h1,
body.pagelayer-body .page-hero h2,
body.pagelayer-body .page-hero p,
.page-hero h1,
.page-hero h2,
.page-hero p {
    color: #ffffff !important;
}

/* Dark sections, CTA, Quote, Footer */
body.pagelayer-body .section-dark h2,
body.pagelayer-body .section-dark h3,
body.pagelayer-body .section-dark h4,
body.pagelayer-body .section-dark p,
body.pagelayer-body .cta-banner h2,
body.pagelayer-body .cta-banner h3,
body.pagelayer-body .cta-banner p,
body.pagelayer-body .cta-quote,
body.pagelayer-body .site-footer h2,
body.pagelayer-body .site-footer h3,
body.pagelayer-body .site-footer h4,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.cta-banner h2,
.cta-banner h3,
.cta-banner p,
.cta-quote,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: #ffffff !important;
}

body.pagelayer-body .section-dark .section-subtitle,
body.pagelayer-body .section-dark .section-label,
.section-dark .section-subtitle,
.section-dark .section-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.pagelayer-body .cta-author,
.cta-author {
    color: var(--gold) !important;
}

/* --- HEADER NAV: white/light text (top-level only) --- */
body.pagelayer-body .nav-menu > li > a,
body.pagelayer-body .site-logo,
body.pagelayer-body .header-top-bar a,
.nav-menu > li > a,
.site-header a:not(.btn):not(.btn-header-cta) {
    color: rgba(255, 255, 255, 0.85) !important;
}

body.pagelayer-body .nav-menu > li > a:hover,
.nav-menu > li > a:hover {
    color: #ffffff !important;
}

/* --- DROPDOWN MENU: white text on navy bg (higher specificity to win) --- */
body.pagelayer-body .site-header .nav-menu .sub-menu a,
body.pagelayer-body .site-header .nav-menu > li > ul li a,
body.pagelayer-body .nav-menu > li > .sub-menu li a,
.site-header .nav-menu .sub-menu a,
.site-header .nav-menu > li > ul li a,
.nav-menu > li > .sub-menu li a,
.nav-menu > li > ul li a {
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
}

body.pagelayer-body .site-header .nav-menu .sub-menu a:hover,
body.pagelayer-body .site-header .nav-menu > li > ul li a:hover,
body.pagelayer-body .nav-menu > li > .sub-menu li a:hover,
.site-header .nav-menu .sub-menu a:hover,
.site-header .nav-menu > li > ul li a:hover,
.nav-menu > li > .sub-menu li a:hover,
.nav-menu > li > ul li a:hover {
    color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

/* Site logo */
body.pagelayer-body .site-logo,
body.pagelayer-body .site-logo .logo-name,
.site-logo,
.site-logo .logo-name {
    color: #ffffff !important;
}

/* Header CTA button */
body.pagelayer-body .btn-header-cta,
.btn-header-cta {
    color: var(--navy) !important;
    background: var(--gold) !important;
}

body.pagelayer-body .btn-header-cta:hover,
.btn-header-cta:hover {
    color: var(--navy) !important;
    background: var(--gold-light) !important;
}

/* Top bar links */
body.pagelayer-body .header-top-bar a,
.header-top-bar a {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.pagelayer-body .header-top-bar a:hover,
.header-top-bar a:hover {
    color: var(--gold) !important;
}

/* --- FOOTER: proper link colors --- */
body.pagelayer-body .site-footer a:not(.btn),
.site-footer a:not(.btn) {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.pagelayer-body .site-footer a:not(.btn):hover,
.site-footer a:not(.btn):hover {
    color: var(--gold) !important;
}

/* --- BUTTONS: explicit overrides --- */
body.pagelayer-body a.btn.btn-primary,
body.pagelayer-body a.btn-primary,
a.btn.btn-primary {
    color: #0a101c !important;
    background: var(--gold) !important;
}

body.pagelayer-body a.btn.btn-primary:hover,
body.pagelayer-body a.btn-primary:hover,
a.btn.btn-primary:hover {
    color: #0a101c !important;
    background: var(--gold-light) !important;
}

body.pagelayer-body a.btn.btn-outline,
body.pagelayer-body a.btn-outline,
a.btn.btn-outline {
    color: #ffffff !important;
    background: transparent !important;
}

body.pagelayer-body a.btn.btn-outline:hover,
body.pagelayer-body a.btn-outline:hover,
a.btn.btn-outline:hover {
    color: #ffffff !important;
}

body.pagelayer-body a.btn.btn-outline-dark,
body.pagelayer-body a.btn-outline-dark,
a.btn.btn-outline-dark {
    color: var(--navy) !important;
}

body.pagelayer-body a.btn.btn-outline-dark:hover,
body.pagelayer-body a.btn-outline-dark:hover,
a.btn.btn-outline-dark:hover {
    color: #ffffff !important;
}

/* Read more links */
body.pagelayer-body .read-more,
.read-more {
    color: var(--gold-dark) !important;
}

body.pagelayer-body .read-more:hover,
.read-more:hover {
    color: var(--gold) !important;
}

/* --- Pagelayer layout --- */
.pagelayer-row-holder,
.pagelayer-col-holder {
    max-width: 100% !important;
}

.pagelayer-ele {
    font-family: var(--font-body) !important;
}

/* Mobile menu panel - protect from Pagelayer color overrides */
body.pagelayer-body .mobile-menu-panel a {
    color: rgba(255, 255, 255, 0.85) !important;
}

body.pagelayer-body .mobile-menu-panel .sub-menu a,
body.pagelayer-body .mobile-menu-panel ul li ul a {
    color: rgba(255, 255, 255, 0.5) !important;
}

body.pagelayer-body .mobile-menu-panel .sub-menu a:hover,
body.pagelayer-body .mobile-menu-panel ul li ul a:hover {
    color: var(--gold) !important;
}

body.pagelayer-body .mobile-menu-cta {
    color: #0a101c !important;
    background: var(--gold) !important;
}

body.pagelayer-body .mobile-menu-contact a,
body.pagelayer-body .mobile-menu-contact span {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Hide Pagelayer header/footer if somehow rendered */
header.pagelayer-header,
footer.pagelayer-footer {
    display: none !important;
}

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 120px 20px;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

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

.error-404 p {
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .hero-decoration { display: none; }
    .about-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-cta-inner { padding: 32px 36px; }
    .footer-cta-inner::after { display: none; }
    .lawyer-grid { grid-template-columns: 1fr; }
    .lawyer-photo { max-width: 400px; }
}

@media (max-width: 768px) {
    .header-top-bar { display: none; }

    .site-header:not(.scrolled) {
        background: rgba(10, 18, 32, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .header-main .container { height: 64px; }

    .site-logo img { height: 38px; }
    .site-logo .logo-name { font-size: 1rem; }
    .site-logo .logo-tagline { font-size: 0.55rem; letter-spacing: 1.5px; }

    .desktop-nav { display: none !important; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }

    /* -- MOBILE HERO -- */
    .hero-section {
        min-height: 100vh;
        min-height: 100svh;
        padding: 0;
        display: flex;
        align-items: center;
    }
    .hero-content { padding-top: 100px; }
    .hero-badge { font-size: 0.625rem; padding: 6px 14px; margin-bottom: 20px; letter-spacing: 1.5px; }
    .hero-badge svg { width: 12px; height: 12px; }
    .hero-title { font-size: 2rem; margin-bottom: 16px; }
    .hero-description { font-size: 0.9375rem; margin-bottom: 28px; line-height: 1.75; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 24px; font-size: 0.875rem; }
    .hero-stats { gap: 0; flex-wrap: nowrap; margin-top: 48px; padding-top: 28px; justify-content: space-between; }
    .hero-stat { text-align: center; flex: 1; }
    .hero-stat .number { font-size: 1.5rem; }
    .hero-stat .label { font-size: 0.625rem; letter-spacing: 0.8px; }

    .section { padding: 60px 0; }
    .section-title { font-size: 1.875rem; }
    .section-header { margin-bottom: 40px; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 350px; }
    .about-image-accent { display: none; }
    .about-experience-badge { left: 20px; bottom: 20px; padding: 16px; }
    .about-experience-badge .number { font-size: 1.75rem; }
    .about-features { grid-template-columns: 1fr; }

    .practice-areas-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrapper { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }

    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { font-size: 2rem; }

    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        top: -32px;
        margin-bottom: -32px;
    }
    .footer-cta-content h3 { font-size: 1.25rem; }
    .footer-cta-actions .btn { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand .footer-description { max-width: 100%; }
    .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-seal { margin: 4px 0; }

    .articles-grid { grid-template-columns: 1fr; }

    .lawyer-grid { grid-template-columns: 1fr; gap: 32px; }
    .lawyer-credentials { grid-template-columns: 1fr; }

    .whatsapp-btn { bottom: 20px; left: 20px; width: 48px; height: 48px; }
    .scroll-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }

    .cta-quote { font-size: 1.375rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
    .practice-card { padding: 24px 20px; }
}
