/* Ruptline BioShop Landing · v12B16 */
:root {
  --bio-blue: #4e63f4;
  --bio-lime: #d8ff4d;
  --bio-orange: #f24019;
  --bio-pink: #f49ac5;
  --bio-green: #0b6f3a;
  --bio-cream: #fff7ec;
  --bio-black: #101010;
  --bio-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bio-landing-page {
  margin: 0;
  min-height: 100vh;
  background: var(--bio-blue);
  color: var(--bio-lime);
  font-family: "Aloevera Display", "Arial Rounded MT Bold", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

.bio-topnav {
  position: fixed;
  z-index: 100;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 140px), 1220px);
  height: 78px;
  border-radius: 999px;
  padding: 0 22px 0 42px;
  display: grid;
  grid-template-columns: 150px 1fr 120px;
  align-items: center;
  gap: 20px;
  transition: background .28s ease, color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.bio-topnav.is-scrolled {
  box-shadow: 0 18px 50px rgba(0,0,0,.13);
}

.bio-logo {
  text-decoration: none;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.08em;
  font-weight: 900;
  transition: color .28s ease;
}

.bio-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.bio-nav-links a {
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.02em;
  font-weight: 950;
  transition: color .28s ease;
}

.bio-nav-pill {
  justify-self: end;
  width: 98px;
  height: 42px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .28s ease;
}

body[data-nav-theme="blue"] .bio-topnav {
  background: var(--bio-lime);
}

body[data-nav-theme="blue"] .bio-logo,
body[data-nav-theme="blue"] .bio-nav-links a {
  color: var(--bio-blue);
}

body[data-nav-theme="blue"] .bio-nav-pill {
  background: var(--bio-blue);
}

body[data-nav-theme="orange"] .bio-topnav {
  background: var(--bio-pink);
}

body[data-nav-theme="orange"] .bio-logo,
body[data-nav-theme="orange"] .bio-nav-links a {
  color: var(--bio-orange);
}

body[data-nav-theme="orange"] .bio-nav-pill {
  background: var(--bio-orange);
}

body[data-nav-theme="green"] .bio-topnav {
  background: var(--bio-pink);
}

body[data-nav-theme="green"] .bio-logo,
body[data-nav-theme="green"] .bio-nav-links a {
  color: var(--bio-green);
}

body[data-nav-theme="green"] .bio-nav-pill {
  background: var(--bio-green);
}

.bio-section {
  min-height: 100vh;
  position: relative;
}

.bio-hero-section {
  background: var(--bio-blue);
  display: grid;
  align-items: center;
  padding: 120px 0 54px;
}

.bio-hero-inner {
  width: min(calc(100vw - 140px), 1520px);
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 500px 390px 360px;
  align-items: center;
  justify-content: center;
  column-gap: 52px;
}

.bio-hero-copy {
  width: 500px;
}

.bio-hero-copy h1 {
  margin: 0;
  color: var(--bio-lime);
  font-weight: 950;
  letter-spacing: 0.002em;
  line-height: 1.02;
}

.bio-hero-copy h1 span {
  display: block;
  white-space: nowrap;
  font-size: 70px;
  letter-spacing: 0.004em;
}

.bio-hero-copy p {
  margin: 28px 0 0;
  max-width: 455px;
  color: var(--bio-white);
  font-size: 16px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  word-spacing: .02em;
  font-weight: 850;
}

.bio-main-cta,
.bio-build-copy a,
.bio-clients-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 31px;
  padding: 0 36px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
  transition: transform .18s ease, filter .18s ease;
}

.bio-main-cta:hover,
.bio-build-copy a:hover,
.bio-clients-copy a:hover {
  transform: translateY(-2px);
}

.bio-main-cta {
  background: var(--bio-lime);
  color: var(--bio-black);
}

.bio-image-slot {
  width: 390px;
  height: 580px;
  border-radius: 36px;
  background: var(--bio-cream);
  justify-self: center;
}

.bio-side {
  width: 360px;
  min-height: 580px;
  display: grid;
  align-content: center;
  justify-items: end;
  transform: translateY(-8px);
}

.bio-profile-widget {
  width: 350px;
  border-radius: 30px;
  background: var(--bio-orange);
  padding: 22px;
}

.bio-profile-top {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 17px;
}

.bio-avatar {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: var(--bio-pink);
}

.bio-profile-top strong {
  display: block;
  color: var(--bio-white);
  font-size: 18px;
  line-height: 1.04;
  letter-spacing: 0.002em;
  font-weight: 950;
}

.bio-profile-top span {
  display: block;
  margin-top: 6px;
  max-width: 230px;
  color: var(--bio-white);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .008em;
  font-weight: 850;
}

.bio-mini-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
  margin-top: 22px;
}

.bio-mini-form input,
.bio-mini-form button {
  height: 46px;
  border: 0;
  border-radius: 13px;
  font-family: inherit;
  outline: none;
}

.bio-mini-form input {
  background: var(--bio-cream);
  color: var(--bio-black);
  padding: 0 15px;
  font-size: 12px;
  letter-spacing: .01em;
  font-weight: 900;
}

.bio-mini-form input::placeholder {
  color: rgba(16, 16, 16, .58);
}

.bio-mini-form button {
  background: var(--bio-pink);
  color: var(--bio-black);
  font-size: 11.5px;
  letter-spacing: .01em;
  font-weight: 950;
  cursor: pointer;
}

