/* =========================================================================
   ScruScan Technology — Design System
   Palette drawn directly from the ScruScan logo: deep navy ink, a vivid
   brand blue, and a bright cyan accent lifted from the "S" mark's own
   gradient, paired with the logo's neutral slate gray.
   ========================================================================= */

:root {
    /* Color */
    --ink: #060D1F;
    --navy-deep: #021346;
    --navy: #014ED2;
    --navy-soft: #01B8EE;
    --pearl: #F2F6FB;
    --pearl-white: #FBFDFF;
    --blush: #01B8EE;
    --blush-deep: #0092C2;
    --mist: #E6EAF0;
    --slate: #4B505D;
    --slate-light: #777C8B;
    --line: #DBE0E8;

    /* Type */
    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Layout */
    --wrap: 1180px;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow-soft: 0 10px 30px -14px rgba(2, 19, 70, 0.25);
    --shadow-card: 0 2px 14px rgba(2, 19, 70, 0.06);
    --header-h: 84px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--pearl-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

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

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    margin: 0 0 0.5em;
    line-height: 1.15;
    color: var(--navy-deep);
}

p {
    margin: 0 0 1em;
}

button {
    font-family: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy-deep);
    color: #fff;
    padding: 10px 16px;
    z-index: 999;
    border-radius: 0 0 6px 0;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 2px solid var(--blush-deep);
    outline-offset: 3px;
}

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

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blush-deep);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--blush-deep);
    display: inline-block;
}

.on-dark .eyebrow {
    color: var(--blush);
}

.on-dark .eyebrow::before {
    background: var(--blush);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--blush-deep);
    color: #fff;
 

}

.btn-primary:hover {
    background: var(--navy-deep);
}

.btn-outline {
    background: transparent;
    color: var(--navy-deep);
    border-color: var(--navy-deep);
    color:white;
}

.btn-outline:hover {
    background: var(--navy-deep);
    color: #fff;
}

.on-dark .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.on-dark .btn-outline:hover {
    background: #fff;
    color: var(--navy-deep);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 253, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

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

.site-nav {
    margin-left: 12px;
    flex: 1;
    margin-left: 100px;
}

.site-nav>ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy-deep);
    padding: 8px 2px;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--blush-deep);
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--blush-deep);
}

.caret {
    font-size: 10px;
    margin-left: 2px;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: -18px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.18s ease;
    border: 1px solid var(--line);
}

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

.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14.5px;
    color: var(--navy-deep);
}

.dropdown a:hover {
    background: var(--pearl);
    color: var(--blush-deep);
}

.nav-cta {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 68%, var(--navy-soft) 100%);
    color: #fff;
    overflow: hidden;
    padding: 96px 0 120px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 82% 18%, rgba(1, 184, 238, 0.22), transparent 45%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.35rem);
    letter-spacing: -0.01em;
    margin-bottom: 22px;
}

.hero .lede {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    max-width: 560px;
}

.hero-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(2, 19, 70, 0) 40%, rgba(2, 19, 70, 0.55) 100%);
}

/* Shell-arc divider — signature motif marking section transitions */
.shell-divider {
    position: relative;
    height: 64px;
    margin-top: -1px;
}

.shell-divider svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Sections ---------- */
section {
    padding: 88px 0;
}

.section-pearl {
    background: var(--pearl);
}

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

.section-navy {
    background: var(--navy-deep);
    color: #fff;
}

.section-navy h2,
.section-navy h3 {
    color: #fff;
}

.section-head {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

.section-head .lede {
    color: var(--slate);
    font-size: 17px;
}

.on-dark .section-head .lede {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Stat band ---------- */
.stats-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 30px 26px;
}

.stat-card .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--blush);
    display: block;
    margin-bottom: 6px;
}

.stat-card .label {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.75);
}

.section-pearl .stat-card,
.section-white .stat-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.section-pearl .stat-card .num,
.section-white .stat-card .num {
    color: var(--blush-deep);
}

.section-pearl .stat-card .label,
.section-white .stat-card .label {
    color: var(--slate);
}

/* ---------- Card grids ---------- */
.grid {
    display: grid;
    gap: 24px;
}

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

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

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--blush);
}

.card .icon-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--pearl);
    color: var(--blush-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--slate);
    font-size: 15px;
    margin-bottom: 0;
}

