:root {
    --red: #d71920;
    --red-dark: #951016;
    --red-soft: #fff1f1;
    --charcoal: #131519;
    --charcoal-2: #20242b;
    --charcoal-3: #2c3038;
    --ink: #101216;
    --muted: #626a76;
    --line: #e5e8ee;
    --soft: #f6f7f9;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(16, 18, 22, 0.14);
    --shadow-strong: 0 34px 90px rgba(16, 18, 22, 0.24);
    --radius: 8px;
    --container: 1180px;
    --header-height: 124px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    z-index: 1000;
    padding: 12px 16px;
    background: var(--red);
    color: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(229, 232, 238, 0.86);
    backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(229, 232, 238, 1);
    box-shadow: 0 18px 45px rgba(16, 18, 22, 0.08);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    font-weight: 800;
}

.brand-logo-frame {
    position: relative;
    display: block;
    width: 162px;
    height: 108px;
    overflow: hidden;
}

.brand-logo {
    position: absolute;
    left: -29px;
    top: -51px;
    width: 220px;
    height: 220px;
    max-width: none;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    letter-spacing: 0;
    box-shadow: 0 16px 35px rgba(215, 25, 32, 0.28);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
    color: var(--charcoal);
}

.brand-copy span {
    font-size: 0.95rem;
}

.brand-copy strong {
    font-size: 1.15rem;
}

.primary-nav {
    display: none;
    align-items: center;
    gap: 6px;
}

.primary-nav a {
    padding: 10px 12px;
    border-radius: var(--radius);
    color: #4c535f;
    font-size: 0.94rem;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--red);
    background: rgba(215, 25, 32, 0.08);
}

.header-cta {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(16, 18, 22, 0.16);
    transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    background: var(--red);
}

.nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.nav-toggle span:not(.sr-only) {
    height: 2px;
    background: var(--charcoal);
    border-radius: 999px;
}

.section {
    padding: 104px 0;
}

.section-bleed {
    position: relative;
    overflow: hidden;
}

.hero {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    align-items: center;
    padding: 68px 0 34px;
    background:
        linear-gradient(118deg, rgba(19, 21, 25, 0.98) 0%, rgba(19, 21, 25, 0.94) 46%, rgba(42, 18, 21, 0.94) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        var(--charcoal);
    background-size: auto, 78px 78px, 78px 78px, auto;
    color: var(--white);
}

.page-hero {
    display: grid;
    align-items: center;
    min-height: 430px;
    padding: 92px 0;
    background:
        linear-gradient(118deg, rgba(19, 21, 25, 0.98), rgba(33, 20, 23, 0.95)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        var(--charcoal);
    background-size: auto, 78px 78px, 78px 78px, auto;
    color: var(--white);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 7px;
    background: linear-gradient(90deg, var(--red), rgba(215, 25, 32, 0.06) 76%);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(2.75rem, 7vw, 5.4rem);
    line-height: 0.98;
}

.page-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.06rem, 2vw, 1.22rem);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 7px;
    background: linear-gradient(90deg, var(--red), rgba(215, 25, 32, 0.06) 76%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 44px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 0.94;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

h2 {
    margin-bottom: 18px;
    color: var(--charcoal);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

h3 {
    margin-bottom: 12px;
    color: var(--charcoal);
    font-size: 1.2rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 18px 38px rgba(215, 25, 32, 0.3);
}

.btn-primary:hover {
    background: var(--red-dark);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
}

.hero-panel {
    align-self: end;
}

.panel-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(16px);
}

.performance-card {
    padding: 30px;
}

.panel-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.panel-topline strong {
    color: #81dfa8;
}

.signal-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: end;
    height: 112px;
    margin-bottom: 28px;
}

.signal-bars span {
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(180deg, var(--red), rgba(215, 25, 32, 0.14));
    animation: rise 2.8s ease-in-out infinite;
    transform-origin: bottom;
}

.signal-bars span:nth-child(1) { height: 46%; }
.signal-bars span:nth-child(2) { height: 68%; animation-delay: 160ms; }
.signal-bars span:nth-child(3) { height: 88%; animation-delay: 320ms; }
.signal-bars span:nth-child(4) { height: 58%; animation-delay: 480ms; }

.performance-card h2 {
    color: var(--white);
    font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.performance-card ul {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.74);
}

.performance-card li {
    position: relative;
    padding-left: 22px;
}

.performance-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.trust-bar {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1px;
    margin-top: 52px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
}

.trust-bar div {
    padding: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.trust-bar strong,
.trust-bar span {
    display: block;
}

.trust-bar strong {
    margin-bottom: 6px;
    color: var(--white);
    font-size: 0.98rem;
}

.trust-bar span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 38px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.04rem;
}

.about-section,
.services-section {
    background: var(--white);
}

.company-overview {
    background: var(--white);
}

.about-grid,
.why-grid,
.mission-grid,
.leadership-profile-grid,
.values-layout {
    display: grid;
    gap: 28px;
    align-items: center;
}

.about-card,
.service-card,
.value-card,
.leader-card,
.executive-stat-card,
.mission-card,
.leadership-profile {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 40px rgba(16, 18, 22, 0.06);
}

.about-card,
.leader-card,
.executive-stat-card,
.mission-card,
.leadership-profile {
    padding: 34px;
}

.about-card {
    border-color: rgba(215, 25, 32, 0.2);
    background: linear-gradient(180deg, var(--white), #fbfbfc);
}

.about-card span,
.service-card span,
.value-card span,
.leader-card span,
.executive-stat-card span,
.mission-card span,
.leadership-profile span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-card p,
.service-card p,
.value-card p,
.leader-card p,
.executive-stat-card p,
.mission-card p,
.leadership-profile p {
    margin-bottom: 0;
    color: var(--muted);
}

.executive-stat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 241, 0.96)),
        var(--white);
    border-color: rgba(215, 25, 32, 0.22);
}

