/* ============================================================
   MGDF ACCOUNTANCY — International Design System
   Inspired by: Deloitte, PwC, EY, McKinsey global standards
   Palette: Deep Navy / Refined Gold / Crisp White
   Type: Cormorant Garamond (display) + Inter (UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
    /* ── Core Palette ── */
    --navy:         #0C1A2E;
    --navy-deep:    #071120;
    --navy-mid:     #122240;
    --navy-light:   #1C3158;
    --gold:         #B07D3A;
    --gold-warm:    #C9964E;
    --gold-bright:  #D4A55A;
    --gold-pale:    #F5EDD5;
    --gold-line:    rgba(176,125,58,.20);
    --gold-glow:    rgba(176,125,58,.12);

    /* ── Light surfaces ── */
    --white:        #FFFFFF;
    --off-white:    #F8F6F2;
    --warm-gray:    #EDEBE5;
    --border:       #E2DDD5;
    --border-light: #EEE9E0;

    /* ── Text ── */
    --ink:          #0E1825;
    --body-text:    #4A5568;
    --muted:        #6B7280;
    --subtle:       #9CA3AF;
    --light-text:   rgba(255,255,255,0.76);
    --lighter-text: rgba(255,255,255,0.45);

    /* ── Shadows ── */
    --shadow-xs:    0 1px 3px rgba(12,26,46,.06), 0 1px 2px rgba(12,26,46,.04);
    --shadow-sm:    0 4px 12px rgba(12,26,46,.08), 0 2px 6px rgba(12,26,46,.05);
    --shadow-md:    0 12px 36px rgba(12,26,46,.11), 0 4px 14px rgba(12,26,46,.07);
    --shadow-lg:    0 24px 60px rgba(12,26,46,.15), 0 8px 24px rgba(12,26,46,.09);
    --shadow-gold:  0 6px 24px rgba(176,125,58,.22);

    /* ── Radii ── */
    --r-xs:  4px;
    --r-sm:  8px;
    --r-md:  12px;
    --r-lg:  18px;
    --r-xl:  28px;

    /* ── Layout ── */
    --container: 1200px;
    --nav-h:     72px;
    --admin-bar: 60px;

    /* ── Transitions ── */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
p    { color: var(--body-text); line-height: 1.82; }
ul   { padding: 0; list-style: none; }

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; }

h1, h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.015em;
    font-weight: 600;
}

h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.6rem); }
h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: currentColor;
    flex-shrink: 0;
}

/* ─── Layout Utility ───────────────────────────────────────── */
.container {
    width: min(calc(100% - 2.5rem), var(--container));
    margin: 0 auto;
}

/* ─── Reveal animation ────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ─── Buttons ──────────────────────────────────────────────── */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 50px;
    padding: 0 1.75rem;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
}
.button:hover { transform: translateY(-1px); }

.button-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.04em;
}
.button-primary:hover {
    background: #9A6C28;
    border-color: #9A6C28;
    box-shadow: 0 8px 28px rgba(176,125,58,.38);
}

.button-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.30);
    letter-spacing: 0.04em;
}
.button-secondary:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.60);
}

.button-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
    letter-spacing: 0.03em;
}
.button-outline:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
}

.button-ghost-danger {
    background: rgba(153,27,27,0.06);
    color: #991B1B;
    border-color: rgba(153,27,27,0.16);
    text-transform: none;
}
.button-ghost-danger:hover {
    background: #991B1B;
    color: #fff;
    border-color: #991B1B;
}

