@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&family=Frank+Ruhl+Libre:wght@400;500;700;800;900&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

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

:root {
    /* Brand — sampled directly from the office logo (logo-he.png).
       Logo navy: #001d3b (darkest), Logo gold: #c1a87b (champagne).
       Variants below follow that exact palette, with luminance steps. */
    --navy: #0d2c4f;            /* primary navy — readable on light backgrounds */
    --navy-dark: #042041;
    --navy-deep: #001d3b;        /* exact logo color — for emphasis */
    --navy-mid: #1c3d62;
    --navy-light: #2c5380;
    --gold: #c1a87b;             /* exact logo gold — champagne tone */
    --gold-light: #d6c195;
    --gold-dark: #9b8458;        /* darker variant for headings on light bg */
    --gold-deep: #7a6a44;        /* deepest gold — for AA-contrast text */
    --gold-soft: rgba(193, 168, 123, 0.10);
    --gold-line: rgba(193, 168, 123, 0.32);

    /* Neutrals */
    --gray: #b0b0b0;             /* matches logo's silver building outlines */
    --gray-light: #e8e8e8;
    --off-white: #f8f7f3;
    --cream: #f2efe6;
    --ivory: #fbfaf6;
    --white: #ffffff;

    /* Text */
    --text-dark: #0d1c2e;
    --text-light: #5a6478;
    --text-muted: #8b94a3;

    /* Effects */
    --shadow-xs: 0 1px 3px rgba(0, 29, 59, 0.06);
    --shadow: 0 4px 24px rgba(0, 29, 59, 0.08);
    --shadow-lg: 0 14px 50px rgba(0, 29, 59, 0.16);
    --shadow-gold: 0 8px 30px rgba(193, 168, 123, 0.30);
    --transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition-slow: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Type scale */
    --font-display: 'Frank Ruhl Libre', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Assistant', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.75;
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* ===== Utility ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    flex: 0 0 auto;
}

.section-eyebrow::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.6px;
    line-height: 1.15;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.08rem;
    margin-bottom: 3.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.gold-line {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    margin: 1.25rem auto 2.25rem;
}

section {
    padding: 110px 0;
}

@media (max-width: 768px) {
    section { padding: 72px 0; }
    .section-title { font-size: 2rem; }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1100;
    background: transparent;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
    box-shadow: 0 0 10px rgba(184, 148, 63, 0.6);
    transition: width 0.08s linear;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 24px rgba(8, 22, 39, 0.06);
    border-bottom: 1px solid var(--gold-line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 84px;
    transition: var(--transition);
}

.header.scrolled .header-inner {
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: none;
}

.logo img {
    height: 64px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 1px 2px rgba(8, 22, 39, 0.08));
}

.logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 3px 8px rgba(184, 148, 63, 0.25));
}

.header.scrolled .logo img {
    height: 56px;
}

/* "Online Service" featured nav item */
.nav-online-service {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 2px 12px rgba(184, 148, 63, 0.35);
    transition: var(--transition);
}

.nav-online-service::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;          /* online green */
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.85),
        0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%   { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70%  { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 0 0 rgba(34, 197, 94, 0); }
}

.nav-online-service:hover {
    background: var(--gold-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(184, 148, 63, 0.5);
}

.nav-online-service::after {
    display: none !important;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    list-style: none;
}

@media (min-width: 1280px) {
    .nav-links { gap: 26px; }
}

@media (max-width: 1100px) {
    .nav-links { gap: 14px; }
}

.nav-links li { flex: none; }

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .nav-links a { font-size: 0.88rem; }
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.header-cta:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

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

.header-cta-group {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    flex: none;
}

.header-cta-group .header-cta {
    border-radius: 0;
    padding: 10px 22px;
    font-size: 0.95rem;
    gap: 10px;
}

.header-cta-group .header-cta svg {
    width: 18px;
    height: 18px;
}

.header-cta-copy,
.header-cta-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.header-cta-copy {
    background: var(--gold-dark);
}

.header-cta-copy:hover {
    background: var(--navy);
}

.header-cta-copy svg,
.header-cta-whatsapp svg {
    width: 18px;
    height: 18px;
}

.header-cta-copy.copied {
    background: #27ae60;
}

.header-cta-copy.copied svg {
    display: none;
}

.header-cta-copy.copied::after {
    content: '\2713';
    font-size: 14px;
    color: white;
}

.header-cta-whatsapp {
    background: #25D366;
}

.header-cta-whatsapp:hover {
    background: #1da851;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 84px;
    background: var(--navy-deep);
    isolation: isolate;
}

/* Cinematic architectural background image */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.85) saturate(0.92);
    transform: scale(1.04);
    animation: heroBgZoom 18s ease-in-out infinite alternate;
}

