:root {
    --brand-red: #cc1616;
    --brand-red-2: #e82d2d;
    --ink: #191919;
    --ink-2: #2f3135;
    --text: #444444;
    --muted: #737780;
    --line: #e7e7e7;
    --paper: #ffffff;
    --soft: #f6f6f6;
    --soft-red: #fff1f1;
    --blue: #244e8f;
    --radius: 6px;
    --shadow: 0 18px 55px rgba(25, 25, 25, 0.14);
    --font-body: "Plus Jakarta Sans", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Plus Jakarta Sans", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 15.75px;
    line-height: 1.66;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* Safety: constrain inline SVG icons globally */
svg:not(:root) {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 74px;
    padding: 0 clamp(20px, 5vw, 82px);
    background: rgba(25, 25, 25, 0.96);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.brand img {
    width: 156px;
    height: auto;
}

.site-nav {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 74px;
    padding: 0 18px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0;
}

.site-nav a.active,
.site-nav a:hover {
    background: var(--brand-red);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-left: 16px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-cta:hover {
    border-color: var(--brand-red);
    background: var(--brand-red);
}

#nav-toggle,
.nav-toggle-button {
    display: none;
}

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
    gap: clamp(32px, 5vw, 70px);
    align-items: center;
    min-height: calc(100vh - 74px);
    padding: clamp(70px, 9vw, 122px) clamp(20px, 5vw, 82px);
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.36) 100%),
        url("images/hero-slide.webp") center / cover no-repeat;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: var(--brand-red);
}

.home-hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.82fr);
    min-height: 560px;
    overflow: hidden;
    padding-top: clamp(44px, 5vw, 64px);
    padding-bottom: clamp(44px, 5vw, 64px);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.66) 48%, rgba(0, 0, 0, 0.36) 100%),
        url("images/hero-slide.webp") center / cover no-repeat;
}

.home-hero .hero-content {
    max-width: 720px;
}

.home-hero h1 {
    max-width: 760px;
    font-size: clamp(2.2rem, 3.75vw, 3.85rem);
}

.home-hero .hero-copy {
    max-width: 650px;
    margin-top: 18px;
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
}

.home-hero .hero-actions {
    margin-top: 28px;
}

.home-hero .modernization-dashboard {
    width: min(100%, 430px);
    justify-self: end;
}

.home-hero .dashboard-header {
    padding: 20px 22px 14px;
}

.home-hero .dashboard-score {
    grid-template-columns: 1fr 82px;
    gap: 16px;
    padding: 20px 22px;
}

.home-hero .dashboard-score strong {
    font-size: 1.18rem;
}

.home-hero .score-pill {
    width: 82px;
    height: 82px;
}

.home-hero .score-pill strong {
    font-size: 1.64rem;
}

.home-hero .dashboard-flow div {
    min-height: 82px;
    padding: 14px 12px;
}

.home-hero .dashboard-flow strong {
    margin-top: 13px;
    font-size: 0.86rem;
}

.home-hero .dashboard-list {
    padding: 14px 22px 20px;
}

.home-hero .dashboard-list div {
    padding: 11px 12px;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 790px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-red);
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-section .eyebrow {
    color: #ff6a6a;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: 0;
}

.hero-section h1 {
    color: #ffffff;
}

h1 {
    max-width: 900px;
    font-size: clamp(2.32rem, 4.15vw, 4.25rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.58rem, 2.35vw, 2.48rem);
    font-weight: 700;
}

h3 {
    font-size: 1.08rem;
    font-weight: 700;
}

p,
li,
input,
select,
textarea {
    font-weight: 400;
}

.hero-copy {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero-capabilities span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.primary-action {
    border: 2px solid var(--brand-red);
    color: #ffffff;
    background: var(--brand-red);
}

.primary-action:hover {
    border-color: var(--brand-red-2);
    background: var(--brand-red-2);
}

.secondary-action {
    border: 2px solid rgba(255, 255, 255, 0.78);
    color: #ffffff;
    background: transparent;
}

.secondary-action:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-top: 4px solid var(--brand-red);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.92)),
        linear-gradient(90deg, rgba(204, 22, 22, 0.08), transparent 44%);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -96px;
    top: -96px;
    border: 32px solid rgba(204, 22, 22, 0.07);
    border-radius: 50%;
}

