:root{
  --bg:#f3faf5; --fg:#10261d; --muted:#4b6b5c; --card:#ffffff; --border:#d4e6db;
  --primary:#1a9d5e; --primary-d:#157f4c; --primary-glow:#34c97e; --primary-fg:#ffffff;
  --secondary:#e5f3ec; --surface-dark:#0f2e22; --surface-dark-fg:#e8f5ee;
  --radius:0.85rem; --shadow-glow:0 18px 50px -18px rgba(26,157,94,.45);
  --shadow-card:0 24px 55px -30px rgba(20,90,55,.3);
  --grad:linear-gradient(135deg,#168a52,#2bb878);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Inter",system-ui,sans-serif;background-color:var(--bg);color:var(--fg);
  line-height:1.55;overflow-x:hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -8%,rgba(40,180,110,.16),transparent),
    radial-gradient(ellipse 55% 45% at 88% 18%,rgba(45,184,120,.1),transparent),
    radial-gradient(ellipse 50% 40% at 8% 70%,rgba(26,157,94,.07),transparent);
  background-attachment:fixed;
}
h1,h2,h3,h4{font-family:"Space Grotesk",system-ui,sans-serif;letter-spacing:-.02em;line-height:1.1;font-weight:600}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
ul{list-style:none}
.container{max-width:72rem;margin:0 auto;padding:0 1.25rem}
@media(min-width:768px){.container{padding:0 2.5rem}}
.text-gradient{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.muted{color:var(--muted)}
.glass-card{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(240,250,244,.85));border:1px solid var(--border);backdrop-filter:blur(10px)}
.surface-dark{background:radial-gradient(ellipse 60% 80% at 15% 0%,rgba(40,150,95,.4),transparent),var(--surface-dark);color:var(--surface-dark-fg)}

/* chip */
.chip{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(26,157,94,.3);background:rgba(26,157,94,.1);padding:.375rem .875rem;border-radius:999px;font-size:.75rem;font-weight:500;color:var(--primary)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:.6rem;padding:.75rem 1.5rem;font-weight:500;font-size:.95rem;cursor:pointer;transition:.2s;border:none}
.btn-primary{background:var(--primary);color:var(--primary-fg);box-shadow:var(--shadow-glow)}
.btn-primary:hover{transform:translateY(-2px)}
.btn-outline{border:1px solid var(--border);color:var(--fg);background:transparent}
.btn-outline:hover{border-color:rgba(26,157,94,.4)}

/* navbar */
header.nav{position:fixed;inset:0 0 auto 0;z-index:50;transition:.3s;border-bottom:1px solid transparent}
header.nav.scrolled{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(240,250,244,.85));backdrop-filter:blur(10px);border-bottom:1px solid var(--border);box-shadow:var(--shadow-card)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0}
.logo{display:flex;align-items:center;gap:.5rem;font-family:"Space Grotesk";font-weight:600}
.logo img{height:2rem;width:2rem;border-radius:.5rem;border:1px solid rgba(26,157,94,.3);object-fit:cover}
.logo strong{color:var(--primary)}
.nav-links{display:none;align-items:center;gap:1.75rem;font-size:.9rem}
.nav-links a{color:var(--muted);transition:.2s}
.nav-links a:hover,.nav-links a.active{color:var(--fg)}
.nav-cta{display:none}
@media(min-width:768px){.nav-links{display:flex}.nav-cta{display:inline-flex}}
.burger{display:flex;flex-direction:column;gap:.35rem;height:2.25rem;width:2.25rem;align-items:center;justify-content:center;background:none;border:none;cursor:pointer}
.burger span{height:2px;width:1.25rem;background:var(--fg);transition:.25s}
@media(min-width:768px){.burger{display:none}}
.mobile-menu{display:none;flex-direction:column;gap:.25rem;padding:1rem 1.25rem;border-top:1px solid var(--border);background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(240,250,244,.9))}
.mobile-menu.open{display:flex}
.mobile-menu a{padding:.625rem .75rem;border-radius:.6rem;color:var(--muted)}
.mobile-menu a:hover{background:var(--secondary);color:var(--fg)}

/* sections */
section{scroll-margin-top:80px}
.pad{padding:3.5rem 0}
.sec-head{max-width:42rem}
.sec-head.center{margin:0 auto;text-align:center}
.sec-head h2{margin-top:1rem;font-size:1.875rem}
@media(min-width:640px){.sec-head h2{font-size:2.25rem}}
.sec-head p{margin-top:.75rem;color:var(--muted)}

/* hero */
.hero{position:relative;overflow:hidden;padding:7rem 0 5rem;text-align:center}
.hero .blob{position:absolute;border-radius:999px;filter:blur(70px);pointer-events:none}
.hero h1{font-size:2.5rem;line-height:1.1;margin-top:1.5rem}
@media(min-width:640px){.hero h1{font-size:3rem}}
@media(min-width:768px){.hero h1{font-size:3.75rem}}
.hero p.lead{max-width:38rem;margin:1.25rem auto 0;font-size:1.125rem;color:var(--muted)}
.hero-actions{margin-top:2rem;display:flex;flex-direction:column;gap:.75rem;align-items:center;justify-content:center}
@media(min-width:640px){.hero-actions{flex-direction:row}}

