/* ============================================
   Bahtiyar Koç Hukuk Bürosu - Light Theme
   ============================================ */

:root {
    --color-gold: #b8943f;
    --color-gold-light: #d4b86a;
    --color-gold-dark: #96782e;
    --color-bg: #faf9f7;
    --color-bg-alt: #f3f1ec;
    --color-bg-card: #ffffff;
    --color-bg-muted: #ebe8e1;
    --color-text: #3d3d3d;
    --color-text-muted: #777777;
    --color-heading: #1a1a1a;
    --color-contrast: #1a1a1a;
    --color-dark: var(--color-bg);
    --color-dark-2: var(--color-bg-alt);
    --color-dark-3: var(--color-bg-card);
    --color-dark-4: var(--color-bg-muted);
    --color-white: var(--color-heading);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-height: 120px;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

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

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Page Loader ---- */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-icon {
    font-size: 3rem;
    color: var(--color-gold);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--color-heading);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--color-dark-4);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--color-gold);
    animation: loadBar 0.9s ease-in-out forwards;
}

@keyframes loadBar { to { width: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.hidden { transform: translateY(-110%); }

/* Light theme — unified header card */
body.theme-light .site-header {
    padding: 0;
    pointer-events: none;
    isolation: isolate;
}

body.theme-light .site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #faf9f7 0%, #faf9f7 72%, rgba(250, 249, 247, 0.98) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
    z-index: 0;
    pointer-events: none;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

body.theme-light .site-header.scrolled::before {
    background: #ffffff;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.11);
}

body.theme-light .site-header > * {
    pointer-events: auto;
}

body.theme-light .header-main {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 20px 16px;
}

body.theme-light .header-glass {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    box-shadow:
        0 14px 48px rgba(0, 0, 0, 0.14),
        0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: border-radius 0.3s ease, box-shadow 0.3s ease;
}

body.theme-light .site-header.scrolled .header-glass {
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.theme-light .header-top {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
    border: none;
    padding: 0;
    margin: 0;
    max-width: none;
    max-height: 40px;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    overflow: hidden;
}

body.theme-light .site-header.scrolled .header-top {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

body.theme-light .header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 24px;
}

body.theme-light .header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

body.theme-light .header-contact a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s ease;
}

body.theme-light .header-contact a i {
    color: var(--color-gold-light);
    font-size: 0.68rem;
}

body.theme-light .header-contact a:hover {
    color: #ffffff;
}

body.theme-light .header-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

body.theme-light .header-top-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.theme-light .header-top-right i {
    color: var(--color-gold-light);
    font-size: 0.7rem;
}

body.theme-light .header-domain {
    color: var(--color-gold-light);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.theme-light .header-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 22px;
    background: #ffffff;
}

body.theme-light .site-header.scrolled .header-nav-row {
    padding: 10px 20px;
}

body.theme-light .nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-heading);
    flex-shrink: 0;
    text-decoration: none;
}

body.theme-light .nav-logo:hover {
    color: var(--color-heading);
}

body.theme-light .logo-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(184, 148, 63, 0.35);
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.35s ease;
}

body.theme-light .nav-logo:hover .logo-mark {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 6px 20px rgba(184, 148, 63, 0.45);
}

body.theme-light .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

body.theme-light .logo-text strong {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-heading);
}

body.theme-light .logo-text small {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-top: 2px;
}

body.theme-light .main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.theme-light .nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

body.theme-light .nav-menu li a {
    display: block;
    padding: 10px 13px;
    color: #1a1a1a;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1px;
    text-transform: none;
    border-radius: 10px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    opacity: 1;
}

body.theme-light .nav-menu li a:hover {
    color: var(--color-heading);
    background: rgba(184, 148, 63, 0.1);
    opacity: 1;
}

body.theme-light .nav-menu li a.active {
    color: var(--color-gold-dark);
    background: rgba(184, 148, 63, 0.14);
    font-weight: 700;
    opacity: 1;
}

body.theme-light .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

body.theme-light .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(184, 148, 63, 0.3);
    transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    text-decoration: none;
}

body.theme-light .header-cta i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

body.theme-light .header-cta:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 148, 63, 0.4);
}

body.theme-light .header-cta:hover i {
    transform: translateX(3px);
}

body.theme-light .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(184, 148, 63, 0.1);
    border: 1px solid rgba(184, 148, 63, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    z-index: 1002;
    transition: background 0.25s ease;
}

