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

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222;
  background-color: #f7f7f7;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e5e5;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
}

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

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

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

.main-nav a:hover {
  background: #e7f5ec;
  color: #008f4f;
}

.btn-llamar-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #00a859, #008542);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 135, 66, 0.3);
}

.btn-llamar-header i {
  font-size: 0.9rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.75)),
    linear-gradient(to bottom right, rgba(0, 120, 70, 0.7), rgba(0, 120, 70, 0.7));
}

.hero-content {
  position: relative;
  padding: 2.2rem 2rem 2.3rem;
  max-width: 640px;
  margin: 4.5rem 0 4rem;
  background: rgba(0,0,0,0.45);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.6);
}

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

.hero h1 span {
  color: #80ffb9;
}

.hero p {
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #00a859, #008542);
  color: #fff;
  box-shadow: 0 12px 25px rgba(0, 135, 66, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-tags span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section.bg-light {
  background: #f4f7fb;
}

.section.bg-dark {
  background: #111827;
  color: #f9fafb;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
  color: #555;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  border: 1px solid #e5e7eb;
}

.service-icon {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
  color: #00a859;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Redes */

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.social-btn.fb {
  background: #1877f2;
}

.social-btn.ig {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}

.fb-embed-wrapper {
  max-width: 360px;
  margin: 0 auto;
}

/* Gallery */

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

.gallery-item {
  border-radius: 12px;
  cursor: pointer;
  height: 160px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.32);
}

.gallery-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1200;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

/* Video */

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.video-highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: #444;
}

.video-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.video-highlights i {
  color: #00a859;
  margin-top: 0.15rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.45);
}

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

/* Contact */

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

.contact-info p {
  color: #e5e7eb;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  font-size: 0.95rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.contact-list i {
  color: #34d399;
  margin-top: 0.15rem;
}

.contact-list a {
  color: #e5e7eb;
}

.contact-form-card {
  background: #0b1220;
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.contact-form-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: #e5e7eb;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #374151;
  background: #020617;
  color: #f9fafb;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #10b981;
  outline-offset: 1px;
}

.full-width {
  width: 100%;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

/* Footer */

.main-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
}

.credit a {
  color: #f9fafb;
}

/* Responsive */

@media (max-width: 900px) {
  .header-content {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-content {
    margin: 4rem 0 3.2rem;
    padding: 1.7rem 1.5rem 1.9rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .redes-grid,
  .video-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .fb-embed-wrapper {
    width: 100%;
    max-width: 420px;
  }

  .contact-form-card {
    padding: 1.4rem 1.3rem;
  }
}

@media (max-width: 640px) {
  .header-content {
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-content {
    margin: 3.2rem 0 3rem;
    padding: 1.4rem 1.3rem 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-item {
    height: 140px;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
}