.bio-socials {
  display: grid;
  gap: 18px;
  margin-top: 23px;
  margin-right: 19px;
}

.bio-socials span {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--bio-lime);
  color: var(--bio-black);
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 0;
  font-weight: 950;
}

.bio-socials svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.bio-socials span[title="TikTok"] svg {
  width: 23px;
  height: 23px;
}

.bio-socials span[title="WhatsApp"] svg {
  width: 36px;
  height: 36px;
  transform: scale(1.22);
  transform-origin: center;
}

.bio-socials span[title="Facebook"] svg {
  width: 21px;
  height: 21px;
}

/* Section 2 */
.bio-build-section {
  background: var(--bio-orange);
  color: var(--bio-pink);
  display: grid;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
}

.bio-build-inner {
  width: min(calc(100vw - 140px), 1420px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 500px 620px;
  align-items: center;
  justify-content: center;
  gap: 92px;
}

.bio-vertical-gallery {
  height: 660px;
  overflow: hidden;
  position: relative;
}

.bio-vertical-gallery::before,
.bio-vertical-gallery::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}

.bio-vertical-gallery::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bio-orange), transparent);
}

.bio-vertical-gallery::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bio-orange), transparent);
}

.bio-gallery-track {
  display: grid;
  gap: 48px;
  animation: bio-gallery-scroll 12s linear infinite;
}

.bio-gallery-card {
  width: 500px;
  height: 330px;
  border-radius: 34px;
  background: var(--bio-cream);
}

.bio-build-copy {
  max-width: 610px;
}

.bio-build-copy h2,
.bio-clients-copy h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: .002em;
  font-weight: 950;
}

.bio-build-copy p,
.bio-clients-copy p {
  margin: 22px 0 0;
  max-width: 480px;
  color: var(--bio-white);
  font-size: 15px;
  line-height: 1.42;
  letter-spacing: .01em;
  font-weight: 850;
}

.bio-build-copy a,
.bio-clients-copy a {
  background: var(--bio-pink);
  color: var(--bio-orange);
}

/* Section 3 */
.bio-clients-section {
  background: var(--bio-green);
  color: var(--bio-white);
  display: grid;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
}

.bio-clients-inner {
  width: min(calc(100vw - 140px), 1420px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 520px 620px;
  align-items: center;
  justify-content: center;
  gap: 94px;
}

.bio-clients-copy {
  max-width: 520px;
}

.bio-clients-copy a {
  color: var(--bio-green);
}

.bio-client-stage {
  position: relative;
  min-height: 620px;
}

.bio-client-stack {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 360px;
  height: 520px;
  transform: translate(-50%, -50%);
}

.bio-client-card {
  position: absolute;
  left: 0;
  right: 0;
  height: 185px;
  border-radius: 34px;
  padding: 24px;
  color: var(--bio-black);
  display: grid;
  align-content: center;
  gap: 8px;
  box-shadow: 0 22px 58px rgba(0,0,0,.16);
  animation: bio-card-cycle 7s ease-in-out infinite;
}

.bio-client-card.card-one {
  top: 0;
  background: var(--bio-pink);
}

.bio-client-card.card-two {
  top: 150px;
  background: var(--bio-orange);
  animation-delay: -2.3s;
}

.bio-client-card.card-three {
  top: 300px;
  background: var(--bio-lime);
  animation-delay: -4.6s;
}

.bio-client-avatar {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: var(--bio-cream);
  border: 4px solid rgba(255,255,255,.55);
}

.bio-client-card strong {
  font-size: 27px;
  line-height: 1;
  letter-spacing: .002em;
  font-weight: 950;
}

.bio-client-card span {
  font-size: 14px;
  font-weight: 900;
}

.bio-side-note {
  position: absolute;
  min-width: 185px;
  height: 72px;
  border-radius: 18px;
  background: var(--bio-cream);
  color: var(--bio-black);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
  animation: bio-note-float 5s ease-in-out infinite;
}

.note-one {
  left: 12px;
  top: 82px;
}

.note-two {
  right: 18px;
  top: 190px;
  animation-delay: -1.5s;
}

.note-three {
  left: -6px;
  bottom: 110px;
  animation-delay: -3s;
}

/* Animations */
.bio-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}

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

@keyframes bio-gallery-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-756px);
  }
}

@keyframes bio-card-cycle {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  42% {
    transform: translateY(-18px) scale(1.015);
    opacity: 1;
  }

  70% {
    transform: translateY(20px) scale(.97);
    opacity: .78;
  }
}

