/* Home 2026 — capa visual específica de la portada */

:root {
  --home-blue: #2f6bff;
  --home-cyan: #43dcff;
  --home-ink: #0a0d18;
  --home-soft: #f3f6fb;
  --home-line: rgba(10, 13, 24, .10);
}

body {
  background: var(--home-soft);
}

body main {
  overflow: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--home-cyan);
  outline-offset: 4px;
}

/* HERO */
.hero-wrapper {
  height: min(940px, 100svh);
  min-height: 720px;
  padding: 0 40px 30px;
}

.hero-bg {
  filter: brightness(.72) contrast(1.08) saturate(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 4, 10, .82) 0%, rgba(2, 4, 10, .42) 52%, rgba(2, 4, 10, .18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, transparent 48%),
    radial-gradient(900px 620px at 28% 45%, rgba(47, 107, 255, .24), transparent 68%);
}

.hero-center {
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 150px 0 62px;
}

.hero-center > div {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(0, 0, 0, .16);
  color: rgba(255, 255, 255, .92);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-cyan);
  box-shadow: 0 0 18px var(--home-cyan);
}

h1.hero-title {
  max-width: 1160px;
  font-size: clamp(4rem, 7.7vw, 7.35rem);
  line-height: .88;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-sub {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: 1.17rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 56px;
  padding: 15px 24px;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
  font-weight: 650;
}

.hero-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-assurances span::before {
  content: '✓';
  color: var(--home-cyan);
  font-weight: 900;
}

.hero-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
}

/* CONFIANZA */
.home-trust {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--home-line);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) 1.8fr;
  align-items: center;
  gap: 48px;
  min-height: 150px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.trust-copy {
  padding-right: 38px;
  border-right: 1px solid var(--home-line);
}

.trust-kicker {
  color: var(--home-blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.trust-copy p {
  margin-top: 7px;
  color: #474d5d;
  font-size: .94rem;
  line-height: 1.45;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 24px;
}

.trust-logo {
  display: grid;
  place-items: center;
  height: 72px;
  padding: 10px 14px;
}

.trust-logo img {
  width: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .63;
  transition: .3s ease;
}

.trust-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

/* RECORRIDOS */
.audience-paths {
  padding: 120px 0;
  background:
    radial-gradient(800px 500px at 5% 0%, rgba(47, 107, 255, .09), transparent 65%),
    #f5f7fb;
}

.audience-heading {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.audience-heading .subtitle {
  margin: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr;
  gap: 18px;
}

.audience-card {
  position: relative;
  height: 530px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background: #0a0d18;
  color: #fff;
  box-shadow: 0 20px 70px rgba(15, 23, 42, .13);
  isolation: isolate;
  transition: transform .5s cubic-bezier(.2, 1, .3, 1), box-shadow .5s ease;
}

.audience-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 34px 90px rgba(15, 23, 42, .22);
}

.audience-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.07);
  transition: transform 1s cubic-bezier(.2, 1, .3, 1), filter .5s ease;
}

.audience-card:hover > img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.05);
}

.audience-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08) 18%, rgba(0, 0, 0, .92) 100%),
    linear-gradient(90deg, rgba(12, 20, 42, .38), transparent 70%);
}

.audience-card article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 30px;
}

.audience-index {
  align-self: flex-end;
  color: rgba(255, 255, 255, .68);
  font: 700 .8rem/1 monospace;
}