.card ul {
    margin-top: 14px;
}

.card ul li {
    font-size: 14.5px;
    color: var(--slate);
    padding: 5px 0 5px 20px;
    position: relative;
}

.card ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--blush-deep);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    color: var(--navy);
    font-size: 14.5px;
}

.card-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.card:hover .card-link::after {
    transform: translateX(4px);
}

/* ---------- Process chain (pearl-chain) ----------
   Used for the literal pipelines described in the source content
   (e.g. Capture → Classify → Index → Store...). Numbering here is
   real sequence, not decoration. */
.process-chain {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
    counter-reset: step;
}

.process-chain .step {
    counter-increment: step;
    flex: 1 1 150px;
    position: relative;
    padding: 22px 18px 18px;
    background: #fff;
    border: 1px solid var(--line);
    text-align: center;
}

.process-chain .step:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.process-chain .step:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.process-chain .step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blush-deep);
    margin-bottom: 8px;
    letter-spacing: 0.06em;
}

.process-chain .step .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-deep);
}

.process-chain .step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blush-deep);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.on-dark .process-chain .step {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}

.on-dark .process-chain .step .name {
    color: #fff;
}

/* Numbered workflow (vertical, for product pages) */
.workflow-list {
    display: grid;
    gap: 18px;
}

.workflow-item {
    display: flex;
    gap: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.workflow-item .wf-num {
    font-family: var(--font-mono);
    color: var(--blush-deep);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    width: 44px;
}

.workflow-item h4 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    color: var(--navy-deep);
}

.workflow-item p {
    margin: 0;
    color: var(--slate);
    font-size: 14.5px;
}

/* ---------- Value / principles list ---------- */
.value-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-item {
    padding: 24px;
    border-left: 3px solid var(--blush-deep);
    background: var(--pearl);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.value-item h4 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    color: var(--navy-deep);
}

.value-item p {
    margin: 0;
    color: var(--slate);
    font-size: 14.5px;
}

/* ---------- Pillars (People. Process. Technology. Trust.) ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar {
    text-align: center;
    padding: 30px 18px;
}

.pillar .mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(1, 184, 238, 0.15);
    color: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    border: 1px solid rgba(1, 184, 238, 0.4);
}

.pillar h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.pillar p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    margin: 0;
}

/* ---------- Industries tag cloud ---------- */
.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy-deep);
}

/* ---------- Feature row (image-free alternating text blocks) ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 46px 0;
    border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row.reverse .feature-visual {
    order: 2;
}

.feature-visual {
    background: linear-gradient(150deg, var(--navy-deep), var(--navy));
    border-radius: var(--radius);
    min-height: 220px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.feature-visual .big-quote {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.4;
}

.feature-text h3 {
    font-size: 1.5rem;
}

.feature-text p {
    color: var(--slate);
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
    color: #fff;
    border-radius: 20px;
    padding: 56px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 480px;
}

.cta-band-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Product hero mini-nav ---------- */
.product-switch {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.product-switch a {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-deep);
    background: #fff;
}

.product-switch a.active,
.product-switch a:hover {
    background: var(--navy-deep);
    color: #fff;
    border-color: var(--navy-deep);
}

