/* ── Design Tokens (CSS Custom Properties) ── */
:root {
  --c-negro: #1F1C1B;
  --c-off-white: #F7F6F0;
  --c-blanco: #FFFFFF;
  --c-verde: #02A270;
  --c-verde-100: #ECFDF5;
  --c-amarillo: #FDBF00;
  --c-azul: #2563EB;
  --c-azul-100: #EFF4FF;
  --c-rosado: #F32A73;
  --c-neutral-100: #E6E5DF;
  --c-neutral-200: #EEEDE7;
  --c-neutral-300: #F3F2EC;
  --c-gris-100: #F6F6F6;
  --c-gris-200: #E3E3E3;
  --c-gris-300: #C4C4C4;
  --c-gris-400: #A0A0A0;
  --c-gris-500: #888888;
  --c-gris-600: #585858;

  /* ── Fluid Type Scale (375 → 1440 viewport) ── */
  --step-0:  clamp(0.875rem, 0.787rem + 0.38vw, 1.125rem);  /* 14 → 18 */
  --step-1:  clamp(1rem, 0.912rem + 0.38vw, 1.25rem);       /* 16 → 20 */
  --step-2:  clamp(1.125rem, 1.037rem + 0.38vw, 1.375rem);  /* 18 → 22 */
  --step-3:  clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);     /* 20 → 24 */
  --step-4:  clamp(1.5rem, 1.324rem + 0.75vw, 2rem);        /* 24 → 32 */
  --step-5:  clamp(2rem, 1.648rem + 1.5vw, 3rem);           /* 32 → 48 */
  --step-6:  clamp(2.25rem, 1.634rem + 2.63vw, 4rem);       /* 36 → 64 */
}

/* Short viewports (landscape laptops): scale down headings */
@media (max-height: 750px) and (min-width: 768px) {
  :root {
    --step-3: clamp(1.125rem, 1rem + 0.35vw, 1.375rem);    /* 18 → 22 */
    --step-4: clamp(1.25rem, 1.1rem + 0.55vw, 1.625rem);   /* 20 → 26 */
    --step-5: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem);    /* 26 → 36 */
    --step-6: clamp(1.875rem, 1.3rem + 1.8vw, 3rem);       /* 30 → 48 */
  }
}

/* ── Page Scope Reset ── */
#home2 section {
  padding: 64px 20px;
}

/* H4/Regular */
#home2 h2 {
  font-size: var(--step-5);
  font-weight: 400;
  color: var(--c-negro);
  letter-spacing: -0.96px;
  line-height: 1.25;
}

/* H6/Medium */
#home2 h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-negro);
  letter-spacing: -0.54px;
  line-height: 1.25;
}

/* ── Eyebrow Label ── */
/* O2/Regular — Geist Mono */
.h2-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  line-height: 1.1;
  color: var(--c-negro);
  margin-bottom: 16px;
  display: block;
}

.h2-eyebrow--light {
  color: rgba(255, 255, 255, .45);
}

/* ── Buttons ── */
/* Btn2/Medium */
@property --gradient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes borderSpin {
  0%   { --gradient-angle: 0deg; }
  100% { --gradient-angle: 360deg; }
}

@keyframes glowFlash {
  0%, 100% { opacity: 0; }
  8%       { opacity: 0.7; }
  20%      { opacity: 0.5; }
  35%      { opacity: 0; }
}

.btn-glow {
  display: inline-flex;
  position: relative;
  border-radius: 100px;
}

.btn-glow::before,
.btn-glow::after {
  content: '';
  position: absolute;
  border-radius: 100px;
  background: conic-gradient(
    from var(--gradient-angle),
    transparent 0deg,
    transparent 160deg,
    rgba(255,255,255,0.8) 180deg,
    transparent 200deg,
    transparent 360deg
  );
  animation: borderSpin 3s linear infinite, glowFlash 6s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
}

/* Sharp border ring */
.btn-glow::before {
  inset: -1px;
  padding: 1px;
  -webkit-mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
  mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
}

/* Soft glow halo */
.btn-glow::after {
  inset: -4px;
  filter: blur(6px);
  animation-delay: 0s, 0.1s;
}

#home2 .btn-primary--white {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#home2 .btn-primary--white:hover {
  background: rgba(255, 255, 255, .3);
}

#home2 .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Geist', sans-serif;
  letter-spacing: -0.48px;
  line-height: 1;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

#home2 .btn-primary--dark {
  background: var(--c-negro);
  color: var(--c-off-white);
}

#home2 .btn-primary--dark:hover {
  background: #333;
}

#home2 .btn-primary--fill {
  background: var(--c-negro);
  color: var(--c-off-white);
  gap: 8px;
}

#home2 .btn-primary--fill:hover {
  background: #333;
}

#home2 .btn-primary--fill i {
  font-size: 16px;
  transition: transform .15s;
}

#home2 .btn-primary--fill:hover i {
  transform: translateX(3px);
}

#home2 .btn-primary--outline {
  background: none;
  color: var(--c-gris-600);
  border: 1px solid var(--c-gris-200);
}

#home2 .btn-primary--outline:hover {
  border-color: var(--c-gris-400);
  color: var(--c-negro);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-v2 {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 60px !important;
  margin-bottom: 25vh;
  margin-bottom: 25svh;
  overflow: hidden;
  background-color: transparent;
  transform-origin: center center;
  will-change: transform, opacity;
}

.hero-screenshot {
  position: relative;
  z-index: 4;
  max-width: 1280px;
  margin: -45vh auto 0;
  margin: -45svh auto 0;
  padding: 0 24px;
  will-change: max-width;
  min-height: 60vh;
}
.hero-screenshot::before {
  display: none;
}

@media (max-width: 767px) {
  .hero-screenshot {
    display: none;
  }
}
.hero-screenshot__inner {
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: none;
  will-change: transform, opacity;
  position: relative;
}
.hero-screenshot__inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, var(--c-off-white) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-screenshot__img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-screenshot__play {
  position: absolute;
  top: 43%; left: 50%;
  transform: translate(-50%, -50%) translateY(30px) scale(.8);
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 100px;
  background: #1F1C1B;
  border: none;
  color: #F7F6F0;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  padding: 0 14px;
  cursor: pointer;
  opacity: 0;
  filter: blur(8px);
  will-change: opacity, transform, filter, width, gap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  overflow: hidden;
  white-space: nowrap;
}
.hero-screenshot__play-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
}
.hero-screenshot__play-label {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.48px;
  color: #F7F6F0;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: none;
}
.hero-screenshot__play:hover {
  background: #000;
}

.hero-v2__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #F7F6F0;
  pointer-events: none;
}
.hero-v2__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-v2__bg svg {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.hero-v2__bg-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-v2__bg-gradient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero iso entrance transition */
#hero-iso {
  transform: scale(1.15);
  filter: blur(12px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(.22,1,.36,1),
             filter 1.2s cubic-bezier(.22,1,.36,1),
             opacity 0.8s ease;
}
#hero-iso.hero-iso--revealed {
  transform: scale(1);
  filter: blur(0px);
  opacity: 1;
}

#home2 > .hero-v2 ~ * {
  position: relative;
  z-index: 2;
  background: var(--c-off-white);
}

#home2 > .hero-screenshot {
  background: transparent;
}

.hero-v2__video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  will-change: filter;
  z-index: 0;
}

.hero-v2__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, .18) 0%,
      rgba(0, 0, 0, .98) 100%);
  opacity: 0.89;
  mix-blend-mode: darken;
  z-index: 0;
}

