/* ==========================================================================
   KAVAO LAW - MAIN STYLESHEET
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    --bg-white: #ffffff;
    --bg-light-grey: #f4f4f0;
    --bg-card: #ffffff;
    --bg-dark-navy: #1e2a3a;
    
    --text-main: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #e8e8e8;
    --text-light-muted: #b0b8c4;
    
    --accent-gold: #c49a45;
    --accent-gold-hover: #b08a3e;
    --accent-navy: #1e2a3a;
    --accent-green: #2b4236;
    
    --hover-bg: rgba(196, 154, 69, 0.07);
    --hover-bg-strong: rgba(196, 154, 69, 0.12);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-condensed: 'Oswald', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
    --border-light: 1px solid rgba(0,0,0,0.09);
    --border-grey: 1px solid rgba(0,0,0,0.08);
    --border-dark: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--accent-gold);
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-main);
}

h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 600;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gold-text {
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 400;
}

.section-padding {
    padding: 8rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Background Classes */
.bg-white { background-color: var(--bg-white); }
.bg-light-grey { background-color: var(--bg-light-grey); }
.bg-card { background-color: var(--bg-card); }
.bg-dark-navy { background-color: var(--bg-dark-navy); }

/* Dark Section Overrides */
.bg-dark-navy h1, .bg-dark-navy h2, .bg-dark-navy h3, .bg-dark-navy h4 {
    color: var(--text-light);
}
.bg-dark-navy .eyebrow { color: var(--accent-gold); }
.bg-dark-navy p { color: var(--text-light-muted); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    gap: 8px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-white);
}

.btn-solid {
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: var(--bg-white);
    font-weight: 600;
}

.btn-solid:hover {
    background: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
}

.btn-light {
    background: var(--bg-white);
    border: 1px solid var(--bg-white);
    color: var(--bg-dark-navy);
}

.btn-light:hover {
    background: transparent;
    color: var(--bg-white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 2px;
    margin-top: 1rem;
}

.link-arrow:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    z-index: auto;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    border-bottom: var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
}

/* Image-Based Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    flex-shrink: 0;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 0;
}

/* ==========================================================================
   MODERN PREMIUM NAV LINK — Light bg hover + Golden underline from left
   ========================================================================== */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 0.65rem 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.35s ease;
    overflow: hidden;
}

/* Golden line that grows from left */
.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.35rem;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-gold) 0%, rgba(196, 154, 69, 0.4) 100%);
    transition: width 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--accent-gold);
    background-color: var(--hover-bg);
}

.nav-link:hover::before {
    width: calc(100% - 2.2rem);
    left: 1.1rem;
}

/* Dropdown arrow indicator */
.has-dropdown::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.nav-item:hover .has-dropdown::after {
    transform: rotate(225deg) translateY(-2px);
}

/* ==========================================================================
   DROPDOWN MENUS
   ========================================================================== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border: var(--border-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    width: 1000px;
    z-index: 1001;
    border-radius: 8px;
}

.dropdown-menu.simple-menu {
    width: 300px;
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 0;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-item:hover .dropdown-menu.simple-menu {
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Title */
.dropdown-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    padding-left: 0.9rem;
	padding-bottom: 3px;
    position: relative
}
.dropdown-title::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    bottom: 0;
    width: 32px;
    height: 2px;
    background-color: var(--accent-gold);
}

/* ==========================================================================
   MODERN PREMIUM SUBMENU LINKS — Light bg hover + Golden underline from left
   ========================================================================== */
.dropdown-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dropdown-col ul a,
.simple-menu-list a {
    position: relative;
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.35s ease;
    overflow: hidden;
    white-space: normal;
    line-height: 1.4;
}

/* Golden underline from left inside submenu */
.dropdown-col ul a::before,
.simple-menu-list a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.25rem;
    height: 1.5px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-gold) 0%, rgba(196, 154, 69, 0.3) 100%);
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    border-radius: 2px;
}

.dropdown-col ul a:hover,
.simple-menu-list a:hover {
    color: var(--text-main);
    background-color: var(--hover-bg);
    padding-left: 0.9rem; /* No shift — only bg + color changes */
}

.dropdown-col ul a:hover::before,
.simple-menu-list a:hover::before {
    width: calc(100% - 1.8rem);
    left: 0.9rem;
}

/* Simple menu list layout */
.simple-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
    z-index: 1001;
    background: none;
    border: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-white);
    padding: 6rem 2rem 2rem;
    transition: left 0.4s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu > ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu > ul > li {
    width: 100%;
}

.mobile-menu .nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-serif);
    color: var(--text-main);
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    display: flex;
}

.mobile-menu .nav-link:hover {
    color: var(--accent-gold);
    background-color: var(--hover-bg);
}

.mobile-menu .submenu-toggle::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    font-family: var(--font-sans);
}

.mobile-menu .submenu-toggle.active::after {
    transform: rotate(45deg);
}

.mobile-sub-menu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid rgba(196, 154, 69, 0.35);
}

.mobile-sub-menu.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-sub-menu .submenu-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    display: block;
    padding-left: 0.5rem;
    padding-bottom: 3px;
    position: relative;
}

.mobile-sub-menu .submenu-title::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    bottom: 0;
    width: 20px;
    height: 2px;
    background-color: var(--accent-gold);
}

.mobile-sub-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mobile-sub-menu ul li a {
    position: relative;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    color: var(--text-muted);
    display: block;
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    overflow: hidden;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.mobile-sub-menu ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.2rem;
    height: 1.5px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-gold) 0%, rgba(196, 154, 69, 0.3) 100%);
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    border-radius: 2px;
}

.mobile-sub-menu ul li a:hover {
    color: var(--text-main);
    background-color: var(--hover-bg);
}

.mobile-sub-menu ul li a:hover::before {
    width: calc(100% - 1.6rem);
    left: 0.8rem;
}

.mobile-menu .btn {
    margin-top: 1.5rem;
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 0rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-right {
    padding-top: 3rem;
}

.hero-desc {
    border-left: 1px solid rgba(0,0,0,0.15);
    padding-left: 2.5rem;
    margin-bottom: 2.5rem;
}

.hero-desc p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 420px;
    line-height: 1.8;
}
/* ==========================================================================
   SERVING CLIENTS ACROSS SIX CONTINENTS — SINCE 2003
   --------------------------------------------------------------------------
   Six client regions connect to the Kavao Law seal by curved running lines.
   The seal, the firm name, and the closing statement sit together at the
   centre of the composition.
   ========================================================================== */