@keyframes bio-note-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Desktop large */
@media (min-width: 1500px) {
  .bio-hero-inner {
    width: min(calc(100vw - 180px), 1580px);
    grid-template-columns: 540px 420px 380px;
    column-gap: 56px;
  }

  .bio-hero-copy {
    width: 540px;
  }

  .bio-hero-copy h1 span {
    font-size: 76px;
  }

  .bio-image-slot {
    width: 420px;
    height: 620px;
  }

  .bio-side {
    width: 380px;
  }

  .bio-profile-widget {
    width: 370px;
  }
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-topnav {
    width: min(calc(100vw - 70px), 980px);
    height: 62px;
    grid-template-columns: 110px 1fr 92px;
    padding-left: 30px;
  }

  .bio-logo {
    font-size: 40px;
  }

  .bio-nav-links {
    gap: 19px;
  }

  .bio-nav-links a {
    font-size: 14px;
  }

  .bio-nav-pill {
    width: 76px;
    height: 34px;
  }

  .bio-hero-inner {
    width: min(calc(100vw - 70px), 1080px);
    min-height: 560px;
    grid-template-columns: 370px 300px 300px;
    column-gap: 30px;
  }

  .bio-hero-copy {
    width: 370px;
  }

  .bio-hero-copy h1 span {
    font-size: 54px;
  }

  .bio-hero-copy p {
    max-width: 350px;
    font-size: 14px;
  }

  .bio-image-slot {
    width: 300px;
    height: 490px;
    border-radius: 30px;
  }

  .bio-side {
    width: 300px;
    min-height: 490px;
  }

  .bio-profile-widget {
    width: 295px;
    border-radius: 25px;
    padding: 18px;
  }

  .bio-profile-top {
    grid-template-columns: 58px 1fr;
    gap: 13px;
  }

  .bio-avatar {
    width: 56px;
    height: 56px;
  }

  .bio-profile-top strong {
    font-size: 14px;
  }

  .bio-profile-top span {
    max-width: 190px;
    font-size: 9.5px;
  }

  .bio-mini-form {
    grid-template-columns: 1fr 92px;
  }

  .bio-mini-form input,
  .bio-mini-form button {
    height: 38px;
  }

  .bio-socials span {
    width: 40px;
    height: 40px;
  }

  .bio-build-inner,
  .bio-clients-inner {
    width: min(calc(100vw - 70px), 1040px);
    grid-template-columns: 430px 430px;
    gap: 60px;
  }

  .bio-gallery-card {
    width: 420px;
    height: 285px;
  }

  .bio-build-copy h2,
  .bio-clients-copy h2 {
    font-size: 46px;
  }
}

