/* =====================================================================
   PITANGA WEALTH — DESIGN SYSTEM
   Tokens, base, typography, buttons, header, mega-menu, login, hero
   ===================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand palette */
  --deep-green: #083D2D;
  --brand-green: #178A45;
  --fresh-green: #32A852;
  --soft-sage: #EAF4EC;
  --ivory: #FAF9F5;
  --white: #FFFFFF;
  --text-dark: #181B19;
  --muted: #6D746F;
  --border: rgba(8, 61, 45, 0.10);
  --orange: #E8823A;

  --sage-hover: #F2F8F3;

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Radius */
  --r-card: 22px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 10px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(8,61,45,.05);
  --shadow-md: 0 12px 30px -12px rgba(8,61,45,.18);
  --shadow-lg: 0 30px 70px -25px rgba(8,61,45,.30);
  --shadow-float: 0 20px 50px -18px rgba(8,61,45,.22);

  /* Type */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', 'Lora', Georgia, serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- LOAD INTRO ---------- */
.site-intro { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: var(--ivory); overflow: hidden; transition: opacity .65s var(--ease), visibility .65s; }
.site-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-logo { position: relative; z-index: 1; width: min(330px, 62vw); height: auto; animation: intro-logo-in .8s var(--ease) both; }
.intro-round-logo { width: min(245px, 58vw); aspect-ratio: 1; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 18px 30px rgba(8,61,45,.15)); }
.intro-orbit { position: absolute; width: min(560px, 92vw); aspect-ratio: 1; border: 1px solid rgba(23,138,69,.18); border-radius: 50%; box-shadow: 0 0 0 34px rgba(23,138,69,.035), 0 0 0 86px rgba(23,138,69,.025); animation: intro-orbit-in 1.1s var(--ease) both; }
.intro-line { position: absolute; top: calc(50% + 140px); width: min(230px, 46vw); height: 2px; overflow: hidden; background: rgba(23,138,69,.14); }.intro-line i { display: block; width: 0; height: 100%; background: var(--brand-green); animation: intro-line-fill 1.25s .15s var(--ease) forwards; }
.intro-caption { position: absolute; top: calc(50% + 158px); color: var(--brand-green); font-size: 9px; font-weight: 700; letter-spacing: .2em; animation: intro-caption-in .6s .35s var(--ease) both; }.intro-caption b { color: var(--fresh-green); padding: 0 4px; }
@keyframes intro-logo-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes intro-orbit-in { from { opacity: 0; transform: scale(.72) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes intro-line-fill { to { width: 100%; } }
@keyframes intro-caption-in { from { opacity: 0; letter-spacing: .35em; } to { opacity: 1; letter-spacing: .2em; } }
@media (prefers-reduced-motion: reduce) { .site-intro { display: none; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--fresh-green); color: #fff; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-green);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--brand-green);
  opacity: .6;
}
.eyebrow.center::before { display: none; }

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

.h-display {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.section-heading {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; font-style: italic; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.65; max-width: 60ch; }
.muted { color: var(--muted); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { display: inline-flex; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  transition: all .3s var(--ease);
  white-space: nowrap;
  position: relative;
  border: 1.5px solid transparent;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--deep-green);
  color: #fff;
  border-color: var(--deep-green);
}
.btn-primary:hover {
  background: transparent;
  color: var(--deep-green);
  border-color: var(--deep-green);
}
.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}
.btn-ghost { padding-inline: 0; color: var(--brand-green); font-weight: 600; }
.btn-lg { padding: 17px 28px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand-green); font-weight: 600; font-size: 15px;
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--brand-green), var(--fresh-green));
  z-index: 2000;
  transition: width .1s linear;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 3000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--brand-green); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(23,138,69,.55);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.cursor-ring.hovering { width: 56px; height: 56px; background: rgba(23,138,69,.08); border-color: rgba(23,138,69,.8); }