@keyframes heroBgZoom {
    0%   { transform: scale(1.04); }
    100% { transform: scale(1.10); }
}

/* Multi-layered overlay for readability + luxury feel */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(12, 22, 38, 0.45) 0%, rgba(12, 22, 38, 0.75) 60%, rgba(12, 22, 38, 0.92) 100%),
        radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, rgba(12, 22, 38, 0.35) 100%);
    pointer-events: none;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 148, 63, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 148, 63, 0.04) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 70%);
    opacity: 0.55;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-logo-mark {
    height: 168px;
    width: auto;
    margin: 0 auto 32px;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 8px 28px rgba(184, 148, 63, 0.35));
    opacity: 0.98;
    animation: heroLogoFloat 7s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-8px) scale(1.02); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
    padding: 9px 22px;
    border: 1px solid rgba(184, 148, 63, 0.45);
    border-radius: 999px;
    background: rgba(184, 148, 63, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-eyebrow::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-logo {
    width: 180px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.02;
    font-family: var(--font-display);
    color: var(--white);
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    font-style: italic;
}

.hero-headline {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.96);
    margin: 0 auto 1.25rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.45;
    max-width: 760px;
    font-family: var(--font-display);
}

.hero-tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 0.5rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.7;
    max-width: 720px;
}

.hero-tagline strong {
    color: var(--gold-light);
    font-weight: 600;
}

.hero-trust-strip {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 148, 63, 0.22);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-strip svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

/* Compatibility: hide legacy decorative shapes/SVGs still in en/ar HTML */
.hero-shapes,
.hero-building { display: none; }

@media (max-width: 768px) {
    .hero-headline { font-size: 1.2rem; }
    .hero-tagline { font-size: 0.96rem; }
    .hero-trust-strip { gap: 16px; font-size: 0.8rem; flex-direction: column; }
}

.hero-gold-line {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    margin: 1.75rem auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    inset-inline-end: -32px;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(184, 148, 63, 0.4), transparent);
}

.hero-stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -2px;
    font-family: var(--font-display);
}

.hero-stat-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-cta {
    margin-top: 3.5rem;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 1px solid var(--gold);
    box-shadow: 0 4px 18px rgba(184, 148, 63, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn-primary > * { position: relative; z-index: 1; }

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 148, 63, 0.45);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(184, 148, 63, 0.08);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Gallery Strip ===== */
.gallery-strip {
    background: var(--navy-dark);
    padding: 56px 0;
    overflow: hidden;
    position: relative;
}

.gallery-strip-label {
    text-align: center;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 32px;
    font-family: 'Heebo', sans-serif;
    opacity: 0.9;
}

.gallery-track-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.gallery-track--left {
    animation: scroll-left 40s linear infinite;
}

.gallery-track--right {
    animation: scroll-right 40s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.gallery-item {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.82) saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.95) saturate(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(15, 34, 53, 0.85));
    padding: 20px 14px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Heebo', sans-serif;
}

/* fade edges */
.gallery-strip::before,
.gallery-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.gallery-strip::before {
    right: 0;
    background: linear-gradient(to left, var(--navy-dark), transparent);
}

.gallery-strip::after {
    left: 0;
    background: linear-gradient(to right, var(--navy-dark), transparent);
}

/* ===== About ===== */
.about {
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.about .section-eyebrow {
    color: var(--gold-light);
    position: relative;
    z-index: 2;
}

.about .section-title {
    color: #fff;
    position: relative;
    z-index: 2;
}

.about .gold-line {
    position: relative;
    z-index: 2;
}

/* Full-section photo slideshow */
.about-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.about-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.4s ease, transform 8s ease;
    will-change: opacity, transform;
}

.about-slide.active {
    opacity: 1;
    transform: scale(1);
}

.about-slide-caption {
    position: absolute;
    bottom: 28px;
    inset-inline-start: 32px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background: rgba(15, 34, 53, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(184, 148, 63, 0.35);
}

.about-slides-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.78) 0%,
        rgba(20, 40, 70, 0.55) 55%,
        rgba(15, 34, 53, 0.85) 100%
    );
    pointer-events: none;
}

