/* ==========================================================================
   Robust HR — Design System
   Premium, practical HR & psychosocial risk consultancy (Perth, WA)
   Palette: Navy dominant, Coral CTA, Cream/white space, Grey borders, Teal accents
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    /* Brand palette */
    --navy:        #172A3A;
    --navy-900:    #0F1E2A;
    --navy-700:    #21384B;
    --navy-600:    #2C475E;
    --coral:       #E36B5D;
    --coral-dark:  #C9554A;
    --coral-soft:  #F4C7C1;
    --cream:       #F7F4EF;
    --cream-2:     #FBF9F5;
    --grey:        #D8DEE4;
    --grey-line:   #E4E8EC;
    --teal:        #2E8C8C;
    --teal-dark:   #246E6E;
    --white:       #FFFFFF;

    /* Text */
    --ink:         #172A3A;
    --ink-soft:    #41525E;
    --ink-muted:   #6B7884;
    --on-dark:     #F7F4EF;
    --on-dark-soft:#B9C4CD;

    /* Typography */
    --font-head: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* Spacing scale */
    --container: 1180px;
    --container-narrow: 880px;
    --gap: 1.5rem;
    --section-y: clamp(3.5rem, 7vw, 6.5rem);

    /* Radius & shadow */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(23, 42, 58, 0.06);
    --shadow-md: 0 10px 30px rgba(23, 42, 58, 0.10);
    --shadow-lg: 0 24px 60px rgba(23, 42, 58, 0.16);

    --header-h: 88px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.15;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--ink-soft); }
p + p { margin-top: 1rem; }
strong { color: var(--navy); font-weight: 600; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: var(--coral);
    display: inline-block;
}
.eyebrow.on-dark { color: var(--coral-soft); }
.eyebrow.on-dark::before { background: var(--coral); }
.eyebrow.teal { color: var(--teal); }
.eyebrow.teal::before { background: var(--teal); }

.lead { font-size: 1.18rem; color: var(--ink-soft); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }
section { position: relative; }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

.bg-cream { background: var(--cream); }
.bg-cream-2 { background: var(--cream-2); }
.bg-navy { background: var(--navy); color: var(--on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: var(--on-dark-soft); }
.bg-grey-soft { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow.center,
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 0.85rem; font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.95rem 1.6rem;
    border-radius: var(--r-sm);
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
    line-height: 1;
    text-align: center;
    border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(227, 107, 93, 0.30); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(227, 107, 93, 0.38); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(247,244,239,0.4); color: var(--on-dark); }
.btn-ghost-light:hover { background: rgba(247,244,239,0.10); border-color: var(--on-dark); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    background: rgba(247, 244, 239, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: height 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
    height: 70px;
    background: rgba(247, 244, 239, 0.98);
    border-bottom-color: var(--grey-line);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    width: min(100% - 2.5rem, 1280px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img, .brand svg { height: 44px; width: auto; }
.site-header.scrolled .brand img, .site-header.scrolled .brand svg { height: 38px; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 0.35rem; }
.primary-nav > li { position: relative; }
.primary-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--navy);
    padding: 0.6rem 0.85rem;
    border-radius: var(--r-sm);
    transition: color 0.2s, background 0.2s;
}
.primary-nav > li > a:hover,
.primary-nav > li > a[aria-current="page"] { color: var(--coral); }
.primary-nav .caret { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.has-dropdown:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
    z-index: 50;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
    display: block;
    padding: 0.55rem 0.7rem;
    border-radius: var(--r-sm);
    font-size: 0.92rem;
    color: var(--ink-soft);
    transition: background 0.18s, color 0.18s;
}
.dropdown-panel a strong { display: block; font-family: var(--font-head); color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.dropdown-panel a:hover { background: var(--cream); color: var(--navy); }
.dropdown-panel a:hover strong { color: var(--coral); }
.dropdown-foot { border-top: 1px solid var(--grey-line); margin-top: 0.4rem; padding-top: 0.4rem; }
.dropdown-foot a { color: var(--coral); font-weight: 600; font-family: var(--font-head); font-size: 0.9rem; }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-cta .tel {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--navy);
    white-space: nowrap;
}
.header-cta .tel svg { width: 16px; height: 16px; }

/* Hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.hamburger span, .hamburger span::before, .hamburger span::after {
    content: ""; display: block; width: 24px; height: 2px; background: var(--navy);
    border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger span { position: relative; }
.hamburger span::before { position: absolute; top: -7px; }
.hamburger span::after { position: absolute; top: 7px; }
body.menu-open .hamburger span { background: transparent; }
body.menu-open .hamburger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--cream);
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    padding: 1.5rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-head); color: var(--navy); padding: 0.85rem 0.25rem; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--grey-line); }
.mobile-menu .m-sub { font-size: 0.95rem; color: var(--ink-soft); padding-left: 1rem; font-weight: 400; }
.mobile-menu .m-group-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); padding: 1.2rem 0.25rem 0.3rem; font-family: var(--font-head); font-weight: 600; border: none; }
.mobile-menu .btn { margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--on-dark);
    padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(46,140,140,0.18), transparent 60%),
        radial-gradient(700px 500px at 100% 110%, rgba(227,107,93,0.16), transparent 55%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: var(--on-dark-soft); margin-top: 1.25rem; max-width: 38ch; }
.hero .btn-group { margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; margin-top: 2.25rem; }
.hero-trust .chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: rgba(247,244,239,0.07);
    border: 1px solid rgba(247,244,239,0.16);
    border-radius: 100px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    color: var(--on-dark-soft);
}
.hero-trust .chip svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }

/* Hero brand panel (abstract) */
.hero-panel {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-lg);
    background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
    border: 1px solid rgba(247,244,239,0.10);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.hero-panel svg { width: 78%; height: auto; }
.hero-panel--photo { background: var(--navy-900); }
.hero-panel--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: var(--r-md);
    padding: 1.6rem;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--grey); }

