/* =========================================================
   HUNTER SEO — STYLE REFRESH
   Direction: white/light base (per site preference), a
   deeper premium blue + warm gold accent, bigger confident
   type, and a mono "data readout" treatment for stats —
   since the whole business is about numbers going up.
   ========================================================= */

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

:root {
    /* --- color --- */
    --paper:      #ffffff;
    --mist:       #f5f7fc;   /* faint blue-gray for alternating sections, not flat gray */
    --ink:        #0b1220;   /* near-black navy, richer than plain #333 */
    --ink-soft:   #4b5568;
    --border:     #e7eaf3;

    --brand:      #155eef;   /* primary blue, more saturated than the old #007dff */
    --brand-dark: #0b3fc4;
    --brand-tint: #eaf1ff;

    --gold:       #f5a623;   /* accent — used decoratively, never as body text on white */
    --gold-tint:  #fff4df;
    --gold-ink:   #8a5a05;

    /* --- type --- */
    --font-display: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --font-body:    Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --font-mono:    Arial, 'Helvetica Neue', Helvetica, sans-serif;

    /* --- shape / depth --- */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(11,18,32,.06);
    --shadow-md: 0 10px 30px rgba(11,18,32,.08);
    --shadow-brand: 0 14px 34px rgba(21,94,239,.28);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden; /* safety net against any oversized child forcing horizontal scroll */
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =========================================================
   HEADER + NAV — light, sticky, confident logo instead of a
   solid color block. The brand color now lives in the type,
   not a big rectangle behind it.
   ========================================================= */

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.logo a {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.main-nav ul {
    display: flex;
    flex-wrap: wrap;         /* was a hard nowrap row — this is what was clipping on mid-width screens */
    list-style: none;
    gap: 1.75rem;
}
.main-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after,
.main-nav .active a::after { width: 100%; }
.main-nav .active a { color: var(--ink); font-weight: 700; }

/* =========================================================
   BREADCRUMBS
   ========================================================= */

.breadcrumbs { padding: 1.1rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.breadcrumbs ul { display: flex; list-style: none; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--border); }

/* =========================================================
   PAGE CONTENT
   ========================================================= */

.page-content { padding: 2rem 0 4rem; }
.page-content h1 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    max-width: 20ch;
}
.content-body h2, .content-body h3 {
    font-family: var(--font-display);
    margin: 2.25rem 0 1rem;
    font-weight: 600;
}
.content-body p { margin-bottom: 1.2rem; color: var(--ink-soft); max-width: 68ch; }
.content-body ul, .content-body ol { margin: 1rem 0 1.5rem 2rem; color: var(--ink-soft); }
.content-body img { max-width: 100%; height: auto; margin: 1.5rem 0; border-radius: var(--radius-md); }
.content-body a { color: var(--brand); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.content-body a:hover { text-decoration-color: var(--brand); }

.related-pages { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-pages h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1rem; }
.related-pages ul { list-style: none; margin: 0; }
.related-pages li { margin-bottom: 0.5rem; }
.related-pages a { color: var(--brand); text-decoration: none; font-weight: 500; }
.related-pages a:hover { text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer { background: var(--mist); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; line-height: 2; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   HERO — the thesis of the page. Deep blue gradient instead
   of flat fill, a genuinely big display headline, and a
   button with real depth instead of a plain rectangle.
   ========================================================= */

.hero {
    background: radial-gradient(120% 160% at 15% 0%, var(--brand-dark) 0%, var(--brand) 55%, #0e3fb8 100%);
    color: #fff;
    padding: 6.5rem 0;
    text-align: center;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 auto 1.25rem;
    max-width: 18ch;             /* keeps the headline wrapping sanely on ultra-wide screens */
}
.hero h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.88);
}
.hero .subhead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 640px;
    margin: 0 auto 2rem;
}
.hero .cta-button,
.contact .cta-button,
.book-consult-btn {
    display: inline-block;
    padding: 15px 34px;
    background: #fff;
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero .cta-button:hover,
.contact .cta-button:hover,
.book-consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.22);
    opacity: 1;
}
.consult-container { margin-top: 20px; }

/* =========================================================
   FEATURED WORK / CASE STUDIES — white cards, mono "data
   readout" numerals for the results themselves, gold used
   only as a thin accent (never as body-size text on white).
   ========================================================= */

.featured-work { padding: 5.5rem 0; background: var(--paper); }
.featured-work:nth-child(even) { background: var(--mist); }

.section-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.case-study {
    background: #fff;
    padding: 2.25rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.case-study:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-tint);
}
.case-study h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ink);
}
.case-study .metric {
    font-family: var(--font-mono);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 10px;
    line-height: 1;
}
.case-study .description { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.case-study .link {
    display: inline-block;
    margin-top: 1.1rem;
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.case-study .link:hover { text-decoration: underline; }

.case-study-image { margin-bottom: 20px; }
.case-study-image img { max-width: 120px; height: auto; margin: 0 auto; display: block; }

/* =========================================================
   ABOUT
   ========================================================= */

.about { padding: 5.5rem 0; background: var(--paper); }
.about:nth-child(even) { background: var(--mist); }
.about-content { max-width: 760px; margin: 0 auto; }
.about-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--ink);
}
.about-content p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
.about-content strong {
    font-weight: 700;
    color: var(--gold-ink);
    background: var(--gold-tint);
    padding: 0.05em 0.35em;
    border-radius: 4px;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    text-align: center;
}
.contact-content { max-width: 700px; margin: 0 auto; }
.contact-content h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.contact-content p { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .site-header .container { justify-content: center; text-align: center; }
    .main-nav ul { justify-content: center; }
    .hero { padding: 4.5rem 0; }
    .hero h3 { font-size: 1.15rem; }
    .case-studies { grid-template-columns: 1fr; }
    .case-study .metric { font-size: 2.1rem; }
    .about-content h2, .contact-content h2 { font-size: 1.6rem; }
}