.header-home
{
  min-height: fit-content;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.header-home img,
.header-home__video
{
  display: block;
  width: 100%;
  max-height: 100dvh;
  height: auto;
}
.header-home__video
{
  object-fit: cover;
  object-position: center;
}
.header-home__claim
{
  display: inline-block;
  position: absolute;
  top: 33%;
  left: 2%;
  z-index: 2;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(52px, 8.12vw, 156px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.6 !important;
  animation: headerHomeClaimFade 5s ease-in forwards;
  text-transform: uppercase;
  rotate: 270deg;
}
.header-home__animation
{
  position: absolute;
  right: clamp(18px, 3.75vw, 72px);
  bottom: clamp(18px, 3vw, 56px);
  z-index: 2;
  width: 73px;
  aspect-ratio: 1;
  pointer-events: none;
}
.header-home__animation svg
{
  display: block;
  width: 100%;
  height: 100%;
}
.header-home__animation svg [fill]:not([fill="none"])
{
  fill: #fff !important;
}
.header-home__animation svg [stroke]:not([stroke="none"])
{
  stroke: #fff !important;
}
section.aliados
{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 80px);
  padding-right: clamp(30px,9.89vw, 190px );
  margin-top: clamp(40px,8.33vw, 160px );
}
section.aliados .images-slider
{
  --slider-height: 672px;
  --slider-collapsed-width: clamp(200px, 14.84vw, 285px);
  --slider-expanded-width: clamp(300px, 18.75vw, 360px);
  --slider-overlap: 80px;
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 0 0 auto;
  width: min(100%, 720px);
  max-width: 720px;
  min-height: var(--slider-height);
  overflow: visible;
}
section.aliados .images-slider img
{
  flex: 0 0 var(--slider-collapsed-width);
  width: var(--slider-collapsed-width);
  min-width: 0;
  height: var(--slider-height);
  margin-left: calc(-1 * var(--slider-overlap));
  position: relative;
  z-index: 1;
  border-radius: clamp(14px, 1.35vw, 22px);
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-42px) scale(0.98);
  filter: saturate(0.88);
  transition: flex-basis 0.55s cubic-bezier(0.22, 1, 0.36, 1), width 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease, transform 0.45s ease;
}
section.aliados .images-slider img:first-child
{
  margin-left: 0;
  
}
section.aliados .images-slider img:nth-child(1)
{
  z-index: 4;
  border-radius:0 clamp(14px, 1.35vw, 22px) clamp(14px, 1.35vw, 22px) 0;
}
section.aliados .images-slider img:nth-child(2)
{
  z-index: 3;
}
section.aliados .images-slider img:nth-child(3)
{
  z-index: 2;
}
section.aliados .images-slider img:nth-child(4)
{
  z-index: 1;
}
section.aliados .images-slider:hover img
{
  filter: saturate(0.82);
}
section.aliados .images-slider img:hover
{
  flex-basis: var(--slider-expanded-width);
  width: var(--slider-expanded-width);
  z-index: 20;
  filter: saturate(1);
  transform: translateY(-2px);
}
section.aliados .images-slider.is-ready img
{
  animation: imagesSliderReveal 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
section.aliados .images-slider.is-ready img:nth-child(1)
{
  animation-delay: 0.05s;
}
section.aliados .images-slider.is-ready img:nth-child(2)
{
  animation-delay: 0.16s;
}
section.aliados .images-slider.is-ready img:nth-child(3)
{
  animation-delay: 0.27s;
}
section.aliados .images-slider.is-ready img:nth-child(4)
{
  animation-delay: 0.38s;
}
section.aliados .content
{
  flex: 0 1 43%;
}
section.aliados .content
{
  display: flex;
  flex-direction: column;

}
section.aliados .content h1
{
  align-self: flex-end;
  font-size: clamp(24px, 2.08vw, 40px);
  width: fit-content;
  text-align: end;
  position: relative;
  margin-top: 0;
  margin-bottom: clamp(16px, 4.27vw, 82px);
}
section.aliados .content h1::before
{
  content: "";
  position: absolute;
  background-color: #dd0812;
  width: 21px;
  height:7px;
  right: -27px;
  bottom: -1px;
}
section.aliados .content p
{
  max-width: 33dvw;
  align-self: flex-end;
  text-align: justify;
}
section.aliados .content .btn-formworks
{
  align-self: flex-end;
  margin-top: 71px;
  color:#fff
}
section.aliados .content .btn-formworks:hover
{
  color: #dd0812;
}
@keyframes imagesSliderReveal
{
  from
  {
    opacity: 0;
    transform: translateX(-42px) scale(0.98);
  }
  to
  {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes headerHomeClaimFade
{
  0%
  {
    opacity: 1;
  }
  15%
  {
    opacity: 1;
  }
  100%
  {
    opacity: 0;
  }
}
.featured-formworks-home
{
  background-color: #fff;
  border-radius: 15px;
  padding: 3.4rem 1.6rem 5.1rem 1.6rem;
  margin:122px auto 129px auto;
  max-width: 81.6%;
  position: relative;
}
.featured-formworks-home .wrapper
{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
}
.featured-formworks-home .wrapper .featured
{
  padding: 0 3rem;
  perspective: 800px;
}
.featured-formworks-home .wrapper .featured .image
{
  width: 174px;
  height: 174px;
  border-radius: 87px;
  background-color: transparent;
  margin: 0 auto;
  margin-bottom: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
}
.featured-formworks-home .wrapper .featured .image::before,
.featured-formworks-home .wrapper .featured .image::after
{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backface-visibility: hidden;
  z-index: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.featured-formworks-home .wrapper .featured .image::before
{
  background-color: #f3f3f3;
}
.featured-formworks-home .wrapper .featured .image::after
{
  background-color: #dd0812;
  transform: rotateY(180deg);
}
.featured-formworks-home .wrapper .featured .image img
{
  position: relative;
  z-index: 1;
  transition: filter 0.2s ease 0.18s;
}
.featured-formworks-home .wrapper .featured .image:hover::before
{
  transform: rotateY(180deg);
}
.featured-formworks-home .wrapper .featured .image:hover::after
{
  transform: rotateY(0);
}
.featured-formworks-home .wrapper .featured .image:hover img
{
  filter: brightness(0) invert(1);
}
.featured-formworks-home .wrapper .featured > h2
{
  color: #393939;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 0;
}
.featured-formworks-home .wrapper .featured > p
{
  text-align: center;
}
.featured-formworks-home .btn-formworks
{
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}
.featured-formworks-home .btn-formworks:hover
{
  color: #dd0812;
}
.respaldo-home
{
  position: relative;
  overflow: hidden;
  min-height:557px ;
  display: flex;
  justify-content: end;
}
.respaldo-home::before
{
  content: "";
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/05/saez-formwrks-005.webp') center center no-repeat;
  background-size: cover;
  transform: scale(1.04);
  transform-origin: center center;
  animation: respaldoKenBurns 8s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}
.respaldo-home div.content
{
  display: flex;
  justify-content: space-between;
  border-radius: 15px;
  background-color: #fff;
  opacity: 0.9;
  padding: 51px 53px 56px 53px;
  gap: 60px;
  margin-right: 180px;
  height: fit-content;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.respaldo-home div.content img
{
  max-width: 121px;
  max-height: 94px;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 11px;
}
.respaldo-home div.content > div
{
  display: flex;
  flex-direction: column;
  align-items: end;
}
.respaldo-home div.content > div h2
{
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #393939;
  text-align: right;
  margin-top: 0;
  font-style: normal;
  position: relative;
}
.respaldo-home div.content > div h2::before
{
  content: "";
  position: absolute;
  background-color: #dd0812;
  width: 21px;
  height:7px;
  right: -25px;
  bottom: -1px;
}
.respaldo-home div.content > div p
{
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #393939;
  max-width: 27dvw;
  width: fit-content;
  text-align: justify;
}
@keyframes respaldoKenBurns
{
  from
  {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to
  {
    transform: scale(1.12) translate3d(2%, -1.5%, 0);
  }
}
@media (max-width: 1024px)
{
  .header-home__claim
  {
    font-size: 64px;
  }
  section.aliados
  {
    flex-direction: column;
    align-items: center;
    padding-right: clamp(22px, 4vw, 36px);
    padding-left: clamp(22px, 4vw, 36px);
  }
  section.aliados .images-slider
  {
    width: min(100%, 670px);
    max-width: 670px;
    --slider-height: clamp(360px, 62vw, 560px);
    --slider-collapsed-width: 190px;
    --slider-expanded-width: 260px;
    --slider-overlap: 70px;
  }
  section.aliados .content
  {
    flex: 1 1 auto;
    width: 100%;
    max-width: 760px;
  }
  section.aliados .content h1
  {
    align-self: center;
    text-align: left;
    font-size: 24px;
  }
  section.aliados .content h1 > br
  {
    display: none;
  }
  section.aliados .content h1::before
  {
    right: -24px;
  }
  section.aliados .content p
  {
    max-width: 100%;
    text-align: justify;
  }
  section.aliados .content .btn-formworks
  {
    align-self: center;
    margin-top: 42px;
    color: #fff;
  }
  .featured-formworks-home .wrapper
  {
    flex-direction: column;
  }
    .respaldo-home div.content
  {
    flex-direction: column;
    padding: 30px;
    margin-right: 0;
    gap: 20px;

  }
  .respaldo-home div.content img
  {
    margin: 0 auto;
  }
  .respaldo-home div.content > div
  {
    align-items: start;
  }
  .respaldo-home div.content > div h2
  {
    text-align: left;
    font-size: 24px;
  }
  .respaldo-home div.content > div p
  {
    max-width: 100%;
  }
}
@media (max-width: 767px)
{
  .header-home__claim
  {
    top: 17%;
    left: 2%;
    width: max-content;
    max-width: none;
    font-size: 75px;
    transform: translate(-50%, -50%);
    transform-origin: center;
  }
  .header-home__animation
  {
    right: 14px;
    bottom: 14px;
    width: 62px;
  }
  section.aliados
  {
    gap: 30px;
  }
  section.aliados .images-slider
  {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 520px;
    min-height: 0;
    overflow: hidden;
  }
  section.aliados .images-slider img,
  section.aliados .images-slider img:first-child,
  section.aliados .images-slider img:nth-child(1)
  {
    flex: none;
    width: 100%;
    height: clamp(148px, 43vw, 230px);
    margin-left: 0;
    border-radius: 14px;
    transform: translateY(18px) scale(0.98);
  }
  section.aliados .images-slider img:hover
  {
    width: 100%;
    transform: translateY(0) scale(1);
  }
  .featured-formworks-home
  {
    max-width: 100%;
    padding-inline: 0;
    margin-top: 40px;
  }
  .featured-formworks-home .wrapper
  {
    flex-direction: column;
  }
  .featured-formworks-home .wrapper .featured .image
  {
    width: 130px;
    height: 130px;
  }
  .featured-formworks-home .btn-formworks
  {
    width: 85%;
  }
  .respaldo-home
  {
    padding-bottom: 40px;
  }
  section.hablamos
  {
    margin-top: 0;
  }
}
@media (hover: none)
{
  section.aliados .images-slider img
  {
    filter: saturate(0.95);
  }
  section.aliados .images-slider img.is-active
  {
    flex-basis: var(--slider-expanded-width);
    width: var(--slider-expanded-width);
    filter: saturate(1);
  }
}
@media (max-width: 767px)
{
  section.aliados .images-slider img.is-active
  {
    flex-basis: auto;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce)
{
  section.aliados .images-slider img
  {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
  .respaldo-home::before
  {
    animation: none;
    transform: none;
  }
  .header-home__claim
  {
    animation: none;
    opacity: 0;
  }
  .featured-formworks-home .wrapper .featured .image::before,
  .featured-formworks-home .wrapper .featured .image::after,
  .featured-formworks-home .wrapper .featured .image img
  {
    transition: none;
  }
  .header-home__animation
  {
    display: none;
  }
  .featured-formworks-home .wrapper .featured .image:hover::before
  {
    background-color: #dd0812;
    transform: none;
  }
  .featured-formworks-home .wrapper .featured .image:hover::after
  {
    transform: rotateY(180deg);
  }
}