.brief-header,
.brief-main,
.brief-steps,
.insight-strip {
    position: relative;
    z-index: 1;
}

.brief-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.brief-header span,
.brief-label {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.brief-header strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.98rem;
    text-transform: uppercase;
}

.brief-badge {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid #f0b4b4;
    color: var(--brand-red) !important;
    background: #fff7f7;
}

.brief-main {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
}

.brief-main h2 {
    margin-top: 7px;
    color: var(--ink);
    font-size: clamp(1.28rem, 2vw, 1.68rem);
    text-transform: none;
}

.brief-main p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.readiness-ring {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 0 58%, transparent 59%),
        conic-gradient(var(--brand-red) 0 72%, #ececec 72% 100%);
    box-shadow: inset 0 0 0 1px rgba(25, 25, 25, 0.05);
}

.readiness-ring strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.72rem;
    line-height: 1;
}

.readiness-ring span {
    margin-top: -20px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.brief-steps {
    display: grid;
    gap: 9px;
}

.brief-step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 70px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
}

.brief-step span {
    color: var(--brand-red);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
}

.brief-step strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.2;
}

.brief-step small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.brief-step.active {
    border-color: var(--ink);
    background: var(--ink);
}

.brief-step.active strong {
    color: #ffffff;
}

.brief-step.active small {
    color: rgba(255, 255, 255, 0.68);
}

.brief-step.active span {
    color: #ff6a6a;
}

.brief-step.highlight {
    border-color: #efb2b2;
    background: #fff2f2;
}

.insight-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 16px 18px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--brand-red), #a90f0f);
}

.insight-strip span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
}

.insight-strip strong {
    max-width: 260px;
    font-family: var(--font-display);
    line-height: 1.25;
    text-align: right;
}

.modernization-dashboard {
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-top: 4px solid var(--brand-red);
    background: rgba(255, 255, 255, 0.96);
}

.modernization-dashboard::before {
    display: none;
}

.dashboard-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--line);
}

.dashboard-header span,
.dashboard-score span,
.dashboard-flow span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
}

.dashboard-header strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.02rem;
}

.dashboard-status {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--brand-red) !important;
    background: var(--soft-red);
}

.dashboard-score {
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 18px;
    align-items: center;
    padding: 24px;
}

.dashboard-score strong {
    display: block;
    margin-top: 7px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.34rem;
    line-height: 1.2;
}

.score-pill {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border: 1px solid #efb4b4;
    background: #fff7f7;
}

.score-pill strong {
    margin: 0;
    color: var(--brand-red);
    font-size: 1.9rem;
    line-height: 1;
}

.score-pill span {
    color: var(--muted);
    font-size: 0.68rem;
}

.dashboard-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dashboard-flow div {
    min-height: 96px;
    padding: 16px 14px;
    border-right: 1px solid var(--line);
    background: #ffffff;
}

.dashboard-flow div:last-child {
    border-right: 0;
}

.dashboard-flow div.active {
    color: #ffffff;
    background: var(--ink);
}

.dashboard-flow div.active span {
    color: rgba(255, 255, 255, 0.62);
}

.dashboard-flow strong {
    display: block;
    margin-top: 18px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.92rem;
}

.dashboard-flow div.active strong {
    color: #ffffff;
}

.dashboard-list {
    display: grid;
    gap: 1px;
    padding: 18px 24px 24px;
    background: #f0f0f0;
}

.dashboard-list div {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    background: #ffffff;
}

.dashboard-list span {
    width: 8px;
    height: 8px;
    background: var(--brand-red);
}

.dashboard-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.dashboard-list strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.trust-band div {
    padding: 28px clamp(20px, 5vw, 82px);
    border-right: 1px solid var(--line);
}

.trust-band div:last-child {
    border-right: 0;
}

.trust-band span,
.signal-grid span,
.method-list span,
.newsletter-form span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.trust-band strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}

.home-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.home-metrics div {
    padding: 28px clamp(20px, 5vw, 82px);
    border-right: 1px solid var(--line);
}

.home-metrics div:last-child {
    border-right: 0;
}

