/*--------------------------------------------------------------
  PartnerEV.id — Premium Corporate Design System
  Deep Navy #0B2341 · Electric Green #5FD12B · Light Gray #F5F7FA
--------------------------------------------------------------*/

:root {
  /* Brand palette */
  --navy:        #0B2341;
  --navy-800:    #0E2C52;
  --navy-700:    #133763;
  --navy-600:    #1B4478;
  --green:       #5FD12B;
  --green-600:   #4CB61F;
  --green-glow:  rgba(95, 209, 43, 0.35);
  --blue:        #1F8FFF;
  --blue-deep:   #0E5ED6;
  --white:       #FFFFFF;
  --gray-bg:     #F5F7FA;
  --gray-100:    #EDF1F6;
  --gray-300:    #D5DDE7;
  --ink:         #0B2341;
  --ink-soft:    #44566E;
  --ink-mute:    #7C8BA0;

  /* Gradients */
  --grad-green:  linear-gradient(120deg, #5FD12B 0%, #35C77C 55%, #1F8FFF 130%);
  --grad-cta:    linear-gradient(120deg, #0B2341 0%, #0E5ED6 100%);
  --grad-hero:   linear-gradient(180deg, rgba(11,35,65,.55) 0%, rgba(11,35,65,.35) 45%, rgba(11,35,65,.92) 100%);

  /* Type */
  --font-head: "Plus Jakarta Sans", "Manrope", "Inter", system-ui, sans-serif;
  --font-ui:   "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Shape & motion */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 35, 65, .06);
  --shadow-md: 0 14px 40px -12px rgba(11, 35, 65, .16);
  --shadow-lg: 0 30px 70px -20px rgba(11, 35, 65, .28);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --dur: .45s;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* Dark-mode ready scaffold */
[data-theme="dark"] {
  --white:   #0B2341;
  --gray-bg: #0E2C52;
  --gray-100:#133763;
  --ink:     #F5F7FA;
  --ink-soft:#B9C6D6;
  --ink-mute:#8FA0B5;
}

/*----------------------------------------------
  Reset & base
----------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p  { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: var(--navy);
  padding: .7rem 1.2rem; z-index: 999; font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  position: absolute !important;
  clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden;
}

/*----------------------------------------------
  Layout helpers
----------------------------------------------*/
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #B9C6D6; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-ui);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--grad-green); border-radius: 2px;
}
.section--navy .eyebrow { color: var(--green); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-mute); }

/*----------------------------------------------
  Buttons
----------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-ui); font-weight: 700; font-size: .98rem;
  padding: .95rem 1.9rem; border-radius: var(--radius-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--green); color: var(--navy);
  box-shadow: 0 10px 30px -10px var(--green-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px var(--green-glow);
  background: #6EE13A;
}
.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--line {
  color: var(--navy); border: 2px solid var(--gray-300);
}
.btn--line:hover { border-color: var(--green); color: var(--green-600); transform: translateY(-2px); }

/*----------------------------------------------
  Header / navigation
----------------------------------------------*/
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              padding var(--dur) var(--ease);
  padding-block: 1.1rem;
}
body.has-solid-header .site-header,
.site-header.is-scrolled {
  background: rgba(11, 35, 65, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5);
  padding-block: .6rem;
}
.header-inner { display: flex; align-items: center; gap: 2.5rem; }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  color: #fff; letter-spacing: -.02em;
}
.brand .brand-mark { width: 38px; height: 38px; flex: none; }
.brand .accent { color: var(--green); }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.primary-nav > ul { display: flex; gap: .25rem; }
.primary-nav > ul > li { position: relative; }
.primary-nav a.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-ui); font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  padding: .65rem .95rem; border-radius: 8px;
  transition: color .25s, background .25s;
}
.primary-nav a.nav-link:hover,
.primary-nav li.is-open > a.nav-link { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-caret { width: 14px; height: 14px; opacity: .7; transition: transform .3s var(--ease); }
li.is-open .nav-caret { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 12px);
  width: min(880px, 92vw);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.8rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem 1.6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mega-col { display: flex; flex-direction: column; gap: .1rem; }
.mega::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
li.is-open > .mega, .primary-nav li:focus-within > .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-group-title {
  font-family: var(--font-ui); font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-mute);
  padding: .4rem .6rem .6rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: .4rem;
}
.mega a {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .7rem .6rem; border-radius: 10px;
  transition: background .25s;
}
.mega a:hover { background: var(--gray-bg); }
.mega .mi { display: block; width: 38px; height: 38px; flex: none; color: var(--navy); }
.mega .mi svg { width: 100%; height: 100%; }
.mega b {
  display: block; font-family: var(--font-ui); font-size: .92rem;
  color: var(--ink); font-weight: 700;
}
.mega span.d { font-size: .8rem; color: var(--ink-mute); line-height: 1.4; }

