/* ==========================================================================
   Infynex Technologies Sdn. Bhd. — Corporate stylesheet (v2)
   Framework-free. Premium dark-navy aesthetic derived from the brand logo.
   Sections: tokens · base · buttons · header · hero · sections · components
             · services · about · contact · footer · utilities · motion · media
   ========================================================================== */

:root {
    --navy-950: #060d18;
    --brand-dark: #021523; /* matches the logo's baked-in background — used behind the logo */
    --navy-900: #0a1524;   /* deepest background (logo backdrop) */
    --navy-800: #0f2038;
    --navy-700: #16304f;
    --blue-600: #1f6fc4;
    --blue-500: #2f7fd1;   /* primary brand blue */
    --blue-400: #4a9fe0;
    --blue-300: #7cc0f0;
    --teal-400: #3fb8c4;   /* accent */
    --teal-300: #62d6e0;
    --violet-400:#7c6cf0;  /* subtle tertiary accent for gradients */
    --ink:      #14202e;
    --slate:    #55647a;
    --slate-2:  #6f7f95;
    --line:     #e4eaf2;
    --bg-soft:  #f4f8fd;
    --white:    #ffffff;

    --grad-brand: linear-gradient(120deg, var(--blue-500), var(--teal-400));
    --grad-brand-3: linear-gradient(120deg, var(--blue-400), var(--teal-400) 55%, var(--violet-400));

    --radius:   14px;
    --radius-lg:20px;
    --shadow:   0 10px 30px rgba(10, 21, 36, .08);
    --shadow-lg:0 24px 60px rgba(10, 21, 36, .18);
    --glow:     0 0 0 1px rgba(47,127,209,.35), 0 18px 50px rgba(47,127,209,.28);
    --container: 1180px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: 'Sora', 'Inter', sans-serif;
    color: var(--navy-900); line-height: 1.12; margin: 0 0 .55em;
    font-weight: 800; letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--blue-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-900); }
