/* ==========================================================
   Eve Electric — Modern Marketing Site
   Brand: #437C6F (Eve Green)
   ========================================================== */

:root {
  --brand: #437C6F;
  --brand-dark: #2F5A50;
  --brand-light: #C9DDD8;
  --brand-50: #EFF6F4;
  --ink: #0F1A18;
  --ink-2: #2A3633;
  --muted: #5C6A66;
  --line: #E5EAE8;
  --bg: #FFFFFF;
  --bg-alt: #F7FAF9;
  --bg-dark: #0F1A18;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,26,24,.04), 0 2px 8px rgba(15,26,24,.04);
  --shadow-md: 0 4px 20px rgba(15,26,24,.06), 0 12px 40px rgba(15,26,24,.08);
  --shadow-lg: 0 10px 40px rgba(15,26,24,.10), 0 30px 80px rgba(15,26,24,.10);
  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; }
p  { color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  padding: 6px 12px;
  background: rgba(67,124,111,.08);
  border-radius: 999px;
}
.eyebrow--dark { color: var(--brand-dark); background: rgba(67,124,111,.08); }
.eyebrow--light { color: #C9DDD8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }

.grad {
  background: linear-gradient(120deg, var(--brand) 0%, #6BA697 60%, #437C6F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(67,124,111,.55);
}
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(67,124,111,.6); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn--ghost:hover { background: var(--bg-alt); border-color: var(--brand); color: var(--brand-dark); }
.btn--block { width: 100%; padding: 16px 22px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.nav.is-scrolled { border-color: var(--line); background: rgba(255,255,255,.92); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 30px; height: auto; }
.nav__wordmark { font-weight: 800; letter-spacing: -.02em; font-size: 1.1rem; color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--brand); }
.nav__cta {
  background: var(--brand); color: #fff !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: background .2s var(--ease);
}
.nav__cta:hover { background: var(--brand-dark); }
.nav__toggle {
  display: none;
  background: none; border: 0; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(67,124,111,.18), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(67,124,111,.10), transparent 70%),
    linear-gradient(180deg, #FAFCFB 0%, #FFFFFF 60%);
  z-index: -2;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(67,124,111,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,124,111,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  z-index: -1;
  opacity: .55;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.hero__title { margin: 18px 0 18px; }
.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 540px;
}
.hero__stats dt { font-size: 1.8rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -.02em; }
.hero__stats dd { font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.orb {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6BA697 0%, var(--brand) 45%, var(--brand-dark) 100%);
  filter: blur(2px);
  opacity: .9;
  box-shadow: 0 40px 100px -20px rgba(67,124,111,.5);
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.meter-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 340px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.meter-card__head {
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.dot--live { background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.meter-card__metric { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.meter-card__label { font-size: .8rem; color: var(--muted); }
.meter-card__value { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.meter-card__value small { font-size: .9rem; font-weight: 600; color: var(--brand); margin-left: 4px; }
.spark { width: 100%; height: 60px; margin: 6px 0 16px; }
.meter-card__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-size: .85rem; color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.pill {
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.pill--ok { background: rgba(34,197,94,.12); color: #166534; }

/* ===== Trust bar ===== */
.trust {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.trust__label {
  text-align: center; font-size: .78rem; font-weight: 600;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.trust__row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 36px;
}
.trust__row span {
  font-weight: 600; color: var(--ink-2); font-size: .95rem;
  opacity: .8;
}

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 56px; max-width: 760px; }
.section__head--centered { margin-inline: auto; text-align: center; }
.section__head h2 { margin-top: 14px; }
.section__subtitle { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.section__body p { margin-bottom: 16px; }

/* ===== Mission / Vision ===== */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mv__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.mv__card:hover { border-color: var(--brand); transform: translateY(-2px); }
.mv__card h3 { color: var(--brand-dark); margin-bottom: 8px; font-size: 1rem; }
.mv__card p { font-size: .92rem; color: var(--ink-2); }

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

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 100% 0%, rgba(67,124,111,.05), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(67,124,111,.10);
  color: var(--brand-dark);
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; }
.bullets { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.bullets li {
  position: relative; padding-left: 20px;
  font-size: .88rem; color: var(--ink-2);
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--brand);
}

/* ===== Projects ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.project:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.project--feature {
  background: linear-gradient(160deg, var(--brand-dark) 0%, var(--brand) 70%, #5A9486 100%);
  color: #fff;
  border: 0;
  position: relative;
  overflow: hidden;
}
.project--feature::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.project--feature h3, .project--feature p { color: #fff; position: relative; }
.project--feature .project__client { color: rgba(255,255,255,.8); position: relative; }
.project__badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  border: 1px solid rgba(255,255,255,.2);
}
.project__badge--alt { background: rgba(255,255,255,.95); color: var(--brand-dark); }
.project h3 { font-size: 1.25rem; margin-bottom: 6px; }
.project__client {
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: 14px;
}
.project__tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; position: relative;
}
.project__tags li {
  font-size: .78rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
}

/* ===== Industries ===== */
.industry {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.industry:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.industry__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(67,124,111,.14), rgba(67,124,111,.04));
  color: var(--brand-dark);
  margin-bottom: 20px;
}
.industry__icon svg { width: 28px; height: 28px; }
.industry h3 { margin-bottom: 8px; font-size: 1.2rem; }
.industry p { font-size: .94rem; }

/* ===== Pillars ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pillar {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--brand); }
.pillar__num {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em;
  color: var(--brand);
  opacity: .25;
  display: block;
  margin-bottom: 8px;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: .92rem; }

/* ===== Contact ===== */
.section--contact {
  background: linear-gradient(160deg, #0F1A18 0%, #1A2926 50%, #243733 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(67,124,111,.35), transparent 60%),
    radial-gradient(50% 50% at 90% 80%, rgba(67,124,111,.18), transparent 60%);
  pointer-events: none;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}
.contact__left h2 { color: #fff; margin: 14px 0 18px; }
.contact__left p { color: rgba(255,255,255,.75); max-width: 48ch; }
.contact__meta {
  list-style: none; margin-top: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact__meta li {
  display: grid; grid-template-columns: 100px 1fr;
  align-items: baseline; gap: 12px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact__meta-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.5);
}
.contact__meta a { color: #fff; font-weight: 500; transition: color .2s var(--ease); }
.contact__meta a:hover { color: var(--brand-light); }
.contact__meta span:not(.contact__meta-label) { color: rgba(255,255,255,.85); }

.contact__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.85);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: .95rem;
  color: #fff;
  font-family: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(67,124,111,.10);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
  padding-right: 40px;
}
.field select option { background: #1A2926; color: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 18px; }

.contact__note {
  font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 14px; text-align: center;
}

/* ===== Footer ===== */
.footer { background: #0A1311; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 40px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo { width: 38px; height: auto; }
.footer__brand strong { display: block; color: #fff; font-size: 1.05rem; }
.footer__brand span { font-size: .85rem; color: rgba(255,255,255,.5); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__cols h4 {
  color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.footer__cols a, .footer__cols span {
  display: block; font-size: .9rem; color: rgba(255,255,255,.6);
  margin-bottom: 8px; transition: color .2s var(--ease);
}
.footer__cols a:hover { color: var(--brand-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .82rem;
}
.footer__bottom .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: rgba(255,255,255,.45);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 380px; }
  .orb { width: 320px; height: 320px; }
  .section__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 64px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .hero__stats div:last-child { grid-column: span 2; }
  .nav__links {
    position: fixed; inset: 72px 0 0 0;
    background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 16px 24px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    padding: 16px 0; border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__cta { margin-top: 12px; text-align: center; border-bottom: 0 !important; }
  .nav__toggle { display: flex; }

  .grid--3 { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact__meta li { grid-template-columns: 1fr; gap: 4px; }
}