/* ─── Navigation ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(12,26,46,0.09);
    border-color: var(--border);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: var(--nav-h);
    padding: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.brand-logo-only {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: var(--r-xs);
    background: var(--navy);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--gold-warm);
    flex-shrink: 0;
}

.brand-mark-image {
    padding: 0.2rem;
    background: transparent;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo-full {
    display: block;
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.brand small {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 1px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-nav a {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.02em;
    transition: color 0.18s ease;
    position: relative;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--gold);
    transition: left 0.22s var(--ease), right 0.22s var(--ease);
}
.site-nav a:hover { color: var(--navy); }
.site-nav a:hover::after,
.site-nav a.is-active::after { left: 0.85rem; right: 0.85rem; }
.site-nav a.is-active { color: var(--navy); font-weight: 600; }

.site-nav .nav-cta {
    margin-left: 1.2rem;
    padding: 0 1.35rem;
    height: 40px;
    background: var(--navy);
    color: #fff !important;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover {
    background: var(--gold);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}
.site-nav .nav-cta.is-active {
    background: var(--gold);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 4px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
    background: var(--navy-deep);
    overflow: hidden;
    position: relative;
    padding: 0 0 6rem;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: saturate(0.8) brightness(0.75);
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(7,17,32,0.72) 0%, rgba(7,17,32,0.28) 55%, rgba(7,17,32,0.15) 100%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 70% at 80% 60%, rgba(176,125,58,.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.hero-copy {
    max-width: 840px;
}

.hero-copy .eyebrow { color: var(--gold-warm); }
.hero-copy .eyebrow::before { background: var(--gold-warm); }

.hero-copy h1 {
    color: #fff;
    margin-bottom: 1.4rem;
    line-height: 1.05;
    text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.hero-body {
    color: var(--light-text) !important;
    font-size: 1.06rem;
    max-width: 46rem;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-md);
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
}

.stat-card {
    padding: 1.5rem 1.25rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.22s ease;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(255,255,255,0.05); }

.stat-card strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--gold-warm);
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat-card span {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: var(--lighter-text);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Hero media */
.hero-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.hero-pill-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.hero-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.45rem 1rem;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.88);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
}

.hero-pill-1 { background: rgba(176,125,58,0.22); border-color: rgba(176,125,58,0.32); }
.hero-pill-2 { background: rgba(255,255,255,0.07); }
.hero-pill-3 { background: rgba(18,34,64,0.6); }

.hero-badge {
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    display: inline-block;
}

.hero-badge-static { position: static; }

.hero-credit {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}
.hero-credit a {
    color: var(--gold-pale);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.hero-certifications { margin-top: 2rem; }
.hero-certifications-title {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero-certification-list { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-certification {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    max-width: 128px;
    text-align: center;
}
.hero-certification-circle {
    display: inline-grid;
    place-items: center;
    min-width: 68px;
    min-height: 68px;
    max-width: 116px;
    padding: 0.45rem 0.6rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
}
.hero-certification-circle img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 56px;
    border-radius: 12px;
    object-fit: contain;
}
.hero-certification figcaption {
    color: rgba(255,255,255,0.72);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ─── Page Hero ─────────────────────────────────────────────── */
.page-hero {
    padding: 5rem 0 4rem;
}

.page-hero-light {
    background:
        radial-gradient(circle at top right, rgba(176,125,58,0.10), transparent 30%),
        linear-gradient(170deg, var(--off-white) 0%, var(--white) 100%);
}

.page-hero-shell {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 0.85fr);
    gap: 3rem;
    align-items: center;
}

.page-hero-copy { max-width: 44rem; }
.page-hero-copy h1 { margin-bottom: 1.1rem; }
.page-intro { font-size: 1.04rem; line-height: 1.88; }

.page-hero-media {
    min-height: 420px;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(12,26,46,0.07);
}
.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-media-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
}
.page-hero-card {
    max-width: 22rem;
    padding: 2rem;
    border-radius: var(--r-lg);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}
.page-hero-card strong {
    display: block;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.1;
}

/* ─── Page Link Grid ─────────────────────────────────────────── */
.page-link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.page-link-card {
    display: grid;
    gap: 0.7rem;
    padding: 1.75rem;
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease), border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}
.page-link-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.26s ease;
}
.page-link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.page-link-card:hover::before { opacity: 1; }

.page-link-card:nth-child(1) { background: linear-gradient(145deg, rgba(27,74,138,0.04) 0%, var(--white) 55%); }
.page-link-card:nth-child(2) { background: linear-gradient(145deg, rgba(13,91,69,0.04) 0%, var(--white) 55%); }
.page-link-card:nth-child(3) { background: linear-gradient(145deg, rgba(176,125,58,0.06) 0%, var(--white) 55%); }
.page-link-card:nth-child(4) { background: linear-gradient(145deg, rgba(107,45,139,0.04) 0%, var(--white) 55%); }
.page-link-card:nth-child(5) { background: linear-gradient(145deg, rgba(26,77,92,0.04) 0%, var(--white) 55%); }

