/* =========================================================
   MAKSONTECH INDUSTRIES — Futuristic AI Industrial v3
   White-led • AI glow borders • Glassmorphism • Premium
   ========================================================= */

:root {
    /* === MAKSONTECH BRAND PALETTE === */
    --navy: #002A7F;          /* Deep Industrial Navy — primary brand */
    --orange: #FF5A00;        /* Innovation Orange — energy / accent */
    --silver: #C9CDD3;        /* Metallic Silver Grey — shield edge / neutral */

    /* Supporting backgrounds */
    --paper: #FFFFFF;
    --paper-2: #F5F7FA;       /* Soft White */
    --paper-3: #FAFBFD;       /* derived very-light off-white */
    --paper-4: #EEF2FA;       /* derived navy-tinted off-white */
    --navy-deep: #071B46;     /* Deep Navy Background */
    --graphite: #2F3842;      /* Graphite Dark — body text */
    --ink: #111111;
    --muted: #6B7280;

    /* Brand accent variants (derived for hover / soft glows) */
    --navy-soft: #1F4399;     /* lighter navy for gradient mids */
    --orange-light: #FF7A1A;  /* hover / mid orange */
    --orange-deep: #E04E00;
    --silver-deep: #A8AEB6;

    /* === Compatibility aliases — every prior accent now resolves to brand === */
    --blue: var(--navy);
    --blue-soft: var(--navy-soft);
    --cyan: var(--silver);
    --purple: var(--orange-light);
    --purple-soft: #FFB37A;

    /* Lines & glows — brand-only */
    --line: rgba(15, 23, 42, 0.08);
    --line-2: rgba(15, 23, 42, 0.14);
    --line-blue: rgba(0, 42, 127, 0.18);
    --line-blue-soft: rgba(0, 42, 127, 0.10);

    --glow-blue:   0 0 30px rgba(0, 42, 127, 0.18);
    --glow-cyan:   0 0 30px rgba(201, 205, 211, 0.40);
    --glow-purple: 0 0 30px rgba(255, 122, 26, 0.20);
    --glow-orange: 0 0 30px rgba(255, 90, 0, 0.22);

    --grad-ai: linear-gradient(120deg, #002A7F 0%, #1F4399 30%, #FF7A1A 70%, #FF5A00 100%);
    --grad-ai-soft: linear-gradient(120deg, rgba(0,42,127,0.30), rgba(31,67,153,0.25), rgba(255,122,26,0.25), rgba(255,90,0,0.30));
    --grad-brand-2: linear-gradient(135deg, #002A7F 0%, #FF5A00 100%);

    --font-head: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-mono: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --easing: cubic-bezier(.2, .7, .2, 1);
    --maxw: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}
html {
    overflow-x: clip;
    background: var(--paper);
    color-scheme: light;
}
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--graphite);
    background: var(--paper);
    background-color: var(--paper);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: clip;
    min-height: 100vh;
}
/* Defensive: prevent any decorative absolute children from creating horizontal scroll */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}
.section, .hero, .site-footer, .site-header {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}
/* iOS Safari fallback — when clip isn't supported */
@supports not (overflow-x: clip) {
    html, body { overflow-x: hidden; }
    .section, .hero, .site-footer { overflow-x: hidden; }
}
/* Catch any rogue overflow source */
img, iframe, video, svg { max-width: 100%; }
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
img[loading="lazy"] { transition: opacity .3s ease; }
a { color: inherit; text-decoration: none; transition: color .25s var(--easing); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
p { margin: 0; color: var(--graphite); }
::selection { background: var(--orange); color: #fff; }

/* Hide page scrollbar — scrollbars on inner scroll containers (sliders) are still hidden in their own rules */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* ---------- Top scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-ai);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 1100;
    transition: transform .1s linear;
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.section {
    padding: clamp(48px, 5.5vw, 88px) 0;
    position: relative;
}
.section-light {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
}
.section-soft {
    background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 50%, #F5F9FF 100%);
}

/* Section heads */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--line-blue);
    border-radius: 999px;
    background: rgba(0, 42, 127, 0.05);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--blue);
    margin-bottom: 16px;
    width: fit-content;
    width: -moz-fit-content;
    align-self: flex-start;
}
.eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
.eyebrow.orange { border-color: rgba(255,90,0,0.25); background: rgba(255,90,0,0.06); color: var(--orange); }
.eyebrow.orange::before { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.eyebrow.purple { border-color: rgba(255,90,0,0.25); background: rgba(255,90,0,0.06); color: var(--purple); }
.eyebrow.purple::before { background: var(--purple); box-shadow: 0 0 10px var(--purple); }

.section-title {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    color: var(--ink);
    line-height: 1.08;
}
.section-title .grad {
    background: linear-gradient(120deg, #FF7A1A 0%, #FF5A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.section-title .grad.nowrap,
.section-title .nowrap { white-space: nowrap; }
@media (max-width: 575px) {
    .section-title .grad.nowrap,
    .section-title .nowrap { white-space: normal; }
}
.section-lead {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--muted);
    max-width: 640px;
    line-height: 1.65;
}
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    position: relative;
    transition: transform .25s var(--easing), box-shadow .25s var(--easing), background .25s var(--easing), color .25s var(--easing), border-color .25s var(--easing);
}
.btn i { transition: transform .25s var(--easing); font-size: 16px; }
.btn:hover i { transform: translateX(3px); }

.btn.btn-primary {
    background: var(--orange);
    background-color: var(--orange);
    color: var(--paper);
    border: none;
    border-radius: 999px;
    padding: 14px 26px;
    box-shadow: 0 6px 22px rgba(255, 90, 0, 0.30), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background: var(--orange-deep);
    background-color: var(--orange-deep);
    color: var(--paper);
    border-color: var(--orange-deep);
    box-shadow: 0 12px 36px rgba(255, 90, 0, 0.40);
    transform: translateY(-2px);
}

.btn.btn-orange {
    background: var(--orange);
    background-color: var(--orange);
    color: var(--paper);
    border: none;
    border-radius: 999px;
    padding: 14px 26px;
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.30), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn.btn-orange:hover,
.btn.btn-orange:focus,
.btn.btn-orange:active {
    background: var(--orange-deep);
    background-color: var(--orange-deep);
    color: var(--paper);
    border-color: var(--orange-deep);
    box-shadow: 0 12px 36px rgba(255, 90, 0, 0.40);
    transform: translateY(-2px);
}

.btn.btn-ghost,
.btn-ghost {
    background: rgba(255,255,255,0.7);
    color: var(--ink);
    border: 1px solid var(--line-blue);
    border-radius: 999px;
    padding: 14px 26px;
    backdrop-filter: blur(8px);
}
.btn.btn-ghost:hover,
.btn-ghost:hover {
    background: var(--paper);
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 8px 24px rgba(255, 90, 0, 0.18);
    transform: translateY(-2px);
}

.btn-line-light {
    background: rgba(255,255,255,0.06);
    color: var(--paper);
    border: 1px solid rgba(255,255,255,0.32);
    backdrop-filter: blur(8px);
}
.btn-line-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--paper);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: #1FB958; color: #fff; transform: translateY(-2px); }

