:root{
  --bg: #f2e1cc;
  --surface: rgba(255,255,255,.72);
  --surface2: rgba(255,255,255,.9);
  --text: #1b1b1b;
  --muted: rgba(27,27,27,.72);
  --brand: #1f4b3a; /* deep green */
  --brand2:#2a7a6f; /* teal */
  --accent:#c6882a; /* warm */
  --shadow: 0 20px 50px rgba(0,0,0,.18);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(42,122,111,.22), transparent 60%),
    radial-gradient(1000px 500px at 90% 10%, rgba(198,136,42,.20), transparent 55%),
    linear-gradient(180deg, var(--bg), #f6efe6);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}
.container{width:min(1120px, 92vw); margin:0 auto}
.pill{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.45rem .8rem;
  border-radius:999px;
  background: rgba(31,75,58,.10);
  border:1px solid rgba(31,75,58,.18);
  color:var(--brand);
  font-weight:600;
  font-size:.9rem;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  padding:.95rem 1.1rem;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background: var(--surface2);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  cursor:pointer;
  font-weight:700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.14)}
.btn.primary{
  background: linear-gradient(135deg, var(--brand), #113125);
  color:white; border-color: rgba(255,255,255,.18);
}
.btn.secondary{
  background: linear-gradient(135deg, var(--brand2), #1f5b54);
  color:white; border-color: rgba(255,255,255,.16);
}
.btn.ghost{
  background: rgba(255,255,255,.35);
}
.btn.small{padding:.7rem .9rem; font-size:.95rem}
.btn:focus{outline:3px solid rgba(42,122,111,.35); outline-offset:2px}

header{
  position:sticky; top:0; z-index:60;
  backdrop-filter: blur(14px);
  background: rgba(246,239,230,.72);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:.75rem 0;
}
.brand{
  display:flex; align-items:center; gap:.75rem;
  font-weight:900;
  letter-spacing:.2px;
}
.brand img{width:44px; height:44px; border-radius:12px; box-shadow: 0 10px 18px rgba(0,0,0,.15)}
.brand span{display:flex; flex-direction:column; line-height:1.05}
.brand small{font-weight:700; color:var(--muted)}
.navlinks{display:flex; gap:1rem; align-items:center}
.navlinks a{
  padding:.55rem .7rem;
  border-radius:999px;
  color:rgba(0,0,0,.78);
  font-weight:700;
}
.navlinks a:hover{background: rgba(31,75,58,.10); color:var(--brand)}
.mobile-toggle{display:none}

.hero{
  padding: 2.2rem 0 1.2rem;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.4rem;
  align-items:stretch;
}
.hero-card{
  border-radius: calc(var(--radius) + 8px);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.6);
  border:1px solid rgba(0,0,0,.06);
  position:relative;
}
.hero-media{
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)),
    url("assets/img/1.jpg");
  background-size: cover;
  background-position: center;
  display:flex;
  align-items:flex-end;
}
.hero-media .overlay{
  padding: 1.6rem;
  color: white;
  width:100%;
}
.hero h1{
  margin:.6rem 0 .55rem;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height:1.05;
  letter-spacing:-.6px;
}
.hero p{margin:0; color: rgba(255,255,255,.88); font-size:1.05rem; max-width: 52ch}
.hero-actions{display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.05rem}
.hero-side{
  padding: 1.15rem;
  display:flex;
  flex-direction:column;
  gap: 1rem;
}
.panel{
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.panel h3{margin:.2rem 0 .35rem}
.panel p{margin:0; color: var(--muted); line-height:1.45}
.badge-row{display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.7rem}
.icon{width:20px; height:20px; display:inline-block}
.divider{height:1px; background: rgba(0,0,0,.08); margin: .9rem 0}

.section{padding: 2.2rem 0}
.section h2{
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  margin: 0 0 .3rem;
  letter-spacing:-.3px;
}
.section .lead{margin:0 0 1.1rem; color:var(--muted); max-width: 70ch; line-height:1.5}

.cards{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.card{
  grid-column: span 6;
  background: var(--surface);
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  overflow:hidden;
  position:relative;
}
.card h3{margin:.15rem 0 .35rem}
.card p{margin:0; color:var(--muted); line-height:1.5}
.card .meta{display:flex; gap:.6rem; flex-wrap:wrap; margin-top:.8rem}
.kpi{
  display:inline-flex; align-items:center; gap:.45rem;
  background: rgba(255,255,255,.7);
  border:1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  padding:.4rem .65rem;
  font-weight:800; font-size:.92rem;
}
.card .thumb{
  width:88px; height:88px;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  flex:0 0 auto;
}
.card-head{
  display:flex; gap: 1rem; align-items:flex-start;
}
.card .actions{display:flex; gap:.6rem; flex-wrap:wrap; margin-top: 1rem}
.card.feature{
  grid-column: span 12;
  padding: 0;
}
.feature-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:0;
}
.feature-media{
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)),
    url("assets/img/2.jpg");
  background-size: cover;
  background-position: center;
}
.feature-content{
  padding: 1.2rem;
}
.list{
  margin:.8rem 0 0;
  padding-left:1.1rem;
  color:var(--muted);
  line-height:1.55;
}
.list li{margin:.35rem 0}

