html {
  font-size: 14px !important;
}

@media (max-width: 480px) {
  html {
    font-size: 15.8px !important;
  }
}

:root {
  --brand-1: #7025E0;
  --brand-2: #A172FF;
  --dark-bg: #130D5D;
  --light-bg: #ffffff;
  --dark-text: #f2f5fa;
  --light-text: #111827;
  --easing: cubic-bezier(.45, 0, .55, 1);
  --logo-gap: 2rem;
  --gap: 2rem;
  --violeta: #7e3af2;
  --borde: 4px;

  /* Unified design tokens */
  --radius: 1.25rem;
  /* border-radius global */
  --border-width: 1px;
  /* ancho de borde */
  --border-color: #e5e7eb;
  /* color de borde */
  --shadow: 0 8px 20px rgba(0, 0, 0, .06);
  /* sombra base */
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, .08);
  /* sombra hover */

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  color: var(--light-text);
  background: var(--light-bg);
}

img {
  max-width: 100%;
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-text);
  z-index: 1000;
  transition:
    background 0.4s var(--easing),
    color 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
}

header.scrolled {
  background: var(--light-bg);
  color: var(--light-text);
  box-shadow: var(--shadow);
}

header nav a {
  margin-left: 2rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  position: relative;
}

@media(max-width:1023px) {
  header nav a {
    margin-left: 0;
  }
}

header nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  transition: width 0.3s var(--easing);
}

header nav a:hover::after {
  width: 100%;
}

header nav a.active {
  color: var(--brand-1);
}

header nav a.active::after {
  width: 100%;
}

section[id] {
  scroll-margin-top: 6rem;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.brand .logo {
  line-height: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.brand .logo {
  line-height: 1;
}

@media (max-width: 480px) {
  .iso-badge {
    height: 1.1rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.3s var(--easing),
    box-shadow 0.3s var(--easing);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.hero {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(.55);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 1.5rem;
  max-width: 900px;
  line-height: 1.15;
  background: #ffffff;
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.5rem;
  max-width: 720px;
  margin: 1rem 1.5rem 2rem;
  color: var(--dark-text);
}

.hero small {
  display: block;
  max-width: 720px;
  color: #94a3b8;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(60deg, var(--brand-1), var(--brand-2), #d946ef);
  filter: blur(140px) saturate(120%);
  animation: blob 20s infinite alternate ease-in-out;
  z-index: -2;
  opacity: 0.15;
}

@keyframes blob {
  0% {
    transform: translate(-30%, 0);
  }

  50% {
    transform: translate(30%, 5%);
  }

  100% {
    transform: translate(-20%, 10%);
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 1.5rem;
}

.card-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
}

.card:hover {
  transform: translateY(-6px) rotateX(1deg);
  box-shadow: var(--shadow-hover);
}

.card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s var(--easing);
}

.card:hover::before {
  opacity: 1;
}

.card .pi {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  color: transparent;
}

.logos-loop {
  overflow: hidden;
  padding: 4rem 1.5rem;
}

.slider {
  display: flex;
  gap: var(--logo-gap);
  animation: scroll 50s linear infinite;
}

.track {
  display: flex;
  gap: var(--logo-gap);
  flex: 0 0 auto;
}

.track img {
  max-height: 120px;
  filter: grayscale(100%) contrast(.8);
  opacity: .8;
  transition: filter .3s, opacity .3s;
}

.track img:hover {
  filter: none;
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - var(--logo-gap)));
  }
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: #f8f9fa;
  overflow: hidden;
  transition: transform .4s ease;
}

.card h3 {
  font-size: 1.3rem;
}

.card ul {
  font-size: .9rem;
  list-style: none;
}

/*.card ul li::before {
  content: '• ';
  color: var(--violeta);
} */

.card i {
  font-size: 2.5rem;
  color: var(--brand-2);
  transition: color .4s ease;
}

.span-2 {
  grid-column: span 2;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: var(--borde);
  background: linear-gradient(90deg, transparent, transparent);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
  transition: background .4s ease, opacity .4s ease;
  opacity: 0;
}

.card:hover {
  transform: translateY(-6px);
}