.executive-stat-card strong {
    display: block;
    margin-bottom: 18px;
    color: var(--charcoal);
    font-size: clamp(4rem, 12vw, 7.2rem);
    line-height: 0.9;
}

.mission-section {
    background: var(--soft);
}

.mission-card {
    min-height: 100%;
    background: var(--white);
}

.mission-card h2 {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 1.14;
}

.mission-card-dark {
    background:
        linear-gradient(145deg, rgba(19, 21, 25, 0.98), rgba(45, 23, 27, 0.98)),
        var(--charcoal);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-strong);
}

.mission-card-dark h2 {
    color: var(--white);
}

.about-leadership-section {
    background: var(--white);
}

.leadership-profile {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: linear-gradient(180deg, var(--white), #fbfbfc);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.leadership-profile::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.leadership-profile:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 25, 32, 0.34);
    box-shadow: var(--shadow);
}

.leadership-profile:hover::after {
    transform: scaleX(1);
}

.leadership-profile p + p {
    margin-top: 14px;
}

.values-section {
    background:
        linear-gradient(180deg, rgba(246, 247, 249, 0.96), rgba(255, 255, 255, 0.96)),
        var(--soft);
}

.values-grid {
    display: grid;
    gap: 18px;
}

.services-overview-section {
    background: var(--white);
    padding-bottom: 54px;
}

.service-details-section {
    padding-top: 0;
    background: var(--white);
}

.service-detail-grid {
    display: grid;
    gap: 18px;
}

.service-detail-card,
.process-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 40px rgba(16, 18, 22, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-detail-card {
    padding: 32px;
}

.service-detail-card::after,
.process-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.service-detail-card:hover,
.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 25, 32, 0.34);
    box-shadow: var(--shadow);
}

.service-detail-card:hover::after,
.process-card:hover::after {
    transform: scaleX(1);
}

.service-detail-card span,
.process-card span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-detail-card h2 {
    margin-bottom: 16px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.service-detail-card p,
.process-card p {
    color: var(--muted);
}

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

.service-detail-card li {
    position: relative;
    padding-left: 20px;
    color: var(--charcoal);
    font-weight: 700;
}

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

.process-section {
    background:
        linear-gradient(180deg, rgba(246, 247, 249, 0.96), rgba(255, 255, 255, 0.96)),
        var(--soft);
}

.process-grid {
    display: grid;
    gap: 18px;
}

.process-card {
    padding: 28px;
    background: linear-gradient(180deg, var(--white), #fbfbfc);
}

.process-card p {
    margin-bottom: 0;
}

.industries-overview-section {
    background: var(--white);
    padding-bottom: 54px;
}

.industry-cards-section {
    padding-top: 0;
    background: var(--white);
}

.industry-grid {
    display: grid;
    gap: 18px;
}

.industry-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--white), #fbfbfc);
    box-shadow: 0 14px 40px rgba(16, 18, 22, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.industry-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 25, 32, 0.34);
    box-shadow: var(--shadow);
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-card span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.industry-card h2 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.industry-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.capability-section {
    background:
        linear-gradient(120deg, rgba(19, 21, 25, 0.98), rgba(32, 36, 43, 0.96)),
        var(--charcoal);
    color: var(--white);
}

.capability-grid {
    display: grid;
    gap: 30px;
    align-items: center;
}

.capability-section h2,
.capability-section p {
    color: var(--white);
}

.capability-section p {
    color: rgba(255, 255, 255, 0.72);
}

.capability-list {
    display: grid;
    gap: 12px;
}

.capability-list div {
    position: relative;
    padding: 18px 20px 18px 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.capability-list div::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--red);
    transform: translateY(-50%);
    box-shadow: 0 0 0 6px rgba(215, 25, 32, 0.14);
}

