:root {
  --purple-blast: #4736C1;
  --deep-gray: #404041;
  --black-magic: #000000;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--deep-gray);
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background: white;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'THICCCBOI', sans-serif;
}

.nav .logo img {
  height: 48px;
}

.nav .menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav .menu li a {
  position: relative;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: #222;
  padding: 0 0.3rem;
}

.nav .menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #5b37b7; /* Purple Blast */
  transform: skewX(-20deg); /* inclinación estilo cohete */
  transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav .menu li a:hover::after {
  width: 100%;
}

.nav .menu li a:hover {
  color: #5b37b7;
}

.nav .cta {
  background: #5b37b7; /* Purple Blast */
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.nav .cta:hover {
  background: #2b2730; /* Deep Gray */
  box-shadow: 0 8px 20px rgba(43,39,48,0.3);
  transform: translateY(-2px);
}

.nav .menu li a {
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .nav .menu {
    flex-direction: column;
    gap: 1rem;
  }
}


.hero {
  position: relative;
  background: #4736c1;
  padding-top: 7rem;
  padding-bottom: 15rem; /* da espacio real al contenido */
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.hero .hero-logo {
  max-width: 320px;
  margin-bottom: 1rem;
}

.hero h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-btn {
  background: #000000;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}

.hero-btn:hover {
  background: #404041;
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(91, 55, 183, 0.5);
}

/* Curva blanca */
.wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  transform: translateY(11%);
}

/* Estrellas */
.star {
  position: absolute;
  z-index: 2;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: scale(2);
  animation: starEntrance 1s ease-out forwards;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.star-left {
  bottom: 15rem;
  left: 5rem;
  width: 120px;
}

.star-right {
  top: 3rem;
  right: 5rem;
  width: 120px;
}

@keyframes starEntrance {
  to {
    opacity: 1;
  }
}

.star:hover {
  transform: scale(1.2) rotate(8deg);
}

/* Responsive estrellas */
@media (min-width: 768px) {
  .star-left, .star-right {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 12rem;
  }
}

/* ABOUT – BOOST */
.about-section{
  background: #fff;
  padding: min(8vw, 6rem) 2rem;
  margin: 0 auto;
  max-width: 1100px;        /* ancho legible */
  text-align: center;
}

.about-section h2{
  font-family: "THICCCBOI", Poppins, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.1;
  color: var(--purple-blast, #4736C1);
  margin: 0 0 1rem;
}

.about-section p{
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1rem, 0.95rem + .3vw, 1.125rem);
  line-height: 1.75;
  color: var(--deep-gray, #404041);
  max-width: 900px;
  margin: 0 auto;
}

/* pequeño ajuste responsive extra */
@media (max-width: 768px){
  .about-section{ padding: 3.5rem 1.25rem; }
}

/* SERVICES INTRO SECTION */
/* ========= BRAND TOKENS (fallbacks) ========= */
:root{
  --purple-blast: #4736C1;
  --deep-gray: #404041;
  --white: #FFFFFF;
  --card-bg: #FBFBFE;
}

/* ========= SECTION ========= */
.services-intro.v2{
  background: var(--white);
  padding: clamp(3rem, 6vw, 6rem) 2rem;
  text-align: center;
}

.services-intro.v2 h2{
  font-family: "THICCCBOI", Poppins, system-ui, sans-serif;
  font-weight: 800;
  color: var(--purple-blast);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem);
  letter-spacing: .2px;
  margin: 0 0 2.5rem;
}

/* ========= GRID ========= */
.services-intro.v2 .services{
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 980px){
  .services-intro.v2 .services{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .services-intro.v2 .services{ grid-template-columns: 1fr; }
}

/* ========= CARD ========= */
.svc-card{
  position: relative;
  padding: 1.75rem 1.75rem 2rem;
  border-radius: 20px;
  background: var(--card-bg);
  text-align: left;
  box-shadow:
    0 1px 0 rgba(0,0,0,.05),
    0 14px 30px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
  isolation: isolate; /* para el glow */
}

/* Borde degradado sutil */
.svc-card::before{
  content:"";
  position:absolute; inset:0;
  border-radius: 20px;
  padding: 1px; /* grosor del borde */
  background: linear-gradient(135deg,
              rgba(71,54,193,.35), rgba(71,54,193,0) 40%,
              rgba(0,0,0,.06) 70%, rgba(71,54,193,.25));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
}

/* Glow de enfoque/hover */
.svc-card::after{
  content:"";
  position:absolute; inset:auto -20% -35% -20%;
  height: 55%;
  background: radial-gradient(60% 70% at 50% 100%,
              rgba(71,54,193,.18), transparent 70%);
  filter: blur(24px);
  z-index:-1;
  transition: opacity .28s ease, transform .28s ease;
  opacity:.7;
}

/* Hover/focus */
.svc-card:hover,
.svc-card:focus-within{
  transform: translateY(-6px);
  box-shadow:
    0 6px 14px rgba(0,0,0,.06),
    0 22px 44px rgba(0,0,0,.10);
}
.svc-card:hover::after,
.svc-card:focus-within::after{
  opacity:1; transform: translateY(-4px);
}

/* Accesibilidad: respetar reduced motion */
@media (prefers-reduced-motion: reduce){
  .svc-card, .svc-card::after{ transition: none; }
}

/* ========= CARD CONTENT ========= */
.svc-pill{
  display: inline-block;
  font-family: Poppins, system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--purple-blast);
  background: rgba(71,54,193,.10);
  border: 1px solid rgba(71,54,193,.25);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}

.svc-card h3{
  font-family: "THICCCBOI", Poppins, system-ui, sans-serif;
  font-weight: 800;
  color: var(--purple-blast);
  font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem);
  line-height: 1.25;
  margin: 0 0 .75rem;
}

.svc-card p{
  font-family: Poppins, system-ui, sans-serif;
  color: var(--deep-gray);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: .2px;
  margin: 0;
  max-width: 60ch; /* medida óptima de lectura */
}

/* Enfocado por teclado */
.svc-card:focus-within{
  outline: 3px solid rgba(71,54,193,.4);
  outline-offset: 2px;
}

/* SERVICES */
.services {
  text-align: center;
  padding: 4rem 2rem;
}

.services h2 {
  color: var(--purple-blast);
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background: var(--purple-blast);
  color: var(--white);
  padding: 2rem 1.4rem;
  border-radius: 12px;
  width: 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 30px rgba(71, 54, 193, 0.5);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 210px;
  text-align: center;
  margin: 0 auto;
  padding-top: 0.3rem;
}

/* Subtítulo */
.service-subtitle {
  display: inline-block;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* ICON STYLING */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 transparent;
  transition: box-shadow 0.4s ease;
}

.icon-consulting svg {
  width: 60px;
  height: 60px;
}

.icon-viral img {
  width: 125px;
  height: 125px;
}

.icon-automation img {
  width: 200px;
  height: 200px;
}
/* Hover effect general */
.service-card:hover .service-icon {
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
}

.service-card:hover .service-icon img,
.service-card:hover .service-icon svg {
  transform: scale(1.1) rotate(2deg);
}

/* Ajuste fino para Business Automation icon */
.service-card:nth-child(3) .service-icon-img {
  transform: scale(3); /* Puedes ajustar entre 1.2 y 1.35 si quieres más precisión */
}

/* Animaciones específicas */
@keyframes analyticalImpact {
  0%   { transform: scale(1) translateY(0); }
  20%  { transform: scale(1.05, 0.9) translateY(-4px); }
  40%  { transform: scale(0.95, 1.1) translateY(3px); }
  60%  { transform: scale(1.02, 0.98) translateY(-2px); }
  80%  { transform: scale(0.98, 1.02) translateY(1px); }
  100% { transform: scale(1) translateY(0); }
}

@keyframes viralGlow {
  0%   { transform: scale(1) rotate(0deg); opacity: 1; }
  25%  { transform: scale(1.05) rotate(3deg); opacity: 0.9; }
  50%  { transform: scale(1.08) rotate(-3deg); opacity: 1; }
  75%  { transform: scale(1.05) rotate(2deg); opacity: 0.95; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes gearSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Aplicación por tarjeta */
.service-card:nth-child(1) .service-icon svg {
  animation: analyticalImpact 2.8s ease-in-out infinite;
  transform-origin: center;
}

.service-card:nth-child(2) .service-icon img {
  animation: viralGlow 3.5s ease-in-out infinite;
}

.service-card:nth-child(3) .service-icon img {
  animation: gearSpin 4s linear infinite;
  transform-origin: center;
}

/* Responsive */
@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 300px;
  }
}

.modal-service {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-service-content {
  background-color: #fff;
  margin: auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.modal-service-content h3 {
  color: var(--purple-blast);
  margin-bottom: 1rem;
}

.modal-service-content p {
  color: var(--deep-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: var(--purple-blast);
  cursor: pointer;
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-service-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: white;
}

.modal-btn img {
  width: 20px;
  height: 20px;
}

.modal-btn.telegram {
  background-color: #229ED9;
}

.modal-btn.telegram:hover {
  background-color: #1b88ba;
}

.modal-btn.whatsapp {
  background-color: #25D366;
}

.modal-btn.whatsapp:hover {
  background-color: #1ebc58;
}

/* ----------------------------------
   BOOST PLANS con efecto planetario
----------------------------------*/

.boost-plans {
  position: relative;
  background: var(--purple-blast);
  height: 280px;
  overflow: hidden;
  text-align: center;
}

.boost-plans h2 {
  position: relative;
  z-index: 10;
  margin-top: 50px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.planet-layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50% / 100% 100% 0 0;
}

.planet-white {
  top: 100px;
  width: 150%;
  height: 180px;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.planet-gray {
  top: 120px;
  width: 140%;
  height: 170px;
  background: rgba(57, 52, 76, 0.8);
  z-index: 2;
}

.planet-black {
  top: 140px;
  width: 130%;
  height: 160px;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3;
}

.planet-top {
  top: 160px;
  width: 120%;
  height: 150px;
  background: white;
  z-index: 4;
}

/* ----------------------------------
   BOOST PLANS Cards
----------------------------------*/

.plan-cards {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 2rem;
  z-index: 10;
  position: relative;
}

.plan-card {
  width: 90%;
  max-width: 880px;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  color: white;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icono centrado */
.plan-icon {
  font-weight: bold;
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  height: 72px;
  width: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.plan-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.plan-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.plan-card p em {
  font-style: italic;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.plan-price {
  font-size: 1rem;
  margin-top: 1.2rem;
  font-weight: 600;
  color: #FFD369;
}

/* Colores de fondo */
.plan-gray {
  background: var(--deep-gray);
  animation: sparkPulse 2s ease-in-out infinite;
}

.plan-black {
  background: var(--black-magic);
  animation: ignitePulse 2.2s ease-in-out infinite;
}

.plan-purple {
  background: var(--purple-blast);
  animation: pulsePowerGlow 1.8s ease-in-out infinite;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.plan-purple::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 24px;
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0) 0deg,
    rgba(255,255,255,0.15) 90deg,
    rgba(255,255,255,0.3) 180deg,
    rgba(255,255,255,0.15) 270deg,
    rgba(255,255,255,0) 360deg
  );
  z-index: 0;
  animation: spinAura 4s linear infinite;
  pointer-events: none;
  filter: blur(10px);
}

/* Efecto de hover igual para todos */
.plan-card:hover {
  transform: scale(1.03);
  animation: powerBurst 0.6s ease-out;
}

/* Icono vibrante exclusivo de overboost */
.plan-purple .plan-icon img {
  animation: overboostShockwave 3s ease-in-out infinite;
  transform-origin: center;
}

/* Responsive */
@media (max-width: 768px) {
  .plan-card {
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .plan-card h3 {
    font-size: 1.2rem;
  }

  .plan-card p {
    font-size: 0.9rem;
  }

  .plan-price {
    font-size: 0.95rem;
  }
}

/* -----------------------------
   Animaciones
----------------------------- */

@keyframes powerBurst {
  0%   { box-shadow: 0 0 0 rgba(255,255,255,0); }
  50%  { box-shadow: 0 0 60px rgba(255,255,255,0.3), 0 0 100px rgba(91, 55, 183, 0.4); }
  100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
}

@keyframes pulsePowerGlow {
  0%   { box-shadow: 0 0 0 rgba(255,255,255,0); transform: scale(1); }
  50%  { box-shadow: 0 0 30px rgba(255,255,255,0.2), 0 0 60px rgba(255,255,255,0.1); transform: scale(1.01); }
  100% { box-shadow: 0 0 0 rgba(255,255,255,0); transform: scale(1); }
}

@keyframes sparkPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); transform: scale(1); }
  50%      { box-shadow: 0 0 25px rgba(255,255,255,0.15), 0 0 45px rgba(255,255,255,0.1); transform: scale(1.01); }
}

@keyframes ignitePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); transform: scale(1); }
  50%      { box-shadow: 0 0 20px rgba(255,255,255,0.2), 0 0 40px rgba(255,255,255,0.1); transform: scale(1.01); }
}

@keyframes spinAura {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes overboostShockwave {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.1) rotate(2deg); }
  40%      { transform: scale(0.95) rotate(-2deg); }
  60%      { transform: scale(1.08); }
  80%      { transform: scale(1); }
}

:root{
  --purple-blast:#4736C1;
  --deep-gray:#404041;
  --white:#fff;
  --card-bg:#FBFBFE;
}

/* ===== Sección ===== */
.results-stats{
  background: var(--white);
  padding: clamp(3rem, 6vw, 6rem) 2rem;
  text-align: center;
}
.results-stats h2{
  font-family:"THICCCBOI", Poppins, system-ui, sans-serif;
  font-weight:800;
  color:var(--purple-blast);
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem);
  margin:0 0 2.25rem;
}

