/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:         #0D1B2A;
  --dark-2:       #152030;
  --bg:           #FFFFFF;
  --bg-alt:       #F6F8FC;
  --text:         #0D1B2A;
  --text-sec:     #4A5568;
  --text-muted:   #94A3B8;
  --accent:       #1A52E0;
  --accent-dark:  #1240C0;
  --accent-light: #EEF3FF;
  --accent-rgb:   26, 82, 224;
  --border:       #E2E8F0;
  --border-2:     #CBD5E1;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: var(--font);
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.12);
  --nav-h:        68px;
  --py:           100px;
  --max:          1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 0.9rem;
  border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.2s ease; padding: 11px 22px;
  text-decoration: none; white-space: nowrap; letter-spacing: -0.01em;
}
.btn--primary   { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(var(--accent-rgb),.35); }
.btn--white     { background: #fff; color: var(--dark); }
.btn--white:hover { background: #f0f4ff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.btn--outline-white { background: transparent; color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.25); }
.btn--outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn--lg { padding: 14px 28px; font-size: 0.95rem; border-radius: 10px; }
.btn--full { width: 100%; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 8px; }
.nav__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-right: auto; }

/* ── Inline SVG logo ─────────────────────── */
.logo-svg { height: 38px; width: auto; display: block; overflow: visible; }
.logo-svg--footer { height: 44px; }

.ls-brand {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  fill: #fff;
  transition: fill 0.35s;
}
.ls-rule {
  stroke: rgba(255,255,255,0.14);
  stroke-width: 0.7;
  transition: stroke 0.35s;
}
.ls-corp {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.55);
  transition: fill 0.35s;
}

/* scrolled: dark nav bg */
.nav.scrolled .ls-brand { fill: var(--dark); }
.nav.scrolled .ls-rule  { stroke: var(--border-2); }
.nav.scrolled .ls-corp  { fill: var(--accent); }

/* footer: always white */
.logo-svg--footer .ls-brand { fill: rgba(255,255,255,0.9); }
.logo-svg--footer .ls-rule  { stroke: rgba(255,255,255,0.12); }
.logo-svg--footer .ls-corp  { fill: rgba(255,255,255,0.35); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  text-decoration: none; color: rgba(255,255,255,.75); font-size: 0.875rem;
  font-weight: 500; padding: 6px 12px; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav.scrolled .nav__links a { color: var(--text-sec); }
.nav.scrolled .nav__links a:hover { color: var(--accent); background: var(--accent-light); }
.nav__cta { margin-left: 8px; }
/* hide primary cta in hero (dark bg) so white is implied — just keep it blue always */
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px; border-radius: 6px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8);
  border-radius: 2px; transition: all 0.25s;
}
.nav.scrolled .nav__hamburger span { background: var(--text); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 40px; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close {
  position: absolute; top: 20px; right: 20px; background: none; border: none;
  cursor: pointer; color: var(--text); padding: 8px; border-radius: 8px;
}
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-link {
  font-size: 1.6rem; font-weight: 700; color: var(--text); text-decoration: none;
  padding: 10px 24px; letter-spacing: -0.03em; border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}
.mobile-link:hover { color: var(--accent); background: var(--accent-light); }

/* LOGO TEXT (for footer) */
.logo-main { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1; }
.logo-sub  { font-size: 0.53rem; font-weight: 500; letter-spacing: 0.2em; line-height: 1; margin-top: 3px; }

/* SECTION COMMONS */
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--accent); flex-shrink: 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header .section-tag { justify-content: center; }
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-desc  { font-size: 1rem; color: var(--text-sec); line-height: 1.75; }

/* SCROLL ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ============================
   HERO
   ============================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
  background: var(--dark);
}

.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Transformer illustration */
.hero__illustration {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 560px;
  z-index: 1;
  pointer-events: none;
}
.hero__transformer-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.28;
  transition: opacity 0.6s ease;
}
.hero__transformer-img.fading { opacity: 0; }

/* Fade left edge so illustration doesn't bleed into text */
.hero__illustration::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--dark) 0%, transparent 30%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 2; padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 1fr;
}

.hero__content { max-width: 580px; }

.hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,.45); letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  flex-shrink: 0; animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.7); }
}

.hero__headline {
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 28px;
}

.hero__rule {
  width: 48px; height: 2px; background: var(--accent);
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: rgba(255,255,255,.55);
  max-width: 520px; line-height: 1.8; margin-bottom: 44px;
}

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.3); transition: color 0.2s;
  animation: bob 2.2s ease-in-out infinite;
}
.hero__scroll:hover { color: rgba(255,255,255,.7); }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================
   MARQUEE
   ============================ */
.marquee-strip {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  overflow: hidden;
  user-select: none;
}
.marquee { display: flex; overflow: hidden; }
.marquee__inner {
  display: inline-flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
}
.marquee__inner span {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  padding: 0 20px;
}
.marquee__inner .m-sep {
  color: var(--accent); padding: 0; opacity: 0.7;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee__inner { animation-play-state: paused; }

/* ============================
   PRODUCTS
   ============================ */
.products { background: var(--bg); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-card {
  background: var(--bg); padding: 36px 32px;
  position: relative; display: flex; flex-direction: column;
  transition: background 0.2s;
}
.product-card:hover { background: var(--bg-alt); }

.product-card__num {
  font-family: var(--font);
  font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.08em; margin-bottom: 20px;
}

.product-card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; color: var(--accent); margin-bottom: 20px;
}
.product-card__icon svg { width: 26px; height: 26px; }

.product-card__cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1.05rem; color: var(--text); margin-bottom: 12px; line-height: 1.3;
}

