:root {
    --purple-primary: #7B1FE0;
    --purple-secondary: #A855F7;
    --purple-accent: #C084FC;
    --logo-purple-deep: #4c1d95;
    --logo-purple-rich: #6d28d9;
    --purple-hover: #9333ea;
    --orange-primary: #ea580c;
    --orange-secondary: #f97316;
    --orange-bright: #fb923c;
    --orange-hover: #f97316;
    --bg-primary: #0B0F17;
    --bg-secondary: #121826;
    --border: #252F3F;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --success: #22C55E;
    --header-bg: #0f172a;
    --header-text: #ffffff;
    --header-muted: #ffffff;
    --header-border: rgba(255, 255, 255, 0.12);
    --topbar-bg: var(--orange-primary);
    --topbar-text: #ffffff;
    --container: min(1200px, 92vw);
    --radius: 14px;
    --transition: 0.25s ease;
    --shadow: 0 10px 24px rgba(8, 10, 20, 0.25);
    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-heading: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
    overflow-x: clip;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.glass {
    backdrop-filter: none;
    background: rgba(18, 24, 38, 0.96);
    border: 1px solid var(--border);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--purple-primary);
    padding: 0.8rem 1rem;
    z-index: 9999;
}

.skip-link:focus {
    left: 1rem;
}

:focus-visible {
    outline: 2px solid var(--purple-accent);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: none;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2.75rem;
    height: 2.75rem;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        rgba(15, 23, 42, 0.72) 35%,
        rgba(148, 163, 184, 0.18) 72%,
        transparent 100%
    );
}

.topbar {
    background: var(--topbar-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 0.78rem;
}

.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: clamp(1rem, 3vw, 2rem);
    padding: 0.35rem 0.25rem;
    min-height: 30px;
    white-space: nowrap;
}

.topbar-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem 1.25rem;
    grid-column: 1;
    justify-self: start;
}

.topbar-contact li {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--topbar-text);
}

.topbar-contact a {
    color: var(--topbar-text);
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    transition: color var(--transition);
}

.topbar-contact a:hover {
    color: #ffffff;
}

.topbar-email-short {
    display: none;
}

.topbar-icon-svg {
    color: #ffffff;
    flex-shrink: 0;
    opacity: 0.95;
}

.topbar-tagline {
    margin: 0;
    grid-column: 2;
    justify-self: center;
    text-align: center;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.topbar-sep {
    margin: 0 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    grid-column: 3;
    justify-self: end;
}

.lang-switcher {
    position: relative;
}

.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.15rem 0;
    cursor: pointer;
    line-height: 1.2;
    font-family: inherit;
    transition: opacity var(--transition);
}

.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
    opacity: 0.85;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    min-width: 9.75rem;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1a2333;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.lang-menu button {
    width: 100%;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #e8edf4;
    text-align: left;
    font: inherit;
    font-size: 0.8rem;
    padding: 0.48rem 0.6rem;
    cursor: pointer;
}

.lang-menu button:hover,
.lang-menu button[aria-selected="true"] {
    background: rgba(123, 31, 224, 0.25);
    color: #fff;
}

.main-nav-bar {
    position: relative;
    z-index: 100;
    background: var(--header-bg);
    border-bottom: none;
}

.mobile-menu-backdrop {
    display: none;
}

@media (min-width: 901px) {
    .mobile-menu {
        position: static;
        display: block;
        grid-column: 2;
        justify-self: center;
        visibility: visible;
        pointer-events: auto;
        z-index: auto;
    }

    .mobile-menu-panel {
        position: static;
        overflow: visible;
        background: transparent;
        border: 0;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav {
        grid-column: auto;
    }
}

.nav-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1rem;
    padding: 0.2rem 0;
    min-height: 0;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    grid-column: 1;
    justify-self: start;
}

.brand-logo {
    display: block;
    width: auto;
    height: clamp(64px, 9.5vw, 82px);
    max-width: min(380px, 52vw);
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.45));
}

.site-nav {
    grid-column: 2;
    justify-self: center;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.site-nav a {
    position: relative;
    color: var(--header-muted);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    text-transform: capitalize;
    transition: color var(--transition);
    padding: 0.1rem 0;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--purple-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
    color: #ffffff;
    opacity: 1;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 4px;
    border: 2px solid transparent;
    background: var(--orange-primary);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);
    transition: background var(--transition), box-shadow var(--transition);
}

.btn-header-cta:hover {
    background: var(--orange-hover);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.5);
}

.btn-header-cta--desktop {
    grid-column: 3;
    justify-self: end;
}

