:root{
  --bg1:#dfe6ee;          /* blue-gray mist */
  --bg2:#eee7dd;          /* warm sand */
  --surface:rgba(255,255,255,.62);
  --surface2:rgba(255,255,255,.72);
  --text:#0b1220;         /* near-black navy */
  --muted:rgba(11,18,32,.68);
  --line:rgba(11,18,32,.10);
  --accent:#4C6D16;       /* verde oscuro (logo) */
  --accent2:#80D000;      /* verde vivo (logo) */
  --shadow: 0 16px 40px rgba(11,18,32,.14);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica,Arial;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(128,208,0,.18), transparent 60%),
    radial-gradient(1100px 640px at 110% 20%, rgba(76,109,22,.16), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
}
a{color:inherit; text-decoration:none}
.container{max-width:1120px; margin:0 auto; padding:0 18px}

/* Top bar */
.header{
  position:sticky; top:0; z-index:20;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.headerbar{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.2px}
.brand img{height:34px; width:auto; display:block}
.nav{display:flex; gap:12px; flex-wrap:wrap}
.nav a{
  padding:10px 12px; border-radius:12px;
  color:var(--muted);
}
.nav a:hover{background:rgba(11,18,32,.06); color:var(--text)}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  background: rgba(76,109,22,.10);
  color: var(--text);
  border: 1px solid rgba(76,109,22,.22);
  font-weight:700;
}

/* Hero */
.hero{padding:24px 0 10px}
.hero-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:22px; align-items:stretch}
@media (max-width: 920px){ .hero-grid{grid-template-columns:1fr} }

.hero-card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-media img{width:100%; height:240px; object-fit:cover; display:block; filter:saturate(1.02) contrast(1.02)}
.hero-body{padding:18px 18px 16px}
.h1{font-size:28px; line-height:1.15; margin:0 0 10px}
.lead{margin:0 0 14px; color:var(--muted)}
.cta-row{display:flex; gap:10px; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 14px; border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.55);
  color: var(--text);
  font-weight:800;
}
.btn:hover{background: rgba(255,255,255,.75)}
.btn.primary{
  background: linear-gradient(180deg, rgba(76,109,22,.92), rgba(56,86,15,.92));
  border-color: rgba(76,109,22,.35);
  color:#fff;
}
.btn.primary:hover{filter:brightness(1.03)}

/* Sections */
.section{padding:18px 0}
.section h2{margin:10px 0 12px; font-size:20px}

/* Cards grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr;} }

.card{
  background: var(--surface2);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(11,18,32,.12);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.card:hover{transform: translateY(-2px); border-color: rgba(128,208,0,.24); background: rgba(255,255,255,.82);}
.card img{width:100%; height:180px; object-fit:cover; object-position:center; display:block;}
.card .body{padding:12px 12px 14px}
.card .title{margin:0 0 6px; font-weight:900}
.card .meta{margin:0; color:var(--muted); font-size:14px}

/* Footer */
.footer{
  padding:24px 0 28px;
  border-top:1px solid var(--line);
  margin-top:18px;
  color:var(--muted);
}
.footer a{color:var(--text); text-decoration:underline; text-decoration-color: rgba(76,109,22,.35)}

/* WhatsApp floating button (small) */
.wa{
  position:fixed; right:16px; bottom:16px; z-index:40;
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.70);
  border:1px solid rgba(76,109,22,.20);
  box-shadow: 0 14px 30px rgba(11,18,32,.18);
  color: var(--text);
  font-weight:900;
  font-size:14px;
}
.wa img{width:18px; height:18px}
.wa:hover{border-color: rgba(76,109,22,.30)}

/* Force ALL hero images by filename */
img[src*="/assets/hero-"]{height:240px !important; width:100% !important; object-fit:cover !important;}
img[src*="/assets/placeholder-hero"]{height:240px !important; width:100% !important; object-fit:cover !important;}

/* Card image fit guard */
.card img{max-width:100%;}

/* Generic cover helpers */
.cover{object-fit:cover;object-position:center;}





/* Financing block (bottom, centered) */
.finance-bottom{padding-top: 6px; padding-bottom: 6px;}
.finance-box{
  max-width: 920px;
  margin: 0 auto 14px auto;
  background: linear-gradient(135deg, rgba(76,109,22,.12), rgba(255,255,255,.72));
  border: 1px solid rgba(76,109,22,.22);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 18px 42px rgba(11,18,32,.14);
  padding: 18px 18px 16px;
}
.finance-kicker{
  display:inline-block;
  font-weight:950;
  font-size:12px;
  letter-spacing:.14em;
  text-transform: uppercase;
  color: rgba(11,18,32,.72);
  background: rgba(255,255,255,.60);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
  margin-bottom:10px;
}
.finance-title{
  margin:0 0 8px 0;
  font-size:22px;
  font-weight:950;
  line-height:1.15;
}
.finance-text{margin:0 0 12px; color:var(--muted);}
.finance-cta{margin-bottom: 10px;}
.finance-subtitle{margin:12px 0 8px; font-size:16px;}
.finance-muted{margin:0 0 10px; color:var(--muted);}
.finance-list{margin:8px 0 10px; padding-left:18px; color:var(--muted);}
.finance-list li{margin:6px 0}
.finance-note{margin:10px 0 0; color:var(--muted)}
.finance-legal{
  margin-top:10px;
  font-size:12px;
  line-height:1.35;
  color: rgba(11,18,32,.65);
}