/* Tablet / mobile */
@media (max-width: 880px) {
  .bio-topnav {
    top: 14px;
    width: calc(100vw - 28px);
    grid-template-columns: 80px 1fr 62px;
    height: 56px;
    padding: 0 10px 0 20px;
  }

  .bio-logo {
    font-size: 34px;
  }

  .bio-nav-links {
    display: none;
  }

  .bio-nav-pill {
    width: 54px;
    height: 32px;
  }

  .bio-hero-section,
  .bio-build-section,
  .bio-clients-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .bio-hero-inner,
  .bio-build-inner,
  .bio-clients-inner {
    width: calc(100vw - 32px);
    min-height: auto;
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .bio-hero-copy,
  .bio-clients-copy {
    width: 100%;
  }

  .bio-hero-copy h1 span {
    white-space: normal;
    font-size: clamp(44px, 12vw, 62px);
  }

  .bio-hero-copy p,
  .bio-build-copy p,
  .bio-clients-copy p {
    max-width: 100%;
    font-size: 15px;
  }

  .bio-image-slot {
    width: min(100%, 380px);
    height: 440px;
    justify-self: center;
  }

  .bio-side {
    width: 100%;
    min-height: auto;
    justify-items: start;
    transform: none;
  }

  .bio-profile-widget {
    width: min(100%, 390px);
  }

  .bio-socials {
    display: flex;
    margin-right: 0;
  }

  .bio-vertical-gallery {
    height: 520px;
    order: 2;
  }

  .bio-build-copy {
    order: 1;
  }

  .bio-gallery-card {
    width: min(100%, 360px);
    height: 250px;
  }

  .bio-build-copy h2,
  .bio-clients-copy h2 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .bio-client-stage {
    min-height: 540px;
  }

  .bio-client-stack {
    width: min(100%, 330px);
  }

  .bio-side-note {
    display: none;
  }
}

@media (max-width: 440px) {
  .bio-hero-copy h1 span {
    font-size: 42px;
  }

  .bio-image-slot {
    height: 360px;
  }

  .bio-mini-form {
    grid-template-columns: 1fr;
  }

  .bio-build-copy h2,
  .bio-clients-copy h2 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-reveal,
  .bio-gallery-track,
  .bio-client-card,
  .bio-side-note {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* FASE 12B17 LOGO FAVICON AVATARS */
.bio-logo {
  display: inline-flex;
  align-items: center;
  width: 118px;
  height: 54px;
  text-decoration: none;
  color: currentColor;
}

.bio-logo-mark {
  display: block;
  width: 112px;
  height: 48px;
  background: currentColor;
  -webkit-mask-image: url('/assets/img/logobio.svg?v=12b17');
  mask-image: url('/assets/img/logobio.svg?v=12b17');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* El logo hereda el color por sección */
body[data-nav-theme="blue"] .bio-logo {
  color: var(--bio-blue);
}

body[data-nav-theme="orange"] .bio-logo {
  color: var(--bio-orange);
}

body[data-nav-theme="green"] .bio-logo {
  color: var(--bio-green);
}

/* Avatar principal del hero */
.bio-avatar {
  background-image: url('/assets/img/ic4.png?v=12b17');
  background-size: cover;
  background-position: center;
  background-color: var(--bio-pink);
}

/* Avatares tarjetas clientes */
.bio-client-card.card-one .bio-client-avatar {
  background-image: url('/assets/img/ic1.png?v=12b17');
  background-size: cover;
  background-position: center;
}

.bio-client-card.card-two .bio-client-avatar {
  background-image: url('/assets/img/ic2.png?v=12b17');
  background-size: cover;
  background-position: center;
}

.bio-client-card.card-three .bio-client-avatar {
  background-image: url('/assets/img/ic3.png?v=12b17');
  background-size: cover;
  background-position: center;
}

/* Afinar avatar si la imagen tiene fondo transparente */
.bio-avatar,
.bio-client-avatar {
  overflow: hidden;
  background-repeat: no-repeat;
}

/* Responsive logo */
@media (max-width: 1240px) {
  .bio-logo {
    width: 92px;
    height: 44px;
  }

  .bio-logo-mark {
    width: 88px;
    height: 38px;
  }
}

@media (max-width: 880px) {
  .bio-logo {
    width: 74px;
    height: 40px;
  }

  .bio-logo-mark {
    width: 72px;
    height: 34px;
  }
}

/* FASE 12B18 CLIENT CARDS INFINITE STACK */
.bio-client-stage {
  position: relative;
  min-height: 650px;
}

.bio-client-stack {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 390px;
  height: 560px;
  transform: translate(-50%, -50%);
  perspective: 1000px;
}

.bio-client-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  border-radius: 34px;
  padding: 24px 24px 22px;
  color: var(--bio-black);
  display: grid;
  align-content: center;
  gap: 8px;
  box-shadow: 0 24px 58px rgba(0,0,0,.18);
  will-change: transform, opacity;
  animation: bio-card-stack-loop 12s cubic-bezier(.72, 0, .22, 1) infinite;
}

.bio-client-card.card-one {
  background: var(--bio-pink);
  animation-delay: 0s;
}

.bio-client-card.card-two {
  background: var(--bio-orange);
  animation-delay: -3s;
}

.bio-client-card.card-three {
  background: var(--bio-blue);
  color: #fff;
  animation-delay: -6s;
}

.bio-client-card.card-four {
  background: var(--bio-lime);
  animation-delay: -9s;
}

.bio-client-avatar {
  position: absolute;
  right: 19px;
  top: 18px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: var(--bio-cream);
  border: 4px solid rgba(255,255,255,.72);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bio-client-card.card-one .bio-client-avatar {
  background-image: url('/assets/img/ic1.png?v=12b18');
}

.bio-client-card.card-two .bio-client-avatar {
  background-image: url('/assets/img/ic2.png?v=12b18');
}

.bio-client-card.card-three .bio-client-avatar {
  background-image: url('/assets/img/ic3.png?v=12b18');
}

.bio-client-card.card-four .bio-client-avatar {
  background-image: url('/assets/img/ic4.png?v=12b18');
}

.bio-client-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(255,255,255,.62);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 2px;
}

.bio-client-card.card-three .bio-client-icon {
  background: rgba(255,255,255,.18);
}

.bio-client-card strong {
  max-width: 245px;
  font-size: 26px;
  line-height: .95;
  letter-spacing: .002em;
  font-weight: 950;
}

.bio-client-card span {
  max-width: 240px;
  font-size: 14px;
  line-height: 1.16;
  font-weight: 900;
  opacity: .82;
}

/* Los mensajes flotan al lado del stack */
.bio-side-note {
  position: absolute;
  min-width: 185px;
  height: 70px;
  border-radius: 18px;
  background: var(--bio-cream);
  color: var(--bio-black);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
  animation: bio-note-float 5s ease-in-out infinite;
}

.note-one {
  left: 4px;
  top: 88px;
}

.note-two {
  right: 4px;
  top: 226px;
  animation-delay: -1.5s;
}

.note-three {
  left: -8px;
  bottom: 120px;
  animation-delay: -3s;
}

@keyframes bio-card-stack-loop {
  0% {
    transform: translate3d(0, -34px, 0) scale(1.03);
    opacity: 0;
    z-index: 5;
  }

  8% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    z-index: 5;
  }

  25% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    z-index: 5;
  }

  33% {
    transform: translate3d(0, 118px, 0) scale(.965);
    opacity: .96;
    z-index: 4;
  }

  50% {
    transform: translate3d(0, 118px, 0) scale(.965);
    opacity: .96;
    z-index: 4;
  }

  58% {
    transform: translate3d(0, 236px, 0) scale(.93);
    opacity: .88;
    z-index: 3;
  }

  75% {
    transform: translate3d(0, 236px, 0) scale(.93);
    opacity: .88;
    z-index: 3;
  }

  84% {
    transform: translate3d(0, 354px, 0) scale(.895);
    opacity: .7;
    z-index: 2;
  }

  92% {
    transform: translate3d(0, 440px, 0) scale(.86);
    opacity: 0;
    z-index: 1;
  }

  100% {
    transform: translate3d(0, -34px, 0) scale(1.03);
    opacity: 0;
    z-index: 5;
  }
}

/* Desactiva la animación vieja si quedó en cascada */
.bio-client-card.card-one,
.bio-client-card.card-two,
.bio-client-card.card-three,
.bio-client-card.card-four {
  top: 0;
}

/* Responsive */
@media (max-width: 1240px) {
  .bio-client-stage {
    min-height: 600px;
  }

  .bio-client-stack {
    width: 340px;
    height: 520px;
  }

  .bio-client-card {
    height: 148px;
    padding: 20px;
  }

  .bio-client-avatar {
    width: 55px;
    height: 55px;
  }

  .bio-client-card strong {
    font-size: 23px;
  }

  .bio-client-card span {
    font-size: 12.5px;
  }

  .bio-client-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  @keyframes bio-card-stack-loop {
    0% {
      transform: translate3d(0, -28px, 0) scale(1.03);
      opacity: 0;
      z-index: 5;
    }

    8%, 25% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 1;
      z-index: 5;
    }

    33%, 50% {
      transform: translate3d(0, 106px, 0) scale(.965);
      opacity: .96;
      z-index: 4;
    }

    58%, 75% {
      transform: translate3d(0, 212px, 0) scale(.93);
      opacity: .88;
      z-index: 3;
    }

    84% {
      transform: translate3d(0, 318px, 0) scale(.895);
      opacity: .7;
      z-index: 2;
    }

    92% {
      transform: translate3d(0, 390px, 0) scale(.86);
      opacity: 0;
      z-index: 1;
    }

    100% {
      transform: translate3d(0, -28px, 0) scale(1.03);
      opacity: 0;
      z-index: 5;
    }
  }
}