/* O3/Medium */
.hero-v2__eyebrow {
  position: relative;
  z-index: 1;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  line-height: 1.1;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 24px;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

/* H3/Regular (mobile) */
.hero-v2 h1 {
  position: relative;
  z-index: 1;
  font-size: var(--step-6);
  font-weight: 400;
  color: var(--c-blanco);
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 40px;
  transform: scale(1.2);
  opacity: 0;
  transition: transform .8s cubic-bezier(.22,1,.36,1),
             opacity .5s ease;
}
.hero-v2 h1.hero-title--revealed {
  transform: scale(1);
  opacity: 1;
}

.hero-rotator {
  display: block;
  overflow: hidden;
  height: 1.25em;
  position: relative;
}

.hero-rotator__track {
  display: flex;
  flex-direction: column;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.hero-rotator__line {
  height: 1.25em;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-rotator__line span {
  text-decoration: none;
}

/* Hero entrance animation */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-v2__eyebrow,
.hero-line,
.hero-rotator {
  opacity: 0;
  animation: heroFadeIn 2.4s cubic-bezier(.0, 0, .2, 1) forwards;
}

.hero-v2__ctas {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroFadeUp 2s cubic-bezier(.0, 0, .2, 1) forwards;
}

.hero-v2__ctas            { animation-delay: .8s; }

.hero-v2__eyebrow        { animation-delay: .2s; }
.hero-rotator             { animation-delay: .4s; }
.hero-line:nth-child(2)  { animation-delay: .6s; }

.hero-v2__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  width: 100%;
  max-width: 340px;
}

.hero-v2__ctas .btn-glow {
  display: flex;
  width: 100%;
}

.hero-v2__ctas .btn-glow .btn-primary {
  width: 100%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. LOGO STRIP
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.logo-strip {
  text-align: center;
  padding: 0 0 !important;
  background: transparent;
  position: relative;
  z-index: 3;
  margin-top: -40px;
}

.logo-strip__stats {
  font-family: 'Geist Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-negro, #1F1C1B);
  letter-spacing: 1.28px;
  line-height: 1.1;
  padding: 48px 20px 32px;
}

.logo-strip__logos {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  padding: 8px 0;
}

.logo-strip__track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.logo-strip__track img {
  height: 62px;
  width: auto;
  opacity: .45;
  filter: grayscale(100%);
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. SUITE CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Ticket Stack (Servicio al Cliente card) ── */
.ticket-stack {
  background: #f2f1ec;
  border-radius: 16px;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Soft fade at top & bottom edges */
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.ticket-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  will-change: transform;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}

/* Scroll-driven stack — no transition, follows scroll directly */
[data-scroll-feed] .ticket-track {
  transition: none;
  animation: none;
}

/* JS-controlled scrolling */
.ticket-track.is-scrolling {
  transition: none;
  animation: ticketScroll 6s linear infinite;
}

@keyframes ticketScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(calc(-50% - 7px)); }
}

@keyframes progressStripe {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

.progress-track {
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background-color: rgba(31,28,27,0.07);
  background-image: linear-gradient(
    -45deg,
    rgba(255,255,255,0.45) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0.45) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
  animation: progressStripe 1s linear infinite;
}

.ticket-card {
  width: 85%;
  flex-shrink: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(31,28,27,0.04);
  box-shadow: 0 4px 6px -4px rgba(26,26,26,0.05), 0 10px 15px -3px rgba(26,26,26,0.05);
  font-family: 'Geist', sans-serif;
}



.suite-section {
  text-align: center;
  overflow: visible;
}

.suite-section>.h2-eyebrow {
  display: inline-block;
}

.suite-section h2 {
  max-width: 720px;
  margin: 0 auto 40px;
}

.suite-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

/* ── S-Path flowing behind suite cards ── */
.suite-s-paths {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.suite-s-paths use {
  fill: none;
  stroke: url(#suiteGradient);
  stroke-linecap: round;
  stroke-dashoffset: var(--suite-dash-offset, 0);
}

.suite-s-paths use[href="#suitePath1"] {
  stroke-width: 20;
  stroke-dasharray: 20 50 120 50 20 50 300 50 20 50 150 50 20 99999;
  opacity: 0.3;
}

.suite-s-paths use[href="#suitePath2"] {
  stroke-width: 34;
  stroke-dasharray: 34 60 120 60 34 60 300 60 34 60 150 60 34 99999;
  opacity: 0.18;
}

.suite-s-paths use[href="#suitePath3"] {
  stroke-width: 25;
  stroke-dasharray: 25 40 120 40 25 40 250 40 25 40 150 40 25 99999;
  opacity: 0.35;
}

.suite-card-wrap {
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.07)) drop-shadow(0 2px 6px rgba(0,0,0,0.04));
  width: 100%;
  display: flex;
  justify-content: center;
}

.suite-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: var(--c-blanco);
  border-radius: 24px;
  padding: 28px 20px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: default;
  width: 100%;
}

/* Connector between cards */
.suite-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  width: 40px;
  flex-shrink: 0;
  margin-top: -6px;
  margin-bottom: -6px;
  position: relative;
  z-index: 2;
}

.suite-connector__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #C8C2B5;
  box-shadow: 0 0 0 3px var(--c-blanco);
  background: var(--c-blanco);
  flex-shrink: 0;
  z-index: 1;
}

.suite-connector__line {
  height: 64px;
  overflow: visible;
}

.marching-line {
  animation: marchingAnts 1s linear infinite;
}

@keyframes marchingAnts {
  to { stroke-dashoffset: -12; }
}

.suite-card__icon {
  display: none;
}

#home2 .suite-card h3,
.suite-card p,
.suite-card__link {
  position: relative;
  z-index: 1;
}

.suite-card__iso {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  z-index: 0;
  background: #F7F6F0;
  border-radius: 16px;
  margin-bottom: 0;
  overflow: hidden;
}

.suite-card__visual {
  position: relative;
}

/* Text link under description */
.suite-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
  line-height: 1;
  color: var(--c-negro);
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
  margin-bottom: 24px;
}

.suite-card__link:hover {
  opacity: 0.6;
  color: var(--c-negro);
}

.suite-card__link i {
  font-size: 14px;
  display: inline;
  transition: transform .2s;
}

.suite-card__link:hover i {
  transform: translateX(3px);
}

.suite-card__iso > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.suite-card__icon i {
  font-size: 20px;
  color: var(--c-negro);
  line-height: 1;
}

/* H5/Regular */
#home2 .suite-card h3 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.25;
  margin-bottom: 12px;
}

/* B3/Regular */
.suite-card p {
  font-size: 14px;
  color: var(--c-gris-500);
  letter-spacing: -0.42px;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. WHY PROLIBU — Stacked Cards
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.why-cards {
  background: var(--c-off-white);
}

.why-cards > .h2-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.why-cards > h2 {
  margin-bottom: 48px;
  text-align: center;
}

.why-cards__list {
  height: 350vh;
  height: 350svh;
  position: relative;
}

.why-cards__sticky {
  position: sticky;
  top: 14vh;
  top: 14svh;
  height: 80vh;
  height: 80svh;
  overflow: visible;
}

.why-card {
  background: var(--c-blanco);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
  transform-origin: top center;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
  transform: translateY(105%);
  opacity: 0;
}

.why-card:nth-child(1) { z-index: 1; transform: none; opacity: 1; }
.why-card:nth-child(2) { z-index: 2; }
.why-card:nth-child(3) { z-index: 3; }
.why-card:nth-child(4) { z-index: 4; }

.why-card__text {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-card__eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  line-height: 1.1;
  color: var(--c-negro);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

#home2 .why-card__title {
  font-family: 'Geist', sans-serif;
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.25;
  color: var(--c-negro);
  margin-bottom: 24px;
}

.why-card__desc {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--c-negro);
  opacity: 0.8;
  letter-spacing: -0.54px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 447px;
}

.why-card__ai-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: 0;
}
.why-card__ai-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  white-space: nowrap;
  margin-top: 30px;
}
.why-card__ai-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-card__ai-logos img {
  height: 16px;
  width: auto;
  filter: grayscale(1);
}
.why-card__ai-logos img:nth-child(1) { height: 27px; padding-right: 8px; } /* OpenAI */
.why-card__ai-logos img:nth-child(3) { height: 26px; padding-left: 6px; } /* Google */

.why-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
  line-height: 1;
  color: var(--c-negro);
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
  align-self: flex-start;
}

.why-card__btn:hover {
  opacity: 0.6;
  color: var(--c-negro);
}

.why-card__btn i {
  font-size: 14px;
  display: inline;
  transition: transform .2s;
}

.why-card__btn:hover i {
  transform: translateX(3px);
}

.why-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #F7F6F0;
  border-radius: 16px;
  margin: 16px;
  aspect-ratio: 1 / 1;
}

.why-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.why-card__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 54px;
  width: 100%;
}

.why-card__visual > img {
  max-width: 280px;
}

.why-card__caption h4 {
  font-family: 'Geist', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--c-negro);
  margin-bottom: 8px;
}