.header-cta { margin-left: .75rem; }
.header-cta .btn { padding: .7rem 1.4rem; font-size: .9rem; }

/* Mobile nav */
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 10px;
  color: #fff; background: rgba(255, 255, 255, .1);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open  { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 90;
    margin: 0; padding: 6rem var(--gutter) 3rem;
    background: var(--navy);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    display: block;
  }
  .nav-open .primary-nav { transform: translateX(0); }
  .primary-nav > ul { flex-direction: column; gap: 0; }
  .primary-nav a.nav-link {
    width: 100%; justify-content: space-between;
    font-size: 1.15rem; padding: 1rem .4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
  }
  .mega {
    position: static; transform: none; width: 100%;
    opacity: 1; visibility: hidden; pointer-events: auto;
    box-shadow: none; background: transparent;
    grid-template-columns: 1fr;
    padding: 0 0 0 .5rem; max-height: 0; overflow: hidden;
    transition: max-height .45s var(--ease);
    display: block; visibility: visible;
  }
  li.is-open > .mega { max-height: 1200px; padding-block: .5rem 1rem; }
  .mega-group-title { color: var(--green); border-color: rgba(255,255,255,.1); }
  .mega a:hover { background: rgba(255, 255, 255, .06); }
  .mega b { color: #fff; }
  .mega span.d { color: rgba(255, 255, 255, .55); }
  .mega .mi { color: var(--green); }
}

/*----------------------------------------------
  1 · Hero
----------------------------------------------*/
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg svg {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 22s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--grad-hero);
}
.hero-content {
  position: relative; z-index: 2;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(3.5rem, 8vh, 6rem);
  max-width: 880px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-ui); font-size: .82rem; font-weight: 600;
  letter-spacing: .08em;
  color: #DCE8F5;
  padding: .5rem 1.1rem; border-radius: 100px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--green-glow); }
  70%  { box-shadow: 0 0 0 12px rgba(95, 209, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 209, 43, 0); }
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .grad {
  background: var(--grad-green);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .sub {
  font-family: var(--font-ui);
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  color: #C6D4E4; max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero .sub strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }

/* Hero stats — glassmorphism strip */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-stat {
  background: rgba(11, 35, 65, .35);
  padding: 1.3rem 1.5rem;
}
.hero-stat .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff;
  display: flex; align-items: baseline; gap: .1em;
}
.hero-stat .num .suffix { color: var(--green); font-size: .72em; }
.hero-stat .label {
  font-family: var(--font-ui); font-size: .82rem;
  color: #A9BAD0; margin-top: .15rem;
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, .4);
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--green);
  transform: translateX(-50%);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}
@media (max-width: 760px) { .scroll-hint { display: none; } }

/*----------------------------------------------
  2 · Ecosystem grid
----------------------------------------------*/
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 1024px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .eco-grid { grid-template-columns: 1fr; } }

.eco-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.8rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  overflow: hidden;
}
.eco-card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: var(--grad-green);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.eco-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.eco-card:hover::before { transform: scaleX(1); }
.eco-icon {
  display: block;
  width: 56px; height: 56px; margin-bottom: 1.3rem;
  color: var(--navy);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.eco-icon svg { width: 100%; height: 100%; }
.eco-card:hover .eco-icon { transform: translateY(-4px) scale(1.06); color: var(--green-600); }
.eco-card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.eco-card p { font-size: .9rem; color: var(--ink-mute); margin: 0; }
.eco-card .card-link {
  position: absolute; inset: 0;
}

/*----------------------------------------------
  3 · Industries
----------------------------------------------*/
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 1024px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ind-grid { grid-template-columns: 1fr; } }

