/* ============================================
   DUAN & DUAN UK LLP — Design System
   ============================================ */

:root {
    /* Brand Colours */
    --color-navy: #2c4a7c;
    --color-navy-dark: #1e3660;
    --color-navy-light: #3d6098;
    --color-red: #c41e3a;
    --color-red-dark: #a01830;
    --color-red-light: #d63050;

    /* Neutrals */
    --color-charcoal: #2d2d2d;
    --color-slate: #4a5568;
    --color-gray: #718096;
    --color-light-gray: #e2e8f0;
    --color-cream: #f8f9fa;
    --color-white: #ffffff;

    /* Fonts */
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Work Sans', sans-serif;

    /* Spacing */
    --section-padding: 8rem 3rem;
    --section-padding-mobile: 4rem 1.5rem;
    --max-width: 1400px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--color-white);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--color-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

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

header.scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

header .logo-text,
header nav a,
header .lang-toggle,
header .mobile-menu-btn {
    color: var(--color-navy);
}

header.scrolled .logo-text,
header.scrolled nav a,
header.scrolled .lang-toggle,
header.scrolled .mobile-menu-btn {
    color: var(--color-navy);
}

header.scrolled .logo-icon {
    background: var(--color-white);
    color: var(--color-navy);
}

header .btn-contact {
    background: var(--color-red);
    color: var(--color-white);
    transition: all 0.3s ease;
}

header .btn-contact:hover {
    background: #c0392b;
}

/* Inner pages: same frosted effect */
body.inner-page header {
    background: var(--color-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.inner-page header .logo-text,
body.inner-page header nav a,
body.inner-page header .lang-toggle {
    color: var(--color-navy);
}

body.inner-page header .logo-text,
body.inner-page header nav a,
body.inner-page header .lang-toggle {
    color: var(--color-navy);
}

body.inner-page header.scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

body.inner-page header.scrolled .logo-text,
body.inner-page header.scrolled nav a,
body.inner-page header.scrolled .lang-toggle,
body.inner-page header.scrolled .mobile-menu-btn {
    color: var(--color-navy);
}

body.inner-page header.scrolled .btn-contact {
    background: var(--color-red);
    color: var(--color-white);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img-footer {
    height: 36px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.logo-text .amp {
    color: var(--color-red-light);
    font-style: italic;
}

/* Nav */
nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-red);
    transition: width 0.3s ease;
}

nav a:hover { color: var(--color-red); }
nav a:hover::after { width: 100%; }
nav a.active::after { width: 100%; }

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    background: var(--color-white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
    color: var(--color-charcoal) !important;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a::after { display: none; }

.nav-dropdown-menu a:hover {
    background: var(--color-cream);
    color: var(--color-red) !important;
    padding-left: 2rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-toggle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy);
    background: transparent;
    border: 1px solid rgba(26,42,68,0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-toggle:hover {
    color: var(--color-red);
    background: var(--color-cream);
    border-color: var(--color-red);
}

.btn-contact {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-red);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-contact:hover { background: var(--color-red-dark); }

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-white);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-navy-dark);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav.active { display: block; }

.mobile-nav a {
    display: block;
    font-size: 1.25rem;
    color: var(--color-white);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .sub-link {
    font-size: 1rem;
    padding-left: 1.5rem;
    opacity: 0.7;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
}

.mobile-nav-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-red);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-red-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-navy);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-navy:hover {
    background: var(--color-red);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
    background: transparent;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid var(--color-navy);
    transition: all 0.3s ease;
}

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

.section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.section-link:hover { color: var(--color-red-dark); }
.section-link svg { transition: transform 0.2s ease; }
.section-link:hover svg { transform: translateX(4px); }

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-navy);
}

.page-hero-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(44, 74, 124, 0.85) 0%, rgba(30, 54, 96, 0.92) 100%);
}

.page-hero-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 8rem 3rem 4rem;
    width: 100%;
    color: var(--color-white);
}

.page-hero-content .breadcrumb {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.page-hero-content .breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.page-hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    max-width: 800px;
}

.page-hero-content .hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 600px;
    margin-top: 1.5rem;
    opacity: 0.85;
    line-height: 1.8;
}

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

.hero-video-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-poster {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('/images/london-skyline.webp') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(44, 74, 124, 0.88) 0%, rgba(30, 54, 96, 0.92) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 8rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    color: var(--color-white);
}

.hero-main { max-width: 600px; }

.hero-animated-text { margin-bottom: 2rem; font-size: inherit; font-weight: inherit; }
.hero-line { overflow: hidden; }

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 0.8s ease forwards;
}

