:root {
  --green: #2f7d4f;
  --green-dark: #1f5a37;
  --sand: #f7f3ec;
  --ink: #1a2421;
  --muted: #5b6b65;
  --line: #e3e0d8;
  --shadow: 0 10px 30px rgba(20, 40, 30, 0.12);
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--green-dark); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f4eade;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

@media (max-width: 760px) {
  .brand-logo { height: 38px; }
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
}

.nav-links a:hover { color: var(--green); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #f4eade;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links.open {
    opacity: 1; transform: none; pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-image { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,30,22,0.35) 0%, rgba(15,30,22,0.65) 100%);
}

.hero-content {
  position: relative;
  padding: 80px 24px;
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin: 0 0 28px;
  opacity: 0.95;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform .15s, background .15s, color .15s;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-light { background: var(--sand); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

/* ---------- Feature grid (canchas) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.feature-card img {
  height: 210px;
  object-fit: cover;
  width: 100%;
}
.feature-card h3 {
  margin: 18px 20px 6px;
  font-size: 1.15rem;
}
.feature-card p {
  margin: 0 20px 22px;
  color: var(--muted);
}

/* ---------- Owners ---------- */
.owners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.owner-card {
  margin: 0;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.owner-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.owner-card figcaption {
  padding: 22px 24px 26px;
}
.owner-card h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: var(--green-dark);
}
.owner-card p { margin: 0; color: var(--muted); }

.story {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--ink);
  border-left: 3px solid var(--green);
  padding-left: 18px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .35s;
}
.gallery img:hover { transform: scale(1.02); }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 820px) {
  .location-grid { grid-template-columns: 1fr; }
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.info-list strong { color: var(--ink); margin-right: 6px; }

.directions-title { margin: 24px 0 8px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Reviews ---------- */
.reviews-block { margin-top: 56px; }

.reviews-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.reviews-head h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.reviews-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.95rem;
}
.reviews-link:hover { text-decoration: underline; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(20, 40, 30, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-meta { line-height: 1.25; }
.review-name {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}
.review-date {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.lg-badge {
  display: inline-block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--sand);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: 1px;
}

.review-stars {
  color: #f7b500;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.review-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d6d9d4;
  padding: 36px 0;
  margin-top: 20px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer .brand-name {
  color: white;
  font-weight: 700;
  margin: 0 0 4px;
}
.site-footer p { margin: 0; font-size: 0.92rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px;
  animation: lb-fade .15s ease-out;
}
.lightbox[hidden] { display: none; }

@keyframes lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-close:focus-visible { outline: 3px solid white; outline-offset: 2px; }

@media (max-width: 760px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  z-index: 60;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.whatsapp-fab:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}
.whatsapp-fab:focus-visible {
  outline: 3px solid #128c4f;
  outline-offset: 3px;
}
.whatsapp-fab svg { width: 34px; height: 34px; }

@media (max-width: 760px) {
  .whatsapp-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .whatsapp-fab svg { width: 30px; height: 30px; }
}
