/* BYM v19 — marca, iconografía, ARCHVIZ, video móvil y reseñas */
.site-header .brand img {
  width: 284px;
  height: 124px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(112, 45, 255, .3));
}

.footer-brand .brand img {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(112, 45, 255, .24));
}

.footer-brand p {
  margin-top: 23px;
}

.bym-footer-v29 .footer-grid {
  grid-template-columns: minmax(260px, 1.45fr) minmax(145px, .72fr) minmax(170px, .82fr) minmax(220px, 1fr);
  gap: clamp(34px, 4vw, 76px);
}

.bym-footer-v29 .footer-contact-title {
  margin-top: 0;
}

.bym-footer-v29 .copyright {
  letter-spacing: .015em;
}

.hero .hero-checks.hero-mission-benefits .hero-benefit {
  grid-template-columns: 58px 1fr;
  gap: 15px;
}

.hero .hero-checks.hero-mission-benefits .benefit-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(151, 88, 255, .28);
  border-radius: 50%;
  color: #9d59ff;
  background: linear-gradient(145deg, rgba(130, 53, 255, .16), rgba(61, 21, 124, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 22px rgba(105, 38, 226, .17);
  filter: none;
}

.hero .hero-checks.hero-mission-benefits .benefit-icon svg {
  width: 38px;
  height: 38px;
}

.hero .hero-checks.hero-mission-benefits .hero-benefit:hover .benefit-icon {
  color: #fff;
  border-color: rgba(191, 143, 255, .75);
  background: linear-gradient(145deg, rgba(139, 61, 255, .34), rgba(76, 26, 152, .2));
  filter: drop-shadow(0 0 14px rgba(134, 62, 255, .62));
}

.bym-service-card.is-featured {
  border-color: rgba(186, 129, 255, .62);
}

.bym-featured-label {
  position: absolute;
  z-index: 4;
  top: 21px;
  left: 50%;
  padding: 7px 12px;
  border: 1px solid rgba(222, 196, 255, .35);
  border-radius: 999px;
  color: #f4eaff;
  background: rgba(93, 33, 198, .62);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(126, 51, 255, .34);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .18em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.studio .studio-grid {
  grid-template-columns: 1.03fr .97fr;
  gap: 76px;
}

.studio .studio-visual {
  display: grid;
  place-items: center;
  min-height: 620px;
}

.bym-phone-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: min(640px, 100%);
  min-height: 620px;
  isolation: isolate;
}

.bym-phone-scene::before,
.bym-phone-scene::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}

.bym-phone-scene::before {
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(111, 45, 239, .3), rgba(60, 25, 146, .11) 42%, transparent 72%);
  filter: blur(12px);
}

.bym-phone-scene::after {
  bottom: 8%;
  width: 62%;
  height: 11%;
  background: rgba(79, 32, 165, .38);
  filter: blur(28px);
  transform: rotate(-2deg);
}

.bym-phone-orbit {
  position: absolute;
  z-index: -1;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(144, 80, 255, .17);
  border-radius: 50%;
  transform: rotateX(67deg) rotateZ(-10deg);
  box-shadow: 0 0 34px rgba(99, 36, 218, .12);
}

.bym-phone-orbit::before,
.bym-phone-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b98cff;
  box-shadow: 0 0 14px #8c49ff, 0 0 28px rgba(141, 73, 255, .8);
}

.bym-phone-orbit::before { left: -3px; }
.bym-phone-orbit::after { right: -3px; }

.bym-phone-device {
  position: relative;
  z-index: 2;
  width: min(326px, 58vw);
  aspect-ratio: 9 / 16.35;
  padding: 7px;
  border: 1px solid rgba(230, 232, 241, .72);
  border-radius: 46px;
  background:
    linear-gradient(105deg, #090a0e 0 4%, #aeb2bd 5%, #30333b 8%, #08090d 14% 86%, #878c97 92%, #16181e 96% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .13),
    inset 5px 0 9px rgba(255, 255, 255, .08),
    0 35px 60px rgba(0, 0, 0, .72),
    0 0 34px rgba(94, 39, 204, .28);
  transform-style: preserve-3d;
  animation: bymPhoneFloat 5.8s ease-in-out infinite;
}

.bym-phone-device::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 43px;
  pointer-events: none;
}

.bym-phone-device::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 12%;
  right: -3px;
  width: 3px;
  height: 23%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(#bfc3cc, #32353d 28%, #0b0c10 70%, #707580);
  box-shadow: 1px 0 2px rgba(255, 255, 255, .18);
}

.bym-phone-screen {
  position: absolute;
  z-index: 2;
  inset: 7px;
  overflow: hidden;
  border-radius: 39px;
  background: #05030a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 0 24px rgba(0, 0, 0, .35);
}

.bym-studio-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #05030a;
}

.bym-phone-island {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 84px;
  height: 23px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 999px;
  background: #020205;
  box-shadow: inset 0 -1px 2px rgba(255, 255, 255, .035), 0 2px 7px rgba(0, 0, 0, .4);
  transform: translateX(-50%);
}

.bym-phone-island::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 19px;
  width: 37px;
  height: 4px;
  border-radius: 999px;
  background: #111219;
}

.bym-phone-island i {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #385191, #101627 55%, #050608 70%);
  box-shadow: 0 0 3px rgba(67, 93, 181, .62);
}

.bym-phone-side-button {
  position: absolute;
  z-index: -1;
  left: -4px;
  width: 4px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #15171c, #9398a3);
  box-shadow: -1px 0 2px rgba(255, 255, 255, .14);
}

.bym-phone-side-button-top {
  top: 21%;
  height: 9%;
}

.bym-phone-side-button-bottom {
  top: 33%;
  height: 14%;
}