.map-section {
    position: relative;
    width: 100%;
    padding: 5rem 2rem 6rem;
    background-color: var(--bg-white);
    /* No top border — continuous with the section above. */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.map-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* ---- Chart ---- */
.map-chart {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 680;
}

/* ---- Foreground SVG ---- */
.map-svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* ---- Running lines — curved bezier paths ---- */
.map-line {
    stroke: #c49a45;
    stroke-width: 1.6;
    stroke-linecap: round;
    opacity: 0.9;
    fill: none;
    stroke-dasharray: 7 8;
    animation: mapDash 8s linear infinite;
    filter: drop-shadow(0 0 3px rgba(196, 154, 69, 0.5));
}

.map-lines .map-line:nth-child(2) { animation-delay: 0.8s; }
.map-lines .map-line:nth-child(3) { animation-delay: 1.6s; }
.map-lines .map-line:nth-child(4) { animation-delay: 2.4s; }
.map-lines .map-line:nth-child(5) { animation-delay: 3.2s; }
.map-lines .map-line:nth-child(6) { animation-delay: 4.0s; }

@keyframes mapDash {
    to { stroke-dashoffset: -150; }
}

/* ---- Region labels ---- */
.map-region-name {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    fill: #1a1a1a;
    letter-spacing: 2px;
    opacity: 0.92;
}

.map-region-sub {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 12px;
    fill: #5a5a5a;
    opacity: 0.85;
}

/* ==========================================================================
   THE K SEAL — glowing rings, the monogram, and the centre text
   ========================================================================== */
.seal-ring {
    fill: none;
    stroke: #c49a45;
    transform-origin: 600px 340px;
    animation: sealPulse 5s ease-in-out infinite;
}

.seal-ring-1 { stroke-width: 2;   opacity: 1;    animation-delay: 0s;    }
.seal-ring-2 { stroke-width: 1.8; opacity: 0.75; animation-delay: 0.6s;  }
.seal-ring-3 { stroke-width: 1.5; opacity: 0.50; animation-delay: 1.2s;  }
.seal-ring-4 { stroke-width: 1.2; opacity: 0.28; animation-delay: 1.8s;  }

@keyframes sealPulse {
    0%   { transform: scale(0.90); opacity: 0.15; }
    50%  { transform: scale(1.06); opacity: 0.95; }
    100% { transform: scale(0.90); opacity: 0.15; }
}

/* The K monogram */
.seal-k {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 700;
    fill: #c49a45;
    letter-spacing: 0;
}

/* Firm name beneath the seal */
.seal-name {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 800;
    fill: var(--accent-gold-hover);
    letter-spacing: 5px;
}
/* INDIA — above the firm name, in the region-label style */
.seal-india {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    fill: #1a1a1a;
    letter-spacing: 5px;
    opacity: 0.95;
}
/* Location line beneath the firm name */
.seal-sub {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 14px;
    fill: #5a5a5a;
}

/* Closing statement beneath the location line */
.seal-tagline {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 15px;
    fill: #5a5a5a;
    opacity: 0.9;
    letter-spacing: 0.4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .map-section { padding: 4rem 1.5rem 5rem; }
}

@media (max-width: 768px) {
    .map-section { padding: 3.5rem 1rem 4.5rem; }

    .map-region-name { font-size: 17px; letter-spacing: 2px; }
    .map-region-sub  { font-size: 15px; }

    .map-line { stroke-width: 2; }

    .seal-k       { font-size: 36px; }
    .seal-name    { font-size: 18px; letter-spacing: 5px; }
    .seal-sub     { font-size: 17px; }
    .seal-tagline { font-size: 17px; }
    .seal-india { font-size: 18px; letter-spacing: 5px; }
}

@media (max-width: 480px) {
    .map-section { padding: 3rem 0.75rem 4rem; }

    .map-region-name { font-size: 20px; letter-spacing: 1.8px; }
    .map-region-sub  { font-size: 17px; }

    .map-line { stroke-width: 2.2; }

    .seal-k       { font-size: 40px; }
    .seal-name    { font-size: 20px; letter-spacing: 5px; }
    .seal-sub     { font-size: 19px; }
    .seal-tagline { font-size: 19px; }
    .seal-india { font-size: 20px; letter-spacing: 5px; }	
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .map-line,
    .seal-ring {
        animation: none;
    }
}
/* ==========================================================================
   FLIGHT MAP / ZONES
   ========================================================================== */
   /*
.map-section {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
    height: 550px;
}

.map-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.flight-path {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 5;
    stroke-dasharray: 8 8;
    opacity: 0.6;
    animation: dash 40s linear infinite;
}

.zone-dot {
    fill: var(--accent-green);
    r: 6;
    transition: r 0.3s ease;
}

.zone-dot:hover {
    r: 9;
}

.hub-dot-outer {
    fill: var(--text-main);
    r: 14;
}

.hub-dot-inner {
    fill: var(--bg-white);
    r: 5;
}

.map-label {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    fill: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
}

.map-label-hub {
    font-family: var(--font-sans);
    font-size: 1rem;
    fill: var(--text-main);
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes dash {
    to { stroke-dashoffset: -1000; }
}
*/
/* ==========================================================================
   ABOUT KAVAO LAW SECTION (Homepage)
   ========================================================================== */
.about-kavao {
    padding: 8rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 650px;
}

.k-monogram-card {
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1.1;
    transition: var(--transition);
    overflow: hidden;
}

.k-monogram-card:hover {
    transform: translateY(-5px);
}

.k-monogram-graphic {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.k-monogram-card:hover .k-monogram-graphic {
    transform: scale(1.05);
}

/* ==========================================================================
   WHO WE ACT FOR
   --------------------------------------------------------------------------
   Four cards, one per client group. Each card carries a hidden background
   image that fades in on hover. The top of each card shows the numeral and
   a sub-line; the bottom shows the name, the description, and the tag line.
   ========================================================================== */
.assist-section {
    padding: 10rem 2rem;
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.assist-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ---- Section header ---- */
.assist-header {
    margin-bottom: 5rem;
    max-width: 820px;
}

.assist-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;

    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--accent-gold);

    margin-bottom: 1.75rem;
}

.assist-eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background-color: var(--accent-gold);
}

.assist-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -1px;
    color: var(--text-main);
    margin: 0;
}

/* ==========================================================================
   THE CARD GRID
   ========================================================================== */
.assist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ==========================================================================
   EACH CARD
   ========================================================================== */
.assist-card {
    position: relative;
    min-height: 360px;
    padding: 2rem 1.75rem;
    overflow: hidden;
    isolation: isolate;
    background-color: #f4f4f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s ease;
}

/* ---- The hidden background image ---- */
.assist-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: var(--assist-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.55s ease,
                transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);

    filter: grayscale(0.25) brightness(0.85) contrast(1.05);
}

/* ---- The navy overlay, hidden until hover ---- */
.assist-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image: linear-gradient(
        180deg,
        rgba(30, 42, 58, 0.35) 0%,
        rgba(30, 42, 58, 0.65) 55%,
        rgba(30, 42, 58, 0.92) 100%
    );

    opacity: 0;
    transition: opacity 0.55s ease;
}

/* ---- Hover state ---- */
.assist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.assist-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

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

/* ==========================================================================
   THE TOP BLOCK — numeral and sub-line
   ========================================================================== */
.assist-card-top {
    display: flex;
    flex-direction: column;
}

.assist-card-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: 0.4px;
    line-height: 1;
    margin-bottom: 0.85rem;

    transition: color 0.4s ease;
}

.assist-card-sub {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-gold);
    line-height: 1.55;
    margin: 0;
    max-width: 240px;
    opacity: 0.85;

    transition: color 0.4s ease, opacity 0.4s ease;
}

/* ==========================================================================
   THE BOTTOM BLOCK — name, description, tags
   ========================================================================== */
.assist-card-body {
    display: flex;
    flex-direction: column;
}

.assist-card-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.4px;
    color: var(--text-main);
    margin: 0 0 1.25rem;

    transition: color 0.4s ease;
}

.assist-card-desc {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 1.5rem;

    transition: color 0.4s ease;
}

.assist-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: auto;

    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--accent-gold);

    padding-top: 1.25rem;
    border-top: 1px solid rgba(196, 154, 69, 0.35);

    transition: border-color 0.4s ease;
}

.assist-card-tags span {
    position: relative;
}

.assist-card-tags span:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -0.6rem;
    color: rgba(196, 154, 69, 0.55);
    font-weight: 400;
}

/* ==========================================================================
   ON HOVER — invert the text colours so they read against the image
   ========================================================================== */
.assist-card:hover .assist-card-name {
    color: #ffffff;
}

.assist-card:hover .assist-card-desc {
    color: rgba(255, 255, 255, 0.85);
}

.assist-card:hover .assist-card-sub {
    color: var(--accent-gold);
    opacity: 1;
}