/* Navigation dots */
.about-dots {
    position: absolute;
    bottom: 24px;
    inset-inline-end: 32px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.about-dot:hover {
    border-color: var(--gold);
}

.about-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

/* Content wrapper sits above the slides */
.about-content-wrap {
    position: relative;
    z-index: 2;
}

/* Glass card */
.about-glass-card {
    background: rgba(15, 34, 53, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(184, 148, 63, 0.25);
    border-radius: 18px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.about-glass-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Leadership row: portrait + bio side by side */
.about-leadership {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 48px;
    align-items: center;
}

.about-portrait {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    overflow: visible;
}

.about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.25);
    filter: saturate(1.02) contrast(1.02);
    display: block;
    position: relative;
    z-index: 2;
}

.about-portrait-frame {
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(184, 148, 63, 0.5);
    border-radius: 4px;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition);
}

.about-portrait::after {
    content: '';
    position: absolute;
    bottom: -18px;
    inset-inline-end: -18px;
    width: 110px;
    height: 110px;
    background:
        linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    opacity: 0.18;
    border-radius: 50%;
    filter: blur(36px);
    z-index: 0;
}

.about-portrait:hover .about-portrait-frame {
    inset: -10px;
    border-color: var(--gold);
}

/* Practice areas section inside the glass card */
.about-practice-divider {
    margin: 44px 0 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 148, 63, 0.4), transparent);
}

.about-practice-heading {
    text-align: center;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-family: var(--font-body);
}

.practice-cards--row {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

/* Team grid (other attorneys) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    max-width: 880px;
    margin: 0 auto;
}

.team-card {
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 148, 63, 0.18);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 148, 63, 0.5);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.team-card:hover::after { opacity: 1; }

.team-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--navy-deep);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: saturate(0.95);
}

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

.team-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(8, 22, 39, 0.55) 100%);
    pointer-events: none;
}

.team-card-info {
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-card-name {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.team-card-title {
    color: var(--gold-light);
    font-size: 0.85rem;
    letter-spacing: 0.4px;
}

@media (max-width: 992px) {
    .about-leadership {
        grid-template-columns: minmax(180px, 240px) 1fr;
        gap: 32px;
    }
    .practice-cards--row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .about-leadership {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .about-portrait {
        max-width: 240px;
        margin: 0 auto;
    }
    .about-bio h2 {
        text-align: center;
    }
    .about-gold-rule {
        margin-left: auto;
        margin-right: auto;
    }
    .about-roles li {
        text-align: start;
    }
    .practice-cards--row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.about-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-bio h2 {
    font-size: 2rem;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.about-gold-rule {
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 24px;
}

.about-bio p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
    line-height: 1.8;
}

.about-roles {
    list-style: none;
    margin-top: 0.5rem;
}

.about-roles li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
}

.about-roles li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gold);
    margin-top: 3px;
}

/* Practice Area Cards */
.practice-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.practice-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(184,148,63,0.18);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184, 148, 63, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.practice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(184, 148, 63, 0.55);
}

.practice-card:hover::before {
    opacity: 1;
}

.practice-card-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy));
    border: 1px solid rgba(184, 148, 63, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.practice-card:hover .practice-card-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: var(--gold);
    transform: scale(1.06) rotate(-3deg);
}

.practice-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--gold);
    transition: color 0.3s ease;
}

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

.practice-card h4 {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
}

/* ===== Projects ===== */
.projects {
    background: var(--off-white);
}

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

/* ===== Projects slideshow — two-image card (existing + planned) with info row ===== */
.projects-3d {
    position: relative;
    width: 100%;
    height: 560px;
    margin-top: 16px;
}

.projects-3d:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 16px;
}

.projects-3d-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.projects-3d-stage .project-card {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    box-shadow:
        0 20px 50px rgba(8, 22, 39, 0.16),
        0 6px 18px rgba(184, 148, 63, 0.12);
    border: 1px solid rgba(184, 148, 63, 0.18);
    background: var(--white);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.projects-3d-stage .project-card.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}

.projects-3d-stage .project-card:hover {
    /* Override the small grid hover-lift inherited from base .project-card */
    transform: translateY(0);
    box-shadow:
        0 20px 50px rgba(8, 22, 39, 0.16),
        0 6px 18px rgba(184, 148, 63, 0.12);
    border-color: rgba(184, 148, 63, 0.18);
}