body.theme-light .nav-toggle:hover {
    background: rgba(184, 148, 63, 0.18);
}

body.theme-light .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-heading);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-light .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.theme-light .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.theme-light .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

body.theme-light .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 9990;
    pointer-events: none;
}

body.nav-open .site-header {
    z-index: 10001;
}

body.theme-light .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}

.nav-drawer-head,
.nav-drawer-foot {
    display: none;
}

.nav-drawer-close {
    display: none;
}

@media (max-width: 1280px) and (min-width: 1101px) {
    body.theme-light .nav-menu li a {
        padding: 10px 10px;
        font-size: 0.72rem;
    }

    body.theme-light .header-cta {
        padding: 10px 16px;
        font-size: 0.7rem;
    }
}

/* Legacy header fallbacks */
.site-header.scrolled .header-top { display: none; }
.site-header.scrolled .main-nav {
    box-shadow: none;
}

.header-top {
    background: var(--color-heading);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding: 8px 0;
    font-size: 0.8rem;
}

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

.header-contact {
    display: flex;
    gap: 24px;
}

.header-contact a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.header-contact a i { color: var(--color-gold); margin-right: 6px; }
.header-contact a:hover { color: var(--color-gold); }

.header-domain {
    color: var(--color-gold);
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* ---- Navigation (legacy) ---- */
.main-nav {
    position: relative;
    padding: 0;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-bg {
    display: none;
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--color-gold);
}

.nav-menu li a {
    display: block;
    padding: 12px 16px;
    color: var(--color-text);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--color-gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--color-gold);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    transform: scaleX(1);
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

body.theme-light .hero {
    background: linear-gradient(160deg, #f5f0e6 0%, #faf9f7 40%, #f0ebe3 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    contain: strict;
    pointer-events: none;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-position: center right;
    background-size: cover;
    transform: translateZ(0);
    opacity: 0.35;
}

body.theme-light .hero-bg-image {
    opacity: 0.5;
    background-position: 70% center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.94) 0%, rgba(250,249,247,0.88) 45%, rgba(243,241,236,0.82) 100%);
}

body.theme-light .hero-bg-overlay {
    background:
        linear-gradient(180deg, rgba(250,249,247,1) 0%, rgba(250,249,247,0.98) 140px, rgba(250,249,247,0.9) 42%, rgba(245,240,230,0.55) 62%, rgba(240,235,225,0.25) 100%),
        linear-gradient(105deg, rgba(250,249,247,0.97) 0%, rgba(250,249,247,0.88) 42%, rgba(245,240,230,0.55) 62%, rgba(240,235,225,0.25) 100%);
}

.hero-bg-hex {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v32L28 64 0 48V16z' fill='none' stroke='%23b8943f' stroke-width='0.5'/%3E%3Cpath d='M28 36l28 16v32L28 100 0 84V52z' fill='none' stroke='%23b8943f' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 56px 100px;
}

body.theme-light .hero-bg-hex {
    opacity: 0.14;
}

body.theme-light .hero-bg-grain {
    display: none;
}

body.theme-light .hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

body.theme-light .hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 148, 63, 0.14) 0%, rgba(184, 148, 63, 0) 68%);
    top: -100px;
    left: -100px;
}

body.theme-light .hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 148, 63, 0.1) 0%, rgba(184, 148, 63, 0) 70%);
    bottom: 10%;
    right: 5%;
}

body.theme-light .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 220px 0 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 200px 0 100px;
    max-width: 800px;
}

body.theme-light .hero-content {
    padding: 0;
    max-width: none;
}

body.theme-light .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(184, 148, 63, 0.35);
    border-radius: 50px;
    color: var(--color-gold-dark);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(184, 148, 63, 0.1);
}

body.theme-light .hero-badge i {
    font-size: 0.85rem;
}

body.theme-light .hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin-bottom: 24px;
    color: #141414;
}

body.theme-light .hero-title span {
    color: var(--color-gold-dark);
    font-style: normal;
    font-weight: 700;
}

body.theme-light .hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.8;
    color: #555;
    opacity: 1;
    max-width: 500px;
    margin-bottom: 36px;
    padding-left: 0;
    border-left: none;
}

body.theme-light .hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(184, 148, 63, 0.2);
}

