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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #123321;
  background: #f7f8f4;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 244, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e7dd;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-area img {
  width: 56px;
  height: auto;
}

.logo-text h1 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.logo-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #4b6b4f;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: #1abc9c;
  color: #ffffff;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  background: radial-gradient(circle at top left, #d9fdd6 0, #f7f8f4 45%, #f7f8f4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #35513b;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #1abc9c, #18a158);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(24, 161, 88, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(24, 161, 88, 0.35);
}

.btn.ghost {
  border-color: #18a158;
  color: #18a158;
  background: #e7f6ed;
}

.btn.ghost:hover {
  background: #18a158;
  color: #ffffff;
}

.hero-contact,
.hero-location {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.hero-contact .label,
.hero-location .label {
  font-weight: 600;
  margin-right: 0.25rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: #eef4eb;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #48634b;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.icon-list {
  padding-left: 1rem;
}

.icon-list li {
  margin-bottom: 0.4rem;
}

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

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}

.card h4 {
  margin-top: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  object-fit: cover;
  height: 180px;
  width: 100%;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 1rem;
}

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

/* Video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Redes */
.fb-embed-wrapper {
  max-width: 100%;
  overflow: hidden;
}

/* Contacto */
.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

input,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #c8d5c5;
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #18a158;
  box-shadow: 0 0 0 1px rgba(24, 161, 88, 0.2);
}

/* Floating buttons */
.whatsapp-float,
.call-float {
  position: fixed;
  right: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  z-index: 80;
}

.whatsapp-float {
  bottom: 1.25rem;
  background: #25d366;
}

.call-float {
  bottom: 4.3rem;
  background: #18a158;
}

.site-footer {
  background: #0b1e10;
  color: #d6e5d4;
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}

.site-footer a {
  color: #8fe3b1;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Buttons social */
.btn.facebook {
  background: #1877f2;
  color: #ffffff;
}

.btn.facebook:hover {
  background: #145fbe;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 2.5rem;
  }

  .whatsapp-float,
  .call-float {
    width: 48px;
    height: 48px;
    right: 0.9rem;
  }
}