.home-metrics span {
    display: block;
    color: var(--brand-red);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-metrics strong {
    display: block;
    margin-top: 7px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.35;
}

.section,
.page-hero {
    padding: clamp(58px, 7vw, 92px) clamp(20px, 5vw, 82px);
}

.page-hero {
    background: linear-gradient(90deg, #191919 0%, #2a2a2a 100%);
    color: #ffffff;
}

.page-hero h1,
.page-hero p:not(.eyebrow) {
    max-width: 920px;
    color: #ffffff;
}

.page-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.04rem;
}

.services-hero {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.66)),
        url("images/cta-bg.webp") center / cover no-repeat;
}

.services-focus {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.services-focus div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 28px clamp(20px, 5vw, 82px);
    border-right: 1px solid var(--line);
}

.services-focus div:last-child {
    border-right: 0;
}

.services-focus span {
    color: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 700;
}

.services-focus strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.98rem;
    line-height: 1.35;
}

.services-overview {
    background: var(--soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-panel {
    display: grid;
    align-content: start;
    min-height: 390px;
    padding: 28px;
    border: 1px solid var(--line);
    border-top: 4px solid transparent;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(25, 25, 25, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-panel:hover {
    transform: translateY(-5px);
    border-top-color: var(--brand-red);
    box-shadow: 0 22px 52px rgba(25, 25, 25, 0.11);
}

.service-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.service-panel-head span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #ffffff;
    background: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 700;
}

.service-panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-panel h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.service-panel > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.94rem;
}

.service-panel ul {
    display: grid;
    gap: 9px;
    margin: auto 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.service-panel li {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
}

.service-panel li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 2px;
    background: var(--brand-red);
}

.service-packages {
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: start;
}

.package-grid {
    display: grid;
    gap: 16px;
}

.package-grid article {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 22px;
    padding: 24px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.package-grid span {
    color: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 700;
}

.package-grid h3 {
    margin-bottom: 7px;
    font-size: 1.06rem;
}

.package-grid p {
    grid-column: 2;
    margin: -8px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 clamp(20px, 5vw, 82px) clamp(66px, 8vw, 112px);
    padding: clamp(30px, 5vw, 52px);
    border-top: 4px solid var(--brand-red);
    background: var(--ink);
    color: #ffffff;
}

.services-cta h2 {
    color: #ffffff;
}

.services-cta p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.74);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
}

.section p {
    color: var(--muted);
}

.home-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.82fr);
    gap: clamp(34px, 6vw, 86px);
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, #ffffff 0%, #ffffff 58%, #f5f5f5 58%, #f5f5f5 100%);
}

.home-intro p {
    margin-top: 0;
    font-size: 1rem;
}

.intro-story {
    max-width: 820px;
}

.intro-story h2 {
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
}

.intro-lead {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.15vw, 1.08rem) !important;
    line-height: 1.78;
}

.intro-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 720px;
    margin-top: 30px;
}

.intro-proof-grid div {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand-red);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(25, 25, 25, 0.05);
}

.intro-proof-grid strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.98rem;
}

.intro-proof-grid span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.intro-panel {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(25, 25, 25, 0.1);
    border-top: 4px solid var(--brand-red);
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(25, 25, 25, 0.1);
}

.intro-panel::before {
    content: "";
    position: absolute;
    inset: 18px 18px auto auto;
    width: 72px;
    height: 72px;
    border-top: 2px solid rgba(204, 22, 22, 0.22);
    border-right: 2px solid rgba(204, 22, 22, 0.22);
}