.nav-cta-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    grid-column: 3;
    justify-self: end;
    background: transparent;
    border: 1px solid var(--header-border);
    border-radius: 6px;
    padding: 0.45rem 0.5rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 4px 0;
}

section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--light {
    background: #f4f6fa;
    color: #1a2333;
}

.section--light h2,
.section--light h3 {
    color: #121a2a;
}

.section--light .section-intro,
.section--light .photo-card-body p,
.section--light .stat-label {
    color: #5a6578;
}

.section--light .card--plain {
    background: #ffffff;
    border-color: #dde3ec;
}

.section--light .card--plain p {
    color: #4a5568;
}

.section--light .pill {
    background: rgba(123, 31, 224, 0.08);
    border-color: rgba(123, 31, 224, 0.35);
    color: #5b21b6;
}

.section--light .stat strong {
    color: #121a2a;
}

.section--light .btn-secondary {
    color: #ffffff;
    border-color: transparent;
    background: var(--orange-primary);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.section--light .btn-secondary:hover {
    background: var(--orange-hover);
    border-color: transparent;
    color: #ffffff;
}

.section--dark {
    background: var(--bg-primary);
}

.why-ats-list {
    display: flex;
    flex-direction: column;
    gap: clamp(1.35rem, 2.8vw, 2rem);
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.why-ats-card {
    --why-body-bg: #ffffff;
    --why-title-color: var(--orange-primary);
    --why-text-color: #475569;
    --why-icon-bg: rgba(234, 88, 12, 0.12);
    --why-icon-border: rgba(234, 88, 12, 0.28);
    --why-icon-color: var(--orange-primary);
    --why-border: rgba(148, 163, 184, 0.45);
    --why-hover-glow: rgba(234, 88, 12, 0.18);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--why-border);
    box-shadow: 0 12px 32px rgba(4, 8, 16, 0.28);
    transition:
        border-color 0.4s ease,
        box-shadow 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-ats-card:nth-child(1) {
    --why-body-bg: #ffffff;
    --why-title-color: var(--orange-primary);
    --why-text-color: #475569;
    --why-icon-bg: rgba(234, 88, 12, 0.12);
    --why-icon-border: rgba(234, 88, 12, 0.28);
    --why-icon-color: var(--orange-primary);
    --why-border: rgba(148, 163, 184, 0.45);
    --why-hover-glow: rgba(234, 88, 12, 0.18);
}

.why-ats-card:nth-child(2) {
    --why-body-bg: #64748b;
    --why-title-color: #ffffff;
    --why-text-color: #e2e8f0;
    --why-icon-bg: rgba(255, 255, 255, 0.14);
    --why-icon-border: rgba(255, 255, 255, 0.35);
    --why-icon-color: #ffffff;
    --why-border: rgba(100, 116, 139, 0.85);
    --why-hover-glow: rgba(148, 163, 184, 0.35);
}

.why-ats-card:nth-child(3) {
    --why-body-bg: var(--orange-primary);
    --why-title-color: #ffffff;
    --why-text-color: #ffedd5;
    --why-icon-bg: rgba(255, 255, 255, 0.18);
    --why-icon-border: rgba(255, 255, 255, 0.4);
    --why-icon-color: #ffffff;
    --why-border: rgba(234, 88, 12, 0.75);
    --why-hover-glow: rgba(234, 88, 12, 0.35);
}

.why-ats-card:nth-child(4) {
    --why-body-bg: #121826;
    --why-title-color: #f8fafc;
    --why-text-color: var(--text-secondary);
    --why-icon-bg: rgba(123, 31, 224, 0.22);
    --why-icon-border: rgba(168, 85, 247, 0.45);
    --why-icon-color: var(--purple-accent);
    --why-border: rgba(168, 85, 247, 0.4);
    --why-hover-glow: rgba(123, 31, 224, 0.28);
}

.why-ats-card:hover {
    transform: translateY(-4px);
    border-color: var(--why-border);
    box-shadow: 0 20px 44px var(--why-hover-glow);
}

.why-ats-card:nth-child(3):hover {
    transform: translateY(-5px) scale(1.005);
}

.why-ats-card-media {
    position: relative;
    min-height: clamp(260px, 30vw, 360px);
    overflow: hidden;
    background: #0f172a;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-ats-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.why-ats-card:nth-child(2) .why-ats-card-media::after {
    background: linear-gradient(225deg, rgba(100, 116, 139, 0.2), transparent 55%);
}

.why-ats-card:nth-child(3) .why-ats-card-media::after {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), transparent 55%);
}

.why-ats-card:nth-child(4) .why-ats-card-media::after {
    background: linear-gradient(225deg, rgba(123, 31, 224, 0.18), transparent 55%);
}

