/* ============================================================
   EnerTec — Energy Consultancy, Training & Engineering
   Corporate blue + orange theme
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --primary:        #0D2F71;   /* corporate blue */
  --primary-700:    #0b2662;
  --primary-900:    #071840;   /* deep navy */
  --accent:         #f5a623;   /* orange */
  --accent-600:     #e1911a;

  --ink:            #15294d;    /* navy heading ink */
  --body:           #4a5568;
  --muted:          #8693a8;

  --bg:             #ffffff;
  --bg-2:           #eef3fa;
  --surface:        #ffffff;
  --line:           #e1e7f0;

  --radius:   16px;
  --radius-sm:11px;
  --radius-lg:22px;

  --shadow-sm: 0 1px 2px rgba(7,24,64,.05), 0 2px 8px rgba(7,24,64,.05);
  --shadow-md: 0 12px 30px rgba(7,24,64,.10);
  --shadow-lg: 0 30px 70px rgba(7,24,64,.16);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --ease: cubic-bezier(.4, .14, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 8vw, 110px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px;
}

.section-title {
  font-size: clamp(27px, 3.6vw, 42px);
  margin-top: 16px;
  max-width: 20ch;
  text-wrap: balance;
}
.section-title--center { margin-inline: auto; text-align: center; }
.lede { font-size: clamp(15.5px, 1.2vw, 18px); color: var(--body); max-width: 56ch; margin-top: 16px; }
.lede--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn { position: relative; overflow: hidden; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(245,166,35,.34); }
.btn--primary:hover { background: var(--accent-600); box-shadow: 0 14px 28px rgba(245,166,35,.45); }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--primary-700); box-shadow: var(--shadow-md); }
.btn-ripple {
  position: absolute; border-radius: 50%;
  width: 8px; height: 8px; pointer-events: none;
  background: rgba(255,255,255,.38);
  transform: translate(-50%, -50%) scale(0);
}
.btn--ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn--light:hover { background: #fff; color: var(--primary); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--primary);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  background-color: var(--bg-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(13,47,113,.07) 0 10px, transparent 10px 22px);
  border: 1px dashed rgba(13,47,113,.22);
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
}
.ph[data-label]::after {
  content: attr(data-label);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); opacity: .6;
  background: rgba(255,255,255,.78);
  padding: 6px 12px; border-radius: 999px;
  text-align: center; max-width: 82%;
}
.ph--dark {
  background-color: var(--primary-700);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 10px, transparent 10px 22px);
  border-color: rgba(255,255,255,.2);
}
.ph--dark[data-label]::after { color: #d6e4f7; background: rgba(255,255,255,.1); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--primary-900); color: #c4d6f0;
  font-size: 13.5px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar a { color: #c4d6f0; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact svg { width: 14px; height: 14px; opacity: .8; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { display: grid; place-items: center; }
.topbar-social svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 44px; width: auto; display: block; object-fit: contain; }
.footer-logo { height: 50px; margin: 0 auto; }
.brand .ph-logo {
  width: 152px; height: 44px; border-radius: 8px; white-space: nowrap;
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(45deg, rgba(13,47,113,.08) 0 8px, transparent 8px 18px);
  border: 1px dashed rgba(13,47,113,.25);
  display: flex; align-items: center; justify-content: center; gap: 1px;
  font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: var(--primary);
}
.brand .ph-logo b { color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 10px 14px; border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-menu > li > a:hover { color: var(--primary); background: transparent; }
.nav-menu .caret { width: 13px; height: 13px; opacity: .6; transition: transform .3s cubic-bezier(0.34,1.4,0.64,1); }
.nav-menu .has-dd:hover .caret { transform: rotate(180deg); }

/* dropdowns */
.dd {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 230px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-dd:hover > .dd { opacity: 1; visibility: visible; transform: translateY(0); }
.dd li { position: relative; }
.dd a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14.5px; font-weight: 600; font-family: var(--font-head);
  color: var(--body); padding: 11px 13px; border-radius: 9px;
  transition: background .18s, color .18s;
}
.dd a:hover { background: var(--bg-2); color: var(--primary); }
.dd .sub-caret { width: 12px; height: 12px; opacity: .5; }
.dd--sub { top: -9px; left: calc(100% + 6px); min-width: 210px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  align-items: center; justify-content: center; background: var(--bg-2);
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO — 3D GSAP carousel
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(520px, 84vh, 820px);
  display: grid; place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* carousel */
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* gradient overlay (sits above carousel via DOM order) */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(7,24,64,.76) 0%,
    rgba(7,24,64,.58) 48%,
    rgba(7,24,64,.84) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(56px, 8vw, 96px);
  width: 100%;
}

/* text panels */
.hero-texts {
  position: relative;
  min-height: clamp(200px, 24vw, 300px);
}
.hero-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}
.hero-text.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
  color: #fff; background: rgba(245,166,35,.92);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  color: #fff; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.08;
  max-width: 20ch; margin-inline: auto; text-wrap: balance;
}
.hero h1 .hl { color: var(--accent); }
.hero p.sub {
  color: #d7e3f4; font-size: clamp(15px, 1.25vw, 18px);
  margin: 20px auto 0; max-width: 56ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 34px; justify-content: center;
}