.page-link-kicker {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.page-link-card strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.page-link-card p { font-size: 0.875rem; color: var(--body-text); }
.page-link-card:hover strong { color: var(--navy-mid); }

/* ─── Sections ──────────────────────────────────────────────── */
.section {
    padding: 7rem 0;
}
.section-alt {
    background: var(--off-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 7rem 0;
}
.section-dark {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
}
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 55% 85% at 0% 100%, rgba(176,125,58,.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 100% 0%, rgba(18,34,64,0.6) 0%, transparent 55%);
    pointer-events: none;
}

.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-dark .eyebrow { color: var(--gold-warm); }
.section-dark .eyebrow::before { background: var(--gold-warm); }
.section-dark p { color: rgba(255,255,255,0.50); }

.section-heading {
    max-width: 52rem;
    margin-bottom: 3.5rem;
}
.section-heading.narrow { max-width: 36rem; }
.section-heading p { margin-top: 1rem; font-size: 1.04rem; }
.section-heading.centred {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.content-stack { display: grid; gap: 1.5rem; }

.page-section-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* ─── Trust Strip ───────────────────────────────────────────── */
.trust-strip {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 6rem 0;
}

.trust-strip .container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 6rem;
    align-items: start;
}

.trust-strip .section-heading {
    position: sticky;
    top: calc(var(--nav-h) + 2.5rem);
    max-width: none;
    margin-bottom: 0;
}

.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 3rem 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    transition: opacity 0.22s ease;
}
.feature-card:last-child { padding-bottom: 0; }
.feature-card:hover { transform: none; box-shadow: none; border-color: transparent; }

.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 52px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold) 0%, rgba(176,125,58,0.15) 70%, transparent 100%);
    z-index: 0;
}

.feature-card::before,
.feature-card:nth-child(1)::before,
.feature-card:nth-child(2)::before,
.feature-card:nth-child(3)::before,
.feature-card:nth-child(4)::before,
.feature-card:nth-child(5)::before,
.feature-card:nth-child(6)::before { display: none !important; }

.feature-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: var(--navy);
    margin-bottom: 0;
    font-size: 0;
    color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
.feature-card:hover .feature-index { transform: scale(1.06); box-shadow: var(--shadow-md); }

.feature-card p {
    color: var(--body-text);
    font-size: 0.97rem;
    line-height: 1.82;
    padding-top: 0.7rem;
    flex: 1;
}

.feature-card:nth-child(1) .feature-index {
    background-color: #1B4A8A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E");
}
.feature-card:nth-child(2) .feature-index {
    background-color: #0D5B45;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l7 4v5c0 4.1-3.2 7.9-7 9-3.8-1.1-7-4.9-7-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
.feature-card:nth-child(3) .feature-index {
    background-color: #6B2D8B;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cline x1='22' y1='12' x2='18' y2='12'/%3E%3Cline x1='6' y1='12' x2='2' y2='12'/%3E%3Cline x1='12' y1='2' x2='12' y2='6'/%3E%3Cline x1='12' y1='18' x2='12' y2='22'/%3E%3C/svg%3E");
}
.feature-card:nth-child(4) .feature-index {
    background-color: #8B3A1A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a7 7 0 0 1 5 11.74V17H7v-3.26A7 7 0 0 1 12 2z'/%3E%3Cpath d='M9 21h6M10 17v-1h4v1'/%3E%3C/svg%3E");
}
.feature-card:nth-child(5) .feature-index {
    background-color: #1A4D5C;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
}
.feature-card:nth-child(6) .feature-index {
    background-color: #7A5C20;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

/* ─── Services ─────────────────────────────────────────────── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-xs);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-line);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.service-card:hover::before { opacity: 1; }

.service-card:nth-child(1) { background: linear-gradient(145deg, rgba(27,74,138,0.04) 0%, var(--white) 55%); }
.service-card:nth-child(1)::before { background: linear-gradient(to bottom, #1B4A8A, #2D6CB8); }
.service-card:nth-child(2) { background: linear-gradient(145deg, rgba(13,91,69,0.04) 0%, var(--white) 55%); }
.service-card:nth-child(2)::before { background: linear-gradient(to bottom, #0D5B45, #18856A); }
.service-card:nth-child(3) { background: linear-gradient(145deg, rgba(107,45,139,0.04) 0%, var(--white) 55%); }
.service-card:nth-child(3)::before { background: linear-gradient(to bottom, #6B2D8B, #9440B8); }
.service-card:nth-child(4) { background: linear-gradient(145deg, rgba(176,125,58,0.06) 0%, var(--white) 55%); }
.service-card:nth-child(4)::before { background: linear-gradient(to bottom, var(--gold), var(--gold-warm)); }
.service-card:nth-child(5) { background: linear-gradient(145deg, rgba(139,58,26,0.04) 0%, var(--white) 55%); }
.service-card:nth-child(5)::before { background: linear-gradient(to bottom, #8B3A1A, #C0562A); }
.service-card:nth-child(6) { background: linear-gradient(145deg, rgba(26,77,92,0.04) 0%, var(--white) 55%); }
.service-card:nth-child(6)::before { background: linear-gradient(to bottom, #1A4D5C, #26778F); }

.service-kicker {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.service-card p { font-size: 0.9rem; line-height: 1.78; }

/* ─── About / Split ─────────────────────────────────────────── */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5.5rem;
    align-items: center;
}

.section-media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 500px;
    position: relative;
    border: 1px solid var(--border);
}
.section-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    transition: transform 0.8s var(--ease);
}
.section-media:hover img { transform: scale(1.03); }