body.theme-light .hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.theme-light .hero-trust-item strong {
    font-family: var(--font-sans);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

body.theme-light .hero-trust-item span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.theme-light .hero-trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

body.theme-light .hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 18px rgba(184, 148, 63, 0.38);
    opacity: 1;
}

body.theme-light .hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(184, 148, 63, 0.45);
}

body.theme-light .hero-actions .btn-outline {
    color: var(--color-heading);
    border-color: rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

/* Hero visual panel */
body.theme-light .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.theme-light .hero-visual-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

body.theme-light .hero-visual-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

body.theme-light .hero-visual-frame:hover .hero-visual-image {
    transform: scale(1.06);
}

body.theme-light .hero-visual-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--color-gold);
    border-radius: 16px;
    z-index: -1;
}

body.theme-light .hero-float-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    max-width: 280px;
}

body.theme-light .hero-float-card i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

body.theme-light .hero-float-card strong {
    display: block;
    font-size: 0.82rem;
    color: var(--color-heading);
    margin-bottom: 3px;
    line-height: 1.3;
}

body.theme-light .hero-float-card span {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

body.theme-light .hero-scroll {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.theme-light.page-inner .page-hero {
    padding: 210px 0 70px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--color-gold);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title span { color: var(--color-gold); }

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 550px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--color-gold-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 148, 63, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-heading);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll i { color: var(--color-gold); font-size: 1.2rem; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Stats ---- */
.stats-section {
    background: linear-gradient(180deg, #f0ede6 0%, #faf9f7 45%, #f0ede6 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-bg-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.stats-bg-glow-1 {
    top: -80px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: rgba(184, 148, 63, 0.12);
}

.stats-bg-glow-2 {
    bottom: -100px;
    right: -40px;
    width: 380px;
    height: 380px;
    background: rgba(184, 148, 63, 0.08);
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8943f' fill-opacity='0.04'%3E%3Cpath d='M30 0l30 17.32v34.64L30 69.28 0 51.96V17.32z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 36px 24px 32px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.4s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    opacity: 0.85;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 148, 63, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(184, 148, 63, 0.15);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(184, 148, 63, 0.16) 0%, rgba(184, 148, 63, 0.06) 100%);
    border: 1px solid rgba(184, 148, 63, 0.2);
    border-radius: 16px;
    color: var(--color-gold-dark);
    font-size: 1.3rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1), background 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, rgba(184, 148, 63, 0.22) 0%, rgba(184, 148, 63, 0.1) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #8a6d2f 0%, var(--color-gold) 50%, #d4b06a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-heading);
    opacity: 0.65;
}

/* ---- Section Common ---- */
.section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.section-dark {
    background: var(--color-bg-alt);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(184,148,63,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.section-darker {
    background: var(--color-bg);
    position: relative;
}

.section-darker::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23b8943f' opacity='0.15'/%3E%3C/svg%3E");
    pointer-events: none;
}

.section > .container { position: relative; z-index: 1; }

.gold-line {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: 20px auto;
}

/* ---- Services Grid ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    group: hover;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: rgba(184, 148, 63, 0.35);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--color-gold);
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-gold);
    color: #ffffff;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i { transition: transform var(--transition); }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ---- Team Grid ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-photo {
    aspect-ratio: 3/4;
    background: var(--color-dark-3);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark-3), var(--color-dark-4));
    font-size: 4rem;
    color: rgba(201, 168, 76, 0.2);
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(26,26,26,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.team-card:hover .team-photo-overlay { opacity: 1; }

.team-social {
    display: flex;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.85rem;
    transition: all var(--transition);
}

.team-social a:hover {
    background: var(--color-gold);
    color: #ffffff;
}

.team-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 4px;
}

.team-card .team-title {
    color: var(--color-gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.team-card .team-specialty {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ---- Content Cards ---- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.content-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.content-card:hover {
    border-color: rgba(184, 148, 63, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.content-card-image {
    height: 200px;
    background: var(--color-dark-4);
    position: relative;
    overflow: hidden;
}

.content-card-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark-4), var(--color-dark-3));
    color: rgba(201, 168, 76, 0.15);
    font-size: 3rem;
}

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

.content-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.content-card-meta .category {
    color: var(--color-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.content-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.content-card h3 a { color: inherit; }
.content-card h3 a:hover { color: var(--color-gold); }

.content-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.read-more {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ---- Page Header (Inner Pages) ---- */
.page-hero {
    position: relative;
    padding: 200px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg .bg-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.45;
    filter: blur(2px) brightness(1.1);
}

.page-hero-bg .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(243,241,236,0.98) 100%);
}

