/* ============================================================
   HERO EDITORIAL — pixel-accurate recreation of reference
   Giant title · CEO card · gradient panel · social col · avatars
   ============================================================ */

.avoora-hero {
  background: var(--color-bg);
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.avoora-hero-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}

.avoora-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(28px, 4vw, 72px);
  padding-top: 30px;
  padding-bottom: 0;
  min-height: 0;
  height: auto;
}

.avoora-giant-title {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 658;
  color: #080808;
  letter-spacing: -0.075em;
  line-height: 0.82;
  font-size: clamp(98px, 6.6vw, 127px);
  text-align: left;
  white-space: nowrap;
  min-width: 0;
  margin: 0;
}

.founder-card {
  align-self: center;
  justify-self: end;
  flex-shrink: 0;
  margin: 0;
  position: relative;
  width: clamp(266px, 15.2vw, 300px);
  height: clamp(102px, 5.6vw, 110px);
  box-sizing: border-box;
  padding: 8px;
  display: grid;
  grid-template-columns: clamp(77px, 4.4vw, 85px) minmax(0, 1fr);
  column-gap: 11px;
  align-items: stretch;
  background-color: #FCFCFA;
  border: 1px solid rgba(24, 24, 24, 0.14);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.025);
  overflow: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 300ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0s;
  will-change: opacity, transform;
}

.founder-card__photo {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  clip-path: none;
  mask: none;
  -webkit-mask: none;
}

.founder-card__content {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 1px 0 0;
  box-sizing: border-box;
}

.founder-card__name {
  margin: 0;
  padding: 0;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #000000;
  white-space: nowrap;
}

.founder-card__role {
  margin: 5px 0 0;
  padding: 0;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  color: #3D3D3D;
  white-space: nowrap;
}

