/* Hero matching the YAM reference artboard. */

body {
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 236, 244, 0.9);
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  backdrop-filter: blur(14px);
}

.header__inner {
  min-height: 86px;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  transform: none;
}

.brand img {
  width: 170px;
}

.main-nav {
  gap: 18px;
  color: rgba(43, 50, 57, 0.58);
  font-size: 18px;
  font-weight: 400;
}

.main-nav a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
}

.main-nav a:nth-child(2) {
  color: #fff;
  background: #08a8d4;
}

.header__actions {
  align-items: center;
  gap: 22px;
  transform: none;
}

.header__actions .language-switcher {
  margin-top: 0;
  opacity: 0.72;
}

.header__actions .btn {
  min-height: 50px;
  border-radius: 3px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 400;
  box-shadow: none;
}

.header__actions .btn--accent {
  min-width: 168px;
  background: #73c97a;
}

.header__actions .btn--ghost {
  min-width: 100px;
  color: #fff;
  border-color: transparent;
  background: rgba(3, 47, 71, 0.34);
}

@media (max-width: 1400px) {
  .site-header {
    position: sticky;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(231, 236, 244, 0.9);
    box-shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
    backdrop-filter: blur(14px);
  }

  .brand img {
    width: 150px;
  }

  .main-nav {
    gap: 6px;
    color: #4f5e70;
    font-size: 15px;
    font-weight: 700;
  }

  .main-nav a {
    padding: 0 10px;
  }

  .main-nav a:nth-child(2) {
    color: #fff;
    background: #08a8d4;
  }

  .header__actions {
    gap: 10px;
  }

  .header__actions .language-switcher {
    opacity: 1;
  }

  .header__actions .btn {
    min-height: 46px;
    border-radius: 6px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
  }

  .header__actions .btn--accent {
    min-width: 0;
    background: var(--green);
    box-shadow: 0 12px 26px rgba(32, 185, 120, 0.24);
  }

  .header__actions .btn--ghost {
    min-width: 0;
    background: #fff;
    border-color: #b9eaf7;
    color: var(--cyan-dark);
  }
}

#inicio {
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
}

#inicio .hero__grid {
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 47.5vw) minmax(0, 52.5vw);
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
}

#inicio .hero__content {
  width: min(940px, calc(100vw - 48px));
  max-width: none;
  align-self: end;
  padding: 0 0 19vh clamp(24px, 7.6vw, 146px);
  position: relative;
  z-index: 4;
}

#inicio .hero__eyebrow,
#inicio .hero__actions {
  display: none;
}

#inicio h1 {
  margin: 0;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 3.05vw, 58px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

#inicio h1,
#inicio .hero__copy {
  will-change: opacity, transform;
}

#inicio h1 span {
  display: inline-block;
  color: #08a8d4;
  font-size: 1.17em;
  line-height: 0;
  transform-origin: center;
}

#inicio .hero__copy {
  width: min(560px, 100%);
  margin: 32px 0 0 10px;
  color: #646464;
  font-size: clamp(18px, 1.18vw, 22px);
  line-height: 1.15;
}

#inicio .hero__copy strong {
  font-weight: 700;
}

#hero-client-rotator.hero__logos {
  width: min(620px, 92%);
  height: 86px;
  margin: 26px 0 0 34px;
  position: relative;
  display: block;
  overflow: hidden;
}

#hero-client-rotator.hero__logos .hero-client-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
}

#hero-client-rotator.hero__logos .hero-client-slide.is-visible {
  opacity: 1;
  visibility: visible;
}

#hero-client-rotator.hero__logos:not(.is-rotating-with-js) .hero-client-slide {
  visibility: visible;
  animation: heroClientLogoCycle 15s infinite;
}

#hero-client-rotator.hero__logos:not(.is-rotating-with-js) .hero-client-slide:nth-child(2) {
  animation-delay: 5s;
}

#hero-client-rotator.hero__logos:not(.is-rotating-with-js) .hero-client-slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes heroClientLogoCycle {
  0%, 30% { opacity: 1; }
  36%, 100% { opacity: 0; }
}

#inicio .hero-art {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: visible;
}

#inicio .hero-art__visual-wrapper {
  width: calc(100vh * 2560 / 1351);
  height: 100vh;
  min-width: 1280px;
  position: absolute;
  right: 0;
  top: 0;
  pointer-events: none;
}

#inicio .hero-art__underlay,
#inicio .hero-art__overlay {
  position: absolute;
  inset: 0;
}

#inicio .hero-art__underlay {
  z-index: 2;
}

#inicio .hero-art__overlay {
  z-index: 6;
  background-image: url("../img/hero/fondoslideultimo.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
}