.page-hero-bg .bg-hex {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v32L28 64 0 48V16z' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 56px 100px;
}

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

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.breadcrumb a { color: var(--color-gold); }
.breadcrumb span { color: var(--color-text-muted); }

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

.about-image {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--color-dark-3);
    overflow: hidden;
}

.about-image-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark-3), var(--color-dark-4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-inner i {
    font-size: 6rem;
    color: rgba(201, 168, 76, 0.15);
}

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

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature i {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.about-feature h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    margin: 0;
}

/* ---- Detail Page ---- */
.detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0 100px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.detail-meta i { color: var(--color-gold); margin-right: 6px; }

.detail-content h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.3;
}

.detail-body {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 2;
}

.detail-body p { margin-bottom: 20px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--color-bg-card);
    border-left: 3px solid var(--color-gold);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-item h4 {
    color: var(--color-heading);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--color-bg-card);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-heading);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

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

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

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

.alert {
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(46, 125, 50, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #81c784;
}

.alert-error {
    background: rgba(198, 40, 40, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: #ef9a9a;
}

/* ---- Career Cards ---- */
.career-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 36px;
    margin-bottom: 24px;
    transition: all var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-sm);
}

.career-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateX(5px);
}

.career-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.career-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.career-tag {
    padding: 4px 12px;
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* ---- CTA Section ---- */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-heading), #2d2d2d);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v32L28 64 0 48V16z' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 56px 100px;
}

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

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Footer ---- */
.site-footer {
    position: relative;
    background: var(--color-heading);
    padding: 80px 0 0;
    border-top: none;
}

.footer-hex {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v32L28 64 0 48V16z' fill='none' stroke='%23c9a84c' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 56px 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-logo i { color: var(--color-gold); font-size: 1.5rem; }

.footer-about p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--color-gold);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-gold);
    color: #ffffff;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    transition: all var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.footer-contact li i {
    color: var(--color-gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
}

.footer-domain {
    color: var(--color-gold);
    letter-spacing: 2px;
    font-weight: 500;
}

/* ---- 404 ---- */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 200px 0 100px;
}

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