/* ===== Grid ===== */
.results-stats .results{
  display:grid;
  grid-template-columns: repeat(3, minmax(260px,1fr));
  gap:clamp(1rem, 2vw, 2rem);
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 980px){ .results-stats .results{ grid-template-columns:1fr 1fr; } }
@media (max-width: 640px){ .results-stats .results{ grid-template-columns:1fr; } }

/* ===== Card ===== */
.result-card{
  background:var(--card-bg);
  border-radius:20px;
  padding:2rem 1.75rem 2.25rem;
  text-align:left;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  position:relative;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;
}
.result-card::before{
  content:"";
  position:absolute; inset:0;
  border-radius:20px;
  padding:1px;
  background:linear-gradient(135deg,
              rgba(71,54,193,.5),
              rgba(71,54,193,0) 40%,
              rgba(0,0,0,.06) 70%,
              rgba(71,54,193,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.result-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

/* ===== Valor grande ===== */
.result-value{
  display:block;
  font-family:"THICCCBOI", Poppins, system-ui, sans-serif;
  font-weight:900;
  color:var(--purple-blast);
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  line-height:1;
  margin-bottom:.75rem;
}

/* ===== Descripción ===== */
.result-card p{
  font-family:Poppins, system-ui, sans-serif;
  color:var(--deep-gray);
  font-size:1rem;
  line-height:1.7;
  margin:0 0 1.25rem;
}

/* ===== Barra de progreso ===== */
.progress{
  height:10px;
  background:#EAE8FF;
  border-radius:999px;
  overflow:hidden;
  position:relative;
}
.results-stats .progress .bar{
  display:block;
  height:100%;
  width:0%; /* inicia en 0, JS la anima */
  background: linear-gradient(90deg, #000 0%, var(--purple-blast) 100%); /* Negro → Purple Blast */
  border-radius:inherit;
  transition: width 1.2s ease;
}

/* Respeta reduce-motion */
@media (prefers-reduced-motion: reduce){
  .result-card, .progress .bar{ transition: none !important; }
}


/* Curva entre secciones */
.boost-plans-curve {
  position: relative;
  height: 100px;
  background: var(--white); /* ahora el fondo es blanco, para que se funda con la siguiente sección */
  overflow: hidden;
}

.boost-plans-curve::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 200px;
  background: var(--deep-gray); /* fondo anterior que baja hacia el blanco */
  border-radius: 0 0 50% 50%;
}

/* ANIMACIÓN FADE IN MODAL */
@keyframes fadeInModal {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Aplica animación a modal cuando aparece */
.modal-service.show .modal-service-content {
  animation: fadeInModal 0.35s ease-out forwards;
}

/* BOOST MEDIA */
.boost-media {
  position: relative;
  background: var(--deep-gray);
  padding: 5rem 2rem;
  text-align: center;
}

.boost-media h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 3rem;
  z-index: 10;
  position: relative;
}

.boost-media::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--white);
  border-radius: 0 0 50% 50%;
  z-index: 1;
}

/* GRID */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

/* VIDEO NATIVOS */
.media-grid video {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-grid video:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.media-grid video.vertical {
  width: 220px;
  height: 390px;
  object-fit: cover;
}

.media-grid video.horizontal {
  width: 390px;
  height: 220px;
  object-fit: cover;
}

/* MOCK DE VIDEOS (IG, TIKTOK, YT) */
.vertical {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 320px;
}

.horizontal {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 540px;
}

/* Tarjetas simuladas */
.ig-video {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ig-video img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}
.vertical {
  aspect-ratio: 9 / 16;
  max-width: 320px;
}
.horizontal {
  aspect-ratio: 16 / 9;
  max-width: 540px;
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.5);
  padding: 10px;
  border-radius: 50%;
}
.play-overlay img {
  width: 28px;
  height: 28px;
}
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content,
.modal-content-horizontal {
  position: relative;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(255,255,255,0.2);
}
.modal-content {
  width: 90%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
}
.modal-content-horizontal {
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-content iframe,
.modal-content-horizontal iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .media-grid .vertical,
  .media-grid .horizontal {
    width: 90%;
    height: auto;
  }
}



/* ===== carrusel partners (con logos) ===== */
/* ====== Variables BOOST ====== */
:root{
  --purple-blast:#4736C1;
  --deep-gray:#404041;
  --white:#fff;
  --card-bg:#FBFBFE;
  --ink:#1F1F22;
}

/* ====== Sección ====== */
.partners-section{
  background: var(--deep-gray);
  padding: clamp(3rem, 6vw, 6rem) 2rem;
  text-align: center;
}
.partners-title{
  font-family:"THICCCBOI", Poppins, system-ui, sans-serif;
  font-weight:800;
  color: var(--white);
  letter-spacing: .3px;
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem);
  margin: 0 0 2rem;
}

