/* --- Base --- */
:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --accent: #0f2b46;
  --light: #f6fff7;
  --text: #102018;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif; color: var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
.wrap { width: min(1100px, 92%); margin: 0 auto; }

/* --- Topbar --- */
.topbar { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); background: rgba(255,255,255,.85); border-bottom: 1px solid #e8efe8; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--accent); }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.topbar nav a { margin-left: 1rem; }
.topbar .btn { background: var(--primary); color: white; padding: .55rem .9rem; border-radius: 999px; }
.topbar .btn:hover { background: var(--primary-dark); }

/* --- Hero --- */
.hero { position: relative; min-height: 74vh; display: grid; place-items: center; background: radial-gradient(ellipse at center, rgba(46,125,50,.20), transparent 60%); }
.hero-inner { text-align: center; padding: 4rem 1rem; }
.hero h1 { font-size: clamp(2rem, 3vw + 1rem, 3.2rem); margin: 0 0 .6rem; color: var(--accent); }
.hero p { font-size: clamp(1rem, 1.2vw + .5rem, 1.2rem); }
.cta { display: inline-flex; gap: .8rem; margin-top: 1rem; }
.btn { background: var(--primary); color: #fff; padding: .9rem 1.1rem; border-radius: .8rem; font-weight: 700; }
.btn:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); padding: .8rem 1rem; border-radius: .8rem; font-weight: 700; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.slider { position: absolute; inset: 0; z-index: -1; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.slider img.active { opacity: 1; }

/* --- Sections --- */
.section { padding: 3.5rem 0; }
.features .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.card { background: #fff; border: 1px solid #ebf0eb; border-radius: 14px; padding: 1.2rem; box-shadow: 0 6px 20px rgba(16,32,24,.05); }
.gallery .grid { columns: 2 280px; column-gap: 1rem; }
.gallery .grid a { break-inside: avoid; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; display: block; }
.gallery .grid img { width: 100%; height: auto; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox .close { position: absolute; top: 20px; right: 20px; font-size: 2rem; border: none; background: transparent; color: #fff; cursor: pointer; }

.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; box-shadow: 0 10px 40px rgba(15,43,70,.15); }
.video-responsive iframe { position: absolute; top:0; left: 0; width: 100%; height: 100%; border: 0; }

.socials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
.map-responsive { position: relative; padding-bottom: 50%; height: 0; }
.map-responsive iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:0; }

.contact .contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; }
.contact form { display: grid; gap: .8rem; }
.contact label { display: grid; gap: .35rem; font-weight: 600; }
.contact input, .contact textarea { border: 1px solid #ccd7cc; border-radius: 12px; padding: .8rem 1rem; font: inherit; }
.contact .mini { font-size: .85rem; }
.muted { color: #577; }
.cards { margin-top: .6rem; display: grid; gap: .5rem; }
.card-line { background: #fff; border: 1px dashed #cfe6cf; padding: .6rem .8rem; border-radius: 10px; }

/* --- Footer --- */
.footer { background: linear-gradient(180deg, #f7fbf7, #eef6ee); border-top: 1px solid #e8efe8; padding: 1.2rem 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }

/* --- WhatsApp float --- */
.wa-float { position: fixed; right: 18px; bottom: 18px; background: #25D366; color: #fff; padding: .8rem 1rem; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.wa-float:hover { background: #1ebe57; }

@media (max-width: 900px) {
  .contact .contact-grid { grid-template-columns: 1fr; }
}