.intro-panel-head {
    max-width: 560px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.intro-panel-head span,
.intro-panel-foot span {
    display: block;
    color: var(--brand-red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro-panel-head strong {
    display: block;
    max-width: 520px;
    margin-top: 8px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.24rem, 1.7vw, 1.65rem);
    line-height: 1.18;
}

.intro-points {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.intro-points span {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 66px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #fbfbfb;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.35;
}

.intro-points span strong {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--brand-red);
    background: var(--soft-red);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
}

.intro-panel-foot {
    margin-top: 22px;
    padding: 18px 20px;
    color: #ffffff;
    background: var(--ink);
}

.intro-panel-foot strong {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.98rem;
    line-height: 1.35;
}

.image-panel {
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--brand-red);
    box-shadow: var(--shadow);
}

.image-panel img {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 26px;
    margin-bottom: 38px;
}

.section-heading h2 {
    max-width: 880px;
}

.section-heading a {
    color: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 310px;
    padding: 34px 28px;
    border: 1px solid var(--line);
    border-top: 4px solid transparent;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(25, 25, 25, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-top-color: var(--brand-red);
    box-shadow: 0 20px 55px rgba(25, 25, 25, 0.13);
}

.service-icon,
.service-detail-list article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    color: #ffffff;
    background: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.28;
}

.service-card p {
    margin: 0 0 18px;
}

.service-card ul,
.service-detail-list ul {
    margin: 0;
    padding-left: 18px;
    color: var(--ink);
}

.service-card li,
.service-detail-list li {
    margin: 5px 0;
}

.home-services {
    background: var(--soft);
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-service-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) minmax(180px, 0.5fr);
    gap: 22px;
    align-items: start;
    padding: 26px;
    border: 1px solid var(--line);
    border-top: 3px solid transparent;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(25, 25, 25, 0.05);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--brand-red);
    box-shadow: 0 18px 44px rgba(25, 25, 25, 0.1);
}

.home-service-card > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #ffffff;
    background: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 700;
}

.home-service-card h3 {
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.home-service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.home-service-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-service-card li {
    position: relative;
    padding-left: 17px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 500;
}

.home-service-card li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 2px;
    background: var(--brand-red);
}

.dark-section {
    color: #ffffff;
    background:
        linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)),
        url("images/cta-bg.webp") center / cover no-repeat;
}

.dark-section h2,
.dark-section h3 {
    color: #ffffff;
}

.dark-section .eyebrow {
    color: #ff6a6a;
}

.dark-section p {
    color: rgba(255, 255, 255, 0.76);
}

.home-outcomes {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(34px, 6vw, 84px);
    color: #ffffff;
    background:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("images/cta-bg.webp") center / cover no-repeat;
}

.home-outcomes h2,
.home-outcomes h3 {
    color: #ffffff;
}

.home-outcomes p {
    color: rgba(255, 255, 255, 0.74);
}

.home-outcomes .eyebrow {
    color: #ff6a6a;
}

.outcome-grid {
    display: grid;
    gap: 16px;
}

.outcome-grid article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(25, 25, 25, 0.62);
}

.outcome-grid span {
    color: #ff6a6a;
    font-family: var(--font-display);
    font-weight: 700;
}

.outcome-grid h3 {
    margin-bottom: 7px;
    font-size: 1.02rem;
}

.outcome-grid p {
    grid-column: 2;
    margin: -6px 0 0;
    font-size: 0.92rem;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.path-grid div {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(25, 25, 25, 0.68);
}

.path-grid span,
.timeline span {
    color: var(--brand-red-2);
    font-family: var(--font-display);
    font-weight: 700;
}

.process-hero {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.68)),
        url("images/cta-bg.webp") center / cover no-repeat;
}

.process-summary {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
    gap: clamp(30px, 6vw, 84px);
    align-items: end;
    padding-bottom: 36px;
}

.process-summary p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.process-timeline {
    position: relative;
    display: grid;
    gap: 24px;
    padding-top: 34px;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: calc(clamp(20px, 5vw, 82px) + 42px);
    width: 1px;
    background: var(--line);
}

.process-timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;
}

.process-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border: 1px solid #f0b0b0;
    border-top: 4px solid var(--brand-red);
    color: var(--brand-red);
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(25, 25, 25, 0.08);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
}

.process-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
    gap: clamp(22px, 4vw, 52px);
    align-items: start;
    min-height: 210px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand-red);
    background: #ffffff;
    box-shadow: 0 16px 45px rgba(25, 25, 25, 0.07);
}

.process-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--brand-red);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.process-card h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.process-card p {
    max-width: 740px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.process-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-card li {
    position: relative;
    padding-left: 20px;
    color: var(--ink);
    font-weight: 500;
}

.process-card li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 2px;
    background: var(--brand-red);
}

.process-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 clamp(20px, 5vw, 82px) clamp(66px, 8vw, 112px);
    padding: clamp(30px, 5vw, 52px);
    border-top: 4px solid var(--brand-red);
    background: var(--ink);
    color: #ffffff;
}

.process-cta h2 {
    color: #ffffff;
}

.process-cta p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.74);
}

