
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #123221;
  background-color: #f4f7f5;
}

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

a {
  color: #0c7b3b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0b3b23;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  background: radial-gradient(circle at top left, #18a45b 0, #0b3b23 40%, #04140b 100%);
  color: #fff;
  padding: 4.5rem 1.5rem 3.5rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(4, 148, 64, 0.15);
  border: 1px solid rgba(111, 255, 176, 0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.badge span.icon {
  font-size: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span.highlight {
  color: #71ffb2;
}

.hero p.lead {
  font-size: 1.02rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  color: #e3f6eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: #71ffb2;
  color: #01321a;
  box-shadow: 0 12px 22px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  background: #90ffd0;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
}

.btn-ghost {
  background: transparent;
  color: #e3f6eb;
  border: 1px solid rgba(227, 246, 235, 0.5);
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.25);
}

.hero-meta {
  font-size: 0.84rem;
  opacity: 0.9;
}

.hero-media {
  position: relative;
}

.hero-card {
  background: rgba(1, 10, 5, 0.82);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(142, 255, 193, 0.35);
  box-shadow: 0 18px 35px rgba(0,0,0,0.7);
}

.hero-main-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.hero-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.74rem;
}

.hero-taglist span {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(4, 148, 64, 0.23);
  border: 1px solid rgba(142, 255, 193, 0.3);
}

.hero-float-card {
  position: absolute;
  right: -0.5rem;
  bottom: -0.8rem;
  background: #f4fff9;
  color: #052617;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.8rem;
  box-shadow: 0 18px 35px rgba(0,0,0,0.6);
  max-width: 14rem;
}

.hero-float-card strong {
  display: block;
  font-size: 0.86rem;
}

.section {
  padding: 3.2rem 1.5rem;
}

.section.alt {
  background: #ffffff;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #0c7b3b;
  margin-bottom: 0.3rem;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: #062214;
}

.section p.section-intro {
  max-width: 40rem;
  color: #587161;
  font-size: 0.98rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 10px 22px rgba(7, 40, 21, 0.09);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.94rem;
  color: #506557;
}

.icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e1f8ec;
  color: #0c7b3b;
  margin-bottom: 0.5rem;
}

.list {
  list-style: none;
  margin-top: 0.3rem;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.94rem;
  color: #425447;
  margin-bottom: 0.2rem;
}

.list li span.bullet {
  font-size: 0.9rem;
  margin-top: 0.1rem;
  color: #0c7b3b;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.gallery-item::after {
  content: "Ver foto";
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  text-align: right;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 24px rgba(7, 40, 21, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #3a5242;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 0.25rem;
  border-radius: 10px;
  border: 1px solid #c2d4c9;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0c7b3b;
  box-shadow: 0 0 0 1px rgba(12, 123, 59, 0.3);
}

.contact-meta {
  font-size: 0.92rem;
  color: #425447;
}

.contact-meta strong {
  color: #0c7b3b;
}

.contact-meta a {
  font-weight: 600;
}

.contact-block {
  margin-top: 1rem;
}

.contact-block p {
  margin-bottom: 0.3rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.chips span {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e3f3eb;
  color: #284430;
}

/* Map & video */
.map-card,
.video-card,
.social-embed-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(7, 40, 21, 0.06);
}

.map-card iframe,
.video-card iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
  min-height: 230px;
}

/* Social bar */
.social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #e6f6ee;
  font-size: 0.85rem;
}

.social-pill span.icon {
  font-size: 1rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  font-size: 1.7rem;
}

.whatsapp-float a:hover {
  transform: translateY(-2px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

/* Footer */
footer {
  border-top: 1px solid #d0dfd4;
  padding: 1.5rem 1.2rem 2.2rem;
  background: #f9fbfa;
  margin-top: 1rem;
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #5f7465;
}

/* Responsive */
@media (max-width: 800px) {
  .hero {
    padding-top: 4rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .grid-2,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    right: 1rem;
    top: 54px;
    flex-direction: column;
    align-items: flex-start;
    background: #0b3b23;
    padding: 0.8rem 1rem 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-float-card {
    position: static;
    margin-top: 0.9rem;
    max-width: 100%;
  }
}
