/*
Theme Name: DRSB Law Chambers
Theme URI: https://www.drsblawchambers.com
Author: TenG Spectrum LLP
Description: Premium custom theme for DRSB Law Chambers. Three generations of legal excellence.
Version: 1.0.0
Requires at least: 6.0
Text Domain: drsb-law
*/

:root {
    --color-teal: #1A6B7A;
    --color-teal-dark: #124f5c;
    --color-teal-light: #2a8fa2;
    --color-gold: #B8960C;
    --color-gold-light: #d4ad2c;
    --color-navy: #0F1A22;
    --color-navy-mid: #182837;
    --color-white: #FFFFFF;
    --color-off-white: #F8F7F4;
    --color-gray-100: #F4F2EE;
    --color-gray-200: #E8E4DC;
    --color-gray-500: #8A8278;
    --color-gray-700: #4A4540;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --shadow-md: 0 6px 24px rgba(15, 26, 34, 0.12);
    --shadow-lg: 0 16px 48px rgba(15, 26, 34, 0.18);
    --radius-sm: 4px;
    --radius-md: 8px;
    --container-width: 1200px;
    --nav-height: 82px;
}

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

html {
    scroll-behavior: smooth;
}

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

body.popup-open {
    overflow: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
}

.btn-primary:hover {
    background: var(--color-teal-dark);
    border-color: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 107, 122, 0.35);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-gold-light);
    border-color: var(--color-gold);
}

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

.btn-gold {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
    font-weight: 700;
}

.btn-gold:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 150, 12, 0.35);
}

.btn-ghost-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

/* ── Section Label ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--color-gold);
    flex-shrink: 0;
}