/* HEPAMIDA — páginas internas (mismo lenguaje visual del home) */

:root {
  --verde: #6aa63d;
  --lima: #8cc63f;
  --violeta: #7a63b8;
  --violeta-osc: #4c3a7d;
  --fondo: #0a0d08;
  --texto: #f2f5ec;
  --texto-suave: rgba(242, 245, 236, 0.72);
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(140, 198, 63, 0.08), transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 30%, rgba(122, 99, 184, 0.07), transparent 70%),
    var(--fondo);
  min-height: 100vh;
}

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(10, 13, 8, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140, 198, 63, 0.14);
}
.topbar .logo img { height: 34px; width: auto; display: block; }
.topnav { display: flex; gap: 8px; flex-wrap: wrap; }
.topnav a {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.topnav a:hover, .topnav a.activa { color: var(--lima); border-color: rgba(140, 198, 63, 0.4); }

/* ---------- Hero de página ---------- */
.hero {
  padding: clamp(36px, 6vh, 64px) clamp(20px, 6vw, 72px) clamp(8px, 1.5vh, 16px);
  max-width: 1200px;
  margin: 0 auto;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
  color: var(--verde);
}
.hero h1 .alt { color: var(--texto); }
.hero .bajada {
  margin-top: 18px;
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--texto-suave);
}

/* cinta pintada como subrayado de sección */
.cinta {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Permanent Marker', cursive;
  font-size: 15px;
  color: #fff;
  padding: 7px 22px;
  background: linear-gradient(100deg, #4c3a7d, #6a55a4);
  clip-path: polygon(0 0, 97% 6%, 100% 40%, 96% 70%, 100% 100%, 0 96%, 2% 50%);
  transform: rotate(-1.6deg);
}
.cinta.verde { background: linear-gradient(100deg, #57923a, #74b04a); }

/* ---------- Secciones ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 6vw, 72px) 96px; }
section { margin-top: clamp(24px, 4vh, 40px); }

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--texto);
  margin-bottom: 18px;
}
h2 .verde { color: var(--verde); }

p { line-height: 1.65; color: var(--texto-suave); }

/* ---------- Producto ---------- */
.producto {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(140, 198, 63, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 60% at 30% 40%, rgba(140, 198, 63, 0.06), transparent 70%),
    rgba(255, 255, 255, 0.015);
}
.producto.invertido { grid-template-columns: 1fr minmax(240px, 380px); }
.producto.invertido .producto-img { order: 2; }
.producto-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
}
.producto h2 { margin-bottom: 6px; }
.producto .tagline {
  font-family: 'Permanent Marker', cursive;
  color: var(--lima);
  font-size: clamp(17px, 1.6vw, 22px);
  margin-bottom: 14px;
}
.producto .desc { margin-bottom: 20px; }

.beneficios {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.beneficios li {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(122, 99, 184, 0.28);
  background: rgba(122, 99, 184, 0.07);
  font-size: 14px;
  line-height: 1.5;
  color: var(--texto-suave);
}
.beneficios li strong {
  display: block;
  color: var(--texto);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid rgba(242, 245, 236, 0.14);
  border-radius: 16px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--texto);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--lima);
  border-bottom: 2.5px solid var(--lima);
  transform: rotate(45deg);
  transition: transform 0.25s;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 22px 20px; }

/* ---------- Tarjetas (eventos / blog) ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(242, 245, 236, 0.14);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(140, 198, 63, 0.5); }
.card-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #141a10;
}
.card-body { padding: 18px 20px 22px; }
.card-fecha {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 8px;
}
.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--texto);
  margin-bottom: 8px;
  line-height: 1.25;
}
.card-resumen { font-size: 14px; }
.card-mas {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde);
}

/* ---------- Locales ---------- */
.grid-locales {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.local {
  padding: 20px 22px;
  border: 1px solid rgba(122, 99, 184, 0.3);
  border-radius: 16px;
  background: rgba(122, 99, 184, 0.06);
}
.local h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 6px;
}
.local p { font-size: 14px; }
.local-horario { margin-top: 4px; font-size: 12.5px; color: var(--lima); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0d08;
  background: var(--lima);
  padding: 15px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(140, 198, 63, 0.3); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn.secundario {
  background: transparent;
  color: var(--texto);
  border: 1px solid rgba(242, 245, 236, 0.3);
}
.btn.secundario:hover { border-color: var(--lima); color: var(--lima); box-shadow: none; }

/* ---------- Formulario ---------- */
.form-contacto {
  display: grid;
  gap: 14px;
  max-width: 620px;
}
.form-contacto label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.form-contacto input,
.form-contacto textarea {
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--texto);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(242, 245, 236, 0.18);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s;
}
.form-contacto input:focus,
.form-contacto textarea:focus { border-color: var(--lima); }
.form-contacto textarea { min-height: 140px; resize: vertical; }

/* ---------- Redes ---------- */
.redes { display: flex; gap: 12px; margin-top: 20px; }
.redes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(242, 245, 236, 0.25);
  transition: border-color 0.25s, transform 0.2s;
}
.redes a:hover { border-color: var(--lima); transform: translateY(-2px); }
.redes svg { width: 22px; height: 22px; fill: var(--texto); }
.redes a:hover svg { fill: var(--lima); }