.about-hero {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.62)),
        url("images/hero-slide.webp") center / cover no-repeat;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.9fr);
    gap: clamp(34px, 6vw, 88px);
    align-items: start;
}

.about-intro p:not(.eyebrow) {
    margin-top: 0;
    color: var(--muted);
    font-size: 1rem;
}

.about-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-top: 24px;
}

.about-proof article {
    min-height: 310px;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand-red);
    background: #ffffff;
    box-shadow: 0 12px 38px rgba(25, 25, 25, 0.07);
}

.about-proof span,
.value-grid article span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 700;
}

.about-proof h2 {
    font-size: clamp(1.28rem, 1.9vw, 1.72rem);
}

.about-proof p,
.value-grid p {
    color: var(--muted);
}

.about-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
    background: var(--soft);
}

.about-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.about-service-list span {
    padding: 14px 16px;
    border-left: 3px solid var(--brand-red);
    background: #ffffff;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.35;
}

.about-values {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: start;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.value-grid article {
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.value-grid h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 clamp(20px, 5vw, 82px) clamp(66px, 8vw, 112px);
    padding: clamp(30px, 5vw, 52px);
    border-top: 4px solid var(--brand-red);
    background: var(--ink);
    color: #ffffff;
}

.about-cta h2 {
    color: #ffffff;
}

.about-cta p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.74);
}

.method-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.method-list div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.method-list strong {
    color: var(--ink);
    font-family: var(--font-display);
}

.home-method {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.78fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: start;
}

.home-method p {
    max-width: 660px;
}

.intake-shell {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(340px, 1.18fr);
    gap: 24px;
    padding: clamp(60px, 8vw, 106px) clamp(20px, 5vw, 82px);
    background: var(--soft);
}

.intake-panel,
.contact-form,
.newsletter-form,
.cta-band {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.52);
}

.intake-panel,
.contact-form {
    padding: clamp(26px, 4vw, 42px);
    border-top: 4px solid var(--brand-red);
}

.readiness-meter {
    margin-top: 28px;
    padding: 20px;
    background: #f9f9f9;
}

.readiness-meter > div:first-child,
.slider-field > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.readiness-meter strong {
    color: var(--brand-red);
    font-size: 1.55rem;
}

.meter-track {
    height: 8px;
    margin-top: 14px;
    overflow: hidden;
    background: #ececec;
}