/* === Top: two-image grid (existing | planned) === */
.projects-3d-stage .project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(184, 148, 63, 0.25);
    flex: 1;
    min-height: 0;
}

.projects-3d-stage .project-image {
    position: relative;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.projects-3d-stage .project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, #f4ede0, #e8dfd0);
    transition: none;
    transform: none;
}

.projects-3d-stage .project-card:hover .project-image img {
    transform: none;
}

.project-image-label {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gold-dark, #7a5c3e);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(8, 22, 39, 0.12);
    pointer-events: none;
}

.project-image-new .project-image-label {
    background: var(--gold);
    color: var(--white);
}

/* Multi-image slot — auto-cycles through 4 renderings with crossfade.
   Each <img> is absolutely stacked; CSS-only animation rotates them. */
.projects-3d-stage .project-image-multi {
    position: relative;
}
.projects-3d-stage .project-image-multi img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, #f4ede0, #e8dfd0);
    opacity: 0;
    animation: projectImgCycle 16s ease-in-out infinite;
    z-index: 1;
}
.projects-3d-stage .project-image-multi img:nth-of-type(1) { animation-delay: 0s; }
.projects-3d-stage .project-image-multi img:nth-of-type(2) { animation-delay: 4s; }
.projects-3d-stage .project-image-multi img:nth-of-type(3) { animation-delay: 8s; }
.projects-3d-stage .project-image-multi img:nth-of-type(4) { animation-delay: 12s; }

@keyframes projectImgCycle {
    0%      { opacity: 0; }
    1.5%    { opacity: 1; }
    24%     { opacity: 1; }
    25.5%   { opacity: 0; }
    100%    { opacity: 0; }
}

/* === Bottom: info row === */
.projects-3d-stage .project-info {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px 32px;
    background: var(--white);
    border-top: 1px solid rgba(184, 148, 63, 0.18);
    flex: none;
    min-height: 110px;
}