.hero-word:nth-child(1) { animation-delay: 0.2s; }
.hero-word:nth-child(2) { animation-delay: 0.4s; }
.hero-word:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-large-text {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-large-text .accent {
    color: var(--color-red-light);
    font-style: italic;
}

.hero-subtitle-home {
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 500px;
    margin: 2rem 0 3rem;
    opacity: 0;
    line-height: 1.8;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeIn { to { opacity: 0.9; } }

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.2s;
}

/* Hero skyline image */
.hero-visual {
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
}

.hero-image-container { position: relative; }

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

.hero-badge {
    position: absolute;
    bottom: -30px; left: -30px;
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 20;
}

.hero-badge-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-red);
    line-height: 1;
}

.hero-badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* Video control */
.video-control {
    position: absolute;
    bottom: 3rem; right: 3rem;
    z-index: 20;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-control:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.video-control svg { width: 20px; height: 20px; }
.video-control .pause-icon { display: block; }
.video-control .play-icon { display: none; }
.video-control.paused .pause-icon { display: none; }
.video-control.paused .play-icon { display: block; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    animation: bounce 2s ease infinite;
}

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

.scroll-indicator svg { width: 24px; height: 24px; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--color-cream);
    padding: 4rem 3rem;
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

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

.stat-value {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    max-width: var(--max-width);
    margin: 0 auto 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-navy);
}

.section-title p {
    font-size: 1rem;
    color: var(--color-slate);
    margin-top: 0.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--color-white);
}

.about-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--color-slate);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-visual { position: relative; }

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

.about-badge {
    position: absolute;
    bottom: -30px; left: -30px;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    z-index: 10;
}

.about-badge-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-red);
    line-height: 1;
}

.about-badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--color-cream);
}

.services-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    text-decoration: none;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: var(--color-red);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(26, 42, 74, 0.12);
    border-color: var(--color-navy);
}

.service-card:hover::before { height: 100%; }

.service-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-red);
    opacity: 0.4;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-number { opacity: 1; }

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--color-charcoal);
    transition: color 0.3s ease;
}

.service-card:hover h3 { color: var(--color-navy); }

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-slate);
    line-height: 1.7;
}

.service-arrow {
    position: absolute;
    bottom: 2rem; right: 2rem;
    width: 40px; height: 40px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--color-red);
    color: var(--color-white);
}

/* ============================================
   PEOPLE / TEAM
   ============================================ */
.people {
    padding: 8rem 0;
    background: var(--color-white);
    overflow: hidden;
}

.people-header {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.people-scroll-container {
    position: relative;
    padding: 0 3rem;
}

.people-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
}

.people-scroll::-webkit-scrollbar { display: none; }

.person-card {
    flex: 0 0 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.person-card:hover { transform: translateY(-8px); }

.person-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.person-card:hover .person-image { border-color: var(--color-red); }

.person-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.person-role {
    font-size: 0.875rem;
    color: var(--color-red);
    font-weight: 600;
}

.person-practice {
    font-size: 0.8125rem;
    color: var(--color-slate);
    margin-top: 0.25rem;
}

.scroll-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0 3rem;
}

.scroll-btn {
    width: 48px; height: 48px;
    border: 2px solid var(--color-navy);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    transition: all 0.2s ease;
}

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

/* Team grid (for team listing page) */
.team-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.team-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.team-card:hover { transform: translateY(-8px); }

.team-card .person-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.team-card:hover .person-image { border-color: var(--color-red); }

/* ============================================
   INSIGHTS / NEWS
   ============================================ */
.insights {
    padding: var(--section-padding);
    background: var(--color-navy);
    color: var(--color-white);
}

.insights .section-title h2 { color: var(--color-white); }
.insights .section-title p { color: rgba(255,255,255,0.8); }
.insights .section-link { color: var(--color-red-light); }

.insights-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.insight-featured {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 450px;
    text-decoration: none;
    color: var(--color-white);
    display: block;
}

.insight-featured:hover { transform: translateY(-4px); }

.insight-featured-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.insight-featured-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(30, 54, 96, 0.95) 0%, rgba(30, 54, 96, 0.4) 100%);
}

.insight-featured-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem;
    z-index: 2;
}

.insight-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-red-light);
    margin-bottom: 1rem;
}

.insight-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.insight-featured .insight-title { font-size: 1.75rem; }

.insight-date {
    font-size: 0.8125rem;
    opacity: 0.7;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insight-item {
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--color-white);
    display: block;
}

.insight-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-red);
    transform: translateX(8px);
}

.insight-item .insight-title { font-size: 1.125rem; }