.why-ats-card:hover .why-ats-card-media::after {
    opacity: 1;
}

.why-ats-card-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-ats-card:nth-child(1):hover .why-ats-card-media img {
    transform: scale(1.05) translateX(-1.5%);
}

.why-ats-card:nth-child(2):hover .why-ats-card-media img {
    transform: scale(1.06) translateX(1.5%);
}

.why-ats-card:nth-child(3):hover .why-ats-card-media img {
    transform: scale(1.07);
}

.why-ats-card:nth-child(4):hover .why-ats-card-media img {
    transform: scale(1.04);
    filter: contrast(1.05);
}

.why-ats-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1rem, 2vw, 1.35rem);
    padding: clamp(2rem, 4.5vw, 3rem) clamp(2rem, 4vw, 3.25rem);
    background: var(--why-body-bg);
}

.why-ats-card-heading {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 1.5vw, 1.15rem);
}

.why-ats-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(3.25rem, 5vw, 3.75rem);
    height: clamp(3.25rem, 5vw, 3.75rem);
    border-radius: 12px;
    background: var(--why-icon-bg);
    border: 1px solid var(--why-icon-border);
    color: var(--why-icon-color);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease;
}

.why-ats-card:hover .why-ats-card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.why-ats-card:nth-child(3):hover .why-ats-card-icon {
    transform: scale(1.1);
}

.why-ats-card:nth-child(4):hover .why-ats-card-icon {
    transform: scale(1.06) rotate(3deg);
}

.why-ats-icon-svg {
    display: block;
}

.why-ats-card-body h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--why-title-color);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.why-ats-card-body p {
    margin: 0;
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
    line-height: 1.72;
    color: var(--why-text-color);
    text-wrap: pretty;
}

.why-ats-card-body p {
    max-width: 58ch;
}

.section-cta-link {
    margin: 1.5rem 0 0;
    text-align: center;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-top: 0;
    font-weight: 600;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2.1rem, 8vw, 4.4rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.6rem, 4.8vw, 2.8rem);
}

.about-page,
.services-page,
.industries-page,
.contact-page {
    background: var(--bg-primary);
}

.services-intro-panel,
.industries-intro-panel,
.contact-intro-panel {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}

.services-intro-text,
.industries-intro-text,
.contact-intro-text {
    margin: 0 auto;
    max-width: 72ch;
    text-align: center;
    font-size: clamp(1.02rem, 1.2vw, 1.12rem);
    line-height: 1.8;
    color: var(--text-secondary);
}

.industries-list-panel {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.services-list-panel {
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: clamp(1.35rem, 2.5vw, 2rem);
}

.service-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
    scroll-margin-top: 7rem;
}

.service-detail-card--reverse .service-detail-slider {
    order: 2;
}

.service-detail-card--reverse .service-detail-body {
    order: 1;
}

.service-detail-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 36px rgba(4, 8, 16, 0.3);
}

.service-detail-card--dark .service-detail-body {
    background: #121826;
    border-color: rgba(168, 85, 247, 0.35);
}

.service-detail-card--orange .service-detail-body {
    background: var(--orange-primary);
    border-color: rgba(255, 255, 255, 0.25);
}

.service-detail-card--gray .service-detail-body {
    background: #64748b;
    border-color: rgba(255, 255, 255, 0.2);
}

.service-detail-card--light .service-detail-body {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.45);
}

.service-detail-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.service-detail-card--dark .service-detail-title {
    color: #f8fafc;
}

.service-detail-card--orange .service-detail-title,
.service-detail-card--gray .service-detail-title {
    color: #ffffff;
}

.service-detail-card--light .service-detail-title {
    color: #0f172a;
}

.service-detail-text {
    margin: 0;
    font-size: clamp(0.98rem, 1.1vw, 1.05rem);
    line-height: 1.72;
}

.service-detail-card--dark .service-detail-text {
    color: var(--text-secondary);
}

.service-detail-card--orange .service-detail-text {
    color: #ffedd5;
}

.service-detail-card--gray .service-detail-text {
    color: #e2e8f0;
}

.service-detail-card--light .service-detail-text {
    color: #475569;
}

.service-capabilities {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.service-capabilities li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.service-capabilities li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange-primary);
}

