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

:root {
    --blue-900: #0C2D42;
    --blue-800: #133D56;
    --blue-700: #1B5E7A;
    --blue-600: #2A7A9B;
    --blue-500: #3B9FC2;
    --blue-400: #5BB8D6;
    --blue-300: #8CD0E6;
    --blue-200: #BFE4F0;
    --blue-100: #E3F3F9;
    --blue-50: #F2F9FB;
    --gold-500: #C9983A;
    --gold-400: #D4A853;
    --gold-300: #E0C07A;
    --gold-100: #F5EDD6;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    color: var(--slate-800);
    line-height: 1.65;
    background: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    line-height: 1.15;
    font-weight: 700;
    color: var(--slate-900);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ===== UTILITY ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes countUp { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== HEADER & NAV ===== */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: all 0.4s var(--ease);
    background: transparent;
}
header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 var(--slate-200), 0 4px 24px rgba(0,0,0,0.06);
}
header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px; transition: height 0.4s var(--ease);
}

.logo {
    display: flex; align-items: center; text-decoration: none;
    background: var(--white); border-radius: 14px;
    padding: 6px 12px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    transition: all 0.4s var(--ease);
}
header.scrolled .logo {
    background: transparent; box-shadow: none; padding: 0;
}
.logo img { height: 64px; width: auto; transition: all 0.4s var(--ease); }

/* Homepage only: taller header + larger logo before scroll */
body.homepage header:not(.scrolled) .container { height: 100px; }
body.homepage header:not(.scrolled) .logo img { height: 72px; }

nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
    position: relative; display: flex; align-items: center;
}

.nav-link {
    font-size: 0.88rem; font-weight: 500; padding: 8px 16px; border-radius: 8px;
    color: rgba(255,255,255,0.9); transition: all 0.3s var(--ease); letter-spacing: 0.01em;
    display: flex; align-items: center; gap: 4px;
}
header.scrolled .nav-link { color: var(--slate-600); }
.nav-link:hover { background: rgba(255,255,255,0.15); }
header.scrolled .nav-link:hover { color: var(--blue-700); background: var(--blue-50); }

/* Dropdown toggle indicator */
.nav-link.has-dropdown::after {
    content: '▼'; font-size: 0.6rem; margin-left: 2px;
    transition: transform 0.3s var(--ease);
}
.nav-item.active .nav-link.has-dropdown::after {
    transform: rotateZ(180deg);
}

/* Dropdown menu */
.nav-dropdown {
    position: absolute; top: 100%; left: 0;
    background: var(--white); border-radius: var(--radius);
    min-width: 200px; padding: 8px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border: 1px solid var(--slate-200);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s var(--ease);
    z-index: 200;
    margin-top: 8px;
}

header.scrolled .nav-dropdown {
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

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

.nav-dropdown a {
    display: block; padding: 12px 20px;
    color: var(--slate-700); font-size: 0.85rem;
    font-weight: 400; transition: all 0.2s var(--ease);
}

.nav-dropdown a:hover {
    background: var(--blue-50);
    color: var(--blue-700);
    padding-left: 24px;
}

.nav-cta {
    margin-left: 12px; padding: 10px 28px !important; border-radius: 50px !important;
    background: var(--white) !important; color: var(--blue-700) !important;
    font-weight: 600 !important; box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
header.scrolled .nav-cta {
    background: var(--blue-600) !important; color: var(--white) !important;
    box-shadow: 0 2px 16px rgba(59,159,194,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important; }

.mobile-menu-btn { display: none; background: none; border: none; padding: 8px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
header.scrolled .mobile-menu-btn span { background: var(--slate-700); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: url('../images/ipswich-marina.jpg') center 40% / cover no-repeat;
    padding: 120px 0 80px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(12,45,66,0.92) 0%,
        rgba(27,94,122,0.85) 40%,
        rgba(42,122,155,0.72) 70%,
        rgba(59,159,194,0.60) 100%
    );
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
}

.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px; padding: 6px 20px 6px 6px;
    font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.9);
    margin-bottom: 28px; backdrop-filter: blur(8px);
    animation: fadeUp 0.8s var(--ease) 0.2s both;
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%; background: #4ADE80;
    box-shadow: 0 0 8px rgba(74,222,128,0.5);
}

.hero-firm-name {
    animation: fadeUp 0.8s var(--ease) 0.3s both;
    margin-bottom: 4px;
}
.hero-firm-name .firm-word {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 800; letter-spacing: -0.02em;
    color: var(--white);
    line-height: 1.05;
}
.hero-firm-name .firm-word:last-child {
    color: var(--gold-400);
}
.hero-firm-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px; padding-bottom: 24px;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.hero h1 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: rgba(255,255,255,0.85);
    font-weight: 500; letter-spacing: 0; margin-bottom: 20px;
    animation: fadeUp 0.8s var(--ease) 0.5s both;
}
.hero h1 em {
    font-style: normal; position: relative;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.12rem; color: rgba(255,255,255,0.8); line-height: 1.75;
    margin-bottom: 40px; max-width: 500px;
    animation: fadeUp 0.8s var(--ease) 0.65s both;
}