#inicio .hero-art__bg,
#inicio .hero-art__person,
#inicio .hero-art__img {
  position: absolute;
  display: block;
  pointer-events: none;
}

#inicio .hero-art__bg {
  z-index: 1;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#inicio .hero-art__bg--01 {
  width: 24%;
  height: 38%;
  right: 21.1%;
  top: 30.4%;
  background-image: url("../img/hero/yam-02.png");
}

#inicio .hero-art__bg--03 {
  width: 22%;
  height: 38%;
  right: 6%;
  top: calc(13.2% - 5px);
  background-image: url("../img/hero/yam-03.png");
}

#inicio .hero-art__bg--04 {
  width: 23.5%;
  height: 39%;
  right: 0.65%;
  top: calc(46% + 16px);
  background-image: url("../img/hero/yam-03.png");
}

#inicio .hero-art__person {
  z-index: 3;
  border-radius: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  box-shadow: none;
  opacity: 0;
  transform: translateY(8vh);
  animation: heroPersonRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#inicio .hero-art__person::before {
  display: none;
}

#inicio .hero-art__person--01 {
  width: 16.8%;
  height: 30.8%;
  right: 26.6%;
  top: 36.1%;
  animation-delay: 180ms;
}

#inicio .hero-art__person--02 {
  width: 27%;
  height: 34.5%;
  right: calc(28.9% - 277px);
  top: calc(66.7% + 0px);
  z-index: 7;
  opacity: 0;
  transform: none;
  animation: heroPersonFade 780ms ease-out 360ms forwards;
}

#inicio .hero-art__person--03 {
  width: 21.8%;
  height: 26.8%;
  right: 7.2%;
  top: 24.2%;
  animation-delay: 280ms;
}

#inicio .hero-art__person--04 {
  width: 17%;
  height: 30.6%;
  right: 1.4%;
  top: 55.4%;
  animation-delay: 460ms;
}

#inicio .hero-art__icon {
  z-index: 8;
}

#inicio .hero-art__icon--plus {
  width: 4.5%;
  left: auto;
  right: calc(40.7% + 20px);
  top: calc(31.9% - 40px);
  transform-origin: center;
}

#inicio .hero-art__icon--smile {
  display: none;
}

#inicio .hero-art__icon--like {
  width: 4.6%;
  right: 3.3%;
  top: calc(19.1% + 6px);
}

#inicio .hero-art__icon--cloud {
  width: 4.8%;
  right: calc(26.8% - 116px);
  top: calc(44.8% + 100px);
  transform-origin: center;
}

#inicio .hero-art__icon--mobile {
  width: 3.15%;
  left: auto;
  right: calc(10.8% + 37px);
  top: calc(83% + 37px);
}

#inicio .hero-art__slides {
  display: none;
}

@keyframes hero-spinThenBack {
  0% { transform: rotate(0); }
  50% { transform: rotate(360deg); }
  100% { transform: rotate(0); }
}

@keyframes hero-quarterTilt {
  0% { transform: rotate(0); }
  50% { transform: rotate(25deg); }
  100% { transform: rotate(0); }
}

