@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --green-dark: #1a4a1a;
  --green-mid: #2d6b2d;
  --green-brand: #3d8f3d;
  --green-light: #5cb85c;
  --green-bright: #7dce7d;
  --accent: #a8e063;
  --black: #0d0d0d;
  --dark: #111811;
  --grey-dark: #1c241c;
  --grey-mid: #2a342a;
  --text: #e8f0e8;
  --text-muted: #8fa88f;
  --white: #f5faf5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(93,184,92,0.15);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--green-brand);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--green-light) !important; color: var(--black) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(13,13,13,0.98);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid rgba(93,184,92,0.2);
  z-index: 99;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu .mob-cta {
  background: var(--green-brand);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  margin-top: 8px;
}

/* ── SHARED COMPONENTS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-brand);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--green-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(93,184,92,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--black);
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
}

.card {
  background: var(--grey-dark);
  border: 1px solid rgba(93,184,92,0.12);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(93,184,92,0.35);
  transform: translateY(-3px);
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(93,184,92,0.12);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-logo img { height: 44px; margin-bottom: 20px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-copy a {
  color: var(--accent);
  text-decoration: none;
}

/* ── FLOATING CONTACT WIDGET ── */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-trigger {
  width: auto;
  height: 60px;
  background: linear-gradient(135deg, var(--green-brand) 0%, var(--green-light) 100%);
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px 0 20px;
  box-shadow: 0 6px 28px rgba(61,143,61,0.65), 0 2px 8px rgba(0,0,0,0.4);
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.float-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Outer ring pulse */
.float-trigger::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 34px;
  border: 2px solid rgba(93,184,92,0.5);
  animation: ring-pulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes ring-pulse {
  0%   { opacity: 0.8; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.12); }
  100% { opacity: 0;   transform: scale(1.12); }
}

.float-trigger:hover {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-bright) 100%);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 36px rgba(61,143,61,0.75), 0 4px 12px rgba(0,0,0,0.4);
}

.float-trigger-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

/* Hide label when panel is open, show X */
.float-trigger.open .float-trigger-label { display: none; }
.float-trigger.open { padding: 0 20px; border-radius: 50%; width: 60px; }

.float-trigger svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.float-trigger.open svg.icon-chat { display: none; }
.float-trigger.open svg.icon-close { display: block !important; }
.float-trigger svg.icon-close { display: none; }

.float-panel {
  background: var(--grey-dark);
  border: 1px solid rgba(93,184,92,0.25);
  border-radius: 16px;
  padding: 24px 22px 20px;
  width: 280px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  transform-origin: bottom right;
}

.float-panel.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.float-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(93,184,92,0.12);
}

.float-panel-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}

.float-panel-header h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.float-panel-header span {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.float-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(93,184,92,0.07);
  text-decoration: none;
  transition: background 0.15s;
}

.float-contact-item:last-of-type { border-bottom: none; }

.float-contact-item:hover .float-contact-label { color: var(--accent); }

.float-contact-ico {
  width: 36px;
  height: 36px;
  background: rgba(61,143,61,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.float-contact-item:hover .float-contact-ico {
  background: rgba(61,143,61,0.3);
}

.float-contact-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: block;
  transition: color 0.2s;
  line-height: 1.3;
}

.float-contact-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.float-demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--green-brand);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  margin-top: 14px;
  transition: background 0.2s, transform 0.2s;
}

.float-demo-btn:hover {
  background: var(--green-light);
  color: var(--black);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .float-contact {
    bottom: 20px;
    right: 16px;
  }
  .float-panel { width: 260px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93,184,92,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(93,184,92,0); }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    font-size: 17px;
  }
}