.carousel{
  position:relative;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(0,0,0,.06);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.carousel-track{
  display:flex;
  transition: transform .45s ease;
  will-change: transform;
}
.slide{
  min-width:100%;
  position:relative;
  user-select:none;
}
.slide img{
  width:100%;
  height: 420px;
  object-fit: cover;
}
.slide .caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 1rem 1rem .9rem;
  color:white;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.68));
  font-weight:800;
}
.carousel-controls{
  position:absolute;
  inset: auto 12px 12px 12px;
  display:flex;
  justify-content:space-between;
  pointer-events:none;
}
.carousel-controls button{
  pointer-events:auto;
  width:44px; height:44px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color:white;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter: blur(6px);
}
.dots{
  display:flex; gap:.35rem; justify-content:center; padding:.75rem 0 0;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(31,75,58,.22);
  border:1px solid rgba(31,75,58,.20);
  cursor:pointer;
}
.dot.active{background: var(--brand)}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: .8rem;
}
.gimg{
  grid-column: span 4;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  cursor:pointer;
  background: rgba(255,255,255,.55);
}
.gimg img{width:100%; height: 190px; object-fit: cover}
.gimg span{display:block; padding:.55rem .7rem; font-weight:800; color:rgba(0,0,0,.72)}
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.70);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
  padding: 4vh 4vw;
}
.lightbox.open{display:flex}
.lightbox figure{
  width:min(1000px, 92vw);
  margin:0;
}
.lightbox img{
  width:100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.lightbox .close{
  position:absolute;
  top: 14px; right: 14px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color:white;
  cursor:pointer;
}

.video{
  border-radius: calc(var(--radius) + 8px);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.55);
}
.video iframe{width:100%; height: 460px; border:0}

.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.field{display:flex; flex-direction:column; gap:.35rem}
label{font-weight:800}
input, textarea{
  width:100%;
  padding:.85rem .95rem;
  border-radius: 14px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.82);
  font: inherit;
}
textarea{grid-column: span 2; min-height: 140px; resize: vertical}
.form .row{grid-column: span 2; display:flex; gap:.7rem; flex-wrap:wrap; align-items:center}

.map{
  border-radius: calc(var(--radius) + 8px);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.55);
}
.map iframe{width:100%; height: 420px; border:0}

footer{
  padding: 2.2rem 0;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(246,239,230,.65);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items:start;
}
footer p{margin:.35rem 0; color:var(--muted); line-height:1.5}
footer .fine{font-size:.92rem}

.whatsapp-float{
  position:fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display:flex; flex-direction:column; gap:.6rem;
}
.whatsapp-float a{
  width:56px; height:56px;
  border-radius: 18px;
  display:grid; place-items:center;
  background: #25D366;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
}
.whatsapp-float a.call{
  background: linear-gradient(135deg, var(--brand), #113125);
}

.fade-in{opacity:0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease}
.fade-in.show{opacity:1; transform:none}

@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr; }
  .hero-media{min-height: 420px}
  .feature-inner{grid-template-columns: 1fr}
  .feature-media{min-height: 260px}
  .card{grid-column: span 12}
  .gallery-grid{grid-template-columns: repeat(6,1fr)}
  .gimg{grid-column: span 6}
  .form{grid-template-columns: 1fr}
  textarea{grid-column: span 1}
  .footer-grid{grid-template-columns:1fr}
  .navlinks{
    position:fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 72px;
    width:min(560px, 92vw);
    background: rgba(246,239,230,.92);
    border:1px solid rgba(0,0,0,.08);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: .6rem;
    display:none;
    flex-wrap:wrap;
    justify-content:center;
    z-index: 70;
  }
  .navlinks.open{display:flex}
  .mobile-toggle{display:inline-flex}
}