.card:hover::before {
  background: linear-gradient(90deg, var(--violeta), #d946ef, var(--violeta));
  background-size: 200% auto;
  animation: led-border 1.2s linear forwards;
  opacity: 1;
}

.card:hover i {
  color: var(--violeta);
}

@keyframes led-border {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.special {
  background: #f0eaff;
}

@media(max-width: 1023px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .card {
    grid-column: 1 / -1 !important;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

.module-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.module {
  padding: 2rem;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
  background: #fff;
  position: relative;
}

.module h4 {
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
}

.module ul {
  padding-left: 1.2rem;
  line-height: 1.5;
}

blockquote {
  background: #111827;
  color: #f3f4f6;
  border-left: 4px solid var(--brand-2);
  padding: 2rem;
  border-radius: var(--radius);
  font-style: italic;
  box-shadow: var(--shadow);
}

.cta {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

footer {
  background: #f3f4f6;
  color: #6b7280;
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--easing),
    transform 0.8s var(--easing);
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.section-logos {
  padding: 4rem 1.5rem;
}

#logosCarousel .splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

#logosCarousel img {
  max-height: 130px;
  margin: auto;
  filter: grayscale(100%) contrast(0.8);
  opacity: 0.75;
  transition:
    opacity 0.3s var(--easing),
    filter 0.3s var(--easing);
}

#logosCarousel img:hover {
  opacity: 1;
  filter: none;
}

.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-logo {
  object-fit: contain;
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 600
}

.testimonial-stats {
  color: var(--brand-1);
  font-weight: 700;
  margin-bottom: 2rem
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem
}

.testimonial-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--dark-text);
}

.user-name {
  font-weight: 700
}

.user-role {
  font-size: .8rem;
  color: #6b7280
}

.testimonial-rating i {
  color: var(--brand-1);
  margin-left: 2px
}

.splide__arrow {
  background: var(--light-bg);
  border: var(--border-width) solid var(--border-color);
  color: var(--light-text);
  width: 48px;
  height: 48px;
  opacity: 1;
  transition: background .3s var(--easing)
}

.splide__arrow:hover {
  background: var(--brand-1);
  color: #fff
}

.module-ai {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--dark-bg) 100%);
  color: var(--dark-text);
  border: none;
  box-shadow: var(--shadow);
  grid-column: span 2;
}

.module-ai h4 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.module-ai ul {
  padding-left: 1.2rem;
  line-height: 1.6;
  color: #e2e8f0;
  font-weight: 600;
}

.ai-graphic img {
  max-width: 380px;
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

@media(max-width:1023px) {
  .module-ai {
    flex-direction: column;
    grid-column: span 1;
  }

  .ai-graphic img {
    max-width: 100%;
  }
}

.site-footer {
  background: #0e1b28;
  background: linear-gradient(135deg, #10223b 0%, #051325 100%);
  color: #cbd5e1;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.brand-card {
  background: rgba(255, 255, 255, .05);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(3px);
  margin-bottom: 2rem;
}

.brand-logo {
  height: 42px;
  margin-bottom: 1.25rem;
}

.brand-card p {
  line-height: 1.6;
  color: #e2e8f0;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, .07);
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  transition: background .3s var(--easing);
}

.linkedin-btn:hover {
  background: var(--brand-1);
}

.footer-links {
  flex: 2 1 500px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--gap);
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: .6rem;
  font-weight: 600;
  transition: color .3s var(--easing);
}

@media (max-width: 768px) {

  .site-footer .footer-panel a,
  .site-footer .footer-col a {
    /* por si en otra página quedó este nombre */
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
}

.footer-col a:hover {
  color: var(--brand-2);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: .85rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1.5rem;
}

@media(max-width:1023px) {
  .footer-inner {
    flex-direction: column;
  }
}

.team-carousel {
  margin-top: 2rem;
}

.team-card {
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  width: 280px;
  max-width: 100%;
  height: 420px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .8s var(--easing);
}

.team-card:hover .card-inner,
.team-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111827;
}

.card-front {
  background: #0a0f1a;
}

.card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(.85);
}

.member-info {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, .6);
  padding: .75rem 1rem;
  border-radius: var(--radius);
}

.member-info h4 {
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: .25rem;
}

.member-info span {
  font-size: .875rem;
  color: var(--brand-2);
  font-weight: 700;
}

.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  color: #fff;
  padding: 2rem;
  align-items: flex-start;
}

.card-back h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.card-back ul {
  list-style: disc;
  padding-left: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
}

.brand-gradient {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  color: transparent;
}

.blog-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .35s var(--easing), box-shadow .35s var(--easing);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--easing);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-content {
  padding: 1.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .5rem;
  line-height: 1.3;
  color: #111827;
}