.assist-card:hover .assist-card-tags {
    color: var(--accent-gold);
    border-top-color: rgba(196, 154, 69, 0.55);
}

/* ==========================================================================
   THE CLOSING LINE
   ========================================================================== */
.assist-foot {
    margin-top: 6rem;
    max-width: 760px;

    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    letter-spacing: 0.2px;
    color: var(--text-muted);
}

.assist-foot::before {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-bottom: 1.75rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .assist-grid { gap: 1.25rem; }
    .assist-card { min-height: 440px; padding: 1.75rem 1.5rem; }
    .assist-card-name { font-size: 1.35rem; }
    .assist-card-desc { font-size: 0.88rem; }
    .assist-card-sub { font-size: 0.66rem; letter-spacing: 1.6px; }
    .assist-card-tags { font-size: 0.64rem; letter-spacing: 1.8px; }
}

@media (max-width: 1024px) {
    .assist-section { padding: 7rem 1.5rem; }
    .assist-header { margin-bottom: 4rem; }

    .assist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .assist-section { padding: 5rem 1.25rem; }
    .assist-header { margin-bottom: 3rem; }
    .assist-heading { font-size: 1.7rem; }

    .assist-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .assist-card {
        min-height: 360px;
        padding: 1.5rem 1.25rem;
    }

    .assist-card-name { font-size: 1.25rem; }
    .assist-card-sub  { font-size: 0.64rem; }

    .assist-foot {
        font-size: 1.1rem;
        margin-top: 4rem;
    }
}

/* --------------------------------------------------------------------------
   MOBILE / TOUCH DEVICES — reveal the image on tap instead of hover
   -------------------------------------------------------------------------- */
@media (hover: none) {
    .assist-card::before { opacity: 0.85; transform: scale(1); }
    .assist-card::after { opacity: 1; }

    .assist-card-name { color: #ffffff; }
    .assist-card-desc { color: rgba(255, 255, 255, 0.85); }
    .assist-card-tags { border-top-color: rgba(196, 154, 69, 0.55); }
}


/* ==========================================================================
   THE CLOSING LINE
   ========================================================================== */
.assist-foot {
    margin-top: 3rem;
    max-width: auto;

    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.65;
    letter-spacing: 0.3px;
    color: var(--text-muted);
}

.assist-foot::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .assist-col-name { font-size: 1.2rem; }
    .assist-col-desc { font-size: 0.86rem; }
    .assist-col-meta { font-size: 0.64rem; letter-spacing: 1.8px; }
}

@media (max-width: 1024px) {
    .assist-section { padding: 6rem 1.5rem; }
    .assist-header { margin-bottom: 3.5rem; }

    .assist-band {
        padding-left: 1.5rem;
    }

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

    .assist-col {
        padding: 2.25rem 1.5rem 2.25rem 0;
        border-right: 1px solid rgba(0, 0, 0, 0.10);
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    }

    .assist-col:nth-child(2n) {
        border-right: none;
        padding-right: 0;
    }

    .assist-col:nth-child(2n+1):not(:first-child) {
        padding-left: 1.5rem;
    }

    .assist-col:nth-child(3),
    .assist-col:nth-child(4) {
        border-bottom: none;
    }

    .assist-col:first-child {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .assist-section { padding: 4.5rem 1.25rem; }
    .assist-header { margin-bottom: 2.75rem; }
    .assist-heading { font-size: 1.65rem; }

    .assist-band {
        padding-left: 1.25rem;
    }

    .assist-entry {
        width: 2px;
    }

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

    .assist-col,
    .assist-col:not(:first-child),
    .assist-col:nth-child(2n),
    .assist-col:nth-child(2n+1):not(:first-child) {
        padding: 2rem 0 2rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    }

    .assist-col:last-child {
        border-bottom: none;
    }

    .assist-col-desc {
        max-width: 100%;
    }

    .assist-foot {
        font-size: 1rem;
        margin-top: 2.5rem;
    }
}

/* ==========================================================================
   PRACTICE AREAS GRID
   ========================================================================== */
.practice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.practice-card {
    border: var(--border-light);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    transition: var(--transition);
    background: var(--bg-card);
}

.practice-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-color: rgba(196, 154, 69, 0.4);
    transform: translateY(-3px);
}

.practice-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-style: italic;
    min-width: 40px;
}

.practice-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.practice-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.practice-content li {
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
}

.practice-content li::after {
    content: '·';
    position: absolute;
    right: -10px;
    color: var(--accent-gold);
}

.practice-content li:last-child::after {
    display: none;
}
/* ==========================================================================
   WHERE WE PRACTICE
   --------------------------------------------------------------------------
   Six client regions. Each card carries:
     · A city skyline as a background image (set via --wwp-img per card)
     · A navy gradient overlay for legibility
     · The region label, centred in the upper part of the card
     · The full country name and a short description, anchored to the bottom

   The region label keeps the SAME SIZE on desktop, tablet, and mobile.
   ========================================================================== */
.where-we-practice {
    padding: 8rem 2rem;
    background-color: var(--bg-white);
}

/* ---- Section header ---- */
.wwp-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.wwp-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* ---- The grid of six cards ---- */
.wwp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* ==========================================================================
   THE CARD
   ========================================================================== */
.wwp-card {
    position: relative;
    min-height: 320px;
    padding: 2.25rem 2rem;
    overflow: hidden;
    isolation: isolate;
    background-color: #1e2a3a;
    border-radius: 4px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s ease;
}

/* ---- Background city image ---- */
.wwp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--wwp-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;

    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);

    filter: grayscale(0.35) contrast(1.05) brightness(0.95);
}

/* ---- Navy gradient overlay ---- */
.wwp-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image: linear-gradient(
        180deg,
        rgba(30, 42, 58, 0.30) 0%,
        rgba(30, 42, 58, 0.55) 45%,
        rgba(30, 42, 58, 0.90) 100%
    );

    transition: background-image 0.4s ease;
}

/* ---- Hover state ---- */
.wwp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.wwp-card:hover::before {
    transform: scale(1.08);
}

.wwp-card:hover::after {
    background-image: linear-gradient(
        180deg,
        rgba(30, 42, 58, 0.20) 0%,
        rgba(30, 42, 58, 0.48) 45%,
        rgba(30, 42, 58, 0.88) 100%
    );
}

/* ==========================================================================
   THE REGION LABEL
   Centred in the upper part of the card.
   SIZE IS THE SAME ON DESKTOP, TABLET, AND MOBILE.
   ========================================================================== */
.wwp-region {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    transform: translateY(-50%);

    font-family: var(--font-serif);
    font-size: 1.5rem;              /* ← same size at every viewport */
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.2px;
    line-height: 1.15;

    color: var(--accent-gold);
    text-align: center;

    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65),
                 0 1px 3px rgba(0, 0, 0, 0.5);

    z-index: 1;
    padding: 0 1.25rem;
    pointer-events: none;
}

/* ==========================================================================
   THE COUNTRY NAME — anchored at the bottom
   ========================================================================== */
.wwp-card h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0 0 0.6rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   THE DESCRIPTION
   ========================================================================== */
.wwp-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   The region label keeps its size. Only the country name, the description,
   the card height, and the grid columns change.
   ========================================================================== */

/* Tablet landscape and small desktop */
@media (max-width: 1200px) {
    .wwp-card { min-height: 380px; }
    .wwp-card h3 { font-size: 1.45rem; }
    /* .wwp-region remains at 1.5rem */
}

/* Tablet portrait */
@media (max-width: 1024px) {
    .where-we-practice { padding: 6rem 1.5rem; }

    .wwp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .wwp-card { min-height: 360px; }
    .wwp-card h3 { font-size: 1.4rem; }
    /* .wwp-region remains at 1.5rem */
}

