:root {
  --bg: #0b0b0e;
  --bg-soft: #121b2f;
  --card: #131e35;
  --text: #eef2ff;
  --muted: #b9c2d9;
  --accent: #fbbf24;
  --accent-2: #f59e0b;
  --border: rgba(255,255,255,.14);
  --shadow: 0 14px 35px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background:radial-gradient(900px 320px at 0% 0%, rgba(24, 61, 132, .25), transparent 55%),
    radial-gradient(700px 260px at 100% 100%, rgba(19, 78, 155, .20), transparent 60%),
    #081226;
  color: var(--text);
}

img { max-width: 100%; display: block; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 10;
  background: rgba(11,18,32,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  height: 40px;
  width: auto;
}

.top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.menu-toggle,
.filters-toggle {
  display: none;
}
.top-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: .2s ease;
}
.top-nav a:hover {
  color: var(--accent);
  background: rgba(255,255,255,.06);
}

.hero {
  background: linear-gradient(180deg, #122041 0%, #0b1220 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  padding: 56px 0 42px;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 16px;
  line-height: 1.55;
}
.trust-strip {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: #dbe7ff;
  font-size: 12px;
  font-weight: 700;
}

.section { padding: 28px 0 34px; }
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 4vw, 30px);
  border-left: 3px solid  #e8254f;
  padding-left: 10px;
}
.section-head p {
  margin: 0 0 16px;
  color: var(--muted);
}

.section-description .more-text[hidden] {
  display: none;
}

.read-more-btn {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font: inherit;
  border-bottom: 2px solid #e8254f;
}

.read-more-btn:hover {
  color: white;
  border-bottom: 2px solid #e8254f;
}

.faq-section {
  background: #fbfaf8;
  color: var(--text);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 68px;
  margin-top: 20px;
}

.faq-header h2 {
  margin: 0;
  color: #0b1215;
  font-size: clamp(18px, 3vw, 37px);
  line-height: 1.1;
}

.faq-header__icon {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.faq-column__title {
  margin: 0 0 16px;
  color: #0b1215;
  font-size: clamp(18px, 2.4vw, 34px);
  line-height: 1.15;
}

.faq-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.faq-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: #0b1215;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-question::after {
  content: "+";
  color: #677175;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  color: #677175;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
}

.faq-answer[hidden] {
  display: none;
}

@media (min-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 52px;
  }
}

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}

.filter-field {
  display: grid;
  gap: 6px;
}
.filter-field span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0a1224;
  color: var(--text);
  padding: 8px 10px;
}
.filter-field input:focus,
.filter-field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.btn-clear {
  min-height: 40px;
  border: 0;
  background: #AF1336;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}
.btn-clear:hover {
  background: rgba(251,191,36,.1);
}


.carousel-wrap {
  margin: 18px 0 18px;
  overflow-x: auto;
  overflow-y: hidden;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #e8254f rgba(255,255,255,0.12);
}

/* Chrome, Edge, Safari */
.carousel-wrap::-webkit-scrollbar {
  height: 10px; /* grosor de barra horizontal */
}
.carousel-wrap::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}
.carousel-wrap::-webkit-scrollbar-thumb {
  background: #e8254f;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0); /* look más limpio */
  background-clip: padding-box;
}
.carousel-wrap::-webkit-scrollbar-thumb:hover {
  background: #ff3b63; /* opcional hover */
}

.top-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 12px;
}
.carousel-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(255,255,255,.14);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 150px;
    min-height: 250px;
}
.carousel-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.05));
}
.carousel-overlay span {
  margin: 4px 0 2px;
  font-size: 14px;
  color: #fff;
}
.bloqueado {
    display:block;
}
.carousel-overlay p {
  margin: 0;
  font-size: 12px;
  color: #dbe7ff;
}
.carousel-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,#ca8a04,#fbbf24);
  color: #1a1300;
}

.cards-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  min-height: 80vh;
}

.card {
  background: #12121a;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}

.card-link {
  color: inherit;
  text-decoration: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0,0,0,.35);
  border-color: #e8254f;
}

.card-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
      min-width: 150px;
    min-height: 250px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
      min-width: 150px;
    min-height: 250px;
}
.card:hover .card-media img {
  transform: scale(1.04);
}
.card-media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
}
.badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(5px);
  z-index: 1;
}

.video-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  font-weight: 800;
}

.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(0,0,0,.65);
  background-image: url("./assets/heart.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  cursor: pointer;
  transition: transform .15s ease, opacity .2s ease, background-color .2s ease;
}

.fav-btn:hover {
  transform: scale(1.06);
  opacity: .95;
}

.fav-btn.is-active {
  background-color: #e8254f;
  background-image: url("./assets/heart-checked.svg");
}
.badge--top {
  background: linear-gradient(90deg, #ca8a04, #fbbf24);
  color: #1a1300;
  border-color: rgba(255,255,255,.45);
}
.badge--medio {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.badge--normal {
  background: linear-gradient(90deg, #374151, #6b7280);
}

.card-body {
  padding: 10px 10px 12px;
  min-height: 120px;
}
.card-name {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.2;
}
.card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.card-title {
  margin: 4px 0 0;
  color: #b9c2d9;
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-footer {
  margin-top: 10px;
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(24, 61, 132, .25), transparent 55%),
    radial-gradient(700px 260px at 100% 100%, rgba(19, 78, 155, .20), transparent 60%),
    #081226;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 40px 0 28px;
}

.footer-logo {
  width: min(250px, 100%);
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  color: #dbe3f5;
  font-size: 18px;
  line-height: 1.45;
  max-width: 360px;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 0 0 12px;
}

.footer-col a {
  color: #e9efff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-wrap {
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-bottom p {
  margin: 0;
  color: #f1f5ff;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-legal a,
.footer-legal span {
  color: #f1f5ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30;
}
.modal.is-open {
  display: block;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}
.modal-dialog {
  position: relative;
  width: min(720px, 92%);
  margin: 7vh auto 0;
  background: #0c152b;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  z-index: 1;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #111b33;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.modal-close:focus {
  outline: 2px solid var(--accent);
}
.modal-card {
  display: grid;
  gap: 14px;
}
.modal-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.modal-card h3 {
  margin: 0;
}
.modal-card p {
  margin: 0;
  color: var(--muted);
}
.pagination {
  display: none !important;
}

@media (max-width: 767px) {
  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0;
  }

  .brand {
    display: flex;
    justify-content: center;
  }

  .brand img {
    height: 62px;
    width: auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 100%;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-weight: 700;
  }

  .top-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 12px;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
  }

  .top-nav.is-open {
    display: flex;
  }

  .top-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    line-height: 1.2;
  }

  .top-nav .nav-publish-link {
    background: #e8254f;
    color: #fff;
    text-align: center;
    font-weight: 800;
  }

  .filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 0 10px;
    padding: 0 14px;
    border-radius: 12px;
    background:  #AF1336;
    color: var(--text);
    font-weight: 700;
    border: 0;
  }

  .filters {
    display: none;
  }

  .filters.is-open {
    display: grid;
  }
}

@media (min-width: 768px) {
  .filters {
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    align-items: end;
    gap: 12px;
  }

  .cards-grid {
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 16px;
  }
  .card-body { min-height: 112px; }

  .modal-card {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 0 22px;
  }

  .footer-bottom {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand p {
    font-size: 16px;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0 20px;
  }

  .footer-col h3 {
    margin-bottom: 10px;
  }

  .footer-col li {
    margin-bottom: 10px;
  }

  .footer-bottom p,
  .footer-legal a,
  .footer-legal span {
    font-size: 12px;
  }
}