.why-card__caption p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-negro);
  opacity: 0.65;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto -20px;
}

/* Flower animation */
.flower-svg {
  max-width: 342px;
  overflow: hidden;
}

.flower-petals {
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

/* Entrance: petals start hidden, spin in */
.flower-petals > path {
  opacity: 0;
  transform-origin: 155px 154px;
  transform: scale(0) rotate(-180deg);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

.flower-svg.flower-entered .flower-petals > path {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Stagger per petal (pairs share same delay) */
/* Right petal (paths 1-2) */
.flower-petals > path:nth-child(1),
.flower-petals > path:nth-child(2) { transition-delay: 0s; }
/* Bottom petal (path 3) */
.flower-petals > path:nth-child(3) { transition-delay: 0.12s; }
/* Left petal (paths 4-5) */
.flower-petals > path:nth-child(4),
.flower-petals > path:nth-child(5) { transition-delay: 0.24s; }
/* Top petal (paths 6-7) */
.flower-petals > path:nth-child(6),
.flower-petals > path:nth-child(7) { transition-delay: 0.36s; }

.flower-svg .flower-center {
  opacity: 0;
  transform-origin: 155px 151px;
  transform: scale(0);
  transition: opacity .4s ease .5s, transform .5s cubic-bezier(.22, 1, .36, 1) .5s;
}

.flower-svg.flower-entered .flower-center {
  opacity: 1;
  transform: scale(1);
}

.why-card__caption,
.flower-dots {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease .7s, transform .4s ease .7s;
}

.flower-svg.flower-entered ~ .why-card__caption,
.flower-svg.flower-entered ~ .flower-dots {
  opacity: 1;
  transform: translateY(0);
}

.flower-caption__title,
.flower-caption__desc {
  transition: opacity .4s ease;
}

.flower-caption--exit .flower-caption__title,
.flower-caption--exit .flower-caption__desc {
  opacity: 0;
}

.flower-caption--enter .flower-caption__title,
.flower-caption--enter .flower-caption__desc {
  opacity: 0;
}

/* Flower dots */
.flower-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.flower-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-negro);
  opacity: 0.2;
  transition: all .4s ease;
}

.flower-dot.active {
  width: 24px;
  border-radius: 4px;
  opacity: 1;
  background: #F32A73;
}

/* Price comparison chart */
.price-chart {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 32px;
  box-sizing: border-box;
  justify-content: center;
}

.price-chart__title {
  font-size: 24px;
  font-weight: 400;
  color: var(--c-negro);
  margin-bottom: 28px;
  line-height: 1.25;
  letter-spacing: -0.72px;
}

.price-chart__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.price-chart__row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity .4s ease;
  transform: translateX(0);
}

.price-chart__row:not(.active):not(.price-chart__row--prolibu) {
  opacity: 0.3;
}

.price-chart__row:not(.price-chart__row--prolibu):hover {
  opacity: 1 !important;
}

.price-chart__row:not(.price-chart__row--prolibu):hover .price-chart__bar {
  filter: brightness(1.08);
}

.price-chart__row:not(.price-chart__row--prolibu):hover .price-chart__label {
  transform: translateX(-4px);
}

.price-chart__row--prolibu {
  cursor: default;
  opacity: 1 !important;
}

.price-chart__label {
  width: 100px;
  font-size: 15px;
  font-weight: 400;
  text-align: right;
  color: var(--c-negro);
  flex-shrink: 0;
  letter-spacing: -0.46px;
  line-height: 1.1;
  transition: transform .3s ease;
}

.price-chart__row--prolibu .price-chart__label {
  font-weight: 800;
  letter-spacing: 0.12em;
}

.price-chart__bar-wrap {
  flex: 1;
  position: relative;
}

.price-chart__bar {
  height: 38px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  box-sizing: border-box;
  width: 0%;
  background-image: var(--bar-color);
  background-color: var(--c-negro);
  transition: width 1s cubic-bezier(.22, 1, .36, 1), filter .3s ease, transform .3s ease, box-shadow .3s ease;
}

.price-chart__row.active .price-chart__bar,
.price-chart__row--prolibu .price-chart__bar {
  box-shadow:
    0 2px 0 rgba(0,0,0,.06),
    0 4px 10px rgba(0,0,0,.04);
}

.price-chart.entered .price-chart__bar {
  width: var(--bar-w);
}

.price-chart__price {
  font-size: 14px;
  font-weight: 400;
  color: var(--c-blanco);
  white-space: nowrap;
  letter-spacing: -0.41px;
}

.price-chart__savings {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease .8s, transform .6s ease .8s;
}

.price-chart.entered .price-chart__savings {
  opacity: 1;
  transform: translateY(0);
}

.price-chart__savings-label {
  font-size: 21px;
  font-weight: 400;
  color: var(--c-negro);
  letter-spacing: -0.63px;
  margin-bottom: 4px;
}

