/* Pollito Producciones — hero con foto; resto en tarjetas y 1140px */

.ps-landing-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #121212;
}

.ps-landing-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-landing-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.18) 0%, rgba(18, 18, 18, 0.28) 38%, rgba(18, 18, 18, 0.94) 100%),
    linear-gradient(90deg, rgba(18, 18, 18, 0.55) 0%, transparent 55%);
}

.ps-landing-hero__stage {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 0;
}

.ps-landing-hero__title {
  margin: 0 0 16px;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
}

.ps-landing-hero__text {
  max-width: 38ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
}

.ps-landing-hero .ps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ps-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 56px 0 0;
  padding: 22px 0 32px;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--ps-primary) 45%, transparent);
}

.ps-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 16px 0 0;
}

.ps-hero-stats li + li {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.ps-hero-stats__num {
  color: #fff;
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.ps-hero-stats__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.ps-landing-home,
.ps-landing-home .ps-main {
  background: #121212;
}

.ps-landing-home .ps-sec {
  background: #121212;
}

.ps-landing-home .ps-sec:nth-of-type(odd) {
  background: #1a1a1a;
}

.ps-landing-home .ps-sec + .ps-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1140px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--ps-primary) 42%, transparent),
    transparent
  );
}

.ps-service-grid,
.ps-quote-grid,
.ps-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ps-service-card,
.ps-quote-card,
.ps-value-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #fff 14%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, #fff 6%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.ps-service-card {
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.ps-service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ps-primary) 40%, transparent);
}

.ps-service-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 108px;
  background: transparent;
}

.ps-service-card.is-cover .ps-service-card__visual {
  min-height: 168px;
}

.ps-service-card__img {
  width: 64px;
  height: 64px;
  padding: 12px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ps-primary) 32%, transparent);
  background: color-mix(in srgb, #fff 5%, transparent);
}

.ps-service-card.is-cover .ps-service-card__img {
  width: 100%;
  height: 168px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
}

.ps-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 22px 24px;
}

.ps-service-card.is-cover .ps-service-card__body {
  padding-top: 18px;
}

.ps-service-card h3 {
  margin: 0;
  color: var(--ps-heading);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.ps-value-card h3 {
  margin: 0 0 10px;
  color: var(--ps-primary);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ps-service-card p,
.ps-value-card p,
.ps-quote-card__text {
  margin: 0;
  color: var(--ps-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ps-filmstrip {
  overflow: hidden;
  width: 100%;
}

.ps-filmstrip__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ps-marquee 96s linear infinite;
}

.ps-filmstrip:hover .ps-filmstrip__track {
  animation-play-state: paused;
}

.ps-gallery-item {
  display: block;
  flex: 0 0 auto;
  width: 248px;
  height: 330px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #111;
  cursor: zoom-in;
}

.ps-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@keyframes ps-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ps-lightbox {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 44px 12px 12px;
  border: 0;
  background: #0b0b0b;
}

.ps-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.ps-lightbox img {
  width: 100%;
  max-height: calc(100svh - 80px);
  object-fit: contain;
}

.ps-lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.ps-video-rail {
  display: grid;
  gap: 16px;
}

.ps-video-rail[data-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.ps-video-rail[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-video-rail[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-video-slide {
  min-width: 0;
}

.ps-video-player {
  overflow: hidden;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  background: #000;
}

.ps-video-player video,
.ps-video-player iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.ps-video-player--embed iframe {
  height: 100%;
  min-height: 180px;
}

.ps-quote-card {
  gap: 14px;
  margin: 0;
  padding: 26px 24px 24px;
}

.ps-quote-card::before {
  content: "“";
  color: var(--ps-primary);
  font-size: 46px;
  font-weight: 700;
  line-height: 0.7;
}

.ps-quote-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--ps-primary) 55%, transparent);
}

.ps-quote-card footer {
  margin-top: auto;
  padding-top: 6px;
}

.ps-quote-card cite {
  color: var(--ps-primary);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ps-value-card {
  padding: 24px 22px 26px;
}

.ps-landing-contact .psc-contact__header,
.ps-contact-sec .psc-contact__header {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  text-align: center;
}

.ps-landing-contact .psc-contact__intro,
.ps-contact-sec .psc-contact__intro {
  margin-left: auto;
  margin-right: auto;
}

.ps-landing-contact .psc-contact__response,
.ps-contact-sec .psc-contact__response {
  justify-content: center;
}

.ps-back-top {
  display: none !important;
}

.ps-wa-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 920;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ps-primary);
  color: var(--ps-on-primary) !important;
  text-decoration: none !important;
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--ps-primary) 22%, transparent),
    0 10px 28px color-mix(in srgb, var(--ps-primary) 42%, transparent);
  animation: ps-wa-glow 2.4s ease-out infinite;
}

.ps-wa-float:hover,
.ps-wa-float:focus-visible {
  filter: brightness(1.06);
}

.ps-wa-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: inherit;
}

.ps-wa-float__icon svg {
  width: 26px;
  height: 26px;
}

.ps-wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  z-index: 2;
  display: none;
  padding: 8px 12px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
}

.ps-wa-float__tip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  background: #111;
  transform: translateY(-50%) rotate(45deg);
}

.ps-wa-float:hover .ps-wa-float__tip,
.ps-wa-float:focus-visible .ps-wa-float__tip {
  display: block;
}

@keyframes ps-wa-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 8px color-mix(in srgb, var(--ps-primary) 22%, transparent),
      0 10px 28px color-mix(in srgb, var(--ps-primary) 42%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 14px color-mix(in srgb, var(--ps-primary) 10%, transparent),
      0 10px 32px color-mix(in srgb, var(--ps-primary) 50%, transparent);
  }
}

@media (max-width: 980px) {
  .ps-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-hero-stats li + li {
    padding-left: 12px;
  }
}

@media (max-width: 860px) {
  .ps-quote-grid,
  .ps-value-grid {
    grid-template-columns: 1fr;
  }

  .ps-service-grid,
  .ps-filmstrip__track,
  .ps-video-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ps-service-grid::-webkit-scrollbar,
  .ps-filmstrip__track::-webkit-scrollbar,
  .ps-video-rail::-webkit-scrollbar {
    display: none;
  }

  .ps-service-card,
  .ps-gallery-item,
  .ps-video-slide {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }

  .ps-service-card {
    min-height: 460px;
  }

  .ps-service-card__visual {
    min-height: 180px;
  }

  .ps-service-card.is-cover .ps-service-card__visual,
  .ps-service-card.is-cover .ps-service-card__img {
    min-height: 220px;
    height: 220px;
  }

  .ps-service-card__body {
    flex: 1;
    padding: 18px 20px 22px;
  }

  .ps-filmstrip {
    overflow: visible;
  }

  .ps-filmstrip__track {
    width: auto;
    animation: none;
  }

  .ps-gallery-item {
    width: auto;
    height: 460px;
  }

  .ps-gallery-item.is-clone {
    display: none;
  }

  .ps-video-rail[data-count="1"],
  .ps-video-rail[data-count="2"],
  .ps-video-rail[data-count="3"] {
    grid-template-columns: none;
  }

  .ps-video-rail[data-count="1"] .ps-video-slide {
    flex-basis: 100%;
  }
}

@media (max-width: 720px) {
  .ps-hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .ps-hero-stats li + li {
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .ps-landing-hero__stage {
    width: calc(100% - 32px);
    padding-top: 108px;
  }

  .ps-wa-float {
    right: 16px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-filmstrip__track,
  .ps-wa-float {
    animation: none;
  }
}