.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeUp 0.8s var(--ease) 0.8s both;
}

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: 50px; font-weight: 600; font-size: 0.92rem;
    border: none; transition: all 0.3s var(--ease); letter-spacing: 0.01em;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold-500); color: var(--white); box-shadow: 0 4px 20px rgba(201,152,58,0.35); }
.btn-gold:hover { background: #B8892F; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,152,58,0.45); }
.btn-white-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35); }
.btn-white-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }

.hero-metrics {
    display: grid; grid-template-columns: 1fr; gap: 16px;
    animation: fadeUp 0.8s var(--ease) 0.6s both;
}

.metric-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.metric-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--blue-500), var(--blue-300));
    border-radius: 0 4px 4px 0;
}
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 24px 64px rgba(0,0,0,0.18); }
.metric-number {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.6rem; font-weight: 800;
    color: var(--blue-700); line-height: 1; margin-bottom: 6px;
}
.metric-label { font-size: 0.88rem; color: var(--slate-500); font-weight: 500; }

/* ===== INNER PAGE HERO (for sub-pages) ===== */
.hero-inner-page {
    position: relative; height: 280px; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    padding: 80px 0 40px;
    margin-top: 88px;
}

.hero-inner-page::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.hero-inner-page::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
}

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

.hero-inner-page h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    transition: color 0.3s var(--ease);
}

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

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

/* ===== SOCIAL PROOF BAR ===== */
.proof-bar { padding: 40px 0; background: var(--white); border-bottom: 1px solid var(--slate-100); }
.proof-bar .container {
    display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.proof-item { display: flex; align-items: center; gap: 12px; }
.proof-icon {
    width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.proof-icon svg { width: 20px; height: 20px; stroke: var(--blue-600); fill: none; stroke-width: 2; }
.proof-text { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); }
.proof-text span { display: block; font-weight: 400; color: var(--slate-400); font-size: 0.78rem; }

/* ===== SECTION SHARED ===== */
.section { padding: 100px 0; }
.section-eyebrow {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--blue-500); margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { font-size: 1.05rem; color: var(--slate-500); max-width: 580px; line-height: 1.75; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: var(--slate-50); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 44px 40px;
    border: 1px solid var(--slate-200); position: relative;
    transition: all 0.4s var(--ease); overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    opacity: 0; transition: opacity 0.4s var(--ease);
}
.service-card:hover { border-color: var(--blue-200); box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
    width: 52px; height: 52px; border-radius: var(--radius); margin-bottom: 24px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    display: flex; align-items: center; justify-content: center;
}
.service-icon-wrap svg { width: 24px; height: 24px; stroke: var(--blue-600); fill: none; stroke-width: 2; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-card p { color: var(--slate-500); font-size: 0.95rem; line-height: 1.75; margin-bottom: 24px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.service-tag {
    font-size: 0.78rem; padding: 5px 14px; border-radius: 50px;
    background: var(--blue-50); color: var(--blue-700); font-weight: 500;
}
.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 0.88rem; color: var(--blue-600);
    transition: all 0.3s var(--ease);
}
.service-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.3s var(--ease); }
.service-link:hover { color: var(--blue-700); }
.service-link:hover svg { transform: translateX(4px); }

/* ===== HOW IT WORKS ===== */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-grid::before {
    content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, var(--blue-200), var(--blue-400), var(--blue-200));
    z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.4rem; font-weight: 800;
    background: var(--white); color: var(--blue-600);
    border: 3px solid var(--blue-200); box-shadow: 0 4px 16px rgba(59,159,194,0.12);
    transition: all 0.4s var(--ease);
}
.process-step:hover .step-num {
    background: var(--blue-600); color: var(--white); border-color: var(--blue-600);
    transform: scale(1.1); box-shadow: 0 8px 24px rgba(59,159,194,0.3);
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--slate-500); line-height: 1.65; max-width: 220px; margin: 0 auto; }