/* grids */
.cards{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem;margin-top:1.75rem}
.service{flex:1 1 100%;max-width:24rem;display:flex;flex-direction:column;border-radius:1rem;padding:1.5rem;transition:.3s;position:relative}
@media(min-width:640px){.service{flex-basis:calc(50% - .625rem)}}
@media(min-width:1024px){.service{flex-basis:calc(33.333% - .84rem)}}
.service:hover{transform:translateY(-6px);border-color:rgba(26,157,94,.4);box-shadow:var(--shadow-card)}
.service.highlight{border-color:rgba(26,157,94,.4);box-shadow:var(--shadow-glow)}
.service .badge{position:absolute;right:1rem;top:1rem;border-radius:999px;padding:.25rem .625rem;font-size:.65rem;font-weight:600}
.service .badge.promo{background:var(--primary);color:var(--primary-fg)}
.service .badge.plain{background:var(--secondary);color:var(--muted)}
.icon-box{display:grid;place-items:center;height:2.75rem;width:2.75rem;border-radius:.75rem;background:rgba(26,157,94,.15);color:var(--primary)}
.service h3{margin-top:1rem;font-size:1.125rem}
.service .desc{margin-top:.5rem;font-size:.875rem;color:var(--muted)}
.service ul{margin-top:1rem;display:flex;flex-direction:column;gap:.5rem;flex:1;font-size:.875rem}
.service li{display:flex;align-items:flex-start;gap:.5rem;color:var(--muted)}
.service li svg{margin-top:.15rem;flex-shrink:0;color:var(--primary)}
.service .svc-btn{margin-top:1.25rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:.6rem;border:1px solid rgba(26,157,94,.4);background:rgba(26,157,94,.1);padding:.625rem 1rem;font-size:.875rem;font-weight:500;color:var(--primary);transition:.2s}
.service .svc-btn:hover{background:var(--primary);color:var(--primary-fg)}

.compl{margin-top:1.25rem;border-radius:1rem;padding:1.5rem}
.compl h3{font-size:.875rem;color:var(--primary)}
.compl-grid{margin-top:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr}
@media(min-width:640px){.compl-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.compl-grid{grid-template-columns:repeat(4,1fr)}}
.compl-grid div{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--muted)}
.compl-grid svg{color:var(--primary)}

