/* Seminarios landing — réplica del diseño aprobado */

.sem-page {
  --sem-navy: #1a264c;
  --sem-navy-2: #223161;
  --sem-cyan: #39aae6;
  --sem-cyan-soft: #e8f6fc;
  --sem-gold: #eab818;
  --sem-ink: #0f172a;
  --sem-muted: #64748b;
  --sem-line: #e2e8f0;
  --sem-radius: 1.15rem;
  color: var(--sem-ink);
  background: #fff;
  overflow-x: clip;
}

.sem-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sem-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sem-pill--dark {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(8px);
}

.sem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sem-btn:hover {
  transform: translateY(-1px);
}

.sem-btn--gold {
  background: var(--sem-gold);
  color: var(--sem-navy);
  box-shadow: 0 10px 28px rgba(234, 184, 24, 0.32);
}

.sem-btn--gold:hover {
  filter: brightness(0.97);
  color: var(--sem-navy);
}

.sem-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.sem-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.sem-btn--navy {
  background: var(--sem-navy);
  color: #fff;
}

.sem-btn--navy:hover {
  background: var(--sem-navy-2);
  color: #fff;
}

/* ——— Hero ——— */
.sem-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(125deg, #0f1b38 0%, #1a264c 42%, #1e4f7a 78%, #2a9fd6 100%);
}

.sem-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(57, 170, 230, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(234, 184, 24, 0.08), transparent 55%);
  pointer-events: none;
}

.sem-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.sem-hero__title {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.sem-hero__title-accent {
  color: #5ec8f5;
}

.sem-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.92);
}

.sem-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.sem-hero__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: #dbeafe;
}

.sem-hero__feats i {
  color: var(--sem-cyan);
  margin-right: 0.35rem;
}

.sem-hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
}

.sem-hero__frame {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(8, 18, 40, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 4 / 3;
  background: #0f172a;
}

.sem-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sem-hero__float {
  position: absolute;
  left: -0.75rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 15.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--sem-navy);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.sem-hero__float-icon {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sem-cyan-soft);
  color: #0a63a5;
  font-size: 0.78rem;
}

/* ——— Trust ——— */
.sem-trust {
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}

.sem-trust__card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border-radius: 1.15rem;
  border: 1px solid var(--sem-line);
  box-shadow: 0 18px 50px rgba(34, 49, 97, 0.1);
  overflow: hidden;
}

.sem-trust__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.35rem 1.25rem;
}

.sem-trust__item + .sem-trust__item {
  border-left: 1px solid var(--sem-line);
}

.sem-trust__icon {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sem-cyan-soft);
  color: #0a63a5;
  font-size: 1rem;
}

.sem-trust__item h2 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--sem-navy);
}

.sem-trust__item p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--sem-muted);
}

/* ——— Agenda ——— */
.sem-agenda {
  padding: 3.5rem 0 2.5rem;
  background: #fff;
}

.sem-agenda__head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.sem-agenda__bar {
  display: block;
  width: 2.75rem;
  height: 4px;
  border-radius: 999px;
  background: var(--sem-cyan);
  margin-bottom: 0.85rem;
}

.sem-agenda__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sem-navy);
}

.sem-agenda__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sem-muted);
}

.sem-agenda__note {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--sem-muted);
}

.sem-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.75rem;
}

.sem-filters__time {
  display: inline-flex;
  padding: 0.22rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--sem-line);
}

.sem-filters__time-btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
}

.sem-filters__time-btn.is-active {
  background: var(--sem-navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 38, 76, 0.22);
}

.sem-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  border: 1px dashed #cbd5e1;
  border-radius: 1.15rem;
  background: #f8fafc;
}

.sem-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f6fc;
  color: #0a63a5;
  font-size: 1.25rem;
}

.sem-empty__title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sem-navy);
}

.sem-empty__text {
  margin: 0 auto 1.15rem;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--sem-muted);
}

/* ——— Cards ——— */
.sem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.sem-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sem-line);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(34, 49, 97, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(34, 49, 97, 0.12);
}

.sem-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
}

.sem-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sem-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(57, 170, 230, 0.95);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sem-card__badge--soon {
  left: auto;
  right: 0.75rem;
  background: rgba(234, 184, 24, 0.95);
  color: #0f1b38;
}

.sem-card__excerpt {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--sem-muted);
}

.sem-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.sem-card__price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--sem-navy);
}

.sem-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.sem-card__actions .sem-card__cta {
  flex: 1 1 auto;
  margin-top: 0;
}