/* ===== ABOUT / STORY ===== */
.about { background: var(--blue-900); color: var(--white); overflow: hidden; position: relative; }
.about::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.04);
}
.about::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.04);
}
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 1;
}
.about .section-eyebrow { color: var(--gold-400); }
.about .section-title { color: var(--white); }
.about .section-desc { color: rgba(255,255,255,0.65); max-width: none; }
.about-text p { color: rgba(255,255,255,0.65); margin-bottom: 20px; font-size: 0.98rem; line-height: 1.8; }

.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.highlight-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 28px; transition: all 0.3s var(--ease);
}
.highlight-card:hover { background: rgba(255,255,255,0.1); }
.highlight-card .hl-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.12); display: flex;
    align-items: center; justify-content: center;
    margin-bottom: 12px; color: var(--gold-400);
}
.highlight-card .hl-icon svg { width: 20px; height: 20px; }
.highlight-card h4 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.highlight-card p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

.about-visual { position: relative; }
.about-card-main {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    border-radius: var(--radius-xl); padding: 48px; border: 1px solid rgba(255,255,255,0.1);
}
.about-card-main h3 { font-size: 1.8rem; color: var(--white); margin-bottom: 16px; }
.about-card-main p { color: rgba(255,255,255,0.7); line-height: 1.8; }
.about-float {
    position: absolute; bottom: -20px; right: -16px;
    background: var(--gold-500); color: var(--white); padding: 20px 28px;
    border-radius: var(--radius); font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 12px 32px rgba(201,152,58,0.3);
}
.about-float span { display: block; font-weight: 400; font-size: 0.75rem; opacity: 0.8; }

