:root {
  --primary: #00a651;
  --primary-dark: #007a3d;
  --text: #444444;
  --heading: #333333;
  --light-bg: #f9f9f9;
  --border: #e8e8e8;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 6px;
  --container: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--heading);
  line-height: 1.2;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
iframe { border: 0; display: block; width: 100%; height: 100%; }

.container {
  width: min(calc(100% - 30px), var(--container));
  margin: 0 auto;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 9px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topbar-left {
  display: flex;
  gap: 20px;
}

.topbar-left a,
.topbar-right a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 150ms;
}

.topbar-left a:hover,
.topbar-right a:hover { opacity: 0.8; }

.topbar-right {
  display: flex;
  gap: 14px;
}

.topbar-right a {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  justify-content: center;
  font-size: 11px;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand img { width: clamp(140px, 15vw, 190px); }

.site-nav {
  display: flex;
  gap: 6px;
}

.site-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  border-radius: var(--radius);
  transition: background 150ms, color 150ms;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.site-nav a:hover {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 200ms;
}

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  overflow: hidden;
}

.slider { position: relative; }

.slide {
  display: none;
  position: relative;
  min-height: 580px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active { display: flex; align-items: center; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.15) 100%);
}

.slide-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 80px 0;
}

.slide-copy { color: #fff; max-width: 600px; }

.slide-eyebrow {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.slide-copy h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.slide-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 480px;
}

.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.slide-visual img {
  width: clamp(200px, 22vw, 340px);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}

.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 150ms;
}

.dot.active { background: #fff; border-color: #fff; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 150ms, color 150ms, border-color 150ms, transform 150ms;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* ── FEATURES ── */
.features {
  padding: 0;
  position: relative;
  z-index: 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 36px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: filter 150ms;
}

.feature-card:hover { filter: brightness(1.08); }

.card-blue     { background: #4ba4cf; }
.card-yellow   { background: #f5a623; color: #fff; }
.card-darkblue { background: #3c7ed5; }
.card-green    { background: var(--primary); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-card h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.6;
}

/* ── SPLIT SECTIONS ── */
.split-section { padding: 80px 0; }
.alt-bg { background: var(--light-bg); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }

.section-eyebrow {
  display: block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  position: relative;
}

.section-copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-copy p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.section-copy .btn { margin-top: 10px; }

.section-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── REFERENCES ── */
.reference-section {
  padding: 70px 0;
  background: var(--light-bg);
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  display: inline-block;
  padding-bottom: 14px;
  position: relative;
}

.section-intro h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.reference-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.reference-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: box-shadow 150ms;
}

.reference-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }

.reference-card img { width: clamp(160px, 20vw, 280px); }

/* ── CONTACT ── */
.contact-section { padding: 80px 0; }

.contact-section .section-intro {
  text-align: left;
  margin-bottom: 40px;
}

.contact-section .section-intro h2::after { left: 0; transform: none; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  margin-bottom: 40px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

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

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { display: flex; flex-direction: column; }
.form-group:last-child { margin-bottom: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fafafa;
  transition: border-color 150ms;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

.contact-form textarea { resize: vertical; margin-bottom: 16px; }

.btn-submit { width: 100%; justify-content: center; }

/* Map */
.map-wrap {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ── FOOTER ── */
.site-footer {
  background:
    linear-gradient(rgba(0,60,20,0.92), rgba(0,60,20,0.92)),
    url("assets/images/slider-1.webp") center/cover no-repeat;
  color: rgba(255,255,255,0.82);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.footer-col p, .footer-col a {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  display: block;
}

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

.footer-brand-link {
  color: #fff !important;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-links { display: flex; flex-direction: column; gap: 4px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 150ms, padding-left 150ms;
}

.footer-links a:hover { color: var(--primary); padding-left: 6px; }

.footer-brand-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.footer-brand-col img {
  width: min(100%, 220px);
  border-radius: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 13px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { color: rgba(255,255,255,0.6); margin: 0; }

.footer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-meta a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: color 150ms;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid.reverse { direction: ltr; }
  .split-grid.reverse .section-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; gap: 8px; }
  .topbar-left { flex-wrap: wrap; justify-content: center; }
  .topbar-right { justify-content: center; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 2px;
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; }

  .slide { min-height: 420px; }
  .slide-content { grid-template-columns: 1fr; padding: 60px 0 80px; }
  .slide-visual { display: none; }
  .slide-copy h1 { font-size: 1.6rem; }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-meta { justify-content: center; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .slide-copy h1 { font-size: 1.4rem; }
  .contact-form-wrap { padding: 22px 16px; }
}
