 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --purple: #7C3AED;
    --purple-light: #A78BFA;
    --purple-dark: #5B21B6;
    --accent: #8B5CF6;
    --dark: #0D0B1A;
    --dark-2: #130F2A;
    --dark-3: #1C1740;
    --white: #FFFFFF;
    --gray: #E5E7EB;
    --gray-2: #9CA3AF;
    --light-bg: #F9F8FF;
    --card-bg: #FFFFFF;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: #1A1A2E;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, nav a, .btn {
    font-family: system-ui;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 72px;
    background: rgba(13,11,26,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(124,58,237,0.15);
  }

  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--white); text-decoration: none;
    font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em;
  }

  .nav-logo svg { width: 32px; height: 32px; }

  .nav-links {
    display: flex; gap: 2.5rem; list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none; font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }

  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--purple-light);
    transition: width 0.25s;
  }

  .nav-links a:hover { color: var(--white); }
  .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
  .nav-links a.active { color: var(--white); }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.65rem 1.4rem; border-radius: 8px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.2s; border: none;
  }

  .btn-primary {
    background: var(--purple); color: var(--white);
    box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  }
  .btn-primary:hover {
    background: var(--purple-dark);
    box-shadow: 0 6px 28px rgba(124,58,237,0.55);
    transform: translateY(-1px);
  }

  .btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
  }
  .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.06);
  }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0D0B1A 0%, #1B1040 50%, #0F0A25 100%);
    display: flex; align-items: center;
    padding: 100px 5% 60px;
    position: relative; overflow: hidden;
  }

  #hero::before {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
  }

  #hero::after {
    content: '';
    position: absolute; bottom: -80px; left: 20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(91,33,182,0.2) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
  }

  .hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    max-width: 1200px; margin: 0 auto; width: 100%;
    position: relative; z-index: 2;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.35);
    color: var(--purple-light); padding: 6px 14px;
    border-radius: 100px; font-size: 0.8rem; font-weight: 500;
    margin-bottom: 1.5rem; width: fit-content;
  }

  .hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-light); display: block; animation: pulse 2s infinite; }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }

  .hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800; line-height: 1.1;
    color: var(--white); margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
  }

  .hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, #A78BFA, #7C3AED);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-desc {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem; line-height: 1.7;
    max-width: 480px; margin-bottom: 2rem;
  }

  .hero-ctas {
    display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem;
  }

  .hero-social-proof {
    display: flex; align-items: center; gap: 12px;
  }

  .avatar-stack {
    display: flex;
  }

  .avatar-stack img, .avatar-placeholder {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--dark); margin-left: -10px;
    object-fit: cover;
  }

  .avatar-placeholder {
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700; color: white;
  }

  .avatar-stack .avatar-placeholder:first-child { margin-left: 0; }

  .social-proof-text {
    color: rgba(255,255,255,0.6); font-size: 0.85rem;
  }

  .social-proof-text strong { color: var(--white); }

  /* Dashboard mockup */
  .hero-visual {
    position: relative; display: flex; justify-content: center; align-items: center;
  }

  .dashboard-card {
    background: linear-gradient(145deg, #1C1640, #251e55);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 20px;
    padding: 24px;
    width: 100%; max-width: 480px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(124,58,237,0.15);
    animation: float 6s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  .dash-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
  }

  .dash-title {
    color: rgba(255,255,255,0.6); font-size: 0.78rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.08em;
  }

  .dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }

  .dash-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; margin-bottom: 20px;
  }

  .stat-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 14px;
  }

  .stat-label { color: rgba(255,255,255,0.45); font-size: 0.72rem; margin-bottom: 6px; }
  .stat-value { color: var(--white); font-family: system-ui; font-size: 1.3rem; font-weight: 700; }
  .stat-change { font-size: 0.7rem; color: #22C55E; margin-top: 4px; }

  .dash-chart {
    height: 80px; position: relative; margin-bottom: 16px;
  }

  .dash-chart svg { width: 100%; height: 100%; }

  .dash-bottom {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 10px; padding: 12px 16px;
  }

  .conv-label { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
  .conv-value { color: var(--white); font-family: system-ui; font-size: 1.5rem; font-weight: 700; }
  .conv-change { font-size: 0.7rem; color: #22C55E; }

  .donut-wrap { position: relative; width: 56px; height: 56px; }
  .donut-wrap svg { transform: rotate(-90deg); }
  .donut-label {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    color: var(--white); font-size: 0.7rem; font-weight: 700;
  }
  
  /* SECTION PROBLEMAS*/

 .section-wrap {
  font-family: 'DM Sans', sans-serif;
  background: linear-gradient(180deg, var(--color-background-primary), #0b0f17);
  padding: 4rem 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* LEFT SIDE */
.main-heading {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin: 0 0 2rem;
  letter-spacing: -0.5px;
}

.sub-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
  opacity: 0.9;
  margin-bottom: 20px;
}
@media (max-width: 1024px) {
    .tamano {
      height: 320px;
    }
  }
.tamano{
  width: 100%;
  height: 100%;
}
/* RIGHT SIDE */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

/* ITEM */
.problem-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
    transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow:
    0 20px 50px rgba(124, 58, 237, 0.15);
    margin-bottom: 20px;
}

/* BORDE MORADO DERECHA */
.problem-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;

  width: 4px;
  height: 100%;

  background: linear-gradient(
    180deg,
    #8B5CF6,
    #A855F7
  );
    transform: translateY(-4px);

}

.problem-item:last-child {
  border-bottom: none;
}

.problem-item:hover {
  transform: translateX(4px);
}

/* ICON */
.item-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.item-icon svg {
  width: 16px;
  height: 16px;
  stroke: #7C3AED;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TEXT */
.item-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 6px;
}

.item-desc {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .main-heading {
    font-size: 32px;
  }

  .right-col {
    padding: 1rem;
  }
}
/* SECTION */
.contact {
  padding: 80px 20px;
  background: #ffffff;
  color: #0f172a;
}

/* CONTAINER */
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

/* TEXTO */
.contact-info h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 10px;
  color: #0f172a;
}

.contact-info p {
  color: #64748b;
  line-height: 1.6;
  max-width: 500px;
}


/* FORM */
.contact-form {
  background: linear-gradient(135deg, #1a0a3c 0%, #2d1060 35%, #1e0a4a 60%, #0d0528 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 10px 10px 30px rgb(133 65 207);
}

/* INPUT GROUP */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  color: #ffffff;
}

/* INPUTS TEXTAREA */
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.15);
}

