/* ── Descubre Margarita — List Page ── */

/* Hero */
.desc-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #0a9396 100%);
  color: #fff;
  padding: 80px 28px 60px;
  text-align: center;
}
.desc-hero-inner { max-width: 700px; margin: 0 auto; }
.desc-hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}
.desc-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 14px;
}
.desc-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* Search */
.desc-search-wrap {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.desc-search-icon {
  position: absolute;
  left: 14px;
  width: 18px; height: 18px;
  color: #9ca3af;
  pointer-events: none;
}
.desc-search-input {
  width: 100%;
  padding: 14px 44px 14px 44px;
  border-radius: 12px;
  border: none;
  font-size: .95rem;
  color: #111827;
  outline: none;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  transition: box-shadow .2s;
}
.desc-search-input:focus { box-shadow: 0 4px 28px rgba(0,0,0,.35); }
.desc-search-clear {
  position: absolute; right: 12px;
  background: none; border: none;
  color: #9ca3af; cursor: pointer; font-size: 1rem;
}

/* Category pills */
.desc-cats-bar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; z-index: 30;
}
.desc-cats-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 12px; padding-bottom: 12px;
}
.desc-cats-inner::-webkit-scrollbar { display: none; }
.desc-cat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  background: #f3f4f6; color: #374151;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all .15s;
}
.desc-cat-pill:hover { background: #e0f7fa; color: #0a9396; border-color: #b2dfdb; }
.desc-cat-pill.active { background: #0a9396; color: #fff; border-color: #0a9396; }

/* Body */
.desc-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: flex; flex-direction: column; gap: 48px;
}

/* Featured block */
.desc-featured {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  height: 460px;
}
@media (max-width: 900px) {
  .desc-featured { grid-template-columns: 1fr; height: auto; }
}

.desc-feat-main {
  position: relative; border-radius: 16px; overflow: hidden;
  display: block; text-decoration: none; flex: 1;
  background: #1e293b;
}
.desc-feat-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.desc-feat-main:hover .desc-feat-img { transform: scale(1.04); }
.desc-feat-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0d1b2a, #0a9396);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.desc-feat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,28,.85) 40%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.desc-feat-title {
  font-size: 1.6rem; font-weight: 800; color: #fff;
  margin: 8px 0 8px; line-height: 1.25;
}
.desc-feat-sub { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.5; margin-bottom: 12px; }
.desc-feat-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.desc-feat-meta span { font-size: .8rem; color: rgba(255,255,255,.7); }

.desc-feat-side { display: flex; flex-direction: column; gap: 16px; }
.desc-feat-side-card {
  flex: 1; border-radius: 12px; overflow: hidden;
  background: #fff; border: 1px solid #e5e7eb;
  display: flex; text-decoration: none;
  transition: box-shadow .18s, transform .18s;
}
.desc-feat-side-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.desc-feat-side-img {
  width: 100px; min-width: 100px; height: 100%;
  object-fit: cover; flex-shrink: 0;
}
.desc-feat-side-placeholder {
  width: 100px; min-width: 100px; background: #e0f7fa;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.desc-feat-side-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.desc-feat-side-title { font-size: .9rem; font-weight: 700; color: #111827; margin: 0; line-height: 1.3; }
.desc-feat-side-sub { font-size: .8rem; color: #6b7280; margin: 0; line-height: 1.5; }

/* Section label */
.desc-section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9ca3af;
}
.desc-section-label hr { flex: 1; border: none; border-top: 1px solid #e5e7eb; }

/* Search feedback */
.desc-search-feedback { color: #374151; font-size: .95rem; margin: 0; }
.desc-search-feedback a { color: #0a9396; font-weight: 600; }

/* Grid */
.desc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.desc-card {
  border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid #e5e7eb;
  text-decoration: none; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.desc-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-4px); }

.desc-card-img-wrap { position: relative; height: 200px; overflow: hidden; }
.desc-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.desc-card:hover .desc-card-img { transform: scale(1.06); }
.desc-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e0f7fa, #b2dfdb);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.desc-card-badge-featured {
  position: absolute; top: 10px; right: 10px;
  background: #0a9396; color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 999px;
}

.desc-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.desc-card-title { font-size: 1rem; font-weight: 700; color: #111827; margin: 0; line-height: 1.35; }
.desc-card-resumen { font-size: .875rem; color: #6b7280; line-height: 1.6; margin: 0; flex: 1; }
.desc-card-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.desc-meta-item { font-size: .78rem; color: #9ca3af; }

.desc-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.desc-tag {
  font-size: .72rem; padding: 2px 8px; border-radius: 999px;
  background: #f3f4f6; color: #6b7280; font-weight: 500;
}

/* Badge */
.desc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(10,147,150,.12); color: #0a9396;
}
.desc-badge-sm { font-size: .68rem; }

/* Pagination */
.desc-pagination {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  padding: 8px 0;
}
.desc-page-btn {
  padding: 10px 20px; border-radius: 8px;
  background: #0a9396; color: #fff; font-weight: 600; font-size: .875rem;
  text-decoration: none; transition: background .15s;
}
.desc-page-btn:hover { background: #0c7a7d; }
.desc-page-info { font-size: .875rem; color: #6b7280; }

/* Empty */
.desc-empty { text-align: center; padding: 64px 20px; }
.desc-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.desc-empty h3 { font-size: 1.3rem; color: #111827; margin: 0 0 8px; }
.desc-empty p { color: #6b7280; margin: 0 0 24px; }
.desc-empty-btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  background: #0a9396; color: #fff; font-weight: 700; text-decoration: none;
  transition: background .15s;
}
.desc-empty-btn:hover { background: #0c7a7d; }

/* CTA */
.desc-cta {
  background: linear-gradient(135deg, #0d1b2a 0%, #0a9396 100%);
  border-radius: 20px; overflow: hidden;
}
.desc-cta-inner { padding: 40px 32px; text-align: center; }
.desc-cta h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 0 10px; }
.desc-cta p { color: rgba(255,255,255,.8); margin: 0 0 24px; }
.desc-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.desc-cta-primary {
  display: inline-flex; align-items: center;
  background: #fff; color: #0a9396;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: background .15s;
}
.desc-cta-primary:hover { background: #f0fdfc; }

.desc-cta-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: background .15s;
}
.desc-cta-wa:hover { background: #1ebe5c; }

@media (max-width: 600px) {
  .desc-hero { padding: 60px 16px 44px; }
  .desc-body { padding: 28px 16px 48px; gap: 32px; }
  .desc-grid { grid-template-columns: 1fr; }
}