.meter-track span {
    display: block;
    height: 100%;
    background: var(--brand-red);
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.signal-grid div {
    padding: 18px;
    background: var(--ink);
    color: #ffffff;
}

.signal-grid span {
    color: rgba(255, 255, 255, 0.68);
}

.contact-form,
.newsletter-form {
    display: grid;
    gap: 16px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d5d5d5;
    border-radius: 0;
    background: #ffffff;
    color: var(--ink);
}

input,
select {
    min-height: 46px;
    padding: 0 13px;
}

textarea {
    min-height: 140px;
    padding: 12px 13px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(204, 22, 22, 0.16);
    border-color: var(--brand-red);
}

.slider-field {
    display: grid;
    gap: 8px;
}

.slider-field input[type="number"] {
    display: none;
}

.slider-field input[type="range"] {
    accent-color: var(--brand-red);
    padding: 0;
}

.validation-message,
.form-status.error {
    color: #a10f0f;
}

.form-status.success {
    color: #187143;
}

.newsletter-form {
    margin: 0 clamp(20px, 5vw, 82px) clamp(66px, 8vw, 112px);
    padding: 26px;
    grid-template-columns: 1fr minmax(280px, 430px);
    align-items: center;
    border-top: 4px solid var(--ink);
}

.newsletter-form div {
    display: flex;
    gap: 8px;
}

.newsletter-form button {
    min-width: 92px;
    min-height: 46px;
    border: 0;
    color: #ffffff;
    background: var(--brand-red);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(150px, 0.72fr) minmax(130px, 0.55fr) minmax(260px, 0.95fr);
    gap: clamp(28px, 4vw, 56px);
    padding: 64px clamp(20px, 5vw, 82px) 28px;
    color: rgba(255, 255, 255, 0.74);
    background:
        linear-gradient(135deg, rgba(204, 22, 22, 0.16), transparent 28%),
        #0c0c0c;
}

.site-footer img {
    width: 172px;
    margin-bottom: 22px;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 600;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0;
    max-width: 430px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-brand {
    display: grid;
    align-content: start;
    gap: 16px;
}

.footer-email {
    display: inline-flex;
    width: fit-content;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-cta {
    padding: 24px;
    border-top: 4px solid var(--brand-red);
    background: rgba(255, 255, 255, 0.06);
}

.footer-cta h2 {
    margin-bottom: 12px;
    font-size: 1.28rem;
    line-height: 1.25;
    text-transform: none;
}

.footer-cta p {
    margin-bottom: 20px;
}

.footer-cta .primary-action {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.78rem;
}

.footer-bottom {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.88rem;
}

.service-detail-list {
    display: grid;
    gap: 0;
}

.service-detail-list article,
.timeline article {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 24px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.service-detail-list h2,
.timeline h2 {
    font-size: clamp(1.34rem, 2.1vw, 2rem);
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 5vw, 46px);
    border-top: 4px solid var(--brand-red);
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    max-width: 420px;
    padding: 16px;
    color: #ffffff;
    background: var(--brand-red);
}

#blazor-error-ui .dismiss {
    margin-left: 12px;
    cursor: pointer;
}

@media (max-width: 1040px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
        min-height: 70px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-toggle-button {
        display: grid;
        gap: 5px;
        width: 44px;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.45);
    }

    .nav-toggle-button span {
        height: 2px;
        background: #ffffff;
    }

    .site-nav,
    .nav-cta {
        display: none;
    }

    #nav-toggle:checked ~ .site-nav {
        display: grid;
        grid-column: 1 / -1;
        justify-content: stretch;
        margin-top: 12px;
    }

    #nav-toggle:checked ~ .site-nav a {
        min-height: 44px;
        padding: 0 12px;
    }

    #nav-toggle:checked ~ .nav-cta {
        display: inline-flex;
        grid-column: 1 / -1;
        width: 100%;
        margin: 8px 0 0;
    }

    .hero-section,
    .home-hero,
    .home-intro,
    .home-outcomes,
    .home-method,
    .split-section,
    .process-summary,
    .about-intro,
    .about-split,
    .about-values,
    .intake-shell {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section {
        min-height: auto;
    }

    .home-hero {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .home-hero .modernization-dashboard {
        width: 100%;
        justify-self: stretch;
    }

    .service-grid,
    .home-service-grid,
    .services-grid,
    .services-focus,
    .path-grid,
    .home-metrics,
    .intro-proof-grid,
    .about-proof,
    .trust-band {
        grid-template-columns: 1fr;
    }

    .home-intro {
        background: #ffffff;
    }

    .trust-band div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-band div:last-child {
        border-bottom: 0;
    }

    .section-heading,
    .cta-band,
    .services-cta,
    .service-packages,
    .process-cta,
    .about-cta,
    .newsletter-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: calc(clamp(20px, 5vw, 82px) + 32px);
    }

    .process-timeline article {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 18px;
    }

    .process-number {
        width: 66px;
        height: 66px;
    }

    .process-card {
        grid-template-columns: 1fr;
    }

    .package-grid article {
        grid-template-columns: 76px 1fr;
    }

    .home-service-card {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .home-service-card ul {
        grid-column: 2;
    }

    .dashboard-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.18rem;
    }

    h2 {
        font-size: 1.64rem;
    }

    .hero-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .home-hero {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .hero-actions,
    .field-grid,
    .dashboard-score,
    .dashboard-list div,
    .intro-points span,
    .home-service-card,
    .package-grid article,
    .outcome-grid article,
    .signal-grid,
    .newsletter-form div,
    .about-service-list,
    .value-grid,
    .service-detail-list article,
    .timeline article,
    .process-timeline article,
    .method-list div {
        display: grid;
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        display: none;
    }

    .process-number {
        width: 54px;
        height: 54px;
    }

    .process-card {
        padding: 24px 20px;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: grid;
    }

    .primary-action,
    .secondary-action {
        width: 100%;
    }

    .home-service-card ul,
    .package-grid p,
    .outcome-grid p {
        grid-column: auto;
    }

    .dashboard-flow {
        grid-template-columns: 1fr;
    }

    .score-pill {
        width: 80px;
        height: 80px;
    }
}