@media (max-width: 880px) {
  .bio-client-stage {
    min-height: 560px;
  }

  .bio-client-stack {
    width: min(100%, 340px);
    height: 520px;
  }

  .bio-side-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-client-card {
    animation: none !important;
    opacity: 1 !important;
  }

  .bio-client-card.card-one {
    transform: translateY(0) scale(1);
  }

  .bio-client-card.card-two {
    transform: translateY(106px) scale(.965);
  }

  .bio-client-card.card-three {
    transform: translateY(212px) scale(.93);
  }

  .bio-client-card.card-four {
    transform: translateY(318px) scale(.895);
  }
}

/* FASE 12B19 CLIENT CARDS CONSTANT MOTION */
.bio-client-card {
  animation: bio-card-stack-loop 12s linear infinite;
}

/* Movimiento continuo: entra arriba, baja por escalones y se desvanece abajo */
@keyframes bio-card-stack-loop {
  0% {
    transform: translate3d(0, -150px, 0) scale(1.035);
    opacity: 0;
    z-index: 5;
  }

  9% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    z-index: 5;
  }

  34% {
    transform: translate3d(0, 118px, 0) scale(.965);
    opacity: .96;
    z-index: 4;
  }

  59% {
    transform: translate3d(0, 236px, 0) scale(.93);
    opacity: .88;
    z-index: 3;
  }

  82% {
    transform: translate3d(0, 354px, 0) scale(.895);
    opacity: .72;
    z-index: 2;
  }

  100% {
    transform: translate3d(0, 475px, 0) scale(.86);
    opacity: 0;
    z-index: 1;
  }
}

/* Laptop: misma lógica pero con distancias menores */
@media (max-width: 1240px) {
  .bio-client-card {
    animation: bio-card-stack-loop 12s linear infinite;
  }

  @keyframes bio-card-stack-loop {
    0% {
      transform: translate3d(0, -130px, 0) scale(1.035);
      opacity: 0;
      z-index: 5;
    }

    9% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 1;
      z-index: 5;
    }

    34% {
      transform: translate3d(0, 106px, 0) scale(.965);
      opacity: .96;
      z-index: 4;
    }

    59% {
      transform: translate3d(0, 212px, 0) scale(.93);
      opacity: .88;
      z-index: 3;
    }

    82% {
      transform: translate3d(0, 318px, 0) scale(.895);
      opacity: .72;
      z-index: 2;
    }

    100% {
      transform: translate3d(0, 420px, 0) scale(.86);
      opacity: 0;
      z-index: 1;
    }
  }
}

/* FASE 12B20 CLIENT CARDS STEP MOTION */
/* Apaga animaciones anteriores de carrusel continuo */
.bio-client-card {
  animation: none !important;
  top: 0 !important;
  transition:
    transform .52s cubic-bezier(.22, .9, .22, 1),
    opacity .38s ease,
    filter .38s ease;
  will-change: transform, opacity;
}

/* Posiciones por escalón */
.bio-client-card[data-pos="1"] {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  z-index: 5;
  filter: blur(0);
}

.bio-client-card[data-pos="2"] {
  transform: translate3d(0, 118px, 0) scale(.965);
  opacity: .96;
  z-index: 4;
  filter: blur(0);
}

.bio-client-card[data-pos="3"] {
  transform: translate3d(0, 236px, 0) scale(.93);
  opacity: .88;
  z-index: 3;
  filter: blur(0);
}

.bio-client-card[data-pos="4"] {
  transform: translate3d(0, 354px, 0) scale(.895);
  opacity: .72;
  z-index: 2;
  filter: blur(.1px);
}

/* La última baja y desaparece */
.bio-client-card.is-exiting {
  transform: translate3d(0, 455px, 0) scale(.86) !important;
  opacity: 0 !important;
  z-index: 1 !important;
  filter: blur(1px);
}