/* carousel controls */
.hero-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 38px;
}
.hero-arr {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.1); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hero-arr:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.1); }
.hero-arr svg { width: 18px; height: 18px; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px; padding: 0;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: width .35s var(--ease), background .35s var(--ease);
}
.hero-dot.active { width: 28px; background: var(--accent); }

/* ============================================================
   PILLARS (vision / mission / objectives) — navy cards
   ============================================================ */
.pillars { position: relative; z-index: 2; margin-top: -54px; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  perspective: 1200px;
}
.pillar {
  background: var(--primary-900); color: #cfdcf0;
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-md);
  text-align: center;
  position: relative; overflow: hidden;
  will-change: transform;
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}

/* Shine sweep on hover */
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.pillar:hover::before {
  animation: pillarShine .7s ease forwards;
}
@keyframes pillarShine {
  to { left: 130%; }
}

/* Bottom accent glow line */
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s var(--ease);
  pointer-events: none;
}
.pillar:hover::after { transform: scaleX(1); }

.pillar:hover {
  border-color: rgba(245,166,35,.32);
  box-shadow:
    0 30px 72px rgba(7,24,64,.42),
    0 0 0 1px rgba(245,166,35,.16),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.pillar .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(245,166,35,.16); color: var(--accent); margin: 0 auto 18px;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.pillar .ic svg { width: 25px; height: 25px; }
.pillar:hover .ic {
  background: rgba(245,166,35,.28);
  box-shadow: 0 0 28px rgba(245,166,35,.52);
  transform: scale(1.12) rotate(-8deg);
}
.pillar h3 {
  font-size: 20px; margin-bottom: 10px; color: #fff;
  transition: color .35s var(--ease);
}
.pillar:hover h3 { color: var(--accent); }
.pillar p { font-size: 14.5px; color: #aebfda; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 14px; }
.stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 4vw, 50px); color: var(--primary); line-height: 1; }
.stat .n .plus { color: var(--accent); }
.stat .t { margin-top: 10px; font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.stat + .stat { border-left: 1px solid var(--line); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.about-media { position: relative; }
.about-media .ph-main { aspect-ratio: 5 / 5; border-radius: var(--radius-lg); }
.about-img-main { width: 100%; aspect-ratio: 5 / 5; border-radius: var(--radius-lg); object-fit: cover; object-position: center; display: block; }
.about-media .ph-sub {
  position: absolute; right: -22px; bottom: -28px; width: 46%; aspect-ratio: 4/3;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,.6);
}
.about-img-sub {
  position: absolute; right: -22px; bottom: -28px; width: 46%; aspect-ratio: 4/3;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  object-fit: cover; object-position: center; display: block;
  border: 3px solid rgba(255,255,255,.6);
}
.about-media .exp-chip {
  position: absolute; bottom: 22px; left: -22px;
  background: var(--primary); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-md); text-align: center;
}
.about-media .exp-chip .n { font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 1; }
.about-media .exp-chip .t { font-size: 12px; color: #c4d6f0; margin-top: 5px; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.feature {
  display: flex; gap: 13px; align-items: center;
  transition: transform .25s var(--ease);
}
.feature:hover { transform: translateX(4px); }
.feature .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(13,47,113,.1); color: var(--primary); }
.feature .ic svg { width: 19px; height: 19px; }
.feature h4 { font-size: 15px; color: var(--ink); }
.about-cta { margin-top: 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ============================================================
   SERVICES — solid blue background
   ============================================================ */
.services { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.services::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(50% 60% at 100% 0%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(7,24,64,.5), transparent 70%);
  pointer-events: none;
}
.services .wrap { position: relative; z-index: 1; }
.services-head { text-align: center; margin-bottom: 48px; }
.services .eyebrow { color: #fff; }
.services .eyebrow::before, .services .eyebrow::after { background: var(--accent); }
.services h2 { color: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; padding: 26px 24px 28px;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
  will-change: transform;
}

/* Abstract bento placement — 3-col grid, 3 rows */
/* Row 1: [Card1 wide] [Card2]          */
/* Row 2: [Card3] [Card4] [Card5]       */
/* Row 3: [Card6] [Card7 wide]          */
.svc:nth-child(1) { grid-column: span 2; }
.svc:nth-child(7) { grid-column: span 2; }

.svc:hover { box-shadow: var(--shadow-lg); border-color: rgba(245,166,35,.28); }

/* Image area — bleeds to card edges */
.svc-img-wrap {
  position: relative;
  margin: -26px -24px 20px -24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  will-change: transform;
}

/* Number badge overlaid on image */
.svc-num {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  color: #fff; background: var(--accent);
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Icon badge — overlaid bottom-left of the image */
.svc-ic {
  position: absolute; bottom: 14px; left: 14px;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.svc-ic svg { width: 22px; height: 22px; }
.svc:hover .svc-ic { background: var(--accent); color: #fff; }
.svc-body { display: flex; flex-direction: column; flex: 1; }
.svc-tag { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); }
.svc h3 { font-size: 17px; margin-top: 7px; line-height: 1.28; color: var(--ink); }
.svc-desc { font-size: 13.5px; color: var(--body); margin-top: 9px; line-height: 1.65; flex: 1; }
.svc .btn { margin-top: 18px; align-self: flex-start; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.why-points { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; }
.why-point .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-2); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; transition: background .25s, color .25s; }
.why-point:hover .ic { background: var(--primary); color: #fff; }
.why-point .ic svg { width: 22px; height: 22px; }
.why-point h4 { color: var(--ink); font-size: 16.5px; }
.why-point p { color: var(--body); font-size: 14px; margin-top: 6px; }
.why-visual { position: relative; }
.why-img-main {
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}
.why-img-sub {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 46%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-md);
}
.why-visual .ph-accent {
  position: absolute; left: -18px; top: -18px; right: 40%; bottom: 18%;
  z-index: -1; border-radius: var(--radius-lg); background: var(--accent);
  opacity: .14; border: none;
}

/* ============================================================
   PARTNERS — infinite marquee
   ============================================================ */
.partners {
  background: var(--bg-2);
  padding-block: clamp(40px, 5vw, 60px);
  overflow: hidden;
}
.partners-head { text-align: center; margin-bottom: 36px; }

/* Marquee track */
.marquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding-block: 8px;
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-right: clamp(40px, 5vw, 72px);
  flex-shrink: 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.marquee-item img {
  height: 54px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) opacity(.5);
  transition: filter .35s ease, transform .35s ease;
}
.marquee-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--surface); }
.testi-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
.testi-visual .ph { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.testi-card {
  position: relative;
  background: var(--bg-2); border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 46px);
}
.testi-track { position: relative; }
.testi-slide { display: none; }
.testi-slide.active { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.testi-stars { display: flex; gap: 4px; color: var(--accent); margin-bottom: 18px; }
.testi-stars svg { width: 19px; height: 19px; }
.testi-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 17px; }
.testi-role { font-size: 13.5px; color: var(--muted); margin-top: 2px; margin-bottom: 18px; }
.testi-headline { font-family: var(--font-head); font-size: clamp(18px, 1.9vw, 23px); color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.testi-quote { font-size: 15.5px; line-height: 1.7; color: var(--body); text-wrap: pretty; }
.testi-nav { display: flex; gap: 10px; margin-top: 28px; }
.testi-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--primary); background: var(--surface);
  transition: background .2s, color .2s, border-color .2s;
}
.testi-nav button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testi-nav svg { width: 18px; height: 18px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-2); }
.faq-head { text-align: center; margin-bottom: 44px; }
.faq-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: rgba(13,47,113,.45); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: background .25s, transform .25s; }
.faq-item.open .faq-q .pm { background: var(--accent); transform: rotate(180deg); }
.faq-q .pm svg { width: 15px; height: 15px; color: var(--primary); }
.faq-item.open .faq-q .pm svg { color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--body); font-size: 15px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--primary-900); color: #cfdcf0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(45% 60% at 100% 0%, rgba(13,47,113,.5), transparent 70%); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.contact .eyebrow { color: #fff; }
.contact h2 { color: #fff; }
.contact .lede { color: #aebfda; }
.contact-info { display: grid; gap: 16px; margin-top: 32px; }
.cinfo {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.cinfo .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(245,166,35,.18); color: var(--accent); display: grid; place-items: center; }
.cinfo .ic svg { width: 21px; height: 21px; }
.cinfo .k { font-size: 12.5px; color: #93a8cc; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.cinfo .v { color: #fff; font-weight: 600; font-family: var(--font-head); font-size: 15.5px; margin-top: 3px; }
.cinfo .v a { display: block; }

.contact-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.contact-card h3 { font-size: 22px; }
.contact-card p.note { color: var(--muted); font-size: 14px; margin-top: 6px; }
.form { margin-top: 22px; display: grid; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: 15px; display: grid; }
.field label { font-size: 13px; font-weight: 600; color: var(--body); font-family: var(--font-head); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-2); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa7bd; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(245,166,35,.16); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-content: center; width: 100%; margin-top: 4px; }
.form-status { font-size: 14px; font-weight: 600; color: var(--accent-600); min-height: 18px; }

/* ============================================================
   FOOTER — premium dark
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #071840 0%, #0d2f71 100%);
  color: rgba(255,255,255,.72);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245,166,35,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(13,47,113,.4) 0%, transparent 70%);
  pointer-events: none;
}
.footer-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ffcf6b 50%, var(--accent) 100%);
}
.footer .wrap { position: relative; }

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1.3fr;
  gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(56px, 7vw, 88px);
  align-items: start;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin: 0 0 14px 0;
}
.footer-tagline {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.52);
  max-width: 32ch;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center;
  color: rgba(255,255,255,.65);
  transition: background .22s, border-color .22s, color .22s, transform .22s;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

/* Columns */
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 11px;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.58);
  display: flex;
  align-items: center;
  gap: 0;
  transition: color .2s, padding-left .2s;
  padding-left: 0;
}
.footer-links a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-right: 0;
  opacity: 0;
  transition: opacity .2s, margin-right .2s, width .2s;
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { opacity: 1; margin-right: 8px; }

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.footer-citem {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.footer-citem svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}
.footer-citem div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13.5px;
  color: rgba(255,255,255,.58);
  line-height: 1.55;
}
.footer-citem a { color: rgba(255,255,255,.58); transition: color .2s; }
.footer-citem a:hover { color: var(--accent); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer-bottom-right { font-style: italic; }

/* ============================================================
   FLOATING SCROLL BUTTON
   ============================================================ */
.scroll-fab {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none; cursor: pointer;
  display: grid; place-items: center;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(245,166,35,.42), 0 2px 8px rgba(245,166,35,.28);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              background .2s, box-shadow .2s;
}
.scroll-fab.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-fab.visible:hover {
  background: var(--accent-600);
  box-shadow: 0 14px 32px rgba(245,166,35,.55);
  transform: translateY(-4px) scale(1.1);
}
.scroll-fab svg {
  width: 22px; height: 22px;
  transition: transform .45s var(--ease);
  will-change: transform;
}
/* Rotate arrow 180° when pointing up */
.scroll-fab.up svg { transform: rotate(180deg); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 96px; right: 32px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37,211,102,.42), 0 2px 8px rgba(37,211,102,.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              background .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-fab.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-fab:hover {
  background: #1aad52;
  box-shadow: 0 14px 32px rgba(37,211,102,.55);
  transform: translateY(-4px) scale(1.1);
}
.whatsapp-fab svg { width: 26px; height: 26px; }

/* ============================================================
   PREMIUM HOVER — shared helpers
   ============================================================ */

/* Pillar: cursor-tracking spotlight (element injected via JS) */
.pillar-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .4s;
  background: radial-gradient(200px circle at var(--gx, 50%) var(--gy, 50%), rgba(245,166,35,.16), transparent 68%);
}
.pillar:hover .pillar-glow { opacity: 1; }

/* Nav: gradient pill + center-expanding underline */
.nav-menu > li > a:not(.btn) { position: relative; }

/* Accent underline grows from center */
.nav-menu > li > a:not(.btn)::after {
  content: ''; position: absolute;
  bottom: 5px; left: 50%; right: 50%;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: left .3s cubic-bezier(0.34,1.5,0.64,1),
              right .3s cubic-bezier(0.34,1.5,0.64,1);
  pointer-events: none;
}
.nav-menu > li > a:not(.btn):hover::after { left: 13px; right: 13px; }

/* Svc-ic: spring scale via GSAP — remove CSS transform so they don't fight */
.svc-ic { transition: background .3s var(--ease), color .3s var(--ease); }

/* Why-point: lift accent border on hover */
.why-point {
  border-radius: var(--radius-sm);
  transition: box-shadow .3s;
  padding: 12px; margin: -12px;
}
.why-point:hover { box-shadow: 0 0 0 1.5px rgba(13,47,113,.18), 0 10px 30px rgba(13,47,113,.1); }

/* ============================================================
   Word-split text animation helpers
   ============================================================ */
.ww {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}
.wi { display: inline-block; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.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; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ============================================================
   Mobile menu panel
   ============================================================ */
.mobile-panel {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); z-index: 80;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; padding: 24px; overflow-y: auto;
}
body.menu-open .mobile-panel { transform: none; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(7,24,64,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 70; }
body.menu-open .mobile-overlay { opacity: 1; visibility: visible; }
.mobile-panel .mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-panel .brand-logo { height: 38px; }
.mobile-panel .mp-close { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-2); display: grid; place-items: center; }
.mobile-panel .mp-close svg { width: 18px; height: 18px; }
.mobile-nav { display: grid; gap: 2px; margin-top: 8px; }
.mobile-nav > li > a, .mobile-nav .m-sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 12px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); border-radius: 10px; }
.mobile-nav > li > a:hover, .mobile-nav .m-sub-toggle:hover { background: var(--bg-2); }
.mobile-nav .m-sub { display: none; padding-left: 12px; }
.mobile-nav .m-sub.open { display: grid; }
.mobile-nav .m-sub a { padding: 11px 12px; font-size: 14.5px; color: var(--body); border-radius: 9px; font-family: var(--font-head); font-weight: 600; }
.mobile-nav .m-sub a:hover { background: var(--bg-2); color: var(--primary); }
.mobile-nav .m-sub-toggle .caret { width: 15px; height: 15px; transition: transform .25s; }
.mobile-nav .m-sub-toggle.open .caret { transform: rotate(180deg); }
.mobile-panel .btn { margin-top: 22px; justify-content: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid, .why-grid, .testi-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(1),
  .svc:nth-child(7) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 720px) {
  .topbar-contact .tb-email { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars { margin-top: -40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat:nth-child(odd) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .svc:nth-child(1),
  .svc:nth-child(7) { grid-column: 1; }
  .why-points { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
  .about-media .ph-sub { display: none; }
  .about-img-sub { display: none; }
  .why-img-sub { display: none; }
}
@media (max-width: 480px) {
  .topbar-contact { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .footer-brand { align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
