/* ============================================================
   Limina Tech Sdn Bhd — CyberCrest-style dark theme
   Fonts: Poppins (headings/body) + Roboto Mono (labels)
   Palette from cybercrestcompliance.com, accent = Limina blue
   ============================================================ */
:root {
  --bg: #ffffff;            /* Hyer light */
  --bg-2: #f2f4f5;
  --card: #ffffff;
  --card-2: #f7f8f9;
  --ink: #000d10;           /* Hyer ink */
  --line: rgba(0, 13, 16, .12);
  --line-soft: rgba(0, 13, 16, .07);
  --line-bright: rgba(0, 13, 16, .22);
  --blue: #3344ff;          /* Limina electric blue */
  --blue-bright: #2735d6;
  --blue-soft: #6f7dff;
  --blue-glow: rgba(51, 68, 255, .18);
  --white: #000d10;         /* heading colour (ink on light) */
  --platinum: #22282b;
  --grey: #3f474c;
  --grey-2: #6a7278;
  --grey-3: #6f7680;
  --wa: #3344ff;
  --wa-dark: #2735d6;
  --mono: "Archivo", system-ui, -apple-system, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --serif: "Archivo", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--grey);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* fine film grain for a richer, less flat surface */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; color: var(--white); line-height: 1.1; letter-spacing: -.5px; }
/* Hyer-style heavy tight grotesque display headings */
h1, h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.03em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.container-narrow { max-width: 820px; }

/* ---------- Mono label / eyebrow ---------- */
.eyebrow {
  font-family: var(--mono); text-transform: none; letter-spacing: .4px;
  font-size: .72rem; color: var(--grey-2); font-weight: 400;
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--blue); }
.eyebrow.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); text-transform: none; letter-spacing: .2px; font-size: .72rem; font-weight: 500;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .4s, color .3s; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
/* taxo-style frosted white pill */
.btn-outline { background: var(--ink); color: #fff; border-color: transparent;
  box-shadow: 0 12px 30px -14px rgba(0,13,16,.5); }