.performance-metrics-section {
    background: var(--white);
}

.metrics-card-grid {
    display: grid;
    gap: 18px;
}

.metric-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--white), #fbfbfc);
    box-shadow: 0 14px 40px rgba(16, 18, 22, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.metric-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 25, 32, 0.34);
    box-shadow: var(--shadow);
}

.metric-card:hover::after {
    transform: scaleX(1);
}

.metric-card span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.metric-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.business-impact-section {
    background:
        linear-gradient(180deg, rgba(246, 247, 249, 0.96), rgba(255, 255, 255, 0.96)),
        var(--soft);
}

.business-impact-grid {
    display: grid;
    gap: 30px;
    align-items: center;
}

.impact-list {
    display: grid;
    gap: 12px;
}

.impact-list div {
    position: relative;
    padding: 18px 20px 18px 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--charcoal);
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(16, 18, 22, 0.05);
}

.impact-list div::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--red);
    transform: translateY(-50%);
    box-shadow: 0 0 0 6px rgba(215, 25, 32, 0.1);
}

.contact-overview-section {
    background: var(--white);
}

.contact-overview-grid,
.contact-main-grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

.contact-intent-card,
.contact-form,
.contact-info-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 40px rgba(16, 18, 22, 0.06);
}

.contact-intent-card {
    padding: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 241, 0.96)),
        var(--white);
    border-color: rgba(215, 25, 32, 0.2);
}

.contact-intent-card span,
.contact-info-card span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-intent-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-intent-card li {
    position: relative;
    padding-left: 22px;
    color: var(--charcoal);
    font-weight: 800;
}

.contact-intent-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--red);
}

.contact-main-section {
    background:
        linear-gradient(180deg, rgba(246, 247, 249, 0.96), rgba(255, 255, 255, 0.96)),
        var(--soft);
}

.contact-form {
    padding: 34px;
}

.contact-form h2 {
    margin-bottom: 26px;
    font-size: clamp(1.75rem, 4vw, 2.7rem);
}

.form-alert {
    margin-bottom: 24px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
}

.form-alert-success {
    border-color: rgba(34, 139, 87, 0.28);
    background: rgba(34, 139, 87, 0.08);
    color: #17633d;
}

.form-alert-error {
    border-color: rgba(215, 25, 32, 0.28);
    background: rgba(215, 25, 32, 0.08);
    color: var(--red-dark);
}

.form-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label span {
    color: var(--charcoal);
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfbfc;
    color: var(--charcoal);
    font: inherit;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(215, 25, 32, 0.6);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.contact-card-grid {
    display: grid;
    gap: 18px;
}

.contact-info-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-info-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 25, 32, 0.34);
    box-shadow: var(--shadow);
}

.contact-info-card:hover::after {
    transform: scaleX(1);
}

.contact-info-card h3 {
    overflow-wrap: anywhere;
}

.contact-info-card a,
.contact-info-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.contact-info-card a {
    font-weight: 800;
    transition: color 180ms ease;
}

.contact-info-card a:hover {
    color: var(--red);
}

.service-grid,
.leader-grid,
.value-grid {
    display: grid;
    gap: 18px;
}

.service-card,
.value-card {
    position: relative;
    min-height: 100%;
    padding: 28px;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after,
.value-card::after,
.leader-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.service-card:hover,
.value-card:hover,
.leader-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 25, 32, 0.34);
    box-shadow: var(--shadow);
}

.service-card:hover::after,
.value-card:hover::after,
.leader-card:hover::after {
    transform: scaleX(1);
}

