/* NexionWorks — Enterprise Design System */

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

:root {
    --navy: #0a2f4a;
    --navy-deep: #061f33;
    --teal: #0d7a8c;
    --teal-bright: #1495aa;
    --teal-soft: #e6f4f6;
    --slate: #1c2b36;
    --text: #243442;
    --text-muted: #5a6b78;
    --surface: #ffffff;
    --surface-alt: #f4f7f9;
    --surface-warm: #eef3f6;
    --border: #d5dee6;
    --border-soft: rgba(10, 47, 74, 0.08);
    --shadow-sm: 0 1px 2px rgba(6, 31, 51, 0.06);
    --shadow: 0 8px 24px rgba(6, 31, 51, 0.08);
    --shadow-lg: 0 20px 48px rgba(6, 31, 51, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --nav-h: 76px;
    --container: 1180px;
    --font-display: "Outfit", system-ui, sans-serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
    --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--teal);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--navy);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy-deep);
    line-height: 1.2;
    font-weight: 600;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 0.75rem 1rem;
    z-index: 10000;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 122, 140, 0.28);
}

.btn-primary:hover {
    background: var(--teal-bright);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-lg {
    padding: 1rem 1.85rem;
    font-size: 1.05rem;
}

.text-link {
    font-weight: 600;
    color: var(--teal);
    font-family: var(--font-display);
    font-size: 0.95rem;
}

/* Navigation */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.navbar.is-scrolled {
    border-bottom-color: var(--border-soft);
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.96);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit;
}

.logo-img {
    height: 42px;
    width: auto;
    background: #fff;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid var(--border-soft);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-primary {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--navy-deep);
}

.logo-secondary {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item {
    position: relative;
}

.nav-menu > .nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--slate);
    border-radius: 8px;
}

.nav-menu > .nav-item > a:hover,
.nav-menu > .nav-item > a.active {
    color: var(--teal);
    background: var(--teal-soft);
}

.arrow {
    font-size: 0.55rem;
    opacity: 0.7;
}

.btn-contact {
    background: var(--navy) !important;
    color: #fff !important;
    margin-left: 0.35rem;
    padding: 0.6rem 1.1rem !important;
}

.btn-contact:hover {
    background: var(--teal) !important;
    color: #fff !important;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--teal-soft);
    color: var(--teal);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero — full-bleed composition */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--nav-h) + 4rem) 0 5rem;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: heroKen 22s ease-in-out infinite alternate;
}

@keyframes heroKen {
    from { transform: scale(1.04) translate(0, 0); }
    to { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(6, 31, 51, 0.88) 0%, rgba(10, 47, 74, 0.72) 48%, rgba(13, 122, 140, 0.45) 100%),
        linear-gradient(to top, rgba(6, 31, 51, 0.75) 0%, transparent 45%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin-left: 0;
    margin-right: auto;
    animation: heroIn 1s ease both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    color: #fff;
}

.hero-title {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    max-width: 28ch;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 48ch;
    margin-bottom: 1.75rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Stats */
.stats-section {
    background: var(--navy-deep);
    color: #fff;
    padding: 3rem 0;
    margin-top: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number,
.stat-suffix {
    display: inline;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
}

.stat-suffix {
    color: var(--teal-bright);
}

.stat-label {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Logos */
.logos-section {
    padding: 2.5rem 0;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}

.logos-eyebrow {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.logo-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.client-logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.75;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Sections */
.section {
    padding: 5.5rem 0;
}

.section-header {
    max-width: 680px;
    margin-bottom: 3rem;
}

.section-header--compact {
    margin-bottom: 1.5rem;
}

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-header h2,
.product-hero h2,
.about-story h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    margin-bottom: 0.85rem;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.what-we-do {
    padding-bottom: 1rem;
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(13, 122, 140, 0.08), transparent),
        var(--surface);
}

/* Services */
.services {
    background: var(--surface-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(13, 122, 140, 0.25);
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-warm);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-media img {
    transform: scale(1.06);
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 31, 51, 0.25), transparent 55%);
    pointer-events: none;
}

.service-body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--teal-soft);
    color: var(--teal);
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
}

.service-icon svg {
    width: 20px;
    height: 20px;
}

.service-card h3 {
    font-size: 1.12rem;
    margin-bottom: 0.5rem;
}

.service-body > p {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 0.85rem;
}

.service-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.service-benefits li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.9rem;
    color: var(--slate);
}