/* ===== TEAM ===== */
.team { background: var(--slate-50); }
.team-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 56px; align-items: end; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--slate-200); transition: all 0.4s var(--ease);
}
.team-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: translateY(-4px); }
.team-avatar {
    height: 220px; background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.team-avatar .initials {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.4rem; font-weight: 800;
    color: var(--blue-500); opacity: 0.4;
}
.team-info { padding: 28px; }
.team-info h4 { font-size: 1.15rem; margin-bottom: 4px; }
.team-info .role { font-size: 0.82rem; color: var(--blue-600); font-weight: 600; margin-bottom: 12px; }
.team-info p { font-size: 0.85rem; color: var(--slate-500); line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.test-card {
    background: var(--slate-50); border-radius: var(--radius-lg); padding: 40px;
    border: 1px solid var(--slate-100); position: relative;
    transition: all 0.3s var(--ease);
}
.test-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.test-stars { color: var(--gold-400); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 20px; }
.test-card blockquote { font-size: 1rem; color: var(--slate-600); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-author-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: var(--blue-600);
}
.test-author-name { font-weight: 600; font-size: 0.9rem; color: var(--slate-800); }
.test-author-role { font-size: 0.78rem; color: var(--slate-400); }

/* ===== INSIGHTS / BLOG ===== */
.insights { background: var(--slate-50); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--slate-200); transition: all 0.4s var(--ease);
}
.insight-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.insight-img {
    height: 180px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.insight-img-1 { background: linear-gradient(135deg, #1B5E7A, #3B9FC2); }
.insight-img-2 { background: linear-gradient(135deg, #0C2D42, #2A7A9B); }
.insight-img-3 { background: linear-gradient(135deg, #2A7A9B, #5BB8D6); }
.insight-placeholder-icon { color: rgba(255,255,255,0.25); }
.insight-placeholder-icon svg { width: 56px; height: 56px; }
.insight-img .icon-large { font-size: 3rem; opacity: 0.3; }
.insight-body { padding: 28px; }
.insight-tag {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue-600); margin-bottom: 12px;
}
.insight-body h4 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.insight-body p { font-size: 0.85rem; color: var(--slate-500); line-height: 1.65; margin-bottom: 16px; }
.insight-link { font-size: 0.82rem; font-weight: 600; color: var(--blue-600); display: inline-flex; align-items: center; gap: 4px; }
.insight-link:hover { gap: 8px; }

/* ===== CTA BANNER ===== */
.cta-banner { padding: 100px 0; background: var(--white); }
.cta-inner {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-700), var(--blue-600));
    border-radius: var(--radius-xl); padding: 72px 64px;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center;
    position: relative; overflow: hidden;
}
.cta-inner::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
    border-radius: 50%; background: rgba(255,255,255,0.04);
}
.cta-inner h2 { font-size: 2.2rem; color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.75; }
.cta-contact-methods { display: flex; flex-direction: column; gap: 16px; }
.cta-method {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius); padding: 20px 24px; transition: all 0.3s var(--ease);
}
.cta-method:hover { background: rgba(255,255,255,0.16); }
.cta-method-icon {
    width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-method-icon svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2; }
.cta-method-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.cta-method-value { font-weight: 600; color: var(--white); font-size: 1rem; }

/* ===== CONTACT ===== */
.contact { background: var(--slate-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact .section-desc { max-width: none; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon {
    width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--blue-600); fill: none; stroke-width: 2; }
.contact-item .c-label { font-size: 0.78rem; color: var(--slate-400); font-weight: 500; margin-bottom: 2px; }
.contact-item .c-value { font-weight: 600; color: var(--slate-800); }

.contact-form-card {
    background: var(--white); border-radius: var(--radius-xl); padding: 48px;
    border: 1px solid var(--slate-200); box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}
.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-form-card > p { font-size: 0.88rem; color: var(--slate-400); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--slate-600); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--slate-200);
    border-radius: 10px; font-family: inherit; font-size: 0.92rem;
    transition: all 0.3s var(--ease); background: var(--slate-50);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--blue-400); background: var(--white);
    box-shadow: 0 0 0 4px rgba(59,159,194,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
    width: 100%; padding: 15px; border: none; border-radius: 10px;
    background: var(--blue-600); color: var(--white); font-weight: 600; font-size: 0.95rem;
    transition: all 0.3s var(--ease); cursor: pointer;
}
.form-submit:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(59,159,194,0.3); }

/* Contact Map */
.contact-map {
    margin-top: 60px; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08); border: 1px solid var(--slate-200);
}
.contact-map iframe { display: block; width: 100%; height: 400px; }

/* ===== FOOTER ===== */
footer {
    background: var(--slate-900); color: var(--white); padding: 60px 0 20px;
}

.footer-main {
    display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px;
}
.footer-col-brand { padding-right: 20px; }
.footer-logo img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex;
    align-items: center; justify-content: center;
    transition: all 0.3s var(--ease);
}
.social-link svg { width: 18px; height: 18px; color: rgba(255,255,255,0.7); }
.social-link:hover { background: var(--blue-600); }
.social-link:hover svg { color: var(--white); }

