/* Hayban Medina — landing y páginas */

:root {
  --ps-primary: #c6ff3d;
  --ps-accent: #c6ff3d;
  --ps-on-primary: #101114;
  --ps-font: "Outfit", sans-serif;
  --ps-container: 1200px;
}

::selection {
  background: color-mix(in srgb, var(--ps-primary) 42%, transparent);
  color: #fff;
}

.ps-skip-link {
  color: var(--ps-on-primary);
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--ps-primary);
  border-radius: 12px;
  background: var(--ps-primary);
  color: var(--ps-on-primary) !important;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.hm-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.hm-btn--ghost {
  background: transparent;
  color: var(--ps-heading) !important;
  border-color: color-mix(in srgb, var(--ps-heading) 22%, transparent);
}

.hm-btn--ghost:hover {
  border-color: var(--ps-primary);
  color: var(--ps-primary) !important;
  filter: none;
}

.hm-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 76px);
  padding: 0 24px;
  background: var(--ps-bg);
}

.hm-hero__glow {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: min(680px, 58vw);
  height: min(680px, 58vw);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ps-primary) 28%, transparent) 0%, transparent 68%);
  pointer-events: none;
  filter: blur(8px);
}

.hm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 8px 20px;
  width: min(var(--ps-container), 100%);
  min-height: calc(100svh - 76px);
  margin: 0 auto;
}

.hm-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0 36px;
}

.hm-hero__title {
  margin: 0 0 18px;
  color: var(--ps-heading);
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hm-hero__lead,
.hm-lead {
  margin: 0 0 22px;
  max-width: 42ch;
  color: var(--ps-muted);
  font-size: 18px;
  line-height: 1.55;
}

.hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hm-hero__figure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.hm-hero__figure img {
  width: auto;
  max-width: 118%;
  height: calc(100svh - 76px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.hm-trust {
  border-block: 1px solid var(--ps-border);
  background: color-mix(in srgb, var(--ps-bg-soft) 70%, transparent);
}

.hm-trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--ps-container), calc(100% - 48px));
  margin: 0 auto;
}

.hm-trust p {
  margin: 0;
  padding: 22px 16px;
  color: var(--ps-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid var(--ps-border);
}

.hm-trust p:last-child {
  border-right: 0;
}

.hm-sec__head {
  margin-bottom: 42px;
  max-width: 640px;
}

.hm-sec__head--wide {
  max-width: 720px;
}

.hm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hm-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--ps-bg-soft) 80%, transparent);
}

.hm-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #101114;
}

.hm-card__media img,
.hm-split__figure img,
.hm-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-card__kicker,
.hm-step__n {
  margin: 18px 20px 0;
  color: var(--ps-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hm-card__title,
.hm-step__title {
  margin: 8px 20px 8px;
  color: var(--ps-heading);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hm-cards--text .hm-card__title {
  margin-top: 22px;
}

.hm-card__text,
.hm-step__text,
.hm-body {
  margin: 0 20px 18px;
  color: var(--ps-muted);
  font-size: 15px;
  line-height: 1.65;
}

.hm-card__link {
  margin: auto 20px 20px;
  color: var(--ps-primary) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.hm-card__link:hover {
  text-decoration: underline !important;
}

.hm-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hm-pillars li {
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--ps-primary) 28%, var(--ps-border));
  border-radius: 999px;
  color: var(--ps-heading);
  font-size: 13px;
  font-weight: 600;
}

.hm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 48px;
  align-items: center;
}

.hm-split--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.hm-split--reverse .hm-split__figure {
  order: 2;
}

.hm-split--service .hm-split__figure {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  max-height: 620px;
}

.hm-split__figure--cutout {
  display: flex;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--ps-primary) 18%, transparent), transparent 62%);
}

.hm-split__figure--cutout img {
  width: auto;
  max-width: 100%;
  height: min(620px, 70vh);
  object-fit: contain;
}

.hm-split__copy .hm-body {
  margin-left: 0;
  margin-right: 0;
  max-width: 52ch;
}

.hm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-step {
  padding: 8px 0 12px;
  border-top: 1px solid var(--ps-border);
}

.hm-step__n,
.hm-step__title,
.hm-step__text {
  margin-left: 0;
  margin-right: 0;
}

.hm-quotes {
  display: none;
}

.hm-marquee {
  overflow: hidden;
  width: calc(100% + 48px);
  margin-top: 8px;
  margin-left: -24px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.hm-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: hm-marquee 42s linear infinite;
  animation-play-state: running;
}

.hm-marquee__track:hover {
  animation-play-state: running;
}

.hm-marquee__item {
  margin: 0;
  flex: 0 0 auto;
}

.hm-marquee__item img {
  display: block;
  height: 420px;
  width: auto;
  max-width: min(380px, 78vw);
  object-fit: cover;
  border-radius: 16px;
  user-select: none;
}

@keyframes hm-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-33.333%, 0, 0);
  }
}