.service-detail-card--orange .service-capabilities li::before {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.service-detail-card--gray .service-capabilities li::before {
    background: #ffffff;
}

.service-detail-card--light .service-capabilities li::before {
    background: var(--orange-primary);
}

.service-detail-card--dark .service-capabilities strong {
    color: var(--purple-accent);
}

.service-detail-card--orange .service-capabilities strong,
.service-detail-card--gray .service-capabilities strong {
    color: #ffffff;
}

.service-detail-card--light .service-capabilities strong {
    color: var(--orange-primary);
}

.service-detail-card--dark .service-capabilities li {
    color: var(--text-secondary);
}

.service-detail-card--orange .service-capabilities li {
    color: #ffedd5;
}

.service-detail-card--gray .service-capabilities li {
    color: #e2e8f0;
}

.service-detail-card--light .service-capabilities li {
    color: #475569;
}

.service-detail-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.service-detail-card--orange .service-detail-btn.btn-primary,
.service-detail-card--gray .service-detail-btn.btn-primary {
    background: #ffffff;
    color: var(--orange-primary);
    border-color: #ffffff;
}

.service-detail-card--orange .service-detail-btn.btn-primary:hover,
.service-detail-card--gray .service-detail-btn.btn-primary:hover {
    background: #ffedd5;
    color: #c2410c;
}

.services-cta-panel {
    border-top: 1px solid var(--border);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.services-cta-inner {
    text-align: center;
    max-width: 52ch;
    margin: 0 auto;
}

.services-cta-inner h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
    color: #f8fafc;
}

.services-cta-inner p {
    margin: 0 0 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-banner {
    position: relative;
    width: 100%;
    height: 480px;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b0f17;
    background-image: var(--banner-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 15, 23, 0.82) 0%, rgba(11, 15, 23, 0.45) 42%, rgba(11, 15, 23, 0.55) 100%),
        linear-gradient(180deg, rgba(11, 15, 23, 0.35) 0%, rgba(11, 15, 23, 0.65) 100%);
    pointer-events: none;
}

.page-banner-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0;
    text-align: left;
}

.services-banner .page-banner-overlay,
.about-banner .page-banner-overlay,
.industries-banner .page-banner-overlay,
.contact-banner .page-banner-overlay {
    background:
        radial-gradient(ellipse 75% 65% at 50% 42%, rgba(8, 14, 23, 0.72) 0%, rgba(8, 14, 23, 0.38) 55%, transparent 100%),
        linear-gradient(180deg, rgba(11, 15, 23, 0.35) 0%, rgba(11, 15, 23, 0.65) 100%);
}

.services-banner .page-banner-inner,
.about-banner .page-banner-inner,
.industries-banner .page-banner-inner,
.contact-banner .page-banner-inner {
    align-items: center;
    text-align: center;
}

.services-banner .page-banner-title,
.about-banner .page-banner-title,
.industries-banner .page-banner-title,
.contact-banner .page-banner-title {
    align-items: center;
}

.page-banner-title {
    margin: 0;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: clamp(2.35rem, 5.8vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.page-banner-title-line {
    display: block;
    width: 100%;
    white-space: normal;
}

.about-panel {
    padding: clamp(3.25rem, 6vw, 5rem) 0;
}

.about-panel--who {
    background: var(--bg-primary);
}

.about-panel--commitment {
    background: #0f141f;
    border-top: 1px solid var(--border);
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
}

.about-split-photo {
    margin: 0;
    min-height: 100%;
}

.about-split-photo img {
    width: 100%;
    height: 100%;
    min-height: clamp(280px, 32vw, 420px);
    object-fit: cover;
    display: block;
}

.about-commitment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: start;
}

.about-commitment-photo {
    margin: 0;
    position: sticky;
    top: 6rem;
}

.about-commitment-photo img {
    width: 100%;
    height: 100%;
    min-height: clamp(320px, 40vw, 520px);
    object-fit: cover;
    display: block;
}

.about-card {
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(145deg, #141b2b 0%, #121826 100%);
    box-shadow: 0 16px 40px rgba(4, 8, 16, 0.35);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.about-card-accent {
    flex-shrink: 0;
    width: 4px;
    height: 2.5rem;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--orange-primary), var(--orange-bright));
    box-shadow: 0 0 18px rgba(234, 88, 12, 0.45);
}

.about-card-accent--center {
    width: 3.5rem;
    height: 4px;
    margin: 0 auto 1.15rem;
    background: linear-gradient(90deg, var(--orange-primary), var(--purple-secondary));
}

.about-card h2,
.about-commitment-head h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.about-card-text {
    margin: 0;
    font-size: clamp(1.02rem, 1.2vw, 1.12rem);
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 78ch;
}

.about-commitment-head {
    text-align: center;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.about-commitment-intro {
    margin: 0.85rem auto 0;
    max-width: 52ch;
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.7;
    color: var(--text-secondary);
}

.commitment-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.5vw, 1.15rem);
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: #121826;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.commitment-item:hover {
    border-color: rgba(234, 88, 12, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.1);
}