.projects-3d-stage .project-info .project-type-badge {
    /* override the absolute-positioned badge from base styles */
    position: static;
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 7px 16px;
    font-size: 0.82rem;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.projects-3d-stage .project-info-main {
    flex: 1;
    min-width: 0;
}

.projects-3d-stage .project-info-main h4 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 4px;
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projects-3d-stage .project-info-main .project-location {
    margin: 0;
    font-size: 0.9rem;
    border: none;
    padding: 0;
}

/* Stats: compact pair side-by-side */
.projects-3d-stage .project-info .project-stats {
    flex: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    border: none;
    margin: 0;
}

.projects-3d-stage .project-info .project-stat {
    text-align: center;
}

.projects-3d-stage .project-info .project-stat-value {
    font-size: 1.5rem;
    color: var(--gold-dark, #7a5c3e);
    font-weight: 800;
    line-height: 1;
}

.projects-3d-stage .project-info .project-stat-label {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 4px;
    white-space: nowrap;
}

.projects-3d-stage .project-info .project-arrow {
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 1;
}

/* Status pill at the end */
.projects-3d-stage .project-info .project-status {
    flex: none;
    padding: 8px 18px;
    background: rgba(184, 148, 63, 0.12);
    color: var(--gold-dark, #7a5c3e);
    border: 1px solid rgba(184, 148, 63, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Side navigation arrows (overlay the slideshow) ===== */
.projects-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(184, 148, 63, 0.45);
    background: var(--white);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    flex: none;
    padding: 0;
}

.projects-slider-btn:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.06);
    box-shadow: var(--shadow-lg);
}

.projects-slider-btn svg {
    width: 22px;
    height: 22px;
}

.projects-slider-btn[data-dir="prev"] {
    inset-inline-start: -22px;
}

.projects-slider-btn[data-dir="next"] {
    inset-inline-end: -22px;
}

@media (max-width: 992px) {
    .projects-3d { height: 540px; }
    .projects-3d-stage .project-info {
        padding: 16px 22px;
        gap: 14px;
        flex-wrap: wrap;
    }
    .projects-3d-stage .project-info-main h4 { font-size: 1.2rem; }
    .projects-3d-stage .project-info .project-stat-value { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .projects-3d {
        height: auto;
        min-height: 600px;
    }
    .projects-3d-stage { height: auto; min-height: 600px; }
    .projects-3d-stage .project-card {
        height: auto;
        min-height: 600px;
    }
    /* Stack the two images vertically on phones — side-by-side gets too tiny */
    .projects-3d-stage .project-images {
        grid-template-columns: 1fr;
        grid-auto-rows: 1fr;
        gap: 2px;
        flex: 1;
        min-height: 360px;
    }
    .projects-3d-stage .project-image {
        height: 100%;
        min-height: 180px;
    }
    /* Info row becomes a column on phones */
    .projects-3d-stage .project-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px 20px 22px;
        min-height: 0;
    }
    .projects-3d-stage .project-info .project-stats {
        align-self: stretch;
        justify-content: center;
        padding-top: 12px;
        border-top: 1px solid rgba(184, 148, 63, 0.2);
    }
    .projects-3d-stage .project-info .project-status {
        max-width: none;
    }
    .projects-slider-btn {
        width: 44px;
        height: 44px;
    }
    .projects-slider-btn[data-dir="prev"] { inset-inline-start: 8px; }
    .projects-slider-btn[data-dir="next"] { inset-inline-end: 8px; }
    .projects-slider-btn svg { width: 18px; height: 18px; }
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 16px rgba(8, 22, 39, 0.06);
    border: 1px solid rgba(184, 148, 63, 0.08);
}

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

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-info {
    padding: 20px;
}

.project-info h4 {
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.project-location {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--gray-light);
}

.project-stat {
    text-align: center;
}

.project-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.project-stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
}

.project-status {
    margin-top: 12px;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(27, 58, 92, 0.08);
    color: var(--navy);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* ===== Commitments ===== */
.commitments {
    background: var(--white);
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.commitment-card {
    background: var(--ivory);
    border-radius: 18px;
    padding: 44px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(184, 148, 63, 0.1);
    position: relative;
    overflow: hidden;
}

.commitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 148, 63, 0.25);
    background: var(--white);
}

.commitment-card:hover::before {
    opacity: 1;
}

.commitment-icon {
    width: 68px;
    height: 68px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.commitment-card:hover .commitment-icon {
    background: var(--gold);
    transform: scale(1.05);
}

.commitment-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
    transition: color 0.3s ease;
}

.commitment-card:hover .commitment-icon svg {
    color: var(--white);
}

.commitment-card h4 {
    color: var(--navy);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.55;
}

/* ===== Approach (firm philosophy & writings) ===== */
.approach {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '"';
    position: absolute;
    top: -80px;
    inset-inline-start: -40px;
    font-family: 'Frank Ruhl Libre', Georgia, serif;
    font-size: 28rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
    font-weight: 700;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}

.approach-card {
    background: var(--white);
    border-radius: 14px;
    padding: 56px 40px 32px;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(184, 148, 63, 0.15);
}

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

.approach-quote-mark {
    position: absolute;
    top: 12px;
    inset-inline-start: 28px;
    font-family: 'Frank Ruhl Libre', Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.32;
    user-select: none;
    font-weight: 700;
    pointer-events: none;
}

.approach-text {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--navy-dark);
    margin-bottom: 1.75rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.approach-attribution {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(184, 148, 63, 0.22);
}

.approach-attr-source {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.approach-attr-tag {
    color: var(--text-light);
    font-size: 0.85rem;
    padding-inline-start: 10px;
    border-inline-start: 1px solid rgba(184, 148, 63, 0.3);
}

/* ===== Articles ===== */
.articles {
    background: var(--cream);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 16px rgba(27, 58, 92, 0.07);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(184, 148, 63, 0.12);
}

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

.article-category {
    display: inline-block;
    background: rgba(27, 58, 92, 0.07);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.article-header {
    padding: 28px 28px 0;
}

.article-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 12px;
    font-family: 'Frank Ruhl Libre', serif;
}

.article-excerpt {
    padding: 0 28px 20px;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.75;
    flex: 1;
}

.article-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.article-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.article-read-more:hover {
    color: var(--navy);
    gap: 8px;
}

.article-gold-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

/* ===== Contact ===== */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--ivory);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(184, 148, 63, 0.12);
    background: var(--white);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.form-group input.valid,
.form-group textarea.valid {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
}

.form-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group input.invalid + .form-error,
.form-group textarea.invalid + .form-error {
    display: block;
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.form-submit > * { position: relative; z-index: 1; }

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(184, 148, 63, 0.35);
}

.form-submit:hover::before {
    opacity: 1;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-details h3 {
    font-size: 1.4rem;
    color: var(--navy);
}

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

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-item-text h4 {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item-text p,
.contact-item-text a {
    color: var(--text-light);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-item-text a:hover {
    color: var(--gold);
}

.contact-item-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-inline-start: auto;
    flex-shrink: 0;
}

.contact-copy-btn,
.contact-waze-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-light);
    text-decoration: none;
}

.contact-copy-btn svg,
.contact-waze-btn svg {
    width: 16px;
    height: 16px;
}

.contact-copy-btn:hover,
.contact-waze-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #fdfaf2;
}