.sem-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--sem-gold);
  color: var(--sem-navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(234, 184, 24, 0.25);
}

.sem-card__buy:hover {
  filter: brightness(0.97);
  color: var(--sem-navy);
}

.sem-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem 1.15rem;
  flex: 1;
}

.sem-card__date {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sem-muted);
}

.sem-card__date i {
  margin-right: 0.3rem;
  color: var(--sem-cyan);
}

.sem-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--sem-navy);
}

.sem-card__title a {
  color: inherit;
  text-decoration: none;
}

.sem-card__title a:hover {
  color: #0a63a5;
}

.sem-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--sem-cyan-soft);
  color: #0a63a5;
  font-size: 0.75rem;
  font-weight: 700;
}

.sem-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  color: var(--sem-navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sem-card__cta:hover {
  border-color: var(--sem-navy);
  background: #f8fafc;
  color: var(--sem-navy);
}

.sem-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--sem-muted);
}

.sem-pager a {
  color: var(--sem-navy);
  font-weight: 700;
  text-decoration: none;
}

/* ——— Newsletter ——— */
.sem-news {
  padding: 1.5rem 0 2.5rem;
  background: #fff;
}

.sem-news__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #e8f6fc 0%, #d7eef9 100%);
  border: 1px solid #c5e5f5;
}

.sem-news__copy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: min(100%, 280px);
  flex: 1;
}

.sem-news__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0a63a5;
  box-shadow: 0 4px 14px rgba(10, 99, 165, 0.12);
}

.sem-news__copy p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--sem-navy);
  line-height: 1.35;
}

.sem-news__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex: 1 1 320px;
  max-width: 480px;
  position: relative;
}

.sem-news__form input[type="email"] {
  flex: 1 1 180px;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid #b6d7ea;
  background: #fff;
  font-size: 0.92rem;
  color: var(--sem-ink);
}

.sem-news__form input:focus {
  outline: 2px solid var(--sem-cyan);
  outline-offset: 1px;
}

.sem-news__msg {
  flex: 1 1 100%;
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sem-navy-2);
}

/* ——— B2B ——— */
.sem-b2b {
  padding: 2rem 0 3.5rem;
  background: #fff;
}

.sem-b2b__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(120deg, #14203f 0%, #1a264c 48%, #1e5080 100%);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22);
}

.sem-b2b__media {
  min-height: 280px;
}

.sem-b2b__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sem-b2b__copy {
  padding: 2.25rem 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.sem-page .sem-b2b__copy .sem-pill--dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.sem-page .sem-b2b__copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff !important;
}

.sem-page .sem-b2b__copy p {
  margin: 0 0 0.35rem;
  max-width: 32rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: #e2e8f0 !important;
}

.sem-b2b__copy .sem-btn--gold {
  align-self: flex-start;
  color: #1a264c;
  box-shadow: 0 8px 20px rgba(234, 184, 24, 0.28);
}

/* ——— Responsive ——— */
@media (max-width: 991px) {
  .sem-hero {
    padding: 2.75rem 0 3.5rem;
  }

  .sem-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sem-hero__media {
    justify-self: center;
    width: min(100%, 480px);
  }

  .sem-hero__float {
    left: 0.5rem;
    bottom: 0.85rem;
  }

  .sem-trust {
    margin-top: -1.5rem;
  }

  .sem-trust__card {
    grid-template-columns: 1fr;
  }

  .sem-trust__item + .sem-trust__item {
    border-left: 0;
    border-top: 1px solid var(--sem-line);
  }

  .sem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sem-b2b__inner {
    grid-template-columns: 1fr;
  }

  .sem-b2b__media {
    min-height: 220px;
    max-height: 260px;
  }
}

@media (max-width: 640px) {
  .sem-wrap {
    width: min(100%, calc(100% - 1.25rem));
  }

  .sem-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sem-hero__feats {
    flex-direction: column;
    gap: 0.45rem;
  }

  .sem-filters__time {
    width: 100%;
  }

  .sem-filters__time-btn {
    flex: 1;
    justify-content: center;
  }

  .sem-grid {
    grid-template-columns: 1fr;
  }

  .sem-news__card {
    padding: 1.15rem 1.1rem;
  }

  .sem-news__form {
    max-width: none;
  }

  .sem-news__form .sem-btn {
    width: 100%;
  }

  .sem-b2b__copy {
    padding: 1.6rem 1.25rem 1.85rem;
  }
}