/* BOTÓN */
.form-btn {
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241,0.25);
}

/* DESKTOP */
@media (min-width: 768px) {

  .contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

}
  /* ─── services ─── */
  #services {
    background: linear-gradient(135deg, #1a0a3c 0%, #2d1060 35%, #1e0a4a 60%, #0d0528 100%);
    padding: 50px 50px 100px;
    margin: 30px;
    border-radius: 20px;
  }
  @media (max-width: 576px) {
    #services {
      padding: 50px 20px 100px;
      margin: 0;
      border-radius: 5px;
    }
  }
  .section-tag {
    text-align: center; color: var(--purple);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 12px;
    font-family: system-ui;
  }

  .section-title-services {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800; letter-spacing: -0.02em;
    color: #ffffff; margin-bottom: 12px;
  }

  .section-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem; max-width: 680px;
    margin: 0 auto 3.5rem;
  }

  /* ─── PORTAFOLIO ─── */
  /* #portafolio {
    padding: 100px 5%;
    background: linear-gradient(180deg, #0D0B1A 0%, #130F2A 100%);
  }

  #portafolio .section-tag { color: var(--purple-light); }
  #portafolio .section-title { color: var(--white); }
  #ventajas .section-title {color: var(--white);}
  #portafolio .section-desc { color: rgba(255,255,255,0.45); }

  .portfolio-slider {
    max-width: 1200px; margin: 0 auto;
    position: relative; overflow: hidden;
  }

  .portfolio-track {
    display: flex; gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  }

  .portfolio-item {
    flex: 0 0 calc(25% - 1.125rem);
    border-radius: 16px; overflow: hidden;
    position: relative; cursor: pointer;
  }

  .portfolio-thumb {
    height: 200px;
    position: relative; overflow: hidden;
  }

  .portfolio-thumb-inner {
    width: 100%; height: 100%;
    display: flex; align-items: flex-end;
    padding: 20px;
    transition: transform 0.4s;
  }

  .portfolio-item:hover .portfolio-thumb-inner { transform: scale(1.04); }

  .p1 { background: linear-gradient(160deg, #1A0A00 0%, #3D1500 40%, #8B3A00 100%); }
  .p2 { background: linear-gradient(160deg, #F0F0F0 0%, #D8D8D8 40%, #B0B0B0 100%); }
  .p3 { background: linear-gradient(160deg, #001A10 0%, #003D25 40%, #006B40 100%); }
  .p4 { background: linear-gradient(160deg, #000D1A 0%, #00264D 40%, #003D80 100%); }

  .port-overlay-text {
    font-family: system-ui;
    font-weight: 800; font-size: 1.1rem; line-height: 1.2;
    color: white; text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    position: relative; z-index: 2;
  }

  .p2 .port-overlay-text { color: #111; text-shadow: none; }

  .portfolio-info {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-top: none; padding: 16px;
  }

  .portfolio-info h4 { color: var(--white); font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
  .portfolio-info p { color: rgba(255,255,255,0.4); font-size: 0.78rem; }

  .slider-nav {
    display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem;
  }

  .slider-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white); font-size: 1.1rem;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
  }

  .slider-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
  } */
