/* ============================= */
/* HERO — FINAL DARK */
/* ============================= */

.home-hero{
  position: relative;
}

.home-hero--dark{
  min-height: 820px;
  padding: 156px 0 120px;
  background: var(--bg-dark);
}

.home-hero__bg,
.home-hero__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero__bg{
  background:
    linear-gradient(rgba(10,10,14,0.28), rgba(10,10,14,0.28)),
    radial-gradient(circle at 30% 20%, rgba(47,84,241,0.10), transparent 35%),
    radial-gradient(circle at 70% 35%, rgba(9,21,116,0.16), transparent 40%),
    linear-gradient(180deg, rgba(24,24,27,0.14) 0%, rgba(24,24,27,0.88) 100%),
    url("assets/img/hero-wave.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(0.95);
}

.home-hero__overlay{
  background:
    linear-gradient(180deg, rgba(24,24,27,0.08) 0%, rgba(24,24,27,0.12) 40%, rgba(24,24,27,0.92) 100%);
}

.home-hero__inner{
  position: relative;
  z-index: 2;
}

.home-hero__content{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.home-hero__title-logo{
  width: 596px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto 64px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  will-change: transform;
}

.home-hero__title-logo:hover{
  transform: scale(1.025);
}

.home-hero__subtitle{
  width: 814px;
  max-width: 90%;
  margin: 0 auto;
  font-size: 34px;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  will-change: transform;
}

.home-hero__subtitle:hover{
  transform: scale(1.015);
  opacity: 0.92;
}

.home-hero__scroll{
  margin: 120px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-hero__scroll:hover{
  transform: translateY(2px);
  opacity: 0.9;
}

.home-hero__scroll-arrow{
  width: 28px;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.home-hero__scroll:hover .home-hero__scroll-arrow{
  transform: translateY(6px);
}

.home-hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================= */
/* HERO LOGO REVEAL */
/* ============================= */

.hero-logo-reveal{
  --reveal-x: 0%;
  position: relative;
  width: 596px;
  max-width: 90%;
  margin: 0 auto 64px;
  display: block;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-logo-reveal:hover{
  transform: scale(1.025);
}

.hero-logo-reveal__base,
.hero-logo-reveal__fill{
  display: block;
  width: 100%;
  height: auto;
}

.hero-logo-reveal__base{
  position: relative;
  z-index: 1;
}

.hero-logo-reveal__fill{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  clip-path: inset(0 calc(100% - var(--reveal-x)) 0 0);
  transition: clip-path 0.06s linear;
}

/* ============================= */
/* PILLARS */
/* ============================= */

.pillars-section{
  position: relative;
  margin-top: -180px;
  z-index: 5;
  background: linear-gradient(to bottom, transparent 0 52%, var(--bg-dark) 52% 100%);
}

.pillars{
  display: grid;
  grid-template-columns: repeat(3, 364px);
  gap: 24px;
  justify-content: center;
  align-items: start;
}

.pillar-card{
  position: relative;
  width: 364px;
  height: 350px;
  border-radius: 6px;
  padding: 28px 28px 24px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
  opacity: 0;
  transform: translateY(28px);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    opacity 0.5s ease;
  will-change: transform, opacity;
}

.pillar-card.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.pillar-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.22);
}

.pillar-card__inner{
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pillar-card--biz{
  background: #D5E0FE;
  color: #172FAD;
}

.pillar-card--tech{
  background: #EAE8E5;
  color: #3F3F46;
}

.pillar-card--talent{
  background: #919191;
  color: #3F3F46;
}

.pillar-card__head{
  margin-bottom: 18px;
}

.pillar-card__title{
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: inherit;
}

.pillar-card__text{
  max-width: 250px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: inherit;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.pillar-card__arrow{
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 26px;
  height: 26px;
  display: block;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.pillar-card:hover .pillar-card__arrow{
  transform: translate(4px, -4px);
}

.pillar-card:hover .pillar-card__text{
  transform: translateY(-2px);
}

/* ============================= */
/* MANIFIESTO — HOME */
/* ============================= */

.manifiesto{
  position: relative;
  background: var(--bg-dark);
  padding: 92px 0 72px;
  margin-top: 0;
}

.manifiesto-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 90px;
  align-items: start;
}

.manifiesto-grid__left{
  position: relative;
}

.manifiesto__sticky{
  position: sticky;
  top: 120px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.manifiesto__eyebrow{
  margin-bottom: 84px;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
}

.manifiesto__title-wrap{
  position: relative;
  min-height: 250px;
}

.manifiesto__title{
  max-width: 620px;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, color 0.28s ease;
}

.manifiesto__title.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.manifiesto-grid__left:hover .manifiesto__title{
  color: #2F54F1;
}

.manifiesto__cta{
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 40px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,0.95);
  font-size: 16px;
  text-decoration: none;
}

.manifiesto__cta span{
  display: block;
}

.manifiesto__cta-arrow{
  font-size: 24px;
  line-height: 1;
}

.manifiesto-grid__right{
  position: relative;
  min-height: 480px;
}

.manifiesto__list--hidden{
  visibility: hidden;
  pointer-events: none;
}

.manifiesto__step{
  min-height: auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.manifiesto__step.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.manifiesto__step p{
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  transition: transform 0.4s ease, color 0.4s ease;
}

.manifiesto__step:hover p{
  transform: translateX(6px) scale(1.02);
  color: #ffffff;
}

/* ============================= */
/* MANIFIESTO CTA — FADE + ZOOM */
/* ============================= */

.manifiesto__cta{
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 40px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,0.95);
  font-size: 16px;
  text-decoration: none;
  transition:
    transform 0.32s ease,
    color 0.28s ease;
}

.manifiesto__cta span{
  display: block;
  transition:
    transform 0.28s ease,
    color 0.28s ease;
}

.manifiesto__cta-arrow{
  font-size: 24px;
  line-height: 1;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.manifiesto__cta:hover{
  transform: scale(1.01);
}

.manifiesto__cta:hover span{
  transform: translateX(6px);
  color: #2F54F1;
}

.manifiesto__cta:hover .manifiesto__cta-arrow{
  transform: translateX(10px);
  opacity: 0.9;
}

/* ============================= */
/* SERVICIOS */
/* ============================= */

.servicios{
  background: var(--bg-dark);
  padding: 110px 0 120px;
}

.servicios__eyebrow{
  text-align: center;
  margin-bottom: 36px;
  font-size: 22px;
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}

.servicios__tabs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.servicios__tab{
  appearance: none;
  border: 0;
  border-radius: 4px;
  min-height: 46px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  background: #EAE8E5;
  color: #919191;
}

.servicios__tab.is-active{
  background: #2F54F1;
  color: #FFFFFF;
}

.servicios__tabs .servicios__tab:nth-child(3){
  background: #D5E0FE;
  color: #2F54F1;
}

.servicios-columns{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servicios-column{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.servicio-card{
  width: 100%;
  padding: 42px 30px 28px;
  border-radius: 6px;
  background: #2B2B2F;
  display: flex;
  flex-direction: column;
}

.servicio-card--tall{
  height: 457px;
}

.servicio-card--short{
  height: 296.67px;
}

.servicio-card h3{
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
  color: #ffffff;
}

.servicio-card p{
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.45;
  color: #FAFAFA;
  max-width: 310px;
}

.servicio-card__link{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #FAFAFA;
}

/* ============================= */
/* CLIENTES */
/* ============================= */

.clientes{
  background: var(--bg-light);
  padding: 84px 0 96px;
}

.clientes__eyebrow{
  text-align: center;
  margin-bottom: 34px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--brand-primary);
}

.clientes-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 104px;
}

.cliente-logo{
  min-height: 86px;
  border-radius: 2px;
  background: rgba(255,255,255,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(63,63,70,0.88);
  font-size: 22px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.cliente-logo.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.cliente-logo img{
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cliente-logo:hover img{
  transform: scale(1.08);
  opacity: 1;
}

/* ============================= */
/* SERVICIOS — ANIMACIONES */
/* ============================= */

.servicio-card{
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform 0.32s ease,
    opacity 0.5s ease,
    box-shadow 0.32s ease;
  will-change: transform, opacity;
}

.servicio-card.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* HOVER */

.servicio-card{
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.servicio-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}

/* micro interacción interna */

/* ============================= */
/* SERVICIOS — LINK HOVER PRO */
/* ============================= */

.servicio-card__link{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;

  transition: 
    transform 0.28s ease,
    opacity 0.28s ease,
    color 0.24s ease;
}

/* subrayado sutil animado */
.servicio-card__link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

/* hover SOLO del link */
.servicio-card__link:hover{
  transform: translateX(4px);
  color: var(--brand-primary);
}

/* activa línea */
.servicio-card__link:hover::after{
  transform: scaleX(1);
}

/* hover desde la card (más suave) */
.servicio-card:hover .servicio-card__link{
  opacity: 0.95;
}