/* V20 Energy — single-page styles
   Brand palette derived from the logo:
   - leaf green : #9DC742  (lightning bolt)
   - charcoal   : #4A4A4A  (circulating arrows)
*/

:root {
  --green:        #9DC742;
  --green-dark:   #7FA82F;
  --green-deep:   #5E8C1A;
  --charcoal:     #3D3D3D;
  --charcoal-2:   #5A5A5A;
  --ink:          #1F1F1F;
  --paper:        #FFFFFF;
  --soft:         #F6F8F2;
  --line:         #E6E6E0;
  --max:          1120px;
  --radius:       12px;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:    0 8px 28px rgba(0,0,0,.09);
  --ease:         cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .2px;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: block; object-fit: contain; }
.brand-name { font-size: 18px; }

.site-nav a {
  color: var(--charcoal);
  font-weight: 500;
  margin-left: 24px;
  font-size: 15px;
}
.site-nav a:hover { color: var(--green-deep); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 24px 160px;
  text-align: center;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(157,199,66,.22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(61,61,61,.06), transparent 60%),
    linear-gradient(180deg, #FBFCF7 0%, #FFFFFF 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Sine-wave strip sits at the bottom of the hero, well clear of the text.
   A vertical fade mask softens its upper edge so it emerges from white. */
.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
}
.hero-waves .wave {
  stroke-dasharray: 1200;
  animation: drift 18s linear infinite;
  transform-origin: center;
}
.hero-waves .wave-2 { animation-duration: 26s; animation-direction: reverse; }
@keyframes drift {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -2400; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-mark {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 32px rgba(126,168,47,.20));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -.5px;
  color: var(--ink);
  font-weight: 700;
}
.hero h1 br { display: inline; }
@media (max-width: 600px) {
  .hero h1 br { display: none; }
}

.hero-tag {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--charcoal-2);
  margin: 0 auto 36px;
  max-width: 620px;
}

.cta {
  display: inline-block;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: .3px;
  box-shadow: 0 6px 18px rgba(126,168,47,.30), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
}
.cta:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(126,168,47,.38), inset 0 1px 0 rgba(255,255,255,.25);
  filter: brightness(1.04);
}

/* ---------- about / features ---------- */
.about {
  padding: 80px 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about h2 {
  font-size: 30px;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -.3px;
}
.about-lead {
  font-size: 18px;
  color: var(--charcoal);
  max-width: 760px;
  margin: 0 0 48px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
}

.feature {
  background: var(--paper);
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(157,199,66,.18), rgba(157,199,66,.06));
  color: var(--green-deep);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -.1px;
}
.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--charcoal-2);
}

/* ---------- contact ---------- */
.contact { padding: 84px 0 96px; }
.contact h2 {
  font-size: 30px;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -.3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

.contact-info .addr {
  color: var(--charcoal);
  margin: 0 0 14px;
  line-height: 1.7;
}
.contact-info .web a { font-weight: 600; }

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--charcoal);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(157,199,66,.25);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .cta { justify-self: start; margin-top: 6px; }

/* honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* notices */
.notice {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 15px;
  border: 1px solid transparent;
}
.notice-success {
  background: #F1F8E1;
  border-color: #CDE39A;
  color: #3F5A12;
}
.notice-error {
  background: #FBECEC;
  border-color: #EFC2C2;
  color: #7A2424;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: var(--paper);
  font-size: 14px;
  color: var(--charcoal-2);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 520px) {
  .footer-row { flex-direction: column; gap: 6px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-waves .wave, .hero-mark { animation: none; }
}