.hm-quote {
  margin: 0;
  padding: 24px 22px 22px;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  background: var(--ps-glass);
}

.hm-quote__text {
  margin: 0 0 18px;
  color: var(--ps-heading);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.hm-quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ps-muted);
  font-size: 13px;
}

.hm-quote strong {
  color: var(--ps-heading);
  font-size: 14px;
}

.hm-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hm-mosaic--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-mosaic img {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

.hm-quote-band {
  background:
    radial-gradient(1200px 280px at 10% 0%, color-mix(in srgb, var(--ps-primary) 10%, transparent), transparent 60%),
    var(--ps-bg);
}

.hm-quote-band__inner {
  max-width: 880px;
}

.hm-quote-band__text {
  margin: 0 0 18px;
  color: var(--ps-heading);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.hm-quote-band cite {
  color: var(--ps-primary);
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hm-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hm-video {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.hm-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
}

.hm-cta {
  padding-top: 72px;
}

.hm-cta__inner {
  padding: 48px 40px;
  border: 1px solid color-mix(in srgb, var(--ps-primary) 28%, var(--ps-border));
  border-radius: 24px;
  background:
    radial-gradient(800px 200px at 100% 0%, color-mix(in srgb, var(--ps-primary) 16%, transparent), transparent 55%),
    color-mix(in srgb, var(--ps-bg-soft) 88%, transparent);
}

.hm-cta__inner .ps-sec__text {
  margin-bottom: 22px;
}

.hm-prose {
  max-width: 720px;
}

.hm-prose p {
  color: var(--ps-muted);
  font-size: 17px;
  line-height: 1.75;
}

.hm-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hm-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--ps-text);
  font-size: 15px;
  line-height: 1.5;
}

.hm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ps-primary);
}

.hm-page-hero.ps-page-sec {
  padding-top: 88px;
  padding-bottom: 40px;
}

.hm-footer-grid {
  grid-template-columns: 1.4fr 0.8fr 1fr;
}

.hm-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 14px;
}

.hm-footer-social a {
  color: var(--ps-muted) !important;
  font-size: 13px !important;
  font-weight: 600;
  text-decoration: none !important;
}

.hm-footer-social a:hover {
  color: var(--ps-primary) !important;
}

.hm-wa-float {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: var(--ps-primary);
  color: var(--ps-on-primary) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 12px 28px color-mix(in srgb, #000 28%, transparent);
}

.hm-wa-float:hover {
  filter: brightness(1.06);
}

.hm-wa-float svg {
  display: block;
}

@media (max-width: 1024px) {
  .hm-hero__inner,
  .hm-split,
  .hm-split--reverse,
  .hm-cards,
  .hm-steps,
  .hm-quotes,
  .hm-videos,
  .hm-trust__inner,
  .hm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hm-split--reverse .hm-split__figure,
  .hm-hero__figure {
    order: 0;
  }

  .hm-hero {
    min-height: 0;
    padding: 0 20px;
  }

  .hm-hero__inner {
    min-height: 0;
    align-items: center;
  }

  .hm-hero__copy {
    padding: 8px 0 24px;
  }

  .hm-hero__figure img,
  .hm-split__figure--cutout img {
    height: min(68vh, 620px);
  }

  .hm-marquee__item img {
    height: 340px;
  }

  .hm-trust p:nth-child(2) {
    border-right: 0;
  }

  .hm-mosaic--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hm-hero__inner,
  .hm-split,
  .hm-split--reverse,
  .hm-cards,
  .hm-steps,
  .hm-quotes,
  .hm-videos,
  .hm-trust__inner,
  .hm-mosaic,
  .hm-mosaic--wide,
  .hm-footer-grid {
    grid-template-columns: 1fr;
  }

  .hm-hero__inner {
    grid-template-columns: 1fr;
  }

  .hm-hero__figure {
    order: -1;
  }

  .hm-hero__figure img {
    height: min(58vh, 460px);
    max-width: 100%;
  }

  .hm-hero__copy {
    padding: 4px 0 28px;
  }

  .hm-marquee {
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .hm-marquee__item img {
    height: 280px;
  }

  .hm-hero__title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hm-trust p {
    border-right: 0;
    border-bottom: 1px solid var(--ps-border);
    padding: 16px 10px;
  }

  .hm-trust p:last-child {
    border-bottom: 0;
  }

  .hm-cta__inner {
    padding: 32px 22px;
  }

  .hm-btn {
    width: 100%;
  }

  .hm-hero__actions .hm-btn {
    flex: 1 1 180px;
    width: auto;
  }

  .hm-wa-float {
    left: 16px;
    bottom: 18px;
    padding: 0 14px 0 12px;
  }

  .hm-wa-float span {
    display: none;
  }

  .hm-wa-float {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }

  .hm-video video {
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-btn,
  .hm-wa-float {
    transition: none;
  }

  .hm-btn:hover {
    transform: none;
  }

  .hm-marquee {
    pointer-events: auto;
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hm-marquee__track {
    animation: none;
  }
}