/* Service card */
.service-card { position: relative; }
.service-card .icon {
    width: 52px; height: 52px;
    border-radius: var(--r-sm);
    background: rgba(227,107,93,0.10);
    color: var(--coral);
    display: grid; place-items: center;
    margin-bottom: 1.1rem;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card.teal .icon { background: rgba(46,140,140,0.12); color: var(--teal); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.96rem; flex-grow: 1; }
.service-card .more {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 1.1rem; color: var(--coral); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
}
.service-card .more svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.service-card:hover .more svg { transform: translateX(4px); }

/* Feature blocks (small pill-cards) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature {
    display: flex; align-items: flex-start; gap: 0.85rem;
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: var(--r-md);
    padding: 1.1rem 1.25rem;
}
.feature .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.feature .tick svg { width: 15px; height: 15px; }
.feature h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.feature p { font-size: 0.9rem; margin: 0; }

/* Problem list */
.problem-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; }
.problem-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--grey-line);
    color: var(--ink-soft);
    font-size: 0.98rem;
}
.problem-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--coral); margin-top: 3px; }

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { position: relative; padding-top: 0.5rem; }
.step .num {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
    margin-bottom: 1rem;
}
.steps.on-dark .step .num { background: var(--coral); }
.step h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; }

/* Split / media section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.split.narrow-media { grid-template-columns: 1.1fr 0.9fr; }
.panel-art {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--cream);
    aspect-ratio: 4 / 3;
}
.panel-art svg { width: 100%; height: 100%; }
.panel-art img { width: 100%; height: 100%; object-fit: cover; }

/* Check list (inline content) */
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.5rem 0; color: var(--ink-soft); }
.check-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); margin-top: 4px; }
.check-list.coral li svg { color: var(--coral); }

/* Tag/pill grid (e.g. hazards) */
.tag-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
    background: var(--white); border: 1px solid var(--grey-line);
    border-radius: 100px; padding: 0.55rem 1.1rem;
    font-size: 0.9rem; color: var(--navy); font-weight: 500;
    transition: border-color 0.2s, background 0.2s;
}
.tag:hover { border-color: var(--teal); background: rgba(46,140,140,0.06); }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
    color: var(--on-dark);
    border-radius: var(--r-lg);
    padding: clamp(2.25rem, 5vw, 3.75rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% -30%, rgba(227,107,93,0.22), transparent 60%);
    pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--on-dark-soft); max-width: 60ch; margin: 1rem auto 0; }