@keyframes hero-nudgeRight {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

@keyframes hero-scalePulse {
  0% { transform: scale(0.58); }
  50% { transform: scale(1.06); }
  100% { transform: scale(0.58); }
}

@keyframes hero-vibrate {
  0% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

@keyframes heroPersonRise {
  from {
    opacity: 0;
    transform: translateY(8vh);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPersonFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#inicio .hero-art__icon--plus { animation: hero-spinThenBack 8s ease-in-out infinite; }
#inicio .hero-art__icon--smile { animation: hero-quarterTilt 4s ease-in-out infinite; }
#inicio .hero-art__icon--like { animation: hero-nudgeRight 3.5s ease-in-out infinite; }
#inicio .hero-art__icon--cloud { animation: hero-scalePulse 5s ease-in-out infinite; }
#inicio .hero-art__icon--mobile { animation: hero-vibrate 0.7s linear infinite; }

@media (min-width: 1101px) and (max-width: 1400px) {
  #inicio,
  #inicio .hero__grid {
    min-height: min(calc(100vh - 74px), 700px);
  }

  #inicio .hero__grid {
    grid-template-columns: minmax(410px, 46vw) minmax(0, 54vw);
  }

  #inicio .hero__content {
    width: min(600px, calc(100vw - 48px));
    padding: 0 0 clamp(66px, 10vh, 112px) clamp(34px, 6vw, 86px);
  }

  #inicio h1 {
    font-size: clamp(40px, 3.6vw, 50px);
    width: max-content;
    max-width: 720px;
  }

  #inicio .hero__copy {
    width: min(430px, 100%);
    margin-top: 24px;
    font-size: clamp(16px, 1.45vw, 19px);
  }

  #hero-client-rotator.hero__logos {
    width: min(500px, 92%);
    height: 70px;
    margin-top: 20px;
  }

  #inicio .hero-art {
    display: block;
    min-height: min(calc(100vh - 74px), 700px);
  }

  #inicio .hero__visual {
    display: block;
  }

  #inicio .hero-art__visual-wrapper {
    width: min(calc((100vh - 74px) * 2560 / 1351 + 64px), 1184px);
    height: 100%;
    min-width: 900px;
    right: -20px;
    top: 0;
  }

  #inicio .hero-art__overlay {
    background-position: right top;
    background-size: auto 100%;
  }

  #inicio .hero-art__bg--01 {
    right: calc(21.4% + 80px);
    top: calc(27.8% + 12px);
  }

  #inicio .hero-art__bg--03 {
    right: calc(5.7% + 38px);
    top: calc(10.8% + 20px);
  }

  #inicio .hero-art__bg--04 {
    right: 0.5%;
    top: 48.8%;
  }

  #inicio .hero-art__person--01 {
    right: calc(27.1% + 45px);
    top: calc(33.4% + 25px);
  }

  #inicio .hero-art__person--02 {
    right: calc(28.9% - 140px);
    top: calc(59.4% + 40px);
  }

  #inicio .hero-art__person--03 {
    right: calc(7.6% + 28px);
    top: calc(18.2% + 40px);
  }

  #inicio .hero-art__person--04 {
    right: calc(1.7% + 15px);
    top: calc(46.8% + 50px);
  }

  #inicio .hero-art__icon--plus {
    right: calc(40.7% + 68px);
    top: calc(31.9% - 26px);
  }

  #inicio .hero-art__icon--like {
    right: calc(3.2% + 16px);
    top: calc(19.1% + 10px);
  }

  #inicio .hero-art__icon--cloud {
    right: calc(26.8% - 45px);
    top: calc(44.8% + 80px);
  }

  #inicio .hero-art__icon--mobile {
    right: calc(10.8% + 42px);
    top: calc(83% + 34px);
  }
}

@media (max-width: 1100px) {
  .site-header {
    position: sticky;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(231, 236, 244, 0.9);
  }

  .header__inner {
    min-height: 74px;
    align-items: center;
    padding-top: 12px;
  }

  .brand,
  .header__actions {
    transform: none;
  }

  .header__actions .language-switcher {
    margin-top: 0;
    opacity: 1;
  }

  .main-nav a:nth-child(2) {
    color: #fff;
    background: #08a8d4;
  }

  #inicio .hero-art__icon--smile {
    display: none;
  }

  #inicio {
    min-height: 0;
  }

  #inicio .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    display: block;
  }

  #inicio .hero__content {
    align-self: start;
    width: min(720px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 56px 24px 48px;
    text-align: center;
  }

  #inicio h1 {
    width: auto;
    max-width: none;
    font-size: clamp(40px, 5.8vw, 56px);
    line-height: 1.02;
  }

  #inicio .hero__copy {
    width: min(560px, 100%);
    margin: 24px auto 0;
    font-size: clamp(17px, 2.1vw, 20px);
    line-height: 1.26;
  }

  #inicio .hero-art {
    display: none;
    min-height: 0;
  }

  #inicio .hero-art__visual-wrapper {
    width: calc(72vw * 2560 / 1351);
    min-width: 0;
    height: 72vw;
    position: relative;
    margin-left: auto;
  }

  #hero-client-rotator.hero__logos {
    width: min(560px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  #inicio .hero-art__icon--smile {
    width: calc(72vw * 2560 / 1351 * 0.072);
    left: 21vw;
    right: auto;
    top: calc(72vw * 0.222);
  }
}

@media (max-width: 760px) {
  #inicio {
    min-height: 0;
  }

  .header__inner {
    padding-left: clamp(18px, 5vw, 24px);
    padding-right: clamp(18px, 5vw, 24px);
  }

  .brand img {
    width: 126px;
  }

  #inicio .hero__content {
    padding: 36px 24px 34px;
    text-align: center;
  }

  #inicio h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.02;
  }

  #inicio .hero__copy {
    margin: 22px auto 0;
    font-size: 17px;
    line-height: 1.32;
  }

  #hero-client-rotator.hero__logos {
    margin-left: auto;
    margin-right: auto;
  }

  #inicio .hero-art {
    display: none;
    min-height: 0;
  }

  #inicio .hero-art__visual-wrapper {
    width: calc(82vw * 2560 / 1351);
    height: 82vw;
    min-width: 0;
    right: -28vw;
  }

  #inicio .hero-art__icon--smile {
    width: calc(82vw * 2560 / 1351 * 0.072);
    left: 19vw;
    right: auto;
    top: calc(82vw * 0.222);
  }
}