/* ---------- AI glow card primitive ---------- */
.ai-card {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line-blue);
    border-radius: var(--r-md);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.02),
        0 4px 24px rgba(15, 23, 42, 0.04);
    transition: transform .35s var(--easing), box-shadow .35s var(--easing), border-color .35s var(--easing);
}
.ai-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad-ai-soft);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s var(--easing);
    pointer-events: none;
}
.ai-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 50px rgba(0, 42, 127, 0.10),
        0 0 30px rgba(255, 90, 0, 0.10);
    border-color: rgba(0, 42, 127, 0.22);
}
.ai-card:hover::before { opacity: 1; }

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: padding .3s var(--easing), background .3s var(--easing), border-color .3s var(--easing), box-shadow .3s var(--easing);
}
.site-header.scrolled {
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}
.site-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,42,127,0.5), rgba(255,90,0,0.5), transparent);
    opacity: 0;
    transition: opacity .3s var(--easing);
}
.site-header.scrolled::after { opacity: 1; }

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
    line-height: 1;
    margin-left: -22px;
}
@media (max-width: 575px) {
    .brand { margin-left: -12px; }
}
.brand img {
    height: 72px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
}
.site-header.scrolled .brand img { height: 58px; }
@media (max-width: 991px) {
    .brand img { height: 56px; max-width: 220px; }
    .site-header.scrolled .brand img { height: 50px; }
}
@media (max-width: 575px) {
    .brand img { height: 50px; max-width: 200px; }
    .site-header.scrolled .brand img { height: 46px; }
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 4px;
}
.nav-list a {
    display: inline-block;
    padding: 8px 14px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 999px;
    position: relative;
    transition: color .25s var(--easing), background .25s var(--easing);
}
.nav-list a:hover, .nav-list a.active {
    color: var(--blue);
    background: rgba(0, 42, 127, 0.08);
}
.nav-list a.active::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -2px;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}
.nav-cta { margin-left: 12px; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
    margin: 5px auto;
    transition: transform .3s var(--easing), opacity .3s var(--easing);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
    .nav-toggle { display: block; }
    .nav {
        position: fixed;
        top: 0; right: 0;
        width: 86%; max-width: 360px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 100px 28px 32px;
        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform .35s var(--easing);
    }
    .nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list a {
        display: block;
        padding: 14px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
    }
    .nav-list a.active::after { display: none; }
    .nav-cta { margin-left: 0; margin-top: 20px; align-self: flex-start; }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    max-height: 980px;
    padding: 96px 0 28px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 65%, #FFFFFF 100%);
}
@media (max-height: 850px) and (min-width: 992px) {
    .hero { min-height: 720px; padding: 88px 0 24px; }
}
@media (max-width: 991px) {
    .hero { min-height: auto; max-height: none; padding: 110px 0 60px; }
}
.hero-bg {
    position: absolute; inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,42,127,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,42,127,0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: floatOrb 14s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; top: -100px; left: -120px; background: radial-gradient(circle, rgba(0,42,127,0.55), transparent 70%); }
.orb-2 { width: 380px; height: 380px; bottom: -80px; right: -120px; background: radial-gradient(circle, rgba(255,90,0,0.45), transparent 70%); animation-delay: -5s; }
.orb-3 { width: 280px; height: 280px; top: 35%; right: 18%; background: radial-gradient(circle, rgba(255,90,0,0.35), transparent 70%); animation-delay: -9s; }
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.06); }
}
.hero-spotlight {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,42,127,0.10), transparent 60%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.6s var(--easing);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-grid-2 {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(32px, 4.5vw, 64px);
    align-items: stretch;
}
.hero-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; }

