/* ==========================================================================
   Brooke Veritas & Associates CPAK — Stylesheet
   Brand palette only. No gradients. Mobile-first. Accessible.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --navy: #05193E;
    --navy-90: rgba(5, 25, 62, 0.90);
    --navy-80: rgba(5, 25, 62, 0.80);
    --gold: #B48E3C;
    --gold-light: #D9BE7C;
    --white: #FFFFFF;
    --gray: #F4F3EA;
    --gray-2: #ECEAE0;
    --ink: #05193E;
    --ink-soft: #2A3A5A;
    --muted: #5C6680;
    --line: #E2DFD2;
    --line-navy: rgba(180, 142, 60, 0.35);

    --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --container: 1180px;
    --gutter: 24px;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 2px rgba(5, 25, 62, 0.06);
    --shadow: 0 6px 24px rgba(5, 25, 62, 0.08);
    --shadow-lg: 0 18px 50px rgba(5, 25, 62, 0.12);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -0.01em; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.section { padding: 84px 0; }
.section-tinted { background: var(--gray); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head-light .section-eyebrow,
.section-head-light .section-title,
.section-head-light .section-lead { color: var(--white); }
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.section-eyebrow-light { color: var(--gold-light); }
.section-title { font-size: clamp(28px, 4vw, 42px); }
.section-lead { font-size: 18px; color: var(--muted); margin-top: 14px; }
.section-foot { text-align: center; margin-top: 48px; }
.prose { font-size: 18px; color: var(--ink-soft); margin-bottom: 1.2em; }
.prose strong { color: var(--navy); font-weight: 600; }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: var(--white);
    padding: 10px 18px;
    z-index: 1000;
    font-size: 14px;
    border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .22s var(--ease);
    text-align: center;
    line-height: 1.1;
}
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-navy-large { background: var(--navy); color: var(--white); border-color: var(--navy); padding: 18px 36px; font-size: 16px; }
.btn-navy-large:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-submit { width: 100%; padding: 17px 28px; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--navy); }
.brand:hover { color: var(--navy); }

/* Logo fills the full navigation bar height; width is free (driven by aspect ratio)
   and scales down on narrow screens to stay responsive. */
.brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: var(--header-h);
    max-width: 100%;
    object-fit: contain;
}

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 10px 14px;
    border-radius: var(--radius);
    position: relative;
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a.is-active { color: var(--navy); }
.primary-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--gold);
}
.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 11px 22px !important;
    margin-left: 10px;
    border: 1.5px solid var(--navy);
}
.nav-cta:hover { background: var(--gold) !important; border-color: var(--gold) !important; }
.nav-cta.is-active::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Flash ---------- */
.flash { background: var(--navy); color: var(--white); border-bottom: 2px solid var(--gold); }
.flash-error { background: #7a1f1f; border-bottom-color: #d9a3a3; }
.flash-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
    font-size: 15px;
}
.flash-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}
.flash-error .flash-icon { background: #d9a3a3; color: #7a1f1f; }
.flash-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    padding: 2px 6px;
    opacity: 0.7;
}
.flash-close:hover { opacity: 1; color: var(--white); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    padding: 96px 0 88px;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='%23B48E3C' stroke-width='0.5' opacity='0.12'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero-content { min-width: 0; }
.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 22px;
}
.hero-firm {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
    color: var(--white);
    display: block;
}
.hero-tagline {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(20px, 3vw, 28px);
    color: var(--gold-light);
    margin: 22px 0 30px;
    letter-spacing: 0.02em;
}
.hero-pillars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}
.hero-pillar {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    padding: 8px 18px;
    border: 1px solid rgba(217, 190, 124, 0.5);
    border-radius: 2px;
}
.pillar-sep { color: var(--gold); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero media — framed photo on the navy hero */
.hero-media { position: relative; }
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(217, 190, 124, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    object-fit: cover;
}

/* ---------- Commitment ---------- */
.section-commitment { padding: 72px 0; }
.commitment { max-width: 820px; margin: 0 auto; text-align: center; }
.commitment .section-eyebrow { display: block; }
.commitment-quote {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(22px, 3.4vw, 34px);
    line-height: 1.4;
    color: var(--navy);
    margin: 8px 0 22px;
    padding: 0;
    border: none;
    position: relative;
}
.commitment-quote::before,
.commitment-quote::after {
    display: block;
    width: 48px; height: 2px;
    background: var(--gold);
    margin: 24px auto;
    content: "";
}
.commitment-mission { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--line-navy);
}
.service-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
    background: var(--gray);
}
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-body { padding: 26px 28px 30px; flex: 1; }
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    background: var(--gray);
    color: var(--navy);
    border-radius: var(--radius);
    margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card-title { font-size: 20px; margin-bottom: 10px; }