/* La nueva entra desde arriba */
.bio-client-card.is-entering {
  transform: translate3d(0, -120px, 0) scale(1.035) !important;
  opacity: 0 !important;
  z-index: 6 !important;
  filter: blur(.6px);
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-client-card[data-pos="2"] {
    transform: translate3d(0, 106px, 0) scale(.965);
  }

  .bio-client-card[data-pos="3"] {
    transform: translate3d(0, 212px, 0) scale(.93);
  }

  .bio-client-card[data-pos="4"] {
    transform: translate3d(0, 318px, 0) scale(.895);
  }

  .bio-client-card.is-exiting {
    transform: translate3d(0, 410px, 0) scale(.86) !important;
  }

  .bio-client-card.is-entering {
    transform: translate3d(0, -105px, 0) scale(1.035) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-client-card {
    transition: none !important;
  }
}

/* FASE 12B21 REVERSE CARD STACK VISUAL */
/*
  Nueva jerarquía visual:
  pos1 = arriba / más chica
  pos2 = segundo escalón
  pos3 = tercer escalón
  pos4 = abajo / más grande / principal
*/

.bio-client-card[data-pos="1"] {
  transform: translate3d(0, 0, 0) scale(.89);
  opacity: .72;
  z-index: 2;
  filter: blur(.15px);
}

.bio-client-card[data-pos="2"] {
  transform: translate3d(0, 108px, 0) scale(.93);
  opacity: .84;
  z-index: 3;
  filter: blur(.05px);
}

.bio-client-card[data-pos="3"] {
  transform: translate3d(0, 216px, 0) scale(.965);
  opacity: .94;
  z-index: 4;
  filter: blur(0);
}

.bio-client-card[data-pos="4"] {
  transform: translate3d(0, 324px, 0) scale(1);
  opacity: 1;
  z-index: 5;
  filter: blur(0);
}

/* La última (la de abajo/principal) sale hacia abajo y desaparece */
.bio-client-card.is-exiting {
  transform: translate3d(0, 438px, 0) scale(1.03) !important;
  opacity: 0 !important;
  z-index: 1 !important;
  filter: blur(1px);
}

/* La nueva entra desde arriba pequeña */
.bio-client-card.is-entering {
  transform: translate3d(0, -92px, 0) scale(.83) !important;
  opacity: 0 !important;
  z-index: 6 !important;
  filter: blur(.8px);
}

/* Afinar lectura: como ahora la fuerte es la de abajo, damos un poco más de aire */
.bio-client-card strong {
  letter-spacing: .003em;
}

.bio-client-card span {
  letter-spacing: .004em;
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-client-card[data-pos="1"] {
    transform: translate3d(0, 0, 0) scale(.89);
  }

  .bio-client-card[data-pos="2"] {
    transform: translate3d(0, 98px, 0) scale(.93);
  }

  .bio-client-card[data-pos="3"] {
    transform: translate3d(0, 196px, 0) scale(.965);
  }

  .bio-client-card[data-pos="4"] {
    transform: translate3d(0, 294px, 0) scale(1);
  }

  .bio-client-card.is-exiting {
    transform: translate3d(0, 384px, 0) scale(1.03) !important;
  }

  .bio-client-card.is-entering {
    transform: translate3d(0, -84px, 0) scale(.83) !important;
  }
}

/* Móvil */
@media (max-width: 880px) {
  .bio-client-card[data-pos="1"] {
    transform: translate3d(0, 0, 0) scale(.9);
  }

  .bio-client-card[data-pos="2"] {
    transform: translate3d(0, 94px, 0) scale(.935);
  }

  .bio-client-card[data-pos="3"] {
    transform: translate3d(0, 188px, 0) scale(.968);
  }

  .bio-client-card[data-pos="4"] {
    transform: translate3d(0, 282px, 0) scale(1);
  }

  .bio-client-card.is-exiting {
    transform: translate3d(0, 368px, 0) scale(1.03) !important;
  }
}

/* FASE 12B22 PUSH NOTES IOS STYLE */
.bio-side-note {
  min-width: 210px;
  width: auto;
  height: 68px;
  padding: 11px 16px 11px 12px;
  border-radius: 22px;
  background: rgba(255, 247, 236, .78);
  color: var(--bio-black);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: .004em;
  box-shadow:
    0 18px 42px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.48);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  z-index: 9;
}

.bio-side-note::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background:
    url('/assets/img/favicon.png?v=12b22') center / cover no-repeat,
    var(--bio-lime);
  box-shadow:
    0 8px 18px rgba(0,0,0,.14),
    inset 0 0 0 1px rgba(255,255,255,.55);
}

.bio-side-note::after {
  content: "BioShop";
  position: absolute;
  left: 62px;
  top: 12px;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(16,16,16,.48);
}

.bio-side-note {
  padding-top: 25px;
}

/* Sacar las notificaciones para que no tapen tanto las tarjetas */
.note-one {
  left: -122px;
  top: 72px;
}

.note-two {
  right: -122px;
  top: 220px;
}

.note-three {
  left: -132px;
  bottom: 96px;
}

/* Variación suave para que no parezcan copias exactas */
.note-two::before {
  background:
    url('/assets/img/favicon.png?v=12b22') center / cover no-repeat,
    var(--bio-pink);
}

.note-three::before {
  background:
    url('/assets/img/favicon.png?v=12b22') center / cover no-repeat,
    var(--bio-orange);
}

/* Animación menos invasiva, más tipo notificación flotante */
.bio-side-note {
  animation: bio-ios-note-float 5.4s ease-in-out infinite;
}

.note-two {
  animation-delay: -1.7s;
}

.note-three {
  animation-delay: -3.2s;
}