.commitment-item-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--orange-primary);
}

.commitment-item-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--orange-primary);
    letter-spacing: 0.02em;
}

.commitment-item-body p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.commitment-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .page-banner {
        height: auto;
        min-height: clamp(220px, 38vh, 320px);
        max-height: none;
    }

    .page-banner-inner {
        align-items: center;
        text-align: center;
    }

    .page-banner-title {
        align-items: center;
    }

    .about-split,
    .about-commitment-layout,
    .service-detail-card,
    .service-detail-card--reverse {
        grid-template-columns: 1fr;
    }

    .service-detail-card--reverse .service-detail-slider,
    .service-detail-card--reverse .service-detail-body {
        order: unset;
    }

    .about-commitment-photo {
        position: static;
        order: -1;
    }

    .about-commitment-head {
        text-align: left;
    }

    .about-card-accent--center {
        margin-left: 0;
        margin-right: auto;
    }

    .about-commitment-intro {
        margin-left: 0;
        margin-right: 0;
    }

    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .commitment-item:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .page-banner-title {
        font-size: clamp(1.3rem, 6vw, 1.85rem);
    }
}

.hero {
    padding-top: clamp(4rem, 8vw, 8rem);
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-shell {
    --hero-max-width: 1600px;
    --hero-height: 560px;
    padding: 0;
    margin-top: 0;
    background: #0b0f17;
}

/* Wide, low banner — matches 1600×500 photos (31.25% of width) */
.hero-shell .hero-carousel {
    position: relative;
    width: min(100%, var(--hero-max-width));
    height: clamp(220px, 35vw, var(--hero-height));
    max-height: var(--hero-height);
    margin-inline: auto;
    overflow: hidden;
}

.hero-shell .hero-frame {
    background-position: center top;
    transform-origin: center top;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: min(56.25vw, 1080px);
    min-height: 240px;
    overflow: hidden;
}

.hero-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.75s ease, transform 1.3s ease;
    pointer-events: none;
    background-color: #0b0f17;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-frame.has-hero-bg {
    background-image: var(--hero-image);
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 40%, rgba(8, 14, 23, 0.72) 0%, rgba(8, 14, 23, 0.35) 55%, transparent 100%),
        linear-gradient(180deg, rgba(11, 15, 23, 0.35) 0%, transparent 40%, rgba(11, 15, 23, 0.55) 100%);
}

.hero-shell .hero-frame::before {
    background:
        radial-gradient(ellipse 70% 50% at 50% 35%, rgba(8, 14, 23, 0.65) 0%, rgba(8, 14, 23, 0.3) 50%, transparent 100%),
        linear-gradient(180deg, rgba(11, 15, 23, 0.3) 0%, transparent 45%, rgba(11, 15, 23, 0.7) 100%);
}

.hero-frame.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1.25rem;
    text-align: center;
}

.hero-shell .hero-title {
    font-size: clamp(2rem, 5.2vw, 4.15rem);
    line-height: 1.08;
}

.hero-shell .hero-subtitle,
.hero-shell .hero p.hero-subtitle {
    margin-top: 0.45rem;
    max-width: 36rem;
    font-size: clamp(0.85rem, 1.35vw, 1rem);
    line-height: 1.35;
}

.hero-shell .hero-actions {
    margin-top: 0.75rem;
    gap: 0.6rem;
}

.hero-shell .hero-actions .btn {
    padding: 0.52rem 0.95rem;
    font-size: 0.86rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(192, 132, 252, 0.9);
    background: rgba(10, 18, 30, 0.45);
    backdrop-filter: blur(2px);
    color: #efe5ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.42rem 0.68rem;
    margin-bottom: 0.9rem;
}

.hero-title {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6.8vw, 5.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #f8fafc;
    text-wrap: normal;
    text-shadow: 0 10px 26px rgba(4, 8, 15, 0.52);
}

.hero-subtitle,
.hero p.hero-subtitle {
    margin: 0.75rem 0 0;
    width: 100%;
    max-width: 100%;
    color: #ffffff;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 600;
    line-height: 1.45;
    text-shadow: 0 4px 12px rgba(4, 8, 15, 0.45);
}

.hero p:not(.hero-subtitle) {
    color: var(--text-secondary);
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.1rem;
}

.hero-actions .btn-primary {
    color: #ffffff;
    background: var(--purple-primary);
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(123, 31, 224, 0.35);
}

.hero-actions .btn-primary:hover {
    background: var(--purple-hover);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(168, 85, 247, 0.45);
}

.hero-actions .btn-secondary {
    color: #ffffff;
    background: var(--orange-primary);
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);
    backdrop-filter: none;
}