.hero-title {
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.06;
    margin-bottom: 24px;
    color: var(--ink);
    white-space: nowrap;
}
@media (max-width: 991px) {
    .hero-title { white-space: normal; }
}
.hero-title .grad {
    background: var(--grad-ai);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-title .grad {
    position: relative;
    display: inline-block;
}
.hero-title .grad::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 64px; height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
    border-radius: 999px;
    opacity: 0.85;
}
@media (max-width: 575px) {
    .hero-title .grad::after { display: none; }
}

.hero-sub {
    font-size: clamp(15px, 1.15vw, 17px);
    color: var(--graphite);
    max-width: 56ch;
    margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: clamp(28px, 3.5vw, 44px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.hero-stat {
    padding-right: 24px;
    border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; }
.hs-num {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
}
.hs-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-top: 8px;
}

/* Hero Visual — Futuristic industrial control card */
.hero-visual {
    position: relative;
    max-width: 580px;
    margin-left: auto;
    width: 100%;
    min-height: 480px;
    align-self: stretch;
}
@media (max-width: 991px) {
    .hero-visual { aspect-ratio: 1 / 0.92; min-height: auto; align-self: auto; }
}
.hero-card {
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-blue);
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.08),
        0 0 60px rgba(0, 42, 127, 0.08),
        inset 0 0 0 1px rgba(255,255,255,0.6);
}
.hero-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad-ai);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.35;
    pointer-events: none;
}
.hero-card-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,42,127,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,42,127,0.10) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 95%);
}
.hero-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 78%; aspect-ratio: 1;
    z-index: 2;
    pointer-events: none;
}
.hero-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 42, 127, 0.32);
}
.hero-ring.r1 { animation: rotate 38s linear infinite; }
.hero-ring.r2 { inset: 22%; border: 1.5px dashed rgba(255, 90, 0, 0.36); animation: rotate 26s linear infinite reverse; }
.hero-ring.r3 { display: none; }

/* Connector network SVG */
.hero-connectors {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}
.hero-connectors .conn {
    animation: connFlow 6s linear infinite;
}
@keyframes connFlow {
    to { stroke-dashoffset: -40; }
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* Shield core — no thick circle, just glow + shield */
.hero-core-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 46%; aspect-ratio: 1;
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
    animation: orbFloat 5s ease-in-out infinite;
}
.orb-halo {
    position: absolute;
    inset: -45%;
    background:
        radial-gradient(circle,
            rgba(255, 255, 255, 0) 0%,
            rgba(0, 42, 127, 0.18) 38%,
            rgba(255, 90, 0, 0.18) 56%,
            rgba(201, 205, 211, 0.14) 68%,
            transparent 80%
        );
    filter: blur(22px);
    pointer-events: none;
    animation: haloBreath 6s ease-in-out infinite;
}
/* Soft white glow behind the shield — no defined circle, fades out gradually */
.orb-bg {
    position: absolute;
    inset: -20%;
    background: radial-gradient(
        circle at center,
        #FFFFFF 0%,
        rgba(255, 255, 255, 0.95) 22%,
        rgba(255, 255, 255, 0.65) 38%,
        rgba(255, 255, 255, 0.30) 55%,
        rgba(255, 255, 255, 0.10) 72%,
        rgba(255, 255, 255, 0) 88%
    );
    z-index: 1;
    pointer-events: none;
    filter: blur(6px);
}
.orb-pulse {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: 1px solid rgba(255,90,0,0.30);
    animation: orbPulse 3.4s ease-out infinite;
    pointer-events: none;
}
.orb-pulse.delay { animation-delay: -1.7s; border-color: rgba(0,42,127,0.28); }
.orb-shield {
    position: relative;
    z-index: 2;
    width: 82%;
    height: auto;
    filter:
        drop-shadow(0 0 18px rgba(0,42,127,0.30))
        drop-shadow(0 0 36px rgba(255,90,0,0.22))
        drop-shadow(0 8px 24px rgba(0,42,127,0.18));
    transition: transform .35s var(--easing), filter .35s var(--easing);
}
.hero-core-orb:hover .orb-shield {
    transform: scale(1.05);
    filter:
        drop-shadow(0 0 22px rgba(0,42,127,0.45))
        drop-shadow(0 0 44px rgba(255,90,0,0.30))
        drop-shadow(0 10px 28px rgba(0,42,127,0.25));
}

@keyframes orbPulse {
    0%   { transform: scale(0.98); opacity: 0.85; }
    100% { transform: scale(1.55); opacity: 0; }
}
@keyframes orbFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50%      { transform: translate(-50%, calc(-50% - 4px)); }
}
@keyframes haloBreath {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.06); }
}