.section-media-fallback {
    display: grid;
    place-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
}
.section-media-placeholder {
    max-width: 22rem;
    text-align: left;
}
.section-media-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 2px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--gold-pale);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.section-media-placeholder strong {
    display: block;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.section-media-placeholder p { color: rgba(255,255,255,0.68); font-size: 0.96rem; }

.section-copy { max-width: 520px; }

.check-list {
    margin: 1.8rem 0 0;
    display: grid;
    gap: 0.8rem;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.91rem;
    line-height: 1.65;
}
.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--gold-pale);
    margin-top: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5 3.5-4' stroke='%23B07D3A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgba(176,125,58,.22);
}

/* ─── Process ───────────────────────────────────────────────── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 2.2rem;
    left: calc(12.5% + 0.75rem);
    right: calc(12.5% + 0.75rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176,125,58,0.25) 25%, rgba(176,125,58,0.25) 75%, transparent);
    z-index: 0;
}

.process-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.25rem 1.5rem 1.75rem;
    box-shadow: var(--shadow-xs);
    position: relative;
    z-index: 1;
    text-align: center;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-warm);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.process-card h3 { margin-bottom: 0.6rem; font-size: 1rem; color: var(--navy) !important; }
.process-card p { font-size: 0.87rem; color: var(--body-text) !important; }

/* ─── Team ──────────────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.team-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 56px rgba(0,0,0,.28), 0 0 0 1px rgba(176,125,58,.14);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.12);
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    filter: brightness(0.9) saturate(0.85);
}
.team-card:hover img { transform: scale(1.18); filter: brightness(0.95) saturate(0.92); }

.team-card-media { width: 100%; height: 300px; }
.team-card-media-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
}
.team-card-initials {
    display: inline-grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.07);
    color: var(--gold-pale);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.team-card-body { padding: 1.5rem; }
.team-card-body span {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold-warm) !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}
.team-card-body h3 {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.team-card-body p { color: rgba(255,255,255,0.48) !important; font-size: 0.86rem; }

.team-card-light {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.team-card-light:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-line); }
.team-card-light img { filter: brightness(0.97) saturate(0.9); }
.team-card-light:hover img { filter: brightness(1) saturate(1); }
.team-card-body-light { background: var(--white); }
.team-card-body-light span { color: var(--gold) !important; }
.team-card-body-light h3 { color: var(--navy) !important; }
.team-card-body-light p { color: var(--body-text) !important; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-shell {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: start;
}
.faq-list { display: grid; gap: 0.6rem; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: rgba(176,125,58,.20);
}
.faq-item summary {
    padding: 1.15rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--navy);
    user-select: none;
    transition: background 0.18s ease;
}
.faq-item summary:hover { background: var(--off-white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 400;
    display: grid;
    place-items: center;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.faq-item[open] summary::after {
    content: '−';
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}
.faq-item p {
    padding: 1rem 1.5rem 1.3rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-light);
    color: var(--body-text);
}

/* ─── CTA Band ──────────────────────────────────────────────── */
.cta-band {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 130% at 100% 50%, rgba(176,125,58,.09) 0%, transparent 60%),
        radial-gradient(ellipse 40% 80% at 0% 50%, rgba(18,34,64,0.5) 0%, transparent 55%);
    pointer-events: none;
}
.cta-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}
.cta-shell .eyebrow { color: var(--gold-warm); }
.cta-shell .eyebrow::before { background: var(--gold-warm); }
.cta-shell h2 { color: #fff; max-width: 36rem; margin-bottom: 0.75rem; }
.cta-shell > div > p { color: rgba(255,255,255,0.52) !important; max-width: 32rem; }

/* ─── Contact ───────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5.5rem;
    align-items: start;
}
.contact-copy .eyebrow { color: var(--gold); }
.contact-copy h2 { margin-bottom: 0.9rem; }
.contact-copy > p { font-size: 0.97rem; }

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.contact-list p { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-list strong {
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.contact-list a, .contact-list span { font-size: 0.94rem; color: var(--body-text); }
.contact-list a:hover { color: var(--gold); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1.25rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(176,125,58,.10);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--subtle); }
.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.contact-form textarea { resize: vertical; min-height: 110px; }

.form-alert {
    padding: 0.9rem 1.2rem;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}
.form-alert.success {
    background: rgba(21,128,61,0.08);
    border: 1px solid rgba(21,128,61,0.22);
    color: #15803D;
}
.form-alert.error {
    background: rgba(153,27,27,0.07);
    border: 1px solid rgba(153,27,27,0.20);
    color: #991B1B;
}

/* ─── Detail Grid (page-level cards) ───────────────────────── */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { max-width: 280px; }
.footer-brand strong, .footer-brand-logo {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 0.9rem;
}
.footer-brand-logo {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    font-size: 0;
}
.footer-brand p {
    color: rgba(255,255,255,0.42) !important;
    font-size: 0.875rem;
    line-height: 1.75;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-end;
}
.footer-links a {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.46);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}
.footer-links a:hover,
.footer-links a.is-active { color: var(--gold-warm); }