@media (hover: none), (max-width: 1024px) { .cursor-dot, .cursor-ring { display: none; } }
@media (hover: hover) and (min-width: 1025px) { body, body * { cursor: none !important; } }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: all .35s var(--ease);
  padding-block: 10px;
}
.site-header.scrolled { padding-block: 10px; }
.header-inner {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 24px;
  border-radius: 16px;
  padding: 8px 8px 8px 20px;
  min-height: 76px;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
}
.site-header.scrolled .header-inner {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(8,61,45,0.07);
  box-shadow: var(--shadow-md);
}

/* Logo */
.header-title-logo { display: block; align-self: center; width: 290px; height: 68px; object-fit: contain; object-position: center; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; flex-shrink: 0; }
.logo-icon-4leaf { display: flex; align-items: center; }
.logo-icon-4leaf svg { width: 32px; height: 32px; fill: #008726; }
.logo-divider { width: 2px; height: 30px; background-color: #008726; border-radius: 2px; }
.logo-text-new { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text-new b { font-size: 17px; font-weight: 800; color: #000; letter-spacing: -0.02em; white-space: nowrap; }
.logo-text-new b span { color: #008726; }
.logo-text-new .tagline { font-size: 7.5px; letter-spacing: .22em; text-transform: uppercase; color: #000; font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 1px; }
.logo-text-new .tagline i { color: #008726; font-style: normal; font-size: 10px; line-height: 0; }

/* Center nav */
.main-nav { display: flex; align-items: center; gap: 0; margin-left: -20px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 11px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-dark);
  transition: color .25s var(--ease), background .25s var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav-link .chev { transition: transform .3s var(--ease); opacity: .55; }
.nav-item:hover > .nav-link, .nav-link:focus-visible { color: var(--brand-green); }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; background: var(--brand-green); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-item:hover > .nav-link::after { transform: scaleX(1); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.header-actions > .btn-primary { padding: 10px 12px; gap: 6px; font-size: 12.5px; letter-spacing: -.02em; }
.header-actions > .btn-primary .arrow svg { width: 14px; height: 14px; }
.btn-demat-mobile { display: none; }

/* ---------- MEGA MENU ---------- */
.mega, .login-panel {
  position: absolute; top: calc(100% + 14px);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 1100;
}
/* hover bridge */
.mega::before, .login-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav-item.open .mega,
.nav-item:focus-within .mega,
.login-wrap.open .login-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.mega {
  left: 50%; transform-origin: top center;
  margin-left: min(0px, 0px);
  width: min(960px, calc(100vw - 40px));
  left: 0; /* aligned under nav item, adjusted via JS if overflow */
}
.mega-inner {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 26px; display: grid; grid-template-columns: 1fr 1fr 320px; gap: 10px 28px;
}
.mega-col-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); padding: 6px 12px 10px;
}
.mega-item {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 12px; border-radius: 10px;
  transition: background .2s var(--ease);
}
.mega-item .mi-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--sage-hover); color: var(--brand-green);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.mega-item .mi-icon svg { width: 18px; height: 18px; }
.mega-item .mi-text b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text-dark); }
.mega-item .mi-text span { font-size: 12.5px; color: var(--muted); }
.mega-item .mi-arrow { margin-left: auto; opacity: 0; transform: translateX(-4px); transition: all .25s var(--ease); color: var(--brand-green); }
.mega-item:hover { background: var(--sage-hover); }
.mega-item:hover .mi-icon { transform: translateY(-2px) scale(1.05); background: #DCEEDF; }
.mega-item:hover .mi-arrow { opacity: 1; transform: translateX(0); }

.mega-feature {
  grid-row: 1 / span 6; grid-column: 3;
  background: linear-gradient(160deg, var(--deep-green), #0b5a3f);
  border-radius: 16px; padding: 26px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; min-height: 100%;
}
.mega-feature::before {
  content: ""; position: absolute; z-index: 0;
  inset: 0 0 auto; height: 60%;
  background: url("../images/services/financial-planning.webp") center 42% / cover no-repeat;
  opacity: .48; filter: saturate(.72) contrast(.96);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 56%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 56%, transparent 100%);
  transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.mega-feature::after {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(50,168,82,.5), transparent 55%);
  pointer-events: none;
}
.mega-feature > * { z-index: 2; }
.mega-feature .mf-tag { position: relative; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #9fe0b5; font-weight: 700; margin-bottom: 12px; }
.mega-feature h4 { position: relative; font-size: 22px; margin-bottom: 10px; line-height: 1.15; }
.mega-feature p { position: relative; font-size: 13.5px; color: rgba(255,255,255,.8); margin-bottom: 20px; }
.mega-feature .mf-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.mega-feature .mf-cta .arrow { transition: transform .3s var(--ease); }
.mega-feature:hover::before { opacity: .6; transform: scale(1.025); }
.mega-feature:hover .mf-cta .arrow { transform: translateX(4px); }

/* ---------- LOGIN MENU ---------- */
.login-wrap { position: relative; }
.login-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 13px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  border: 1.5px solid var(--border); transition: all .25s var(--ease);
}
.login-btn:hover { border-color: var(--brand-green); color: var(--brand-green); }
.login-btn .chev { transition: transform .3s var(--ease); opacity: .6; }
.login-wrap.open .login-btn .chev { transform: rotate(180deg); }

.login-panel { right: 0; width: 280px; }
.login-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 10px;
}
.login-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 11px; width: 100%; text-align: left;
  transition: background .2s var(--ease); position: relative;
}
.login-item .li-idx { font-size: 12px; font-weight: 700; color: var(--muted); width: 20px; }
.login-item .li-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--sage-hover); color: var(--brand-green); display: grid; place-items: center; flex-shrink: 0; }
.login-item .li-icon svg { width: 17px; height: 17px; }
.login-item .li-text { font-size: 14.5px; font-weight: 600; }
.login-item .li-chev { margin-left: auto; opacity: .5; transition: transform .25s var(--ease); }
.login-item:hover, .login-item.active {
  background: var(--sage-hover);
}
.login-item:hover .li-icon, .login-item.active .li-icon { background: #DCEEDF; }
.login-item:hover .li-chev { transform: translateX(3px); }

.login-sub {
  position: absolute; top: -1px; left: calc(100% + 10px); width: 280px;
  opacity: 0; visibility: hidden; transform: translateX(-8px);
  transition: all .2s var(--ease);
}
.login-sub::before { content:""; position:absolute; left:-12px; top:0; bottom:0; width:12px; }

.login-sub .login-sub {
  left: auto; right: calc(100% + 10px);
  transform: translateX(8px);
}
.login-sub .login-sub::before {
  left: auto; right: -12px;
}
.login-item.active > .login-sub,
.login-sub.open { opacity: 1; visibility: visible; transform: translateX(0); }
.login-sub .login-card { 
  padding: 8px; 
}
.login-sub .sub-title { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 8px 12px 6px; }
.login-sub .login-item { padding: 8px 12px; gap: 10px; border-radius: 8px; }
.login-sub .login-item .li-icon { width: 30px; height: 30px; border-radius: 7px; }
.login-sub .login-item .li-icon svg { width: 15px; height: 15px; }

/* nested emp submenu opens to the left if overflow handled by JS */
.login-item .li-note { font-size: 11px; color: var(--muted); font-weight: 500; display:block; margin-top:2px; }

@media (max-width: 1100px) {
  .main-nav, .header-actions > .btn-primary { display: none; }
  .header-actions .btn-demat-mobile { display: inline-flex; padding: 11px 15px; }
}
@media (max-width: 1100px) {
  .login-wrap {
    position: relative;
  }

  .login-panel {
    right: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 32px));
  }

  .login-card {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .login-item.has-sub {
    display: flex;
    flex-wrap: wrap;
  }

  .login-item.has-sub > .login-sub {
    position: static;
    width: 100%;
    padding-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .login-item.has-sub.active > .login-sub {
    display: block;
  }

  .login-sub .login-card {
    box-shadow: none;
    border: 0;
    padding: 4px 0 0 12px;
  }

  .login-sub .login-item {
    padding: 10px 12px;
  }

  .login-sub .login-sub {
    position: static;
    width: 100%;
    transform: none;
  }
}
@media (max-width: 420px) {
  .header-title-logo { width: 168px; }
  .logo-text span { display: none; }
  .header-actions .btn-demat-mobile { padding: 10px 12px; font-size: 13.5px; }
  .header-inner { padding-left: 14px; gap: 10px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(130px, 16vw, 180px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 78% 22%, rgba(50,168,82,.14), transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(8,61,45,.06), transparent 40%),
    var(--ivory);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(8,61,45,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,61,45,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 10%, transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(18px); }
.hero .hero-copy { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.hero-badge svg { width: 17px; height: 17px; color: var(--brand-green); flex-shrink: 0; }

/* Hero visual — ecosystem dashboard */
.hero-visual { position: relative; height: clamp(420px, 46vw, 560px); }
.eco-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 148px; height: 148px; border-radius: 50%;
  background: linear-gradient(150deg, var(--deep-green), var(--brand-green));
  display: grid; place-items: center; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 8px rgba(255,255,255,.08);
  z-index: 4;
}
.eco-hub b { font-size: 15px; letter-spacing: -.01em; line-height: 1.15; }
.eco-hub span { display: block; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #a8e2bd; margin-top: 6px; }
.eco-hub::after {
  content:""; position:absolute; inset:-14px; border-radius:50%;
  border: 1px dashed rgba(23,138,69,.35); animation: spin 32s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.eco-orbit-line { fill: none; stroke: rgba(23,138,69,.12); stroke-width: 1; stroke-dasharray: 2 9; transform-origin: 250px 250px; animation: spin-reverse 28s linear infinite; }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
.eco-line { stroke: rgba(23,138,69,.35); stroke-width: 1.4; fill: none; stroke-dasharray: 5 6; }
.eco-halo { position: absolute; border-radius: 50%; pointer-events: none; }
.eco-halo-a { width: 245px; height: 245px; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(23,138,69,.08); box-shadow: 0 0 70px rgba(50,168,82,.10); }
.eco-halo-b { width: 355px; height: 355px; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(23,138,69,.06); }

.eco-card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 15px;
  padding: 13px 15px; box-shadow: var(--shadow-float);
  display: flex; align-items: center; gap: 11px; min-width: 150px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: default;
  will-change: transform;
}
.eco-card .ec-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--sage-hover); color: var(--brand-green); display: grid; place-items: center; flex-shrink: 0; }
.eco-card .ec-icon svg { width: 17px; height: 17px; }
.eco-card b { font-size: 14px; display: block; }
.eco-card span { font-size: 11.5px; color: var(--muted); }
.eco-card .ec-desc { font-size: 11.5px; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: all .3s var(--ease); }
.eco-card:hover { transform: translateY(-4px) scale(1.04) !important; box-shadow: var(--shadow-lg); z-index: 6; }
.eco-card:hover .ec-desc { max-height: 40px; opacity: 1; margin-top: 3px; }

.eco-card.pos-1 { top: 8%; left: 2%; }
.eco-card.pos-2 { top: 8%; right: 2%; }
.eco-card.pos-3 { bottom: 8%; left: 2%; }
.eco-card.pos-4 { bottom: 8%; right: 2%; }
.eco-caption { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fresh-green); box-shadow: 0 0 0 5px rgba(50,168,82,.10); }

/* Premium hero framework panel */
.hero-visual { display: grid; place-items: center; }
.eco-dashboard {
  position: relative; width: min(100%, 520px); height: 560px; min-height: 560px; overflow: hidden;
  padding: 32px; border-radius: 30px; color: #fff;
  background: linear-gradient(145deg, #073d2e 0%, #0a5a3b 58%, #083d2d 100%);
  box-shadow: 0 28px 70px rgba(8,61,45,.24), inset 0 1px 0 rgba(255,255,255,.14);
  isolation: isolate;
}
.eco-dashboard::before, .eco-dashboard::after { content: ""; position: absolute; border: 1px solid rgba(168,226,189,.13); border-radius: 50%; pointer-events: none; z-index: -1; }
.eco-dashboard::before { width: 430px; height: 430px; right: -180px; top: -170px; }
.eco-dashboard::after { width: 300px; height: 300px; left: -180px; bottom: -150px; }
.eco-dashboard-glow { position: absolute; width: 280px; height: 280px; right: -70px; top: -100px; border-radius: 50%; background: rgba(83,196,117,.18); filter: blur(18px); z-index: -1; }
.eco-dashboard-top, .eco-dashboard-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eco-overline, .eco-index, .eco-framework-label, .eco-dashboard-bottom { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #a8e2bd; }
.eco-overline { display: flex; align-items: center; gap: 8px; }
.eco-overline i { width: 7px; height: 7px; border-radius: 50%; background: #7be39c; box-shadow: 0 0 0 5px rgba(123,227,156,.12); }
.eco-index { color: rgba(255,255,255,.45); }
.eco-dashboard-heading { margin-top: 34px; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -.045em; font-weight: 650; }
.eco-dashboard-heading em { color: #9be3b3; font-family: var(--font-serif); font-weight: 400; }
.eco-rule { height: 1px; margin: 28px 0 20px; background: linear-gradient(90deg, rgba(168,226,189,.45), transparent); }
.eco-framework-label { color: rgba(255,255,255,.55); }
.eco-framework { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 13px; }
.eco-framework::before { content: ""; position: absolute; top: 50%; left: 50%; width: 24px; height: 1px; background: rgba(168,226,189,.3); transform: translate(-50%,-50%); }
.eco-framework .eco-card { position: relative; inset: auto; min-width: 0; padding: 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.085); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); color: #fff; }
.eco-framework .eco-card .ec-icon { width: 30px; height: 30px; border-radius: 9px; background: rgba(168,226,189,.13); color: #9be3b3; }
.eco-framework .eco-card b { color: #fff; font-size: 15px; }
.eco-framework .eco-card span, .eco-framework .eco-card .ec-desc { color: rgba(255,255,255,.58); }
.eco-framework .eco-card .ec-desc { max-height: 40px; margin-top: 4px; opacity: .9; }
.eco-framework .eco-card:hover { border-color: rgba(168,226,189,.5); background: rgba(255,255,255,.14); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.eco-dashboard-bottom { margin-top: 27px; padding-top: 16px; border-top: 1px solid rgba(168,226,189,.16); color: rgba(255,255,255,.62); letter-spacing: .06em; }
.eco-dashboard-bottom > span:first-child { display: flex; align-items: center; gap: 3px; }
.eco-dashboard-bottom .caption-dot { width: 5px; height: 5px; margin-right: 5px; box-shadow: 0 0 0 4px rgba(123,227,156,.10); }
.eco-slide-controls { position: absolute; z-index: 5; left: 32px; right: 32px; bottom: 13px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.eco-slide-dots { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.eco-slide-dot, .eco-slide-arrow { pointer-events: auto; color: rgba(255,255,255,.58); }
.eco-slide-dot { width: 5px; height: 5px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.32); transition: all .25s var(--ease); }
.eco-slide-dot.is-active { width: 20px; border-radius: 99px; background: #9be3b3; }
.eco-slide-dot:focus-visible, .eco-slide-arrow:focus-visible { outline: 2px solid #a8e2bd; outline-offset: 4px; }
.eco-slide-arrow { width: 22px; height: 22px; padding: 0; border: 1px solid rgba(168,226,189,.24); border-radius: 50%; font-size: 13px; line-height: 1; transition: all .25s var(--ease); }
.eco-slide-arrow:hover { color: #fff; border-color: rgba(168,226,189,.7); background: rgba(168,226,189,.12); }
.eco-slide-progress { position: absolute; z-index: 6; right: 0; bottom: 0; left: 0; height: 2px; overflow: hidden; background: rgba(255,255,255,.12); }
.eco-slide-progress span { display: block; width: 0; height: 100%; background: #9be3b3; }
.eco-slide-progress span.is-running { animation: eco-progress 2000ms linear both; }
@keyframes eco-progress { from { width: 0; } to { width: 100%; } }
.eco-slide { position: relative; display: none; min-height: 496px; padding-bottom: 52px; opacity: 0; transform: translateX(10px); }
.eco-slide.is-active { display: block; animation: eco-slide-in .45s var(--ease) both; }
@keyframes eco-slide-in { to { opacity: 1; transform: translateX(0); } }
.eco-slide .eco-dashboard-bottom { position: absolute; left: 0; right: 0; bottom: 0; margin-top: 0; }
.eco-slide[data-slide="1"] .eco-rule { margin-top: 22px; margin-bottom: 16px; }
.eco-slide[data-slide="1"] .eco-framework { gap: 10px; margin-top: 10px; }
.eco-slide[data-slide="1"] .eco-framework .eco-card { min-height: 125px; padding: 13px; }
.eco-slide[data-slide="1"] .eco-framework .eco-card .ec-desc { font-size: 10.5px; line-height: 1.3; }
.eco-timeline { position: relative; margin-top: 2px; }
.eco-timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 14px; width: 1px; background: linear-gradient(rgba(155,227,179,.75), rgba(155,227,179,.12)); }
.timeline-step { position: relative; display: grid; grid-template-columns: 29px 1fr; gap: 13px; align-items: start; padding: 0 0 12px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-marker { position: relative; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(155,227,179,.55); border-radius: 50%; background: #0a573a; color: #a8e2bd; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.timeline-step b { display: block; margin: 2px 0 3px; color: #fff; font-size: 13px; }
.timeline-step div span { display: block; color: rgba(255,255,255,.58); font-size: 10.5px; line-height: 1.35; }
.eco-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.eco-stat { min-height: 82px; padding: 13px 14px; border-radius: 15px; background: rgba(255,255,255,.075); }
.eco-stat b { display: block; color: #a8e2bd; font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.eco-stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.3; }
.eco-trust { margin-top: 3px; }
.eco-registration { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid rgba(168,226,189,.3); border-radius: 14px; background: rgba(168,226,189,.08); }
.trust-shield { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(168,226,189,.65); border-radius: 8px; color: #a8e2bd; font-size: 15px; }
.eco-registration b, .eco-trust-item b { display: block; color: #fff; font-size: 12px; }
.eco-registration span:last-child { display: block; margin-top: 3px; color: #a8e2bd; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.eco-trust-item { padding: 13px 0 0 2px; }
.eco-trust-item span { display: block; max-width: 355px; margin-top: 4px; color: rgba(255,255,255,.58); font-size: 10.5px; line-height: 1.35; }
.eco-trust-tagline { margin-top: 17px; color: #a8e2bd; font-family: var(--font-serif); font-size: 19px; font-style: italic; }

.float { animation: floaty 5s ease-in-out infinite; }
.float.d1 { animation-delay: -1s; }
.float.d2 { animation-delay: -2.2s; }
.float.d3 { animation-delay: -3.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; order: -1; margin-bottom: 10px; }
  .eco-card { min-width: 130px; padding: 10px 12px; }
  .eco-dashboard { height: 500px; min-height: 500px; }
}
@media (max-width: 600px) {
  .eco-dashboard { height: 470px; min-height: 470px; padding: 23px; border-radius: 24px; }
  .eco-dashboard-heading { margin-top: 24px; font-size: 29px; }
  .eco-rule { margin: 22px 0 16px; }
  .eco-framework .eco-card { padding: 12px; }
  .eco-framework .eco-card b { font-size: 13px; }
  .eco-framework .eco-card span, .eco-framework .eco-card .ec-desc { font-size: 10px; }
  .eco-dashboard-bottom { margin-top: 20px; font-size: 8px; }
  .eco-slide { min-height: 424px; padding-bottom: 44px; }
  .eco-slide .eco-dashboard-bottom { left: 0; right: 0; bottom: 0; }
  .eco-slide-controls { left: 23px; right: 23px; bottom: 11px; }
  .timeline-step { gap: 10px; padding-bottom: 9px; }
  .timeline-step div span, .eco-trust-item span { font-size: 9px; }
  .eco-stat { min-height: 72px; padding: 11px; }
  .eco-stat b { font-size: 21px; }
  .eco-stat span { margin-top: 6px; font-size: 9px; }
  .eco-registration b { font-size: 10px; }
  .eco-trust-tagline { margin-top: 12px; font-size: 17px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .hero h1 .word { opacity: 1; transform: none; }
}