.contact-waze-btn {
    color: #33ccff;
}

.contact-waze-btn:hover {
    color: #33ccff;
    border-color: #33ccff;
    background: #f0fbff;
}

.contact-copy-btn.copied {
    border-color: #27ae60;
    color: #27ae60;
    background: #f0faf4;
}

.contact-copy-btn.copied svg {
    display: none;
}

.contact-copy-btn.copied::after {
    content: '\2713';
    font-size: 14px;
    font-weight: 700;
}

.contact-map {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
    color: rgba(255, 255, 255, 0.72);
    padding: 72px 0 28px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 88px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-logo-mark {
    height: 72px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand-name {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.footer-brand-name .sep {
    color: var(--gold);
    margin: 0 10px;
    font-weight: 400;
}

.footer-brand-name .role {
    color: var(--gold);
    font-weight: 500;
    font-size: 1.1rem;
    font-style: normal;
    letter-spacing: 0.5px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom span {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.3px;
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-bottom a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

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

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* ===== Scroll 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);
}

/* ===== Language Switcher ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    padding: 4px 8px;
}

.lang-switcher a {
    text-decoration: none;
    color: var(--navy);
    padding: 2px 6px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-switcher a.active {
    color: var(--gold);
    font-weight: 700;
}

.lang-switcher a:hover {
    color: var(--gold-dark);
}

.lang-switcher span {
    color: var(--gray);
    font-size: 0.7rem;
}

/* ===== LTR Overrides (English) ===== */
[dir="ltr"] .nav-links a::after {
    right: auto;
    left: 0;
}

[dir="ltr"] .project-type-badge {
    right: auto;
    left: 12px;
}

[dir="ltr"] .whatsapp-float {
    left: auto;
    right: 24px;
}

[dir="ltr"] .back-to-top {
    right: auto;
    left: 24px;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 16px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-inner p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    min-width: 240px;
    max-height: 180px;
    overflow-y: auto;
    padding-inline-end: 6px;
}

.cookie-consent-inner p strong {
    color: var(--gold-light);
    font-weight: 700;
}

@media (max-width: 768px) {
    .cookie-consent { padding: 14px 18px; }
    .cookie-consent-inner p { font-size: 0.82rem; max-height: 140px; }
}

.cookie-consent-inner a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-consent-inner a:hover {
    color: var(--gold-light);
}

.cookie-consent-btn {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.cookie-consent-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

/* ===== Accessibility Widget ===== */
.a11y-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27, 58, 92, 0.3);
    transition: var(--transition);
    color: var(--white);
    padding: 0;
}

.a11y-btn:hover {
    background: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(197, 165, 90, 0.4);
}

.a11y-btn svg {
    width: 26px;
    height: 26px;
}

[dir="ltr"] .a11y-btn {
    right: auto;
    left: 24px;
}

/* Accessibility Panel */
.a11y-panel {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 1002;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease, left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.a11y-panel.open {
    right: 0;
}

[dir="ltr"] .a11y-panel {
    right: auto;
    left: -360px;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2);
}

[dir="ltr"] .a11y-panel.open {
    left: 0;
}

.a11y-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--navy);
    color: var(--white);
}

.a11y-panel-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.a11y-panel-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    padding: 0;
}

.a11y-panel-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.a11y-panel-close svg {
    width: 20px;
    height: 20px;
}

.a11y-panel-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.a11y-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.a11y-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

.a11y-option:hover {
    border-color: var(--gold);
    background: #fdfaf2;
}

