@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,300&family=Open+Sans:wght@400;600&display=swap');

:root {
  --green:  #2E7D32;
  --dark:   #1B5E20;
  --deep:   #0D3318;
  --accent: #66BB6A;
  --lime:   #A5D6A7;
  --cream:  #F7F4EE;
  --bg:     #F9FBF9;
  --text:   #1A1A1A;
  --muted:  #5C6B5F;
  --white:  #FFFFFF;
  --font-h: 'Montserrat', sans-serif;
  --font-b: 'Open Sans', sans-serif;
  --eOut:   cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── SCROLL PROGRESS ── */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  z-index: 9999; transition: width 0.1s linear;
}

/* ── DEMO BANNER ── */
#demo-banner {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--deep);
  color: rgba(255,255,255,.85);
  font-family: var(--font-h); font-size: .74rem; font-weight: 500;
  letter-spacing: .02em;
  text-align: center;
  padding: 9px 48px 9px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .35s cubic-bezier(0.4,0,0.2,1);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
#demo-banner strong { color: var(--lime); font-weight: 700; }
#demo-banner a {
  color: var(--accent); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap; transition: color .2s;
}
#demo-banner a:hover { color: var(--lime); }
#demo-banner-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.35);
  font-size: .95rem; line-height: 1; padding: 4px 6px; cursor: pointer;
  transition: color .2s;
}
#demo-banner-close:hover { color: var(--white); }
body.banner-hidden #demo-banner { transform: translateY(-100%); }

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 70px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--eOut), box-shadow .4s, top .35s cubic-bezier(0.4,0,0.2,1);
}
.nav.solid { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-weight: 800; font-size: 1.1rem;
  color: var(--white); transition: color .4s;
}
.nav.solid .nav-logo, .nav.dark .nav-logo { color: var(--green); }
.nav.dark { background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.08); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-h); font-weight: 600; font-size: .83rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.85); position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: currentColor;
  transition: width .3s var(--eOut);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav.solid .nav-links a, .nav.dark .nav-links a { color: var(--muted); }
.nav.solid .nav-links a:hover, .nav.dark .nav-links a:hover { color: var(--green); }
.nav.solid .nav-links a.active, .nav.dark .nav-links a.active { color: var(--green); }

.btn-nav {
  background: var(--white); color: var(--green) !important;
  padding: 9px 22px; border-radius: 50px;
  font-family: var(--font-h); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .3s, color .3s, transform .3s var(--spring);
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--accent) !important; color: var(--white) !important; transform: translateY(-2px); }
.nav.solid .btn-nav, .nav.dark .btn-nav { background: var(--green); color: var(--white) !important; }
.nav.solid .btn-nav:hover, .nav.dark .btn-nav:hover { background: var(--dark) !important; }

.ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.ham span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .35s var(--eOut); }
.nav.solid .ham span, .nav.dark .ham span { background: var(--text); }
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 5% 100px;
  background: linear-gradient(160deg, var(--deep) 0%, #1a4a28 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--accent); transition: color .25s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.25); }
.page-hero h1 {
  font-family: var(--font-h); font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white); line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.65); max-width: 520px; line-height: 1.7; }

/* ── MARQUEE ── */
.marquee-strip { background: var(--green); overflow: hidden; padding: 18px 0; }
.marquee-inner { display: flex; width: max-content; animation: scrollLeft 28s linear infinite; }
.marquee-inner span { white-space: nowrap; font-family: var(--font-h); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); padding: 0 28px; }
.marquee-inner .dot { color: var(--lime); padding: 0 6px; }