.price-chart__savings-value {
  font-size: 60px;
  font-weight: 400;
  color: var(--c-negro);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1.8px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.price-chart__savings-pct {
  font-size: 16px;
  font-weight: 400;
  color: var(--c-negro);
  letter-spacing: -0.63px;
  opacity: 0.7;
}

/* Stagger bar animation delays */
.price-chart__row:nth-child(1) .price-chart__bar { transition-delay: 0s; }
.price-chart__row:nth-child(2) .price-chart__bar { transition-delay: 0.15s; }
.price-chart__row:nth-child(3) .price-chart__bar { transition-delay: 0.3s; }
.price-chart__row:nth-child(4) .price-chart__bar { transition-delay: 0.45s; }

/* ── Ask AI Field (Card 2) — Gemini-style ── */
@property --ask-rotation {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.ask-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.ask-field__bar {
  --border-size: 2px;
  --gradient: conic-gradient(
    from var(--ask-rotation) at 50% 50%,
    oklch(0.63 0.2 251) 27%,
    oklch(0.67 0.21 26) 33%,
    oklch(0.9 0.19 94) 41%,
    oklch(0.79 0.25 150) 49%,
    oklch(0.63 0.2 251) 65%,
    oklch(0.72 0.21 151) 93%,
    oklch(0.63 0.2 251)
  );
  position: relative;
  width: 52px;
  border-radius: 100px;
  border: 2px solid rgba(31,28,27,0.08);
  background: none;
  padding: 0;
  z-index: 1;
  /* Phase 1 entrance */
  opacity: 0;
  transform: translateY(60px) scale(0.8);
  filter: blur(8px);
  will-change: opacity, transform, filter, width;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: ask-rotate 1.2s linear infinite;
}

/* Glow: blurred gradient behind */
.ask-field__bar::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: var(--gradient);
  z-index: -1;
  filter: blur(18px);
  opacity: 0;
  border-radius: inherit;
  animation: ask-rotate 1.2s linear infinite;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ask-field.visible .ask-field__bar::after {
  opacity: 0.3;
}

.ask-field.settled .ask-field__bar::after {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Phase 1: circle appears */
.ask-field.visible .ask-field__bar {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Phase 2: expand to pill */
.ask-field.expanded .ask-field__bar {
  width: 100%;
  max-width: 340px;
  border-color: transparent;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.8s cubic-bezier(0.34, 1.4, 0.64, 1),
              border-color 0.3s ease;
}

.ask-field.settled .ask-field__bar {
  border-color: rgba(31,28,27,0.08);
  transition: border-color 0.8s ease;
}

/* Inner: white content area */
.ask-field__inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px;
  justify-content: center;
  background: var(--c-blanco);
  border-radius: inherit;
  position: relative;
  z-index: 2;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.ask-field.expanded .ask-field__inner {
  gap: 12px;
  padding: 14px 26px;
  transition: gap 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sharp border ring */
.ask-field__border {
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border-radius: inherit;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ask-field.visible .ask-field__border {
  opacity: 1;
}

.ask-field.settled .ask-field__border {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ask-field__border::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: var(--gradient);
  z-index: -1;
  filter: blur(4px);
  animation: ask-rotate 1.2s linear infinite;
}

@keyframes ask-rotate {
  to { --ask-rotation: 360deg; }
}

.ask-field__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #4285F4;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}

.ask-field.visible .ask-field__icon {
  opacity: 0.8;
}

.ask-field__text {
  color: var(--c-negro);
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.7s ease, max-width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ask-field.expanded .ask-field__text {
  opacity: 0.4;
  max-width: 300px;
}

.ask-field__cursor {
  width: 1.5px;
  height: 18px;
  background: var(--c-negro);
  border-radius: 1px;
  opacity: 0;
  flex-shrink: 0;
}

.ask-field.expanded .ask-field__cursor {
  animation: ask-blink 1.1s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes ask-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.7; }
}

/* ── Card 2 field colors ── */
.why-card:nth-child(2) .why-card__image {
  background: #F7F6F0;
  aspect-ratio: auto;
  overflow: visible;
}

/* Ask AI suggestions */
.ask-suggestions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  width: 100%;
  max-width: 340px;
  padding: 0 4px;
}

.ask-suggestions__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(31,28,27,0.08);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ask-suggestions__item:last-child {
  border-bottom: none;
}

.ask-field.suggestions .ask-suggestions__item {
  opacity: 1;
  transform: translateY(0);
}

.ask-field.suggestions .ask-suggestions__item:nth-child(1) { transition-delay: 0s; }
.ask-field.suggestions .ask-suggestions__item:nth-child(2) { transition-delay: 0.12s; }
.ask-field.suggestions .ask-suggestions__item:nth-child(3) { transition-delay: 0.24s; }

.ask-suggestions__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(31,28,27,0.35);
}

.ask-suggestions__text {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: rgba(31,28,27,0.55);
  line-height: 1.3;
}

/* ── Implementation Timeline (Card 3) ── */
.impl-timeline {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

/* Masked viewport */
.impl-timeline__viewport {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  /* Fade-mask left/right edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}

/* Blueprint grid background */
.impl-timeline__grid {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cline x1='0' y1='0.5' x2='40' y2='0.5' stroke='%23d4d0c8' stroke-width='1' stroke-dasharray='4 4'/%3E%3Cline x1='0.5' y1='0' x2='0.5' y2='40' stroke='%23d4d0c8' stroke-width='1' stroke-dasharray='4 4'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

/* The strip that pans horizontally */
.impl-timeline__strip {
  display: flex;
  align-items: center;
  gap: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
  height: 100%;
}

/* Dashed connector between cards */
.impl-connector {
  width: 48px;
  height: 3px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.impl-connector__line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--c-gris-300) 0, var(--c-gris-300) 6px, transparent 6px, transparent 12px);
  background-size: 12px 1px;
  animation: marchConnector 0.4s linear infinite;
  box-shadow: 0 -1px 0 #fff, 0 1px 0 #fff;
}

.impl-connector__line::before,
.impl-connector__line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gris-300);
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px #fff;
}

.impl-connector__line::before { left: -2px; }
.impl-connector__line::after  { right: -2px; }

@keyframes marchConnector {
  to { background-position: 12px 0; }
}

/* Phase card */
.impl-card {
  flex-shrink: 0;
  width: 140px;
  background: var(--impl-gradient);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 12px;
  cursor: pointer;
  border: none;
  position: relative;
  scale: 1;
  transition: scale .8s cubic-bezier(.22,1,.36,1), box-shadow .8s ease;
}

.impl-card:hover {
}

.impl-card.is-active {
  scale: 1.12;
  box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 8px 24px rgba(0,0,0,.08);
  z-index: 2;
}

.impl-card.is-done {
}

/* Phase number badge */
.impl-card__badge {
  display: none;
}

.impl-card.is-active .impl-card__badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  z-index: -1;
  pointer-events: auto;
}

/* Circle icon container */
.impl-card__circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--impl-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .5s ease;
}

.impl-card.is-active .impl-card__circle,
.impl-card.is-done .impl-card__circle {
  background: var(--impl-gradient);
}

.impl-card__icon {
  font-size: 22px;
  line-height: 1;
  color: #fff;
  transition: color .4s ease;
}

.impl-card.is-active .impl-card__icon {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.impl-card.is-done .impl-card__icon {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

/* Card label */
.impl-card__label {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  letter-spacing: -0.24px;
  line-height: 1.25;
  transition: color .4s ease;
}

.impl-card.is-done .impl-card__label {
  color: #fff;
}

/* Caption */
.impl-caption {
  text-align: center;
  padding: 0 24px;
  min-height: 56px;
}

.impl-caption__title {
  font-family: 'Geist', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--c-negro);
  margin-bottom: 8px;
  transition: opacity .3s ease;
}

.impl-caption__desc {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-negro);
  opacity: 0.65;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto;
  min-height: calc(1.5em * 3);
  transition: opacity .3s ease;
}

.impl-caption--exit .impl-caption__title,
.impl-caption--exit .impl-caption__desc {
  opacity: 0;
}

.impl-caption--enter .impl-caption__title,
.impl-caption--enter .impl-caption__desc {
  opacity: 0;
}

/* Dots */
.impl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding-bottom: 24px;
}

.impl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-negro);
  opacity: 0.15;
  transition: all .4s ease;
  cursor: pointer;
}

.impl-dot.active {
  width: 20px;
  border-radius: 3px;
  opacity: 1;
  background: var(--c-negro);
}

/* Entrance — caption & dots fade in */
.impl-caption,
.impl-dots {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease .4s, transform .5s ease .4s;
}

.impl-timeline.entered .impl-caption,
.impl-timeline.entered .impl-dots {
  opacity: 1;
  transform: translateY(0);
}

/* Entrance — cards start hidden, fade in on .entered */
.impl-timeline__strip .impl-card {
  opacity: 0;
  transform: translateY(20px);
}

.impl-timeline.entered .impl-timeline__strip .impl-card {
  opacity: 1;
  transform: translateY(0);
  animation: implWave 2s ease-out;
}

.impl-timeline.entered .impl-timeline__strip .impl-card.is-active {
  scale: 1.12;
}

/* After wave finishes, cards go to clean state */
.impl-timeline.wave-done .impl-timeline__strip .impl-card {
  animation: none;
}

@keyframes implWave {
  0%   { transform: translateY(30px); opacity: 0; }
  30%  { transform: translateY(-6px); opacity: 1; }
  55%  { transform: translateY(2px); }
  75%  { transform: translateY(0); }
  100% { transform: translateY(0); opacity: 1; }
}

/* Stagger entrance */
.impl-card:nth-child(1)  { animation-delay: .0s !important; }
.impl-card:nth-child(3)  { animation-delay: .1s !important; }
.impl-card:nth-child(5)  { animation-delay: .2s !important; }
.impl-card:nth-child(7)  { animation-delay: .3s !important; }
.impl-card:nth-child(9)  { animation-delay: .4s !important; }
.impl-card:nth-child(11) { animation-delay: .5s !important; }
.impl-card:nth-child(13) { animation-delay: .6s !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. CASES / CASOS — Carousel
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cases-v2 {
  text-align: center;
  overflow: hidden;
  padding-top: 0 !important;
}

.cases-v2 > h2 {
  margin-bottom: 40px;
}

/* Carousel wrapper */
.cases-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  margin: -40px 0;
}

.cases-carousel__track {
  display: flex;
  gap: 16px;
  will-change: transform;
}

/* Each slide */
.cases-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.cases-carousel__slide .case-card-v2 {
  transition: transform .5s cubic-bezier(.4,0,.2,1), box-shadow .5s cubic-bezier(.4,0,.2,1);
  transform: scale(0.94);
}
.cases-carousel__slide.is-active .case-card-v2 {
  transform: scale(1);
  box-shadow: none;
}

/* Testimonial card — suite style */
.case-card-v2 {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* Image area — contained like suite-card__iso */
.case-card-v2__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  margin: 12px;
  margin-bottom: 0;
  width: calc(100% - 24px);
  background: var(--c-off-white);
}

.case-card-v2__img-wrap img:first-child {
  transition: transform 0.6s ease;
}

.case-card-v2:hover .case-card-v2__img-wrap img:first-child {
  transform: scale(1.05);
}