.blog-excerpt {
  font-size: .95rem;
  color: #475569;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-btn {
  align-self: flex-start;
  background: var(--brand-1);
  color: #fff;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  transition: background .3s var(--easing);
}

.blog-card:hover .blog-btn {
  background: var(--brand-2);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  z-index: 1100;
}

.burger span {
  width: 24px;
  height: 3px;
  background: currentColor;
  transition: transform .3s var(--easing), opacity .3s var(--easing);
}

.drawer {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #0e1b28;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  transition: right .35s var(--easing);
  z-index: 1050;
}

.drawer nav a {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.drawer.open {
  right: 0;
}

@media(max-width:1023px) {
  .burger {
    display: flex;
  }

  .nav-desktop {
    display: none;
  }

  header nav {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--gap);
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--easing);
  z-index: 1040;
}

.drawer.open+.drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  width: 80vw;
  max-width: 280px;
}

.drawer nav {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer nav a {
  color: #fff !important;
  font-size: 1.15rem;
}

@media(max-width:1023px) {
  .burger {
    display: flex;
  }

  .nav-desktop {
    display: none;
  }
}

.drawer {
  right: 0;
  transform: translateX(100%);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-overlay {
  opacity: 0;
  pointer-events: none;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.burger.hidden {
  visibility: hidden !important;
}

.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .splide:not(.is-active) .splide__track {
    overflow: visible !important;
  }

  .splide:not(.is-active) .splide__list {
    display: grid !important;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .splide:not(.is-active) .splide__list {
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    margin: 0 auto;
  }

  header {
    position: fixed;
    left: 0;
  }

  .burger {
    position: absolute !important;
    right: 1rem !important;
    top: 1rem !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1100 !important;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.burger i,
.drawer-close i {
  font-size: 1.75rem;
  pointer-events: none;
}

.team-carousel .splide__slide {
  width: 280px !important;

  flex: 0 0 280px !important;

}

@media(max-width:1023px) {
  .team-carousel .splide__slide {
    width: 240px !important;
    flex: 0 0 240px !important;
  }
}

.ai-section {
  position: relative;
  overflow: hidden;
  color: #1f1f1f;
}

.ai-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
  z-index: 0;
}

.ai-section__inner {
  position: relative;
  z-index: 1;
}

.ai-section__title {
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 48px;
}

.ai-grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 992px) {
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }
}

.ai-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 0;
  transform: translateY(24px);
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}

.ai-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--d, 0ms);
}

.ai-card__title {
  color: #5b2dff;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
}

.ai-card__text {
  margin: 0 0 20px;
  color: #555;
}

.ai-card__figure {
  margin: 0;
}

.ai-card__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.ai-section {
  position: relative;
  color: #1f1f1f;
  overflow: visible;
}

.ai-section__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: clamp(420px, 35vw, 420px);

  background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
  z-index: 0;
}

.ai-section__inner {
  position: relative;
  z-index: 1;
}

.ai-section__title {
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 56px;
}

.ai-grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 992px) {
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
  }
}

.ai-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 0;
  transform: translateY(24px);
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}

.ai-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--d, 0ms);
}

.ai-card__title {
  color: #5b2dff;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
}

.ai-card__text {
  margin: 0 0 20px;
  color: #555;
}

.ai-card__figure {
  margin: 0;
}

.ai-card__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.ai-section__bg {
  left: 0;
  transform: none;
  width: 100%;
  border-radius: 0;
  top: 0;
}

.ai-card__figure {
  margin: 0 -28px -24px;

}

.ai-card__figure img {
  width: 100%;
  display: block;
}

.ai-card--image-first {
  padding-top: 0;

}

.ai-card--image-first .ai-card__figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.ai-card--image-first .ai-card__title,
.ai-card--image-first .ai-card__text {
  padding: 0 28px;
}

.ai-card:not(.ai-card--image-first) .ai-card__title,
.ai-card:not(.ai-card--image-first) .ai-card__text {
  padding: 0 28px;
}

.ai-card:not(.ai-card--image-first) .ai-card__figure {
  margin: 24px -28px -24px;

  border-radius: var(--radius);
  overflow: hidden;
}

.ai-card {
  overflow: hidden;

}

.ai-card:not(.ai-card--image-first) .ai-card__figure {
  margin: 24px -28px -28px;

}