.footer-copy {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.24);
    margin-top: 2rem;
    letter-spacing: 0.03em;
}

/* ─── Team Feature Grid ─────────────────────────────────────── */
.team-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ─── Inline brand for page hero cards ─────────────────────── */
.page-link-card strong { font-size: 1.5rem; }

/* ─── Contact section (from includes/contact-section.php) ──── */
.contact-section { padding: 7rem 0; }

/* ================================================================
   ADMIN — Professional CMS Dashboard
   ================================================================ */

.admin-body {
    background: #F0EEE9;
    color: var(--ink);
    min-height: 100vh;
}

/* ─── Admin Header ──────────────────────────────────────────── */
.admin-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 2px 16px rgba(0,0,0,0.28);
}

.admin-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--admin-bar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.admin-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--r-xs);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--gold-warm);
    flex-shrink: 0;
}
.admin-brand-mark-image { padding: 0.18rem; }

.admin-brand-logo {
    max-width: 100%;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.admin-brand > div strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.admin-brand > div span {
    display: block;
    font-size: 0.66rem;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1px;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.admin-nav .button {
    height: 36px;
    padding: 0 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    border-radius: var(--r-xs);
    text-transform: uppercase;
}
.admin-nav .button-outline {
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.72);
    background: transparent;
}
.admin-nav .button-outline:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.32);
    color: #fff;
    transform: none;
    box-shadow: none;
}
.admin-nav .button-primary {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: none;
}
.admin-nav .button-primary:hover {
    background: #9A6C28;
    border-color: #9A6C28;
    transform: none;
}

/* ─── Section Jump Navigation ────────────────────────────────── */
.admin-section-jump-wrap {
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.admin-section-jump-wrap::-webkit-scrollbar { display: none; }

.admin-section-jump {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 0;
    align-items: center;
    min-height: 44px;
}

.admin-section-link {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.44);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
    text-decoration: none;
}
.admin-section-link:hover {
    color: rgba(255,255,255,0.85);
    border-bottom-color: var(--gold);
}

