/*AJUSTES*/
.hero-slide-seccion{
	display: flex;
	width: 100%;
	max-width: 1031px;
	    align-items: center;
}
.hero .container{
	padding: 0px !important; 
}

/**/

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.g { color: var(--green); }


/* ============ BOTONES ============ */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; border-radius: 999px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .3px;
  padding: 14px 30px; font-size: .8rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn-sm { padding: 9px 20px; font-size: .68rem; }
.btn-lg { padding: 16px 34px; font-size: .85rem; }
.btn-green { background: var(--green); color: #111; }
.btn-green:hover { box-shadow: 0 10px 34px rgba(125, 255, 0, .45); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 8px 30px rgba(59, 31, 255, .5); }
.btn-purple:hover { box-shadow: 0 12px 44px rgba(59, 31, 255, .8); }

.pulse { animation: pulse 2.8s ease-in-out infinite; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
  padding: 5px 16px; border: 1px solid #fff; border-radius: 999px;
  font-size: .68rem; font-weight: 600; color: var(--green);
  transition: all .3s var(--ease);
}
.btn-outline i { font-size: .55rem; transition: transform .3s; }
.btn-outline:hover { background: var(--green); color: #111; border-color: var(--green); }
.btn-outline:hover i { transform: translateX(4px); }

/* ============ HERO ============ */
.hero {text-align: center; }
.hero-slider { display: grid; align-items: center; color: #fff; }
.hero-slide {
  grid-area: 1 / 1; opacity: 0; transform: translateY(26px); pointer-events: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero-slider p{
	color: #fff !important;
}
.hero-slide.active { opacity: 1; transform: none; pointer-events: auto; }

.hero-title { font-size: clamp(2rem, 6.4vw, 4.5rem); font-weight: 300; letter-spacing: 1px; line-height: 1.1; color: #fff;}
.hero-size-title-2{font-size: 32px;font-weight: 700; color: #fff; }
.hero-title .g {
  font-weight: 600;
  background: linear-gradient(100deg, #7dff00 20%, #d4ff8a 50%, #7dff00 80%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
.hero-sub { margin-top: 16px; font-size: clamp(.85rem, 1.7vw, 1.1rem); color: #fff !important; }

.hero-cta { margin-top: 46px; display: flex; justify-content: center; }
.hero-cta-inner { position: relative; display: inline-block; }
.hand-wrap { position: absolute; left: calc(100% + 34px); top: 16px; width: clamp(90px, 11vw, 130px); transition: transform .2s linear; }
.hand { width: 100%; animation: floatY 5s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 70px; }
.dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid #fff; background: transparent; transition: all .35s var(--ease);
}
.dot.active { background: #83F700; border-color: var(--green); transform: scale(1.15); box-shadow: 0 0 12px rgba(125, 255, 0, .7); }

/* ============ TITULOS / REVEAL ============ */
.section-title { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 700; text-align: center; }

.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: revealUp .9s var(--ease) var(--d, 0s) backwards; }

/* ============ SERVICIOS ============ */
.services { padding: 70px 0 60px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: 34px auto 0; }
.tab {
  border: 0; cursor: pointer; background: #fff; color: #111;
  font-size: .7rem; font-weight: 600; padding: 10px 22px; border-radius: 999px;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.tab:hover { transform: translateY(-3px); }
.tab.active { background: var(--purple); color: #fff; box-shadow: 0 8px 26px rgba(59, 31, 255, .6); }

.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  max-width: 980px; margin: 70px auto 0; transition: opacity .3s, transform .3s;
}
.service.swap { opacity: 0; transform: translateY(12px); }
.service-media img { width: 100%; border-radius: 10px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); transition: transform .6s var(--ease); }
.service-media:hover img { transform: scale(1.04) rotate(-1deg); }

.service-box { position: relative; }
.service-box::before {
  content: ""; position: absolute; top: -26px; right: -26px; left: 24px; bottom: 24px;
  border: 1px solid var(--green); border-radius: 6px; opacity: .8;
  transition: all .5s var(--ease);
}
.service-box:hover::before { top: -16px; right: -16px; }
.service-card {
  position: relative; background: var(--purple); border-radius: 6px;
  padding: 32px 36px; font-size: .95rem; text-align: justify; line-height: 1.6;
  box-shadow: 0 18px 50px rgba(59, 31, 255, .35);
}

/* ============ PROYECTO ============ */
.project { padding: 120px 0 90px; text-align: center; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: start;
  max-width: 980px; margin: 100px auto 80px;
}
.step {
  position: relative; background: rgba(12, 12, 18, .92);
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 22px;
  padding: 28px 24px 26px; min-height: 140px;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
.step:nth-child(2) { margin-top: 28px; }
.step:nth-child(3) { margin-top: 56px; }
.step-num { position: absolute; top: -54px; left: -24px; font-size: 92px; font-weight: 800; line-height: 1; text-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.step h3 { color: var(--green); font-size: 1.3rem; font-weight: 500; margin-bottom: 4px; }
.step p { font-size: .92rem; font-weight: 500; line-height: 1.45; }
.step:hover { transform: translateY(-10px); border-color: var(--green); box-shadow: 0 20px 44px rgba(125, 255, 0, .14); }

/* ============ CASOS ============ */
.cases { padding-bottom: 60px; }
.line-title { display: flex; align-items: center; gap: 28px; margin: 20px 0 34px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; }
.line-title::before, .line-title::after { content: ""; flex: 1; height: 1px; background: var(--green); }
.line-title::after { margin-right: clamp(0px, 8vw, 110px); }
.line-title span { white-space: nowrap; }

.cases-stage { position: relative; background: linear-gradient(to bottom, transparent 0, transparent 120px, var(--purple) 120px); padding-bottom: 34px; }
.cases-label { text-align: center; font-size: .7rem; font-weight: 700; margin-bottom: 18px; }

.carousel { overflow: hidden; }
.track { display: flex; transition: transform .9s var(--ease); }
.slide { flex: 0 0 100%; padding: 0 70px; }
.slide-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1040px; margin: 0 auto; }

.case { text-align: center; }
.case > img { width: 100%; max-width: 440px; margin: 0 auto; border-radius: 12px 12px 4px 4px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); transition: transform .6s var(--ease); }
.case:hover > img { transform: translateY(-8px) scale(1.02); }
.stat { margin-top: 18px; font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.1; }
.case h4 { font-size: .85rem; font-weight: 700; }
.client { margin-top: 20px; color: var(--green); font-size: .72rem; font-weight: 700; }
.desc { max-width: 380px; margin: 6px auto 0; font-size: .7rem; color: #e6e3ff; line-height: 1.5; }

.arrow {
  position: absolute; top: 58%; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.arrow:hover { background: rgba(255, 255, 255, .15); }
.arrow-prev { left: 14px; }
.arrow-next { right: 14px; }
.arrow-prev:hover { transform: translateX(-4px); }
.arrow-next:hover { transform: translateX(4px); }
.cases-stage .dots { margin-top: 26px; }

/* ============ CLIENTES ============ */
.clients { padding: 80px 0 40px; text-align: center; }
.clients-sub { margin-top: 2px; color: var(--green); font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 500; }
.clients-text { margin-top: 40px; font-size: .82rem; font-weight: 500; }

.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 20px; max-width: 1040px; margin: 40px auto 0; }
.logo-card {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 8px; height: 76px; padding: 12px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.logo-card img { max-height: 100%; max-width: 100%; object-fit: contain; }
.logo-card:hover { transform: translateY(-8px) scale(1.05); box-shadow: 0 16px 34px rgba(59, 31, 255, .45); }

/* ============ CTA ============ */
.cta { padding: 100px 0 100px; }
.cta-box {
  position: relative; max-width: 1040px; margin: 0 auto; text-align: center;
  background: var(--purple); border-radius: 4px; padding: 58px 30px 64px;
  box-shadow: 0 30px 80px rgba(59, 31, 255, .35);
}
.cta-hand { position: absolute; left: -44px; top: 50px; width: clamp(130px, 22vw, 240px); transition: transform .2s linear; pointer-events: none; }
.cta-hand img { animation: floatY 6s ease-in-out infinite; }
.cta-box h2 { position: relative; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
.cta-line { display: block; width: 130px; height: 1px; background: var(--green); margin: 14px auto 28px; position: relative; }
.cta-box h3 { position: relative; font-size: 1.05rem; font-weight: 500; margin-bottom: 18px; }
.cta-box p { position: relative; max-width: 700px; margin: 0 auto 36px; font-size: .88rem; }
.cta-box .btn { position: relative; }

/* ============ KEYFRAMES ============ */
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 30px rgba(59, 31, 255, .5), 0 0 0 0 rgba(59, 31, 255, .5); } 50% { box-shadow: 0 8px 30px rgba(59, 31, 255, .5), 0 0 0 16px rgba(59, 31, 255, 0); } }
@keyframes revealUp { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); max-width: 760px; }
}



@media (max-width: 768px) {
  .hero { padding-top: 140px; }
  .hand-wrap { position: static; width: 100px; margin: 24px auto 0; }
  .hero-cta-inner { display: flex; flex-direction: column; align-items: center; }
  .btn-lg { padding: 15px 24px; font-size: .75rem; }
  .dots { margin-top: 40px; }

  .service { grid-template-columns: 1fr; gap: 40px; margin-top: 50px; }
  .service-info { padding-right: 0; }
  .service-card { padding: 26px 24px; text-align: left; }

  .project { padding: 80px 0 60px; }
  .steps { grid-template-columns: 1fr; gap: 50px; max-width: 360px; margin: 70px auto 56px; }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }

  .slide { padding: 0 20px; }
  .slide-inner { grid-template-columns: 1fr; gap: 40px; }
  .arrow { top: 50px; width: 38px; height: 38px; background: rgba(0, 0, 0, .35); }
  .arrow-prev { left: 8px; }
  .arrow-next { right: 8px; }
  .cases-stage { background: linear-gradient(to bottom, transparent 0, transparent 100px, var(--purple) 100px); }

  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .logo-card { height: 64px; }

  .cta { padding: 70px 0; }
  .cta-box { padding: 80px 22px 50px; }
  .cta-hand { left: 50%; top: -50px; width: 130px; transform: translateX(-50%); }
  .cta-hand img { animation: none; }
}


@media (max-width: 480px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .tab { font-size: .66rem; padding: 9px 16px; }
  .line-title { gap: 14px; }
  .step-num { font-size: 76px; top: -46px; left: -14px; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; }
}


/* ============ AJUSTES RESPONSIVE ============ */
.container { width: min(var(--container), calc(100% -  clamp(28px, 5vw, 48px))); }
section { min-width: 0; }
.hero-title { overflow-wrap: anywhere; }
.hero-cta-inner, .hero-cta { max-width: 100%; }
.hero-cta .btn { max-width: 100%; text-align: center; white-space: normal; }
.tabs { padding-inline: 4px; }
.tab { max-width: 100%; }
.service, .slide-inner, .steps, .logo-grid { min-width: 0; }
.service-media, .service-info, .case { min-width: 0; }
.service-box { margin-inline: 8px; }
.service-box::before { right: -10px; }
.step { min-width: 0; }
.case img { aspect-ratio: 560 / 340; object-fit: cover; }
.logo-card { min-width: 0; }
.cta-box { overflow: hidden; }
.cta-box p { overflow-wrap: break-word; }

@media (max-width: 768px) {
  .hero { padding-top: 52px; }
  .services { padding: 48px 0; }
  .tabs { gap: 8px; margin-top: 24px; }
  .tab { padding: 10px 14px; line-height: 1.35; }
  .service { gap: 28px; margin-top: 38px; }
  .service-box::before { inset: -12px 12px 12px -12px; }
  .project { padding: 64px 0 48px; }
  .steps { gap: 42px; }
  .slide { padding-inline: 48px; }
  .slide-inner { gap: 32px; }
  .cases-stage { background: linear-gradient(to bottom, transparent 0, transparent 100px, var(--purple) 100px); }
  .clients { padding: 56px 0 32px; }
  .clients-text { margin-top: 24px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta { padding: 56px 0; }
  .cta-box { padding: 78px 20px 40px; }
  .cta-hand { left: 50%; top: -48px; transform: translateX(-50%); }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .hero-sub { max-width: 32ch; margin-inline: auto; }
  .btn-lg { width: 100%; padding: 14px 16px; font-size: .72rem; }
  .hero-cta { margin-top: 32px; }
  .service-card { padding: 22px 18px; font-size: .88rem; }
  .slide { padding-inline: 42px; }
  .arrow { top: 46px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo-card { height: 60px; }
  .cta-box h3 { font-size: .95rem; }
  .cta-box p { font-size: .82rem; }
}