.service-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--teal);
}

.engagement {
    margin-top: 3.5rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.engagement-card {
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--surface-alt);
    border: 1px solid transparent;
    transition: border-color var(--transition);
}

.engagement-card:hover {
    border-color: rgba(13, 122, 140, 0.3);
}

.engagement-card h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.engagement-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.faq-block {
    margin-top: 3rem;
}

.faq-block h3 {
    margin-bottom: 1rem;
}

.faq-item {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--surface);
    margin-bottom: 0.65rem;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1rem 1.2rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--teal);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    padding: 0 1.2rem 1.1rem;
    color: var(--text-muted);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover,
.product-card:focus,
.product-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    color: var(--text);
    text-decoration: none;
}

.product-card-visual {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--surface-warm);
    flex-shrink: 0;
}

.product-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-visual img {
    transform: scale(1.06);
}

.product-card-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 31, 51, 0.2), transparent 50%);
    pointer-events: none;
}

.product-card-body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    background: #ffffff;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-soft);
}

.product-card-body h3 {
    color: var(--navy-deep);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.product-card-body p {
    color: #3d4f5c;
    flex: 1;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.product-card-body .text-link {
    color: var(--teal);
    margin-top: 0.25rem;
}

/* Product detail pages */
.product-detail {
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
}

.product-detail--alt {
    background: var(--surface-alt);
}

.product-hero {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.product-hero .btn {
    margin-top: 0.5rem;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-features,
.product-benefits {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.product-detail--alt .product-features,
.product-detail--alt .product-benefits {
    background: var(--surface);
}

.check-list {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.check-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.screenshot-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.screenshot-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.screenshot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.screenshot-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: var(--surface-warm);
}

.screenshot-card figcaption {
    padding: 0.75rem 0.95rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
}

.modules-block {
    margin-bottom: 2rem;
}

.modules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.modules-grid span {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 550;
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-meta p {
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* Industries */
.solutions {
    background:
        linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: #fff;
}

.solutions .section-eyebrow {
    color: var(--teal-bright);
}

.solutions h2,
.solutions .solution-item h3 {
    color: #fff;
}

.solutions .section-lead {
    color: rgba(255, 255, 255, 0.72);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.solution-item {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: background var(--transition), transform var(--transition);
}

.solution-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.solution-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.solution-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Tech */
.tech-stack {
    background: var(--surface-alt);
}

.tech-groups {
    display: grid;
    gap: 1rem;
}

.tech-group {
    padding: 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.tech-group h3 {
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border-soft);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tech-tags span {
    padding: 0.4rem 0.75rem;
    background: var(--surface-alt);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--slate);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.tech-tags span:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-soft);
}

/* Process */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.process-step {
    position: relative;
    padding: 1.4rem;
    background: var(--surface-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.process-step .step-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
    display: block;
    margin-bottom: 0.5rem;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trust-bar {
    padding: 3rem 0;
    background: var(--surface-warm);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.trust-card {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.trust-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    color: var(--text-muted);
}

/* Insights */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.insight-card {
    padding: 1.6rem;
    background: var(--surface-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}

.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.insight-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.insight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.insight-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.insight-link {
    font-family: var(--font-display);
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background: var(--navy-deep);
}

.testimonials .section-eyebrow {
    color: var(--teal-bright);
}

.testimonials h2 {
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testimonial-card {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
}

.testimonial-card footer span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

/* Case studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.case-study-card {
    padding: 1.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.case-study-header {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.case-study-header h3 {
    font-size: 1.15rem;
}

.case-tag {
    align-self: flex-start;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
}

.case-study-card > p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.case-study-link {
    font-family: var(--font-display);
    font-weight: 600;
}

/* About */
.who-we-are {
    padding-bottom: 1rem;
}

.about {
    background: var(--surface-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-story p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-vm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vm-card {
    padding: 1.4rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.vm-card h3 {
    margin-bottom: 0.45rem;
}

.vm-card p {
    color: var(--text-muted);
}

.values,
.why-choose,
.timeline {
    margin-top: 2.5rem;
}

.values h3,
.why-choose h3,
.timeline h3 {
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
}

.value-item {
    padding: 1.1rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.value-item h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.1rem;
    background: var(--navy-deep);
    color: #fff;
    border-radius: var(--radius);
}

.why-item span {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal-bright);
}

.timeline-list {
    display: grid;
    gap: 0.85rem;
}

.timeline-list li {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border-left: 3px solid var(--teal);
}

.timeline-list strong {
    font-family: var(--font-display);
    color: var(--navy);
}

.timeline-list span {
    color: var(--text-muted);
}

/* Org / Leadership / Locations */
.org-grid,
.leadership-grid,
.life-grid,
.job-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.org-card,
.life-card,
.job-category-card {
    padding: 1.6rem;
    background: var(--surface-alt);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
}

.org-card:hover,
.life-card:hover,
.job-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.org-card h3,
.life-card h3,
.job-category-card h3 {
    margin-bottom: 0.5rem;
}

.org-card p,
.life-card p,
.job-category-card p {
    color: var(--text-muted);
}

.job-link {
    display: inline-block;
    margin-top: 0.85rem;
    font-family: var(--font-display);
    font-weight: 600;
}

.leader-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
}

.leader-placeholder {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--teal-soft), var(--surface-warm)),
        radial-gradient(circle at 30% 30%, rgba(13, 122, 140, 0.35), transparent 60%);
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}

.leader-role {
    color: var(--teal);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem 0 0.65rem;
}

.leader-card > p:last-child {
    color: var(--text-muted);
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
}

.location-info h3 {
    margin-bottom: 0.65rem;
}

.location-info p {
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.location-map,
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 260px;
    border: 1px solid var(--border-soft);
}

.location-map iframe,
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
}

/* Careers */
.careers {
    background:
        linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #0a4a5c);
    color: #fff;
}

.careers .section-eyebrow {
    color: var(--teal-bright);
}

.careers h2,
.careers-hero h3 {
    color: #fff;
}

.careers .section-lead,
.careers-hero p {
    color: rgba(255, 255, 255, 0.75);
}

.careers-hero {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.careers-hero h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.careers-hero .btn {
    margin-top: 1rem;
}

.hiring-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.hire-step {
    padding: 1.4rem;
    text-align: center;
    background: var(--surface-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.hire-step .step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.85rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
}

.hire-step h3 {
    margin-bottom: 0.4rem;
}

.hire-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA banner */
.cta-banner {
    padding: 4rem 0;
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(13, 122, 140, 0.18), transparent),
        var(--surface-warm);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.25rem 2.5rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
}

.cta-banner-inner h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    margin-bottom: 0.4rem;
}

.cta-banner-inner p {
    color: var(--text-muted);
}

/* Contact */
.contact {
    background: var(--surface-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item h3 {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.35rem;
}

.contact-item p,
.contact-item a {
    color: var(--text);
}

.contact-form {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 122, 140, 0.15);
}

.form-note {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.form-note.is-success {
    color: var(--teal);
}

/* Footer */
.footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 0.85rem;
}

.footer h4 {
    font-size: 0.95rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    font-size: 0.9rem;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .solutions-grid,
    .case-studies-grid,
    .testimonials-grid,
    .org-grid,
    .leadership-grid,
    .life-grid,
    .job-categories,
    .process-timeline,
    .engagement-grid,
    .values-grid,
    .why-grid,
    .hiring-process {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

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

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

@media (max-width: 900px) {
    .logo-text {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--surface);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 2rem;
        gap: 0.25rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
        border-top: 1px solid var(--border-soft);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > .nav-item > a {
        padding: 0.95rem 0.75rem;
        width: 100%;
        justify-content: space-between;
    }

    .btn-contact {
        margin: 0.5rem 0 0 !important;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }

    .nav-item.active .dropdown-menu {
        max-height: 320px;
        padding: 0.25rem 0.5rem 0.75rem;
    }

    .about-grid,
    .product-layout,
    .product-meta,
    .contact-content,
    .location-card,
    .cta-banner-inner,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-list li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .hero {
        align-items: center;
        padding-top: calc(var(--nav-h) + 2.5rem);
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.75rem 0;
    }

    .services-grid,
    .solutions-grid,
    .case-studies-grid,
    .testimonials-grid,
    .org-grid,
    .leadership-grid,
    .life-grid,
    .job-categories,
    .process-timeline,
    .engagement-grid,
    .values-grid,
    .why-grid,
    .hiring-process,
    .stats-grid,
    .screenshot-row,
    .products-grid,
    .trust-grid,
    .form-row,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .stat-item::after {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }
}
