/* =====================================================================
   HEED Consulting — site stylesheet
   Extracted from inline <style> block in index.html so the HTML payload
   stays lean and the stylesheet is cacheable across visits. Identical
   content; edit here for any visual change.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #0A0A0A;
    background: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
:root {
    --red: #EE3524;
    --red-dark: #C42818;
    --black: #231F20;
    --gray-light: #F5F5F5;
    --gray-mid: #E0E0E0;
    --gray-text: #666666;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
a { color: inherit; }

/* === GLOBAL JUSTIFICATION for long-form prose ===
   Hyphenation DISABLED so words never split with a "-" across lines.
   overflow-wrap:break-word keeps extreme outliers from overflowing. */
.hero-subtitle,
.section-header p,
.ps-text p,
.method-desc,
.insight-preview,
.testimonial-text,
.contact-info .lead,
.diff-text {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
}
/* On narrow viewports drop justify to avoid wide word-spacing gaps */
@media (max-width: 600px) {
    .hero-subtitle,
    .section-header p,
    .ps-text p,
    .method-desc,
    .insight-preview,
    .testimonial-text,
    .contact-info .lead,
    .diff-text { text-align: left; }
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section { padding: 110px 0; }

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: block;
}
.red-bar { display: block; width: 4px; height: 44px; background: var(--red); flex-shrink: 0; margin-right: 24px; }
.section-header { display: flex; align-items: flex-start; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-header p { font-size: 16px; color: var(--gray-text); line-height: 1.75; max-width: 660px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.2px;
    border: none;
}
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; color: white; }
.btn-group { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(35,31,32,0.96);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    transition: padding 0.3s, box-shadow 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 42px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.nav-links a:hover { color: white; }
.nav-back {
    font-size: 12px !important;
    color: rgba(255,255,255,0.45) !important;
    border-right: 1px solid rgba(255,255,255,0.15);
    padding-right: 16px;
}
.nav-cta { background: var(--red) !important; color: white !important; padding: 9px 22px; border-radius: 2px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--red-dark) !important; }

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    background: var(--black);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 50%, rgba(238,53,36,0.1) 0%, transparent 55%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 28px; }
.hero-title { font-size: clamp(40px, 5vw, 64px); font-weight: 800; color: white; line-height: 1.08; letter-spacing: -1.2px; margin-bottom: 28px; }
.hero-title .accent { color: var(--red); }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.62); line-height: 1.78; margin-bottom: 40px; max-width: 560px; }
.hero-logo-block { text-align: center; }
.hero-logo-block img {
    width: clamp(140px, 18vw, 220px);
    height: auto;
    transition: width 0.35s ease;
}

/* ===== INTRO BAR ===== */
.intro-bar { background: var(--red); color: white; padding: 28px 0; }
.intro-bar .container { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.intro-stat { display: flex; flex-direction: column; }
.intro-stat-num { font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.intro-stat-lbl { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; opacity: 0.85; }

/* ===== PROBLEM/SOLUTION ===== */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ps-text h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 22px; line-height: 1.18; }
.ps-text p { font-size: 15.5px; line-height: 1.85; color: #4a4a4a; margin-bottom: 18px; }
.ps-text strong { color: var(--black); }
.pain-list { display: flex; flex-direction: column; gap: 0; }
.pain-item {
    display: flex;
    gap: 18px;
    padding: 22px 24px;
    border-left: 3px solid var(--red);
    background: var(--gray-light);
    margin-bottom: 12px;
}
.pain-item-icon {
    width: 32px; height: 32px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 13px;
}
.pain-item-icon svg { width: 16px; height: 16px; stroke: white; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pain-item-text { font-size: 14px; line-height: 1.65; color: var(--black); }
.pain-item-text strong { display: block; margin-bottom: 4px; font-size: 14.5px; }

/* ===== OBJECTIVES ===== */
.objectives-bg { background: var(--gray-light); }
.objectives-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.objective-card {
    background: white;
    padding: 40px 32px;
    border-top: 4px solid var(--red);
    display: flex;
    flex-direction: column;
}
.obj-num { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: var(--red); flex: 0 0 14px; margin-bottom: 14px; }
.obj-title { font-size: 22px; font-weight: 700; line-height: 1.2; min-height: 56px; flex: 0 0 56px; margin-bottom: 8px; display: flex; align-items: flex-start; }
.obj-sub { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--gray-text); text-transform: uppercase; flex: 0 0 14px; margin-bottom: 22px; }
.obj-list { list-style: none; flex: 1; }
.obj-list li {
    font-size: 13.5px;
    line-height: 1.6;
    color: #444;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-mid);
}
.obj-list li:last-child { border-bottom: none; }

.objectives-grid--pillars { gap: 48px 56px; }
.objective-pillar { display: flex; flex-direction: column; }
.objective-pillar .svc-cat-title { margin-bottom: 10px; }
.objective-pillar .obj-sub {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--gray-text); text-transform: uppercase;
    margin-bottom: 18px; padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-mid);
}