.case-card-v2__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Content area below image */
.case-card-v2__body {
  padding: 20px 24px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-card-v2__header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-card-v2__client {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.72px;
  line-height: 1.25;
  color: var(--c-negro);
  margin: 0;
}

.case-card-v2__person {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.36px;
  line-height: 1.3;
  color: var(--c-negro);
  opacity: 0.5;
}

.case-card-v2__desc {
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: var(--c-negro);
  letter-spacing: -0.42px;
  line-height: 1.55;
  opacity: 0.6;
  margin: 0;
}

.case-card-v2__desc::before {
  content: '\201C';
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 0;
  vertical-align: -6px;
  margin-right: 2px;
  opacity: 0.3;
}

.case-card-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
  line-height: 1;
  color: var(--c-negro);
  background: none;
  border: none;
  padding: 12px 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: 4px;
}

.case-card-v2__cta:hover {
  opacity: 0.6;
}

/* Slider navigation */
.cases-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.cases-nav__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cases-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--c-gris-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .4s cubic-bezier(.4,0,.2,1), background .4s cubic-bezier(.4,0,.2,1);
}

.cases-nav__dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--c-negro);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. INTEGRATIONS ECOSYSTEM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eco-section {
  background: var(--c-off-white);
  color: var(--c-negro);
  padding: 64px 20px !important;
}



.eco-section__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}

.eco-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eco-section h2 {
  color: var(--c-negro);
  transition: color .6s ease;
  max-width: 589px;
}

#home2 .eco-section h2 {
  color: var(--c-negro);
  transition: color .6s ease;
}



.eco-section__eyebrow svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* O2/Regular — Geist Mono */
.eco-section__eyebrow span {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.12px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-negro);
  transition: color .6s ease;
}



.eco-section__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Blue geometric shapes */
.eco-shapes {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(175deg, var(--c-negro) 5%, #1e408a 20%, var(--c-azul) 45%, #eff4ff 96%);
}

.eco-shapes__layer {
  position: absolute;
  border-radius: 4px;
  background: linear-gradient(175deg, rgba(10,10,10,0.15) 0%, rgba(37,99,235,0.25) 45%, rgba(239,244,255,0.15) 100%);
  box-shadow: inset 2.9px 23px 26px 0 rgba(247,246,240,0.12);
}

.eco-shapes__layer--1 {
  inset: -3% -1% -3% -1%;
  background: linear-gradient(175deg, rgba(10,10,10,0.12) 0%, rgba(37,99,235,0.2) 45%, rgba(239,244,255,0.12) 100%);
}

.eco-shapes__layer--2 {
  top: -3.5%;
  left: -1.2%;
  width: 100%;
  height: 97.5%;
  background: linear-gradient(175deg, rgba(10,10,10,0.12) 0%, rgba(37,99,235,0.2) 45%, rgba(239,244,255,0.12) 100%);
  box-shadow: inset 2.9px 23px 26px 0 rgba(247,246,240,0.12);
}

.eco-shapes__layer--3 {
  top: 13.2%;
  left: 13.6%;
  width: 89%;
  height: 82.7%;
  background: linear-gradient(175deg, rgba(10,10,10,0.12) 0%, rgba(37,99,235,0.2) 45%, rgba(239,244,255,0.12) 100%);
  box-shadow: inset 2.9px 23px 26px 0 rgba(247,246,240,0.12);
}

.eco-shapes__layer--4 {
  top: 30.5%;
  left: 28.8%;
  width: 78%;
  height: 67.9%;
  background: linear-gradient(175deg, rgba(10,10,10,0.12) 0%, rgba(37,99,235,0.2) 45%, rgba(239,244,255,0.12) 100%);
  box-shadow: inset 2.9px 23px 26px 0 rgba(247,246,240,0.12);
}

.eco-shapes__layer--5 {
  top: 47.8%;
  left: 44.1%;
  width: 67%;
  height: 53%;
  background: linear-gradient(175deg, rgba(10,10,10,0.12) 0%, rgba(37,99,235,0.2) 45%, rgba(239,244,255,0.12) 100%);
  box-shadow: inset 2.9px 23px 26px 0 rgba(247,246,240,0.12);
}

.eco-shapes__layer--6 {
  top: 65%;
  left: 59.3%;
  width: 56%;
  height: 38.3%;
  background: linear-gradient(175deg, rgba(10,10,10,0.12) 0%, rgba(37,99,235,0.2) 45%, rgba(239,244,255,0.12) 100%);
  box-shadow: inset 2.9px 23px 26px 0 rgba(247,246,240,0.12);
}

.eco-shapes__logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}

.eco-shapes__logo.visible {
  opacity: 1;
}

.eco-logo__circle-outer,
.eco-logo__circle-inner,
.eco-logo__mark {
  transform-origin: center;
  transform-box: fill-box;
}

.eco-logo__circle-outer {
  transform: scale(0);
  opacity: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .5s ease;
}

.eco-logo__circle-inner {
  transform: scale(0);
  opacity: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1) .15s, opacity .5s ease .15s;
}

.eco-logo__mark {
  opacity: 0;
  filter: blur(8px);
  transition: opacity .4s ease .35s, filter .4s ease .35s;
}

.eco-shapes__logo.visible .eco-logo__circle-outer {
  transform: scale(1);
  opacity: 1;
}

.eco-shapes__logo.visible .eco-logo__circle-inner {
  transform: scale(1);
  opacity: 1;
}

.eco-shapes__logo.visible .eco-logo__mark {
  opacity: 1;
  filter: blur(0);
}

/* Eco logo glow flash */
.eco-logo-glow {
  position: absolute;
  top: 24.5%;
  left: 50%;
  transform: translate(-50%, 0) rotate(-2.15deg);
  width: 136px;
  height: 136px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.eco-logo-glow::before,
.eco-logo-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  background: conic-gradient(
    from var(--gradient-angle),
    rgba(255,255,255,0) 0deg,
    rgba(255,255,255,0) 50deg,
    rgba(255,255,255,1) 120deg,
    rgba(255,255,255,0) 190deg,
    rgba(255,255,255,0) 230deg,
    rgba(255,255,255,1) 300deg,
    rgba(255,255,255,0) 360deg
  );
  animation: borderSpin 2s linear infinite, ecoGlowOnce 0.4s ease-out forwards;
  pointer-events: none;
  opacity: 0;
}

@keyframes ecoGlowOnce {
  0%   { opacity: 0; }
  35%  { opacity: 0.45; }
  100% { opacity: 0; }
}

.eco-logo-glow::before {
  inset: -2px;
  padding: 2px;
  -webkit-mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
  mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
}

.eco-logo-glow::after {
  inset: -8px;
  filter: blur(10px);
  animation-delay: 0s, 0.05s;
}

/* Only animate once logo is visible */
.eco-logo-glow:not(.visible)::before,
.eco-logo-glow:not(.visible)::after {
  animation: none;
  opacity: 0;
}

/* Detail rows */
.eco-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.eco-detail {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.eco-detail__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* H4/Regular — 32/125 */
.eco-detail__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.96px;
  line-height: 1.25;
  color: var(--c-negro);
  transition: color .6s ease;
}

#home2 .eco-detail__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.96px;
}



/* B1/Regular */
.eco-detail__desc {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.54px;
  line-height: 1.5;
  color: var(--c-negro);
  opacity: .8;
  transition: color .6s ease, opacity .6s ease;
}



/* Link — text with arrow */
.eco-detail__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  color: var(--c-negro);
  border-radius: 0;
  border: none;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
  align-self: flex-start;
}



.eco-detail__btn:hover {
  opacity: .6;
}

.eco-detail__btn i {
  font-size: 14px;
  transition: transform .2s;
}

.eco-detail__btn:hover i {
  transform: translateX(3px);
}

.eco-detail__divider {
  width: 100%;
  height: 1px;
  background: var(--c-neutral-100);
  transition: background .6s ease;
}

.eco-ai-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.eco-ai-logos img {
  height: 12px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.45;
}
.eco-ai-logos img:nth-child(1) { height: 24px; padding-right: 8px; } /* OpenAI */
.eco-ai-logos img:nth-child(3) { height: 23px; padding-left: 6px; } /* Google */



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. WE REPLACE / REEMPLAZAMOS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Replace section — normal flow, interactive */
.replace-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  overflow: hidden;
  padding: 80px 20px !important;
  background: var(--c-off-white);
}



/* Section text — negro */
.replace-section__eyebrow,
#home2 .replace-section__header h2,
.replace-section__header p {
  color: var(--c-negro);
}