.ind-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3.1;
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.ind-card .ph { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.ind-card:hover .ph { transform: scale(1.07); }
.ind-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,35,65,.05) 30%, rgba(11,35,65,.85) 100%);
  transition: background var(--dur) var(--ease);
}
.ind-card .meta { padding: 1.2rem 1.3rem; width: 100%; }
.ind-card h3 { color: #fff; font-size: 1.05rem; margin: 0; }
.ind-card .sol {
  display: block; font-family: var(--font-ui); font-size: .78rem;
  color: var(--green);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), margin var(--dur) var(--ease);
}
.ind-card:hover .sol { max-height: 3em; opacity: 1; margin-top: .35rem; }

/*----------------------------------------------
  4 · Why PartnerEV — 50/50 split
----------------------------------------------*/
.why-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

.why-sticky { position: sticky; top: 110px; }
@media (max-width: 900px) { .why-sticky { position: static; } }
.why-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
  aspect-ratio: 4 / 3;
  position: relative;
}
.why-photo .ph { position: absolute; inset: 0; }
.why-photo .tag {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  font-family: var(--font-ui); font-size: .82rem; font-weight: 600; color: #fff;
  background: rgba(11, 35, 65, .55);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .55rem 1rem; border-radius: 100px;
}

.why-list { display: grid; gap: .9rem; }
.why-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.why-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(95, 209, 43, .45);
}
.why-check {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(95, 209, 43, .12);
  color: var(--green-600);
}
.why-check svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.02rem; margin: .15rem 0 .2rem; }
.why-item p { font-size: .88rem; color: var(--ink-mute); margin: 0; }

/* Counters row */
.counters {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--gray-100);
}
@media (max-width: 760px) { .counters { grid-template-columns: repeat(2, 1fr); } }
.counter .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--navy);
  display: flex; align-items: baseline;
}
.counter .num .suffix { color: var(--green-600); font-size: .65em; margin-left: .08em; }
.counter .label { font-family: var(--font-ui); font-size: .88rem; color: var(--ink-mute); }

/*----------------------------------------------
  5 · Featured products
----------------------------------------------*/
.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 1024px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.prod-media {
  position: relative; aspect-ratio: 16 / 10.5;
  background: var(--gray-bg);
  overflow: hidden;
}
.prod-media .ph { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.prod-card:hover .prod-media .ph { transform: scale(1.06); }
.prod-cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: .4rem .8rem; border-radius: 100px;
}
.prod-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.prod-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem;
  margin-bottom: 1.2rem;
}
.prod-specs li {
  font-family: var(--font-ui); font-size: .82rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: .45rem;
}
.prod-specs li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px;
  background: var(--green); transform: rotate(45deg);
}
.prod-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui); font-weight: 700; font-size: .92rem;
  color: var(--navy);
}
.prod-link svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.prod-link:hover { color: var(--green-600); }
.prod-link:hover svg { transform: translateX(4px); }

/*----------------------------------------------
  6 · Smart Energy Ecosystem (dark, animated flow)
----------------------------------------------*/
.energy-flow { position: relative; }
.energy-canvas {
  background: var(--navy-800);
  background-image:
    radial-gradient(ellipse 60% 50% at 70% 10%, rgba(31, 143, 255, .12), transparent),
    radial-gradient(ellipse 50% 45% at 20% 90%, rgba(95, 209, 43, .1), transparent);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.flow-svg { width: 100%; height: auto; }
.flow-svg .wire {
  fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2;
}
.flow-svg .pulse {
  fill: none; stroke: url(#flowGrad); stroke-width: 2.5;
  stroke-dasharray: 60 940;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px var(--green-glow));
}
.in-view .flow-svg .pulse { animation: flowDash 4.5s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: 0; } }
.flow-svg .node-box {
  fill: rgba(255, 255, 255, .05);
  stroke: rgba(255, 255, 255, .16);
  rx: 14;
}
.flow-svg .node-label {
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 700;
  fill: #fff; text-anchor: middle;
}
.flow-svg .node-sub {
  font-family: var(--font-ui); font-size: 10.5px;
  fill: #8FA0B5; text-anchor: middle;
}
.flow-svg .node-icon { color: var(--green); }