.product-card__desc {
  font-size: 0.875rem; color: var(--text-sec); line-height: 1.72;
  flex: 1; margin-bottom: 24px;
}

.product-card__footer {
  font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.02em;
  border-top: 1px solid var(--border); padding-top: 16px;
  line-height: 1.6;
}

/* CTA card */
.product-card--enquire {
  background: var(--dark); display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; gap: 0;
}
.product-card--enquire:hover { background: var(--dark-2); }

.enquire-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 12px;
}
.enquire-title {
  font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -0.03em;
  line-height: 1.12; margin-bottom: 14px;
}
.enquire-body {
  font-size: 0.875rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 28px;
}

/* ============================
   ABOUT STRIP
   ============================ */
.about-strip {
  background: var(--dark);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.about-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.about-strip__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.about-strip__big {
  display: flex; align-items: flex-start; gap: 4px;
  margin-bottom: 20px; line-height: 1;
}
.counter {
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  line-height: 1;
}
.counter-suffix {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.about-strip__sub {
  font-size: 1.05rem; color: rgba(255,255,255,.5); line-height: 1.7;
  max-width: 340px;
}

.about-strip__right {
  display: flex; flex-direction: column; gap: 0;
}
.about-fact {
  padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.about-fact:first-child { padding-top: 0; }
.about-fact:last-child  { border-bottom: none; padding-bottom: 0; }
.about-fact__line {
  width: 24px; height: 2px; background: var(--accent); margin-bottom: 12px;
}
.about-fact h4 { font-size: 0.95rem; color: #fff; margin-bottom: 6px; }
.about-fact p  { font-size: 0.875rem; color: rgba(255,255,255,.45); line-height: 1.7; }

/* ============================
   INDUSTRIES
   ============================ */
.industries { background: var(--bg-alt); }

.industries__list {
  border-top: 1px solid var(--border);
}
.industry-row {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: start; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.industry-row:hover { background: var(--bg); margin: 0 -24px; padding-left: 24px; padding-right: 24px; }

.industry-num {
  font-family: var(--font);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-muted); padding-top: 3px;
}
.industry-body h4 { font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.industry-body p  { font-size: 0.875rem; color: var(--text-sec); line-height: 1.65; }
.industry-tags    { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; padding-top: 4px; }
.industry-tags span {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  background: var(--accent-light); padding: 4px 10px; border-radius: 100px;
  white-space: nowrap; letter-spacing: 0.02em;
}

/* ============================
   CONTACT
   ============================ */
.contact { background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__left .section-tag { display: flex; }
.contact__left .section-title { margin-bottom: 16px; }
.contact__body { font-size: 0.95rem; color: var(--text-sec); line-height: 1.75; margin-bottom: 36px; }

.contact__details { display: flex; flex-direction: column; gap: 8px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); text-decoration: none; color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.contact-item:hover { border-color: var(--border-2); background: var(--bg-alt); }
.contact-item--wa {
  background: #F0FFF4; border-color: #86EFAC;
}
.contact-item--wa:hover { background: #DCFCE7; border-color: #4ADE80; }
.ci-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); }
.contact-item--wa .ci-icon { color: #16A34A; }
.ci-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact-item--wa .ci-label { color: #16A34A; }
.ci-value { font-size: 0.9rem; color: var(--text); font-weight: 500; margin-top: 1px; }

/* MAP EMBED */
.map-embed { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { display: block; }
.map-directions {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; background: var(--bg-alt);
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  text-decoration: none; border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.map-directions:hover { background: var(--accent-light); }

/* FORM */
.enquiry-form { display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.req { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font); font-size: 0.9rem; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--bg-alt); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1);
  background: var(--bg);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-color: var(--bg-alt);
  padding-right: 36px;
}

/* ============================
   FOOTER
   ============================ */
.footer { background: var(--dark); }
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; padding: 64px 0 48px;
}
.footer__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer__mark { width: 40px; height: 40px; flex-shrink: 0; }
.footer__tagline { font-size: 0.83rem; color: rgba(255,255,255,.35); line-height: 1.7; margin-bottom: 24px; }
.footer__wa {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: #4ADE80; text-decoration: none;
  padding: 8px 14px; border-radius: 6px; border: 1px solid rgba(74,222,128,.25);
  transition: background 0.15s;
}
.footer__wa:hover { background: rgba(74,222,128,.08); }
.footer__links { display: flex; gap: 56px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.footer__col a { font-size: 0.85rem; color: rgba(255,255,255,.35); text-decoration: none; transition: color 0.15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.77rem; color: rgba(255,255,255,.2); flex-wrap: wrap; gap: 8px; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  :root { --py: 80px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip__inner { gap: 56px; }
  .contact__inner { gap: 56px; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .about-strip__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }

  .industry-row { grid-template-columns: 40px 1fr; }
  .industry-tags { display: none; }

  .footer__inner { flex-direction: column; gap: 36px; padding: 48px 0 36px; }
  .footer__links { flex-wrap: wrap; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --py: 64px; }
  .hero__inner { padding: 60px 0 100px; }
  .hero__scroll { display: none; }
  .products__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .industry-row:hover { margin: 0; padding-left: 0; padding-right: 0; }
}