/* ---------- Globo de WhatsApp (todas las páginas) ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 20;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Pie ---------- */
.pie {
  text-align: center;
  padding: 32px 20px 40px;
  border-top: 1px solid rgba(242, 245, 236, 0.08);
}
.pie img { height: 34px; width: auto; }

@media (max-width: 760px) {
  .producto, .producto.invertido { grid-template-columns: 1fr; }
  .producto.invertido .producto-img { order: 0; }
  .producto-img { max-width: 260px; margin: 0 auto; }
}

/* ---------- Menú hamburguesa (páginas internas, mobile) ---------- */
.burger-inner {
  display: none;
  width: 42px; height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger-inner span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--texto);
  transition: transform 0.3s, opacity 0.3s;
}
.burger-inner.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger-inner.open span:nth-child(2) { opacity: 0; }
.burger-inner.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .burger-inner { display: flex; }
  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    flex-direction: column;
    min-width: 220px;
    padding: 10px;
    gap: 4px;
    background: rgba(14, 18, 11, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(140, 198, 63, 0.25);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  }
  .topnav.open { display: flex; }
  .topnav a {
    padding: 13px 16px;
    font-size: 13px;
    border: none;
    border-radius: 10px;
  }
  .topbar { position: relative; }
}

/* ---------- Buscador de puntos de venta ---------- */
.buscador-controles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.buscador-controles label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.buscador-controles select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--texto);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(242,245,236,0.18);
  border-radius: 12px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238cc63f' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.buscador-controles select:focus { border-color: var(--lima); outline: none; }

.f-count {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lima);
  margin-bottom: 16px;
}
.f-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.local-card {
  padding: 18px 20px;
  border: 1px solid rgba(122,99,184,0.3);
  border-radius: 16px;
  background: rgba(122,99,184,0.06);
  display: flex;
  flex-direction: column;
}
.local-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--texto);
  margin-bottom: 5px;
}
.local-ciudad { font-size: 12.5px; color: var(--lima); margin-bottom: 8px; letter-spacing: 0.03em; }
.local-dir { font-size: 14px; color: var(--texto-suave); margin-bottom: 14px; flex: 1; }
.local-maps {
  align-self: flex-start;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lima);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid rgba(140,198,63,0.4);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.local-maps:hover { background: rgba(140,198,63,0.1); border-color: var(--lima); }

.f-vacio { padding: 20px; color: var(--texto-suave); }
.f-vacio a { color: var(--lima); cursor: pointer; text-decoration: underline; }
.f-nota { margin-top: 28px; font-size: 13.5px; color: var(--texto-suave); }

@media (max-width: 560px) {
  .buscador-controles { grid-template-columns: 1fr; }
}