.hero-actions .btn-secondary:hover {
    background: var(--orange-hover);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.5);
}

.btn {
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
    cursor: pointer;
    transition: box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
    font-weight: 600;
    border: 2px solid transparent;
}

.btn:hover {
    transform: none;
}

.btn-primary {
    color: #ffffff;
    background: var(--purple-primary);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(123, 31, 224, 0.35);
}

.btn-primary:hover {
    background: var(--purple-hover);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(168, 85, 247, 0.45);
}

.btn-secondary {
    color: #ffffff;
    background: var(--orange-primary);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}

.btn-secondary:hover {
    color: #ffffff;
    background: var(--orange-hover);
    border-color: transparent;
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.45);
}

.btn-light {
    color: #0f172a;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #f1f5f9;
    filter: none;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.28);
}

.hero-visual,
.media-card {
    min-height: 300px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #1a2233;
    position: relative;
}

.hero-visual::before,
.media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(11, 15, 23, 0.28));
}

.section-intro {
    max-width: 68ch;
    color: var(--text-secondary);
}

.services-showcase {
    padding: clamp(1rem, 2.5vw, 1.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

.service-card {
    --card-accent-bar: var(--purple-primary);
    --card-accent-glow: rgba(123, 31, 224, 0.28);
    --card-accent-border: rgba(168, 85, 247, 0.55);
    --card-body-bg: #121826;
    --card-title-color: #f8fafc;
    --card-cta-color: var(--purple-accent);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #121826;
    box-shadow: 0 10px 28px rgba(4, 8, 16, 0.4);
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card:nth-child(3n + 2) {
    --card-accent-bar: #ffffff;
    --card-accent-glow: rgba(234, 88, 12, 0.32);
    --card-accent-border: rgba(249, 115, 22, 0.65);
    --card-body-bg: var(--orange-primary);
    --card-title-color: #ffffff;
    --card-cta-color: #ffffff;
}

.service-card:nth-child(3) {
    --card-accent-bar: #94a3b8;
    --card-accent-glow: rgba(148, 163, 184, 0.28);
    --card-accent-border: rgba(148, 163, 184, 0.55);
    --card-body-bg: #475569;
    --card-title-color: #f8fafc;
    --card-cta-color: #e2e8f0;
}

.service-card:nth-child(4) {
    --card-accent-bar: #ffffff;
    --card-accent-glow: rgba(255, 255, 255, 0.22);
    --card-accent-border: rgba(255, 255, 255, 0.75);
    --card-body-bg: #f8fafc;
    --card-title-color: #0f172a;
    --card-cta-color: var(--orange-primary);
}

.service-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 23, 0.35);
    pointer-events: none;
    transition: opacity var(--transition);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.1rem 1.15rem;
    background: var(--card-body-bg);
}

.service-card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent-bar);
    opacity: 1;
}

.service-card-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--card-title-color);
    letter-spacing: -0.01em;
}

.service-card-cta {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--card-cta-color);
    transition: color var(--transition), transform var(--transition);
}

.service-card-cta::after {
    content: " →";
}

.service-card:hover,
.service-card:focus-visible {
    border-color: var(--card-accent-border);
    box-shadow: 0 18px 40px var(--card-accent-glow);
    transform: translateY(-4px);
    outline: none;
}

.service-card:hover .service-card-media::after,
.service-card:focus-visible .service-card-media::after {
    opacity: 0.85;
}

.service-card:nth-child(3n + 1):hover .service-card-cta,
.service-card:nth-child(3n + 1):focus-visible .service-card-cta {
    color: var(--purple-accent);
}

.service-card:nth-child(3n + 2):hover .service-card-cta,
.service-card:nth-child(3n + 2):focus-visible .service-card-cta {
    color: #ffedd5;
}

.service-card:nth-child(3):hover .service-card-cta,
.service-card:nth-child(3):focus-visible .service-card-cta {
    color: #ffffff;
}

.service-card:nth-child(4):hover .service-card-cta,
.service-card:nth-child(4):focus-visible .service-card-cta {
    color: var(--orange-primary);
}

.service-card:hover img,
.service-card:focus-visible img {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .services-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .services-showcase-grid {
        grid-template-columns: 1fr;
    }

    .service-card-media {
        aspect-ratio: 16 / 10;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.photo-card-grid {
    margin-top: 1.5rem;
}

.photo-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #121a2a;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.section--light .photo-card {
    background: #ffffff;
    border-color: #dde3ec;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.photo-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(123, 31, 224, 0.12);
}

.photo-card-media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #0b0f17;
}

.photo-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.photo-card:hover .photo-card-media img {
    transform: scale(1.04);
}