.flow-legend {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  margin-top: 1.8rem; justify-content: center;
}
.flow-legend li {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-ui); font-size: .85rem; color: #B9C6D6;
}
.flow-legend .swatch { width: 22px; height: 4px; border-radius: 4px; }

/*----------------------------------------------
  7 · Process timeline
----------------------------------------------*/
.process { position: relative; }
.process-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2.6rem 1.6rem;
  counter-reset: step;
}
@media (max-width: 1024px) { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process-track { grid-template-columns: 1fr; } }

.process-line {
  position: absolute; top: 27px; left: 3%; right: 3%; height: 2px;
  background: var(--gray-300); z-index: 0;
}
.process-line .fill {
  display: block; height: 100%; width: 0;
  background: var(--grad-green);
  transition: width 1.6s var(--ease);
}
.in-view .process-line .fill { width: 100%; }
@media (max-width: 1024px) { .process-line { display: none; } }

.step { position: relative; z-index: 1; }
.step .step-dot {
  counter-increment: step;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  margin-bottom: 1.1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.step .step-dot::before { content: "0" counter(step); }
.step:nth-child(n+10) .step-dot::before { content: counter(step); }
.step:hover .step-dot {
  border-color: var(--green);
  box-shadow: 0 0 0 6px rgba(95, 209, 43, .15);
  background: var(--green); color: var(--navy);
}
.step h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.step p { font-size: .86rem; color: var(--ink-mute); margin: 0; }

/*----------------------------------------------
  8 · Project gallery (masonry)
----------------------------------------------*/
.gallery {
  columns: 3; column-gap: 1.2rem;
}
@media (max-width: 1024px) { .gallery { columns: 2; } }
@media (max-width: 620px)  { .gallery { columns: 1; } }

.g-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  margin: 0 0 1.2rem;
  break-inside: avoid;
  isolation: isolate;
}
.g-item .ph { height: auto; transition: transform .9s var(--ease); }
.g-item:hover .ph { transform: scale(1.06); }
.g-cap {
  position: absolute; inset: auto .8rem .8rem;
  background: rgba(11, 35, 65, .5);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  transform: translateY(12px); opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.g-item:hover .g-cap, .g-item:focus-within .g-cap { transform: translateY(0); opacity: 1; }
.g-cap b { display: block; font-family: var(--font-ui); color: #fff; font-size: .95rem; }
.g-cap span { font-family: var(--font-ui); font-size: .78rem; color: var(--green); }
@media (hover: none) { .g-cap { transform: none; opacity: 1; } }

/*----------------------------------------------
  9 · Testimonials
----------------------------------------------*/
.logo-row {
  display: flex; flex-wrap: wrap; gap: 1rem 3rem;
  align-items: center; justify-content: center;
  margin-bottom: clamp(2.8rem, 5vw, 4rem);
  opacity: .55;
}
.logo-row .c-logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  color: var(--navy); letter-spacing: .01em;
  filter: grayscale(1);
  transition: opacity .3s;
}

.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 1024px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-quote-mark { width: 34px; height: 34px; color: var(--green); margin-bottom: 1.1rem; }
.testi-card blockquote {
  margin: 0 0 1.5rem; font-size: .98rem; color: var(--ink-soft);
  line-height: 1.7; flex: 1;
}
.testi-who { display: flex; align-items: center; gap: .9rem; border-top: 1px solid var(--gray-100); padding-top: 1.2rem; }
.testi-ava {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--grad-green);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
}
.testi-who b { display: block; font-family: var(--font-ui); font-size: .92rem; color: var(--ink); }
.testi-who span { font-family: var(--font-ui); font-size: .8rem; color: var(--ink-mute); }