.error-page h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.error-page p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* ---- Inner page padding ---- */
.page-inner .site-main {
    padding-top: 0;
}

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---- Reveal animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    :root {
        --header-height: 76px;
    }

    body.theme-light .header-glass {
        overflow: visible;
    }

    body.theme-light .header-nav-row {
        gap: 12px;
    }

    body.theme-light .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        z-index: 10002;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        justify-content: flex-start;
        flex: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.14);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        isolation: isolate;
        filter: none;
    }

    body.theme-light .main-nav.open {
        transform: translateX(0);
    }

    .nav-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 20px;
        background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #fff;
        flex-shrink: 0;
    }

    .nav-drawer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .nav-drawer-brand i {
        color: var(--color-gold-light);
    }

    .nav-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        cursor: pointer;
        font-size: 1rem;
        transition: background 0.2s ease;
    }

    .nav-drawer-close:hover {
        background: rgba(255, 255, 255, 0.16);
    }

    body.theme-light .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        flex: 1;
        min-height: 0;
        padding: 12px 16px;
        margin: 0;
        gap: 4px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: transparent;
        backdrop-filter: none;
        height: auto;
    }

    body.theme-light .nav-menu li a {
        padding: 14px 16px;
        font-size: 0.92rem;
        border-radius: 12px;
        border-bottom: none;
    }

    .nav-drawer-foot {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 20px 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: #faf9f7;
        flex-shrink: 0;
    }

    .nav-drawer-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 18px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
        color: #fff !important;
        font-size: 0.82rem;
        font-weight: 600;
        box-shadow: 0 4px 16px rgba(184, 148, 63, 0.28);
    }

    .nav-drawer-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        color: var(--color-heading) !important;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .nav-drawer-phone i {
        color: var(--color-gold);
    }

    body.theme-light .nav-toggle {
        display: flex;
        z-index: 10003;
    }

    body.theme-light .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    body.theme-light .site-header::before {
        bottom: 0;
        height: auto;
    }

    body.theme-light .header-main {
        padding: 8px 10px 10px;
    }

    body.theme-light .header-main > .container {
        padding: 0;
    }

    body.theme-light .header-top {
        display: none;
    }

    body.theme-light .header-glass {
        border-radius: 14px;
    }

    body.theme-light .header-nav-row {
        padding: 10px 12px;
    }

    body.theme-light .logo-text strong {
        font-size: 1rem;
    }

    body.theme-light .logo-text small {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }

    body.theme-light .logo-mark {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .section-header h2,
    .page-hero h1,
    .detail-content h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .section-header {
        margin-bottom: 32px;
    }

    .services-grid,
    .team-grid,
    .content-grid,
    .stats-grid { grid-template-columns: 1fr; }

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

    .stat-value { font-size: 2.4rem; }

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

    .hero-content { padding: 120px 0 70px; }

    body.theme-light .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 130px 0 80px;
    }

    body.theme-light .hero-visual {
        order: -1;
        max-width: 100%;
        margin: 0 auto;
    }

    body.theme-light .hero-grid .manset-panel {
        order: -1;
        max-width: 100%;
    }

    body.theme-light .hero-float-card {
        left: 8px;
        bottom: 12px;
        max-width: 220px;
        padding: 10px 14px;
    }

    body.theme-light .hero-trust {
        flex-wrap: wrap;
        gap: 12px;
    }

    body.theme-light .hero-trust-divider {
        display: none;
    }

    body.theme-light .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.6rem);
    }

    body.theme-light .hero-subtitle {
        font-size: 0.95rem;
    }

    .page-hero {
        padding: 130px 0 50px;
    }

    .page-hero-content {
        padding: 0;
    }

    .detail-content {
        padding: 24px 0 60px;
    }

    .detail-body {
        font-size: 0.95rem;
    }

    .detail-body img {
        max-width: 100%;
        height: auto;
    }

    .career-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row { grid-template-columns: 1fr; }

    .about-features { grid-template-columns: 1fr; }

    .about-grid {
        gap: 32px;
    }

    .contact-grid {
        gap: 28px;
    }

    .content-card,
    .service-card,
    .team-card {
        max-width: 100%;
    }

    .manset-lead-title {
        font-size: 1.15rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .table-responsive,
    .menu-settings-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    body.theme-light .logo-text small {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    body.theme-light .main-nav {
        width: min(300px, 92vw);
    }

    .manset-panel-item {
        grid-template-columns: 64px 1fr;
        gap: 10px;
    }

    .manset-panel-thumb {
        width: 64px;
        height: 64px;
    }
}

/* ============================================
   Light Theme Enhancements
   ============================================ */

:root {
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-spring: 0.55s cubic-bezier(0.34, 1.3, 0.64, 1);
}

body.theme-light {
    background: linear-gradient(180deg, #faf9f7 0%, #f5f3ee 100%);
    background-attachment: fixed;
}

/* Media / Images */
.media-img,
.about-photo,
.team-photo-img,
.card-photo,
.service-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.about-image-inner {
    overflow: hidden;
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
}

body.theme-light .about-image {
    background: transparent;
    overflow: visible;
    padding: 8px;
}

body.theme-light .about-image-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(184, 148, 63, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

body.theme-light .about-image:hover .about-image-inner {
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.14),
        0 0 0 2px rgba(184, 148, 63, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
}

body.theme-light .about-image-accent {
    bottom: -12px;
    right: -12px;
    width: 140px;
    height: 140px;
    border: 3px solid var(--color-gold);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.85;
}

.about-image-inner .about-photo {
    transform: scale(1.02);
}

.about-image:hover .about-photo {
    transform: scale(1.06);
}

.team-photo {
    border-radius: 2px;
    box-shadow: var(--shadow-md);
}

.team-card:hover .team-photo-img {
    transform: scale(1.05);
}

.content-card-image,
.service-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.content-card-image::after,
.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.15) 0%, transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.content-card:hover .content-card-image::after,
.service-card:hover .service-card-image::after {
    opacity: 1;
}

.content-card:hover .card-photo,
.service-card:hover .service-photo {
    transform: scale(1.08);
}

.service-card:has(.service-card-image) {
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
}

.service-card:has(.service-card-image) .service-card-body {
    padding: 28px 30px 36px;
}

.service-card:has(.service-card-image) .service-icon {
    margin-top: -30px;
    position: relative;
    z-index: 2;
    background: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
}

.service-card:not(:has(.service-card-image)) {
    overflow: visible;
}

.service-card:not(:has(.service-card-image)) .service-icon {
    margin-top: 0;
    margin-bottom: 24px;
}

/* Page hero - richer bg */
.page-hero-bg .bg-image {
    opacity: 0.45;
    filter: blur(2px) brightness(1.1);
}

.page-hero-bg .bg-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(250,249,247,0.95) 60%, rgba(243,241,236,1) 100%);
}