.photo-card-body {
    padding: 1.1rem 1.15rem 1.2rem;
}

.photo-card-body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.photo-card-body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.photo-card--title-only .photo-card-body {
    padding: 0.9rem 1rem;
}

.photo-card--title-only .photo-card-body h3 {
    margin: 0;
    font-size: 1rem;
}

.section--dark .photo-card--title-only .photo-card-body h3 {
    color: #f8fafc;
}

.photo-card-grid--compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.photo-card--industry {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.photo-card--industry .photo-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.photo-card--industry:hover,
.photo-card--industry:focus-visible {
    border-color: rgba(234, 88, 12, 0.55);
    box-shadow: 0 14px 32px rgba(234, 88, 12, 0.14);
    outline: none;
}

.photo-card-arrow {
    flex-shrink: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--orange-primary);
    transition: transform var(--transition), color var(--transition);
}

.photo-card--industry:hover .photo-card-arrow,
.photo-card--industry:focus-visible .photo-card-arrow {
    transform: translateX(4px);
    color: var(--orange-bright);
}

.industries-list {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.industry-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
    scroll-margin-top: 7rem;
}

.industry-detail-card--reverse .industry-detail-slider {
    order: 2;
}

.industry-detail-card--reverse .industry-detail-body {
    order: 1;
}

.industry-detail-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0f172a;
    min-height: clamp(240px, 32vw, 380px);
}

.industry-detail-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.industry-detail-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.65s ease;
    pointer-events: none;
}

.industry-detail-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.industry-detail-slide img {
    width: 100%;
    height: 100%;
    min-height: clamp(240px, 32vw, 380px);
    object-fit: cover;
    display: block;
}

.industry-detail-dots {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 2;
}

.industry-detail-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.industry-detail-dot.is-active,
.industry-detail-dot:hover {
    background: var(--orange-primary);
    transform: scale(1.15);
}

.industry-detail-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.industry-detail-body h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    color: #f8fafc;
}

.industry-detail-body p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-secondary);
}

.media-frame {
    margin: 0;
    min-height: 300px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #121a2a;
}

.media-frame img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.card--plain {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.card--plain:hover {
    background: transparent;
    border: none;
}

.home-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.home-cta-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #121a2a;
}

.home-cta-copy h2 {
    margin-bottom: 0.25rem;
}

.media-frame--cta {
    min-height: 260px;
}

.media-frame--cta img {
    min-height: 260px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.grid {
    display: grid;
    gap: 1rem;
}

.cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 1.35rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #121a2a;
    transition: border-color var(--transition), background var(--transition);
}

.card:hover {
    transform: none;
    border-color: #3d4d66;
    background: #152037;
}

.card p,
.muted {
    color: var(--text-secondary);
}

.pill {
    display: inline-flex;
    border-radius: 7px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(123, 31, 224, 0.55);
    background: rgba(123, 31, 224, 0.1);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat strong {
    display: block;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-family: var(--font-heading);
}

.feature-project {
    display: grid;
    gap: 1.2rem;
    align-items: stretch;
    grid-template-columns: 1.2fr 1fr;
}

.company-intro-tagline {
    font-size: clamp(1.35rem, 3.2vw, 2.15rem);
    line-height: 1.35;
    color: #f8fafc;
    letter-spacing: -0.02em;
    text-transform: none;
    max-width: 36ch;
}

.company-intro-text {
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 62ch;
}

.company-intro .card--plain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.contact-main-panel {
    padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr minmax(280px, 0.85fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
}

.contact-form-card {
    background: linear-gradient(145deg, #141b2b 0%, #121826 100%);
    height: 100%;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.25rem);
    min-height: 100%;
}

.contact-map {
    flex: 1;
    min-height: clamp(220px, 28vw, 320px);
    margin: 0;
    border: 1px solid var(--border);
    background: #0f172a;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    display: block;
}

.contact-details-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--orange-primary);
    box-shadow: 0 16px 40px rgba(234, 88, 12, 0.28);
    color: #ffffff;
}

.contact-details-card h2,
.contact-details-card h3 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.contact-details-card h3 {
    margin-top: 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-details-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #ffedd5;
}

.contact-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}

.contact-details-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.contact-details-value {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    text-decoration: none;
    transition: opacity var(--transition);
}