.why-section,
.leadership-section {
    background:
        linear-gradient(180deg, rgba(246, 247, 249, 0.96), rgba(255, 255, 255, 0.96)),
        var(--soft);
}

.why-grid {
    align-items: start;
}

.value-grid {
    align-items: stretch;
}

.value-card {
    background: linear-gradient(180deg, var(--white), #fbfbfc);
}

.split-layout {
    display: grid;
    gap: 34px;
}

.leader-card {
    position: relative;
    overflow: hidden;
}

.cta-section {
    background:
        linear-gradient(135deg, rgba(215, 25, 32, 0.96), rgba(149, 16, 22, 0.98)),
        var(--red);
    color: var(--white);
}

.cta-inner {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.cta-inner h2 {
    max-width: 820px;
    margin-bottom: 0;
    color: var(--white);
}

.cta-inner p {
    max-width: 620px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
}

.cta-inner .eyebrow {
    color: var(--white);
}

.cta-inner .btn-primary {
    background: var(--white);
    color: var(--red);
    box-shadow: none;
}

.cta-inner .btn-primary:hover {
    color: var(--red-dark);
    background: #f7f7f8;
}

.site-footer {
    padding: 64px 0 22px;
    background: #101216;
    color: var(--white);
}

.footer-grid {
    display: grid;
    gap: 34px;
}

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

.footer-site-link {
    display: inline-block;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
    transition: color 180ms ease;
}

.footer-site-link:hover {
    color: var(--white);
}

.brand-footer .brand-copy {
    color: var(--white);
}

.brand-footer .brand-logo-frame {
    width: 176px;
    height: 122px;
}

.brand-footer .brand-logo {
    left: -32px;
    top: -56px;
    width: 240px;
    height: 240px;
}

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

.footer-column h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.66);
    transition: color 180ms ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rise {
    0%,
    100% {
        transform: scaleY(0.88);
        opacity: 0.82;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (max-width: 899px) {
    :root {
        --header-height: 106px;
    }

    .primary-nav {
        position: fixed;
        inset: var(--header-height) 20px auto;
        display: grid;
        gap: 4px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav a {
        padding: 14px;
    }
}

@media (min-width: 640px) {
    .trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid,
    .leader-grid,
    .service-detail-grid,
    .process-grid,
    .industry-grid,
    .metrics-card-grid,
    .contact-card-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-wide {
        grid-column: 1 / -1;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .nav-toggle {
        display: none;
    }

    .primary-nav,
    .header-cta {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
        align-items: center;
    }

    .trust-bar {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-grid,
    .mission-grid,
    .leadership-profile-grid,
    .values-layout {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .why-grid {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.34fr);
        gap: 48px;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .capability-grid,
    .business-impact-grid,
    .contact-overview-grid,
    .contact-main-grid {
        grid-template-columns: 0.95fr 1.05fr;
    }

    .metrics-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-detail-card:nth-child(7) {
        grid-column: 1 / -1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout {
        grid-template-columns: 0.92fr 1.08fr;
        align-items: start;
    }

    .footer-grid {
        grid-template-columns: 1.7fr 0.8fr 0.9fr 1fr;
    }
}

@media (min-width: 1100px) {
    .why-section .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    :root {
        --header-height: 90px;
    }

    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .brand-logo-frame {
        width: 118px;
        height: 78px;
    }

    .brand-logo {
        left: -21px;
        top: -37px;
        width: 160px;
        height: 160px;
    }

    .brand-footer .brand-logo-frame {
        width: 132px;
        height: 90px;
    }

    .brand-footer .brand-logo {
        left: -24px;
        top: -42px;
        width: 180px;
        height: 180px;
    }

    .hero {
        min-height: auto;
        padding: 56px 0 28px;
    }

    .page-hero {
        min-height: 360px;
        padding: 72px 0;
    }

    h1 {
        font-size: clamp(2.55rem, 13vw, 3.65rem);
        line-height: 0.98;
    }

    h2 {
        font-size: clamp(1.85rem, 9vw, 2.75rem);
        line-height: 1.06;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .performance-card,
    .about-card,
    .leader-card,
    .executive-stat-card,
    .mission-card,
    .leadership-profile,
    .service-detail-card,
    .process-card,
    .industry-card,
    .metric-card,
    .contact-form,
    .contact-info-card,
    .contact-intent-card {
        padding: 24px;
    }

    .service-card,
    .value-card {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