.hero-pill {
    position: absolute;
    max-width: 200px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 42, 127, 0.14);
    box-shadow:
        0 10px 30px rgba(0, 42, 127, 0.08),
        0 1px 0 rgba(255,255,255,0.9) inset;
    border-radius: 999px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
    animation: floatPill 6s ease-in-out infinite;
    z-index: 4;
    transition: transform .3s var(--easing), box-shadow .3s var(--easing), border-color .3s var(--easing);
    cursor: default;
}
.hero-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,42,127,0.4), rgba(255,90,0,0.4), rgba(255,90,0,0.4));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s var(--easing);
    pointer-events: none;
}
.hero-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 90, 0, 0.18), 0 0 24px rgba(0,42,127,0.15);
    border-color: rgba(0, 42, 127, 0.28);
}
.hero-pill:hover::before { opacity: 1; }
.hero-pill i {
    font-size: 14px;
    flex: none;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--blue);
}
.hero-pill.pill-2 i { background: linear-gradient(135deg, var(--orange), var(--purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-pill.pill-3 i { background: linear-gradient(135deg, var(--orange-light), var(--orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-pill.pill-4 i { background: linear-gradient(135deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-pill.pill-6 i { background: linear-gradient(135deg, var(--purple), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-pill .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}
.hero-pill .dot.orange { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.hero-pill .dot.purple { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.hero-pill .dot.cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
/* 6 pill positions — orbital clock around shield core
   12: CNC Machining · 2: Tool & Die · 4: Foundry Castings
   8: Automation · 10: MISARC Welding · 6: Global Export */
.pill-1 { top: 4%;     left: 50%;  transform: translateX(-50%); animation: floatPillC 6s ease-in-out infinite;        }
.pill-2 { top: 24%;    right: 0%;  animation-delay: -1s;  }
.pill-3 { bottom: 24%; right: 0%;  animation-delay: -2s;  }
.pill-4 { top: 24%;    left: 0%;   animation-delay: -3s;  }
.pill-5 { bottom: 24%; left: 0%;   animation-delay: -4s;  }
.pill-6 { bottom: 4%;  left: 50%;  transform: translateX(-50%); animation: floatPillC 6s ease-in-out infinite -3s;    }

@keyframes floatPillC {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, -8px); }
}

@media (max-width: 991px) {
    .pill-1 { top: 3%;     left: 50%; }
    .pill-2 { top: 24%;    right: 4%; }
    .pill-3 { bottom: 24%; right: 4%; }
    .pill-4 { top: 24%;    left: 4%;  }
    .pill-5 { bottom: 24%; left: 4%;  }
    .pill-6 { bottom: 3%;  left: 50%; }
}
@keyframes floatPill {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted);
    z-index: 3;
}
@media (max-height: 800px) { .scroll-down { display: none; } }
.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(180deg, transparent, var(--blue), transparent);
    position: relative;
    overflow: hidden;
}
.scroll-line::before {
    content: '';
    position: absolute;
    top: -10px; left: 0; width: 100%; height: 16px;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
    animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { top: -16px; }
    100% { top: 64px; }
}

@media (max-width: 991px) {
    .hero-grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 18px; }
    .hero-stat { padding: 0 12px; border-right: 1px solid var(--line); }
    .hero-stat:first-child { padding-left: 0; }
    .hero-stat:last-child { padding-right: 0; border-right: none; }
    .scroll-down { display: none; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
    .hs-num { font-size: clamp(20px, 5vw, 26px); }
    .hs-label { font-size: 9.5px; letter-spacing: 0.14em; margin-top: 6px; }
}
@media (max-width: 575px) {
    .hero-pill { font-size: 10px; padding: 7px 12px; max-width: 180px; }
    .hero-stat { padding: 0 6px; }
    .hs-num { font-size: 20px; }
    .hs-label { font-size: 9px; letter-spacing: 0.12em; }
    .hero-title { font-size: clamp(22px, 6vw, 32px); letter-spacing: -0.045em; }
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: stretch;
}
.about-content { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.about-visual {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 520px;
    height: 100%;
}
@media (max-width: 768px) {
    .about-visual { min-height: 0; aspect-ratio: 4/5; }
}
.about-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.about-visual::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--grad-ai);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
}
.about-visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,42,127,0.20) 100%);
}
.about-visual .float-card {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-blue);
    border-radius: var(--r-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    z-index: 3;
}
.float-card .fc-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex: none;
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.30);
}
.float-card .fc-text strong {
    display: block;
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--ink);
    line-height: 1.2;
}
.float-card .fc-text span {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.checks {
    list-style: none;
    margin: 28px 0 0; padding: 0;
}
.checks li {
    display: flex; align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    color: var(--graphite);
    font-size: 15.5px;
    line-height: 1.55;
}
.checks i {
    font-size: 20px;
    margin-top: 2px;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--blue);
    flex: none;
}
.checks .check-body {
    flex: 1;
    min-width: 0;
}
.checks .check-body strong {
    color: var(--ink);
    font-weight: 600;
    margin-right: 4px;
}
.checks .check-body span {
    color: var(--graphite);
}

.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: clamp(36px, 4.5vw, 56px);
}
.counter-card {
    padding: 28px 24px;
    text-align: left;
}
.counter-num {
    font-family: var(--font-head);
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 700;
    line-height: 1;
    background: var(--grad-ai);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}
.counter-num .suffix {
    -webkit-text-fill-color: var(--orange);
    color: var(--orange);
    font-size: 0.55em;
    margin-left: 4px;
    background: none;
}
.counter-label {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
}
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .counters { grid-template-columns: repeat(2, 1fr); }
}

/* About section title is constrained to 40px max */
#about .section-title { font-size: clamp(28px, 3vw, 40px); }
#about .section-title .grad { white-space: nowrap; }