/* ─── Admin Page Wrapper ─────────────────────────────────────── */
.admin-page {
    max-width: 1400px;
    padding: 2.5rem 2rem 4rem;
}

.admin-flash {
    margin-bottom: 1.75rem;
    border-radius: var(--r-md);
}

/* ─── Admin Login ────────────────────────────────────────────── */
.admin-login-wrap {
    min-height: calc(100vh - var(--admin-bar));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(176,125,58,0.07), transparent 55%);
}

.admin-login-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.admin-login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
.admin-login-logo .admin-brand-mark {
    width: 56px;
    height: 56px;
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: var(--r-sm);
    background: var(--navy);
    border: none;
    color: var(--gold-warm);
}
.admin-login-logo .admin-brand-mark-image {
    padding: 0.3rem;
}

.admin-login-card h1 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.admin-login-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted) !important;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}
.admin-login-note code {
    background: var(--warm-gray);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8em;
    color: var(--navy);
    font-weight: 600;
}

.admin-login-form { display: grid; gap: 1.1rem; }

/* ─── Admin CMS Grid ─────────────────────────────────────────── */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.75rem;
    align-items: start;
}

.admin-form { min-width: 0; }

/* ─── Admin Section Cards ────────────────────────────────────── */
.admin-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin-bottom: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    scroll-margin-top: calc(var(--admin-bar) + 44px + 1.5rem);
}

.admin-section-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(to right, var(--off-white), var(--white));
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.admin-section-header h2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.admin-section-tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--subtle);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--warm-gray);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.admin-badge {
    background: var(--navy);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.admin-section-body {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

/* ─── Admin Fields ───────────────────────────────────────────── */
.admin-field { display: grid; gap: 0.35rem; }
.admin-field label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-field input,
.admin-field select,
.admin-field textarea,
.admin-login-form input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.admin-login-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(176,125,58,.09);
}
.admin-field input::placeholder,
.admin-field textarea::placeholder { color: var(--subtle); opacity: 1; }
.admin-field textarea { resize: vertical; min-height: 78px; line-height: 1.65; }
.admin-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.admin-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.admin-help-text {
    color: var(--muted) !important;
    font-size: 0.83rem;
    line-height: 1.65;
}
.admin-field-note,
.admin-asset-meta {
    color: var(--muted) !important;
    font-size: 0.8rem;
    line-height: 1.65;
}
.admin-field-note code,
.admin-asset-meta code,
.admin-help-text code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.92em;
    color: var(--navy);
    background: var(--warm-gray);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
}

/* ─── Group Labels & Repeaters ───────────────────────────────── */
.admin-group-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-top: 0.25rem;
}

.admin-repeater { display: grid; gap: 0.75rem; }

.admin-repeater-item {
    background: var(--off-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.admin-repeater-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ─── Admin Sidebar ──────────────────────────────────────────── */
.admin-sidebar {
    position: sticky;
    top: calc(var(--admin-bar) + 44px + 1.25rem);
    display: grid;
    gap: 1.25rem;
}

/* ─── Save Card ──────────────────────────────────────────────── */
.admin-save-card {
    background: var(--navy);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    display: grid;
    gap: 0.7rem;
    box-shadow: var(--shadow-md);
}

.admin-save-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
}

.admin-save-hint {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.36) !important;
    line-height: 1.55;
    margin: 0;
}

.admin-save-card .button-primary {
    background: var(--gold);
    border-color: var(--gold);
    height: 44px;
    font-size: 0.8rem;
    box-shadow: none;
}
.admin-save-card .button-primary:hover {
    background: #9A6C28;
    border-color: #9A6C28;
    transform: none;
    box-shadow: none;
}

/* ─── Admin Empty ────────────────────────────────────────────── */
.admin-empty {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.86rem;
    color: var(--muted) !important;
}

/* ─── SMTP / Inline Form ─────────────────────────────────────── */
.admin-inline-form {
    display: grid;
    gap: 1.1rem;
}

/* Enable toggle row — card treatment */
.admin-inline-form > .admin-field:has(label input[type="checkbox"]) {
    display: flex;
    align-items: center;
    background: var(--gold-pale);
    border: 1.5px solid var(--gold-line);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
}
.admin-inline-form > .admin-field:has(label input[type="checkbox"]) > label {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    user-select: none;
}