/* Phone landscape and larger phones */
@media (max-width: 768px) {
    .where-we-practice { padding: 5rem 1.5rem; }

    .wwp-grid { gap: 1.25rem; }

    .wwp-card { min-height: 340px; padding: 2rem 1.75rem; }
    .wwp-card h3 { font-size: 1.3rem; line-height: 1.25; }
    /* .wwp-region remains at 1.5rem */
}

/* Small phones */
@media (max-width: 640px) {
    .where-we-practice { padding: 4rem 1.25rem; }

    .wwp-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .wwp-card {
        min-height: 320px;
        padding: 1.75rem 1.5rem;
    }

    .wwp-card h3 {
        font-size: 1.25rem;
        line-height: 1.25;
    }

    .wwp-card p { font-size: 0.85rem; }

    /* .wwp-region remains at 1.5rem */
}

/* Very narrow phones */
@media (max-width: 380px) {
    .wwp-card { min-height: 300px; }
    .wwp-card h3 { font-size: 1.15rem; }
    /* .wwp-region remains at 1.5rem */
}
/* ==========================================================================
   PROCESS / HOW WE WORK
   ========================================================================== */
.process-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

.process-header p {
    max-width: 400px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-card {
    border-top: 2px solid var(--text-main);
    padding-top: 2rem;
}

.process-card .num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.process-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   INSIGHTS SECTION
   ========================================================================== */
.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.insights-header p {
    max-width: 350px;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: right;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-card {
    background: var(--bg-card);
    border: var(--border-light);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.insight-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    transform: translateY(-5px);
}

.insight-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.insight-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.insight-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.insight-card .link-arrow {
    margin-top: auto;
    border: none;
    text-transform: capitalize;
    font-size: 0.8rem;
    color: var(--accent-gold);
    padding: 0;
}

.insight-card .link-arrow:hover {
    color: var(--text-main);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: left;
}

.faq-item {
    border-bottom: var(--border-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

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

/* ==========================================================================
   BOTTOM CTA SECTION (Dark Navy)
   ========================================================================== */
.cta-section {
    padding: 6rem 2rem;
    background-color: var(--bg-dark-navy);
    border-top: var(--border-dark);
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.cta-content h2 span.gold-text {
    color: var(--accent-gold);
    font-style: italic;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-light-muted);
    max-width: 450px;
    line-height: 1.7;
}

.cta-action .btn-light {
    padding: 1rem 2.5rem;
    white-space: nowrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--bg-white);
    padding: 4rem 2rem 2rem;
    color: var(--text-muted);
    border-top: var(--border-light);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo img {
    max-height: 50px;
}

.footer-brand p {
    font-size: 0.85rem;
    max-width: 320px;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.back-to-top:hover {
    background-color: var(--text-main);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .insights-grid { grid-template-columns: repeat(2, 1fr); }
    .dropdown-menu { width: 800px; gap: 1.5rem; padding: 2rem; }
    .about-grid { gap: 4rem; }
    .wwp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 10rem; }
    .hero-right { padding-top: 0; }
    .hero-desc { border-left: none; padding-left: 0; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 2rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .k-monogram-card { max-width: 400px; margin: 0 auto; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .header-cta { display: none; }
    
    .assist-container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .assist-list { gap: 1.5rem; }
    
    .cta-container { flex-direction: column; align-items: flex-start; text-align: left; gap: 2rem; }
    .cta-action { width: 100%; }
    .cta-action .btn-light { width: 100%; }
    
    .wwp-grid { grid-template-columns: 1fr; }
    
    .logo img { max-height: 60px; }
}

@media (max-width: 768px) {
    .map-section { height: 400px; padding: 1rem; }
    .practice-grid { grid-template-columns: 1fr; }
    .process-header { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .insights-header { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .insights-header p { text-align: left; }
    .process-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .section-padding { padding: 4rem 1rem; }
    .nav-container { padding: 0.6rem 1rem; }
    .hero { padding: 8rem 1rem 2rem; }
    .map-section { height: 300px; }
    .map-label, .map-label-hub { font-size: 2.3rem; }
    .assist-list { flex-direction: column; gap: 1rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    .logo img { max-height: 60px; }
}

/* ==========================================================================
   ABOUT PAGE — EDITORIAL LAYOUT
   ========================================================================== */

/* Breadcrumb Bar */
.breadcrumb-bar {
    padding: 1.25rem 2rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
	background-color: #f4f4f0;
}
.breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.breadcrumb-inner a {
    color: var(--text-muted);
}
.breadcrumb-inner a:hover {
    color: var(--accent-gold);
}
.breadcrumb-inner .sep {
    margin: 0 0.6rem;
    color: rgba(0,0,0,0.25);
}
.breadcrumb-inner .current {
    color: var(--text-main);
}

/* ==========================================================================
   EDITORIAL HERO
   --------------------------------------------------------------------------
   Two-column editorial hero. The right column carries the practice
   positioning line, above the page's own lede.
   A faint world-zones SVG is attached as a background layer — it sits
   behind the content, at low opacity, and fades into the cream background.
   ========================================================================== */
.editorial-hero {
    position: relative;
    padding: 5rem 2rem 6rem;
    background-color: #f4f4f0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.editorial-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url('../images/world-zones.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;               /* ← fills the hero proportionally */

    opacity: 0.95;
    pointer-events: none;
}

/* ---- The content grid — above the map ---- */
.editorial-hero-inner {
    position: relative;
    z-index: 1;

    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6rem;
    align-items: end;
}

.editorial-hero-left .eyebrow {
    margin-bottom: 2rem;
}

.editorial-hero-h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -1.5px;
    font-weight: 600;
    color: var(--text-main);
}

.editorial-hero-right {
    padding-bottom: 0.75rem;
}

/* ---- Practice positioning line — above the lede ---- */
.editorial-hero-tagline {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.3px;
    color: #ffffff;
    background-color: #1e2a3a;
    background-image: linear-gradient(90deg, #1e2a3a 0%, #24344a 50%, #1e2a3a 100%);
    margin: 0 0 1.5rem;
    padding: 1.25rem;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.editorial-hero-tagline .gold-text {
    color: var(--accent-gold);
    font-style: italic;
}

/* ---- The page's own lede ---- */
.editorial-hero-lede {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
}

/* ==========================================================================
   EDITORIAL HERO — RESPONSIVE
   ========================================================================== */

/* Tablet — stack the columns, tighten the padding, adjust the map view */
@media (max-width: 1024px) {
    .editorial-hero {
        padding: 4rem 2rem 5rem;
    }

    .editorial-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .editorial-hero::before {
        background-size: 140% auto;
        background-position: 45% center;
    }
}

/* Phone — smaller H1, tighter lede, larger map view */
@media (max-width: 768px) {
    .editorial-hero {
        padding: 3rem 1.5rem 4rem;
    }

    .editorial-hero-h1 {
        font-size: 3.5rem;
    }

    .editorial-hero-lede {
        font-size: 1rem;
    }
}

/* Very narrow phones — push the map further in */
@media (max-width: 640px) {
    .editorial-hero::before {
        background-size: 180% auto;
        background-position: 42% center;
        opacity: 0.8;
    }
}
/* Why Kavao Exists — Two Column */
.why-kavao {
    padding: 7rem 2rem;
    background-color: var(--bg-light-grey);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.why-kavao-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 6rem;
    align-items: start;
}
.why-kavao-left h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    color: var(--text-main);
}
.why-kavao-left p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    max-width: 700px;
}
.why-kavao-left p:last-child {
    margin-bottom: 0;
}

/* At a Glance Box */
.glance-box {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.2);
    padding: 2.5rem;
    position: sticky;
    top: 8rem;
}
.glance-box h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.3px;
}
.glance-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.glance-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding-left: 1.2rem;
    position: relative;
}
.glance-list li::before {
    content: '·';
    position: absolute;
    left: 0.2rem;
    top: -0.1rem;
    color: var(--accent-gold);
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
}

/* Principles / Values Grid */
.principles {
    padding: 7rem 2rem;
    background-color: var(--bg-white);
}
.principles-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.principles-header {
    margin-bottom: 4rem;
    max-width: 700px;
}
.principles-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.principle-card {
    border-top: 1px solid var(--text-main);
    padding-top: 1.75rem;
}
.principle-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    display: block;
}
.principle-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 0.9rem;
    color: var(--text-main);
}
.principle-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Principal Counsel — Two Column */
.counsel-section {
    padding: 7rem 2rem;
    background-color: var(--bg-light-grey);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.counsel-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}
.counsel-graphic-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}
.counsel-graphic-wrap svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}
.counsel-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.75rem;
    color: var(--text-main);
}
.counsel-text p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    max-width: 620px;
}
.counsel-credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.counsel-cred-code {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}
.counsel-cred-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* Clients Section */
.clients-section {
    padding: 7rem 2rem;
    background-color: var(--bg-white);
}
.clients-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.clients-header {
    margin-bottom: 4rem;
    max-width: 700px;
}
.clients-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
}
.clients-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.client-item {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}
.client-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}
.client-icon-symbol {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    display: block;
}
.client-item h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
    color: var(--text-main);
}
.client-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* About Page Responsive */
@media (max-width: 1200px) {
    .editorial-hero-inner { gap: 4rem; }
    .why-kavao-grid { gap: 4rem; }
    .counsel-inner { gap: 4rem; }
    .clients-cards { grid-template-columns: repeat(2, 1fr); }
    .principles-grid { gap: 2rem; }
}
@media (max-width: 1024px) {
    .editorial-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .editorial-hero { padding: 4rem 2rem 5rem; }
    .why-kavao-grid { grid-template-columns: 1fr; gap: 3rem; }
    .glance-box { position: static; }
    .counsel-inner { grid-template-columns: 1fr; gap: 3rem; }
    .counsel-graphic-wrap svg { max-width: 260px; }
    .counsel-credentials-grid { grid-template-columns: 1fr 1fr; }
    .principles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .breadcrumb-bar { padding: 1rem 1.25rem 1rem; }
    .editorial-hero { padding: 3rem 1.5rem 4rem; }
    .editorial-hero-h1 { font-size: 3.5rem; }
    .editorial-hero-lede { font-size: 1rem; }
    .why-kavao { padding: 5rem 1.5rem; }
    .principles { padding: 5rem 1.5rem; }
    .counsel-section { padding: 5rem 1.5rem; }
    .clients-section { padding: 5rem 1.5rem; }
    .clients-cards { grid-template-columns: 1fr; }
    .counsel-credentials-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
/* ==========================================================================
   INSIGHTS PAGE — LISTING
   ========================================================================== */

.insights-listing {
    padding: 2rem 2rem 7rem;
    background-color: var(--bg-white);
}
.insights-listing-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Use existing .insights-grid + .insight-card, but fix card-as-link behavior */
.insights-listing .insight-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.insights-listing .insight-card h3 {
    font-family: var(--font-serif);
    color: var(--text-main);
    transition: color 0.3s ease;
}

.insights-listing .insight-card:hover h3 {
    color: var(--accent-gold);
}

/* Footer note beneath listing */
.insights-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.insights-footer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 780px;
}
.insights-footer a {
    color: var(--accent-gold);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.insights-footer a:hover {
    border-color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .insights-listing { padding: 2rem 2rem 5rem; }
}
@media (max-width: 768px) {
    .insights-listing { padding: 2rem 1.5rem 4rem; }
    .insights-footer { margin-top: 3rem; }
}
/* ==========================================================================
   DOWNLOAD LEGAL TEMPLATES PAGE
   ========================================================================== */

/* Intro Note Section */
.templates-intro {
    padding: 5rem 2rem 4rem;
    background-color: var(--bg-white);
}
.templates-intro-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.templates-intro-content {
    max-width: 780px;
}
.templates-intro-content p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}
.templates-intro-content p:last-child {
    margin-bottom: 0;
}
.templates-intro-note {
    background: var(--bg-light-grey);
    border-left: 3px solid var(--accent-gold);
    padding: 1.25rem 1.5rem;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    color: var(--text-main) !important;
}
.templates-intro-note strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Primary Templates Section */
.templates-section {
    padding: 6rem 2rem 7rem;
    background-color: var(--bg-light-grey);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.templates-section-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.templates-section-header {
    margin-bottom: 4rem;
    max-width: 720px;
}
.templates-section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}
.templates-section-header p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.template-card {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.template-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.template-court {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
    display: block;
}
.template-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.template-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.template-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding-top: 1.25rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.template-download {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    padding: 0.75rem 1.25rem;
    transition: var(--transition);
}
.template-download span {
    transition: transform 0.3s ease;
    font-size: 1rem;
    color: var(--accent-gold);
}
.template-download:hover {
    background: var(--text-main);
    color: var(--bg-white);
    border-color: var(--text-main);
}
.template-download:hover span {
    transform: translateY(3px);
    color: var(--accent-gold);
}

/* Coming Soon Section */
.templates-coming {
    padding: 7rem 2rem;
    background-color: var(--bg-white);
}
.templates-coming-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.templates-coming-header {
    margin-bottom: 4rem;
    max-width: 720px;
}
.templates-coming-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}
.templates-coming-header p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.templates-coming-header a {
    color: var(--accent-gold);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    font-weight: 500;
}
.templates-coming-header a:hover {
    border-color: var(--accent-gold);
}
.coming-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.coming-card {
    background: var(--bg-light-grey);
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
    opacity: 0.85;
}
.coming-card:hover {
    opacity: 1;
    border-color: rgba(196, 154, 69, 0.9);
}
.coming-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--accent-gold);
    background: rgba(196, 154, 69, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}