.replace-section__eyebrow svg polygon {
  fill: var(--c-azul);
}

.replace-section__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.replace-section__desc {
  font-size: clamp(1rem, 0.956rem + 0.19vw, 1.125rem);
  font-weight: 400;
  letter-spacing: -0.48px;
  line-height: 1.5;
  max-width: 680px;
  opacity: 0.85;
}

.replace-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  line-height: 1.1;
}

.replace-section__header h2 {
  font-size: var(--step-5);
  font-weight: 400;
  letter-spacing: -0.96px;
  line-height: 1.25;
}

/* Glass container — no card, just wrapper */
.crm-glass {
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: 380px;
  width: 100%;
  padding: 0;
  filter: none;
  overflow: visible;
  position: relative;
}

/* Inner wrapper */
.crm-glass__inner {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  position: relative;
  padding: 0;
}

/* Grid */
.crm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 8px;
  justify-items: center;
  position: relative;
}

/* Single large Prolibu logo behind grid — hidden until all apps removed */
.crm-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 80%;
  height: 80%;
  background: url('/assets/images/logos/prolibu/logo-symbol.svg') center/contain no-repeat;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, filter 0.4s ease-out;
  filter: blur(8px);
}
.crm-grid.all-removed::before {
  opacity: 0.16;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}

/* Shine sweep after logo appears */
.crm-grid::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.5) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.crm-grid.all-removed::after {
  animation: logo-shine 0.5s 0.25s ease-out forwards;
}
@keyframes logo-shine {
  0%   { opacity: 1; background-position: 100% 0; }
  100% { opacity: 0; background-position: -100% 0; }
}

/* Single app icon — always jiggling */
.crm-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}
.crm-grid.is-visible .crm-app {
  /* JS sets inline styles */
}

/* Entrance wrapper — JS wraps each app in this */
.crm-app-entrance {
  will-change: transform, opacity;
}

.crm-app__icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #1F1C1B;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

/* Checkmark pseudo — hidden until removed */
.crm-app__icon-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%) scale(0);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4.5 4.5L19 7' stroke='rgba(31,28,27,0.35)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease 0.35s, transform 0.3s ease 0.35s;
}