.btn-outline:hover { background: #12262c; box-shadow: 0 16px 38px -14px rgba(0,13,16,.55); }
.btn-blue { background: linear-gradient(180deg, var(--blue-bright), var(--blue)); color: #fff; box-shadow: 0 14px 40px -16px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.15); }
.btn-blue:hover { box-shadow: 0 18px 50px -16px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 14px 40px -18px rgba(51,68,255,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-lg { padding: 18px 32px; font-size: .76rem; }
.wa-ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Background texture helpers ---------- */
.dots {
  background-image: radial-gradient(rgba(0,13,16,.10) 1px, transparent 1px);
  background-size: 22px 22px;
}
.glow-top { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 380px at 50% -10%, var(--blue-glow), transparent 62%); opacity: .5; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.8); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; }
.brand-text { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: .2px; }
.brand-text em { font-style: normal; font-weight: 400; color: var(--grey-2); font-size: .72rem; font-family: var(--mono); text-transform: none; letter-spacing: .2px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { font-family: var(--mono); text-transform: none; letter-spacing: .2px; font-size: .74rem; color: var(--grey);
  padding: 9px 16px; border-radius: 999px; background: transparent; transition: background .25s var(--ease), color .25s var(--ease); }
.main-nav a:hover { color: #fff; background: var(--blue); }
.nav-cta { padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 14px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Left section index rail ---------- */
.rail { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 40; }
.rail ul { list-style: none; display: grid; gap: 16px; }
.rail a {
  font-family: var(--mono); font-size: .70rem; letter-spacing: .2px; text-transform: none;
  color: var(--grey-3); display: flex; align-items: center; gap: 9px; transition: color .2s;
}
.rail a i { font-style: normal; color: var(--grey-3); transition: color .2s; }
.rail a .bar { width: 14px; height: 1px; background: currentColor; opacity: .5; transition: width .25s, background .2s; }
.rail a .lbl { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .28s ease, opacity .2s ease, margin .28s ease; }
.rail:hover a .lbl, .rail a.active .lbl { max-width: 110px; opacity: 1; margin-left: 2px; }
.rail a:hover { color: var(--grey); }
.rail a.active { color: var(--ink); }
.rail a.active i { color: var(--blue-bright); }
.rail a.active .bar { width: 26px; background: var(--blue); opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
/* WebGL shader background */
.shader-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero .hero-grid-bg { z-index: -1; }  /* CSS fallback behind the canvas */
.hero .container { position: relative; z-index: 2; }
/* hero entrance — content animates in on load */
.hero-copy > * { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease) forwards; }
.hero-copy .eyebrow { animation-delay: .15s; }
.hero-copy h1 { animation-delay: .28s; }
.hero-copy .hero-sub { animation-delay: .45s; }
.hero-copy .hero-cta { animation-delay: .60s; }
.hero-copy .hero-trust { animation-delay: .74s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
/* taxo-style flowing aurora — animated drifting blue blobs */
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #a9c2d6 0%, #c9d8e4 46%, #f4f7f8 100%); }
.hero-grid-bg::before, .hero-grid-bg::after {
  content: ""; position: absolute; width: 70vw; height: 70vw; border-radius: 50%;
  filter: blur(90px); will-change: transform; }
.hero-grid-bg::before { top: -18%; left: -6%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.85), rgba(255,255,255,.3) 45%, transparent 70%);
  animation: blobA 20s ease-in-out infinite; }
.hero-grid-bg::after { top: -26%; right: -10%; width: 62vw; height: 62vw;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.7), rgba(255,255,255,.2) 48%, transparent 72%);
  animation: blobB 26s ease-in-out infinite; }
/* third blob via hero-hex repurposed */
@keyframes blobA {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(22%, 14%) scale(1.25); }
  66%     { transform: translate(-8%, 20%) scale(.95); }
}
@keyframes blobB {
  0%,100% { transform: translate(0,0) scale(1.1); }
  40%     { transform: translate(-20%, 18%) scale(.85); }
  75%     { transform: translate(12%, -6%) scale(1.2); }
}
.hero-hex { position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image:
    linear-gradient(rgba(0,13,16,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,13,16,.05) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(80% 70% at 40% 30%, #000, transparent); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left; min-height: 92vh; justify-content: center; padding: 80px 0 46px; }
.hero-copy { max-width: 1100px; margin: 0; }
.hero .eyebrow { justify-content: flex-start; color: var(--blue-soft); }
.hero .eyebrow::before { background: var(--blue); }
.hero h1 { font-size: clamp(3.2rem, 8vw, 7rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hero h1 .acc { font-style: italic; font-weight: 800;
  background: linear-gradient(120deg, var(--blue-soft), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap;
  opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease) .55s forwards; }
.hero-sub { color: var(--grey); margin: 0; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 400; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; list-style: none; justify-content: flex-start;
  font-family: var(--mono); font-size: .70rem; letter-spacing: .2px; text-transform: none; color: var(--grey-2);
  opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease) .7s forwards; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- Trust / badge strip ---------- */
.badges { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; }
/* infinite scrolling marquee */
.marquee { position: relative; padding: 24px 0; -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; width: max-content; gap: 56px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.badge { font-family: var(--mono); text-transform: none; letter-spacing: .2px; font-size: .78rem; color: var(--grey-3); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.badge::after { content: ""; width: 12px; height: 13px; margin-left: 56px; flex: none; opacity: .75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8.66 5v10L12 22l-8.66-5V7z' fill='%233344ff'/%3E%3C/svg%3E") center/contain no-repeat; }
.badge b { color: var(--grey); font-weight: 500; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 124px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { max-width: 740px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -1.4px; }
.section-head p { color: var(--grey-2); margin-top: 18px; font-size: 1.06rem; font-weight: 300; }
.num-tag { font-family: var(--mono); color: var(--grey-3); font-size: .70rem; letter-spacing: .4px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 32px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(0,13,16,.05);
  transition: transform .45s var(--ease), border-color .4s, box-shadow .4s;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(0,13,16,.08), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; }
.card::after { content: ""; position: absolute; top: -50%; right: -35%; width: 65%; height: 90%;
  background: radial-gradient(circle, rgba(85,99,255,.14), transparent 62%); opacity: 0; transition: opacity .5s; }
.card:hover { transform: translateY(-7px); border-color: var(--line-bright); box-shadow: 0 30px 70px -34px rgba(0,0,0,.85), inset 0 1px 0 rgba(0,13,16,.10); }
.card:hover::after { opacity: 1; }
/* ---------- Luxury line-icon system ---------- */
.card-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px;
  border: 1px solid var(--line); background: radial-gradient(circle at 32% 26%, rgba(85,99,255,.10), transparent 72%);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover .card-ico { border-color: rgba(85,99,255,.5); box-shadow: 0 0 0 1px rgba(85,99,255,.18), 0 12px 30px -16px var(--blue-glow); }
.licon, .card-ico svg { width: 30px; height: 30px; stroke: var(--blue-soft); fill: none; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.step-ico { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 20px; }
.step-ico .licon { width: 34px; height: 34px; }
/* refined, slow, restrained animations (luxury = calm motion) */
@keyframes li-spin { to { transform: rotate(360deg); } }
@keyframes li-sweep { to { transform: rotate(360deg); } }
@keyframes li-swing { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes li-scan { 0%,100% { transform: translate(-2px,-1px); } 50% { transform: translate(2px,1px); } }
@keyframes li-lift { 0%,55%,100% { transform: rotate(0deg); } 25% { transform: rotate(-32deg); } }
@keyframes li-breathe { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes li-blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes li-ping { 0% { opacity: .7; transform: scale(.8); } 70%,100% { opacity: 0; transform: scale(1.6); } }
.licon .gear { transform-box: view-box; transform-origin: 24px 24px; animation: li-spin 22s linear infinite; }
.licon .radar { transform-box: view-box; transform-origin: 24px 23px; animation: li-sweep 5s linear infinite; }
.licon .boom { transform-box: view-box; transform-origin: 13px 16px; animation: li-lift 5s ease-in-out infinite; }
.licon .scan { transform-box: view-box; transform-origin: 22px 22px; animation: li-scan 4s ease-in-out infinite; }
.licon .wrench { transform-box: view-box; transform-origin: 24px 24px; animation: li-swing 4.5s ease-in-out infinite; }
.licon .fp path { animation: li-breathe 3.6s ease-in-out infinite; }
.licon .fp path:nth-child(2) { animation-delay: .2s; }
.licon .fp path:nth-child(3) { animation-delay: .4s; }
.licon .fp path:nth-child(4) { animation-delay: .6s; }
.licon .fp path:nth-child(5) { animation-delay: .8s; }
.licon .lens { transform-box: fill-box; transform-origin: center; animation: li-blink 3.4s ease-in-out infinite; }
.licon .wave { animation: li-ping 3.4s ease-out infinite; transform-box: view-box; transform-origin: 15px 23px; }
.licon .dot1 { animation: li-blink 1.8s ease-in-out infinite; }
.licon .dot2 { animation: li-blink 1.8s ease-in-out .3s infinite; }
.licon .dot3 { animation: li-blink 1.8s ease-in-out .6s infinite; }
.card h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 9px; letter-spacing: -.3px; }
.card .card-desc { color: var(--grey-2); font-size: .92rem; margin-bottom: 20px; font-weight: 300; }
.card ul { list-style: none; display: grid; gap: 11px; }
.card ul li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--grey); font-weight: 300; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--blue-soft); border-bottom: 1.5px solid var(--blue-soft); transform: rotate(-45deg); }
.card-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
  background: linear-gradient(160deg, rgba(51,68,255,.16), rgba(51,68,255,.02)); border-color: rgba(85,99,255,.28); }
.card-cta h3 { font-size: 1.32rem; }
.card-cta p { color: var(--grey); font-size: .95rem; font-weight: 300; }

/* ---------- Process / methodology ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 34px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: inset 0 1px 0 rgba(0,13,16,.05); }
.step .step-num { font-family: var(--mono); font-weight: 300; font-size: 2.2rem; color: var(--blue-soft); opacity: .55; line-height: 1; }
.step h3 { font-size: 1.08rem; margin: 16px 0 9px; font-weight: 500; letter-spacing: -.3px; }
.step p { color: var(--grey-2); font-size: .9rem; font-weight: 300; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 44px; color: var(--grey-3); font-size: 1rem; z-index: 2; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 2px 24px; }
.faq details[open] { border-color: rgba(51,68,255,.5); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--sans); font-weight: 500; color: var(--ink);
  font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-bright); font-size: 1.5rem; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--grey); }

/* ---------- CTA band ---------- */
/* ---------- Enquiry form ---------- */
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--grey-2); letter-spacing: .2px; }
.field label .opt { color: var(--grey-3); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--white);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s; outline: none; }
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder { color: var(--grey-3); }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  border-color: rgba(85,99,255,.6); box-shadow: 0 0 0 3px rgba(51,68,255,.18); }
.enquiry-form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238b8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.enquiry-form option { background: #fff; color: var(--ink); }
.enquiry-form textarea { resize: vertical; min-height: 92px; }
.form-submit { grid-column: 1 / -1; justify-content: center; margin-top: 6px; width: 100%; }
.form-note { grid-column: 1 / -1; text-align: center; font-size: .8rem; color: var(--grey-3); margin-top: -4px; }
@media (max-width: 620px) { .enquiry-form { grid-template-columns: 1fr; } }


/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand p { margin-top: 16px; font-size: .92rem; color: var(--grey-2); max-width: 320px; }
.footer-col h3 { font-family: var(--mono); color: var(--grey-3); font-size: .70rem; text-transform: none; letter-spacing: .2px; font-weight: 400; margin-bottom: 16px; }
.footer-col p { margin-bottom: 9px; font-size: .94rem; color: var(--grey); }
.footer-col a:hover, .footer-brand a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 44px; padding-top: 22px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: 1px; color: var(--grey-3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom .credits { font-size: .66rem; letter-spacing: .5px; color: var(--grey-3); opacity: .8; }
.footer-bottom .credits a { text-decoration: underline; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 34px -8px rgba(51,68,255,.6); animation: wa-pulse 4.5s ease-out infinite; transition: background .3s, transform .3s; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }
@keyframes wa-pulse {
  0% { box-shadow: 0 12px 34px -8px rgba(51,68,255,.6), 0 0 0 0 rgba(51,68,255,.35); }
  60% { box-shadow: 0 12px 34px -8px rgba(51,68,255,.6), 0 0 0 14px rgba(51,68,255,0); }
  100% { box-shadow: 0 12px 34px -8px rgba(51,68,255,.6), 0 0 0 0 rgba(51,68,255,0); }
}

/* ---------- Deeper serif + motion (lower sections) ---------- */
.card h3, .step h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.2px; font-size: 1.12rem; }
.faq summary { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; }

/* ambient drifting glow — gives the dark middle depth + slow motion */
.section > .container { position: relative; z-index: 1; }
.section::before { content: ""; position: absolute; z-index: 0; width: 55vw; height: 55vw;
  max-width: 780px; max-height: 780px; border-radius: 50%; pointer-events: none; filter: blur(140px);
  background: radial-gradient(circle, rgba(51,68,255,.16), transparent 62%);
  top: -6%; right: -12%; animation: drift1 26s ease-in-out infinite; }
.section:nth-of-type(2n)::before { left: -14%; right: auto; top: auto; bottom: -10%;
  background: radial-gradient(circle, rgba(85,99,255,.13), transparent 62%); animation: drift2 32s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-9%,12%) scale(1.18); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.08); } 50% { transform: translate(11%,-9%) scale(.9); } }

/* staggered reveal cascades */
.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4) { transition-delay: .24s; }
.cards .reveal:nth-child(5) { transition-delay: .32s; }
.cards .reveal:nth-child(6) { transition-delay: .40s; }
.steps .reveal:nth-child(2) { transition-delay: .10s; }
.steps .reveal:nth-child(3) { transition-delay: .20s; }
.steps .reveal:nth-child(4) { transition-delay: .30s; }
.faq details:nth-child(2) { transition-delay: .05s; }
.faq details:nth-child(3) { transition-delay: .10s; }
.faq details:nth-child(4) { transition-delay: .15s; }
.faq details:nth-child(5) { transition-delay: .20s; }

/* FAQ hover-slide + serif rows */
.faq details { transition: transform .4s var(--ease), border-color .3s, background .3s, opacity .7s ease; }
.faq details:hover { transform: translateX(10px); border-color: rgba(51,68,255,.5); background: #f2f5fb; }

/* richer card hover glow */
.card:hover { box-shadow: 0 34px 74px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(85,99,255,.4), inset 0 1px 0 rgba(0,13,16,.10); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .hero-3d, .hero-bottom, .hero-trust { opacity: 1; transform: none; animation: none !important; }
  .marquee-track, .wa-float, .hero-grid-bg::before, .hero-grid-bg::after,
  .section::before, .section:nth-of-type(2n)::before, .contact-final::before, .contact-final::after,
  .licon .gear, .licon .radar, .licon .boom, .licon .scan, .licon .wrench,
  .licon .fp path, .licon .lens, .licon .wave, .licon .dot1, .licon .dot2, .licon .dot3,
  .feed-scan, .feed .rec i, .route, .boomviz, .viz-keypad .k4 { animation: none !important; }
}

/* ---------- Keyboard focus (a11y) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px;
}

/* ---------- Hero 3D (Spline camera cluster — big and central, Hyer-plane style) ---------- */
.hero-3d { display: none; position: relative; min-width: 0; width: 100%; height: min(72vh, 680px); margin: 0 0 10px;
  opacity: 0; animation: heroIn 1.2s var(--ease) .4s forwards; }
.hero-3d spline-viewer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (min-width: 981px) {
  .hero-3d { display: block; }
}
@media (max-width: 980px) {
  .hero-inner { min-height: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .rail { display: none; } }
@media (max-width: 960px) {
  .hero-inner { min-height: auto; padding: 30px 0 10px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-2); padding: 14px 26px; gap: 6px; border-bottom: 1px solid var(--line); }
  .site-header.open .main-nav a { padding: 12px 0; display: block; }
  .footer-col p a, .footer-brand > a { display: inline-block; padding: 5px 0; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .badges-inner { justify-content: center; gap: 16px 24px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(2.4rem, 11vw, 7rem); }
}

/* ---------- Merged contact/enquiry final section ---------- */
.contact-final { overflow: hidden; }
.contact-final .glow-top { opacity: .8; }
.contact-final .section-head { margin-bottom: 44px; }
.form-alt { text-align: center; margin-top: 22px; font-size: .9rem; color: var(--grey-2); }
.form-alt a { color: var(--platinum); text-decoration: underline; text-underline-offset: 3px; }
.form-alt a:hover { color: #fff; }

/* ---------- Editorial middle (chosen design: statement + service rows) ---------- */
.statement{max-width:980px;margin-top:26px}
.statement h2{font-size:clamp(2.4rem,5.6vw,4.6rem);line-height:1.06;letter-spacing:-1px}
.statement h2 em{font-style:italic;background:linear-gradient(120deg,#aab4ff,#8a97ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.statement p{margin-top:26px;max-width:560px;color:#6a7278;font-size:1.05rem}

.feed{position:relative;height:210px;border-radius:14px;overflow:hidden;border:1px solid rgba(0,13,16,.10);background:
 linear-gradient(rgba(0,13,16,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(0,13,16,.05) 1px,transparent 1px),
 linear-gradient(160deg,#eef2f4,#e4ebee);background-size:34px 34px,34px 34px,100% 100%;margin-top:20px}
.feed-top{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;padding:12px 16px;font:500 .64rem/1 Archivo;letter-spacing:.6px;color:#6a7278}
.feed .rec{color:#5563ff;display:flex;align-items:center;gap:6px}
.feed .rec i{width:7px;height:7px;border-radius:50%;background:#5563ff;box-shadow:0 0 8px #5563ff;animation:li-blink 1.6s steps(1) infinite}
.feed-scan{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(85,99,255,.9),transparent);animation:scanY 4.5s ease-in-out infinite alternate}
@keyframes scanY{0%{top:14%}100%{top:88%}}
.feed-glow{position:absolute;inset:0;background:radial-gradient(60% 60% at 70% 70%,rgba(51,68,255,.16),transparent 70%)}
.feed::after{content:"";position:absolute;inset:12px;border:1px solid rgba(85,99,255,.16);border-radius:8px;
 -webkit-mask:linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);mask-composite:exclude;-webkit-mask-composite:xor;padding:1px}

.srow{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center;padding:58px 0;border-top:1px solid rgba(0,13,16,.08)}
.srow.flip .srow-copy{order:2}.srow.flip .srow-viz{order:1}
.srow-num{font:400 .78rem/1 Archivo;color:#8e8e95;letter-spacing:.4px}
.srow h3{font-family:var(--sans);font-size:clamp(1.6rem,2.6vw,2.2rem);font-weight:600;margin:12px 0 12px;letter-spacing:-.4px}
.srow p{color:#6a7278;max-width:440px}
.srow ul{list-style:none;display:grid;gap:10px;margin-top:18px}
.srow ul li{position:relative;padding-left:24px;font-size:.92rem;color:#3f474c}
.srow ul li::before{content:"";position:absolute;left:0;top:8px;width:12px;height:7px;border-left:1.5px solid #8a97ff;border-bottom:1.5px solid #8a97ff;transform:rotate(-45deg)}
.srow-viz{border:1px solid rgba(0,13,16,.10);border-radius:16px;background:linear-gradient(180deg,#f7f9fa,#edf1f3);padding:26px;box-shadow:inset 0 1px 0 rgba(0,13,16,.05)}
.viz-svg{width:100%;height:auto;display:block}
.pingdot{animation:li-ping 2.6s ease-out infinite;transform-box:fill-box;transform-origin:center}
.route{animation:routeflow 6s linear infinite}
@keyframes routeflow{to{stroke-dashoffset:-52}}
.boomviz{transform-box:view-box;transform-origin:48px 70px;animation:li-lift 5s ease-in-out infinite}
.viz-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:190px;margin:12px auto}
.viz-keypad .k{aspect-ratio:1;border-radius:50%;border:1px solid rgba(85,99,255,.35);background:radial-gradient(circle at 35% 30%,rgba(85,99,255,.25),transparent 70%)}
.viz-keypad .k4{background:#3344ff;border-color:#3344ff;box-shadow:0 0 18px rgba(51,68,255,.8);animation:li-blink 2.4s ease-in-out infinite}
.gauge{animation:gaugefill 3s var(--ease) both}
@keyframes gaugefill{from{stroke-dashoffset:267}}
@media(max-width:960px){.srow{grid-template-columns:1fr;gap:26px}.srow.flip .srow-copy{order:1}.srow.flip .srow-viz{order:2}}
.faq-link { color: var(--platinum); text-decoration: underline; text-underline-offset: 3px; }
.faq-link:hover { color: #fff; }

/* ---------- Hyer light theme: dark ink panels for CTA + footer ---------- */
.section::before, .section:nth-of-type(2n)::before { opacity: .5; }
.hero .eyebrow { color: var(--grey); }
/* contact: light cloud sky — white fading into light blue */
.contact-final { background: linear-gradient(180deg, #ffffff 0%, #e3ecf4 42%, #b9d0e4 100%); }
.contact-final .glow-top { display: none; }
.contact-final::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: 62vw; height: 62vw; max-width: none; max-height: none;
  top: -18%; left: -10%; right: auto; bottom: auto; opacity: 1;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.95), rgba(255,255,255,.4) 45%, transparent 70%);
  filter: blur(80px); animation: blobA 22s ease-in-out infinite;
}
.contact-final::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: 55vw; height: 55vw;
  bottom: -22%; right: -12%; top: auto; left: auto;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.85), rgba(210,226,240,.45) 48%, transparent 72%);
  filter: blur(90px); animation: blobB 28s ease-in-out infinite;
}
.contact-final .section-head h2 { color: var(--ink); }
.contact-final .section-head p, .contact-final .field label { color: #46586a; }
.contact-final .enquiry-form input, .contact-final .enquiry-form select, .contact-final .enquiry-form textarea {
  background: rgba(255,255,255,.82); border-color: rgba(0,13,16,.16); color: var(--ink); }
.contact-final .enquiry-form input:focus, .contact-final .enquiry-form select:focus, .contact-final .enquiry-form textarea:focus {
  border-color: rgba(51,68,255,.55); box-shadow: 0 0 0 3px rgba(51,68,255,.14); }
.contact-final .enquiry-form option { background: #ffffff; color: var(--ink); }
.contact-final .form-note, .contact-final .form-alt { color: #5a6b7c; }
.contact-final .form-alt a { color: var(--ink); }
/* footer: deep night-blue panel rising over the sky above */
.site-footer { position: relative; z-index: 2; border-top: none; overflow: hidden;
  background: linear-gradient(180deg, #0b1c44 0%, #060f2c 55%, #03081c 100%);
  border-radius: 28px 28px 0 0; margin-top: -28px;
  box-shadow: 0 -18px 50px -30px rgba(5,15,45,.55); }
/* giant faded wordmark behind the footer content */
.site-footer::after { content: "LIMINA TECH"; position: absolute; z-index: 0; left: 50%; bottom: -.16em;
  transform: translateX(-50%); pointer-events: none; white-space: nowrap; line-height: 1;
  font-family: var(--sans); font-weight: 800; letter-spacing: .01em;
  font-size: clamp(4.5rem, 12.5vw, 12.5rem);
  color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.015));
  -webkit-background-clip: text; background-clip: text; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer .brand-text { color: #fff; }
.footer-brand p, .footer-col p { color: #aebadb; }
.footer-col h3 { color: #7583ab; }
.site-footer .footer-col a:hover, .site-footer .footer-brand a:hover { color: #fff; }
.footer-bottom { color: #7583ab; border-top-color: rgba(255,255,255,.09); }

/* gauge: fill + count-up only when scrolled into view */
.gauge { animation: none; stroke-dashoffset: 267; }
@keyframes gaugefill-go { from { stroke-dashoffset: 267; } to { stroke-dashoffset: 60; } }
.viz-svg.go .gauge { animation: gaugefill-go 2.4s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .gauge { stroke-dashoffset: 60; }
  .viz-svg.go .gauge { animation: none; }
}