.ai-card:not(.ai-card--image-first) .ai-card__figure img {
  border-radius: var(--radius);
  display: block;
}

.ai-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ai-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ai-card__title,
.ai-card__text {
  text-align: center;
}

.ai-card__figure img {
  display: block;
  width: 100%;
  height: auto;

}

.ai-card:not(.ai-card--image-first) .ai-card__figure {
  margin: 24px -28px -28px;
  border-radius: var(--radius);
  overflow: hidden;
}

.ai-card.ai-card--image-first .ai-card__figure {
  margin: -28px -28px 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.ai-card {
  overflow: hidden;
}

html {
  overflow-y: auto;
  overflow-x: clip;
  height: auto;
}

body {
  overflow-y: visible;
  overflow-x: clip;
  height: auto;
}

.splide,
.splide__track {
  overflow: hidden !important;
}

@media (max-width: 1023px) {
  .splide:not(.is-active) .splide__track {
    overflow: hidden !important;
  }
}

.ai-section,
.ai-section__inner,
.ai-section__bg {
  overflow-x: clip;
}

.iso-badge {
  height: 2.25rem;

  width: auto;
  display: block;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) invert(1) saturate(0);

  transition: filter .25s ease;
}

header.scrolled .iso-badge {
  filter: none;
}

.ai-section__subtitle {
  color: #fff;
  text-align: center;
  font-weight: 600;
  line-height: 1.45;
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  opacity: .9;
  max-width: 72ch;
  margin: -36px auto 40px;
}

@media (max-width:768px) {
  .ai-section__subtitle {
    margin: -28px auto 32px;
  }
}

.ai-card {
  overflow: hidden;

}

.ai-card:not(.ai-card--image-first) .ai-card__figure {
  margin: 24px -28px 0;

  border-radius: var(--radius);
}

.ai-card.ai-card--image-first .ai-card__figure {
  margin: -28px -28px 24px;
  border-radius: var(--radius);
}

.ai-card__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-panels {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-panel {
  min-width: 200px;
  text-align: center;
}

.footer-panel h5 {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}

.footer-panel a {
  display: block;
  margin-bottom: .75rem;
  color: #cbd5e1;
  font-weight: 600;
  text-decoration: none;
  transition: color .3s var(--easing);
}

.footer-panel a:hover {
  color: var(--brand-2);
}

.footer-iso {
  width: 68px;
  margin: 0 auto 0.25rem;
}

.footer-brand .logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.35rem;
}

.badge {
  display: inline-block;
  background: var(--brand-2);
  color: #fff;
  border-radius: var(--radius);
  font-size: .65rem;
  padding: .2rem .5rem;
  margin-left: .4rem;
}

@media (max-width:768px) {
  .footer-panels {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-panel {
    padding: 2rem;
  }
}

.blog-link {
  align-self: flex-start;
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand-1);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color 0.3s var(--easing);
}

.blog-link::after {
  content: "\f35d";

  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.85em;
  transition: transform .2s var(--easing), opacity .2s var(--easing);
  opacity: .9;
}

.blog-link:hover {
  color: var(--brand-2);
}

.blog-link:hover::after {
  transform: translate(2px, -2px);
  opacity: 1;
}

.cta--faq {
  text-align: center;
  padding: 96px 16px 120px;
  overflow: visible;
}

.faq-overlap {
  position: relative;
  z-index: 2;
  margin-top: -88px;

}

@media (min-width: 768px) {
  .faq-overlap {
    margin-top: -110px;
  }
}

@media (min-width: 1024px) {
  .faq-overlap {
    margin-top: -130px;
  }
}

.faq-item {
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .cta--faq {
    padding: 120px 24px;
  }
}

.cta--faq h1 {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 48px);
  color: #fff;
}

.cta--faq p {
  margin: 0 auto;
  max-width: 62ch;
  color: rgba(255, 255, 255, .9);
}

.faq-accordion {
  display: grid;
  gap: var(--gap);
  max-width: 1000px;

  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .25s var(--easing), transform .25s var(--easing);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 800;
  color: #111827;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .q {
  flex: 1;
}

.faq-item .chev {
  opacity: .65;
  transition: transform .25s var(--easing), opacity .25s var(--easing);
}

.faq-item[open] .chev {
  transform: rotate(-180deg);
  opacity: .9;
}

.faq-item[open] summary {
  background: linear-gradient(0deg, rgba(112, 37, 224, .05), rgba(112, 37, 224, .02));
}

