/* ── CATÁLOGO ── */
#labores, #alquiler { overflow-x: clip; }
.cat-block { margin-bottom: 3.5rem; }
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cat-h3 { font-size: 1rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.dark-section .cat-h3 { color: rgba(255,255,255,0.6); }
.cat-head .cat-h3 { margin-right: auto; }
.cat-head-all {
  font-size: 0.85rem; font-weight: 700; color: var(--green); text-decoration: none; white-space: nowrap;
}
.cat-head-all:hover { text-decoration: underline; }
.cat-head-all[hidden] { display: none; }
.cat-arrows { display: flex; gap: 0.5rem; }
.cat-arrows button {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.05rem;
  border: 1.5px solid #DDE8D0; background: var(--white); color: var(--dark); transition: all 0.2s;
}
.cat-arrows button:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }
.dark-section .cat-arrows button { background: transparent; border-color: rgba(255,255,255,0.25); color: var(--white); }
.dark-section .cat-arrows button:hover { background: var(--green); border-color: var(--green); color: var(--dark); }
.cat-pills, .cat-grid {
  display: flex; overflow-x: auto; scrollbar-width: none;
  margin-right: -5vw; padding-right: 5vw;
}
.cat-pills::-webkit-scrollbar, .cat-grid::-webkit-scrollbar { display: none; }
.cat-pills { gap: 0.5rem; margin-bottom: 1rem; }
.cat-pill {
  font: inherit; font-size: 0.82rem; font-weight: 700; white-space: nowrap; cursor: pointer; flex-shrink: 0;
  border: 1.5px solid #DDE8D0; background: var(--white); color: var(--muted);
  padding: 0.45rem 0.95rem; border-radius: 999px; transition: all 0.2s;
}
.cat-pill:hover { border-color: var(--green); color: var(--dark); }
.cat-pill.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.cat-pill span { margin-left: 0.3rem; color: var(--green); font-weight: 600; }
.cat-grid {
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  gap: 1.25rem; padding-top: 0.3rem; padding-bottom: 1.2rem;
}
.cat-card {
  width: 280px; flex-shrink: 0; scroll-snap-align: start;
  border: 1px solid #E0EDD0; border-radius: 16px; overflow: hidden; background: var(--white);
  display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card { cursor: pointer; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(19,46,28,0.08); }
.cat-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.cat-all {
  align-items: center; justify-content: center; gap: 0.4rem; text-align: center;
  text-decoration: none; min-height: 220px;
  background: var(--light); border: 1.5px dashed var(--green);
}
.cat-all-txt { font-size: 1.15rem; font-weight: 800; color: var(--dark); }
.cat-all-n { font-size: 0.82rem; color: var(--muted); }
.cat-all-arrow {
  width: 44px; height: 44px; border-radius: 50%; margin-top: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--dark); font-size: 1.2rem; font-weight: 700;
}
.dark-section .cat-all { background: rgba(116,183,42,0.08); }
.dark-section .cat-all-txt { color: var(--white); }
.dark-section .cat-all-n { color: rgba(255,255,255,0.6); }
.cat-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem;
}
.cat-list .cat-card { width: auto; }
.cat-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--light); }
.cat-ph {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
}
.cat-ph svg { width: 48px; height: 48px; fill: var(--green); opacity: 0.5; }
.cat-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.cat-kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.cat-title { font-size: 1rem; font-weight: 800; color: var(--dark); line-height: 1.25; }
.cat-meta { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.cat-meta b { color: var(--dark); font-weight: 700; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.cat-chip { font-size: 0.7rem; font-weight: 600; color: var(--mid); background: var(--light); border-radius: 999px; padding: 0.15rem 0.6rem; }
.cat-badge { font-size: 0.68rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--light); color: var(--green); }
.cat-badge.off { background: #F3F3F0; color: #999; }
.cat-foot {
  margin-top: auto; padding-top: 0.75rem; border-top: 1px solid #E0EDD0;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.cat-price { font-size: 1.05rem; font-weight: 800; color: var(--dark); white-space: nowrap; }
.cat-price small { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.cat-rating { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.cat-rating span { color: var(--green); }
.cat-btn {
  font-size: 0.78rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  background: var(--green); color: var(--dark); padding: 0.45rem 0.85rem; border-radius: 8px;
  transition: background 0.2s;
}
.cat-card:hover .cat-btn { background: var(--lime); }
.cat-state { width: 100%; text-align: center; padding: 3rem 1rem; color: var(--muted); }
.dark-section .cat-state { color: rgba(255,255,255,0.6); }
.cat-state a { color: var(--green); font-weight: 700; }
@media(max-width: 600px) {
  .cat-arrows { display: none; }
  .cat-grid { gap: 1rem; }
  .cat-card { width: 78vw; }
  .cat-list .cat-card { width: auto; }
}


/* Botones de tienda */
.store-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.75rem 1.5rem; border-radius: 14px;
  text-decoration: none; min-width: 210px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.store-btn:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 16px 36px rgba(0,0,0,0.45); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; fill: #fff; }
.store-btn .sb-txt { text-align: left; line-height: 1.2; }
.store-btn .sb-small { font-size: 0.66rem; opacity: 0.85; display: block; letter-spacing: 0.3px; }
.store-btn .sb-big { font-size: 1.05rem; font-weight: 700; }


/* ── DOWNLOAD POPUP ── */
.dl-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,30,16,0.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.dl-overlay.open { opacity: 1; pointer-events: all; }

.dl-card {
  background: var(--dark);
  border: 1px solid rgba(116,183,42,0.25);
  border-radius: 24px; padding: 2.5rem 2rem 2rem;
  max-width: 420px; width: 100%;
  text-align: center;
  transform: scale(0.93) translateY(16px);
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1);
  position: relative;
}
.dl-overlay.open .dl-card { transform: scale(1) translateY(0); }

.dl-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: none; cursor: pointer;
  color: rgba(255,255,255,0.5); font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.dl-close:hover { background: rgba(255,255,255,0.14); color: var(--white); }

.dl-logo { height: 44px; width: auto; margin: 0 auto 1.4rem; display: block; }

.dl-card h3 {
  font-size: 1.25rem; font-weight: 800; color: var(--white);
  margin-bottom: 0.4rem;
}
.dl-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 2rem; }

.dl-btns { display: flex; flex-direction: column; gap: 0.8rem; }

.dl-sep {
  display: flex; align-items: center; gap: 0.8rem; margin: 1.2rem 0;
  color: rgba(255,255,255,0.35); font-size: 0.8rem;
}
.dl-sep::before, .dl-sep::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
.dl-wa {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: #25D366; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border-radius: 14px; transition: background 0.2s;
}
.dl-wa:hover { background: #1DA851; }
.dl-wa svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