/* Marching-ants dashed border — container for inline SVG injected by JS */
.crm-app__icon-wrap::after {
  display: none;
}
.crm-app__march-svg {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.crm-app--removed .crm-app__march-svg {
  opacity: 1;
}
.crm-grid.all-removed .crm-app__march-svg {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.crm-app__icon-wrap img {
  width: 45%;
  height: 45%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.crm-app__label {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: 1.2;
  color: #1F1C1B;
  text-align: center;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* Delete X button */
.crm-app__delete {
  position: absolute;
  top: -6px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff3b30;
  border: 2px solid var(--c-blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
  cursor: pointer;
  pointer-events: none;
}

.crm-app__delete::before,
.crm-app__delete::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
}
.crm-app__delete::before { transform: rotate(45deg); }
.crm-app__delete::after  { transform: rotate(-45deg); }

/* Jiggle state — delete buttons visible + shake */
.crm-grid.is-jiggling .crm-app__delete {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.crm-grid.is-jiggling .crm-app:not(.crm-app--removed) {
  animation: ios-shake 1s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}

.crm-grid.is-jiggling .crm-app:nth-child(2n) { animation-delay: -0.3s; }
.crm-grid.is-jiggling .crm-app:nth-child(3n) { animation-delay: -0.6s; }

@keyframes ios-shake {
  10%  { transform: translate(1px, 1px) rotate3d(0, 0, 1, 2deg); }
  20%  { transform: translate(0px, 0px) rotate3d(0, 0, 1, -2deg); }
  30%  { transform: translate(-1px, -1px) rotate3d(0, 0, 1, 2deg); }
  40%  { transform: translate(0px, 0px) rotate3d(0, 0, 1, -2deg); }
  50%  { transform: translate(1px, 1px) rotate3d(0, 0, 1, 2deg); }
  60%  { transform: translate(1px, 0px) rotate3d(0, 0, 1, -2deg); }
  70%  { transform: translate(0px, 0px) rotate3d(0, 0, 1, 2deg); }
  80%  { transform: translate(0px, 1px) rotate3d(0, 0, 1, -2deg); }
  90%  { transform: translate(1px, 1px) rotate3d(0, 0, 1, 2deg); }
}

/* Removing animation */
.crm-app--removing .crm-app__icon-wrap {
  transform: scale(0) !important;
  opacity: 0 !important;
}
.crm-app--removing .crm-app__label {
  opacity: 0 !important;
}
.crm-app--removing .crm-app__delete {
  opacity: 0 !important;
  transform: scale(0) !important;
}

/* Savings amount behind icon */
.crm-app__savings {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-negro);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  text-shadow: none;
}

/* Removed — hide app, reveal dashed placeholder with check */
.crm-app--removed {
  animation: none !important;
}
.crm-app--removed .crm-app__icon-wrap {
  background: transparent;
  box-shadow: none !important;
  transform: scale(1);
  opacity: 1;
  border: 2px solid transparent;
  overflow: visible;
}
.crm-app--removed .crm-app__icon-wrap::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.crm-app--removed .crm-app__icon-wrap img { opacity: 0; transform: scale(0); }
.crm-app--removed .crm-app__label { opacity: 0; }
.crm-app--removed .crm-app__delete { display: none; }
.crm-app--removed .crm-app__savings {
  opacity: 0;
  transform: scale(0.5);
}

/* When all apps removed — hide checks, show logo */
.crm-grid.all-removed .crm-app--removed .crm-app__icon-wrap::before {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Transitions for smooth remove */
.crm-app .crm-app__icon-wrap {
  transition: background 0.35s ease, box-shadow 0.35s ease, border 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
}
.crm-app .crm-app__icon-wrap img {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.crm-app .crm-app__label {
  transition: opacity 0.35s ease;
}
.crm-app .crm-app__delete {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Total savings counter */
.replace-section__savings {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.4;
  color: var(--c-negro);
  opacity: 0.65;
  text-align: center;
  transition: opacity 0.3s ease;
  min-height: 20px;
}
.replace-section__savings strong {
  font-weight: 600;
  color: var(--c-negro);
  font-size: 16px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. FAQ
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.faq-v2 {
  background: var(--c-off-white);
  padding: 64px 20px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-v2__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  text-align: center;
}

.faq-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  line-height: 1.1;
  color: var(--c-negro);
}

/* H4/Regular */
.faq-v2__header h2 {
  font-size: var(--step-5);
  font-weight: 400;
  letter-spacing: -0.96px;
  line-height: 1.25;
}

.faq-v2__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.faq-v2__item {
  background: var(--c-blanco);
  border-radius: 12px;
  overflow: hidden;
}

.faq-v2__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Geist', sans-serif;
  gap: 16px;
}

/* B2/Regular */
.faq-v2__text {
  flex: 1;
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--c-negro);
  letter-spacing: -0.48px;
  line-height: 1.25;
}

.faq-v2__icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--c-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.faq-v2__icon::before,
.faq-v2__icon::after {
  content: '';
  position: absolute;
  background: var(--c-negro);
  border-radius: 1px;
}

.faq-v2__icon::before {
  width: 14px;
  height: 1.25px;
}

.faq-v2__icon::after {
  width: 1.25px;
  height: 14px;
  transition: transform .25s ease, opacity .25s ease;
}

.faq-v2__item.open .faq-v2__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.faq-v2__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 16px;
}

.faq-v2__item.open .faq-v2__answer {
  max-height: 600px;
  padding: 0 16px 16px;
}

/* B3/Regular */
.faq-v2__answer p {
  font-size: clamp(0.8rem, 0.74rem + 0.26vw, 0.95rem);
  font-weight: 400;
  color: #1F1C1B;
  letter-spacing: -0.42px;
  line-height: 1.5;
}

/* FAQ collapse / expand */
.faq-v2__item--extra {
  display: none;
}
.faq-v2--expanded .faq-v2__item--extra {
  display: block;
}
.faq-v2__more-wrap {
  position: relative;
  width: 100%;
  max-width: 1144px;
  margin-left: 50px;
  text-align: left;
  margin-top: 16px;
}
.faq-v2__fade {
  display: none;
}
.faq-v2--expanded .faq-v2__more-wrap {
  display: none;
}
.faq-v2__show-more {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-negro);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  letter-spacing: -0.3px;
  text-decoration: underline;
}
.faq-v2__show-more:hover {
  text-decoration: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. MIGRATION CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.migrate-cta {
  background: var(--c-off-white);
  padding: 32px 20px 80px !important;
}

.migrate-cta__card {
  position: relative;
  background: var(--c-blanco);
  border: 1.5px solid rgba(31, 28, 27, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 60px 20px;
}

/* Dot grid background */
.migrate-cta__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.migrate-cta__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Blue glow shapes */
.migrate-cta__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.migrate-cta__glow-strip {
  position: absolute;
  border-radius: 160px;
  background: linear-gradient(180deg, var(--c-off-white) 4%, #2563eb 46%, var(--c-off-white) 88%);
  filter: blur(50px);
}

/* Top-right cluster */
.migrate-cta__glow-strip--1 {
  width: 300px;
  height: 1500px;
  top: -550px;
  right: -80px;
  transform: rotate(5deg);
  opacity: 0.45;
}

.migrate-cta__glow-strip--2 {
  width: 260px;
  height: 1400px;
  top: -500px;
  right: 12%;
  transform: rotate(4deg) scaleY(-1);
  opacity: 0.35;
}

.migrate-cta__glow-strip--3 {
  width: 240px;
  height: 1400px;
  top: -450px;
  right: 28%;
  transform: rotate(-5deg);
  opacity: 0.25;
}

/* Bottom-left cluster */
.migrate-cta__glow-strip--4 {
  width: 300px;
  height: 1500px;
  bottom: -550px;
  left: -80px;
  transform: rotate(-5deg);
  opacity: 0.45;
}

.migrate-cta__glow-strip--5 {
  width: 260px;
  height: 1400px;
  bottom: -500px;
  left: 12%;
  transform: rotate(4deg) scaleY(-1);
  opacity: 0.35;
}

/* Bottom fade */
.migrate-cta__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(244,244,244,0) 11%, #f4f4f4 56%);
  z-index: 2;
  pointer-events: none;
}

/* CTA content */
.migrate-cta__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* H2/Regular — line-height 1.1 per Figma */
#home2 .migrate-cta__content h2 {
  font-size: var(--step-5);
  font-weight: 400;
  letter-spacing: -0.96px;
  line-height: 1.1;
  max-width: 900px;
  margin: 0;
  color: var(--c-blanco);
}

/* Growing black highlight bar */
.migrate-cta__highlight {
  position: relative;
  isolation: isolate;
  display: inline;
  padding: 4px 10px;
  margin-left: -10px;
  transition: color 0.35s ease;
}

/* Fixed-width counter to prevent layout jumps */
[data-count-target] {
  display: inline-block;
  width: 1.25em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.migrate-cta__highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-negro);
  transform: scaleX(var(--bar, 0));
  transform-origin: left center;
  z-index: -1;
}

/* B1/Regular */
.migrate-cta__content p {
  font-size: clamp(1rem, 0.956rem + 0.19vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.48px;
  line-height: 1.5;
  max-width: 480px;
  margin: 0;
}

/* Btn3/Regular — dark pill */
.migrate-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--c-negro);
  color: var(--c-blanco);
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.42px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
  margin-top: 35px;
  text-decoration: none;
}

.migrate-cta__btn:hover {
  opacity: 0.85;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE (< 768px) — proportional reductions
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 767px) {
  /* iOS WebKit compositor gap fix — overlap all sections by 1px */
  #home2 > .hero-v2 ~ * {
    margin-bottom: -1px;
    padding-bottom: 1px;
  }

  /* Hero h1: 36px → 26px (72% of desktop min) */
  .hero-v2 h1 {
    font-size: clamp(1.625rem, 5.5vw, 2.25rem);
  }

  /* Section h2s: 32px → 24px (75% of desktop min) */
  #home2 h2 {
    font-size: var(--step-4);
  }

  .replace-section__header h2 {
    font-size: var(--step-4);
  }

  .crm-app__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .crm-grid {
    gap: 14px 6px;
  }

  .crm-app__label {
    font-size: 9px;
  }

  .faq-v2__header h2 {
    font-size: var(--step-4);
  }

  #home2 .migrate-cta__content h2 {
    font-size: var(--step-4);
  }

  .migrate-cta__subtitle {
    display: block;
    margin-top: 8px;
  }

  /* Card titles: 32px → 22px (69% of desktop) */
  #home2 .suite-card h3 {
    font-size: 22px;
    letter-spacing: -0.66px;
  }

  /* Suite section mobile */
  .suite-s-paths {
    display: none;
  }

  .suite-card__iso::before {
    display: none;
  }

  .suite-card__visual {
    display: contents;
  }

  .suite-card__link,
  .suite-card:hover .suite-card__link {
    position: static;
    transform: none;
    opacity: 1;
    filter: none;
    pointer-events: auto;
    margin-bottom: 16px;
    align-self: flex-start;
    order: 1;
  }

  .suite-card__iso {
    order: 2;
  }

  #home2 .why-card__title {
    font-size: 22px;
    letter-spacing: -0.66px;
  }

  .eco-detail__title,
  #home2 .eco-detail__title {
    font-size: 22px;
    letter-spacing: -0.66px;
  }

  /* Logo strip mobile */
  .logo-strip__track img {
    height: 40px;
  }

  .logo-strip {
    z-index: 2;
    margin-bottom: -1px;
  }

  .logo-strip__track {
    gap: 32px;
  }

  /* Why cards — normal flow on mobile (no stacking) */
  .why-cards__list {
    height: auto;
    position: static;
  }

  .why-cards {
    padding-bottom: 24px !important;
  }

  .why-cards__sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  .why-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 16px;
  }

  .why-card:nth-child(1),
  .why-card:nth-child(2),
  .why-card:nth-child(3) {
    transform: none !important;
    opacity: 1 !important;
  }

  .why-card__text {
    padding: 28px 24px 20px;
    flex-shrink: 0;
  }

  .why-card__image {
    aspect-ratio: auto;
    padding: 20px !important;
    padding-top: 20px !important;
    margin: 0 12px 12px;
    overflow: hidden;
  }

  .why-card__image svg {
    max-width: 100%;
    height: auto;
  }

  .why-card__visual {
    gap: 24px;
  }

  .why-card__visual > svg {
    max-width: 220px;
    margin: 0 auto;
  }

  /* Price chart mobile */
  .price-chart {
    padding: 24px 16px;
  }

  .price-chart__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .price-chart__label {
    width: 64px;
    font-size: 11px;
  }

  .price-chart__bar {
    height: 32px;
    padding-right: 10px;
  }

  .price-chart__price {
    font-size: 11px;
  }

  .price-chart__savings-label {
    font-size: 15px;
  }

  .price-chart__savings-value {
    font-size: 36px;
    gap: 8px;
    flex-direction: row;
    align-items: baseline;
  }

  .price-chart__savings-pct {
    font-size: 13px;
  }

  .price-chart__rows {
    margin-bottom: 24px;
  }

  .why-card__image .price-chart {
    padding: 20px 24px;
  }

  .why-card__image:has(.price-chart) {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 0 32px 32px;
    background: var(--c-blanco);
  }

  /* Hide buttons on mobile for card 2 & 3, close gap */
  .why-card:nth-child(2) .why-card__btn,
  .why-card:nth-child(3) .why-card__btn {
    display: none;
  }
  .why-card:nth-child(2) .why-card__desc,
  .why-card:nth-child(3) .why-card__desc {
    margin-bottom: 0;
  }

  /* Extra bottom padding for price chart */
  .price-chart__savings {
    padding-bottom: 16px;
  }

  /* ── Implementation Timeline (Card 3) mobile ── */
  .why-card__image:has(.impl-timeline) {
    padding: 12px !important;
    margin: 0 12px 12px !important;
    border-radius: 16px;
    overflow: hidden;
    background: #F7F6F0;
  }

  .impl-timeline__viewport {
    min-height: 200px;
  }

  .impl-card {
    width: 100px;
    padding: 16px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .impl-card__circle {
    width: 40px;
    height: 40px;
  }

  .impl-card__icon {
    font-size: 18px;
  }

  .impl-card__label {
    font-size: 10px;
  }

  .impl-card__badge {
    font-size: 9px;
    padding: 2px 6px;
    top: -22px;
  }

  .impl-connector {
    width: 28px;
  }

  .impl-caption {
    padding: 0 20px;
    min-height: 48px;
  }

  .impl-caption__title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .impl-caption__desc {
    font-size: 13px;
  }

  .impl-dots {
    margin-top: 12px;
    padding-bottom: 16px;
  }

  /* Body text: 18px → 15px (83% of desktop) */
  .why-card__desc {
    font-size: 15px;
    letter-spacing: -0.45px;
  }

  .eco-detail__desc {
    font-size: 15px;
    letter-spacing: -0.45px;
  }

  /* Cases section mobile */
  .cases-carousel {
    padding: 0;
    margin: 0;
  }

  .cases-carousel__slide .case-card-v2 {
    transform: none;
  }

  .cases-carousel__slide.is-active .case-card-v2 {
    transform: none;
  }

  .case-card-v2__img-wrap {
    margin: 0;
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
  }

  .case-card-v2__body {
    padding: 16px 4px 20px;
  }

  .case-card-v2__client {
    font-size: 20px;
  }

  .case-card-v2__desc {
    font-size: 14px;
  }

  .cases-nav {
    margin-top: 16px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DESKTOP (≥ 768px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 768px) {
  #home2 section {
    padding: 100px 64px;
  }

  /* D4/Regular */
  #home2 h2 {
    font-weight: 400;
    letter-spacing: -1.44px;
    line-height: 1.25;
  }

  /* Hero */
  .hero-v2 {
    min-height: 100vh;
    min-height: 100svh;
    padding: 120px 64px 60px !important;
  }

  /* H1/Regular */
  .hero-v2 h1 {
    font-weight: 400;
    letter-spacing: -1.92px;
    line-height: 1.1;
    max-width: 1100px;
  }

  .hero-v2__ctas {
    flex-direction: row;
    max-width: none;
    width: auto;
  }

  /* Logo strip */
  .logo-strip {
    padding: 0 0 !important;
  }

  .logo-strip__stats {
    font-size: 16px;
    padding: 56px 64px 36px;
  }

  .logo-strip__logos {
    gap: 48px 64px;
  }

  .logo-strip__track img {
    height: 70px;
  }

  /* Suite cards */
  .suite-section {
    padding: 100px 64px !important;
    overflow: visible;
  }

  .suite-cards {
    align-items: center;
  }

  .suite-card {
    padding: 32px 28px;
    max-width: 560px;
    width: 100%;
  }

  .suite-connector__line {
    height: 80px;
  }



  /* Why Cards */
  .why-cards {
    padding: 100px 64px !important;
  }

  .why-card {
    flex-direction: row;
    border-radius: 48px;
    min-height: min(680px, 75svh);
    max-height: calc(88svh - 40px);
  }

  .why-card:nth-child(2) { max-height: calc(88svh - 60px); }
  .why-card:nth-child(3) { max-height: calc(88svh - 80px); }
  .why-card:nth-child(4) { max-height: calc(88svh - 100px); }

  .why-card__text {
    flex: 1;
    padding: 80px;
  }

  .why-card__image {
    flex: 0 0 50%;
    padding: 24px 32px;
    margin: 16px;
    border-radius: 24px;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .why-card__image .why-card__visual {
    flex: 1;
    min-height: 0;
    gap: 24px;
    justify-content: center;
  }

  .why-card__image .flower-svg {
    flex: 1 1 0;
    min-height: 0;
    max-width: 320px;
    max-height: 320px;
    width: 100%;
  }

  .why-card__image .why-card__caption,
  .why-card__image .flower-dots {
    flex-shrink: 0;
  }

  .why-card__image img {
    max-width: 100%;
  }

  .why-card__visual > img {
    max-width: 340px;
  }

  .why-card__title {
    letter-spacing: -0.96px;
  }

  /* Cases */
  .cases-v2 {
    padding: 100px 0 !important;
  }

  .cases-v2 > h2 {
    margin-bottom: 64px;
  }

  .cases-carousel__slide {
    flex: 0 0 50.66%;
  }

  /* Ecosystem */
  .eco-section {
    padding: 100px 64px !important;
  }

  .eco-section__body {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .eco-shapes {
    flex: 0 0 40%;
    width: 40%;
    aspect-ratio: 1 / 1;
  }

  .eco-details {
    flex: 0 0 55%;
  }

  /* Replace */
  .replace-section {
    padding: 100px 64px !important;
  }

  .crm-app__savings {
    width: 72px;
    height: 72px;
    font-size: 14px;
  }

  .replace-section__header h2 {
    letter-spacing: -1.44px;
  }

  .crm-glass {
    max-width: 520px;
  }

  .crm-glass__inner {
    padding: 0;
  }

  .crm-app__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .crm-grid {
    gap: 24px 16px;
  }

  .crm-app__label {
    font-size: 11px;
    max-width: 80px;
  }

  /* FAQ */
  .faq-v2 {
    padding: 100px 64px !important;
  }

  .faq-v2__header {
    gap: 24px;
    margin-bottom: 56px;
  }

  /* D4/Regular */
  .faq-v2__header h2 {
    font-weight: 400;
    letter-spacing: -1.44px;
    line-height: 1.25;
  }

  .faq-v2__list {
    gap: 12px;
    max-width: 1144px;
  }

  .faq-v2__item {
    border-radius: 16px;
  }

  .faq-v2__question {
    padding: 20px 20px 20px 24px;
  }

  /* S2/Regular */
  .faq-v2__text {
    font-weight: 400;
    letter-spacing: -0.6px;
    line-height: 1.25;
  }

  .faq-v2__icon {
    width: 48px;
    height: 48px;
  }

  .faq-v2__icon::before {
    width: 17px;
  }

  .faq-v2__icon::after {
    height: 17px;
  }

  .faq-v2__answer {
    padding: 0 24px;
  }

  .faq-v2__item.open .faq-v2__answer {
    padding: 0 24px 24px;
  }

  /* B1/Regular */
  .faq-v2__answer p {
    letter-spacing: -0.54px;
    line-height: 1.5;
    max-width: 960px;
  }

  /* Migration */
  .migrate-cta {
    padding: 32px 32px 112px !important;
  }

  .migrate-cta__card {
    min-height: 600px;
    padding: 80px 40px;
  }

  .migrate-cta__glow-strip {
    filter: blur(70px);
  }

  .migrate-cta__glow-strip--1 {
    width: 340px;
    right: -60px;
  }

  .migrate-cta__glow-strip--4 {
    width: 340px;
    left: -60px;
  }

  /* H2/Regular */
  .migrate-cta__content h2 {
    letter-spacing: -1.44px;
    line-height: 1.1;
    max-width: 900px;
  }

  /* B1/Regular */
  .migrate-cta__content p {
    letter-spacing: -0.54px;
    max-width: 633px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LARGE DESKTOP (≥ 1200px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 1200px) {
  #home2 section {
    padding: 120px 120px;
  }

  .hero-v2 {
    padding: 120px 120px 60px !important;
  }

  /* H1/Regular — same token as 768px */
  .hero-v2 h1 {
    font-weight: 400;
    letter-spacing: -1.92px;
    line-height: 1.1;
    max-width: 1100px;
  }

  .logo-strip {
    padding: 56px 120px !important;
  }

  .suite-section {
    padding: 120px !important;
  }

  .suite-card {
    max-width: 640px;
  }

  .why-cards {
    padding: 120px !important;
  }

  .cases-v2 {
    padding: 120px 0 !important;
  }

  .eco-section {
    padding: 120px !important;
  }

  .eco-section__body {
    gap: 64px;
  }

  .replace-section {
    padding: 120px !important;
  }

  .faq-v2 {
    padding: 120px !important;
  }

  .migrate-cta {
    padding: 32px 32px 112px !important;
  }
}

/* Short-viewport price chart */
@media (max-height: 750px) and (min-width: 768px) {
  .price-chart {
    padding: 16px;
  }
  .price-chart__title {
    font-size: var(--step-1);
    margin-bottom: 16px;
  }
  .price-chart__savings-label {
    font-size: var(--step-0);
    white-space: nowrap;
  }
}

