/* Archivo de proyectos y videos del inicio. */
.home-gallery {
  padding: 74px 0 58px;
  overflow: hidden;
  background: #f7f3ec;
  color: #080807;
}
.home-gallery__heading {
  display: block;
  margin: 0 auto 31px;
  text-align: center;
}
.home-gallery__heading .eyebrow {
  margin-bottom: 11px;
  color: #d6a27a;
}
.home-gallery__heading h2 {
  max-width: none;
  margin: 0;
  color: #000000;
  font-size: clamp(36px, 4.35vw, 57px);
  line-height: 1.1;
}
.home-gallery__heading h2 em {
  color: #dc9970;
  font-family: Georgia, serif;
  font-weight: 400;
}
.home-gallery__heading > p:not(.eyebrow) {
  max-width: none;
  margin: 13px 0 0;
  color: #000000;
  font-size: 15px;
  line-height: 1.6;
}
.home-gallery__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(280px, .72fr);
  gap: 30px;
  height: 436px;
}
.home-gallery__image-button {
  position: relative;
  display: block;
  height: 436px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #66828a;
}
.home-gallery__image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  transition: transform 360ms ease, opacity 180ms ease;
}
.home-gallery__image-button:hover img,
.home-gallery__image-button:focus-visible img {
  transform: scale(1.025);
}
.home-gallery__zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(12,35,45,.45);
  color: #fff;
}
.home-gallery__zoom svg {
  width: 22px;
  height: 22px;
}
.home-gallery__detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-left: 1px solid #52707a;
  padding: 14px 0 14px 38px;
}
.home-gallery__index {
  color: #000000;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
}
.home-gallery__index strong {
  color: #e2a074;
  font-size: 34px;
  font-weight: 400;
}
.home-gallery__rule {
  width: 54px;
  height: 2px;
  margin: 27px 0 30px;
  background: #d49168;
}
.home-gallery__category {
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.home-gallery__detail h3 {
  margin: 13px 0 16px;
  color: #000000;
  font-size: clamp(29px, 2.8vw, 39px);
  line-height: 1.12;
}
.home-gallery__detail p {
  max-width: 320px;
  margin: 0;
  color: #000000;
  font-size: 15px;
  line-height: 1.7;
}
.home-gallery__controls {
  display: flex;
  gap: 10px;
  margin-top: 31px;
}
.home-gallery__controls button {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid #c48259;
  border-radius: 50%;
  background: transparent;
  color: #e4aa83;
  transition: background-color 180ms ease, color 180ms ease;
}
.home-gallery__controls button:hover,
.home-gallery__controls button:focus-visible {
  background: #c48259;
  color: #102d39;
}
.home-gallery__controls svg {
  width: 21px;
  height: 21px;
}
.home-gallery__filmstrip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 23px;
}
.home-gallery__sample {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #e9f0f1;
  text-align: left;
}
.home-gallery__sample img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  opacity: .62;
  border-bottom: 3px solid transparent;
  transition: opacity 180ms ease, border-color 180ms ease;
}
.home-gallery__sample:hover img,
.home-gallery__sample:focus-visible img,
.home-gallery__sample.is-active img {
  opacity: 1;
  border-color: #d99065;
}
.home-gallery__sample-label {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-top: 10px;
  line-height: 1.25;
}
.home-gallery__sample-label b {
  color: #d99065;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 400;
}
.home-gallery__sample-label span {
  color: #000000;
  font-size: 12px;
  font-weight: 700;
}
.home-gallery__footer {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 26px;
  border-top: 1px solid #355361;
  padding-top: 17px;
}
.home-gallery__footer a {
  border-color: #d99065;
  color: #f0c09c;
  font-size: 12px;
}
.home-gallery__footer a:hover,
.home-gallery__footer a:focus-visible {
  color: #fff;
}

.finish-marquee--warm {
  background: #e9dbc9;
  border-color: #d7c3ae;
}
.finish-marquee--warm .finish-marquee__track {
  animation-direction: reverse;
  animation-duration: 40s;
}
.finish-marquee--warm .finish-marquee__item {
  border-color: #d5c0aa;
}
.finish-marquee--warm .finish-marquee__item img {
  box-shadow: 5px 5px 0 #d5c2af;
}

