:root {
  --bg: #f4fbf6;
  --bg-soft: #eaf5ed;
  --bg-lilac: #f4effb;
  --card: #ffffff;

  --text: #173528;
  --muted: #5b7c6b;

  --primary: #2f7d57;
  --primary-dark: #245f42;
  --primary-soft: #d9efe0;

  --accent: #8e7cc3;
  --accent-soft: #dcd2f2;
  --accent-deep: #6f5aa8;

  --border: #d8eadf;
  --border-accent: #d9d0ee;

  --shadow: 0 10px 30px rgba(38, 86, 59, 0.08);
  --shadow-soft: 0 12px 34px rgba(111, 90, 168, 0.1);

  --max-width: 1100px;
  --radius: 18px;

  --gradient-soft: linear-gradient(180deg, #eef8f1 0%, #f4fbf6 72%, #f7f3fc 100%);
  --gradient-brand: linear-gradient(135deg, #2f7d57 0%, #8e7cc3 100%);
}

html,
body {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f4fbf6, #e8f5ec);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

header {
  background: linear-gradient(
    90deg,
    #3f8b67 0%,
    #4b9278 58%,
    #8a7ac2 100%
  );
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  color: white;
  flex-shrink: 0;
}

.brand-wrap:hover {
  color: white;
  transform: scale(1.03);
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
/*  display: block; */
}

.brand-logo-wide {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
}

nav a:hover,
nav a.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  padding: 80px 0 60px;
  background: var(--gradient-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

/*.hero h1,
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}*/

.hero h1,
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  background: linear-gradient(90deg, #245f42 0%, #6f5aa8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.hero p,
.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-card,
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.energy-circle {
  width: 220px;
  height: 220px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, white 0 34%, transparent 35%),
    radial-gradient(circle at center, rgba(142, 124, 195, 0.18) 36%, transparent 37%),
    radial-gradient(circle at center, rgba(47, 125, 87, 0.12) 52%, transparent 53%),
    conic-gradient(
      #d9efe0,
      #8fc7a0,
      #8e7cc3,
      #2f7d57,
      #8fc7a0,
      #d9efe0
    );
}

.energy-circle span {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  font-weight: bold;
  text-align: center;
  box-shadow: var(--shadow);
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 10px 24px rgba(47, 125, 87, 0.16);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(111, 90, 168, 0.16);
  filter: brightness(1.03);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-lilac);
  color: var(--accent-deep);
  border-color: var(--border-accent);
}

.section {
  padding: 70px 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
}

.section-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--gradient-brand);
}

.section-intro {
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border-accent);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--accent-deep);
}

.card p,
.card li {
  color: var(--muted);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bg-soft), var(--accent-soft));
  color: var(--accent-deep);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.page-hero {
  padding: 60px 0 20px;
  background: linear-gradient(180deg, #f4fbf6 0%, #f7f3fc 100%);
}

.list {
  padding-left: 1.2rem;
}

.contact-box {
  display: grid;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.45rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(142, 124, 195, 0.16);
  background: #fff;
}

.success-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #eef7f1;
  border: 1px solid #cfe7d6;
  color: #245f42;
  font-weight: 700;
}

.quote {
  font-size: 1.02rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.quote-meta {
  color: var(--muted);
}

.cta-box {
  text-align: center;
}

.cta-box p {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto 1.25rem;
}

footer {
  background: linear-gradient(180deg, #e8f4eb 0%, #f2edf9 100%);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 50px;
  }

  .brand-tag {
    display: none;
  }
}

/* =========================
   MOBILE HEADER FIX
   ========================= */

@media (max-width: 860px) {

  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
  }

  .brand-wrap {
    justify-content: center;
  }

  .brand-logo-wide {
    height: 64px;
    max-width: 100%;
  }

  nav {
    justify-content: center;
    gap: 0.6rem 1rem;
    text-align: center;
  }

  nav a {
    font-size: 0.95rem;
  }
}