.faq-item .a {
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  line-height: 1.65;
}

.faq-item[open] .a {
  animation: faq-in .28s var(--easing);
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 3px;
}

.qs-bot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  font-family: inherit;
}

.qs-bot__panel {
  width: min(92vw, 360px);
  background: #fff;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.qs-bot__head {
  padding: .65rem 1rem;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  color: #fff;
  font-weight: 800;
}

.qs-bot__body {
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-height: 50vh;
  overflow: auto;
}

.qs-bot__msg {
  background: #f6f7fb;
  border-radius: var(--radius);
  padding: .5rem .75rem;
  font-size: .95rem;
}

.qs-bot__msg--me {
  background: #eef0ff;
  align-self: flex-end;
}

.qs-bot__input {
  display: flex;
  gap: .5rem;
  padding: .65rem 1rem;
  border-top: 1px solid #eef0f3;
}

.qs-bot__input input {
  flex: 1;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
  padding: .55rem .75rem;
  font: inherit;
}

.qs-bot__input button {
  border: 0;
  border-radius: var(--radius);
  padding: .55rem .9rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  cursor: pointer;
}

@media (max-width:640px) {
  .qs-bot {
    right: 12px;
    bottom: 12px;
  }
}

/* Bot close button */
.qs-bot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.qs-bot__close {
  background: transparent;
  border: var(--border-width) solid transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
  padding: .25rem .5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.qs-bot__close:hover {
  opacity: 1;
  box-shadow: var(--shadow-hover);
}

.qs-bot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
}

.qs-bot.min .qs-bot__panel {
  display: none;
}

.qs-bot .qs-bot__fab {
  display: none;
}

.qs-bot.min .qs-bot__fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-1, #7025E0), var(--brand-2, #A172FF));
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: var(--shadow);
  border: var(--border-width) solid transparent;
  cursor: pointer;
}

.qs-bot__fab:focus {
  outline: 3px solid rgba(112, 37, 224, .35);
  outline-offset: 3px;
}

/* Z-index ordenado: header/drawer > bot > contenido */
header {
  z-index: 1500;
}

.drawer {
  z-index: 2000;
}

.drawer-overlay {
  z-index: 1990;
}

/* Bot por encima de las cards pero debajo del menú */
.qs-bot {
  z-index: 1100;
}

/* Cuando el menú está abierto, que no interfiera */
.menu-open .qs-bot {
  pointer-events: none;
}

/* En mobile arranca minimizado y con burbuja visible */
@media (max-width: 768px) {
  .qs-bot.min .qs-bot__panel {
    display: none;
  }

  .qs-bot .qs-bot__fab {
    display: none;
  }

  .qs-bot.min .qs-bot__fab {
    display: flex;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 21px;
}

.tile {
  position: relative;
  border-radius: 21px;
  overflow: hidden;
  background: #fff;
}

.tile--pdv {
  grid-column: 1/span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F9FAFF;
  padding: 42px
}

.tile--pdv h3 {
  margin: 0 0 14px;
  color: var(--brand-1);
  font-size: 21px;
  line-height: 28px
}

.tile--pdv p {
  font-size: 1rem;
  line-height: 1.5;
}

.tile--pdv ul {
  list-style: none;
  display: flex;
  gap: 7px;
  padding: 0;
  margin: 14px 0
}

.tile--pdv li {
  background: var(--brand-1);
  color: #fff;
  padding: 4px 14px;
  border-radius: 21px;
  font-size: .75rem;
}

.tile--pdv .phone {
  position: static;
  align-self: stretch;
  height: 100%;
  width: auto;
  object-fit: contain;
  margin-right: 0;
}

.tile--exec {
  grid-column: 3/span 1;
  grid-row: 1/span 2;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  padding: 42px;
}

.tile--exec h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 28px
}

.tile--exec p {
  font-size: 1rem;
  line-height: 1.5;
}

.tile--exec .person {
  position: absolute;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}

.tile--exec .bg {
  position: absolute;
  bottom: 0;
  object-fit: cover;
  pointer-events: none;
  width: clamp(140px, 42vw, 420px);
}

.tile--teams {
  grid-column: 1/span 1;
  grid-row: 2/span 2;
  cursor: pointer
}

.tile--teams img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}