.video-story {
  padding: 74px 0 66px;
  background-image: linear-gradient(135deg, rgba(18, 118, 174, 0.13), transparent 48%);
  color: #f7f3ec;
}
.video-story__heading {
  margin-bottom: 29px;
}
.video-story__heading .eyebrow {
  margin-bottom: 9px;
  color: #d6a27a;
}
.video-story__heading h2 {
  color: #f7f3ec;
  font-size: clamp(38px, 4.5vw, 59px);
  line-height: 1.08;
}
.video-story__heading h2 em {
  color: #dc9970;
  font-family: Georgia, serif;
  font-weight: 400;
}
.video-story__heading > p:not(.eyebrow) {
  margin: 13px 0 0;
  color: #c1ced2;
  font-size: 15px;
}
.video-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.64fr) minmax(350px, 1fr);
  align-items: stretch;
  gap: 14px;
}
.video-story__screen {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background: #173744;
}
.video-story__poster,
.video-story__screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-story__poster {
  overflow: hidden;
  padding: 0;
  background: #173744;
  color: #fff;
}
.video-story__poster[hidden] {
  display: none;
}
.video-story__poster::after {
  position: absolute;
  inset: 53% 0 0;
  background: linear-gradient(transparent, rgba(7,21,27,.78));
  content: '';
  pointer-events: none;
}
.video-story__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}
.video-story__poster:hover img,
.video-story__poster:focus-visible img {
  transform: scale(1.025);
}
.video-story__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(13,39,51,.62);
  color: #fff;
  translate: -50% -50%;
  transition: background-color 180ms ease, scale 180ms ease;
}
.video-story__poster:hover .video-story__play,
.video-story__poster:focus-visible .video-story__play {
  background: #b97751;
  scale: 1.05;
}
.video-story__play svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.video-story__screen-index,
.video-story__poster-label {
  position: absolute;
  z-index: 1;
  bottom: 23px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.video-story__screen-index {
  left: 25px;
}
.video-story__poster-label {
  right: 25px;
  left: auto;
  display: inline-flex;
  gap: 13px;
  align-items: center;
}
.video-story__playlist {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  min-height: 0;
  background: #102d39;
}
.video-story__choice {
  display: grid;
  grid-template-columns: 25px 104px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 13px;
  min-width: 0;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #34515d;
  padding: 15px 14px;
  background: transparent;
  color: #f7f3ec;
  text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.video-story__choice:last-child {
  border-bottom: 0;
}
.video-story__choice:hover,
.video-story__choice:focus-visible,
.video-story__choice.is-active {
  border-left-color: #d99065;
  background: #1c3a46;
}
.video-story__choice-number {
  color: #d99065;
  font-family: Georgia, serif;
  font-size: 21px;
}
.video-story__choice img {
  width: 104px;
  height: 65px;
  object-fit: cover;
}
.video-story__choice-copy {
  display: block;
  min-width: 0;
}
.video-story__choice-copy strong {
  display: block;
}
.video-story__choice-copy strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
}
.video-story__choice-arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #9cb1b9;
  border-radius: 50%;
  color: #e8f1f2;
}
.video-story__choice-arrow svg {
  width: 15px;
  height: 15px;
}
.video-story__external {
  display: inline-flex;
  gap: 13px;
  margin-top: 21px;
  border-bottom: 1px solid #d99065;
  padding-bottom: 4px;
  color: #f0c09c;
  font-size: 12px;
  font-weight: 700;
}
.video-story__external:hover,
.video-story__external:focus-visible {
  color: #fff;
}