/* ---------- INDUSTRIES ---------- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: clamp(28px, 3.5vw, 44px);
}
.ind-card {
    padding: 36px 32px;
    height: 100%;
    overflow: hidden;
    cursor: default;
}
.ind-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: var(--orange);
    border: none;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(255, 90, 0, 0.30);
    transition: transform .35s var(--easing);
}
.ind-icon i {
    font-size: 26px;
    color: #fff;
}
.ind-card:hover .ind-icon { transform: scale(1.06) rotate(-3deg); }
.ind-card .ind-no {
    position: absolute;
    top: 22px; right: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.2em;
}
.ind-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
}
.ind-text {
    color: var(--graphite);
    font-size: 14.5px;
    line-height: 1.65;
}
.ind-card .arrow {
    position: absolute;
    bottom: 28px; right: 28px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0, 42, 127, 0.08);
    border: 1px solid var(--line-blue);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--blue);
    font-size: 14px;
    transition: all .3s var(--easing);
    opacity: 0;
}
.ind-card:hover .arrow {
    opacity: 1;
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: rotate(-25deg);
    box-shadow: var(--glow-orange);
}
@media (max-width: 991px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .industries-grid { grid-template-columns: 1fr; } }

/* ---------- INNOVATION ---------- */
.section-innovation {
    background:
        radial-gradient(circle at 12% 18%, rgba(0,42,127,0.10), transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255,90,0,0.10), transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}
.blueprint {
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: 0.6;
}
.blueprint svg { width: 100%; height: 100%; }

.innov-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    margin-top: clamp(28px, 3.5vw, 44px);
}
.innov-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.innov-tile {
    padding: 26px 24px;
    height: 100%;
}
.innov-tile i {
    font-size: 22px;
    margin-bottom: 14px;
    color: #fff;
    background: var(--orange);
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.30);
}
.innov-tile h4 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--ink);
}
.innov-tile p {
    font-size: 13.5px;
    color: var(--graphite);
    line-height: 1.6;
}
.innov-tile.wide { grid-column: span 2; }
.innov-tile.wide i {
    background: var(--orange);
    color: #fff;
}
@media (max-width: 768px) { .innov-grid { grid-template-columns: 1fr; } }

/* ---------- PROCESS ---------- */
.process-strip {
    position: relative;
    margin-top: clamp(32px, 4vw, 52px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.process-line {
    position: absolute;
    top: 38px; left: 6%; right: 6%;
    height: 2px;
    background: var(--line);
    border-radius: 999px;
    z-index: 0;
}
.process-line-active {
    position: absolute;
    top: 38px; left: 6%;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(255,90,0,0.45);
    transition: width 1.6s var(--easing);
    z-index: 1;
}
.p-step {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 80px;
}
.p-circle {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 76px; height: 76px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--line-blue);
    box-shadow: 0 8px 28px rgba(0,42,127,0.10);
    display: flex; align-items: center; justify-content: center;
    transition: all .35s var(--easing);
}
.p-circle i {
    font-size: 26px;
    color: var(--ink);
    transition: color .3s var(--easing);
}
.p-step.active .p-circle {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-color: transparent;
    box-shadow: 0 12px 36px rgba(0,42,127,0.30), 0 0 0 8px rgba(0,42,127,0.10);
}
.p-step.active .p-circle i { color: #fff; }
.p-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.p-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
}
.p-text {
    font-size: 13.5px;
    color: var(--graphite);
    line-height: 1.55;
}
@media (max-width: 768px) {
    .process-strip { grid-template-columns: 1fr; gap: 24px; }
    .process-line, .process-line-active {
        top: 0; bottom: 0; left: 38px; right: auto;
        width: 2px; height: 100%;
    }
    .process-line-active { width: 2px; height: 0; transition: height 1.6s var(--easing); }
    .p-step { text-align: left; padding: 8px 0 8px 110px; }
    .p-circle { left: 0; transform: none; top: 6px; }
}

/* ---------- PROJECTS ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: clamp(28px, 3.5vw, 44px);
}
.proj-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line-blue);
    background: var(--paper-3);
    transition: transform .4s var(--easing), box-shadow .4s var(--easing), border-color .4s var(--easing);
}
.proj-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad-ai);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s var(--easing);
    pointer-events: none;
    z-index: 5;
}
.proj-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 42, 127, 0.14), 0 0 30px rgba(255, 90, 0, 0.10);
}
.proj-card:hover::before { opacity: 1; }
.proj-img {
    position: absolute; inset: 0;
    overflow: hidden;
}
.proj-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--easing);
}
.proj-card:hover .proj-img img { transform: scale(1.07); }
.proj-overlay {
    position: absolute;
    inset: 0;
    padding: 28px;
    background: linear-gradient(180deg, transparent 35%, rgba(17, 17, 17, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 2;
}
.proj-cat {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 42, 127, 0.85);
    color: #fff;
    margin-bottom: 10px;
}
.proj-title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #fff;
}
.proj-link {
    font-family: var(--font-head);
    font-size: 13px;
    color: #fff;
    display: inline-flex; align-items: center; gap: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s var(--easing), transform .4s var(--easing), color .25s var(--easing);
}
.proj-card:hover .proj-link {
    opacity: 1;
    transform: translateY(0);
    color: var(--orange-light);
}
@media (max-width: 991px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- WHY US ---------- */
.section-why { background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: clamp(28px, 3.5vw, 44px);
}
.why-card {
    padding: 36px 32px;
    height: 100%;
    overflow: hidden;
}
.why-no {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.25em;
    margin-bottom: 18px;
}
.why-icon {
    font-size: 22px;
    margin-bottom: 16px;
    color: #fff;
    background: var(--orange);
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.30);
}
.why-icon.alt { background: var(--orange); color: #fff; }
.why-card h4 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.why-card p { color: var(--graphite); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 991px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- INDUSTRY TILES (compact icon + label) ---------- */
.ind-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: clamp(28px, 3.5vw, 44px);
}
.ind-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 18px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line-blue);
    backdrop-filter: blur(10px);
    transition: transform .3s var(--easing), box-shadow .3s var(--easing), border-color .3s var(--easing);
}
.ind-tile i {
    font-size: 22px;
    margin-bottom: 14px;
    color: #fff;
    background: var(--orange);
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.30);
    transition: transform .3s var(--easing);
}
.ind-tile span {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.ind-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 90, 0, 0.35);
    box-shadow: 0 14px 40px rgba(255, 90, 0, 0.10);
}
.ind-tile:hover i { transform: scale(1.1) rotate(-4deg); }