@keyframes bio-ios-note-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(1.015);
  }
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-side-note {
    min-width: 180px;
    height: 62px;
    border-radius: 20px;
    font-size: 11.5px;
    padding-left: 10px;
    padding-right: 12px;
    padding-top: 23px;
  }

  .bio-side-note::before {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 11px;
  }

  .bio-side-note::after {
    left: 56px;
    top: 11px;
    font-size: 8px;
  }

  .note-one {
    left: -82px;
    top: 74px;
  }

  .note-two {
    right: -82px;
    top: 205px;
  }

  .note-three {
    left: -92px;
    bottom: 92px;
  }
}

/* En móvil las ocultamos como estaba para no tapar el stack */
@media (max-width: 880px) {
  .bio-side-note {
    display: none;
  }
}

/* FASE 12B23 PUSH NOTES CLOSER */
/* Acercar notificaciones para que apenas rocen las tarjetas */
.note-one {
  left: -72px;
  top: 76px;
}

.note-two {
  right: -72px;
  top: 220px;
}

.note-three {
  left: -78px;
  bottom: 102px;
}

/* Un poco más al frente, pero sin tapar demasiado */
.bio-side-note {
  z-index: 8;
}

/* Laptop */
@media (max-width: 1240px) {
  .note-one {
    left: -48px;
    top: 76px;
  }

  .note-two {
    right: -48px;
    top: 205px;
  }

  .note-three {
    left: -54px;
    bottom: 96px;
  }
}

/* FASE 12B24 IMAGE BLOCKS RADIUS 63 */
.bio-image-slot,
.bio-gallery-card {
  border-radius: 63px;
}

/* Mantener proporción bonita en responsive */
@media (max-width: 1240px) {
  .bio-image-slot,
  .bio-gallery-card {
    border-radius: 52px;
  }
}

@media (max-width: 880px) {
  .bio-image-slot,
  .bio-gallery-card {
    border-radius: 42px;
  }
}

/* FASE 12B25 PARAGRAPHS WEIGHT 400 */
/* Títulos siguen bold; párrafos más limpios y legibles */
.bio-hero-copy p,
.bio-build-copy p,
.bio-clients-copy p {
  font-weight: 400 !important;
  font-size: 17px;
  line-height: 1.48;
  letter-spacing: 0.006em;
}

/* Textos pequeños dentro de widgets: menos pesados */
.bio-profile-top span,
.bio-client-card span,
.bio-side-note {
  font-weight: 400;
  letter-spacing: 0.006em;
}

/* Pero los botones y datos importantes siguen fuertes */
.bio-main-cta,
.bio-build-copy a,
.bio-clients-copy a,
.bio-mini-form button,
.bio-client-card strong,
.bio-profile-top strong {
  font-weight: 950;
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-hero-copy p,
  .bio-build-copy p,
  .bio-clients-copy p {
    font-size: 15px;
    line-height: 1.46;
    font-weight: 400 !important;
  }
}

/* Móvil */
@media (max-width: 880px) {
  .bio-hero-copy p,
  .bio-build-copy p,
  .bio-clients-copy p {
    font-size: 16px;
    line-height: 1.48;
    font-weight: 400 !important;
  }
}

/* FASE 12B26 PARAGRAPHS 20PX */
.bio-hero-copy p,
.bio-build-copy p,
.bio-clients-copy p {
  font-size: 20px !important;
  line-height: 1.46;
  font-weight: 400 !important;
  letter-spacing: 0.004em;
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-hero-copy p,
  .bio-build-copy p,
  .bio-clients-copy p {
    font-size: 17px !important;
    line-height: 1.45;
  }
}

/* Móvil */
@media (max-width: 880px) {
  .bio-hero-copy p,
  .bio-build-copy p,
  .bio-clients-copy p {
    font-size: 18px !important;
    line-height: 1.45;
  }
}

/* FASE 12B27 REMOVE CARD EMOJIS */
.bio-client-icon {
  display: none !important;
}

/* El título ocupa el lugar donde antes estaba el emoji */
.bio-client-card {
  align-content: start;
  justify-content: start;
  padding-top: 30px;
  gap: 10px;
}

.bio-client-card strong {
  margin-top: 0;
  max-width: 238px;
  font-size: 29px;
  line-height: .94;
}

.bio-client-card span {
  max-width: 238px;
  font-size: 15px;
  line-height: 1.14;
}

/* La tarjeta principal de abajo puede respirar un poco más */
.bio-client-card[data-pos="4"] strong {
  font-size: 31px;
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-client-card {
    padding-top: 25px;
  }

  .bio-client-card strong {
    font-size: 25px;
    max-width: 210px;
  }

  .bio-client-card[data-pos="4"] strong {
    font-size: 27px;
  }

  .bio-client-card span {
    font-size: 13px;
    max-width: 210px;
  }
}

/* Móvil */
@media (max-width: 880px) {
  .bio-client-card strong {
    font-size: 24px;
  }

  .bio-client-card[data-pos="4"] strong {
    font-size: 26px;
  }
}

/* FASE 12B28 SHAPES CAROUSEL MODULE */
body[data-nav-theme="pink"] .bio-topnav {
  background: var(--bio-orange);
}

body[data-nav-theme="pink"] .bio-logo {
  color: var(--bio-pink);
}

body[data-nav-theme="pink"] .bio-nav-links a {
  color: #ffd5e8;
}