/* projects */
.proj-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem}
.link-arrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;color:var(--primary)}
.link-arrow:hover{text-decoration:underline}
.proj-grid{margin-top:2rem;display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){.proj-grid{grid-template-columns:1fr 1fr}}
.proj-grid.all{grid-template-columns:1fr}
@media(min-width:640px){.proj-grid.all{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.proj-grid.all{grid-template-columns:repeat(3,1fr)}}
.project{border-radius:1rem;overflow:hidden;transition:.3s}
.project:hover{transform:translateY(-4px);border-color:rgba(26,157,94,.4);box-shadow:var(--shadow-card)}
.project .thumb{aspect-ratio:16/10;overflow:hidden;border-bottom:1px solid var(--border)}
.project .thumb img{height:100%;width:100%;object-fit:cover;transition:.5s}
.project:hover .thumb img{transform:scale(1.05)}
.project .body{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem}
.project .cat{font-size:.75rem;color:var(--primary)}
.project h3{margin-top:.125rem;font-size:1rem}
.project .go{display:grid;place-items:center;height:2rem;width:2rem;flex-shrink:0;border-radius:.5rem;border:1px solid var(--border);color:var(--muted);transition:.2s}
.project:hover .go{border-color:rgba(26,157,94,.4);color:var(--primary)}

/* about */
.about{display:grid;gap:2.5rem;align-items:center;grid-template-columns:1fr}
@media(min-width:768px){.about{grid-template-columns:280px 1fr}}
.about-photo{margin:0 auto;width:100%;max-width:280px;perspective:1000px}
.about-photo .frame{border-radius:1.6rem;background:linear-gradient(135deg,rgba(26,157,94,.45),rgba(26,157,94,.1),rgba(52,201,126,.4));padding:.375rem;box-shadow:var(--shadow-glow);animation:tilt 8s ease-in-out infinite;transform-style:preserve-3d}
.about-photo .frame>div{overflow:hidden;border-radius:1.25rem;border:1px solid rgba(26,157,94,.25);background:var(--card)}
.about-photo img{aspect-ratio:1;width:100%;object-fit:cover}
.about h2{margin-top:1rem;font-size:1.875rem}
@media(min-width:640px){.about h2{font-size:2.25rem}}
.about p{margin-top:.75rem;color:var(--muted)}
@keyframes tilt{0%,100%{transform:perspective(900px) rotateY(-9deg) rotateX(5deg) translateY(0)}50%{transform:perspective(900px) rotateY(9deg) rotateX(-4deg) translateY(-10px)}}

/* process chart */
.chart{border-radius:1.5rem;overflow:hidden;box-shadow:var(--shadow-card)}
.chart-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid var(--border);padding:1rem 1.5rem}
.chart-head .dot{height:.625rem;width:.625rem;border-radius:999px;background:var(--primary);display:inline-block;margin-right:.5rem}
.chart-head .ttl{font-size:.875rem;font-weight:600}
.chart-head .sub{font-size:.75rem;color:var(--muted)}
.chart-body{padding:1.5rem}
.bars{display:flex;align-items:flex-end;gap:.5rem;min-height:180px}
@media(min-width:640px){.bars{gap:1rem}}
.bar-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.5rem}
.bar-col .pct{font-size:.75rem;font-weight:600;color:var(--primary)}
.bar{width:100%;border-radius:.5rem .5rem 0 0;background:var(--primary);transform-origin:bottom;animation:grow 1s cubic-bezier(.22,1,.36,1) both}
.bar-col .num{display:grid;place-items:center;height:1.75rem;width:1.75rem;border-radius:.5rem;background:rgba(26,157,94,.12);font-family:"Space Grotesk";font-size:.75rem;font-weight:600;color:var(--primary)}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.legend{margin-top:1.5rem;display:grid;gap:.75rem;border-top:1px solid var(--border);padding-top:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){.legend{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.legend{grid-template-columns:repeat(3,1fr)}}
.legend .item{display:flex;align-items:flex-start;gap:.75rem}
.legend .num{margin-top:.125rem;display:grid;place-items:center;height:1.75rem;width:1.75rem;flex-shrink:0;border-radius:.5rem;background:rgba(26,157,94,.12);font-family:"Space Grotesk";font-size:.75rem;font-weight:600;color:var(--primary)}
.legend .item p:first-child{font-size:.875rem;font-weight:600}
.legend .item p:last-child{font-size:.75rem;color:var(--muted)}

/* stats */
.stats{display:grid;gap:1rem;grid-template-columns:1fr 1fr}
@media(min-width:1024px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{border-radius:1rem;padding:1.5rem;text-align:center;transition:.3s}
.stat:hover{transform:translateY(-4px);border-color:rgba(26,157,94,.4);box-shadow:var(--shadow-card)}
.stat .v{font-family:"Space Grotesk";font-size:2.25rem;font-weight:600}
.stat .l{margin-top:.5rem;font-size:.875rem;font-weight:500}
.stat .s{margin-top:.125rem;font-size:.75rem;color:var(--muted)}

/* faq */
.faq{display:flex;flex-direction:column;gap:.75rem}
.faq .q{border-radius:.75rem;overflow:hidden}
.faq button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;text-align:left;font-weight:500;background:none;border:none;cursor:pointer;color:var(--fg);font-size:1rem}
.faq button svg{flex-shrink:0;color:var(--primary);transition:transform .25s}
.faq .q.open button svg{transform:rotate(180deg)}
.faq .a{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 1.25rem}
.faq .q.open .a{max-height:400px;padding-bottom:1.25rem}
.faq .a p{font-size:.875rem;color:var(--muted)}

/* final cta */
.cta-box{position:relative;overflow:hidden;border-radius:1.5rem;border-color:rgba(26,157,94,.3);padding:3rem 1.5rem;text-align:center;box-shadow:var(--shadow-glow)}
@media(min-width:768px){.cta-box{padding:4rem 3rem}}
.cta-box .blob{position:absolute;border-radius:999px;filter:blur(70px);pointer-events:none}
.cta-box h2{margin:1rem auto 0;max-width:36rem;font-size:1.875rem}
@media(min-width:640px){.cta-box h2{font-size:2.25rem}}
.cta-box p{margin:.75rem auto 0;max-width:34rem;color:var(--muted)}

/* footer */
footer.site{margin-top:2.5rem;padding:2.5rem 0}
.foot-inner{display:flex;flex-direction:column;align-items:center;gap:1.5rem}
@media(min-width:768px){.foot-inner{flex-direction:row;justify-content:space-between}}
.foot-logo{display:flex;align-items:center;gap:.5rem;font-family:"Space Grotesk";font-weight:600}
.foot-logo img{height:2rem;width:2rem;border-radius:.5rem;border:1px solid rgba(52,201,126,.5);object-fit:cover}
.foot-logo strong{color:var(--primary-glow)}
.socials{display:flex;align-items:center;gap:.75rem}
.socials a{display:grid;place-items:center;height:2.25rem;width:2.25rem;border-radius:.5rem;border:1px solid rgba(255,255,255,.2);opacity:.8;transition:.2s}
.socials a:hover{border-color:var(--primary-glow);color:var(--primary-glow)}
.copy{font-size:.875rem;opacity:.7}

/* whatsapp float */
.wa-float{position:fixed;bottom:1.25rem;right:1.25rem;z-index:50;display:grid;place-items:center;height:3.5rem;width:3.5rem;border-radius:999px;background:var(--primary);color:var(--primary-fg);box-shadow:var(--shadow-glow);transition:transform .2s}
.wa-float:hover{transform:scale(1.1)}

/* reveal */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
.reveal.in{opacity:1;transform:none}

.hidden-page{display:none}