@media (max-width: 991px) {
  .home-gallery__stage {
    grid-template-columns: minmax(0, 1.4fr) minmax(235px, .8fr);
    gap: 22px;
    height: 385px;
  }
  .home-gallery__image-button,
  .home-gallery__image-button img {
    height: 385px;
  }
  .home-gallery__detail {
    padding-left: 24px;
  }
  .home-gallery__sample img {
    height: 83px;
  }
  .video-story__layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(295px, 1fr);
    gap: 10px;
  }
  .video-story__choice {
    grid-template-columns: 20px 74px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }
  .video-story__choice img {
    width: 74px;
    height: 49px;
  }
  .video-story__choice-arrow {
    display: none;
  }
  .video-story__choice-copy strong {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .home-gallery {
    padding: 62px 0 53px;
  }
  .home-gallery__heading {
    margin-bottom: 26px;
    text-align: left;
  }
  .home-gallery__heading h2 {
    font-size: clamp(36px, 7vw, 46px);
  }
  .home-gallery__heading > p:not(.eyebrow) {
    max-width: 500px;
  }
  .home-gallery__stage {
    display: block;
    height: auto;
  }
  .home-gallery__image-button,
  .home-gallery__image-button img {
    width: 100%;
    height: 330px;
  }
  .home-gallery__detail {
    display: block;
    position: relative;
    border-left: 0;
    border-bottom: 1px solid #42606b;
    padding: 19px 110px 23px 0;
  }
  .home-gallery__rule {
    display: none;
  }
  .home-gallery__category {
    display: block;
    margin-top: 13px;
  }
  .home-gallery__detail h3 {
    margin: 6px 0 8px;
    font-size: 28px;
  }
  .home-gallery__detail p {
    font-size: 13px;
  }
  .home-gallery__controls {
    position: absolute;
    top: 19px;
    right: 0;
    margin: 0;
  }
  .home-gallery__controls button {
    width: 42px;
    height: 42px;
  }
  .home-gallery__filmstrip {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    margin-right: -32px;
    padding: 19px 32px 12px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-gallery__filmstrip::-webkit-scrollbar {
    display: none;
  }
  .home-gallery__sample {
    flex: 0 0 152px;
    scroll-snap-align: start;
  }
  .home-gallery__sample img {
    height: 83px;
  }
  .home-gallery__sample-label {
    gap: 7px;
  }
  .home-gallery__sample-label b {
    font-size: 17px;
  }
  .home-gallery__sample-label span {
    font-size: 11px;
  }
  .video-story {
    padding: 59px 0 54px;
  }
  .video-story__heading h2 {
    font-size: clamp(39px, 7vw, 48px);
  }
  .video-story__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .video-story__choice {
    grid-template-columns: 25px 92px minmax(0, 1fr) 27px;
    gap: 12px;
    padding: 12px 13px;
  }
  .video-story__choice img {
    width: 92px;
    height: 58px;
  }
  .video-story__choice-arrow {
    display: grid;
  }
  .video-story__choice-copy strong {
    font-size: 15px;
  }
}
@media (max-width: 575px) {
  .home-gallery {
    padding: 54px 0 46px;
  }
  .home-gallery__heading h2 {
    font-size: 38px;
  }
  .home-gallery__heading > p:not(.eyebrow) {
    font-size: 14px;
  }
  .home-gallery__image-button,
  .home-gallery__image-button img {
    height: 248px;
  }
  .home-gallery__detail {
    padding-right: 90px;
  }
  .home-gallery__detail h3 {
    font-size: 25px;
  }
  .home-gallery__detail p {
    margin-right: -90px;
  }
  .home-gallery__controls {
    gap: 7px;
  }
  .home-gallery__controls button {
    width: 36px;
    height: 36px;
  }
  .home-gallery__controls svg {
    width: 18px;
    height: 18px;
  }
  .home-gallery__filmstrip {
    margin-right: -20px;
    padding-right: 20px;
  }
  .home-gallery__footer {
    margin-top: 12px;
  }
  .video-story {
    padding: 54px 0 50px;
  }
  .video-story__heading h2 {
    font-size: 39px;
  }
  .video-story__heading > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.55;
  }
  .video-story__play {
    width: 61px;
    height: 61px;
  }
  .video-story__play svg {
    width: 23px;
    height: 23px;
  }
  .video-story__screen-index,
  .video-story__poster-label {
    bottom: 11px;
    font-size: 9px;
  }
  .video-story__screen-index {
    left: 12px;
  }
  .video-story__poster-label {
    right: 12px;
  }
  .video-story__choice {
    grid-template-columns: 20px 80px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 8px;
  }
  .video-story__choice img {
    width: 80px;
    height: 51px;
  }
  .video-story__choice-copy strong {
    font-size: 13px;
  }
  .video-story__choice-arrow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-gallery__image-button img,
  .home-gallery__sample img,
  .video-story__poster img,
  .video-story__choice,
  .video-story__play {
    transition: none;
  }
}