.coming-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.9rem;
    color: var(--text-main);
}
.coming-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* How to Use Section */
.templates-howto {
    padding: 7rem 2rem;
    background-color: var(--bg-light-grey);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.templates-howto-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.templates-howto-header {
    margin-bottom: 4rem;
    max-width: 720px;
}
.templates-howto-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-main);
}

.howto-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    counter-reset: howto;
}
.howto-list li {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    align-items: flex-start;
}
.howto-num {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-gold);
    font-style: italic;
    min-width: 45px;
    line-height: 1;
    padding-top: 0.2rem;
}
.howto-content h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}
.howto-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.howto-note {
    margin-top: 4rem;
    padding: 2rem 2.5rem;
    background: #f4f4f0;
    border-left: 3px solid var(--accent-gold);
    max-width: 680px;
}
.howto-note p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.75;
    margin: 0;
}
.howto-note a {
    color: var(--accent-gold);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.howto-note a:hover {
    border-color: var(--accent-gold);
}

/* Templates Responsive */
@media (max-width: 1200px) {
    .template-grid { grid-template-columns: repeat(2, 1fr); }
    .coming-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .templates-section { padding: 5rem 2rem; }
    .templates-coming { padding: 5rem 2rem; }
    .templates-howto { padding: 5rem 2rem; }
    .howto-list { grid-template-columns: 1fr; gap: 0 3rem; }
}
@media (max-width: 768px) {
    .templates-intro { padding: 3rem 1.5rem 3rem; }
    .template-grid { grid-template-columns: 1fr; }
    .coming-grid { grid-template-columns: 1fr; }
    .templates-section,
    .templates-coming,
    .templates-howto { padding: 4rem 1.5rem; }
    .template-card { padding: 2rem 1.5rem; }
    .coming-card { padding: 2rem 1.5rem; }
    .howto-note { padding: 1.5rem; }
}
/* ==========================================================================
   WORK WITH US — Six Card Grid Modifier
   ========================================================================== */
.clients-cards--six {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .clients-cards--six {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-cards--six {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   CONTACT US PAGE — FORM + SIDEBAR
   ========================================================================== */

.contact-page-section {
    padding: 2rem 2rem 7rem;
    background-color: var(--bg-white);
}
.contact-page-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 5rem;
    align-items: start;
}

/* Form side */
.contact-form-wrap h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.contact-form-lede {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 620px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.2px;
}
.form-group label span {
    color: var(--accent-gold);
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(196, 154, 69, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}
.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.6;
}

.form-check {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}
.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--accent-gold);
    flex-shrink: 0;
    cursor: pointer;
}
.form-check label {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    cursor: pointer;
}
.form-check label a {
    color: var(--accent-gold);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.form-check label a:hover {
    border-color: var(--accent-gold);
}

/* Status message area (for AJAX) */
.form-status {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.92rem;
    line-height: 1.6;
    border-left: 3px solid transparent;
}
.form-status.is-visible {
    display: block;
}
.form-status.is-info {
    background: #f4f7fa;
    border-left-color: #4a7fb5;
    color: #2c4763;
}
.form-status.is-success {
    background: #f0f7ee;
    border-left-color: #3d7f4d;
    color: #2c5737;
}
.form-status.is-error {
    background: #faf1f1;
    border-left-color: #b34747;
    color: #7a2c2c;
}

/* Disabled submit state */
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Sidebar side */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 8rem;
}
.contact-sidebar .glance-box {
    position: static;
    padding: 1.75rem 1.5rem;
}
.contact-sidebar .glance-box h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-page-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-sidebar {
        position: static;
    }
    .contact-page-section {
        padding: 2rem 2rem 5rem;
    }
}

