/* ==========================================================================
   Neon Light Sellers Kerala — shared styles
   Design system "Wired light": near-black UI, one neon accent per section.
   ========================================================================== */

:root {
  --night: #09090E;
  --night-2: #07070B;
  --surface: #101018;
  --surface-2: #111119;
  --raised: #1C1C28;
  --paper: #F3F1EC;
  --text-2: #B9B6C4;
  --text-3: #C9C6D3;
  --muted: #9A97A6;
  --muted-2: #7E7B8A;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --cyan: #37E6FF;
  --cyan-soft: #9CF4FF;
  --magenta: #FF3DA6;
  --violet: #A77BFF;
  --warm: #FFB45C;
  --lime: #9DFF2E;
  --wa: #25D366;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 56px;
  --radius-btn: 12px;

  --f-display: 'Big Shoulders Display', Impact, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--f-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-soft); }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--cyan); color: #03161C; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.d { font-family: var(--f-display); text-transform: uppercase; font-weight: 800; letter-spacing: -.005em; }
.m { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow--line::before { content: ''; width: 28px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.c-cyan { color: var(--cyan); } .c-magenta { color: var(--magenta); } .c-violet { color: var(--violet); } .c-warm { color: var(--warm); }
.lead { color: var(--text-2); font-size: 17px; line-height: 1.6; }
.muted { color: var(--muted); }

.h-xl { font-size: clamp(64px, 11vw, 158px); line-height: .84; font-weight: 900; }
.h-lg { font-size: clamp(52px, 8vw, 116px); line-height: .86; }
.h-md { font-size: clamp(46px, 7vw, 100px); line-height: .86; }
.h-sm { font-size: clamp(40px, 5.6vw, 80px); line-height: .86; }

/* Neon text: white-tinted core + stacked glow */
.np { color: #FFE9F5; text-shadow: 0 0 1px #fff, 0 0 7px #FF3DA6, 0 0 16px #FF3DA6, 0 0 34px #FF3DA6, 0 0 70px #FF3DA6, 0 0 120px rgba(255,61,166,.55); }
.nc { color: #E6FCFF; text-shadow: 0 0 1px #fff, 0 0 7px #37E6FF, 0 0 16px #37E6FF, 0 0 34px #37E6FF, 0 0 70px #37E6FF, 0 0 120px rgba(55,230,255,.5); }
.nv { color: #F1E9FF; text-shadow: 0 0 1px #fff, 0 0 7px #A77BFF, 0 0 16px #A77BFF, 0 0 34px #A77BFF, 0 0 70px #A77BFF; }
.nw { color: #FFF4E4; text-shadow: 0 0 1px #fff, 0 0 7px #FFB45C, 0 0 16px #FFB45C, 0 0 34px #FFB45C, 0 0 70px #FFB45C; }
.nl { color: #F2FFE0; text-shadow: 0 0 1px #fff, 0 0 7px #9DFF2E, 0 0 16px #9DFF2E, 0 0 34px #9DFF2E, 0 0 70px #9DFF2E; }
.f-script { font-family: 'Yellowtail', cursive; text-transform: none; font-weight: 400; }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 130px; padding-bottom: 120px; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head .m + .d { margin-top: 22px; }
.stack { display: flex; flex-direction: column; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--radius-btn); border: 0;
  font: 700 15px var(--f-body); cursor: pointer; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
}
.btn svg { flex-shrink: 0; }
.btn-p { background: var(--cyan); color: #03161C; box-shadow: 0 0 0 1px rgba(156,244,255,.7), 0 0 26px rgba(55,230,255,.35); }
.btn-p:hover { color: #03161C; transform: translateY(-2px); box-shadow: 0 0 0 1px #CFFAFF, 0 0 36px rgba(55,230,255,.65), 0 0 90px rgba(55,230,255,.25); }
.btn-g { background: rgba(255,255,255,.04); color: var(--paper); border: 1px solid rgba(255,255,255,.2); }
.btn-g:hover { color: #fff; border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 0 26px rgba(55,230,255,.22); }
.btn-wa { background: var(--wa); color: #052E16; }
.btn-wa:hover { color: #052E16; transform: translateY(-2px); box-shadow: 0 0 30px rgba(37,211,102,.45); }
.btn-v { background: linear-gradient(45deg, #8A2BE2, #4A00E0); color: #fff; }
.btn-v:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 30px rgba(138,43,226,.45); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.pulse { animation: pulse 3.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(156,244,255,.7), 0 0 22px rgba(55,230,255,.3); } 50% { box-shadow: 0 0 0 1px #CFFAFF, 0 0 38px rgba(55,230,255,.6); } }

.ib {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--paper); background: rgba(255,255,255,.03); cursor: pointer; transition: .3s;
}
.ib:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(55,230,255,.3); }
.ib--wa { background: var(--wa); border-color: var(--wa); color: #052E16; }
.ib--wa:hover { color: #052E16; border-color: var(--wa); box-shadow: 0 0 18px rgba(37,211,102,.45); }

/* underline link */
.lk { position: relative; color: var(--text-3); font-weight: 500; font-size: 15px; }
.lk::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta)); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease); box-shadow: 0 0 8px var(--cyan);
}
.lk:hover { color: #fff; }
.lk:hover::after, .lk[aria-current="page"]::after { transform: scaleX(1); }
.lk[aria-current="page"] { color: #fff; }
.lk--white { color: #fff; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); border-bottom: 1px solid transparent;
  transition: background .45s, border-color .45s, backdrop-filter .45s;
}
.nav--overlay { margin-bottom: -84px; }
.nav.scrolled, .nav--solid {
  background: rgba(9,9,14,.74); border-color: rgba(255,255,255,.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); flex-shrink: 0; }
.brand:hover { color: #fff; }
/* NSK logo (dark artwork on transparent) → white neon tube with cyan glow */
.brand__logo {
  display: block; height: 64px; width: auto;
  filter: invert(1) drop-shadow(0 0 2px rgba(55,230,255,.9)) drop-shadow(0 0 8px rgba(55,230,255,.55));
  transition: filter .35s;
}
.brand:hover .brand__logo { filter: invert(1) drop-shadow(0 0 3px #37E6FF) drop-shadow(0 0 14px rgba(55,230,255,.8)); }
.brand__logo--lg { height: 96px; }
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; padding: 100px 20px 30px;
  background: rgba(9,9,14,.97); display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__link { font-size: 52px; line-height: 1.1; color: #fff; padding: 6px 0; }
.mobile-menu__link[aria-current="page"] { color: #E6FCFF; text-shadow: 0 0 1px #fff, 0 0 7px #37E6FF, 0 0 16px #37E6FF, 0 0 34px #37E6FF; }
.mobile-menu__foot { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 10px; }
body.menu-open { overflow: hidden; }

/* ---------- Walls (CSS textures used behind sample signs) ---------- */
.sc { position: absolute; inset: 0; }
.vig::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0,0,0,.6)); }
.w-plaster { background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,255,255,.05), transparent 70%), linear-gradient(180deg, #1d1720, #0f0c13); }
.w-brick { background: repeating-linear-gradient(0deg, rgba(0,0,0,.5) 0 2px, transparent 2px 26px), repeating-linear-gradient(90deg, rgba(0,0,0,.42) 0 2px, transparent 2px 58px), linear-gradient(180deg, #2c1c1a, #170e0e); }
.w-concrete { background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 180px), linear-gradient(180deg, #1c1d23, #111216); }
.w-wood { background: repeating-linear-gradient(90deg, #1f150e 0 20px, #110b07 20px 22px); }
.w-violet { background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(167,123,255,.22), transparent 70%), linear-gradient(180deg, #150f25, #0a0913); }
.w-blush { background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 28px, transparent 28px 56px), linear-gradient(180deg, #241b1d, #130f11); }
.w-dark { background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.045), transparent 70%), #0c0c11; }

/* ---------- Cards ---------- */
.cd {
  position: relative; display: block; border-radius: 18px; overflow: hidden; color: inherit;
  background: var(--surface-2); border: 1px solid rgba(255,255,255,.07);
  transition: transform .55s var(--ease), border-color .55s, box-shadow .55s;
}
.cd:hover { color: inherit; transform: translateY(-6px); border-color: rgba(55,230,255,.38); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 50px rgba(55,230,255,.12); }
.cd .sc { transition: transform 1.3s var(--ease), filter .6s; }
.cd:hover .sc { transform: scale(1.05); filter: brightness(1.3) saturate(1.1); }
.cd .ar { opacity: 0; transform: translateX(-10px); transition: .45s var(--ease); }
.cd:hover .ar, .cd:focus-visible .ar { opacity: 1; transform: none; }
.cd .rt { opacity: 0; transform: translateY(12px); transition: .5s var(--ease); }
.cd:hover .rt, .cd:focus-visible .rt { opacity: 1; transform: none; }

.card { padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid rgba(255,255,255,.07); }

.pill {
  min-height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent;
  color: var(--text-3); font: 600 14px var(--f-body); cursor: pointer; transition: .3s; flex-shrink: 0;
}
.pill:hover { color: #fff; border-color: rgba(255,61,166,.6); }
.pill.on, .pill[aria-selected="true"] { color: #fff; border-color: var(--magenta); background: rgba(255,61,166,.12); box-shadow: 0 0 22px rgba(255,61,166,.28); }

.track { scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }

/* sample sign tile (portfolio/services) */
.sign-tile { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.spill { position: absolute; inset: 0; }

/* process steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps__line { position: absolute; left: 0; right: 0; top: 46px; height: 4px; width: 100%; overflow: visible; }
.dash { stroke-dasharray: 6 10; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.step { position: relative; display: flex; flex-direction: column; gap: 16px; }
.step__num {
  width: 94px; height: 94px; border-radius: 22px; background: #0F0F17; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(55,230,255,.5); box-shadow: 0 0 30px rgba(55,230,255,.2); font-size: 40px;
}
.step__num--p { border-color: rgba(255,61,166,.6); box-shadow: 0 0 30px rgba(255,61,166,.25); }
.step h3 { margin-top: 14px; font-size: 44px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 340px; }

/* ---------- Footer ---------- */
.footer { padding: 80px var(--gutter) 36px; border-top: 1px solid var(--line); background: var(--night-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.footer__col--text { color: var(--text-3); font-size: 15px; }
.footer__col--text a { color: var(--text-3); }
.footer__col--text a:hover { color: #fff; }
.footer__big {
  margin-top: 70px; font-size: clamp(64px, 14.7vw, 212px); line-height: .8; font-weight: 900; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.1); white-space: nowrap; overflow: hidden;
}
.footer__bottom {
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px;
}
.footer__bottom .lk { font-size: 13px; }

/* floating WhatsApp (mobile everywhere; customizer shows it on all sizes) */
.fab-wa {
  position: fixed; right: 16px; bottom: 18px; z-index: 70; width: 58px; height: 58px; border-radius: 18px; border: 0; cursor: pointer;
  background: var(--wa); color: #052E16; display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 24px rgba(37,211,102,.45); transition: transform .3s;
}
.fab-wa:hover { color: #052E16; transform: scale(1.08); }
.fab-wa--always { display: flex; right: 30px; bottom: 30px; }

/* ---------- Image popup (preserved "Why Choose Us" lightbox) ---------- */
.image-popup { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.image-popup.active { display: flex; }
.image-popup__overlay { position: absolute; inset: 0; background: rgba(5,5,9,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.image-popup__content { position: relative; z-index: 2; max-width: 900px; width: 100%; }
.image-popup__img { width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.image-popup__close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 12px; font-size: 26px; line-height: 1;
  border: 1px solid rgba(255,255,255,.2); background: rgba(9,9,14,.8); color: #fff; cursor: pointer;
}
.image-popup__close:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Light trail (desktop pointer only) ---------- */
.trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; opacity: 0; overflow: visible; }
.trail-light {
  position: fixed; left: 0; top: 0; width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(55,230,255,.07), transparent 65%); pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s;
}
.rip {
  position: fixed; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; pointer-events: none; z-index: 90;
  border: 1.5px solid var(--cyan); box-shadow: 0 0 18px var(--cyan); animation: rip .4s ease-out forwards;
}
@keyframes rip { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- Motion ---------- */
.ld { animation: rise 1.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.pwr { animation: pwr 2.4s .5s both; }
@keyframes pwr { 0% { opacity: .06; } 7% { opacity: 1; } 9% { opacity: .12; } 13% { opacity: .95; } 16% { opacity: .3; } 22%, 100% { opacity: 1; } }
.hum { animation: hum 5s ease-in-out infinite; }
@keyframes hum { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }
.float { animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); opacity: .2; } 50% { transform: translateY(-26px); opacity: .8; } }
.js-anim .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-anim .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1439px) {
  :root { --gutter: 40px; }
  .nav__links { gap: 28px; }
}
@media (max-width: 1100px) {
  .nav__links, .nav__actions .ib--call, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .section { padding-top: 100px; padding-bottom: 90px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps__line { display: none; }
  .step { display: grid; grid-template-columns: 74px 1fr; column-gap: 20px; row-gap: 4px; align-items: start; }
  .step__num { width: 74px; height: 74px; font-size: 30px; border-radius: 18px; grid-row: span 2; }
  .step h3 { margin-top: 6px; font-size: 34px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .nav { height: 68px; }
  .nav--overlay { margin-bottom: -68px; }
  .nav:not(.scrolled):not(.nav--solid) { background: linear-gradient(180deg, rgba(9,9,14,.85), rgba(9,9,14,0)); }
  .brand__logo { height: 50px; }
  .brand__logo--lg { height: 76px; }
  .section { padding-top: 80px; padding-bottom: 60px; }
  .section-head { gap: 20px; }
  .section-head .m + .d { margin-top: 14px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .fab-wa { display: flex; }
  .fab-wa--always { right: 16px; bottom: 18px; }
  .footer { padding: 36px var(--gutter) 110px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__big { display: none; }
  .mobile-menu__link { font-size: 46px; }
}