.service-card-text { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Why strip (home) ---------- */
.why-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.why-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    color: var(--gold);
    margin-bottom: 16px;
}
.why-icon svg { width: 30px; height: 30px; }
.why-item-title { font-size: 17px; margin-bottom: 10px; }
.why-item-text { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Audience ---------- */
.section-audience { background: var(--navy); color: var(--white); }
.section-audience .section-title { color: var(--white); }
.audience-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}
.audience-chip {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--white);
    padding: 12px 26px;
    border: 1px solid rgba(217, 190, 124, 0.45);
    border-radius: 2px;
    background: rgba(255,255,255,0.03);
}
.audience-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.audience-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    text-align: center;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audience-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}
.audience-card-title { font-size: 17px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); padding: 64px 0; }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.cta-title { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); max-width: 640px; }
.cta-lead { font-size: 17px; color: var(--navy-80); margin: 12px 0 0; max-width: 560px; }
.cta-action { flex-shrink: 0; }

/* ---------- Page header ---------- */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 72px 0 64px;
    border-bottom: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='%23B48E3C' stroke-width='0.5' opacity='0.12'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
}
.page-header .container { position: relative; }
.page-title { font-size: clamp(30px, 5vw, 48px); color: var(--white); }
.page-subtitle { font-size: 18px; color: var(--gold-light); margin-top: 16px; max-width: 680px; }

/* ---------- Two column (about) ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 56px;
    align-items: start;
}
.two-col-main .section-eyebrow { display: block; margin-bottom: 14px; }
.two-col-main .section-title { margin-bottom: 22px; }
.two-col-aside { display: flex; flex-direction: column; gap: 24px; }
.aside-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background: var(--gray);
}
.aside-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.credential-card {
    background: var(--gray);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
}
.credential-mark { display: inline-flex; margin-bottom: 18px; }
.credential-title {
    font-family: var(--font-head);
    font-size: 30px;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.credential-text { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.credential-note { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Specialist cards ---------- */
.specialist-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
    display: flex;
    flex-direction: column;
}
.specialist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.specialist-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray);
}
.specialist-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}
.specialist-card:hover .specialist-media img { transform: scale(1.05); }
.specialist-body { padding: 28px 28px 30px; flex: 1; }
.specialist-number {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.specialist-title { font-size: 20px; margin-bottom: 12px; }
.specialist-text { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- KRA band ---------- */
.kra-band {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}
.kra-content .section-eyebrow { display: block; margin-bottom: 14px; }
.kra-content .section-title { margin-bottom: 20px; }
.kra-content .btn { margin-top: 22px; }
.kra-media {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}
.kra-figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--gray);
    position: relative;
}
.kra-figure:nth-child(1) { grid-row: 1 / span 2; }
.kra-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}
.kra-figure:hover img { transform: scale(1.05); }

/* ---------- Extended list ---------- */
.extended-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 32px;
    max-width: 980px;
    margin: 0 auto;
}
.extended-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.extended-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}
.extended-name { font-size: 15.5px; color: var(--ink-soft); font-weight: 500; }

/* ---------- Why grid (page) ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
    display: flex;
    flex-direction: column;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray);
}
.why-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}
.why-card:hover .why-card-media img { transform: scale(1.05); }
.why-card-body { padding: 28px 28px 30px; flex: 1; }
.why-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.why-icon-lg {
    width: 52px; height: 52px;
    background: var(--gray);
    color: var(--navy);
    border-radius: var(--radius);
}
.why-icon-lg svg { width: 28px; height: 28px; }
.why-index {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.7;
}
.why-card-title { font-size: 20px; margin-bottom: 10px; }
.why-card-text { font-size: 15px; color: var(--muted); margin: 0 0 18px; line-height: 1.6; }
.why-card-cta {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 30px;
}
.why-card-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card-cta .why-card-title { color: var(--white); }
.why-card-cta .why-card-text { color: rgba(255,255,255,0.78); }

/* ---------- Contact layout ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background: var(--gray);
    margin-bottom: 24px;
    aspect-ratio: 16 / 10;
}
.contact-aside-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.contact-aside .section-eyebrow { display: block; margin-bottom: 12px; }
.contact-aside .section-title { margin-bottom: 14px; }
.contact-channels { margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--gray);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
}
.channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}
.channel-icon-wa { background: #25D366; color: var(--white); }
.channel-body { display: flex; flex-direction: column; }
.channel-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.channel-value { font-size: 16px; font-weight: 600; color: var(--navy); word-break: break-word; }
.channel-value:hover { color: var(--gold); }
.contact-note {
    margin-top: 24px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px dashed var(--line-navy);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--muted);
}
.contact-note p { margin: 0; }

/* ---------- Form ---------- */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
}
.form-head { margin-bottom: 28px; }
.form-head .section-eyebrow { display: block; margin-bottom: 10px; }
.form-head .section-title { font-size: 26px; }
.form-head .section-lead { font-size: 15.5px; margin-top: 10px; }
.consult-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-bottom: 8px;
}
.req { color: var(--gold); }
.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 14px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9aa0ad; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(180, 142, 60, 0.15);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
    border-color: #b3261e;
    box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