/* iOS-style pill toggle switch */
.admin-inline-form > .admin-field input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    min-width: 44px;
    height: 26px;
    border-radius: 13px;
    background: var(--border);
    position: relative;
    cursor: pointer;
    transition: background 0.22s var(--ease);
    margin: 0;
    flex-shrink: 0;
    border: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}
.admin-inline-form > .admin-field input[type="checkbox"]::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    top: 3px;
    left: 3px;
    transition: transform 0.22s var(--ease);
    box-shadow: 0 1px 5px rgba(0,0,0,0.22);
}
.admin-inline-form > .admin-field input[type="checkbox"]:checked {
    background: var(--gold);
}
.admin-inline-form > .admin-field input[type="checkbox"]:checked::after {
    transform: translateX(18px);
}
.admin-inline-form > .admin-field input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* form-row inside SMTP form */
.admin-inline-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* label wrapping text + input/select */
.admin-inline-form .form-row > label {
    display: grid;
    gap: 0.38rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.075em;
    text-transform: uppercase;
    align-content: start;
}
.admin-inline-form .form-row > label > input,
.admin-inline-form .form-row > label > select {
    display: block;
    width: 100%;
    padding: 0.62rem 0.85rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--ink);
    line-height: 1.5;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.admin-inline-form .form-row > label > input:focus,
.admin-inline-form .form-row > label > select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}
.admin-inline-form .form-row > label > input::placeholder {
    color: var(--subtle);
    opacity: 1;
    font-weight: 400;
}
.admin-inline-form .form-row > label > select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230C1A2E' stroke-opacity='.45' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.2rem;
    cursor: pointer;
}

/* Standalone .admin-field inputs inside the SMTP form (e.g. Test Email) */
.admin-inline-form > .admin-field > label:not(:has(input[type="checkbox"])) {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

/* Divider between credential groups */
.admin-inline-form .form-row + .form-row {
    padding-top: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .admin-inline-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ─── Brand Asset Cards ──────────────────────────────────────── */
.admin-brand-assets-grid { display: grid; gap: 0.85rem; }
.admin-media-card-form { display: block; }

.admin-asset-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem;
    border-radius: var(--r-md);
    background: var(--off-white);
    border: 1px solid var(--border-light);
}

.admin-asset-label {
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-asset-preview {
    display: grid;
    place-items: center;
    min-height: 110px;
    border-radius: var(--r-md);
    border: 1.5px dashed rgba(12,26,46,0.15);
    background: var(--white);
    overflow: hidden;
    padding: 1rem;
}

.admin-asset-preview-image {
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}

.admin-asset-preview-video {
    width: 100%;
    max-height: 140px;
    border-radius: var(--r-sm);
    background: var(--navy-deep);
}

.admin-asset-preview-favicon-wrap { min-height: 92px; }
.admin-asset-preview-favicon { width: 48px; height: 48px; }

.admin-asset-placeholder {
    color: var(--subtle);
    font-size: 0.86rem;
    text-align: center;
}

.admin-asset-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.admin-asset-actions .button { flex: 1 1 160px; }

/* ─── Media Library ──────────────────────────────────────────── */
.admin-library-grid { display: grid; gap: 0.85rem; }

.admin-library-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    background: var(--white);
    box-shadow: var(--shadow-xs);
}

.admin-library-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-library-chip,
.admin-library-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.admin-library-chip {
    color: var(--navy);
    background: var(--warm-gray);
}
.admin-library-status {
    color: var(--muted);
    background: var(--off-white);
    border: 1px solid var(--border);
}
.admin-library-status.is-live {
    color: #15803D;
    background: rgba(21,128,61,0.08);
    border-color: rgba(21,128,61,0.20);
}

.admin-library-preview {
    display: grid;
    place-items: center;
    min-height: 130px;
    border-radius: var(--r-md);
    border: 1.5px dashed rgba(12,26,46,0.12);
    background: var(--off-white);
    overflow: hidden;
    padding: 1rem;
}

.admin-library-title { color: var(--navy); font-size: 0.92rem; font-weight: 600; }
.admin-library-meta { color: var(--muted) !important; font-size: 0.8rem; line-height: 1.65; }

/* ─── Admin Checkbox ─────────────────────────────────────────── */
.admin-checkbox { justify-content: flex-start; }
.admin-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0;
}
.admin-checkbox input[type="checkbox"] {
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--gold);
}