.tile--teams .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-1) 85%, transparent), color-mix(in srgb, var(--brand-2) 85%, transparent));
  color: #fff;
  font-weight: 700;
  font-size: 21px;
  opacity: 0;
  transition: .4s;
  text-align: center
}

.tile--teams:hover img {
  transform: scale(1.05)
}

.tile--teams:hover .overlay {
  opacity: 1
}

.tile--orders {
  grid-column: 2/span 1;
  grid-row: 2/span 1;
  background: #6366F1;
  padding: 42px;
  color: #fff
}

.tile--orders h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 28px
}

.tile--orders ul {
  margin: 14px 0 0 0;
  font-size: 14px
}

.tile--orders .box {
  position: absolute;
  top: 10.5px;
  right: 10.5px;
  width: 84px
}

.tile--bi {
  grid-column: 2/span 2;
  grid-row: 3/span 1;
  background: #F9FAFF;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tile--bi .txt {
  flex: 1;
}

.tile--bi .device {
  width: 42%;
  height: auto;
  object-fit: contain;
  display: block;
}

.tile--bi h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 28px;
  color: var(--brand-1);
}

@media(max-width:1023px) {
  .tile--bi {
    flex-direction: column;
    text-align: center;
  }

  .tile--bi .device {
    width: clamp(220px, 100%, 420px);
  }

  .tile--pdv .phone {
    position: static;
    align-self: stretch;
    height: 100%;
    width: auto;
    object-fit: contain;
    margin-right: 0;
  }

  .grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto
  }

  .tile--pdv,
  .tile--exec,
  .tile--teams,
  .tile--orders,
  .tile--bi {
    grid-column: auto;
    grid-row: auto
  }

  .tile--pdv {
    grid-column: 1/span 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F9FAFF;
    padding: 42px 0 42px 42px;
    min-height: 260px;
  }

  .tile--pdv .phone {
    position: static;
    align-self: stretch;
    height: 100%;
    width: auto;
    object-fit: contain;
    margin-right: 0;
  }

  .tile--pdv ul.tags {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 0;
    margin: 14px auto 0;
    list-style: none;
  }

  .tile--exec {
    height: auto;
    padding: 28px 28px 0;
    text-align: center
  }

  .tile--exec .person {
    height: 120px;
    right: 14px
  }

  .tile--exec .bg {
    bottom: -80px;
    height: 100%;
  }
}

@media (max-width: 320px) {
  .tile--pdv ul.tags {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
}

.tile--teams {
  perspective: 1000px
}

.tile--teams .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .6s;
  transform-style: preserve-3d
}

.tile--teams:hover .card-inner {
  transform: rotateY(180deg)
}

.tile--teams .card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 21px;
  overflow: hidden
}

.tile--teams .card-face.back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  padding: 42px;
  transform: rotateY(180deg)
}

.tile--teams .card-face.back h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 28px
}

.tile--teams .card-face.back ul {
  margin: 14px 0 0 0;
  font-size: 14px
}

.tile--orders {
  border-radius: 21px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  position: relative;
  padding: 28px;
}

.tile--orders li {
  opacity: 0;
  transition: transform .4s ease-out, opacity .4s ease-out;
}

.tile--orders li:nth-child(odd) {
  transform: translateX(-40px)
}

.tile--orders li:nth-child(even) {
  transform: translateX(40px)
}

.tile--orders:hover li {
  opacity: 1;
  transform: translateX(0);
}

.tile--orders:hover li:nth-child(1) {
  transition-delay: .05s
}

.tile--orders:hover li:nth-child(2) {
  transition-delay: .15s
}

.tile--orders:hover li:nth-child(3) {
  transition-delay: .25s
}

.br-mobile {
  display: none;
}

@media (max-width: 441px) {
  .br-mobile {
    display: inline;
  }
}

.tile--orders ul {
  list-style: none;
  padding: 0;
}

.tile--orders li {
  display: inline-block;
  border-style: solid;
  border-color: #ffffff;
  color: #ffffff;
  border-radius: 9999px;
  padding: 7px 17.5px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 14px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .3s ease, transform .3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}

.tile--orders:hover li {
  opacity: 1;
  transform: translateY(0);
}

.tile--orders li:nth-child(1) {
  transition-delay: .05s
}

.tile--orders li:nth-child(2) {
  transition-delay: .15s
}

.tile--orders li:nth-child(3) {
  transition-delay: .25s
}