.a11y-option.active {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

.a11y-option.active .a11y-option-icon {
    color: var(--white);
}

.a11y-option-icon {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-option-icon svg {
    width: 22px;
    height: 22px;
}

.a11y-keyboard-info {
    background: var(--off-white);
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.a11y-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
    margin-bottom: 12px;
}

.a11y-reset:hover {
    background: #e74c3c;
    color: var(--white);
    border-color: #e74c3c;
}

.a11y-reset svg {
    width: 18px;
    height: 18px;
}

.a11y-statement-link {
    display: block;
    text-align: center;
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: underline;
    padding: 8px;
    transition: var(--transition);
}

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

/* Accessibility Statement Modal */
.a11y-statement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1003;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.a11y-statement-overlay.open {
    display: flex;
}

.a11y-statement-modal {
    background: var(--white);
    border-radius: 12px;
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.a11y-statement-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--off-white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-dark);
    padding: 0;
}

[dir="ltr"] .a11y-statement-close {
    right: auto;
    left: 16px;
}

.a11y-statement-close:hover {
    background: #e74c3c;
    color: var(--white);
}

.a11y-statement-close svg {
    width: 18px;
    height: 18px;
}

.a11y-statement-content {
    padding: 40px 32px 32px;
}

.a11y-statement-content h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.a11y-statement-content h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-top: 20px;
    margin-bottom: 8px;
}

.a11y-statement-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.a11y-statement-content ul {
    padding-inline-start: 20px;
    margin-bottom: 12px;
}

.a11y-statement-content li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

/* Accessibility Panel Overlay (background) */
.a11y-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
}

.a11y-overlay.open {
    display: block;
}

/* ===== Accessibility Body Classes ===== */
body.a11y-grayscale {
    filter: grayscale(100%);
}

body.a11y-high-contrast,
body.a11y-high-contrast * {
    background: #000 !important;
    color: #ff0 !important;
    border-color: #ff0 !important;
}

body.a11y-high-contrast a {
    color: #0ff !important;
}

body.a11y-high-contrast img {
    filter: brightness(1.2) contrast(1.5);
}

body.a11y-high-contrast .a11y-panel,
body.a11y-high-contrast .a11y-panel *,
body.a11y-high-contrast .a11y-statement-modal,
body.a11y-high-contrast .a11y-statement-modal * {
    background: #111 !important;
    color: #ff0 !important;
}

body.a11y-invert {
    filter: invert(100%) hue-rotate(180deg);
}

body.a11y-invert img,
body.a11y-invert video {
    filter: invert(100%) hue-rotate(180deg);
}

body.a11y-highlight-links a {
    outline: 3px solid #ff0 !important;
    outline-offset: 2px;
    text-decoration: underline !important;
    color: #0000EE !important;
}

body.a11y-highlight-links .a11y-panel a {
    color: var(--navy) !important;
}

body.a11y-readable-font,
body.a11y-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0.5px;
}

html.a11y-font-120 {
    font-size: 19.2px;
}

html.a11y-font-140 {
    font-size: 22.4px;
}

body.a11y-big-cursor,
body.a11y-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6.5 1.5L11 19z' fill='%23000' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 4 4, auto !important;
}