@media (max-width: 991px) { .ind-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .ind-tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- MISARC BAND ---------- */
.section-misarc-band {
    background:
        radial-gradient(circle at 12% 12%, rgba(255,90,0,0.10), transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(255,90,0,0.10), transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 50%, #FFFFFF 100%);
    overflow: hidden;
}
.misarc-row {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.misarc-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
    gap: 12px;
}
.mc-tile {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line-blue);
    background: var(--paper-3);
    position: relative;
    transition: transform .35s var(--easing), box-shadow .35s var(--easing);
}
.mc-tile.mc-large { grid-column: span 2; grid-row: span 1; }
.mc-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .9s var(--easing);
}
.mc-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 42, 127, 0.15); }
.mc-tile:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
    .misarc-row { grid-template-columns: 1fr; }
    .misarc-collage { grid-template-rows: 180px 180px 180px; }
}

/* ---------- GLOBAL CTA CARD ---------- */
.section-global-cta { background: var(--paper); }
.global-card {
    position: relative;
    background: linear-gradient(135deg, #002A7F 0%, #071B46 60%, #1F4399 100%);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(36px, 5vw, 72px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 42, 127, 0.25);
}
.global-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
}
.global-glow {
    position: absolute;
    top: -120px; right: -120px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,90,0,0.45), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
.global-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
    position: relative;
    z-index: 2;
}
.global-card .section-title { color: #fff; }
.global-card .section-title .grad {
    background: linear-gradient(90deg, #FFB37A, #FF7A1A, #FF5A00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.global-card .section-lead { color: rgba(255,255,255,0.85); }
.global-card .eyebrow {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
    color: #FF7A1A;
}
.global-card .eyebrow::before { background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.global-stats-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.g-stat {
    border-top: 1px solid rgba(255,255,255,0.20);
    padding-top: 12px;
}
.g-num {
    font-family: var(--font-head);
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.g-label {
    display: block;
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.78);
    line-height: 1.4;
}
.g-label small {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
@media (max-width: 768px) { .global-row { grid-template-columns: 1fr; align-items: stretch; } }

/* ---------- 4-step process variant ---------- */
.process-strip-4 { grid-template-columns: repeat(4, 1fr); }
.process-strip-4 .process-line, .process-strip-4 .process-line-active { left: 8%; right: 8%; }
@media (max-width: 768px) {
    .process-strip-4 { grid-template-columns: 1fr; }
}

/* ---------- TESTIMONIALS ---------- */
.section-testimonials {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,90,0,0.10), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(0,42,127,0.10), transparent 55%),
        linear-gradient(180deg, #FFFFFF, #F8FBFF);
    overflow: hidden;
}
.t-slider {
    margin-top: clamp(28px, 3.5vw, 44px);
    max-width: 880px;
    margin-left: auto; margin-right: auto;
    overflow: hidden;
    position: relative;
}
.t-track {
    display: flex;
    transition: transform .7s var(--easing);
}
.t-slide {
    min-width: 100%;
    padding: 6px;
}
.t-card {
    padding: 44px 40px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-blue);
    border-radius: var(--r-lg);
    position: relative;
    box-shadow: 0 24px 60px rgba(0,42,127,0.06);
}
.t-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad-ai);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.45;
    pointer-events: none;
}
.t-quote {
    font-size: 56px;
    line-height: 0.7;
    color: var(--orange);
    margin-bottom: 8px;
    font-family: var(--font-head);
}
.t-text {
    font-family: var(--font-head);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 28px;
    font-weight: 500;
}
.t-author { display: flex; align-items: center; gap: 16px; }
.t-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-weight: 600;
}
.t-info h5 { font-family: var(--font-head); font-size: 16px; color: var(--ink); margin: 0 0 2px; }
.t-info span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }

.t-controls {
    display: flex;
    align-items: center; justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
.t-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--line-blue);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s var(--easing);
}
.t-btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: 0 8px 24px rgba(17,17,17,0.18);
}
.t-dots { display: flex; gap: 8px; }
.t-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line-2);
    border: none;
    cursor: pointer;
    transition: all .3s var(--easing);
}
.t-dot.active {
    width: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
}

