:root {
  --bg: #f6fff5;
  --surface: #ffffff;
  --surface-alt: #f4ffef;
  --primary: #52ff7a;
  --primary-dark: #18c147;
  --text: #0f2d20;
  --muted: #4c5f53;
  --border: #d4efd9;
  --shadow: 0 20px 45px rgba(18, 45, 35, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfeff 0%, var(--bg) 100%);
  line-height: 1.65;
}

::selection {
  background: rgba(82, 255, 122, 0.25);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.topbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  font-size: 0.95rem;
  box-shadow: 0 10px 32px rgba(82, 255, 122, 0.24);
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0));
}

.brand-mark-top,
.brand-mark-bottom {
  position: relative;
  z-index: 1;
  display: block;
  font-weight: 800;
}

.brand-mark-top {
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

.brand-mark-bottom {
  font-size: 0.78rem;
  margin-top: -0.2rem;
}

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

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  gap: 0.4rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: var(--surface-alt);
  color: var(--primary-dark);
}

.nav-links a.active {
  background: var(--surface-alt);
  color: var(--primary-dark);
  font-weight: 600;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-dark);
}

.burger svg {
  display: block;
}

.hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  background:
    linear-gradient(110deg, rgba(18, 211, 105, 0.92) 0%, rgba(82, 255, 122, 0.56) 40%, rgba(37, 172, 78, 0.45) 100%),
    url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.06) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.hero .eyebrow {
  color: #e7ffe5;
}

h1,
h2,
h3 {
  line-height: 1.17;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
  max-width: 13ch;
}

.hero-copy h1,
.hero-copy p {
  color: white;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.hero-text,
.section-heading p,
.card p,
.split p,
.quote-box p,
.contact-card p,
.contact-list {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  box-shadow: 0 12px 32px rgba(82, 255, 122, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16bd61, var(--primary));
}

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

.hero-points {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.4rem 0 0;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  width: fit-content;
}

.hero-panel,
.card,
.stats-box,
.contact-card,
.contact-form,
.quote-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.6rem;
}

.hero-visual {
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-panel h3 {
  margin-bottom: 0.95rem;
}

.panel-list {
  display: grid;
  gap: 0.95rem;
}

.panel-item {
  padding-left: 0.95rem;
  border-left: 4px solid var(--primary);
}

.panel-item strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.panel-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 4rem 0;
}

.alt-bg {
  background: linear-gradient(180deg, #f7fff6 0%, #ecffeb 100%);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

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

.stats-box {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.stats-box div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stats-box strong {
  font-size: 1.45rem;
  color: var(--primary-dark);
}

.page-hero {
  padding: 4.2rem 0 2rem;
  background: linear-gradient(135deg, #138f4d 0%, #52ff7a 100%);
  color: white;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 760px;
}

.page-hero .eyebrow {
  color: #e5ffdf;
}

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

.page-hero-media {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(7, 33, 61, 0.22);
}

.page-hero-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.references-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-box {
  padding: 2rem;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 600;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.showcase-image {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.showcase-content {
  max-width: 520px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  padding: 1.6rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.contact-form {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  font: inherit;
  background: #fcfeff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(82, 255, 122, 0.22);
  border-color: var(--primary);
}

.footer {
  background: #0f1726;
  color: white;
  padding: 1.2rem 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-contact a,
.footer-contact span {
  color: white;
  font-size: 0.9rem;
}

.footer-contact a:hover {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-dark);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.error-section {
  padding: 6rem 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  max-width: 500px;
}

.error-content h1 {
  font-size: 8rem;
  margin: 0 0 1rem;
  color: var(--primary-dark);
  line-height: 1;
}

.error-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.error-content > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.zones-list {
  margin-top: 1.5rem;
  text-align: left;
}

.zones-list ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem 1rem;
}

.zones-list li {
  padding: 0.35rem 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zones-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.form-message.error {
  color: #b42318;
}

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

.footer a {
  color: var(--primary);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .cards,
  .references-grid,
  .faq-grid,
  .page-hero-content,
  .showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .burger {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 0.65rem 0.8rem;
    text-align: center;
    width: 100%;
    color: var(--muted);
  }

  .nav-links a:hover {
    background: var(--surface-alt);
    color: var(--primary-dark);
  }

  .hero {
    padding-top: 4.2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1714;
    --surface: #1a2520;
    --surface-alt: #222f29;
    --text: #e6f1eb;
    --muted: #a8c0b8;
    --border: #3a4d46;
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  }
  
  body {
    background: linear-gradient(180deg, #121a16 0%, var(--bg) 100%);
  }
  
  .hero {
    background:
      linear-gradient(110deg, rgba(18, 173, 97, 0.92) 0%, rgba(82, 255, 122, 0.56) 40%, rgba(24, 193, 71, 0.45) 100%),
      url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  }
  
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
  }
  
  .page-hero {
    background: linear-gradient(135deg, #135a3d 0%, #18c147 100%);
  }
  
  .page-hero-content p,
  .page-hero-content strong {
    color: white;
  }
  
  .page-hero .eyebrow {
    color: #e5ffdf;
  }
  
  .alt-bg {
    background: linear-gradient(180deg, #121a16 0%, #1a2520 100%);
  }
  
  .footer {
    background: #121a16;
  }
  
  .nav-links a {
    color: var(--muted);
  }
  
  .brand-text {
    color: white;
  }
}
