/* ------------------------------
   RESET & BASE
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar-logo {
  height: 56px;
}

.navbar-brand-title {
  font-size: 18px;
  font-weight: 700;
}

.navbar-brand-subtitle {
  font-size: 12px;
  color: #6b7280;
}

.navbar-nav {
  display: flex;
  gap: 24px;
}

.navbar-nav a {
  font-weight: 500;
  color: #374151;
}

.navbar-nav a.active {
  color: #00994d;
  font-weight: 600;
}

/* BOTÓN VALIDAR CERTIFICADO (NAVBAR) */
.btn-validate {
  padding: 8px 14px;
  background-color: #0A5E3D;
  color: white !important;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-validate:hover {
  background-color: #084b30;
}

/* ------------------------------
   HERO
------------------------------ */
.hero {
  text-align: center;
  padding: 160px 16px;
  position: relative;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  max-width: 700px;
  margin: auto;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-primary {
  background: #00994d;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary:hover {
  background: #007a3e;
}

.btn-outline {
  border: 2px solid white;
  padding: 12px 24px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-outline:hover {
  background: white;
  color: #00994d;
}

/* ------------------------------
   SECTIONS
------------------------------ */
.section {
  padding: 80px 16px;
}

.section-inner {
  max-width: 1200px;
  margin: auto;
}

.section-eyebrow {
  color: #00994d;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: #4b5563;
  max-width: 700px;
}

/* ------------------------------
   PRODUCTOS
------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.card {
  background: white;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.product-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 16px;
}

.hover-zoom {
  transition: transform 0.35s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

/* ------------------------------
   GALERÍA PROFESIONAL
------------------------------ */
.gallery-section {
  background: #f3f4f6;
  padding: 80px 16px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.gallery-img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.35s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* ------------------------------
   CONTACTO – PÁGINA
------------------------------ */
.contact-page-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-page-form {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-page-form .form-row {
  margin-bottom: 20px;
}

.contact-page-form input,
.contact-page-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 16px;
}

.contact-page-info {
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-page-info h3 {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
}

/* ------------------------------
   MODAL (Recolección)
------------------------------ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

.terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.terms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: #00994d;
}

.terms span {
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
  background: #111827;
  color: white;
  padding: 60px 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 12px;
}

.impulsa-logo {
  width: 120px;
  margin-bottom: 12px;
}

.impulsa-text {
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.4;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-list li {
  margin-bottom: 6px;
  color: #d1d5db;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  color: #9ca3af;
}

/* ------------------------------
   RESPONSIVE & MOBILE MENU
------------------------------ */
@media (max-width: 900px) {
  /* Habilita el botón de hamburguesa */
  .menu-toggle {
    display: flex !important;
  }

  /* Estilos para el menú desplegable en móvil */
  .navbar-nav {
    display: none; /* Se oculta por defecto */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Justo debajo del navbar */
    left: 0;
    width: 100%;
    background: white;
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid #e5e7eb;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    z-index: 999;
  }

  /* Clase que el JS aplica para mostrar el menú */
  .navbar-nav.show {
    display: flex !important;
  }

  /* Ajustes de grillas para que no se rompan en móvil */
  .cards-grid,
  .gallery-grid,
  .footer-inner,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 32px;
  }
}