/* ---------- CONTACT TILES (index page) ---------- */
/* Split contact layout — map left, info right */
.contact-grid-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(20px, 3vw, 36px);
    margin-top: clamp(36px, 5vw, 56px);
    align-items: stretch;
}
.contact-map {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line-blue);
    background: var(--paper-3);
    box-shadow: 0 14px 40px rgba(0, 42, 127, 0.08);
    position: relative;
}
.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Dual-address grid (Head Office + Production Unit) */
.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.addr-card {
    padding: 16px 20px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(0,42,127,0.06), rgba(255,90,0,0.04));
    border: 1px solid var(--line-blue);
    position: relative;
    overflow: hidden;
    transition: transform .25s var(--easing), box-shadow .25s var(--easing);
}
.addr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 42, 127, 0.10);
}
.addr-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 48px; height: 3px;
    background: var(--navy);
    border-radius: 0 0 6px 0;
}
.addr-card:nth-child(2)::before { background: var(--orange); }

.addr-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
    margin: 4px 0 8px;
    font-weight: 600;
}
.addr-tag i { font-size: 12px; color: var(--orange); }
.addr-tag.accent { color: var(--orange); }
.addr-name {
    display: block;
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}
.addr-text {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--graphite);
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 575px) {
    .address-grid { grid-template-columns: 1fr; }
}

/* Vertical contact list */
.contact-list-vert {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line-blue);
    border-radius: var(--r-md);
    color: var(--ink);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .25s var(--easing), box-shadow .25s var(--easing), border-color .25s var(--easing);
    text-decoration: none;
}
.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 42, 127, 0.10);
    border-color: rgba(0, 42, 127, 0.22);
    color: var(--ink);
}
.contact-item:hover .ci-arrow { color: var(--orange); transform: translate(2px, -2px); }

.ci-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--orange);
    border: none;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 20px;
    color: #fff;
    flex: none;
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.30);
}
.ci-body { flex: 1; min-width: 0; }
.ci-body h6 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin: 0 0 4px;
    font-weight: 500;
}
.ci-body p {
    font-family: var(--font-head);
    font-size: 15.5px;
    color: var(--ink);
    margin: 0;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.35;
}
.ci-arrow {
    flex: none;
    width: 28px; height: 28px;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 14px;
    transition: color .25s var(--easing), transform .25s var(--easing);
}

/* Phone item with WhatsApp button on the right */
.phone-item {
    padding: 0;
    overflow: hidden;
}
.phone-item .contact-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}
.phone-item .ci-whatsapp {
    flex: none;
    width: 60px;
    align-self: stretch;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background .25s var(--easing), color .25s var(--easing);
    text-decoration: none;
}
.phone-item .ci-whatsapp:hover { background: #1FB958; color: #fff; }
.phone-item:hover { box-shadow: 0 12px 30px rgba(0, 42, 127, 0.10); border-color: rgba(0, 42, 127, 0.22); transform: translateY(-2px); }

@media (max-width: 991px) {
    .contact-grid-split { grid-template-columns: 1fr; }
    .contact-map {
        order: 2;
        height: 340px;
        min-height: 0;
        width: 100%;
        max-width: 100%;
    }
    .contact-info-col { order: 1; }
    .contact-map iframe { min-height: 0; }
}
.contact-tile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    text-align: left;
    color: var(--ink);
    transition: transform .3s var(--easing), box-shadow .3s var(--easing), border-color .3s var(--easing);
}
.contact-tile .ct-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,42,127,0.10), rgba(255,90,0,0.10));
    border: 1px solid var(--line-blue);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 22px;
    background-clip: padding-box;
    color: var(--blue);
    flex: none;
}
.contact-tile .ct-body { flex: 1; min-width: 0; }
.contact-tile h6 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin: 0 0 4px;
    font-weight: 500;
}
.contact-tile p {
    font-family: var(--font-head);
    font-size: 15.5px;
    color: var(--ink);
    font-weight: 500;
    margin: 0;
    word-break: break-word;
    line-height: 1.35;
}
a.contact-tile:hover { color: var(--ink); }
a.contact-tile:hover p { color: var(--orange); }

.contact-cta {
    margin-top: clamp(28px, 4vw, 44px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
@media (max-width: 768px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- CONTACT (form pages) ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: stretch;
    margin-top: clamp(28px, 3.5vw, 44px);
}
.contact-info { padding: 36px 32px; }
.contact-info ul { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-info li {
    display: flex; align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.contact-info li:last-child { border-bottom: none; padding-bottom: 0; }
.ci-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--orange);
    border: none;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex: none;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(255, 90, 0, 0.30);
}
.contact-info h6 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin: 0 0 4px;
    font-weight: 500;
}
.contact-info p, .contact-info a {
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 15.5px;
}
.contact-info a:hover { color: var(--orange); }

.contact-info .ci-actions {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; gap: 12px;
}

.form-wrap {
    padding: 36px 32px;
    position: relative;
}
.form-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 32px; right: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255,90,0,0.45);
}

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