.bym-video-sound {
  position: absolute;
  z-index: 5;
  right: 8%;
  bottom: 9%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(190, 147, 255, .42);
  border-radius: 999px;
  color: #eee6fb;
  background: rgba(12, 6, 25, .72);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 24px rgba(0, 0, 0, .38);
  font-size: 10px;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.bym-video-sound svg {
  width: 16px;
  height: 16px;
}

.bym-video-sound:not(.is-on) .sound-wave {
  opacity: .22;
}

.bym-video-sound.is-on {
  border-color: rgba(130, 246, 185, .55);
  color: #dfffee;
  background: rgba(10, 62, 39, .68);
}

.bym-video-sound:hover {
  transform: translateY(-2px);
  border-color: #a76dff;
}

.bym-phone-caption {
  position: absolute;
  bottom: 2%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8f879b;
  font-size: 8px;
  letter-spacing: .23em;
}

.bym-phone-caption i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8d3dff;
  box-shadow: 0 0 10px #8d3dff;
}

.testimonial.bym-testimonials {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(820px, 100%);
  min-height: 430px;
  padding: 50px 64px 36px;
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease;
}

.testimonial.bym-testimonials::before {
  content: "";
  position: absolute;
  inset: -45% 10% auto;
  height: 70%;
  background: radial-gradient(ellipse, rgba(116, 44, 247, .18), transparent 68%);
  pointer-events: none;
}

.bym-review-stars {
  margin-bottom: 13px;
  color: #a968ff;
  font-size: 12px;
  letter-spacing: .28em;
  text-shadow: 0 0 15px rgba(145, 78, 255, .58);
}

.bym-testimonials .quote-mark,
.bym-testimonials .bym-review-quote,
.bym-testimonials .author {
  transition: opacity .18s ease, transform .18s ease;
}

.bym-testimonials.is-changing .quote-mark,
.bym-testimonials.is-changing .bym-review-quote,
.bym-testimonials.is-changing .author {
  opacity: 0;
  transform: translateY(8px);
}

.bym-testimonials .bym-review-quote {
  display: flex;
  align-items: center;
  min-height: 150px;
  margin: 6px 0 0;
}

.bym-testimonials .author {
  min-height: 55px;
  margin-top: 17px;
}

.bym-testimonials .author em {
  display: block;
  margin-top: 5px;
  color: #695f76;
  font-size: 8px;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bym-review-controls {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  width: min(490px, 100%);
  margin-top: 25px;
  gap: 14px;
}

.bym-review-prev,
.bym-review-next {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(153, 98, 243, .3);
  border-radius: 50%;
  color: #cdb8ef;
  background: rgba(77, 31, 153, .13);
  font-size: 20px;
  cursor: pointer;
  transition: .25s ease;
}

.bym-review-prev:hover,
.bym-review-next:hover {
  color: #fff;
  border-color: #9658f5;
  background: rgba(111, 45, 220, .42);
}

.bym-review-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bym-review-dots button {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #453a53;
  cursor: pointer;
  transition: width .3s ease, background .3s ease, box-shadow .3s ease;
}

.bym-review-dots button.is-active {
  width: 26px;
  background: linear-gradient(90deg, #6e2bea, #ad5aff);
  box-shadow: 0 0 10px rgba(140, 65, 255, .7);
}

@keyframes bymPhoneFloat {
  0%, 100% { transform: translateY(0) perspective(1100px) rotateY(-9deg) rotateZ(-2deg); }
  50% { transform: translateY(-13px) perspective(1100px) rotateY(-5deg) rotateZ(-.6deg); }
}

@media (max-width: 980px) {
  .site-header .brand img {
    width: 136px;
    height: 50px;
  }

  .studio .studio-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .studio .studio-visual {
    min-height: 560px;
  }

  .bym-phone-scene {
    min-height: 560px;
  }

  .bym-footer-v29 .footer-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 48px 34px;
  }
}

@media (max-width: 560px) {
  .site-header .brand img {
    width: 244px;
    height: 102px;
  }

  .footer-brand .brand img {
    width: 166px;
  }

  .bym-footer-v29 .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .bym-footer-v29 .copyright {
    line-height: 1.65;
  }

  .hero .hero-checks.hero-mission-benefits .hero-benefit {
    grid-template-columns: 50px 1fr;
    gap: 13px;
  }

  .hero .hero-checks.hero-mission-benefits .benefit-icon,
  .hero .hero-checks.hero-mission-benefits .benefit-icon svg {
    width: 48px;
    height: 48px;
  }

  .hero .hero-checks.hero-mission-benefits .benefit-icon svg {
    width: 32px;
    height: 32px;
  }

  .studio .studio-visual,
  .bym-phone-scene {
    min-height: 410px;
  }

  .bym-phone-device {
    width: min(298px, 76vw);
  }

  .bym-video-sound {
    right: 2%;
    bottom: 7%;
    min-height: 34px;
    padding-inline: 10px;
    font-size: 9px;
  }

  .bym-phone-caption {
    bottom: -1%;
    font-size: 7px;
    letter-spacing: .16em;
  }

  .testimonial.bym-testimonials {
    min-height: 485px;
    padding: 42px 24px 30px;
  }

  .bym-testimonials .bym-review-quote {
    min-height: 210px;
    font-size: 15px;
    line-height: 1.7;
  }

  .bym-review-controls {
    grid-template-columns: 32px 1fr 32px;
    gap: 9px;
  }

  .bym-review-dots {
    gap: 4px;
  }

  .bym-review-dots button {
    width: 4px;
    height: 4px;
  }

  .bym-review-dots button.is-active {
    width: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bym-phone-device,
  .bym-testimonials .quote-mark,
  .bym-testimonials .bym-review-quote,
  .bym-testimonials .author {
    animation: none;
    transition: none;
  }
}