/* ====== Carrusel (snap nativo) ====== */
.partners-carousel{
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 3rem; /* espacio para flechas */
}

.pc-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3); /* 3 visibles desktop */
  gap: 1rem;

  /* IMPORTANTE: el logo puede sobresalir sin cortarse */
  overflow-x: auto;
  overflow-y: visible;
  /* aire interno para que el logo quede dentro del área scrolleable */
  padding-top: 28px;
  margin-top: -28px;

  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding-bottom: .5rem;
  align-items: stretch;         /* todas las cards misma altura */
  scrollbar-width: none;        /* Firefox */
}
.pc-track::-webkit-scrollbar{ display:none; } /* WebKit */

@media (max-width: 980px){
  .pc-track{ grid-auto-columns: calc((100% - 1rem) / 2); } /* 2 visibles */
}
@media (max-width: 640px){
  .pc-track{ grid-auto-columns: 100%; } /* 1 visible */
}

/* ====== Card base ====== */
.partner-card{
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: 22px;
  padding: 1.25rem 1.25rem 1.6rem; /* base: luego ajustamos en vlogo */
  text-align: left;
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
  border: 1px solid rgba(71,54,193,.10);
  position: relative;
  overflow: visible;            /* el logo puede “morder” el borde */
  transition: transform .25s ease, box-shadow .25s ease;
}
.partner-card::before{
  content:"";
  position:absolute; inset:0;
  border-radius:22px;
  padding:1px;
  background:linear-gradient(135deg,
              rgba(71,54,193,.5),
              rgba(71,54,193,0) 40%,
              rgba(0,0,0,.06) 70%,
              rgba(71,54,193,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.partner-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

/* ====== Diferenciador: stripe + logo flotante ====== */
.partner-card.vlogo{ padding-top: 2.7rem; } /* reserva stripe + logo */

.partner-card.vlogo .partner-stripe{
  position:absolute; inset:0 0 auto 0; height:8px;
  background: linear-gradient(90deg, #000 0%, var(--purple-blast) 100%);
  border-top-left-radius:22px; border-top-right-radius:22px;
  z-index: 0; /* siempre detrás */
}

/* Logo “flotando” que SOBRESALE sin cortarse y con marco */
.partner-card.vlogo .partner-logo{
  position:absolute;
  top:-26px; left: 1.25rem;

  inline-size:64px; block-size:64px;
  border-radius:16px;

  display:grid; place-items:center;
  background:#fff;                  /* fondo sólido para el marco */
  border:2px solid #fff;            /* marco blanco visible */
  outline:1px solid rgba(71,54,193,.25); /* aro sutil brand */
  box-shadow: 0 12px 26px rgba(0,0,0,.18);

  overflow:visible;                 /* NUNCA cortar el logo */
  z-index:3;                        /* sobre stripe y contenido */
  margin:0;
}
.partner-card.vlogo .partner-logo img{
  width:78%; height:78%;
  object-fit:contain; display:block;
  /* quita el filtro si quieres logos a color */
  /* filter: saturate(0) contrast(1.05); */
}

/* ====== Header / Texto ====== */
.partner-head{
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  margin: .15rem 0 .6rem 0;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  z-index: 2; /* contenido sobre stripe; bajo el marco del logo */
}
.partner-badge{
  font-family:Poppins, system-ui, sans-serif;
  font-size:.60rem; font-weight:600;
  color:var(--purple-blast);
  background: rgba(71,54,193,.12);
  border:1px solid rgba(71,54,193,.28);
  padding:.3rem .6rem;
  border-radius:999px;
}

.partner-card strong{
  font-family:"THICCCBOI", Poppins, system-ui, sans-serif;
  font-weight:800;
  color:var(--purple-blast);
  font-size: clamp(1rem, .9rem + .4vw, 1.25rem);
  line-height:1.2;
}
.partner-card p{
  font-family:Poppins, system-ui, sans-serif;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  margin:0;
}

/* ====== Flechas ====== */
.pc-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inline-size: 44px; block-size: 44px;
  border-radius: 999px;
  border: 1px solid rgba(71,54,193,.35);
  background: var(--white);
  color: var(--purple-blast);
  font-size: 22px;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  z-index: 4;
}
.pc-prev{ left: .25rem; }
.pc-next{ right: .25rem; }
.pc-nav:hover{
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  background: #FBFBFE;
}
.pc-nav:focus-visible{
  outline: 3px solid rgba(71,54,193,.45);
  outline-offset: 2px;
}

/* ====== Dots ====== */
.pc-dots{
  display:flex; gap:.5rem; justify-content:center; margin-top:1rem;
}
.pc-dot{
  inline-size: 8px; block-size: 8px;
  border-radius: 999px;
  background: #D6D2FF;
  border: none; padding: 0; cursor: pointer;
  transition: transform .2s ease, background .2s ease, inline-size .2s ease;
}
.pc-dot.active{
  inline-size: 22px; block-size: 8px;
  background: var(--purple-blast);
}

/* ====== Motion ====== */


/* Mejora de rendimiento de la transición */
.partners-carousel .partner-card{
  will-change: opacity, transform;
}

/* Asegura que el estado inicial se dibuja antes de transicionar */
@media (prefers-reduced-motion: no-preference){
  .partners-carousel .partner-card.will-anim{
    opacity: 0;
    transform: translateY(12px);
  }
  .partners-carousel .partner-card.inview{
    opacity: 1;
    transform: translateY(0);
  }
  .partners-carousel .partner-card{
    transition: opacity .6s cubic-bezier(.2,.8,.2,1),
                transform .6s cubic-bezier(.2,.8,.2,1),
                box-shadow .25s ease;
  }

  .partners-carousel .partner-card.vlogo .partner-logo{
    transition: opacity .5s cubic-bezier(.2,.9,.2,1),
                transform .5s cubic-bezier(.2,.9,.2,1);
    opacity: 0;
    transform: translateY(6px) scale(.96);
  }
  .partners-carousel .partner-card.inview .partner-logo{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*footer*/
.footer-wave {
  position: relative;
   background: var(--deep-gray);
}

.wave-inverted {
  display: block;
  bottom: 0;
  width: 100%;
  transform: translateY(11%);
}
/* Footer general */
.footer {
  background: var(--purple-blast);
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Links en dos columnas */
.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.link-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.link-column a {
  color: var(--white);
  margin: 0.3rem 0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.link-column a:hover {
  text-decoration: underline;
}

/* Sección central CTA */
.footer-cta {
  flex: 1 1 100%;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.footer-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-cta p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  opacity: 0.9;
}

.footer-btn {
  background: var(--black-magic, #000);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  background: #2d2d2d;
  transform: translateY(-2px);
}

/* Derecha: logo arriba de redes */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-logo img {
  width: 140px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-socials a img {
  width: 24px;
  transition: transform 0.3s ease;
}

.footer-socials a img:hover {
  transform: scale(1.2);
}

/* Texto final */
.footer-text {
  font-size: 0.85rem;
  color: var(--white);
}

.footer-blue {
  color: #43b3ff;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .link-column {
    align-items: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-cta {
    order: -1; /* Se pone arriba en mobile */
  }
}
