:root {
  --green: #0c8b45;
  --green-dark: #076336;
  --sand: #efe3bf;
  --gold: #c68b17;
  --olive: #8b9447;
  --text: #243127;
  --muted: #67746b;
  --white: #ffffff;
  --bg: #f7f4ea;
  --shadow: 0 18px 45px rgba(21, 44, 27, 0.14);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: #f8fff7;
  font-size: .92rem;
}
.topbar-inner, .nav, .hero-actions, .footer-grid, .contact-list, .lang-switch, .social-cards { display: flex; }
.topbar-inner { justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; }
.lang-switch { gap: 8px; }
.lang-btn {
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.lang-btn.active { background: rgba(255,255,255,.18); }
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(247,244,234,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(12,139,69,.08);
}
.nav { justify-content: space-between; align-items: center; min-height: 82px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; box-shadow: 0 8px 16px rgba(0,0,0,.15); }
.brand strong { display: block; font-size: 1.02rem; }
.brand span { color: var(--muted); font-size: .9rem; }
.menu { display: flex; align-items: center; gap: 20px; }
.menu a { font-weight: 600; }
.menu-toggle { display: none; border: 0; background: none; font-size: 1.8rem; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); border: 0; cursor: pointer;
}
.btn:hover { background: var(--green-dark); }
.btn-sm { padding: 10px 18px; }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.6); box-shadow: none; }
.header .btn-outline { border-color: var(--green); color: var(--green); }
.hero {
  position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,23,12,.72), rgba(12,23,12,.35)), url('assets/portada.jpg') center/cover no-repeat;
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; }
.hero-copy {
  max-width: 730px; color: var(--white); padding: 34px; border-radius: 28px;
}
.glass { background: rgba(8, 35, 17, 0.32); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }
.eyebrow, .section-tag {
  display: inline-block; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; font-size: .8rem; color: #d6f3df;
}
.hero h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.08; margin: 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 18px 0 18px; text-wrap: balance; }
.hero p { font-size: 1.08rem; line-height: 1.8; max-width: 640px; }
.hero-actions { gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.section { padding: 86px 0; }
.intro-grid, .split-grid, .contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.section-tag { color: var(--green); margin-bottom: 10px; }
.intro h2, .split-copy h2, .section-head h2, .contact-section h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.intro p, .split-copy p, .section-head p, .contact-section p { color: var(--muted); line-height: 1.85; font-size: 1rem; }
.highlight-card {
  background: linear-gradient(145deg, #fff, #f2eddc); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid rgba(12,139,69,.08);
}
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.stats article { background: #fff; border-radius: 18px; padding: 24px 18px; text-align: center; }
.stats strong { display: block; font-size: 1.8rem; color: var(--green-dark); margin-bottom: 8px; }
.stats span { color: var(--muted); font-size: .95rem; }
.center { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; border: 1px solid rgba(12,139,69,.06);
}
.card:hover { transform: translateY(-6px); }
.icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(12,139,69,.1); margin-bottom: 18px; }
.card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card p { color: var(--muted); line-height: 1.8; }
.split-section { background: linear-gradient(180deg, rgba(198,139,23,.07), rgba(12,139,69,.05)); }
.split-image img, .map-frame, .video-wrap, .gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.bullet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; margin-top: 22px; color: var(--green-dark); font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { position: relative; padding: 0; border: 0; cursor: pointer; background: #fff; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.9); color: var(--green-dark); padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: .92rem;
}
.social-section { background: #fff; }
.social-cards { gap: 20px; justify-content: center; flex-wrap: wrap; }
.social-card {
  display: flex; align-items: center; gap: 16px; min-width: 280px; background: linear-gradient(145deg, #f6f7f1, #fff); padding: 22px; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(12,139,69,.08);
}
.social-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 1.6rem; font-weight: 700; }
.social-card span { display: block; color: var(--muted); margin-top: 4px; }
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.video-wrap iframe, .map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-grid { align-items: stretch; }
.map-frame { min-height: 420px; }
.contact-list { flex-direction: column; gap: 12px; margin-top: 22px; color: var(--green-dark); font-weight: 600; }
.contact-grid { align-items: start; }
.contact-form {
  background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(12,139,69,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid rgba(12,139,69,.16); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; background: #fffefb;
}
.contact-form textarea { resize: vertical; }
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; width: 62px; height: 62px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 18px 35px rgba(37,211,102,.35); z-index: 45;
}
.whatsapp-float svg { width: 34px; fill: #fff; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.82); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 60;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 86vh; border-radius: 20px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; font-size: 2.4rem; background: transparent; color: #fff; border: 0; cursor: pointer;
}
.footer { background: #0f1b12; color: #dce8df; padding: 40px 0 20px; }
.footer-grid { justify-content: space-between; gap: 20px; align-items: start; }
.footer-grid div:last-child { display: flex; flex-direction: column; gap: 10px; }
.footer strong { font-size: 1.15rem; }
.footer p, .footer a { color: #dce8df; }
.credits { border-top: 1px solid rgba(255,255,255,.08); margin-top: 26px; padding-top: 18px; text-align: center; }
.credits a { color: #fff; }
@media (max-width: 1024px) {
  .cards, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-image img { min-height: 320px; }
}
@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; background: rgba(247,244,234,.98); backdrop-filter: blur(14px); border-radius: 22px; padding: 18px; flex-direction: column; align-items: flex-start; gap: 14px; box-shadow: var(--shadow); display: none;
  }
  .menu.open { display: flex; }
  .hero { min-height: 78svh; }
  .hero-copy { padding: 24px; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .stats { grid-template-columns: 1fr; }
  .cards, .gallery-grid, .bullet-grid, .form-row { grid-template-columns: 1fr; }
  .gallery-item img { height: 240px; }
  .footer-grid { flex-direction: column; }
}