@media (max-width: 640px) {
    .contact-page-section {
        padding: 2rem 1.5rem 4rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-form-wrap h2 {
        font-size: 1.6rem;
    }
}
/* Fee notice inside the contact form */
.form-fee-notice {
    background: var(--bg-light-grey);
    border-left: 3px solid var(--accent-gold);
    padding: 1.25rem 1.5rem;
    margin: 0.5rem 0 1rem;
    border-radius: 4px;
}
.form-fee-notice h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.form-fee-notice p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.form-fee-notice p:last-child {
    margin-bottom: 0;
}
.form-fee-notice strong {
    color: var(--text-main);
    font-weight: 600;
}
.form-fee-line {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 0.85rem 1rem;
    background: var(--bg-light-grey);
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
    margin: 0;
}
/* ==========================================================================
   RADIO BUTTON GROUP — for consultation mode selection
   ========================================================================== */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.radio-option:hover {
    border-color: var(--accent-gold);
    background: rgba(196, 154, 69, 0.04);
}
.radio-option input[type="radio"] {
    accent-color: var(--accent-gold);
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}
.radio-option input[type="radio"]:checked + span {
    color: var(--text-main);
    font-weight: 500;
}
/* ==========================================================================
   THANK YOU PAGE — REFERENCE CARD
   ========================================================================== */

.thankyou-reference {
    padding: 0 2rem 5rem;
    margin-top: 3rem;                 /* clear space above the card */
    background-color: var(--bg-white);
}

.thankyou-reference-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light-grey);
    border: 1px solid rgba(196, 154, 69, 0.35);
    border-radius: 8px;
}

.thankyou-reference-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-gold);
    margin-bottom: 0.85rem;
}

.thankyou-reference-number {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 0.85rem;
    word-break: break-all;
}

.thankyou-reference-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   MOBILE (≤ 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .thankyou-reference {
        padding: 0 1.5rem 3.5rem;
        margin-top: 2rem;
    }

    .thankyou-reference-inner {
        padding: 2rem 1.5rem;
    }

    .thankyou-reference-label {
        font-size: 0.68rem;
        letter-spacing: 2px;
        margin-bottom: 0.75rem;
    }

    .thankyou-reference-number {
        font-size: 1.45rem;
        margin-bottom: 0.75rem;
    }

    .thankyou-reference-note {
        font-size: 0.82rem;
        line-height: 1.6;
    }
}
/* ==========================================================================
   POLICY / LONG-FORM LEGAL PAGES
   ========================================================================== */

.policy-section {
    padding: 5rem 2rem 7rem;
    background-color: var(--bg-white);
}
.policy-inner {
    max-width: 820px;
    margin: 0 auto;
    font-family: var(--font-sans);
}

/* Intro block — slightly larger, callout feel */
.policy-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.policy-intro p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}
.policy-intro p:last-child {
    margin-bottom: 0;
}

/* Individual sections */
.policy-block {
    margin-bottom: 2.75rem;
}
.policy-block h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.3px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(196, 154, 69, 0.25);
}
.policy-block p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.1rem;
}
.policy-block p:last-child {
    margin-bottom: 0;
}
.policy-block a {
    color: var(--accent-gold);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.policy-block a:hover {
    border-color: var(--accent-gold);
}

/* Bulleted list within policy */
.policy-list {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
    list-style: none;
}
.policy-list li {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 0.6rem;
    padding-left: 1.25rem;
    position: relative;
}
.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 5px;
    height: 5px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* Contact details block */
.policy-contact {
    background: var(--bg-light-grey);
    border-left: 3px solid var(--accent-gold);
    padding: 1.5rem 1.75rem;
    margin-top: 1.5rem !important;
    font-size: 0.95rem;
    line-height: 1.85 !important;
    color: var(--text-main) !important;
}
.policy-contact strong {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.5rem;
}

/* Last updated footer */
.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.policy-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .policy-section { padding: 2rem 2rem 5rem; }
}
@media (max-width: 640px) {
    .policy-section { padding: 2rem 1.5rem 4rem; }
    .policy-block h2 { font-size: 1.2rem; }
    .policy-block p,
    .policy-list li { font-size: 0.95rem; }
    .policy-intro p { font-size: 1rem; }
}
/* ==========================================================================
   PRACTICE AREAS — EDITORIAL LIST
   ========================================================================== */
.pa-category {
    padding: 6rem 2rem;
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.pa-category-alt {
    background-color: var(--bg-light-grey);
}

.pa-category-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
}

.pa-category-label {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.pa-category-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--accent-gold);
    line-height: 1;
}