.cta-banner .btn-group { justify-content: center; margin-top: 2rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--grey-line); }
.faq-q {
    width: 100%; text-align: left;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.35rem 0.25rem;
    font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--navy);
}
.faq-q .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--grey); display: grid; place-items: center; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.faq-q .pm svg { width: 14px; height: 14px; color: var(--navy); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q .pm { background: var(--coral); border-color: var(--coral); }
.faq-item.open .faq-q .pm svg { color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 0.25rem 1.35rem; color: var(--ink-soft); }

/* ---------- Resource cards ---------- */
.resource-card { display: flex; flex-direction: column; }
.resource-card .r-tag { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 600; font-family: var(--font-head); margin-bottom: 0.6rem; }
.resource-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.resource-card p { font-size: 0.95rem; flex-grow: 1; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
    background: var(--navy);
    color: var(--on-dark);
    padding-top: calc(var(--header-h) + clamp(2.25rem, 5vw, 3.75rem));
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(800px 420px at 90% -20%, rgba(46,140,140,0.16), transparent 60%),
                radial-gradient(600px 400px at 0% 120%, rgba(227,107,93,0.12), transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: var(--on-dark-soft); max-width: 64ch; margin-top: 1.1rem; font-size: 1.12rem; }
.page-hero .btn-group { margin-top: 1.75rem; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.82rem; color: var(--on-dark-soft); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--on-dark-soft); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--coral-soft); }
.breadcrumb span { color: rgba(247,244,239,0.4); }
.page-hero .breadcrumb .current { color: var(--coral-soft); }

/* ---------- Prose (resource / content) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.85rem; }
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.25rem; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); }
.prose .callout {
    background: var(--cream); border-left: 4px solid var(--teal);
    border-radius: var(--r-sm); padding: 1.25rem 1.5rem; margin: 1.75rem 0;
}
.prose .callout p { margin: 0; }

/* On-this-page / sidebar */
.content-layout { display: grid; grid-template-columns: 1fr 280px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-card { background: var(--cream); border: 1px solid var(--grey-line); border-radius: var(--r-md); padding: 1.5rem; }
.sidebar-card h4 { margin-bottom: 0.85rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.sidebar-card ul li { margin-bottom: 0.5rem; }
.sidebar-card ul li a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
.sidebar-card ul li a:hover { color: var(--coral); }
.sidebar-card + .sidebar-card { margin-top: 1.25rem; }

/* ---------- Forms ---------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.4rem; }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
    width: 100%;
    font-family: var(--font-body); font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--grey);
    border-radius: var(--r-sm);
    background: var(--cream-2);
    color: var(--ink);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--teal); background: #fff;
    box-shadow: 0 0 0 4px rgba(46,140,140,0.12);
}
.form-note { font-size: 0.85rem; color: var(--ink-muted); display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.form-note svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }
.form-success {
    background: rgba(46,140,140,0.10); border: 1px solid var(--teal);
    border-radius: var(--r-md); padding: 1.25rem 1.5rem; color: var(--teal-dark); font-weight: 500;
    display: none;
}
.form-success.show { display: block; }

/* Contact info list */
.contact-info li { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--grey-line); }
.contact-info li:last-child { border-bottom: none; }
.contact-info .ci-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-sm); background: rgba(227,107,93,0.10); color: var(--coral); display: grid; place-items: center; }
.contact-info .ci-icon svg { width: 20px; height: 20px; }
.contact-info .ci-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; font-family: var(--font-head); }
.contact-info .ci-val { color: var(--navy); font-weight: 500; font-size: 1.02rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(247,244,239,0.10); }
.footer-brand .brand-mark { height: 46px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.95rem; color: var(--on-dark-soft); max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--on-dark-soft); font-size: 0.94rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--coral-soft); }
.footer-contact li { display: flex; gap: 0.6rem; margin-bottom: 0.8rem; font-size: 0.94rem; align-items: flex-start; }
.footer-contact li svg { width: 17px; height: 17px; color: var(--coral); flex-shrink: 0; margin-top: 3px; }
.footer-disclaimer { font-size: 0.84rem; color: rgba(185,196,205,0.75); padding: 1.75rem 0; border-bottom: 1px solid rgba(247,244,239,0.10); line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 2rem; font-size: 0.85rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a:hover { color: var(--coral-soft); }
.site-credit { display: inline-flex; align-items: center; gap: 0.55rem; opacity: 0.7; transition: opacity 0.2s var(--ease); }
.site-credit:hover { opacity: 1; }
.site-credit span { font-size: 0.78rem; color: rgba(185,196,205,0.85); white-space: nowrap; }
.site-credit img { height: 22px; width: auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.hide-mobile { display: initial; }
.divider { height: 1px; background: var(--grey-line); border: none; margin-block: var(--section-y); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 900px) {
    .primary-nav, .header-cta .tel { display: none; }
    .hamburger { display: flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-panel { max-width: 420px; margin-inline: auto; order: -1; }
    .split, .split.narrow-media { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    :root { --gap: 1rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .problem-list { grid-template-columns: 1fr; gap: 0; }
    .steps { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .btn-group .btn { width: 100%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .footer-top { grid-template-columns: 1fr; }
}