/* Home project mosaic */
.home-gallery--mosaic {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
}
.home-gallery--mosaic::before {
  position: absolute;
  bottom: -80px;
  left: -95px;
  width: 430px;
  height: 520px;
  background: repeating-linear-gradient(45deg, transparent 0 17px, rgba(41, 161, 224, 0.16) 17px 18px);
  content: "";
  transform: rotate(2deg);
  pointer-events: none;
}
.home-gallery--mosaic .container {
  position: relative;
  z-index: 1;
}
.home-gallery--mosaic .home-gallery__heading {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}
.home-gallery--mosaic .home-gallery__heading .eyebrow {
  margin-bottom: 7px;
  justify-content: center;
}
.home-gallery--mosaic .home-gallery__heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.home-gallery--mosaic .home-gallery__heading h2 span {
  color: #28a5e5 !important;
  font-weight: 400;
}
.home-gallery--mosaic .home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 1080px);
  margin: 0 auto;
}
.home-gallery--mosaic .home-gallery__card {
  position: relative;
  display: block;
  aspect-ratio: 0.72;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(61, 167, 224, 0.25);
  background: #07121b;
  isolation: isolate;
}
.home-gallery--mosaic .home-gallery__card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 23px 23px;
  border-color: transparent transparent #1688c4 transparent;
  content: "";
  transition: border-width 220ms ease;
}
.home-gallery--mosaic .home-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.72, 0.25, 1), filter 300ms ease;
}
.home-gallery--mosaic .home-gallery__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 9, 15, 0.05) 25%, rgba(2, 9, 15, 0.9) 100%);
  opacity: 0;
  transition: opacity 280ms ease;
}
.home-gallery--mosaic .home-gallery__meta {
  margin-bottom: 5px;
  color: #54bdf2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform 280ms ease;
}
.home-gallery--mosaic .home-gallery__overlay strong {
  max-width: calc(100% - 35px);
  font-size: 19px;
  line-height: 1.15;
  transform: translateY(8px);
  transition: transform 280ms ease;
}
.home-gallery--mosaic .home-gallery__overlay i {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 13px;
}
.home-gallery--mosaic .home-gallery__card:hover img,
.home-gallery--mosaic .home-gallery__card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05);
}
.home-gallery--mosaic .home-gallery__card:hover::after,
.home-gallery--mosaic .home-gallery__card:focus-visible::after {
  border-width: 0 0 34px 34px;
}
.home-gallery--mosaic .home-gallery__card:hover .home-gallery__overlay,
.home-gallery--mosaic .home-gallery__card:focus-visible .home-gallery__overlay {
  opacity: 1;
}
.home-gallery--mosaic .home-gallery__card:hover .home-gallery__meta,
.home-gallery--mosaic .home-gallery__card:hover .home-gallery__overlay strong,
.home-gallery--mosaic .home-gallery__card:focus-visible .home-gallery__meta,
.home-gallery--mosaic .home-gallery__card:focus-visible .home-gallery__overlay strong {
  transform: translateY(0);
}
.home-gallery--mosaic .home-gallery__card:focus-visible {
  outline: 3px solid #50bdf4;
  outline-offset: 3px;
}
.home-gallery--mosaic .home-gallery__footer {
  display: flex;
  justify-content: center;
  margin-top: 38px;
  padding-top: 0;
  border-top: 0;
}
.home-gallery--mosaic .home-gallery__button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 13px 21px 13px 25px;
  border: 1px solid #2da8e7 !important;
  color: #fff !important;
  background: #0d76ae;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.home-gallery--mosaic .home-gallery__button span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #07121b;
  background: #fff;
  font-size: 13px;
}
.home-gallery--mosaic .home-gallery__button:hover,
.home-gallery--mosaic .home-gallery__button:focus-visible {
  border-color: #5cc6fa !important;
  color: #fff !important;
  background: #1191d2;
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .home-gallery--mosaic {
    padding: 72px 0 76px;
  }
  .home-gallery--mosaic .home-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }
}

@media (max-width: 575.98px) {
  .home-gallery--mosaic {
    padding: 57px 0 60px;
  }
  .home-gallery--mosaic::before {
    width: 280px;
    height: 360px;
  }
  .home-gallery--mosaic .home-gallery__heading {
    margin-bottom: 28px;
  }
  .home-gallery--mosaic .home-gallery__heading h2 {
    font-size: clamp(30px, 10vw, 40px);
  }
  .home-gallery--mosaic .home-gallery__grid {
    gap: 6px;
  }
  .home-gallery--mosaic .home-gallery__overlay {
    padding: 15px 13px;
  }
  .home-gallery--mosaic .home-gallery__overlay strong {
    font-size: 14px;
  }
  .home-gallery--mosaic .home-gallery__meta,
  .home-gallery--mosaic .home-gallery__overlay i {
    display: none;
  }
  .home-gallery--mosaic .home-gallery__footer {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery--mosaic .home-gallery__card img,
  .home-gallery--mosaic .home-gallery__overlay,
  .home-gallery--mosaic .home-gallery__meta,
  .home-gallery--mosaic .home-gallery__overlay strong,
  .home-gallery--mosaic .home-gallery__button {
    transition: none;
  }
}