.pa-category-tag {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.pa-category-lede {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 550px;
    margin: 0;
}

.pa-list {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.pa-row {
    display: grid;
    grid-template-columns: 70px 1fr 1.6fr 40px;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                background-color 0.4s ease;
    position: relative;
}

.pa-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.pa-row:hover {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: rgba(196, 154, 69, 0.03);
}

.pa-row:hover::before {
    transform: scaleY(1);
}

.pa-row-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.pa-row-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.pa-row:hover .pa-row-title {
    color: var(--accent-gold);
}

.pa-row-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.pa-row-arrow {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: right;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                color 0.3s ease;
}

.pa-row:hover .pa-row-arrow {
    transform: translate(3px, -3px);
    color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .pa-category-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pa-row {
        grid-template-columns: 50px 1fr 30px;
        gap: 1.5rem;
    }
    .pa-row-desc {
        grid-column: 2 / -1;
        margin-top: 0.5rem;
    }
}

@media (max-width: 640px) {
    .pa-category {
        padding: 4rem 1.5rem;
    }
    .pa-row {
        grid-template-columns: 40px 1fr 24px;
        padding: 1.5rem 0;
        gap: 1rem;
    }
    .pa-row:hover {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .pa-row-title {
        font-size: 1.1rem;
    }
    .pa-row-desc {
        font-size: 0.88rem;
    }
}
/* ==========================================================================
   PRACTICE AREAS — ITEM 16 (NOT LISTED)
   A centred, premium closing block after the final practice-area row.
   ========================================================================== */
.pa-not-listed-block {
    max-width: 720px;
    margin: 5rem auto 0;
    padding: 3.5rem 2rem;

    text-align: center;

    background-color: rgba(196, 154, 69, 0.04);
    border: 1px solid rgba(196, 154, 69, 0.22);
    border-radius: 12px;

    position: relative;
    overflow: hidden;
}

/* Small gold accent line at the top of the block */
.pa-not-listed-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.pa-not-listed-block .pa-not-listed-num {
    display: inline-block;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.pa-not-listed-block .pa-not-listed-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.4px;
    line-height: 1.2;
    color: var(--text-main);
    margin: 0 0 1.25rem;
}

.pa-not-listed-block .pa-not-listed-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 560px;
}

.pa-not-listed-block .pa-not-listed-text a {
    color: var(--accent-gold);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 154, 69, 0.35);
    transition: border-color 0.25s ease, color 0.25s ease;
}

.pa-not-listed-block .pa-not-listed-text a:hover {
    color: var(--accent-gold-hover);
    border-bottom-color: var(--accent-gold-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .pa-not-listed-block {
        margin-top: 3rem;
        padding: 2.5rem 1.5rem;
        border-radius: 10px;
    }
    .pa-not-listed-block .pa-not-listed-title {
        font-size: 1.4rem;
    }
    .pa-not-listed-block .pa-not-listed-text {
        font-size: 0.95rem;
    }
}
/* ==========================================================================
   MOBILE STICKY ACTION BAR
   App-style tab bar pinned to the bottom of mobile screens.
   Five items — Call · WhatsApp · Query · Appointment · Contact.
   ========================================================================== */
.mobile-action-bar {
    display: none;
}

@media (max-width: 768px) {

    .mobile-action-bar {
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* CHANGED: four → five columns */

        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;

        background-color: rgba(30, 42, 58, 0.98);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);

        border-top: 1px solid rgba(196, 154, 69, 0.25);
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);

        padding-bottom: env(safe-area-inset-bottom, 0);

        transform: translateY(0);
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .mobile-action-bar.is-hidden,
    .mobile-action-bar.is-dismissed {
        transform: translateY(100%);
        pointer-events: none;
    }

    /* --- Each item --- */
    .mobile-action-bar .mab-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;

        padding: 8px 2px 7px; /* CHANGED: horizontal padding reduced for five items */

        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;

        font-family: var(--font-sans);
        font-size: 0.8rem;   /* CHANGED: slightly smaller so labels fit */
        font-weight: 500;
        line-height: 1;

        text-transform: none;
        letter-spacing: 0.1px;

        transition: color 0.25s ease, background-color 0.25s ease;
        -webkit-tap-highlight-color: transparent;
        overflow: hidden;
    }

    .mobile-action-bar .mab-item:active {
        background-color: rgba(196, 154, 69, 0.08);
    }

    .mobile-action-bar .mab-item:hover,
    .mobile-action-bar .mab-item:focus {
        color: var(--accent-gold);
    }

    /* --- The icon --- */
    .mobile-action-bar .mab-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;         /* CHANGED: slightly smaller icon */
        height: 20px;
        color: currentColor;
        transition: transform 0.25s ease;
    }

    .mobile-action-bar .mab-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .mobile-action-bar .mab-item:active .mab-icon {
        transform: scale(0.92);
    }

    /* --- The label --- */
    .mobile-action-bar .mab-label {
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
        text-align: center;
    }

    /* --- Primary CTA — Appointment — gold text --- */
    .mobile-action-bar .mab-item.mab-cta {
        color: var(--accent-gold);
    }

    /* --- Dismiss button --- */
    .mobile-action-bar .mab-close {
        position: absolute;
        top: -12px;
        right: 10px;

        width: 24px;
        height: 24px;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        background-color: var(--bg-dark-navy);
        border: 1px solid rgba(196, 154, 69, 0.4);
        border-radius: 50%;

        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;

        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
        transition: color 0.25s ease,
                    background-color 0.25s ease,
                    border-color 0.25s ease,
                    transform 0.25s ease;

        -webkit-tap-highlight-color: transparent;
        z-index: 2;
    }

    .mobile-action-bar .mab-close svg {
        width: 12px;
        height: 12px;
        display: block;
    }

    .mobile-action-bar .mab-close:hover,
    .mobile-action-bar .mab-close:focus {
        color: var(--accent-gold);
        border-color: var(--accent-gold);
        background-color: #1a2332;
    }

    .mobile-action-bar .mab-close:active {
        transform: scale(0.9);
    }

    /* --- Page bottom padding --- */
    body.has-mobile-action-bar {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0));
    }

    body.has-mobile-action-bar.mab-dismissed {
        padding-bottom: 0;
    }

    /* --- The back-to-top button sits above the bar --- */
    .back-to-top {
        bottom: calc(74px + env(safe-area-inset-bottom, 0)) !important;
        right: 16px !important;
    }
}

/* Very narrow phones — tighten further */
@media (max-width: 380px) {

    .mobile-action-bar .mab-item {
        font-size: 0.58rem;
        padding: 7px 1px 6px;
        gap: 2px;
    }

    .mobile-action-bar .mab-icon {
        width: 18px;
        height: 18px;
    }
}

/* Hide on desktop and tablet landscape */
@media (min-width: 769px) {
    .mobile-action-bar {
        display: none !important;
    }
}
/* ==========================================================================
   FREE QUERY NOTICE
   A small, prominent notice placed above forms to reassure visitors that
   sending an enquiry carries no fee and no commitment.
   ========================================================================== */
.form-free-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px 18px;
    margin-bottom: 28px;

    background-color: rgba(196, 154, 69, 0.05);
    border: 1px solid rgba(196, 154, 69, 0.22);
    border-left: 3px solid var(--accent-gold);
    border-radius: 6px;
}

.form-free-notice .form-free-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    margin-top: 2px;
}

.form-free-notice .form-free-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.form-free-notice .form-free-text {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-main);
}

.form-free-notice .form-free-text strong {
    font-weight: 600;
    color: var(--text-main);
}

/* Responsive — stack icon and text on very small screens */
@media (max-width: 480px) {
    .form-free-notice {
        padding: 14px 14px;
        gap: 10px;
    }
    .form-free-notice .form-free-text {
        font-size: 0.88rem;
        line-height: 1.6;
    }
}
/* ==========================================================================
   DESKTOP STICKY SIDE BAR — four separate blocks, fixed size
   Left edge, vertically centred. Hidden below 1025px.
   ========================================================================== */
.desktop-side-bar {
    display: none;
}