.tile--orders li {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.tile--orders:hover li {
  opacity: 1;
  transform: translateY(0);
}

@media(max-width: 1023px) {
  .tile--teams {
    min-height: 260px;
  }

  .tile--teams .card-inner {
    height: 100%;
  }

  .tile--teams:hover .card-inner {
    transform: none;
  }

  .tile--orders li {
    font-size: 1.15rem;
  }
}

@media (max-width: 1023px) {
  .tile--exec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .tile--exec .person {
    position: static;
    right: auto;
    left: auto;
    margin-top: auto;
    align-self: center;
    width: clamp(110px, 60%, 160px);
    height: auto;
    z-index: 1;
  }
}

.tile--pdv .txt {
  flex: 1;
}

@media(max-width:1023px) {
  p {
    line-height: 1.5;
    font-size: 1.25rem;
  }

  .grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }

  .tile {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .tile--exec,
  .tile--teams,
  .tile--orders,
  .tile--bi,
  .tile--pdv {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .tile--pdv {
    flex-direction: column;
    padding: 28px 28px 0;
    min-height: initial;
    text-align: center;
  }

  .tile--pdv .phone {
    align-self: center;
    height: auto;
    width: clamp(220px, 90%, 420px);
  }
}

@media (min-width:1024px) {
  .tile--pdv {
    position: relative;
    padding-bottom: 0 !important;
    overflow: hidden;
  }

  .tile--pdv .phone {
    position: absolute !important;
    right: 50px;
    bottom: 0;
    width: clamp(140px, 42vw, 280px);
    height: auto;
    margin: 0 !important;
    z-index: 1;
    transform: translate(0, 0);
  }
}

.tile--teams .card-face.front {
  position: relative;
}

.tile--teams .card-face.front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 13, 93, .55) 0%, rgba(112, 37, 224, .25) 40%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.tile--teams .card-face.front .overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  padding: 0;
  background: none;
  color: #fff;
  font-size: 21px;
  line-height: 28px;
  font-weight: 700;
  margin: 0;
  opacity: 1;
  pointer-events: none;
  text-align: left;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  z-index: 2;
}

.tile--teams:hover .overlay {
  opacity: 1;
}

@media (max-width: 441px) {
  .tile--teams .card-face.front .overlay {
    top: 14px;
    left: 14px;
    right: 14px;
    font-size: 21px;
    line-height: 24px;
  }
}

p {
  line-height: 1.5;
  font-size: 1rem;
}

.br {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 441px) {
  .br {
    margin-bottom: 6px;
  }
}

.flip-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, .15);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  /* the whole card captures the touch */
}

.flip-hint svg {
  display: block;
}

@media (max-width:1023px) {
  .tile--teams .flip-hint {
    display: flex;
  }
}

.flip-hint i {
  font-size: 21px;
  line-height: 1;
}

.flip-hint {
  color: var(--brand-1);
}

.flip-hint i {
  font-size: 21px;
}

.flip-hint {
  color: var(--brand-1)
}

.tile--teams .card-inner,
.tile--teams .card-face {
  height: 100%;
}

.tile--teams .card-face.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile--teams .flip-hint {
  z-index: 4;
  pointer-events: none;
}

@media (max-width: 667px) {
  .tile--exec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    position: relative;
  }

  .tile--exec .person {
    position: relative;
    margin: 0 auto;
    width: clamp(120px, 60%, 180px);
    height: auto;
    z-index: 2;
  }

  .tile--exec .bg {
    position: absolute;
    right: -90px !important;
    width: clamp(180px, 120%, 360px);
    height: auto;
    bottom: -30px;
    object-fit: contain;
    z-index: 0;
  }
}

@media (min-width: 668px) and (max-width: 1023px) {
  .tile--exec .bg {
    right: 40px !important;
  }
}

/* ===== Floating animations (BI device, PDV tags, Orders box) ===== */
@keyframes floatY {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes floatTilt {
  0% {
    transform: translateY(0) rotate(-0.6deg);
  }

  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }

  100% {
    transform: translateY(0) rotate(-0.6deg);
  }
}

@keyframes glowPulse {
  0% {
    transform: scale(0.95);
    opacity: .35;
  }

  50% {
    transform: scale(1.03);
    opacity: .55;
  }

  100% {
    transform: scale(0.95);
    opacity: .35;
  }
}

/* 1) BI – notebook flotando */
.tile--bi {
  position: relative;
  z-index: 2;
  /* sube el bloque completo */
}