.objectives-aligned {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto auto auto auto;
    column-gap: 56px;
    row-gap: 8px;
    align-items: stretch;
}
.oa-col1 { grid-column: 1; }
.oa-col2 { grid-column: 2; }
.oa-col3 { grid-column: 3; }
.oa-row1 { grid-row: 1; align-self: start; }
.oa-row2 {
    grid-row: 2;
    align-self: stretch;
    padding-bottom: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--gray-mid);
}
.oa-row3 { grid-row: 3; }
.oa-row4 { grid-row: 4; }
.oa-row5 { grid-row: 5; }
.oa-row6 { grid-row: 6; }
.oa-item { display: flex; align-items: stretch; }
.oa-item .svc-item { width: 100%; display: flex; align-items: center; }
.oa-row2 .obj-sub {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--gray-text); text-transform: uppercase; margin: 0;
}
.oa-row1 .svc-cat-title { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
@media (max-width: 1000px) {
    .objectives-aligned { display: block; }
    .objectives-aligned .oa-cell { grid-row: auto !important; grid-column: auto !important; }
    .oa-col2.oa-row1, .oa-col3.oa-row1 { margin-top: 40px; }
}

/* ===== METHODOLOGY ===== */
.methodology-bg { background: var(--black); color: white; }
.methodology-bg .section-header h2 { color: white; }
.methodology-bg .section-header p { color: rgba(255,255,255,0.6); }
.methodology-bg .section-label { color: var(--red); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.08); }
.method-card { background: var(--black); padding: 40px 32px; display: flex; flex-direction: column; }
.method-num { font-size: 56px; font-weight: 800; color: var(--red); line-height: 1; flex: 0 0 56px; margin-bottom: 24px; letter-spacing: -2px; }
.method-title { font-size: 19px; font-weight: 700; color: white; line-height: 1.3; min-height: 50px; flex: 0 0 50px; margin-bottom: 14px; display: flex; align-items: flex-start; }
.method-desc { font-size: 14px; line-height: 1.78; color: rgba(255,255,255,0.62); flex: 1; margin-bottom: 18px; }
.method-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.svc-cat-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-mid);
}
.svc-items { display: flex; flex-direction: column; gap: 8px; }
.svc-item {
    background: var(--gray-light);
    border-left: 3px solid var(--red);
    padding: 13px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--black);
}
.intro-text { font-size: 16px; line-height: 1.85; color: #444; max-width: 760px; margin-bottom: 60px; }

/* ===== WHAT SETS US APART ===== */
.differentiators-bg { background: var(--gray-light); }
.diff-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--gray-mid); }
.diff-card {
    background: white;
    padding: 36px 22px;
    display: flex;
    flex-direction: column;
}
.diff-num { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: var(--red); margin-bottom: 14px; }
.diff-title {
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.diff-text { font-size: 13px; line-height: 1.7; color: var(--gray-text); }

/* ===== CASE LOAD ===== */
.caseload-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--gray-mid); margin-bottom: 48px; }
.case-row {
    background: white;
    padding: 24px 28px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.case-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 2px;
}
.case-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.case-logo.text-fallback {
    background: var(--black);
    color: white;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
    padding: 10px;
}
.case-body { flex: 1; min-width: 0; }
.case-client { font-size: 14.5px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.case-region { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; color: var(--red); text-transform: uppercase; margin-bottom: 12px; }
.case-summary { font-size: 13.5px; line-height: 1.7; color: var(--gray-text); }

/* ===== CASE STUDIES (gated) ===== */
.insights-bg { background: var(--gray-light); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.insight-card { background: white; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.insight-header {
    padding: 22px 26px 22px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Insight-header colour variants — replace the inline style="background:...". */
.insight-header.bg-black { background: var(--black); }
.insight-header.bg-red   { background: var(--red); }
.insight-header.bg-navy  { background: #1B2B4A; }
.insight-client { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.insight-title { font-size: 17px; font-weight: 700; color: white; line-height: 1.35; }
.insight-body { padding: 26px 26px 26px; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.insight-preview { font-size: 14px; line-height: 1.75; color: var(--gray-text); margin-bottom: 22px; flex: 0 0 auto; }
.insight-body .insight-dl-btn { margin-top: auto; }

/* ===== INSIGHTS (article list) ===== */
.insights-section { background: white; }
.insights-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
    background: white;
    border: 1px solid var(--gray-mid);
    display: flex; flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.article-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.article-card-cover {
    aspect-ratio: 16 / 9;
    background: var(--black) center/cover no-repeat;
    border-bottom: 4px solid var(--red);
}
/* Per-article cover image. Add a new rule for each new article. */
.article-card-cover.cover-unsung-heroes { background-image: url('the-unsung-heroes/cover.jpg'); }
.article-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article-tag { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.article-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; color: var(--black); }
.article-excerpt { font-size: 13.5px; line-height: 1.7; color: var(--gray-text); margin-bottom: 18px; flex: 1; }
.article-meta { font-size: 11.5px; color: var(--gray-text); display: flex; gap: 14px; margin-top: auto; }
.article-meta span + span::before { content: '·'; margin-right: 14px; color: var(--gray-mid); }
.insights-empty {
    border: 1px dashed var(--gray-mid);
    background: var(--gray-light);
    padding: 56px 32px;
    text-align: center;
    color: var(--gray-text);
}
.insights-empty h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.insights-empty p { font-size: 14px; line-height: 1.7; max-width: 480px; margin: 0 auto; }
@media (max-width: 1000px) { .insights-list { grid-template-columns: 1fr; } }
.insight-dl-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; width: 100%;
    background: var(--black); color: white;
    border: none; padding: 14px 20px;
    font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; border-radius: 2px;
    transition: background 0.2s;
}
.insight-dl-btn:hover { background: var(--red); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
}
.testimonial-card {
    background: white;
    padding: 38px 36px;
    border-left: 4px solid var(--red);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.testimonial-card .quote-mark { font-size: 60px; color: var(--red); font-weight: 800; line-height: 0.6; margin-bottom: 16px; font-family: Georgia, serif; }
.testimonial-text { font-size: 15.5px; line-height: 1.78; color: #2a2a2a; margin-bottom: 26px; font-style: italic; flex: 1; }
.testimonial-author-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
}
.testimonial-portrait {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: var(--gray-mid);
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.testimonial-portrait.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: white;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}
.testimonial-author-text { flex: 1; min-width: 0; }
.testimonial-author { font-size: 14.5px; font-weight: 700; color: var(--black); margin-bottom: 4px; line-height: 1.3; }
.testimonial-company { font-size: 11.5px; color: var(--gray-text); text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.4; }

/* ===== CONTACT ===== */
.contact-section { background: var(--black); padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; color: white; margin-bottom: 20px; }
.contact-info .lead { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 44px; }
.office-block { margin-bottom: 28px; }
.office-city { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 5px; }
.office-detail { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; }
.direct-contact-card { margin: 8px 0 36px; }
.direct-portrait {
    width: 132px; height: 132px; border-radius: 50%;
    object-fit: cover; object-position: center top;
    border: 3px solid rgba(255,255,255,0.12);
    display: block; margin-bottom: 18px;
}
.direct-name { font-size: 18px; font-weight: 700; color: white; margin-bottom: 4px; line-height: 1.3; }
.direct-role { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.65); letter-spacing: 0.2px; margin-bottom: 6px; }
.direct-email { font-size: 13px; font-weight: 600; color: var(--red); text-decoration: none; }
.direct-email:hover { color: white; }
.offices-block { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.10); }
.offices-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.offices-list { font-size: 14px; color: rgba(255,255,255,0.78); font-weight: 500; letter-spacing: 0.3px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-family: inherit; font-size: 14px;
    margin-bottom: 12px; outline: none;
    border-radius: 2px;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--red); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form textarea { height: 118px; resize: vertical; }
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='rgba(255,255,255,0.55)' d='M0 0l6 8 6-8z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 7px;
    padding-right: 40px;
}
.contact-form select option {
    background-color: #ffffff;
    color: var(--black);
    font-weight: 500;
}
.contact-form select option:disabled,
.contact-form select option[value=""] { color: var(--gray-text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== FOOTER ===== */
footer { background: #0F0D0E; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-blurb { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-col a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    position: relative;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-social {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover { color: white; border-color: var(--red); background: var(--red); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ===== MODAL ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.78); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: white; max-width: 500px; width: 100%; padding: 52px 48px; position: relative; border-top: 4px solid var(--red); max-height: 90vh; overflow-y: auto; }
.modal-close-btn { position: absolute; top: 18px; right: 22px; background: none; border: none; font-size: 26px; cursor: pointer; color: #aaa; }
.modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.modal-lead { font-size: 14px; color: var(--gray-text); line-height: 1.65; margin-bottom: 28px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--black); margin-bottom: 6px; }
.form-row input { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-mid); font-family: inherit; font-size: 14px; outline: none; }
.form-row input:focus { border-color: var(--red); }
.form-submit { width: 100%; background: var(--red); color: white; border: none; padding: 14px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 2px; }
.form-submit:hover { background: var(--red-dark); }
.modal-success { display: none; text-align: center; padding: 20px 0; }
.modal-success .check-circle { width: 60px; height: 60px; background: var(--gray-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 26px; color: var(--red); font-weight: 700; }
.modal-success p { font-size: 15px; color: var(--gray-text); line-height: 1.7; margin-bottom: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-logo-block img { width: clamp(140px, 22vw, 200px); }
    .diff-grid { grid-template-columns: repeat(2, 1fr); }
    .diff-title { white-space: normal; font-size: 16px; }
}
@media (max-width: 768px) {
    .hero-logo-block img { width: clamp(120px, 32vw, 170px); }
}
@media (max-width: 480px) {
    .hero-logo-block img { width: clamp(110px, 38vw, 150px); }
}
@media (max-width: 1000px) {
    .ps-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .objectives-grid, .insights-grid, .testimonials-grid, .method-grid, .caseload-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .section { padding: 72px 0; }
    .nav-links li:not(:last-child) { display: none; }
    .nav-links li:last-child { display: list-item; }
    .services-grid { grid-template-columns: 1fr; gap: 36px; }
    .diff-grid { grid-template-columns: 1fr; }
    .diff-title { white-space: normal; font-size: 17px; }
    .two-col { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 14px; }
    .footer-social { position: static; transform: none; margin-top: 0; }
    .modal { padding: 40px 28px; }
}

/* =====================================================================
   UTILITY CLASSES — replacements for inline style="" snippets from the
   original HTML. Adding them here keeps SEOptimer's "remove inline styles"
   check satisfied while preserving exact visual parity.
   ===================================================================== */
.netlify-honeypot { display: none; }
.is-hidden { display: none; }
.mb-8  { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-14 { margin-bottom: 14px; }
.mb-44 { margin-bottom: 44px; }
.col-span-full { grid-column: 1 / -1; }
.link-red { color: var(--red); text-decoration: underline; }
.text-white-strong { color: white; }
.btn-block { width: 100%; justify-content: center; padding: 15px; }
.btn-inline-flex { display: inline-flex; }
.caseload-footnote { text-align: center; font-size: 14px; color: var(--gray-text); font-style: italic; }
.success-box {
    display: none;
    text-align: center;
    padding: 48px 0;
}
.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--red);
}
.success-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}
.success-msg {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.75;
    max-width: 440px;
    margin: 0 auto 14px;
}
.success-signature {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    line-height: 1.6;
}
.modal-success-icon {
    font-size: 48px;
    color: var(--red);
    margin-bottom: 12px;
}
.modal-success-sig {
    font-size: 13px;
    color: var(--gray-text);
    margin-bottom: 24px;
}