a.contact-details-value:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.form-status--error {
    border-color: rgba(239, 68, 68, 0.55);
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

.form-status--error ul {
    margin: 0;
    padding-left: 1.1rem;
}

.form-status--success {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

form {
    display: grid;
    gap: 0.8rem;
}

label {
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 0.72rem 0.8rem;
    background: rgba(11, 15, 23, 0.6);
    color: var(--text-primary);
    font: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    background: rgba(34, 197, 94, 0.08);
}

.site-footer {
    border-top: 4px solid var(--orange-primary);
    padding-top: 1.5rem;
    padding-bottom: 0;
    margin-top: 1.5rem;
    background: #0a0e15;
}

.footer-grid {
    display: grid;
    gap: 1.25rem 1.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

.footer-col h2 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.02em;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 0.65rem;
    line-height: 0;
}

.footer-logo {
    display: block;
    width: auto;
    height: clamp(58px, 7.5vw, 86px);
    max-width: min(300px, 42vw);
    object-fit: contain;
    object-position: left center;
}

.footer-tagline {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--orange-bright);
}

.footer-about-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.footer-list a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.45;
    transition: color var(--transition);
}

.footer-list a:hover {
    color: var(--orange-bright);
}

.footer-list--contact li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
}

.footer-list--contact span,
.footer-list--contact a {
    font-size: 0.88rem;
    line-height: 1.45;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-list--contact a:hover {
    color: var(--orange-bright);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1.25rem;
    padding: 0.85rem 0 1rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.footer-copyright,
.footer-credit {
    margin: 0;
}

.footer-credit {
    margin-left: auto;
    text-align: right;
}

.footer-credit a {
    color: var(--orange-primary);
    font-weight: 600;
    transition: color var(--transition);
}

.footer-credit a:hover {
    color: var(--orange-bright);
}

@media (max-width: 1200px) {
    .photo-card-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-detail-card,
    .industry-detail-card--reverse {
        grid-template-columns: 1fr;
    }

    .industry-detail-card--reverse .industry-detail-slider,
    .industry-detail-card--reverse .industry-detail-body {
        order: unset;
    }

    .why-ats-card {
        grid-template-columns: 1fr;
    }

    .why-ats-card-body p {
        max-width: none;
    }

    .why-ats-card-body {
        padding: clamp(1.5rem, 4vw, 2rem);
    }

    .why-ats-card-body h3 {
        font-size: clamp(1.25rem, 4.5vw, 1.65rem);
        letter-spacing: 0.04em;
    }

    .why-ats-card-media {
        min-height: 220px;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .feature-project,
    .contact-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-col--about {
        grid-column: 1 / -1;
    }

    .footer-credit {
        margin-left: 0;
        text-align: left;
        width: 100%;
    }

    .cards-3,
    .stats,
    .home-cta-inner {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        order: 1;
    }

    .contact-sidebar {
        order: 2;
    }

    .nav-shell {
        grid-template-columns: 1fr auto;
    }

    .brand {
        grid-column: 1;
    }

    .btn-header-cta--desktop {
        display: none;
    }

    .nav-cta-mobile {
        display: list-item;
        margin-top: 0.5rem;
    }

    .nav-toggle {
        display: inline-block;
        grid-column: 2;
    }

    /* Mobile nav panel: see assets/css/mobile.css (fixed overlay + scroll lock) */

    .site-nav ul {
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.15rem;
    }

    .site-nav a {
        display: block;
        padding: 0.6rem 0.2rem;
    }

    .site-nav a::after {
        bottom: 0.35rem;
        width: 28px;
        right: auto;
    }

    .nav-cta-mobile .btn-header-cta {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3.75rem);
    }
}

@media (max-width: 640px) {
    .photo-card-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-shell .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
        line-height: 1.1;
    }

    .hero-shell .hero-subtitle,
    .hero-shell .hero p.hero-subtitle {
        font-size: 0.88rem;
        margin-top: 0.45rem;
    }

    .hero-shell .hero-actions {
        margin-top: 0.75rem;
    }

    .hero-shell .hero-actions .btn {
        padding: 0.52rem 0.9rem;
        font-size: 0.84rem;
    }

    .hero-kicker {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }

    .hero-title {
        font-size: clamp(1.85rem, 8.5vw, 2.75rem);
        line-height: 1.1;
    }

    .hero-subtitle,
    .hero p.hero-subtitle {
        color: #ffffff;
        font-size: 1rem;
        line-height: 1.42;
    }
}

@media (max-width: 1200px) {
    .topbar-tagline {
        font-size: 0.66rem;
    }

    .topbar-contact {
        font-size: 0.72rem;
        gap: 0.1rem 0.4rem;
    }
}

/* Top bar mobile layout: assets/css/mobile.css */

@media (max-width: 480px) {
    .cards-4 {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Tablet: 2-column industry cards between small phone and full mobile stack */
@media (min-width: 480px) and (max-width: 900px) {
    .photo-card-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