/* ---------- Contact page ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background: var(--navy-deep);
    color: #fff;
    border-radius: var(--radius);
    padding: 36px;
}

.contact-info-card h3 {
    color: #fff;
}

.contact-info-list {
    margin-top: 22px;
    display: grid;
    gap: 18px;
}

.contact-info-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info-list .ci-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(1, 184, 238, 0.18);
    color: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    flex-shrink: 0;
}

.contact-info-list .ci-label {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 3px;
    font-family: var(--font-mono);
}

.contact-info-list a,
.contact-info-list span.ci-value {
    color: #fff;
    font-size: 15px;
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

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

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14.5px;
    background: var(--pearl-white);
    color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blush-deep);
    background: #fff;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 13px;
    color: var(--slate-light);
    margin-top: 10px;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14.5px;
}

.alert-success {
    background: #EAF4EC;
    color: #1E5C33;
    border: 1px solid #BFE2C6;
}

.alert-error {
    background: #FBEAE8;
    color: #8A2E24;
    border: 1px solid #F3C6BF;
}

/* ---------- Footer ---------- */
.site-footer {
     background:rgba(230, 234, 240, 0.82);
    /* background: var(--pearl-white); */
    color: rgba(240, 244, 249, 0.82);
    padding-top: 72px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    height: 34px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: var(--font-mono);
    color: var(--blush);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-about {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    max-width: 320px;
}

.footer-heading {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
    color: var(--blush);
}

.footer-contact li {
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(225, 230, 237, 0.4);
    margin-bottom: 3px;
}

.footer-contact a:hover {
    color: var(--blush);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-strap {
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
    background: var(--navy-deep);
    color: #fff;
    padding: 64px 0 60px;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    font-size: 16.5px;
    margin: 0;
}

.breadcrumb {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--blush);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        order: -1;
        height: 260px;
    }

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

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

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

    .value-list {
        grid-template-columns: 1fr;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
    }

    .feature-row.reverse .feature-visual {
        order: 0;
    }

    .stats-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

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

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        border: none;
        background: none;
        cursor: pointer;
        margin-left: auto;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
        background: var(--navy-deep);
        display: block;
        transition: 0.2s;
    }

    .mobile-nav {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: #fff;
        border-top: 1px solid var(--line);
        transition: max-height 0.25s ease;
    }

    .mobile-nav.open {
        max-height: 640px;
    }

    .mobile-nav ul {
        padding: 18px 28px 6px;
    }

    .mobile-nav li a {
        display: block;
        padding: 12px 0;
        font-size: 15.5px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-sub-label {
        font-family: var(--font-mono);
        font-size: 11.5px;
        text-transform: uppercase;
        color: var(--blush-deep);
        padding-top: 10px;
        letter-spacing: 0.08em;
    }

    .mobile-sub a {
        padding-left: 14px;
        font-size: 14.5px;
        color: var(--slate);
    }

    .mobile-nav .btn {
        margin: 16px 28px 24px;
        width: calc(100% - 56px);
    }

    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .process-chain {
        flex-direction: column;
    }

    .process-chain .step:not(:last-child)::after {
        content: "↓";
        right: 50%;
        top: 100%;
        transform: translate(50%, -50%);
    }

    .process-chain .step:first-child {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .process-chain .step:last-child {
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .cta-band {
        padding: 40px 26px;
        flex-direction: column;
        text-align: center;
    }

    .cta-band-actions {
        justify-content: center;
    }

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

    .pillars {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }
}
/* =========================================================================
   HOME PAGE ADDITIONS — Added to match uploaded reference design
   (Services tiles restyle, Modern Technologies pills, Our Clients grid,
   Testimonials). Home page only; other pages are unaffected since these
   classes are not used elsewhere.
   ========================================================================= */

/* ---------- Services tiles (icon + title + chevron card) ---------- */
.services-grid-v2 {
    align-items: stretch;
}

.service-tile {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--blush);
}

.service-tile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.service-tile-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--pearl);
    color: var(--blush-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.service-tile-chevron {
    color: var(--slate-light);
    font-size: 13px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.service-tile:hover .service-tile-chevron {
    transform: translateX(4px);
    color: var(--blush-deep);
}

.service-tile h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.service-tile p {
    color: var(--slate);
    font-size: 14.5px;
    margin-bottom: 0;
}

/* ---------- Modern Technologies pill grid ---------- */
.tech-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-deep);
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease, border-color 0.2s ease, color 0.2s ease;
}

.tech-pill:hover {
    transform: translateY(-2px);
    border-color: var(--blush);
    color: var(--blush-deep);
}

.tech-pill i {
    font-size: 15px;
    color: var(--blush-deep);
}

/* ---------- Our Clients logo grid ---------- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.client-logo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    text-align: center;
}

.client-logo-placeholder {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--slate);
    letter-spacing: 0.01em;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-quote-icon {
    color: var(--blush);
    font-size: 20px;
    margin-bottom: 14px;
}

.testimonial-card p {
    color: var(--slate);
    font-size: 15px;
    flex-grow: 1;
}

.testimonial-author {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.testimonial-name {
    display: block;
    font-weight: 600;
    color: var(--navy-deep);
    font-size: 14.5px;
}

.testimonial-role {
    display: block;
    font-size: 13px;
    color: var(--slate-light);
    margin-top: 2px;
}

/* ---------- Responsive: Home page additions ---------- */
@media (max-width: 980px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .tech-pill-grid {
        justify-content: flex-start;
    }

    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }
}