@media (min-width: 1025px) {

    .desktop-side-bar {
        position: fixed;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        z-index: 998;

        display: flex;
        flex-direction: column;
        gap: 12px;

        font-family: var(--font-sans);
    }

    /* --- Each block --- */
    .desktop-side-bar .dsb-item {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;
        border-radius: 8px;

        background-color: #ffffff;
/*        border: 1px solid rgba(0, 0, 0, 0.07);

        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);*/
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 2px 5px 3px rgba(0, 0, 0, 0.105);

        color: var(--text-main);
        text-decoration: none;

        transition:
            width 0.35s cubic-bezier(0.25, 1, 0.5, 1),
            padding 0.35s cubic-bezier(0.25, 1, 0.5, 1),
            color 0.25s ease,
            background-color 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.3s ease;
    }

    /* --- Hover: expand, stronger shadow, gold text --- */
    .desktop-side-bar .dsb-item:hover,
    .desktop-side-bar .dsb-item:focus {
        width: auto;
        padding: 0 14px;

        color: var(--accent-gold);
        border-color: rgba(196, 154, 69, 0.35);
        background-color: #ffffff;
        box-shadow: 0 4px 16px rgba(196, 154, 69, 0.22);
    }

    /* --- The icon --- */
    .desktop-side-bar .dsb-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        color: currentColor;
    }

    .desktop-side-bar .dsb-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    /* --- The label — hidden by default, revealed on hover --- */
    .desktop-side-bar .dsb-label {
        display: none;
        margin-left: 10px;

        font-size: 0.78rem;
        font-weight: 500;
        letter-spacing: 0.2px;
        line-height: 1;
        white-space: nowrap;

        color: inherit;
        opacity: 0;
        transform: translateX(-4px);
        transition: opacity 0.25s ease 0.05s, transform 0.3s ease 0.05s;
    }

    .desktop-side-bar .dsb-item:hover .dsb-label,
    .desktop-side-bar .dsb-item:focus .dsb-label {
        display: block;
        opacity: 1;
        transform: translateX(0);
    }

    /* --- Primary CTA — gold block, same size as the others --- */
    .desktop-side-bar .dsb-item.dsb-cta {
        color: #ffffff;
        background-color: var(--accent-gold);
        border-color: var(--accent-gold);
        box-shadow: 0 2px 10px rgba(196, 154, 69, 0.32);
    }

    .desktop-side-bar .dsb-item.dsb-cta .dsb-icon {
        color: #ffffff;
    }

    .desktop-side-bar .dsb-item.dsb-cta:hover,
    .desktop-side-bar .dsb-item.dsb-cta:focus {
        color: #ffffff;
        background-color: var(--accent-gold-hover);
        border-color: var(--accent-gold-hover);
        box-shadow: 0 4px 18px rgba(196, 154, 69, 0.42);
    }

}
/* ==========================================================================
   HERO CREDENTIAL BLOCK
   Sits between the hero description and the CTA button,
   forming one continuous column of statement, credibility, and action.
   ========================================================================== */
.hero-credential {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin-top: 2rem;
    padding-top: 1.75rem;

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    position: relative;
}

/* Gold accent on the top border */
.hero-credential::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: var(--accent-gold);
}

/* The "20+ Years" line */
.hero-credential .hero-credential-line {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-credential .hero-credential-number {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 4.5vw, 4.5rem);
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: -2px;
    line-height: 1;
}

.hero-credential .hero-credential-years {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    font-weight: 600;
    font-style: italic;
    color: var(--text-main);
    letter-spacing: -1px;
    line-height: 1;
}

/* The caption beneath the number */
.hero-credential .hero-credential-label {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.85rem;
    max-width: 480px;
}

/* The sub-line */
.hero-credential .hero-credential-sub {
    font-family: var(--font-sans);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    line-height: 1.4;
    opacity: 0.9;

    /* A quiet underline beneath the identity line */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(196, 154, 69, 0.25);
    width: 100%;
    /*max-width: 320px;*/
}

/* Give the CTA a clean breathing space when it sits at the bottom */
.hero-right > .btn-solid {
    margin-top: 1.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-credential {
        margin-top: 1.5rem;
        padding-top: 1.35rem;
    }

    .hero-credential .hero-credential-number {
      /*  font-size: 2.75rem; */
    }

    .hero-credential .hero-credential-years {
        font-size: 1.65rem;
    }

    .hero-credential .hero-credential-label {
        font-size: 1.75rem;
        margin-bottom: 0.7rem;
    }

    .hero-credential .hero-credential-sub {
        font-size: 0.94rem;
        letter-spacing: 2px;
        max-width: 100%;
    }

    .hero-right > .btn-solid {
        margin-top: 1.5rem;
    }
}
/* ==========================================================================
   TIME ZONE STRIP — DARK THEME
   --------------------------------------------------------------------------
   Sits at the top of .site-topbar, ABOVE the header. The whole
   .site-topbar container is fixed, so the strip stays visible on scroll.

   Order of information:
     1. Your Local Time
     2. Our Current Time
     3. Time zone difference (ahead / behind)
     4. Open / closed status

   Injected by js/script.js. No HTML needed on any page.
   ========================================================================== */

.time-zone-strip {
    position: relative;
    width: 100%;

    background-color: #1e2a3a;                     /* deep navy */
    background-image: linear-gradient(90deg,
        #1e2a3a 0%,
        #24344a 50%,
        #1e2a3a 100%);
    border-bottom: 1px solid rgba(196, 154, 69, 0.30);

    padding: 9px 24px;

    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(232, 232, 232, 0.78);              /* light muted text */

    opacity: 0;
    animation: tzsFadeIn 0.6s ease 0.9s forwards;
}

@keyframes tzsFadeIn {
    to { opacity: 1; }
}

/* Row of information */
.time-zone-strip .tzs-content {
    max-width: 1400px;
    margin: 0 auto;
    padding-right: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.time-zone-strip .tzs-item {
    white-space: nowrap;
}

.time-zone-strip .tzs-item strong {
    color: #ffffff;                                /* bright for values */
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Separator dot */
.time-zone-strip .tzs-sep {
    color: rgba(196, 154, 69, 0.45);               /* soft gold */
    user-select: none;
}

/* Status — open / closed */
.time-zone-strip .tzs-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    white-space: nowrap;
}

.time-zone-strip .tzs-status.is-open   { color: #7ed49a; }   /* soft green on dark */
.time-zone-strip .tzs-status.is-closed { color: rgba(232, 232, 232, 0.62); }

.time-zone-strip .tzs-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.time-zone-strip .tzs-status.is-open .tzs-dot {
    background-color: #7ed49a;
    box-shadow: 0 0 0 3px rgba(126, 212, 154, 0.20);
    animation: tzsPulse 2.4s ease-in-out infinite;
}

.time-zone-strip .tzs-status.is-closed .tzs-dot {
    background-color: rgba(232, 232, 232, 0.45);
}

@keyframes tzsPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(126, 212, 154, 0.20); }
    50%      { box-shadow: 0 0 0 5px rgba(126, 212, 154, 0.06); }
}

/* Close button */
.time-zone-strip .tzs-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;
    padding: 0;

    background-color: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(196, 154, 69, 0.60);
    border-radius: 50%;

    color: var(--accent-gold);
    cursor: pointer;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);

    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.time-zone-strip .tzs-close svg {
    width: 12px;
    height: 12px;
    display: block;
    stroke-width: 2.4;
}

.time-zone-strip .tzs-close:hover,
.time-zone-strip .tzs-close:focus {
    color: #1e2a3a;
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
}

/* ==========================================================================
   MOBILE (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .time-zone-strip {
        padding: 8px 16px;
        font-size: 0.72rem;
    }

    .time-zone-strip .tzs-content {
        padding-right: 36px;
        gap: 4px 6px;
        justify-content: flex-start;
    }

    .time-zone-strip .tzs-sep {
        display: none;
    }

    .time-zone-strip .tzs-close {
        right: 10px;
        width: 24px;
        height: 24px;
    }

    .time-zone-strip .tzs-close svg {
        width: 11px;
        height: 11px;
    }
}

/* ==========================================================================
   VERY NARROW PHONES (≤ 380px)
   ========================================================================== */
@media (max-width: 380px) {
    .time-zone-strip {
        padding: 7px 12px;
        font-size: 0.68rem;
    }

    .time-zone-strip .tzs-content {
        padding-right: 32px;
    }

    .time-zone-strip .tzs-close {
        right: 8px;
        width: 22px;
        height: 22px;
    }
}

/* Hide the strip while the mobile menu overlay is open */
body.mobile-menu-open .time-zone-strip {
    display: none !important;
}