.audience-label {
  display: block;
  margin-bottom: 10px;
  color: var(--home-cyan);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.audience-card h3 {
  max-width: 420px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.audience-card:not(.audience-card-school) h3 {
  font-size: clamp(1.8rem, 2.35vw, 2.55rem);
}

.audience-card p {
  max-width: 420px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.audience-link b {
  color: var(--home-cyan);
  font-size: 1.15rem;
  transition: transform .25s ease;
}

.audience-card:hover .audience-link b {
  transform: translate(3px, -3px);
}

/* SERVICIOS */
.matrix-services {
  min-height: 0;
  padding: 120px 0;
}

.matrix-content {
  grid-template-columns: .72fr 1.28fr;
  gap: 88px;
}

.matrix-bg-container {
  opacity: .45;
}

.matrix-header .title-xl {
  text-wrap: balance;
}

.matrix-list-wrapper {
  border-radius: 28px;
}

.matrix-item {
  min-height: 104px;
}

/* CARTELERA Y PORTFOLIO */
.shows-cinema,
.portfolio-cine {
  padding-top: 110px;
  padding-bottom: 110px;
}

.cinema-slider {
  padding-top: 26px;
  padding-bottom: 54px;
}

.poster-card {
  flex-basis: 300px;
  height: 470px;
}

.case-card {
  height: 510px;
}

/* PROCESO COMPACTO */
.workflow-mastermind {
  padding: 120px 0 130px;
}

.wf-intro {
  max-width: 820px;
  margin-bottom: 58px;
}

.wf-master-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
}

.wf-svg-container {
  display: none;
}

.wf-node,
.n2,
.n4 {
  transform: none;
}

.wf-card {
  height: 100%;
  min-height: 390px;
  padding: 42px 28px 30px;
  border-radius: 26px;
}

.wf-idx {
  top: -8px;
  right: -5px;
  font-size: 5.6rem;
}

.wf-info h3 {
  font-size: 1.55rem;
}

.wf-info p {
  font-size: .96rem;
  line-height: 1.62;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-card-school {
    grid-column: 1 / -1;
    height: 480px;
  }

  .wf-master-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wf-card {
    min-height: 330px;
  }
}

@media (max-width: 900px) {
  .trust-layout,
  .audience-heading,
  .matrix-content {
    grid-template-columns: 1fr;
  }

  .trust-layout {
    gap: 24px;
  }

  .trust-copy {
    padding: 0;
    border: 0;
  }

  .audience-heading {
    gap: 22px;
  }

  .matrix-content {
    gap: 42px;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    height: 100svh;
    min-height: 720px;
    padding: 0 20px 22px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .34) 75%, rgba(0, 0, 0, .48) 100%),
      radial-gradient(620px 520px at 20% 45%, rgba(47, 107, 255, .23), transparent 70%);
  }

  .hero-center {
    align-items: flex-end;
    padding: 112px 0 36px;
  }

  .hero-kicker {
    margin-bottom: 17px;
    padding: 8px 11px;
    font-size: .66rem;
    letter-spacing: .08em;
  }

  h1.hero-title {
    font-size: clamp(2.85rem, 13.5vw, 3.6rem);
    line-height: .91;
    letter-spacing: -.05em;
  }

  .hero-sub {
    margin-top: 21px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    justify-content: center;
    min-height: 52px;
    padding: 13px 12px;
    font-size: .86rem;
  }

  .hero-assurances {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 19px;
    font-size: .74rem;
  }

  .hero-assurances span:last-child {
    grid-column: 1 / -1;
  }

  .scroll-indicator {
    width: 48px;
    height: 48px;
  }

  .trust-layout {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .trust-copy {
    text-align: center;
  }

  .trust-logos {
    grid-template-columns: repeat(5, minmax(84px, 1fr));
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: none;
  }

  .trust-logos::-webkit-scrollbar {
    display: none;
  }

  .trust-logo {
    height: 62px;
    padding: 8px;
    border: 1px solid var(--home-line);
    border-radius: 13px;
    background: #fafbfe;
  }

  .trust-logo img {
    max-height: 38px;
    filter: none;
    opacity: 1;
  }

  .audience-paths,
  .matrix-services,
  .shows-cinema,
  .portfolio-cine,
  .workflow-mastermind {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .audience-heading {
    margin-bottom: 34px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .audience-card,
  .audience-card-school {
    grid-column: auto;
    height: 390px;
    border-radius: 22px;
  }

  .audience-card article {
    padding: 24px;
  }

  .audience-card h3,
  .audience-card:not(.audience-card-school) h3 {
    font-size: 2.15rem;
  }

  .matrix-header {
    margin-bottom: 0;
    text-align: left;
  }

  .matrix-header .subtitle {
    margin-left: 0;
  }

  .matrix-item {
    min-height: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .m-row-main {
    gap: 13px;
  }

  .m-title {
    font-size: 1.08rem;
  }

  .row-top {
    align-items: flex-end;
    margin-bottom: 24px;
  }

  .row-top .subtitle br {
    display: none;
  }

  .slider-actions {
    flex-shrink: 0;
  }

  .circle-btn {
    width: 44px;
    height: 44px;
  }

  .cinema-slider {
    padding: 12px 20px 34px;
  }

  .poster-card {
    flex-basis: 258px;
    height: 406px;
  }

  .cases-grid {
    gap: 16px;
  }

  .case-card {
    height: 430px;
    border-radius: 22px;
  }

  .case-content {
    padding: 26px;
  }

  .wf-master-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wf-card {
    min-height: 0;
    padding: 34px 25px 28px;
    border-radius: 22px;
  }

  .wf-info h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 410px) {
  h1.hero-title {
    font-size: 2.7rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    min-height: 48px;
  }

  .hero-assurances {
    margin-top: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Recuperación del hero original: centrado, directo y cinematográfico. */
.hero-wrapper {
  width: 100%;
  height: 100vh;
  min-height: 720px;
  padding: 30px 40px;
}

.hero-bg {
  filter: brightness(.92) contrast(1.02) saturate(1.05);
}

.hero-shade {
  background:
    radial-gradient(1200px 700px at 20% 20%, rgba(47,107,255,.35), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(60,211,255,.22), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.55) 70%, rgba(0,0,0,.85));
}

.hero-center {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 70px;
}

.hero-center > div {
  width: auto;
  margin: 0;
}

h1.hero-title {
  max-width: none;
  font-size: clamp(3rem, 8.8vw, 7.6rem);
  line-height: .92;
  letter-spacing: -.03em;
}

.hero-sub {
  max-width: 860px;
  margin: 18px auto 0;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .btn {
  min-height: 0;
  padding: 14px 20px;
}

.hero-bottom {
  width: auto;
  margin: 0;
}

/* En móvil la tarjeta abierta conserva su altura; evita el colapso del diseño anterior. */
@media (max-width: 900px) {
  .s-card.active {
    flex: none;
    height: 420px;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    height: 100vh;
    min-height: 640px;
    padding: 20px;
  }

  .hero-center {
    align-items: center;
    padding-top: 70px;
  }

  h1.hero-title {
    font-size: clamp(3rem, 8.8vw, 7.6rem);
    line-height: .92;
  }

  .hero-sub {
    margin: 18px auto 0;
    font-size: 1.15rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: auto;
    min-height: 0;
    padding: 14px 20px;
    font-size: inherit;
  }
}