/*----------------------------------------------
  10 · CTA band
----------------------------------------------*/
.cta-band {
  position: relative; overflow: hidden;
  background: var(--grad-cta);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.8rem, 5vw, 4.5rem);
  text-align: center; color: #fff;
  isolation: isolate;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
  filter: blur(70px);
}
.cta-band::before {
  width: 420px; height: 420px; right: -120px; top: -160px;
  background: rgba(95, 209, 43, .25);
}
.cta-band::after {
  width: 380px; height: 380px; left: -120px; bottom: -180px;
  background: rgba(31, 143, 255, .3);
}
.cta-band h2 { color: #fff; max-width: 620px; margin-inline: auto; }
.cta-band p { color: #C6D4E4; max-width: 520px; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/*----------------------------------------------
  Footer
----------------------------------------------*/
.site-footer {
  background: var(--navy);
  color: #A9BAD0;
  margin-top: clamp(4.5rem, 9vw, 7.5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 6vw, 5rem) 3rem;
}
@media (max-width: 1024px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .footer-top { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .92rem; max-width: 300px; margin-top: 1.1rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  color: #DCE8F5;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.footer-social a:hover { background: var(--green); color: var(--navy); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-col h4 {
  color: #fff; font-size: .92rem; font-family: var(--font-ui);
  text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-col li { margin-bottom: .65rem; }
.footer-col a {
  font-family: var(--font-ui); font-size: .92rem;
  transition: color .25s, padding-left .3s var(--ease);
}
.footer-col a:hover { color: var(--green); padding-left: 5px; }

.footer-contact li {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .9rem; margin-bottom: .9rem;
}
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: var(--green); }
.footer-contact a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-family: var(--font-ui); font-size: .82rem;
}
.footer-bottom ul { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: var(--green); }

/*----------------------------------------------
  Placeholder "photography" (replace with real images)
----------------------------------------------*/
.ph {
  display: block;
  width: 100%; height: 100%;
  background-color: var(--navy-700);
  background-size: cover; background-position: center;
  position: relative;
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(115deg, rgba(11,35,65,.35), rgba(14,94,214,.12) 55%, rgba(95,209,43,.14)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 90px);
}
.ph .ph-ico {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255, 255, 255, .28);
}
.ph .ph-ico svg { width: clamp(46px, 22%, 84px); height: auto; }
/* Tonal variants — swap for real WebP photography in production */
.ph--1 { background-image: linear-gradient(140deg, #10315C 0%, #0B2341 60%, #071729 100%); }
.ph--2 { background-image: linear-gradient(140deg, #0E2C52 0%, #14549A 100%); }
.ph--3 { background-image: linear-gradient(140deg, #123A6B 0%, #0B2341 70%); }
.ph--4 { background-image: linear-gradient(150deg, #0B2341 10%, #1B6FF0 160%); }
.ph--5 { background-image: linear-gradient(140deg, #0F3059 0%, #071B33 90%); }
.ph--6 { background-image: linear-gradient(160deg, #143E74 0%, #0B2341 80%); }

/*----------------------------------------------
  Scroll-reveal micro animations
----------------------------------------------*/
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--rd, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }

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

/*----------------------------------------------
  Inner pages / WP content
----------------------------------------------*/
.page-hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(31, 143, 255, .18), transparent),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(95, 209, 43, .12), transparent);
  color: #fff;
  padding: clamp(9rem, 18vh, 12rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 0; }
.page-hero .crumb {
  font-family: var(--font-ui); font-size: .85rem; color: #A9BAD0;
  margin-bottom: .9rem; display: block;
}
.page-hero .crumb a:hover { color: var(--green); }

.entry-content { max-width: 780px; margin-inline: auto; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  margin: 2rem 0; padding: 1.2rem 1.6rem;
  border-left: 4px solid var(--green);
  background: var(--gray-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--gray-100); overflow: hidden; position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.4rem 1.5rem 1.6rem; }
.post-card .date { font-family: var(--font-ui); font-size: .78rem; color: var(--ink-mute); }
.post-card h3 { font-size: 1.08rem; margin: .4rem 0 .5rem; }
.post-card h3 a:hover { color: var(--green-600); }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; font-family: var(--font-ui); }
.pagination .page-numbers {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--gray-300);
  font-weight: 600; color: var(--ink);
}
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--green); color: var(--green-600); }