.founder-card__cta {
  --cta-text-distance: 22px;
  --cta-arrow-distance: 18px;
  --cta-duration: 420ms;
  --cta-easing: cubic-bezier(0.76, 0, 0.24, 1);

  width: 100%;
  height: clamp(34px, 2vw, 37px);
  min-height: 34px;
  max-height: 37px;
  margin-top: auto;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 14px;
  background-color: #575553;
  color: #FFFFFF;
  border: 0;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.founder-card__cta:focus-visible {
  outline: 2px solid var(--color-accent, #14B8A6);
  outline-offset: 3px;
}

.founder-card__text-window {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  height: 18px;
  overflow: hidden;
}

.founder-card__text-track {
  position: relative;
  display: block;
  width: 100%;
  height: 36px;
  transform: translate3d(0, 0, 0);
  transition: transform var(--cta-duration) var(--cta-easing);
  will-change: transform;
}

.founder-card__text {
  position: absolute;
  left: 0;
  width: 100%;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #FFFFFF;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.founder-card__text--first { top: 0; }
.founder-card__text--second { top: 18px; }

.founder-card__cta:hover .founder-card__text-track,
.founder-card__cta:focus-visible .founder-card__text-track {
  transform: translate3d(0, -18px, 0);
}

.founder-card__seal {
  position: relative;
  width: clamp(26px, 1.7vw, 30px);
  height: clamp(26px, 1.7vw, 30px);
  flex: 0 0 clamp(26px, 1.7vw, 30px);
  display: grid;
  place-items: center;
  background-color: #FFFFFF;
  transform: none;
  clip-path: polygon(50.00% 0.00%, 58.97% 4.88%, 69.13% 3.81%, 75.56% 11.75%, 85.36% 14.64%, 88.25% 24.44%, 96.19% 30.87%, 95.12% 41.03%, 100.00% 50.00%, 95.12% 58.97%, 96.19% 69.13%, 88.25% 75.56%, 85.36% 85.36%, 75.56% 88.25%, 69.13% 96.19%, 58.97% 95.12%, 50.00% 100.00%, 41.03% 95.12%, 30.87% 96.19%, 24.44% 88.25%, 14.64% 85.36%, 11.75% 75.56%, 3.81% 69.13%, 4.88% 58.97%, 0.00% 50.00%, 4.88% 41.03%, 3.81% 30.87%, 11.75% 24.44%, 14.64% 14.64%, 24.44% 11.75%, 30.87% 3.81%, 41.03% 4.88%);
}

.founder-card__arrow-window {
  position: relative;
  width: 14px;
  height: 14px;
  overflow: hidden;
}

.founder-card__arrow-track {
  position: absolute;
  left: -14px;
  top: 0;
  width: 42px;
  height: 14px;
  transform: translate3d(0, 0, 0);
  transition: transform var(--cta-duration) var(--cta-easing);
  will-change: transform;
}

.founder-card__arrow {
  position: absolute;
  top: 1px;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-card__arrow--incoming { left: 0; }
.founder-card__arrow--visible { left: 14px; }

.founder-card__arrow svg {
  width: 13px;
  height: 13px;
  display: block;
  color: var(--color-accent, #14B8A6);
}

.founder-card__cta:hover .founder-card__arrow-track,
.founder-card__cta:focus-visible .founder-card__arrow-track {
  transform: translate3d(14px, 0, 0);
}

@media (max-width: 900px) {
  .avoora-title-row {
    grid-template-columns: 1fr;
    padding-top: 32px;
    padding-bottom: 16px;
  }
  .founder-card {
    display: none;
  }
  .avoora-giant-title {
    font-size: clamp(48px, 16vw, 120px);
    white-space: normal;
  }
}

/* ── Móvil (<=640px) ─────────────────────────────────────── */
@media (max-width: 640px) {
  .avoora-hero {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .avoora-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .avoora-title-row {
    padding-top: 17px;
    padding-bottom: 20px;
  }
  .avoora-giant-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.057em;
    color: #0B0B0B;
    white-space: nowrap;
    text-align: left;
  }
}

@media (max-width: 377px) {
  .avoora-giant-title {
    font-size: 47px;
  }
}

@media (max-width: 640px) and (min-width: 420px) {
  .avoora-hero-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  .avoora-giant-title {
    font-size: 52px;
  }
}

/* ============================================================
   FIXED BOTTOM FROSTED-GLASS VEIL
   Global viewport-fixed blur strip, independent of the hero panel
   ============================================================ */
.viewport-bottom-blur {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(72px, 10vh, 108px);
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  pointer-events: none;
  z-index: 900;

  -webkit-backdrop-filter: blur(18px) saturate(0.94);
  backdrop-filter: blur(18px) saturate(0.94);

  background: linear-gradient(
    to bottom,
    rgba(247, 246, 242, 0.00) 0%,
    rgba(247, 246, 242, 0.10) 28%,
    rgba(247, 246, 242, 0.30) 68%,
    rgba(247, 246, 242, 0.48) 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 18%,
    rgba(0, 0, 0, 0.62) 52%,
    black 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 18%,
    rgba(0, 0, 0, 0.62) 52%,
    black 100%
  );
}

.viewport-bottom-blur::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  bottom: 0;
  pointer-events: none;

  -webkit-backdrop-filter: blur(18px) saturate(0.94);
  backdrop-filter: blur(18px) saturate(0.94);

  background: linear-gradient(
    to bottom,
    rgba(247, 246, 242, 0.00) 0%,
    rgba(247, 246, 242, 0.08) 35%,
    rgba(247, 246, 242, 0.26) 72%,
    rgba(247, 246, 242, 0.44) 100%
  );

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

@media (max-height: 800px) {
  .viewport-bottom-blur {
    height: clamp(72px, 9vh, 82px);
  }
}

@media (max-width: 900px) {
  .viewport-bottom-blur {
    height: clamp(54px, 8vh, 70px);
  }
}

@media (max-width: 640px) {
  .viewport-bottom-blur {
    height: 52px;
  }
}