.field { display: block; }
.field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 6px;
}
.field input,
.field textarea {
    width: 100%;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color .25s var(--easing), box-shadow .25s var(--easing), background .25s var(--easing);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 42, 127, 0.10);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid textarea {
    border-color: #DC2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

.form-msg {
    display: none;
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-size: 14px;
    border: 1px solid var(--line);
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(16, 185, 129, 0.06); border-color: rgba(16, 185, 129, 0.4); color: #047857; }
.form-msg.error   { background: rgba(220, 38, 38, 0.06); border-color: rgba(220, 38, 38, 0.4); color: #B91C1C; }

.map-wrap {
    margin-top: clamp(20px, 3vw, 32px);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line-blue);
    aspect-ratio: 16/7;
    background: var(--paper-3);
    position: relative;
    box-shadow: 0 14px 40px rgba(0, 42, 127, 0.08);
}
@media (max-width: 768px) { .map-wrap { aspect-ratio: 4/3; } }
.map-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #F8FBFF 0%, #EAF2FF 100%);
    padding: 56px 0 22px;
    color: var(--graphite);
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--purple) 50%, var(--orange) 70%, transparent);
    box-shadow: 0 0 16px rgba(0,42,127,0.45);
}
.site-footer .container { position: relative; z-index: 2; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: clamp(24px, 3.5vw, 48px);
    padding-bottom: 36px;
}
.footer-brand img { height: 38px; width: auto; margin-bottom: 18px; }
.footer-text { font-size: 14.5px; color: var(--graphite); max-width: 360px; }
.footer-tag {
    margin-top: 14px;
    font-family: var(--font-head);
    color: var(--orange);
    font-size: 14px;
}

.footer-title {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink);
    margin-bottom: 18px;
    font-weight: 600;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-list a {
    color: var(--graphite);
    font-size: 14px;
    text-decoration: none;
    transition: color .25s, padding .25s;
}
.footer-list a:hover { color: var(--orange); padding-left: 4px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: none; color: var(--orange); }

.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink);
    transition: all .3s var(--easing);
}
.social-row a:hover {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
}
.footer-bottom .vals {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; gap: 18px;
}
.footer-bottom .vals li { position: relative; }
.footer-bottom .vals li::before { content: '·'; color: var(--orange); margin-right: 8px; }
.footer-bottom .vals li:first-child::before { display: none; }

@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child,
    .footer-grid > :last-child { grid-column: 1 / -1; }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 48px; height: 48px;
    z-index: 50;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    box-shadow: 0 12px 28px rgba(0,42,127,0.25);
    transition: opacity .3s, visibility .3s, transform .3s, box-shadow .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { box-shadow: 0 16px 36px rgba(255,90,0,0.35); transform: translateY(-3px); }
@media (max-width: 640px) {
    .back-to-top { display: none !important; }
}

/* ---------- REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--easing), transform .8s var(--easing);
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* Above-the-fold hero — paint immediately, no reveal delay (LCP optimisation) */
.hero .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- SWIPE CARDS ON MOBILE ---------- */
@media (max-width: 768px) {
    .industries-grid,
    .projects-grid,
    .innov-tiles,
    .why-grid {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding: 6px 12px 22px;
        margin-left: -12px;
        margin-right: -12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }
    .industries-grid.is-dragging,
    .projects-grid.is-dragging,
    .innov-tiles.is-dragging,
    .why-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
    .industries-grid.is-dragging *,
    .projects-grid.is-dragging *,
    .innov-tiles.is-dragging *,
    .why-grid.is-dragging * { pointer-events: none; }
    .industries-grid::-webkit-scrollbar,
    .projects-grid::-webkit-scrollbar,
    .innov-tiles::-webkit-scrollbar,
    .why-grid::-webkit-scrollbar { display: none; height: 0; width: 0; }

    .industries-grid > *,
    .projects-grid > *,
    .innov-tiles > *,
    .why-grid > * {
        flex: 0 0 80%;
        max-width: 320px;
        min-width: 260px;
        scroll-snap-align: center;
        height: auto;
        align-self: stretch;
    }
    .innov-tile.wide { flex: 0 0 80%; }
    .proj-card { aspect-ratio: 4/5; }
    .industries-grid,
    .projects-grid,
    .innov-tiles,
    .why-grid { align-items: stretch; }
}
@media (max-width: 575px) {
    .industries-grid > *,
    .projects-grid > *,
    .innov-tiles > *,
    .why-grid > * {
        flex: 0 0 84%;
    }
}

/* Swipe hint — small dots for visual feedback */
.swipe-hint {
    display: none;
}
@media (max-width: 768px) {
    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 4px;
        font-family: var(--font-mono);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.22em;
        color: var(--muted);
    }
    .swipe-hint i { font-size: 14px; color: var(--blue); animation: swipeArrow 1.6s ease-in-out infinite; }
}
@keyframes swipeArrow {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(8px); opacity: 1; }
}

/* ---------- Inner page hero (about/contact) ---------- */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background:
        radial-gradient(circle at 10% 30%, rgba(0,42,127,0.10), transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(255,90,0,0.08), transparent 50%),
        linear-gradient(180deg, #FFFFFF, #F4F8FF);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-size: clamp(34px, 5.5vw, 70px);
    letter-spacing: -0.03em;
    color: var(--ink);
}
.page-hero p {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--muted);
    max-width: 56ch;
    margin-top: 14px;
}
.crumbs {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 12px;
}
.crumbs .sep { color: var(--orange); margin: 0 8px; }