.form-field select { appearance: none; 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 fill='%2305193E' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }
.form-actions { margin-top: 8px; }
.form-fineprint { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); margin-top: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 72px var(--gutter) 48px;
    max-width: var(--container);
    margin: 0 auto;
}
.footer-logo-wrap {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 16px;
    margin-bottom: 22px;
}
.brand-logo-footer {
    display: block;
    width: auto;
    height: auto;
    max-height: 56px;
    max-width: 220px;
    object-fit: contain;
}
.footer-tagline {
    font-family: var(--font-head);
    font-style: italic;
    color: var(--gold-light);
    font-size: 18px;
    margin: 22px 0 6px;
}
.footer-positioning { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; }
.footer-heading {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 15px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
}
.footer-contact-link:hover { color: var(--gold-light); }
.fc-icon { color: var(--gold); font-size: 16px; flex-shrink: 0; }
.footer-cta {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-light);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}
.footer-cta:hover { color: var(--white); border-color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.footer-credential { color: var(--gold-light); }

/* ---------- Floating actions ---------- */
.floating-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 90;
}
.float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
    border: 2px solid var(--white);
}
.float-btn:hover { transform: scale(1.08); }
.float-whatsapp { background: #25D366; }
.float-whatsapp:hover { background: #1da851; color: var(--white); }
.float-call { background: var(--navy); }
.float-call:hover { background: var(--gold); color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---- Large tablets / small laptops ---- */
@media (max-width: 1024px) {
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .why-strip { grid-template-columns: repeat(3, 1fr); }
    .audience-grid { grid-template-columns: repeat(3, 1fr); }
    .extended-list { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ---- Tablets ---- */
@media (max-width: 860px) {
    .section { padding: 64px 0; }
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px var(--gutter) 28px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .primary-nav a {
        padding: 15px 8px;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }
    .primary-nav a.is-active::after { display: none; }
    .primary-nav a.is-active { border-left: 3px solid var(--gold); padding-left: 12px; }
    .nav-cta {
        margin: 14px 0 0;
        text-align: center;
        border-bottom: none !important;
        padding: 15px 22px !important;
    }

    .two-col { grid-template-columns: 1fr; gap: 36px; }
    .credential-card { position: static; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-media { max-width: 440px; }
    .kra-band { grid-template-columns: 1fr; gap: 32px; }
    .kra-media { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .kra-figure:nth-child(1) { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
    .kra-figure { aspect-ratio: 4 / 3; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-aside { position: static; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobile ---- */
@media (max-width: 620px) {
    :root { --gutter: 18px; }
    body { font-size: 16px; }
    .section { padding: 52px 0; }
    .section-head { margin-bottom: 40px; }
    .card-grid-3 { grid-template-columns: 1fr; }
    .why-strip { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr 1fr; }
    .extended-list { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .hero { padding: 72px 0 64px; }
    .hero-pillars { gap: 10px; }
    .hero-pillar { padding: 7px 14px; font-size: 12px; }
    .pillar-sep { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-media { max-width: 100%; }
    .hero-image { max-height: 380px; }
    .kra-media { grid-template-columns: 1fr; }
    .kra-figure:nth-child(1) { grid-column: auto; aspect-ratio: 16 / 10; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-action { width: 100%; }
    .cta-action .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; gap: 18px; }
    .contact-form-wrap { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 52px var(--gutter) 36px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .floating-actions { right: 16px; bottom: 16px; gap: 12px; }
    .float-btn { width: 52px; height: 52px; }
    .commitment-quote::before, .commitment-quote::after { width: 36px; margin: 18px auto; }
}

/* ---- Small mobile ---- */
@media (max-width: 380px) {
    .audience-grid { grid-template-columns: 1fr; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .service-card:hover, .why-item:hover, .why-card:hover, .audience-card:hover, .specialist-card:hover { transform: none; }
}

/* ---- Print ---- */
@media print {
    .site-header, .floating-actions, .cta-band, .nav-toggle, .flash { display: none; }
    .hero, .page-header { background: var(--white) !important; color: var(--navy) !important; }
    .hero-firm, .page-title { color: var(--navy) !important; }
}
