@font-face {
  font-family: "PULSO Poppins";
  src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PULSO Poppins";
  src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PULSO Inter";
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PULSO Inter";
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --pulso-deep: #061a3b;
  --pulso-blue: #135df5;
  --pulso-coral: #ff4b35;
  --pulso-ice: #eef6ff;
  --pulso-line: #cddff2;
  --pulso-muted: #647087;
}

html,
body {
  overflow-x: hidden;
}

/* La guía de marca reserva Poppins para títulos y nombres de cursos. */
.course-card h3,
.category-summary-copy h3,
.detail h1,
.buy-body h3 {
  font-family: "PULSO Poppins", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.course-card h3 {
  font-size: 23px;
  line-height: 1.24;
  text-wrap: balance;
}

.pulso-trusted,
.pulso-testimonials {
  font-family: "PULSO Inter", Arial, sans-serif;
}

.pulso-trusted {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border-top: 1px solid #dae8f6;
  border-bottom: 1px solid #ccdfef;
  padding: 30px max(6vw, 32px);
}

.pulso-trusted__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2.4fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.pulso-trusted h2 {
  margin: 0;
  color: #727f91;
  font-family: "PULSO Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulso-trusted__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.pulso-trusted__logo {
  color: #485365;
  min-width: 0;
  min-height: 52px;
  display: grid;
  place-items: center;
  text-align: center;
  filter: grayscale(1);
  opacity: 0.78;
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
}

.pulso-trusted__logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.pulso-trusted__logo img {
  width: 100%;
  max-width: 132px;
  height: 58px;
  object-fit: contain;
}

.pulso-trusted__logo--station {
  color: #1e5aa6;
  font-family: "PULSO Poppins", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.05em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulso-trusted__logo--station em {
  color: var(--pulso-coral);
  font-style: normal;
}

.pulso-trusted__logo--egeria {
  color: #233451;
  font-family: Georgia, serif;
  font-size: 25px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.pulso-trusted__logo--conseillers {
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: #39485e;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.045em;
  text-align: left;
  text-transform: uppercase;
}

.pulso-trusted__logo--frenchtech img {
  max-width: 92px;
  height: 68px;
}

.pulso-trusted__tricolor {
  width: 16px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(90deg, #153c91 0 33.33%, #fff 33.33% 66.66%, #e23b45 66.66% 100%);
  border: 1px solid #d5dbe4;
}

.pulso-testimonials.testimonials-home {
  isolation: isolate;
  position: relative;
  max-width: none;
  overflow: hidden;
  padding: 82px max(6vw, 32px) 58px;
  color: var(--pulso-deep);
  background:
    radial-gradient(circle at 50% 52%, transparent 0 108px, rgba(19, 93, 245, 0.11) 109px 110px, transparent 111px 194px, rgba(19, 93, 245, 0.09) 195px 196px, transparent 197px 288px, rgba(19, 93, 245, 0.07) 289px 290px, transparent 291px),
    linear-gradient(180deg, #eaf5ff 0%, #f7fbff 78%, #fff 100%);
}

.pulso-testimonials::before,
.pulso-testimonials::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: min(920px, 90vw);
  height: min(620px, 72vw);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(19, 93, 245, 0.12);
  border-radius: 50%;
}

.pulso-testimonials::after {
  width: min(680px, 68vw);
  transform: translate(-50%, -50%) rotate(72deg);
}

.pulso-testimonials__head {
  max-width: 1280px;
  margin: 0 auto 34px;
  text-align: center;
}

.pulso-testimonials__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  margin: 0 0 14px;
  padding: 0 14px;
  border: 1px solid #c4dcf5;
  border-radius: 999px;
  color: #0b6ea8;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 7px 18px rgba(6, 26, 59, 0.06);
  font-family: "PULSO Poppins", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pulso-testimonials__head h2 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--pulso-deep);
  font-family: "PULSO Poppins", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.pulso-testimonials__head > p:last-child {
  max-width: 660px;
  margin: 16px auto 0;
  color: #526178;
  font-size: 15px;
  line-height: 1.65;
}

.pulso-testimonials__viewport {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}

.pulso-testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 12px 2px 26px;
}

.pulso-testimonials__track::-webkit-scrollbar {
  display: none;
}

.pulso-testimonials__card {
  scroll-snap-align: start;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(6, 26, 59, 0.11);
  backdrop-filter: blur(8px);
}

.pulso-testimonials__quote {
  margin: 0 0 13px;
  color: var(--pulso-deep);
  font-family: "PULSO Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.38;
}

.pulso-testimonials__body {
  margin: 0;
  color: #47566d;
  font-size: 13px;
  line-height: 1.7;
}

.pulso-testimonials__person {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.pulso-testimonials__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, var(--pulso-blue), #0b83bd);
  font-family: "PULSO Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(19, 93, 245, 0.25);
}

.pulso-testimonials__person strong,
.pulso-testimonials__person span {
  display: block;
  text-transform: none;
  letter-spacing: normal;
}

.pulso-testimonials__person > .pulso-testimonials__avatar {
  display: grid;
  margin-top: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.pulso-testimonials__person strong {
  color: var(--pulso-deep);
  font-size: 12px;
  font-weight: 600;
}

.pulso-testimonials__person span {
  margin-top: 3px;
  color: #738096;
  font-size: 10px;
  line-height: 1.35;
}

.pulso-testimonials__foot {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pulso-testimonials__note {
  max-width: 760px;
  margin: 0;
  color: #718096;
  font-size: 10px;
  line-height: 1.55;
}

.pulso-testimonials__note strong {
  color: #526178;
}

.pulso-testimonials__controls {
  display: flex;
  gap: 8px;
}

.pulso-testimonials__controls button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #bfd5ea;
  border-radius: 50%;
  color: var(--pulso-deep);
  background: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.pulso-testimonials__controls button:hover,
.pulso-testimonials__controls button:focus-visible {
  color: #fff;
  background: var(--pulso-blue);
  border-color: var(--pulso-blue);
  outline: none;
}

@media (max-width: 1000px) {
  .pulso-trusted__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pulso-trusted h2 {
    text-align: center;
    white-space: normal;
  }

  .pulso-trusted__logos {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
  }

  .pulso-testimonials__track {
    grid-template-columns: none;
    grid-auto-columns: minmax(310px, 72vw);
  }
}

@media (max-width: 720px) {
  .pulso-trusted {
    padding: 28px 20px;
  }

  .pulso-trusted__logos {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 24px 18px;
  }

  .pulso-trusted__logo:last-child {
    grid-column: 1 / -1;
  }

  .pulso-testimonials.testimonials-home {
    padding: 58px 20px 42px;
  }

  .pulso-testimonials__head {
    margin-bottom: 23px;
  }

  .pulso-testimonials__head h2 {
    font-size: 34px;
  }

  .pulso-testimonials__track {
    grid-auto-columns: minmax(280px, 88vw);
    gap: 12px;
  }

  .pulso-testimonials__card {
    min-height: 310px;
    padding: 24px;
  }

  .pulso-testimonials__foot {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulso-testimonials__track {
    scroll-behavior: auto;
  }

  .pulso-trusted__logo {
    transition: none;
  }
}