.faq-section{background: linear-gradient(135deg, #1a0a3c 0%, #2d1060 35%, #1e0a4a 60%, #0d0528 100%);;padding:4rem 1.5rem;font-family:var(--font-sans)}
  .faq-inner{max-width:760px;margin:0 auto}
  .faq-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(127,119,221,0.15);border:0.5px solid rgba(127,119,221,0.35);border-radius:20px;padding:6px 16px;margin-bottom:1.75rem}
  .faq-badge-dot{width:6px;height:6px;border-radius:50%;background:#AFA9EC}
  .faq-badge-txt{font-size:12px;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:#AFA9EC}
  .faq-title{font-size:clamp(28px,5vw,44px);font-weight:500;color:#fff;line-height:1.15;margin-bottom:1rem}
  .faq-title span{color:#AFA9EC}
  .faq-sub{font-size:15px;color:rgba(255,255,255,0.45);line-height:1.75;margin-bottom:3rem;max-width:540px}
  .faq-grid{display:flex;flex-direction:column;gap:2px}
  .faq-item{background:rgba(255,255,255,0.03);border:0.5px solid rgba(127,119,221,0.18);border-radius:14px;overflow:hidden;transition:border-color 0.25s,background 0.25s}
  .faq-item.open{background:rgba(127,119,221,0.08);border-color:rgba(127,119,221,0.45)}
  .faq-item+.faq-item{margin-top:8px}
  .faq-btn{width:100%;background:none;border:none;padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;text-align:left}
  .faq-q{font-size:15px;font-weight:500;color:rgba(255,255,255,0.88);line-height:1.5}
  .faq-item.open .faq-q{color:#fff}
  .faq-icon{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:rgba(127,119,221,0.12);border:0.5px solid rgba(127,119,221,0.3);display:flex;align-items:center;justify-content:center;transition:background 0.2s,transform 0.35s}
  .faq-item.open .faq-icon{background:rgba(127,119,221,0.3);border-color:#7F77DD;transform:rotate(45deg)}
  .faq-icon svg{display:block}
  .faq-body{max-height:0;overflow:hidden;transition:max-height 0.38s cubic-bezier(.4,0,.2,1)}
  .faq-body-inner{padding:0 1.5rem 1.4rem;font-size:14px;color:rgba(255,255,255,0.5);line-height:1.8}
  .faq-bottom{margin-top:3rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;padding:1.75rem 2rem;background:rgba(127,119,221,0.1);border:0.5px solid rgba(127,119,221,0.25);border-radius:16px}
  .faq-bottom-left p:first-child{font-size:16px;font-weight:500;color:#fff;margin-bottom:4px}
  .faq-bottom-left p:last-child{font-size:13px;color:rgba(255,255,255,0.45)}
  .faq-cta-btn{background:#7F77DD;color:#fff;border:none;padding:10px 22px;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background 0.2s}
  .faq-cta-btn:hover{background:#534AB7}
  .decor{position:relative;overflow:hidden}
  .decor::before{content:'';position:absolute;top:-80px;right:-80px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(83,74,183,0.25) 0%,transparent 70%);pointer-events:none}
  /* ─── RESEÑAS ─── */
  .resenas {
    padding: 100px 5%; background: var(--white);
  }

  .reviews-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 1100px; margin: 50px auto 0px;
  }

  .review-card {
    background: var(--light-bg);
    border: 1px solid rgba(124,58,237,0.1);
    border-radius: 16px; padding: 2rem;
    transition: all 0.3s;
  }

  .review-card:hover {
    box-shadow: 0 16px 40px rgba(124,58,237,0.1);
    transform: translateY(-4px);
  }

  .reviewer {
    display: flex; gap: 12px; align-items: center; margin-bottom: 1rem;
  }

  .reviewer-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white; font-size: 1rem; flex-shrink: 0;
  }

  .reviewer-name { font-family: system-ui; font-weight: 700; font-size: 0.92rem; color: #0D0B1A; }

  .stars { color: #F59E0B; font-size: 0.85rem; margin-bottom: 1rem; }

  .review-text {
    font-size: 0.9rem; color: #4B4B6A; line-height: 1.7;
    font-style: italic;
  }

  /* ─── CTA ─── */
  .informate {
    background: linear-gradient(135deg, #1a0a3c 0%, #2d1060 35%, #1e0a4a 60%, #0d0528 100%);
    padding: 90px 5%;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 2rem;
  }

  .cta-left { max-width: 560px; }
  @media (max-width: 576px) {
    .informate {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .cta-left {
      max-width: 100%;
    }
  }
  .cta-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
    color: var(--white); letter-spacing: -0.02em;
    line-height: 1.2; margin-bottom: 0.75rem;
  }

  .cta-left p { color: rgba(255,255,255,0.5); font-size: 1rem; }

  /* ─── FOOTER ─── */
  footer {
    background: rgba(13, 11, 26, 0.85);
    padding: 24px 5%;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
  }

  footer p { color: rgba(255,255,255); font-size: 0.8rem; }
  footer a { color: rgba(255,255,255); text-decoration: none; font-size: 0.8rem; }
  footer a:hover { color: var(--purple-light); }

  /* Animations on scroll */
  .fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  .fade-up:nth-child(2) { transition-delay: 0.1s; }
  .fade-up:nth-child(3) { transition-delay: 0.2s; }
  .fade-up:nth-child(4) { transition-delay: 0.3s; }

  /* Responsive */
  @media (max-width: 1024px) {
    .portfolio-item { flex: 0 0 calc(50% - 0.75rem); }
  }

  @media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-badge, .hero-ctas { justify-content: center; }
    .hero-social-proof { justify-content: center; }
    .hero-visual { display: none; }
    nav { padding: 0 4%; }
    .nav-links { display: none; }
    .reviews-grid { grid-template-columns: 1fr; }
    #cta { justify-content: center; flex-direction: column; align-items: center; }
    .cta-left { text-align: center; }
    footer { justify-content: center; text-align: center; }
  }
.cards {
  display: grid;
  gap: 20px;
}

/* MOBILE FIRST */
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.1);
  box-shadow: 0 4px 24px rgba(99,102,241,0.08);
  display: flex;
  flex-direction: column; /* 👈 imagen arriba SIEMPRE en móvil */
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.15);
}

/* IMAGEN */
.card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.05);
}

/* TEXTO */
.card-content {
  padding: 24px;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
}

/* DESKTOP */
@media (min-width: 768px) {

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-img {
    height: 210px;
  }

}


/* ───────────────────── */
/* SECTION BASE */
/* ───────────────────── */
.section {
  background: #f0f4ff;
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
}

/* BLOBS DECORATIVOS */
.blob1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.13) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.blob2 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

/* GRID DE FONDO */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* CONTENEDOR */
.inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* ───────────────────── */
/* HEADER */
/* ───────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 6px rgba(99,102,241,0.8);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.badge-label {
  font-size: 12px;
  font-weight: 600;
  color: #4f46e5;
  letter-spacing: 0.03em;
}

.section-title-reviews {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 14px;
}

.title-accent {
  background: linear-gradient(100deg, #6366f1, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* ───────────────────── */
/* CARDS */
/* ───────────────────── */
.cards {
  display: grid;
  gap: 50px;
}

/* CARD BASE */
.card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 0 10px #7c3aed, 0 0 5px #7c3aed, 0 0 20px #7c3aed;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.15);
}

/* IMAGEN */
.card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.05);
}

/* CONTENIDO */
.card-content {
  padding: 24px;
}

/* TAGS */
.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.tag-purple {
  background: rgba(99,102,241,0.1);
  color: #4f46e5;
}

.tag-cyan {
  background: rgba(6,182,212,0.1);
  color: #0891b2;
}

.tag-violet {
  background: rgba(139,92,246,0.1);
  color: #7c3aed;
}

/* TEXTOS */
.card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* LINK */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #6366f1;
  text-decoration: none;
  transition: 0.2s;
}

.card-link:hover {
  gap: 10px;
}

.card-link svg {
  width: 14px;
  height: 14px;
}


@media (min-width: 768px) {

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-img {
    height: 210px;
  }

}

.footer-link{
  display:flex;
  gap: 1.5rem;
}