/* ── SECTION HELPERS ── */
.sect-wrap { max-width: 1140px; margin: 0 auto; }
section { padding: 100px 5%; }
.sect-tag {
  display: inline-block; color: var(--green);
  font-family: var(--font-h); font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 14px;
}
.sect-h {
  font-family: var(--font-h); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15; letter-spacing: -.02em; color: var(--text);
}
.sect-h em { font-style: normal; color: var(--green); }
.divline { width: 40px; height: 3px; background: var(--green); border-radius: 2px; margin-top: 16px; }
.sect-center { text-align: center; }
.sect-center .divline { margin: 16px auto 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-h); font-weight: 700; font-size: .87rem;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .3s, transform .3s var(--spring), box-shadow .3s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform .4s var(--eOut);
}
.btn-primary:hover { background: var(--dark); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(46,125,50,.35); }
.btn-primary:hover::after { transform: translateX(120%) skewX(-15deg); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--green);
  padding: 13px 32px; border-radius: 50px;
  font-family: var(--font-h); font-weight: 700; font-size: .87rem;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1.5px solid var(--green);
  transition: background .3s, color .3s, transform .3s var(--spring);
}
.btn-outline:hover { background: var(--green); color: var(--white); transform: translateY(-3px); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--green);
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-h); font-weight: 700; font-size: .87rem;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .3s, transform .3s var(--spring);
}
.btn-white:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

.arrow-icon { display: inline-block; transition: transform .3s var(--eOut); }
a:hover .arrow-icon, button:hover .arrow-icon { transform: translateX(4px); }

/* ── DARK BAND ── */
.dark-band { background: var(--deep); padding: 88px 5%; text-align: center; }
.dark-band-title {
  font-family: var(--font-h); font-weight: 900; font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white);
  line-height: 1.3; max-width: 800px; margin: 0 auto 32px; letter-spacing: -.02em;
}
.dark-band-title em { color: var(--accent); font-style: normal; }

/* ── FOOTER ── */
footer { background: var(--deep); color: rgba(255,255,255,.75); padding: 72px 5% 32px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-h); font-weight: 800; font-size: 1.1rem; color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline { font-size: .86rem; color: rgba(255,255,255,.4); max-width: 260px; line-height: 1.75; }
.footer-col h4 {
  font-family: var(--font-h); font-weight: 700; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.5); transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; }
.fsoc {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s var(--spring);
}
.fsoc:hover { background: var(--accent); transform: translateY(-4px); }
.fsoc svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  padding-top: 28px; text-align: center;
  font-size: .78rem; color: rgba(255,255,255,.3);
}
.footer-bottom a { color: var(--accent); transition: color .25s; }
.footer-bottom a:hover { color: var(--white); }

/* ── REVEAL ANIMATIONS ── */
.reveal      { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--eOut), transform .8s var(--eOut); }
.reveal-l    { opacity: 0; transform: translateX(-50px); transition: opacity .9s var(--eOut), transform .9s var(--eOut); }
.reveal-r    { opacity: 0; transform: translateX(50px); transition: opacity .9s var(--eOut), transform .9s var(--eOut); }
.reveal.shown, .reveal-l.shown, .reveal-r.shown { opacity: 1; transform: none; }

/* ── KEYFRAMES ── */
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes riseIn     { to { opacity: 1; transform: none; } }
@keyframes slideUp    { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes trackPulse { 0%,100%{ transform:scaleY(1);opacity:.4; } 50%{ transform:scaleY(.5);opacity:1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ham { display: flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
    padding: 24px 5% 32px; gap: 20px; align-items: flex-start;
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
  }
  .nav-links.open a { color: var(--text); }
  .nav-links.open .btn-nav { color: var(--white) !important; width: 100%; text-align: center; }
  section { padding: 72px 5%; }
  .page-hero { padding: 140px 5% 72px; }
  #demo-banner { font-size: .7rem; gap: 6px; }
  .demo-banner-full { display: none; }
  .btn-primary, .btn-outline, .btn-white { padding: 13px 24px; font-size: .82rem; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .about-btns { flex-direction: column; }
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.wa-float:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 16px 36px rgba(37,211,102,.5); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
.wa-pulse { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: rgba(37,211,102,.35); animation: waPulse 2s infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