img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(47,127,209,.22); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55em;
    text-transform: uppercase; letter-spacing: .16em;
    font-size: .76rem; font-weight: 700; color: var(--blue-500); margin-bottom: 1rem;
}
.eyebrow::before {
    content: ""; width: 22px; height: 2px; border-radius: 2px;
    background: var(--grad-brand);
}
.lead { font-size: 1.18rem; color: var(--slate); }
.text-center { text-align: center; }
.gradient-text {
    background: var(--grad-brand-3); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* Accessibility helpers */
.skip-link {
    position: fixed; top: -60px; left: 12px; z-index: 300;
    background: var(--blue-500); color: #fff; padding: 10px 16px; border-radius: 8px;
    font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; outline: 2px solid #fff; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* Reading progress bar */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none;
}
.scroll-progress span {
    display: block; height: 100%; width: 0; background: var(--grad-brand);
    box-shadow: 0 0 12px rgba(63,184,196,.6);
}

/* ---------- Buttons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; gap: .5em;
    padding: 14px 30px; border-radius: 10px; font-weight: 600; font-size: .98rem;
    cursor: pointer; border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
    isolation: isolate;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 10px 24px rgba(47,127,209,.32); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47,127,209,.42); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-900); transform: translateY(-2px); }
.btn-ghost { border-color: var(--blue-500); color: var(--blue-500); }
.btn-ghost:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.03rem; }
.btn .btn-ico { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .btn-ico { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--brand-dark);
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
/* Brand lockup: infinity mark (image) + wordmark (live text, crisp at any size) */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { height: 56px; width: auto; transition: transform .3s var(--ease); }
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand-name {
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: .015em;
    background: linear-gradient(120deg, #8ccbf5, #3d93da);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.brand-sub {
    font-size: .58rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
    color: rgba(255,255,255,.8); margin-top: 6px;
}

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a { position: relative; color: #d3e0ee; font-weight: 500; padding: 10px 15px; border-radius: 8px; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.main-nav > ul > li > a:not(.btn)::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px;
    background: var(--grad-brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav > ul > li > a.active:not(.btn)::after { transform: scaleX(1); }
.main-nav .caret { font-size: .66rem; opacity: .8; }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
    background: rgba(14,26,44,.98); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.09); border-radius: 14px; box-shadow: var(--shadow-lg);
    padding: 8px; display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { color: #cfe0f2; padding: 11px 14px; border-radius: 8px; font-size: .92rem; }
.dropdown a:hover { background: rgba(47,127,209,.16); color: #fff; }
.dropdown a::after { display: none; }

.nav-cta a { color: #fff; }
.nav-cta a:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; z-index: 110; }
.nav-toggle span { display: block; height: 2px; width: 24px; margin: 5px auto; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #eaf2fb; overflow: hidden;
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .85; }
.hero::before { /* aurora glow */
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(700px 380px at 78% 8%, rgba(47,127,209,.42), transparent 60%),
        radial-gradient(560px 360px at 12% 92%, rgba(63,184,196,.22), transparent 62%),
        radial-gradient(500px 320px at 60% 100%, rgba(124,108,240,.16), transparent 60%);
    animation: auroraShift 16s ease-in-out infinite alternate;
}
.hero::after { /* faint grid, masked */
    content: ""; position: absolute; inset: 0; z-index: 0; opacity: .16; pointer-events: none;
    background-image: linear-gradient(rgba(124,192,240,.22) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(124,192,240,.22) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
    mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0 120px; max-width: 820px; }
.hero .eyebrow { color: var(--blue-300); }
.hero .eyebrow::before { background: linear-gradient(120deg, var(--blue-300), var(--teal-300)); }
.hero h1 { color: #fff; }
.hero p { font-size: 1.22rem; color: #bccfe6; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px;
    font-size: .84rem; font-weight: 600; color: #cfe0f2;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
}
.hero-badge svg { width: 15px; height: 15px; stroke: var(--teal-300); }
.hero-scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
    color: #8fa6c2; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; background: #fff; border-radius: 3px; animation: scrollDot 1.6s ease-in-out infinite; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { position: relative; background: var(--navy-900); color: #d6e2f0; overflow: hidden; }
.section-navy::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px 300px at 90% 0%, rgba(47,127,209,.18), transparent 60%),
                radial-gradient(500px 300px at 0% 100%, rgba(63,184,196,.12), transparent 60%);
}
.section-navy > .container { position: relative; z-index: 1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--slate); font-size: 1.12rem; }
.section-navy .section-head p { color: #a9bdd6; }

/* ---------- Pillars / cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-glow {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card-glow::before { /* gradient border on hover */
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--grad-brand-3); opacity: 0; transition: opacity .3s;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card-glow:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-glow:hover::before { opacity: 1; }

.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 32px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; position: relative; overflow: hidden; }
.pillar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-brand-3); opacity: 0; transition: opacity .3s; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar:hover::after { opacity: 1; }
.pillar-icon {
    width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
    margin-bottom: 22px; background: var(--grad-brand); box-shadow: 0 10px 24px rgba(47,127,209,.34);
    transition: transform .3s var(--ease);
}
.pillar:hover .pillar-icon { transform: rotate(-6deg) scale(1.06); }
.pillar-icon svg { width: 30px; height: 30px; stroke: #fff; }
.pillar h3 { margin-bottom: .5em; }
.pillar p { color: var(--slate); margin-bottom: 1em; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s; }
.pillar:hover .arrow-link svg, .arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Synergy / feature list ---------- */
.synergy-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .tick {
    flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; margin-top: 2px;
    background: linear-gradient(135deg, rgba(63,184,196,.28), rgba(47,127,209,.28));
    color: var(--teal-300); display: grid; place-items: center; font-weight: 800; font-size: .85rem;
    border: 1px solid rgba(63,184,196,.35);
}
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
    padding: 28px; transition: transform .3s var(--ease), background .3s;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }
.stat-card .num { font-family: 'Sora', sans-serif; font-size: 2.3rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-card .num .suffix { color: var(--teal-300); }
.stat-card .label { color: #a9bdd6; font-size: .92rem; margin-top: .5em; }

/* ---------- Trust bar / marquee ---------- */
.trust-bar { text-align: center; padding: 44px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust-bar .trust-label { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--slate-2); font-weight: 700; margin-bottom: 26px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; }
.trust-logo-slot { width: 150px; height: 56px; border: 1px dashed var(--line); border-radius: 8px; display: grid; place-items: center; color: #aab4c2; font-size: .82rem; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--slate); white-space: nowrap; }
.marquee-item svg { width: 20px; height: 20px; stroke: var(--blue-500); }

/* ---------- Page banner ---------- */
.page-banner {
    position: relative; overflow: hidden; color: #fff; padding: 92px 0 78px;
    background: linear-gradient(165deg, var(--navy-950), var(--navy-800));
}
.page-banner::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 360px at 82% -10%, rgba(47,127,209,.4), transparent 60%), radial-gradient(500px 300px at 5% 110%, rgba(63,184,196,.2), transparent 60%); }
.page-banner::after { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: linear-gradient(rgba(124,192,240,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(124,192,240,.25) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 78% 20%, #000, transparent 70%); mask-image: radial-gradient(circle at 78% 20%, #000, transparent 70%); }
.page-banner > .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; }
.page-banner .eyebrow { color: var(--blue-300); }
.page-banner .eyebrow::before { background: linear-gradient(120deg, var(--blue-300), var(--teal-300)); }
.page-banner p { color: #bccfe6; max-width: 660px; font-size: 1.14rem; }
.breadcrumb { font-size: .86rem; color: #8fa6c2; margin-bottom: 16px; }
.breadcrumb a { color: #8fa6c2; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Services ---------- */
.division { padding: 84px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.division:nth-child(even) { background: var(--bg-soft); }
.division-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; flex-wrap: wrap; }
.division-badge { flex: 0 0 auto; padding: 7px 15px; border-radius: 999px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--grad-brand); color: #fff; box-shadow: 0 6px 16px rgba(47,127,209,.3); }
.division-body { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; margin-top: 28px; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.service-list li { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.service-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: rgba(47,127,209,.4); }
.division:nth-child(even) .service-list li { background: #fff; }
.service-list .dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; background: var(--grad-brand); }
.service-list strong { display: block; color: var(--navy-900); }
.service-list span { color: var(--slate); font-size: .93rem; }
.note-box { border-left: 3px solid var(--teal-400); background: rgba(63,184,196,.07); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--slate); font-size: .96rem; }

/* ---------- About ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card h3 { color: var(--blue-500); }
.mv-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--grad-brand); }
.mv-icon svg { width: 26px; height: 26px; stroke: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 26px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); display: grid; place-items: center; color: #fff; font-family: 'Sora', sans-serif; font-size: 1.9rem; font-weight: 700; box-shadow: 0 10px 26px rgba(47,127,209,.3); transition: transform .3s var(--ease); }
.team-card:hover .team-avatar { transform: scale(1.05); }
.team-avatar svg { width: 46px; height: 46px; stroke: #fff; }
.team-card h3 { margin-bottom: .1em; font-size: 1.16rem; }
.team-role { color: var(--blue-500); font-weight: 600; font-size: .92rem; margin-bottom: .8em; }
.team-card p { color: var(--slate); font-size: .93rem; }

/* value chips */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.value-item .v-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(47,127,209,.1); }
.value-item .v-ico svg { width: 20px; height: 20px; stroke: var(--blue-500); }
.value-item strong { display: block; color: var(--navy-900); }
.value-item span { color: var(--slate); font-size: .9rem; }

/* ---------- Timeline (process) ---------- */
.timeline { display: grid; gap: 0; max-width: 860px; margin: 0 auto; }
.tl-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 34px; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 60px; bottom: 0; width: 2px; background: linear-gradient(var(--blue-400), rgba(63,184,196,.2)); }
.tl-num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 24px rgba(47,127,209,.34); position: relative; z-index: 1; }
.tl-body { padding-top: 8px; }
.tl-body h3 { margin-bottom: .3em; }
.tl-body p { color: var(--slate); margin: 0; }
.section-navy .tl-body p { color: #a9bdd6; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-quote { font-size: 3rem; line-height: .6; font-family: 'Sora', serif; color: rgba(47,127,209,.24); height: 24px; }
.testi-card p { color: var(--ink); font-size: 1.02rem; }
.testi-stars { color: #f0a92f; letter-spacing: 2px; margin-bottom: 10px; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-author .ta-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.testi-author strong { display: block; color: var(--navy-900); font-size: .95rem; }
.testi-author span { color: var(--slate); font-size: .84rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(47,127,209,.35); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy-900); }
.faq-q .faq-ico { flex: 0 0 24px; width: 24px; height: 24px; position: relative; transition: transform .3s var(--ease); }
.faq-q .faq-ico::before, .faq-q .faq-ico::after { content: ""; position: absolute; background: var(--blue-500); border-radius: 2px; }
.faq-q .faq-ico::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq-q .faq-ico::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: transform .3s var(--ease); }
.faq-item.open .faq-q .faq-ico::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--blue-600), var(--navy-800) 70%); color: #fff; text-align: center; padding: 80px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 20% 0%, rgba(63,184,196,.3), transparent 60%), radial-gradient(500px 300px at 90% 100%, rgba(124,108,240,.2), transparent 60%); }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe8f6; max-width: 600px; margin: 0 auto 30px; font-size: 1.14rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--brand-dark); color: #a9bdd6; padding-top: 66px; font-size: .95rem; overflow: hidden; }
.footer-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 700px; height: 240px; background: radial-gradient(closest-side, rgba(47,127,209,.28), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1.4fr; gap: 42px; padding-bottom: 46px; }
.brand-footer { margin-bottom: 18px; }
.brand-footer .brand-mark { height: 82px; }
.brand-footer .brand-name { font-size: 1.45rem; }
.brand-footer .brand-sub { font-size: .62rem; }
.footer-brand p { color: #93a8c4; }
.footer-reg { font-size: .84rem; color: #6f88a8; }
.footer-est { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-300); background: rgba(63,184,196,.12); border: 1px solid rgba(63,184,196,.3); }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { color: #a9bdd6; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; color: #a9bdd6; line-height: 1.9; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; position: relative; }
.footer-disclaimer p { font-size: .8rem; color: #6f88a6; margin: 0; line-height: 1.6; }
/* Extra bottom space so the floating WhatsApp button never covers the legal links */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 96px; position: relative; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #7089a8; }
.footer-made { letter-spacing: .1em; text-transform: uppercase; font-size: .74rem !important; }
.footer-brand .social-links { list-style: none; display: flex; flex-flow: row wrap; gap: 12px; margin: 18px 0 0; padding: 0; }
.social-links a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #a9bdd6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: all .2s var(--ease); }
.social-links a:hover { color: #fff; background: var(--blue-500); transform: translateY(-3px); border-color: transparent; }

/* Floating WhatsApp button (bottom-right; back-to-top stacks above it) */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 95;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 12px 28px rgba(37,211,102,.42);
    transition: transform .25s var(--ease), box-shadow .25s, background .2s;
}
.wa-float:hover { background: #1eb955; color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 36px rgba(37,211,102,.55); }
.wa-float svg { width: 31px; height: 31px; position: relative; z-index: 1; }
.wa-float::before { /* attention pulse */
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: waPulse 2.6s infinite;
}
.wa-float-label {
    position: absolute; right: calc(100% + 12px); top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--navy-900); color: #fff; font-size: .86rem; font-weight: 600;
    padding: 9px 14px; border-radius: 9px; white-space: nowrap; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
}
.wa-float:hover .wa-float-label { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
@keyframes waPulse {
    70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Back to top — sits above the WhatsApp button */
.back-to-top { position: fixed; right: 22px; bottom: 92px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: var(--blue-500); color: #fff; box-shadow: 0 12px 28px rgba(47,127,209,.42); display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--blue-600); }
.back-to-top[hidden] { display: none; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; }
.contact-form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; color: var(--navy-900); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,127,209,.16); }
.field textarea { min-height: 150px; resize: vertical; }
.dept-cards { display: grid; gap: 16px; }
.dept-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: transform .2s var(--ease), box-shadow .2s; }
.dept-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dept-card h4 { margin-bottom: .3em; color: var(--blue-500); }
.dept-card p { margin: 0; color: var(--slate); font-size: .95rem; }
.dept-card a { font-weight: 600; }
.map-embed { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-embed iframe, .map-placeholder { width: 100%; height: 380px; border: 0; display: block; }
.map-placeholder { background: var(--bg-soft); display: grid; place-items: center; color: var(--slate); text-align: center; padding: 20px; }

.alert { padding: 15px 18px; border-radius: 10px; margin-bottom: 8px; font-size: .95rem; }
.alert-success { background: rgba(63,184,196,.12); border: 1px solid rgba(63,184,196,.4); color: #146a72; }
.alert-error { background: rgba(214,69,69,.08); border: 1px solid rgba(214,69,69,.35); color: #a12b2b; }

/* ---------- Legal / policy documents ---------- */
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap .lead { color: var(--ink); }
.legal-meta { font-size: .86rem; color: var(--slate-2); padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-wrap h2 { font-size: 1.32rem; margin-top: 2em; padding-top: .2em; }
.legal-wrap h2:first-of-type { margin-top: 1.4em; }
.legal-list { margin: 0 0 1.2em; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.legal-list li { position: relative; padding-left: 26px; color: var(--slate); }
.legal-list li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); }
.legal-list li strong { color: var(--navy-900); }
.legal-contact { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--blue-500); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 6px 0 1.2em; }
.legal-contact p { margin: 0; color: var(--slate); }
.legal-note { margin-top: 2em; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--slate-2); font-style: italic; }

/* Footer legal links row */
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.legal-links a { color: #7089a8; font-size: .85rem; }
.legal-links a:hover { color: #fff; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }

/* ---------- Scroll reveal ---------- */
/* Only hide when JS is present (the .js class is set in <head>) — without JS the
   content must still be fully visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Keyframes ---------- */
@keyframes auroraShift { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-3%, 2%, 0) scale(1.05); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } 100% { opacity: 0; } }

/* ==========================================================================
   Responsive — phone · tablet (portrait/landscape) · small laptop
   Device widths targeted: ~360-430 (phones), 768 (tablet portrait),
   820-1024 (tablet landscape / small laptop).
   ========================================================================== */

/* --- Tablet landscape / small laptop: two-up hero + side-by-side sections --- */
@media (max-width: 1024px) {
    .synergy-grid, .division-body, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
    .container { padding: 0 28px; }
}

/* --- Tablet portrait (iPad ~768): keep card grids 2-up rather than collapsing --- */
@media (max-width: 960px) {
    .pillars, .team-grid, .testi-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-inner { padding: 92px 0 100px; max-width: 100%; }
    .section-head { margin-bottom: 44px; }
}

/* --- Collapse navigation to a toggle menu (phones + tablet portrait) --- */
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: 74px 0 auto 0; background: rgba(8,15,26,.98);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        max-height: 0; overflow-y: auto; overscroll-behavior: contain;
        transition: max-height .4s var(--ease); border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .main-nav.open { max-height: calc(100vh - 74px); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
    .main-nav a { padding: 15px 16px; font-size: 1rem; }
    .main-nav > ul > li > a::after { display: none; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: rgba(255,255,255,.04); border: 0; padding-left: 12px; min-width: 0; }
    .has-dropdown.open .dropdown { display: flex; }
    .nav-cta { margin-top: 8px; }
    .nav-cta a { text-align: center; justify-content: center; }
    .stat-cards, .mv-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Large phones / phablets: single-column card grids --- */
@media (max-width: 680px) {
    .pillars, .team-grid, .testi-grid, .value-grid,
    .mv-grid, .stat-cards { grid-template-columns: 1fr; }
    .division-head { gap: 12px; }
    .division-head h2 { font-size: 1.5rem; }
    .tl-step { grid-template-columns: 52px 1fr; gap: 18px; }
    .tl-num { width: 52px; height: 52px; font-size: 1.1rem; }
    .tl-step:not(:last-child)::before { left: 25px; top: 52px; }
}

/* --- Phones --- */
@media (max-width: 560px) {
    .container { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .section { padding: 58px 0; }
    .page-banner { padding: 74px 0 60px; }
    .hero-inner { padding: 80px 0 88px; }
    .hero-actions { gap: 12px; }
    .hero-actions .btn, .page-banner .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-badges { gap: 8px; }
    .faq-q { font-size: .98rem; padding: 18px 18px; }
    .faq-a-inner { padding: 0 18px 18px; }
    .mv-card, .testi-card, .pillar { padding: 28px 24px; }
    .cta-band { padding: 62px 0; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .wa-float svg { width: 28px; height: 28px; }
    .wa-float-label { display: none; }
    .back-to-top { right: 16px; bottom: 80px; width: 44px; height: 44px; }
}

/* --- Small phones (~360) --- */
@media (max-width: 380px) {
    .container { padding: 0 16px; }
    .hero-badge { font-size: .78rem; }
    .btn { padding: 13px 22px; }
    .btn-lg { padding: 14px 26px; }
}

/* --- Landscape phones: trim tall vertical padding --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-inner { padding: 60px 0 68px; }
    .hero-scroll { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
    .hero-canvas { display: none; }
}