/* CTA with image */
.cta-bg {
    background-size: cover;
    background-position: center;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.75) 100%);
}

.cta-bg::before {
    opacity: 0.15;
    z-index: 1;
}

/* Contact map */
.contact-map-section {
    position: relative;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.contact-map-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.contact-map-section:hover .contact-map-bg {
    transform: scale(1.05);
}

.contact-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(250,249,247,0.85) 100%);
}

.contact-map-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
}

.contact-map-content i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 16px;
    display: block;
}

.contact-map-content h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.contact-map-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Smoother card transitions */
.service-card,
.content-card,
.team-card,
.career-card,
.contact-item {
    transition: transform var(--transition-spring), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.btn {
    transition: all var(--transition-smooth);
}

.nav-menu li a::after {
    transition: transform var(--transition-smooth);
}

/* Detail page featured image */
.detail-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

/* Loader polish */
.page-loader.hidden {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

/* Image reveal on scroll */
.img-reveal {
    overflow: hidden;
}

.img-reveal img {
    transform: scale(1.1);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-reveal.revealed img,
.img-reveal.in-view img {
    transform: scale(1);
}

/* ===== Manşet ===== */
.section-manset {
    padding-top: 0;
}

.manset-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 28px;
    align-items: start;
}

.manset-layout--solo {
    grid-template-columns: 1fr;
}

.manset-lead-link {
    display: block;
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.manset-lead-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.manset-lead-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.manset-lead-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.manset-lead-link:hover .manset-lead-img {
    transform: scale(1.04);
}

.manset-lead-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.78);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    backdrop-filter: blur(8px);
}

body.theme-light .manset-lead-badge {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-gold-dark);
    border: 1px solid rgba(184, 148, 63, 0.25);
}

.manset-lead-body {
    padding: 24px 28px 28px;
}

.manset-lead-body time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.manset-lead-body h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.25;
    color: var(--color-heading);
    margin-bottom: 12px;
}

.manset-lead-body p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.manset-panel {
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.manset-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, rgba(184, 148, 63, 0.12) 0%, rgba(184, 148, 63, 0.04) 100%);
}

.manset-panel-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 148, 63, 0.16);
    color: var(--color-gold-dark);
}

.manset-panel-head h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: 0.3px;
}

.manset-panel-list {
    display: flex;
    flex-direction: column;
}

.manset-panel-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
    color: inherit;
}

.manset-panel-item:last-child {
    border-bottom: none;
}

.manset-panel-item:hover {
    background: rgba(184, 148, 63, 0.06);
}

.manset-panel-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-bg-muted);
}

.manset-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manset-panel-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.2;
}

.manset-panel-body h4 {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--color-heading);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.manset-panel-body time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.manset-panel-body p {
    font-size: 0.76rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.manset-panel--compact {
    align-self: center;
    max-height: 520px;
}

.manset-panel--compact .manset-panel-list {
    max-height: 430px;
    overflow-y: auto;
}

.manset-panel--compact .manset-panel-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 12px 14px;
}

.manset-panel--compact .manset-panel-body p {
    display: none;
}

body.theme-light .hero-grid .manset-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-color: rgba(184, 148, 63, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.manset-page-layout {
    display: block;
}

.manset-page-layout.has-manset {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: start;
}

.manset-page-layout.has-manset .manset-panel {
    position: sticky;
    top: 120px;
}

.manset-page-layout.has-manset .content-grid {
    margin: 0;
}

@media (max-width: 1100px) {
    .manset-layout,
    .manset-page-layout.has-manset {
        grid-template-columns: 1fr;
    }

    .manset-page-layout.has-manset .manset-panel {
        position: static;
    }

    body.theme-light .hero-grid .manset-panel--compact {
        max-height: none;
    }

    .manset-panel--compact .manset-panel-list {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .manset-panel-item {
        grid-template-columns: 72px 1fr;
    }

    .manset-lead-body {
        padding: 18px 20px 22px;
    }
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
}