.footer-col h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; color: var(--white); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-400); }
.footer-address { margin-top: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* Accreditation badges */
.footer-accreditations {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 16px; padding: 32px 0; margin-bottom: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.accred-badge {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 16px; border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s var(--ease);
}
.accred-badge:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.accred-badge svg { width: 28px; height: 28px; stroke: rgba(255,255,255,0.5); }
.accred-badge span { font-size: 0.65rem; color: rgba(255,255,255,0.45); font-weight: 500; text-align: center; letter-spacing: 0.02em; }
.accred-badge-highlight { border-color: var(--gold-500); background: rgba(201,152,58,0.08); }
.accred-badge-highlight svg { stroke: var(--gold-400); }
.accred-badge-highlight span { color: var(--gold-400); }
.accred-note { width: 100%; text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.3); margin-top: 4px; }
.accred-note strong { color: rgba(255,255,255,0.5); }

/* Regulatory text */
.footer-regulatory {
    padding: 24px 0; margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-regulatory p {
    font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 8px;
}
.footer-regulatory p:last-child { margin-bottom: 0; }
.footer-regulatory a { color: rgba(255,255,255,0.6); text-decoration: underline; text-underline-offset: 2px; }
.footer-regulatory a:hover { color: var(--gold-400); }
.footer-regulatory strong { color: rgba(255,255,255,0.65); }

/* Footer bottom */
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 20px; font-size: 0.78rem; color: rgba(255,255,255,0.4);
}
.footer-social-bottom { display: flex; gap: 12px; }
.footer-social-bottom a {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.08); display: flex;
    align-items: center; justify-content: center;
    transition: all 0.3s var(--ease);
}
.footer-social-bottom a svg { width: 14px; height: 14px; color: rgba(255,255,255,0.5); }
.footer-social-bottom a:hover { background: var(--blue-600); }
.footer-social-bottom a:hover svg { color: var(--white); }

/* ===== CONTENT LAYOUTS FOR SUB-PAGES ===== */
.page-content { padding: 80px 0; }

.content-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 60px;
}

.main-content h2 {
    font-size: 1.8rem; margin: 32px 0 16px; color: var(--slate-900);
}

.main-content h3 {
    font-size: 1.35rem; margin: 24px 0 12px; color: var(--slate-800);
}

.main-content p {
    font-size: 1rem; line-height: 1.8; color: var(--slate-600); margin-bottom: 16px;
}

.main-content ul, .main-content ol {
    margin-left: 20px; margin-bottom: 16px;
}

.main-content li {
    margin-bottom: 10px; line-height: 1.75;
}

/* Content Cards */
.cards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px; margin: 32px 0;
}

.card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px; border: 1px solid var(--slate-200);
    transition: all 0.3s var(--ease);
}

.card:hover {
    border-color: var(--blue-200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--blue-50); display: flex;
    align-items: center; justify-content: center;
    margin-bottom: 16px; color: var(--blue-600);
}
.card-icon svg {
    width: 24px; height: 24px;
}

.card h4 {
    font-size: 1.15rem; margin-bottom: 8px; color: var(--slate-900);
}

.card p {
    font-size: 0.92rem; color: var(--slate-600); line-height: 1.65;
}

/* Facts Display */
.facts-highlight {
    background: var(--blue-50); border-left: 4px solid var(--blue-600);
    padding: 24px; border-radius: var(--radius);
    margin: 32px 0;
}

.fact-item {
    display: flex; gap: 16px; margin-bottom: 16px;
}

.fact-item:last-child {
    margin-bottom: 0;
}

.fact-number {
    font-size: 1.5rem; font-weight: 800;
    color: var(--blue-600); min-width: 50px;
    display: flex; align-items: flex-start; justify-content: center;
}
.fact-number svg { width: 20px; height: 20px; margin-top: 2px; }

.fact-text {
    font-size: 0.95rem; color: var(--slate-700); line-height: 1.6;
}

/* Accordion */
.accordion {
    margin: 32px 0;
}