body[data-nav-theme="pink"] .bio-nav-pill {
  background: var(--bio-pink);
}

.bio-types-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--bio-pink);
  color: var(--bio-orange);
  display: grid;
  align-items: center;
  padding: 124px 0 76px;
}

.bio-types-inner {
  width: min(100%, 1680px);
  margin: 0 auto;
  display: grid;
  gap: clamp(42px, 5vw, 74px);
}

.bio-types-copy {
  width: min(100% - 44px, 860px);
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.bio-types-copy h2 {
  margin: 0;
  font-size: clamp(54px, 7.2vw, 112px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 950;
  color: var(--bio-orange);
}

.bio-types-copy p {
  width: min(100%, 620px);
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  line-height: 1.32;
  font-weight: 400;
}

.bio-types-cta {
  margin-top: 6px;
  width: min(100%, 320px);
  min-height: 68px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bio-orange);
  color: var(--bio-pink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .01em;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.bio-shapes-marquee {
  width: 100%;
  overflow: hidden;
  padding: 4px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.bio-shapes-track {
  --shape-h: clamp(190px, 18vw, 300px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  width: max-content;
  animation: bio-shapes-marquee 28s linear infinite;
  will-change: transform;
}

.bio-shapes-marquee:hover .bio-shapes-track {
  animation-play-state: paused;
}

.bio-shape-card {
  height: var(--shape-h);
  flex: 0 0 auto;
  background-color: var(--bio-cream);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Después, cuando subas imágenes, se pueden activar así:
   .bio-shape-card:nth-child(1) { background-image:url('/assets/img/ca1.jpg'); }
*/

.bio-shape-card.shape-circle {
  width: var(--shape-h);
  border-radius: 999px;
}

.bio-shape-card.shape-oval {
  width: calc(var(--shape-h) * .92);
  border-radius: 999px;
}

.bio-shape-card.shape-rect {
  width: calc(var(--shape-h) * 1.42);
  border-radius: 63px;
}

.bio-shape-card.shape-pill {
  width: calc(var(--shape-h) * .94);
  border-radius: 52px;
}

.bio-shape-card.shape-soft {
  width: calc(var(--shape-h) * 1.18);
  border-radius: 82px 48px 82px 48px;
}

.bio-shape-card.shape-wide {
  width: calc(var(--shape-h) * 1.68);
  border-radius: 58px;
}

@keyframes bio-shapes-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-types-section {
    padding: 108px 0 62px;
  }

  .bio-types-copy h2 {
    font-size: clamp(48px, 7vw, 82px);
  }

  .bio-types-copy p {
    font-size: 17px;
  }

  .bio-types-cta {
    min-height: 58px;
    width: 270px;
  }

  .bio-shapes-track {
    --shape-h: clamp(170px, 20vw, 245px);
  }

  .bio-shape-card.shape-rect,
  .bio-shape-card.shape-pill,
  .bio-shape-card.shape-wide {
    border-radius: 52px;
  }
}

/* Móvil */
@media (max-width: 880px) {
  .bio-types-section {
    min-height: auto;
    padding: 96px 0 58px;
  }

  .bio-types-copy {
    width: min(100% - 30px, 560px);
    gap: 16px;
  }

  .bio-types-copy h2 {
    font-size: clamp(48px, 14vw, 74px);
    line-height: .88;
  }

  .bio-types-copy p {
    font-size: 18px;
    line-height: 1.36;
  }

  .bio-types-cta {
    min-height: 58px;
    width: min(100%, 280px);
  }

  .bio-shapes-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .bio-shapes-track {
    --shape-h: 185px;
    gap: 18px;
    animation-duration: 24s;
  }

  .bio-shape-card.shape-rect {
    width: 255px;
  }

  .bio-shape-card.shape-wide {
    width: 285px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-shapes-track {
    animation: none !important;
  }
}

/* FASE 12B29 TYPES TITLE TRACKING */
/* Título del módulo rosa más equilibrado, como los otros módulos */
.bio-types-copy {
  gap: 24px;
}

.bio-types-copy h2 {
  font-size: clamp(48px, 5.8vw, 86px) !important;
  line-height: .94;
  letter-spacing: -.025em;
  max-width: 820px;
}

/* Párrafo con más aire */
.bio-types-copy p {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.46;
  letter-spacing: .01em;
  font-weight: 400;
}

/* Botón un poco más separado del texto */
.bio-types-cta {
  margin-top: 10px;
}

/* Separar mejor el carrusel del bloque de texto */
.bio-shapes-marquee {
  margin-top: 18px;
}

/* Laptop */
@media (max-width: 1240px) {
  .bio-types-copy h2 {
    font-size: clamp(44px, 6vw, 72px) !important;
    line-height: .95;
    letter-spacing: -.018em;
  }

  .bio-types-copy p {
    font-size: 18px;
    line-height: 1.45;
  }
}

/* Móvil */
@media (max-width: 880px) {
  .bio-types-copy {
    gap: 18px;
  }

  .bio-types-copy h2 {
    font-size: clamp(42px, 11vw, 62px) !important;
    line-height: .95;
    letter-spacing: -.012em;
  }

  .bio-types-copy p {
    font-size: 18px;
    line-height: 1.42;
  }

  .bio-shapes-marquee {
    margin-top: 10px;
  }
}