.tile--bi .device {
  position: relative;
  z-index: 3;
  /* asegura que la compu quede adelante */
  animation: floatTilt 6.5s var(--easing) infinite;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .18));
  will-change: transform;
}

/* Glow responsive */
@media (max-width: 1023px) {
  .tile--bi .glow {
    position: absolute;
    right: 10%;
    bottom: -16%;
    width: 78%;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: radial-gradient(closest-side,
        color-mix(in srgb, var(--brand-1) 100%, transparent) 0%,
        color-mix(in srgb, var(--brand-2) 100%, transparent) 75%,
        transparent 95%);
    filter: blur(48px);
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 7s ease-in-out infinite;
  }
}

@media (min-width: 1024px) {
  .tile--bi .glow {
    position: absolute;
    right: -30%;
    bottom: -40%;
    width: 80%;
    aspect-ratio: 1/1;
    border-radius: 999px;
    background: radial-gradient(closest-side,
        color-mix(in srgb, var(--brand-1) 80%, transparent) 0%,
        color-mix(in srgb, var(--brand-2) 60%, transparent) 55%,
        transparent 75%);
    filter: blur(38px);
    z-index: 1;
    /* detrás de .device */
    pointer-events: none;
    animation: glowPulse 7s ease-in-out infinite;
  }
}

/* 2) Chips PDV (OSA / SaaS / Precios) flotando en desfase */
.tile--pdv ul.tags li {
  animation: floatY 5.5s var(--easing) infinite;
  will-change: transform;
}

.tile--pdv ul.tags li:nth-child(2) {
  animation-delay: .6s;
}

.tile--pdv ul.tags li:nth-child(3) {
  animation-delay: 1.2s;
}

/* 3) Cajita Pedidos flotando con tilt suave */
.tile--orders .box {
  animation: floatTilt 7s var(--easing) infinite;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .20));
  will-change: transform;
}

/* Accesibilidad: respeta reduce motion */
@media (prefers-reduced-motion: reduce) {

  .tile--bi .device,
  .tile--bi .glow,
  .tile--pdv ul.tags li,
  .tile--orders .box {
    animation: none !important;
  }
}

/* ===== Chips animados en EJECUCIÓN ===== */
.tile--exec {
  position: relative;
}

.exec-chips {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 7px;
  z-index: 3;
  pointer-events: none;
}

.exec-chip {
  --chip-bg: #fff;
  --chip-fg: var(--brand-1);
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-weight: 600;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .2px;
  border: 1px solid color-mix(in srgb, var(--brand-1) 16%, transparent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  filter: saturate(1.02);
  opacity: 0;
  transform: translateY(12px) scale(.96);
  animation: chipLoop 9s var(--easing) infinite;
  will-change: transform, opacity;
}

.exec-chip:nth-child(2) {
  animation-delay: 1.6s;
}

/* Hover en toda la tarjeta: aparecen al toque y hacen "pop" */
.tile--exec:hover .exec-chip {
  opacity: 1;
  transform: none;
  animation: chipPop .38s var(--easing);
}

@keyframes chipLoop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }

  12% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  65% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  78% {
    opacity: 0;
    transform: translateY(6px) scale(.96);
  }

  100% {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
}

/* Pop corto para el hover */
@keyframes chipPop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(.96);
  }

  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive: centrados en tablet/mobile para no tapar texto/persona */
@media (max-width:1023px) {
  .exec-chips {
    right: 50%;
    transform: translateX(50%);
    bottom: 50px;
  }

  .exec-chip {
    font-size: 13px;
  }
}

@media (max-width: 441px) {
  .exec-chips {
    bottom: 44px;
    gap: 6px;
  }

  .exec-chip {
    font-size: 12.5px;
    padding: 6px 12px;
  }
}

/* Accesibilidad: respeta "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  .exec-chip {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}


/* === Mobile: desactivar flip por :hover en dispositivos sin hover real === */
@media (hover: none) {
  .tile--teams:hover .card-inner {
    transform: none;
  }
}

/* === Toggle por clase para mobile (tap en la card) === */
.tile--teams .card-inner.is-active {
  transform: rotateY(180deg);
}

/* === ≤320px: centrar contenido del back y dar aire para el ícono === */
@media (max-width: 320px) {
  .tile--teams .card-face.back {
    align-items: center;
    text-align: center;
    padding: 28px 18px 64px;
  }
}