.accordion-item {
    background: var(--white); border: 1px solid var(--slate-200);
    border-radius: var(--radius); margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px 24px; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 600; color: var(--slate-800);
    transition: all 0.3s var(--ease);
}

.accordion-header:hover {
    background: var(--blue-50); color: var(--blue-700);
}

.accordion-header .icon {
    width: 24px; height: 24px; display: flex;
    align-items: center; justify-content: center;
    transition: transform 0.3s var(--ease);
}

.accordion-item.active .accordion-header .icon {
    transform: rotateZ(180deg);
}

.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s var(--ease);
    padding: 0 24px;
}

.accordion-item.active .accordion-content {
    max-height: 500px; padding: 0 24px 20px;
}

.accordion-content p {
    font-size: 0.95rem; color: var(--slate-600); line-height: 1.75;
}

/* Sidebar */
.sidebar {
    display: flex; flex-direction: column; gap: 24px;
}

.sidebar-card {
    background: var(--blue-900); color: var(--white);
    border-radius: var(--radius-lg); padding: 32px;
    text-align: center;
}

.sidebar-card h3 {
    font-size: 1.2rem; color: var(--white); margin-bottom: 12px;
}

.sidebar-card p {
    font-size: 0.9rem; color: rgba(255,255,255,0.8);
    line-height: 1.65; margin-bottom: 24px;
}

.sidebar-card .btn {
    width: 100%; justify-content: center;
    padding: 12px 24px;
}

.sidebar-links {
    background: var(--slate-50); border-radius: var(--radius-lg);
    padding: 24px; border: 1px solid var(--slate-200);
}

.sidebar-links h4 {
    font-size: 0.95rem; font-weight: 600;
    margin-bottom: 16px; color: var(--slate-900);
}

.sidebar-links ul {
    list-style: none; display: flex; flex-direction: column; gap: 12px;
}

.sidebar-links a {
    font-size: 0.88rem; color: var(--blue-600);
    font-weight: 500; transition: all 0.3s var(--ease);
    display: flex; align-items: center; gap: 8px;
}

.sidebar-links a:hover {
    color: var(--blue-700); padding-left: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-metrics { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .content-layout { grid-template-columns: 1fr; }
    .hero-inner-page { height: 240px; }
    .hero-inner-page h1 { font-size: 2rem; }
    .footer-main { grid-template-columns: 1fr 1fr 1fr; }
    .footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    header .container { height: 64px; }
    header.scrolled .container { height: 56px; }
    nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-firm-name .firm-word { font-size: 2.4rem; }
    .hero-firm-tagline { font-size: 0.85rem; letter-spacing: 0.15em; }
    .hero h1 { font-size: 1.1rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero { min-height: auto; padding: 100px 0 40px; }
    .team-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .team-intro { grid-template-columns: 1fr; gap: 32px; }
    .process-grid { grid-template-columns: 1fr; }
    .process-grid::before { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .footer-col-brand { padding-right: 0; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-accreditations { gap: 10px; }
    .accred-note { display: none; }
    .hero-inner-page { height: 200px; }
    .hero-inner-page h1 { font-size: 1.5rem; }
    .breadcrumb { font-size: 0.75rem; }
    .news-grid { gap: 16px; }
    .news-card { padding: 20px; }
    .news-card-date { min-width: 52px; padding: 8px; }
    .news-day { font-size: 1.3rem; }
}

/* ===== NEWS PAGE ===== */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    transition: all 0.3s var(--ease);
}
.news-card:hover {
    border-color: var(--blue-200);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.news-card-date {
    min-width: 64px;
    text-align: center;
    padding: 12px;
    background: var(--blue-50);
    border-radius: var(--radius);
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.news-day {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue-700);
    line-height: 1;
}
.news-month {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.news-card-body h3 {
    font-size: 1.15rem;
    color: var(--blue-800);
    margin-bottom: 8px;
    line-height: 1.35;
}
.news-card-body p {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 12px;
}
.news-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}