/* News listing page */
.news-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.news-card {
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.news-card-body {
    padding: 2rem;
}

.news-card-body .insight-category { margin-bottom: 0.75rem; }

.news-card-body .insight-title {
    color: var(--color-charcoal);
    font-size: 1.125rem;
}

.news-card-body .insight-date {
    color: var(--color-slate);
}

/* News filters */
.news-filters {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.news-filter-btn {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 100px;
    background: transparent;
    color: var(--color-slate);
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-filter-btn:hover,
.news-filter-btn.active {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--section-padding);
    background: var(--color-cream);
}

.testimonials-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-navy);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.testimonial-source {
    font-size: 0.875rem;
    color: var(--color-slate);
    margin-top: 0.25rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding);
    background: var(--color-white);
    text-align: center;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.cta-inner p {
    font-size: 1.125rem;
    color: var(--color-slate);
    margin-bottom: 2.5rem;
}

/* ============================================
   CONTENT SECTIONS (inner pages)
   ============================================ */
.content-section {
    padding: var(--section-padding);
}

.content-section.bg-cream { background: var(--color-cream); }
.content-section.bg-navy { background: var(--color-navy); color: var(--color-white); }

.content-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.content-narrow h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-narrow h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-navy);
    margin: 2rem 0 1rem;
}

.content-narrow p {
    font-size: 1.0625rem;
    color: var(--color-slate);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.content-narrow ul,
.content-narrow ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--color-slate);
    line-height: 1.85;
}

.content-narrow li { margin-bottom: 0.5rem; }

/* Two column content */
.content-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* Three column feature cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
}

.feature-card-icon {
    width: 60px; height: 60px;
    background: var(--color-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-red);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--color-slate);
    line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-card {
    padding: 2rem;
    background: var(--color-cream);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 1rem;
    color: var(--color-slate);
    text-decoration: none;
    line-height: 1.8;
}

.contact-info-card a:hover { color: var(--color-red); }

/* Contact form */
.contact-form { display: grid; gap: 1.5rem; }

.form-group { display: flex; flex-direction: column; }

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    background: var(--color-white);
    color: var(--color-charcoal);
    transition: border-color 0.2s ease;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* QR Code Hover Reveal */
.qr-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--color-cream);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
    width: 100%;
}

.qr-trigger:hover { background: var(--color-light-gray); }

.qr-trigger-icon {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--color-navy);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qr-trigger-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
}

.qr-trigger-text span {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-slate);
    margin-top: 0.125rem;
}

.qr-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: var(--color-white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 50;
    text-align: center;
    min-width: 210px;
    width: max-content;
}

.qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--color-white);
}

.qr-trigger:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.qr-popup img {
    width: 180px; height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.qr-popup p {
    font-size: 0.75rem;
    color: var(--color-slate);
    margin-top: 0.5rem;
}

/* Language Toggle */
.lang-toggle-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-navy);
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    transition: all 0.2s ease;
}
.lang-toggle-mobile:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}
.lang-toggle svg, .lang-toggle-mobile svg {
    flex-shrink: 0;
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section { padding: var(--section-padding); }

.faq-item {
    border-bottom: 1px solid var(--color-light-gray);
    padding: 1.5rem 0;
}

.faq-question {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p {
    padding-top: 1rem;
    font-size: 1rem;
    color: var(--color-slate);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--color-navy-dark);
    color: var(--color-white);
    padding: 5rem 3rem 2rem;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; }

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { margin-bottom: 1.5rem; display: inline-flex; }
.footer-brand .logo-icon { background: var(--color-red); border: none; }
.footer-brand .logo-text { color: var(--color-white); }

.footer-brand p {
    font-size: 0.9375rem;
    opacity: 0.7;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-red-light);
    margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }

.footer-col a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2rem;
    font-size: 0.8125rem;
    opacity: 0.6;
    gap: 2rem;
}

.footer-regulatory {
    text-align: right;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-video { display: none; }
    .video-control { display: none; }
}

@media (max-width: 1024px) {
    nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .about-inner { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .about-badge { bottom: -20px; left: auto; right: 20px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .insights-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .content-two-col { grid-template-columns: 1fr; gap: 3rem; }
    .feature-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { padding: 1rem 1.5rem; }
    nav { display: none; }
    .btn-contact { display: none; }
    .mobile-menu-btn { display: block; }
    .header-right { gap: 0.75rem; }
    .lang-toggle { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
    .hero-content { padding: 6rem 1.5rem; }
    .hero-large-text { font-size: 2.5rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-regulatory { text-align: center; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .testimonial-quote { font-size: 1.25rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .feature-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .page-hero-content { padding: 6rem 1.5rem 3rem; }
    .content-section { padding: var(--section-padding-mobile); }
}