/* ─── Enquiries / Lead Cards ─────────────────────────────────── */
.lead-card {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: grid;
    gap: 0.55rem;
    transition: background 0.18s ease;
}
.lead-card:last-child { border-bottom: none; }
.lead-card:hover { background: var(--off-white); }

.lead-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}
.lead-card-header strong { font-size: 0.9rem; font-weight: 700; color: var(--navy); }

.lead-card-time {
    font-size: 0.7rem;
    color: var(--subtle);
    white-space: nowrap;
    flex-shrink: 0;
}

.lead-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--body-text);
}
.lead-card-meta a { color: var(--gold); }
.lead-card-meta a:hover { text-decoration: underline; }
.lead-card-meta span { color: var(--subtle); }

.lead-card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.lead-tag {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 600;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--off-white);
    border: 1px solid var(--border);
    color: var(--navy);
    letter-spacing: 0.03em;
}
.lead-tag-gold {
    background: var(--gold-pale);
    border-color: rgba(176,125,58,.22);
    color: #7A5218;
}

.lead-card-msg {
    font-size: 0.8rem;
    color: var(--muted) !important;
    line-height: 1.65;
    padding-top: 0.25rem;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1060px) {
    .admin-page { padding: 2rem 1.5rem 4rem; }
}

@media (max-width: 960px) {
    .hero-grid,
    .split-grid,
    .contact-grid,
    .page-hero-shell,
    .team-feature-grid { grid-template-columns: 1fr; gap: 3rem; }

    .hero { padding: 0 0 5rem; min-height: auto; }
    .hero-grid { padding-top: 4rem; padding-bottom: 1rem; }
    .hero-copy { max-width: 100%; }
    .hero-media { display: none; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }

    .trust-strip .container { grid-template-columns: 1fr; gap: 3rem; }
    .trust-strip .section-heading { position: static; }
    .trust-grid { flex-direction: column; gap: 0; }

    .service-grid { grid-template-columns: 1fr; }
    .page-link-grid,
    .detail-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .team-grid { grid-template-columns: 1fr 1fr; }

    .faq-shell { grid-template-columns: 1fr; gap: 2.5rem; }

    .cta-shell { flex-direction: column; align-items: flex-start; gap: 2rem; }

    .footer-grid { flex-direction: column; gap: 2.5rem; }
    .footer-links { align-items: flex-start; }

    .admin-grid { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
    .admin-library-card-head { align-items: flex-start; flex-direction: column; }
    .admin-field-row { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .admin-header-inner { flex-wrap: wrap; height: auto; padding: 0.75rem 1.5rem; }
    .admin-nav { width: 100%; flex-wrap: wrap; gap: 0.4rem; }
    .admin-section-jump-wrap { padding-bottom: 0.5rem; }
}

@media (max-width: 640px) {
    .section,
    .section-alt,
    .section-dark,
    .trust-strip,
    .cta-band { padding: 4.5rem 0; }

    h1 { font-size: clamp(2.2rem, 9.5vw, 3rem); }
    h2 { font-size: clamp(1.75rem, 7vw, 2.6rem); }

    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: var(--shadow-md);
        z-index: 200;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { width: 100%; padding: 0.65rem 0.9rem; font-size: 0.9rem; }
    .site-nav a::after { display: none; }
    .site-nav .nav-cta {
        width: 100%;
        margin-top: 0.5rem;
        margin-left: 0;
        height: 44px;
        justify-content: center;
        text-align: center;
    }

    .hero-stats { grid-template-columns: 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stat-card:last-child { border-bottom: none; }

    .team-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 3.5rem 0 2.5rem; }
    .page-hero-media { min-height: 280px; }
    .contact-form { padding: 1.5rem; }
    .contact-grid { gap: 2.5rem; }
    .cta-band { padding: 3.5rem 0; }

    .admin-section-link { padding: 0 0.7rem; font-size: 0.65rem; }
    .admin-page { padding: 1.5rem 1rem 3rem; }
}