body.a11y-stop-animations,
body.a11y-stop-animations *,
body.a11y-stop-animations *::before,
body.a11y-stop-animations *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .header-inner {
        height: 70px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .header-cta-group {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: -0.5px;
    }

    .hero-logo-mark {
        height: 96px;
        margin-bottom: 22px;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .nav-online-service {
        align-self: stretch;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 18px;
    }

    .hero-stats {
        gap: 36px;
    }

    .hero-stat-number {
        font-size: 2.6rem;
    }

    .hero-stat:not(:last-child)::after {
        inset-inline-end: -18px;
    }

    .about-glass-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-glass-card {
        padding: 36px 28px;
    }

    .about-bio h2 {
        font-size: 1.7rem;
    }

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

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

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .approach-card {
        padding: 48px 28px 28px;
    }

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

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .lang-switcher {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero-logo-mark {
        height: 78px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: -0.3px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    .hero-stat:not(:last-child)::after {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

    .about-glass-card {
        padding: 28px 20px;
    }

    .about-dots {
        inset-inline-end: 20px;
        bottom: 16px;
    }

    .about-slide-caption {
        inset-inline-start: 20px;
        bottom: 20px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }

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

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

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

    .approach-card {
        padding: 44px 24px 24px;
    }

    .approach-quote-mark {
        font-size: 4.5rem;
        top: 8px;
    }

    .approach-text {
        font-size: 1rem;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ===== FAQ section ===== */
.faq {
    padding: 100px 0;
    background:
        linear-gradient(180deg, var(--white) 0%, #fdfbf7 60%, var(--white) 100%);
}

.faq .section-title {
    max-width: 880px;
    margin-inline: auto;
}

.faq-list {
    max-width: 880px;
    margin: 36px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(184, 148, 63, 0.18);
    border-radius: 12px;
    margin-bottom: 14px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: 0 6px 22px rgba(8, 22, 39, 0.08);
    border-color: rgba(184, 148, 63, 0.4);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(184, 148, 63, 0.12);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    background: var(--gold);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-item summary:hover { color: var(--gold-dark); }

.faq-item-body {
    padding: 0 24px 22px;
    color: var(--text);
    line-height: 1.85;
}

.faq-item-body p { margin: 0; }

.faq-item-body strong {
    color: var(--gold-dark);
    font-weight: 700;
}

.faq-cta {
    text-align: center;
    margin-top: 32px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.faq-cta a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 148, 63, 0.4);
    transition: var(--transition);
}

.faq-cta a:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

@media (max-width: 768px) {
    .faq { padding: 60px 0; }
    .faq-item summary {
        padding: 16px 20px;
        font-size: 0.98rem;
    }
    .faq-item-body { padding: 0 20px 18px; }
}

/* ===== Knowledge Center section ===== */
.knowledge {
    padding: 100px 0;
    background: linear-gradient(180deg, #fdfbf7 0%, var(--white) 50%, #fdfbf7 100%);
}

.knowledge-block {
    margin-top: 48px;
}

.knowledge-block + .knowledge-block {
    margin-top: 64px;
}

.knowledge-block-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(184, 148, 63, 0.22);
}

.knowledge-block-header h3 {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.knowledge-link-all {
    color: var(--gold-dark, #7a5c3e);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.knowledge-link-all:hover {
    color: var(--navy);
    transform: translateX(-3px);
    display: inline-block;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.knowledge-grid-articles {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.knowledge-card {
    background: var(--white);
    border: 1px solid rgba(184, 148, 63, 0.2);
    border-radius: 14px;
    padding: 22px 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.knowledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: var(--rtl-origin, right);
    transition: transform 0.4s ease;
}

[dir="rtl"] .knowledge-card::before { transform-origin: right; }
[dir="ltr"] .knowledge-card::before { transform-origin: left; }

.knowledge-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 28px rgba(8, 22, 39, 0.1);
    transform: translateY(-4px);
}

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

.knowledge-card-tag {
    display: inline-block;
    align-self: flex-start;
    background: rgba(184, 148, 63, 0.12);
    color: var(--gold-dark, #7a5c3e);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.knowledge-card h4 {
    color: var(--navy);
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 6px;
}

.knowledge-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}

.knowledge-card-arrow {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    transition: transform 0.3s ease;
}

.knowledge-card:hover .knowledge-card-arrow {
    transform: translateX(-4px);
}

[dir="ltr"] .knowledge-card:hover .knowledge-card-arrow {
    transform: translateX(4px);
}

.knowledge-card-article {
    background: linear-gradient(135deg, var(--white), rgba(184, 148, 63, 0.04));
}

.knowledge-card-article h4 {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .knowledge { padding: 64px 0; }
    .knowledge-block + .knowledge-block { margin-top: 48px; }
    .knowledge-block-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .knowledge-block-header h3 { font-size: 1.3rem; }
    .knowledge-grid,
    .knowledge-grid-articles { grid-template-columns: 1fr; }
}

/* Footer legal links — sit alongside accessibility link */
.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.25s ease;
}
.footer-legal-links a:hover {
    color: var(--gold);
}
@media (max-width: 600px) {
    .footer-legal-links { gap: 12px; font-size: 0.82rem; }
}

/* ===== About section: pillars (Knowledge · Experience · Determined Representation) ===== */
.about-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 14px 24px;
    background: rgba(184, 148, 63, 0.08);
    border: 1px solid rgba(184, 148, 63, 0.32);
    border-radius: 999px;
    width: fit-content;
    margin-inline: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.about-pillar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-pillar-icon {
    width: 24px;
    height: 24px;
    color: var(--gold-light);
    flex-shrink: 0;
}

.about-pillar-text {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.about-pillar-divider {
    width: 1px;
    height: 22px;
    background: linear-gradient(to bottom, transparent, rgba(184, 148, 63, 0.6), transparent);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .about-pillars {
        gap: 14px;
        padding: 12px 18px;
        border-radius: 16px;
    }
    .about-pillar { font-size: 0.98rem; gap: 8px; }
    .about-pillar-icon { width: 20px; height: 20px; }
    .about-pillar-divider { height: 18px; }
}
