/* ═══════════════════════════════════════════
   SaaS Platform — styles.css  |  v1.0  |  2026
   Paleta lavanda · Ubuntu sans-serif
═══════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────── */
:root {
  --wine:        #7C5CBF;   /* violeta principal */
  --wine-dark:   #351B69;   /* violeta oscuro */
  --wine-deep:   #280D47;   /* casi negro violeta */
  --wine-light:  #9B7DD4;   /* violeta claro/hover */
  --rose:        #C9A8E8;   /* acento lila suave */
  --gold:        #A8B8E8;   /* acento azul lavanda */
  --gold-light:  #C8D8F8;   /* azul lavanda claro */
  --white:       #ffffff;
  --gray-light:  #F4F2F9;   /* fondo claro con tinte violeta sutil */
  --gray-bg:     #EDE9F6;
  --gray:        #6B7280;
  --text:        #1A1428;   /* casi negro con tinte violeta */
  --text-soft:   #3D3454;
  --radius:      14px;
  --shadow:      0 6px 28px rgba(124,92,191,.12);
  --shadow-lg:   0 18px 56px rgba(124,92,191,.2);
}

/* ── RESET / BASE ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Ubuntu', 'Segoe UI', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; }

/* ── TYPOGRAPHY ─────────────────────────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wine); margin-bottom: 12px;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--wine); }

h2.section-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700; color: var(--wine-dark); line-height: 1.2; margin-bottom: 16px;
}
h2.section-title span { color: var(--wine); }

.section-desc { font-size: 16.5px; color: var(--gray); line-height: 1.75; max-width: 560px; }

/* ── LAYOUT ─────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; }
section      { padding: 80px 24px; }

/* ── BUTTONS ────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  color: white; font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  box-shadow: 0 8px 24px rgba(124,92,191,.35);
  transition: all .3s; cursor: pointer; border: none;
  font-family: 'Ubuntu', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,92,191,.45); color: white; background: linear-gradient(135deg, var(--wine-light) 0%, var(--wine) 100%); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.45);
  color: white; font-weight: 500; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  backdrop-filter: blur(6px); transition: all .3s;
  font-family: 'Ubuntu', sans-serif;
}
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: var(--gold-light); color: var(--gold-light); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--wine); color: var(--wine);
  font-weight: 600; font-size: 14px; padding: 10px 22px;
  border-radius: 50px; transition: all .3s;
  font-family: 'Ubuntu', sans-serif;
}
.btn-outline:hover { background: var(--wine); color: white; }

/* ── NAV ────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 40px;
  background: rgba(46,31,94,.94);
  backdrop-filter: blur(14px);
  transition: all .3s;
  border-bottom: 1px solid rgba(168,184,232,.12);
}
nav.scrolled { background: rgba(46,31,94,.99); box-shadow: 0 4px 24px rgba(0,0,0,.35); }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.8); font-size: 14px; font-weight: 400; letter-spacing: .01em;
  padding: 7px 14px; border-radius: 8px; transition: all .2s;
  font-family: 'Ubuntu', sans-serif;
}
.nav-links a:hover { color: var(--gold-light); background: rgba(255,255,255,.07); }
.nav-cta-btn {
  background: linear-gradient(135deg, var(--wine), var(--wine-dark)) !important;
  color: var(--white) !important; font-weight: 600 !important;
  padding: 9px 20px !important; border-radius: 50px !important;
  border: 1px solid rgba(168,184,232,.3) !important;
}
.nav-cta-btn:hover { opacity: .9; transform: translateY(-1px); background: linear-gradient(135deg, var(--wine-light), var(--wine)) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all .3s; }
.nav-mobile-menu {
  display: none; position: fixed; inset: 0; top: 70px;
  background: rgba(46,31,94,.98); z-index: 999;
  padding: 24px; flex-direction: column; gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: white; font-size: 17px; font-weight: 400;
  padding: 14px 16px; border-radius: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07); transition: all .2s;
  font-family: 'Ubuntu', sans-serif;
}
.nav-mobile-menu a:hover { background: rgba(124,92,191,.3); color: var(--gold-light); }

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--wine-deep);
}
/* Fondo decorativo con grid sutil */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,184,232,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,184,232,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,8,18,.88) 0%,
    rgba(20,15,35,.72) 50%,
    rgba(10,8,18,.82) 100%
  );
  opacity: 0.9;
}

/* ── HERO CONTENT ── */
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 100%;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 80px;
}
.hero-center {
  max-width: 720px; width: 100%;
  text-align: center;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,184,232,.18); border: 1px solid rgba(168,184,232,.4);
  color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 50px;
  margin-bottom: 20px; animation: fadeInUp .8s ease both;
  font-family: 'Ubuntu', sans-serif;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}
.hero-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(34px, 4.8vw, 66px);
  font-weight: 700; color: var(--white); line-height: 1.1;
  margin-bottom: 18px; animation: fadeInUp .8s ease .15s both;
  letter-spacing: -.01em;
}
.hero-title span { color: var(--gold-light); }
.hero-subtitle {
  font-size: clamp(15px, 1.7vw, 18px); color: rgba(255,255,255,.78);
  line-height: 1.7; margin-bottom: 36px;
  animation: fadeInUp .8s ease .3s both;
  font-weight: 300;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp .8s ease .45s both;
}
.hero-stats-row {
  display: flex; justify-content: center; gap: 0;
  margin-top: 48px;
  animation: fadeInUp .8s ease .6s both;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 32px;
}
.hero-stat {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.15);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700; color: var(--gold-light); line-height: 1;
}
.hero-stat-label {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 4px;
}

/* ── TRUST BAR ──────────────────────────── */
.trust-bar {
  background: var(--wine-dark); padding: 18px 40px;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
  border-bottom: 3px solid rgba(168,184,232,.25);
}
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 500; }
.trust-icon { font-size: 17px; }
.trust-divider { width: 1px; height: 26px; background: rgba(255,255,255,.15); }

/* ── PROBLEMS SECTION ───────────────────── */
.problems-section { background: var(--wine-deep); position: relative; overflow: hidden; }
.problems-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,184,232,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,184,232,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.problems-inner { position: relative; z-index: 1; }
.problems-section .section-tag { color: var(--gold-light); }
.problems-section .section-tag::before { background: var(--gold-light); }
.problems-section h2.section-title { color: white; }
.problems-section h2.section-title span { color: var(--gold-light); }
.problems-section .section-desc { color: rgba(255,255,255,.65); }
.problems-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
.problem-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all .3s;
}
.problem-card:hover {
  background: rgba(124,92,191,.3);
  border-color: rgba(168,184,232,.3);
  transform: translateY(-4px);
}
.problem-card .problem-icon { font-size: 28px; margin-bottom: 14px; }
.problem-card h4 { color: white; font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.problem-card p  { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.6; }

/* ── BENEFITS / FEATURES ────────────────── */
.benefits-section { background: var(--gray-light); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.benefit-card {
  background: white; border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid transparent;
  transition: all .35s;
  position: relative; overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--rose));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(124,92,191,.15); }
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.benefit-card h3 { font-size: 17px; font-weight: 700; color: var(--wine-dark); margin-bottom: 10px; }
.benefit-card p  { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ── HOW IT WORKS ───────────────────────── */
.howitworks-section { background: white; }
.steps-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px;
  position: relative;
}
/* Línea conectora — ajustar --steps-connector-top en el contenedor si los items tienen padding-top */
.steps-row::before {
  content: '';
  position: absolute; top: var(--steps-connector-top, 38px); left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--wine), var(--rose), var(--wine));
  opacity: .3; z-index: 0;
}
.step-item {
  text-align: center; padding: 0 16px; position: relative; z-index: 1;
}
.step-number {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  color: white; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(124,92,191,.35);
  font-family: 'Ubuntu', sans-serif;
  transition: all .3s;
}
.step-item:hover .step-number { transform: scale(1.1); box-shadow: 0 12px 32px rgba(124,92,191,.45); }
.step-item h4 { font-size: 16px; font-weight: 700; color: var(--wine-dark); margin-bottom: 8px; }
.step-item p  { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ── MODULES ────────────────────────────── */
.modules-section { background: var(--gray-light); }
.modules-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.modules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.module-card {
  background: white; border-radius: var(--radius);
  padding: 26px 24px;
  border: 1.5px solid rgba(124,92,191,.1);
  transition: all .3s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.module-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--rose));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124,92,191,.25); }
.module-card:hover::after { transform: scaleX(1); }
.module-icon { font-size: 28px; margin-bottom: 14px; }
.module-card h4 { font-size: 15px; font-weight: 700; color: var(--wine-dark); margin-bottom: 6px; }
.module-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; flex: 1; }
.module-tag {
  display: inline-flex; align-items: center; margin-top: 14px;
  background: rgba(124,92,191,.08); color: var(--wine); font-size: 11px;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px; align-self: flex-start;
}

/* ── INDUSTRIES ─────────────────────────── */
.industries-section { background: var(--wine-dark); position: relative; overflow: hidden; }
.industries-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(168,184,232,.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(124,92,191,.4) 0%, transparent 50%);
}
.industries-inner { position: relative; z-index: 1; }
.industries-section .section-tag { color: var(--gold-light); }
.industries-section .section-tag::before { background: var(--gold-light); }
.industries-section h2.section-title { color: white; }
.industries-section h2.section-title span { color: var(--gold-light); }
.industries-section .section-desc { color: rgba(255,255,255,.65); }
.industries-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px;
}
.industry-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: all .3s;
  cursor: default;
}
.industry-item:hover {
  background: rgba(168,184,232,.15);
  border-color: rgba(168,184,232,.4);
  transform: translateY(-4px);
}
.industry-icon { font-size: 30px; margin-bottom: 10px; }
.industry-item span { display: block; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; }

/* ── ANALYTICS / IA ─────────────────────── */
.analytics-section { background: white; overflow: hidden; position: relative; }
.analytics-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.analytics-visual {
  background: linear-gradient(135deg, var(--wine-deep), var(--wine-dark));
  border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden;
  min-height: 360px; display: flex; align-items: center; justify-content: center;
}
.analytics-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,184,232,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,184,232,.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
/* Mock dashboard dentro del visual */
.mock-dashboard {
  position: relative; z-index: 1; width: 100%;
}
.mock-bar-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.mock-bar-label { color: rgba(255,255,255,.55); font-size: 12px; min-width: 80px; text-align: right; }
.mock-bar-track { flex: 1; background: rgba(255,255,255,.1); border-radius: 4px; height: 10px; overflow: hidden; }
.mock-bar-fill  { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--wine), var(--rose)); }
.mock-bar-val   { color: var(--gold-light); font-size: 12px; font-weight: 700; min-width: 36px; }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.mock-kpi {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 14px 16px;
}
.mock-kpi-num { font-size: 22px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.mock-kpi-lbl { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; }

.analytics-text .section-tag { margin-top: 0; }
.analytics-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.analytics-feature {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px; border-radius: 14px;
  background: var(--gray-light);
  border: 1.5px solid transparent;
  transition: all .3s;
}
.analytics-feature:hover { border-color: rgba(124,92,191,.2); background: rgba(124,92,191,.04); }
.af-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.af-text h4 { font-size: 14.5px; font-weight: 700; color: var(--wine-dark); margin-bottom: 4px; }
.af-text p  { font-size: 13px; color: var(--gray); line-height: 1.55; }

/* ── PLANS / PRICING ────────────────────── */
.plans-section { background: var(--gray-light); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: start; }
.plan-card {
  background: white; border-radius: 20px; padding: 36px 30px;
  box-shadow: var(--shadow); border: 2px solid transparent; transition: all .35s;
  position: relative;
}
.plan-card.featured {
  border-color: var(--wine);
  background: linear-gradient(160deg, white 60%, rgba(124,92,191,.04) 100%);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  color: white; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 18px; border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(124,92,191,.35);
}
.plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--wine); margin-bottom: 8px; }
.plan-card h3 { font-size: 24px; font-weight: 700; color: var(--wine-dark); margin-bottom: 6px; }
.plan-desc { font-size: 13.5px; color: var(--gray); margin-bottom: 24px; line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-soft); }
.plan-features li::before { content: '✓'; color: var(--wine); font-weight: 700; min-width: 16px; flex-shrink: 0; margin-top: 1px; }
.plan-cta { width: 100%; justify-content: center; }
.plan-card:hover { border-color: rgba(124,92,191,.3); box-shadow: var(--shadow-lg); }
.plan-card.featured:hover { transform: translateY(-12px); }

/* ── TESTIMONIALS ───────────────────────── */
.testimonials-section { background: white; overflow: hidden; }
.carousel-track-outer { overflow: hidden; }
.carousel-track { display: flex; gap: 24px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.testimonial-card {
  min-width: 300px; max-width: 300px;
  background: var(--gray-light); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow); flex-shrink: 0;
  border: 1.5px solid transparent; transition: border-color .3s;
}
.testimonial-card:hover { border-color: rgba(124,92,191,.2); }
.stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-text { font-size: 14px; line-height: 1.7; color: var(--text-soft); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.author-name   { font-weight: 600; font-size: 14px; color: var(--wine-dark); }
.author-detail { font-size: 12px; color: var(--gray); }
.author-result { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--wine); }
.carousel-controls { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--wine); background: transparent;
  color: var(--wine); font-size: 16px; cursor: pointer; transition: all .3s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--wine); color: white; }
.carousel-dots { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #c5bce0; cursor: pointer; transition: all .3s; }
.dot.active { background: var(--wine); width: 24px; border-radius: 4px; }

/* ── FAQ / ACCORDION ────────────────────── */
.faq-section { background: var(--gray-light); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.faq-item {
  background: white; border-radius: 14px;
  border: 1.5px solid rgba(124,92,191,.12);
  overflow: hidden; transition: border-color .3s;
}
.faq-item.open { border-color: var(--wine); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; text-align: left; gap: 12px;
  font-family: 'Ubuntu', sans-serif;
}
.faq-q-text { font-size: 15px; font-weight: 600; color: var(--wine-dark); line-height: 1.4; }
.faq-icon {
  width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  background: rgba(124,92,191,.1); color: var(--wine);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--wine); color: white; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.faq-item.open .faq-body { max-height: 400px; }
.faq-body-inner { padding: 0 24px 20px; font-size: 14px; color: var(--gray); line-height: 1.75; }

/* ── BLOG ────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.blog-card {
  background: white; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s;
  color: inherit; text-decoration: none; display: block;
  border: 1.5px solid transparent;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(124,92,191,.15); }
.blog-img { height: 200px; background-size: cover; background-position: center; background-color: var(--gray-light); }
.blog-body { padding: 22px; }
.blog-cat {
  display: inline-block; background: rgba(124,92,191,.1); color: var(--wine);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 10px; border-radius: 50px; margin-bottom: 10px;
}
.blog-card h4 { font-size: 16px; font-weight: 700; color: var(--wine-dark); margin-bottom: 8px; line-height: 1.4; }
.blog-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ── CTA / CONTACT ──────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine-dark) 50%, var(--wine) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(168,184,232,.06); top: -200px; right: -100px;
  pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-text h2 { color: white; }
.cta-text h2 span { color: var(--gold-light); }
.cta-text p  { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.cta-contact-items { display: flex; flex-direction: column; gap: 16px; }
.cta-contact-item { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.85); font-size: 15px; }
.cci-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(168,184,232,.2); border: 1px solid rgba(168,184,232,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.cta-contact-item a { color: inherit; }
.cta-form {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px; padding: 36px; backdrop-filter: blur(10px);
}
.cta-form h3 {
  font-family: 'Ubuntu', sans-serif; font-size: 20px; color: white;
  margin-bottom: 24px; font-weight: 700;
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12.5px; color: rgba(255,255,255,.72); margin-bottom: 5px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22); border-radius: 10px;
  color: white; font-family: 'Ubuntu', sans-serif; font-size: 14px; outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--wine-dark); }
.form-group textarea { resize: vertical; min-height: 88px; }
::placeholder { color: rgba(255,255,255,.38); }

/* ── FOOTER ─────────────────────────────── */
footer { background: var(--wine-deep); color: rgba(255,255,255,.65); padding: 56px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 54px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.5); }
footer h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: white; margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: rgba(255,255,255,.55); font-size: 13.5px; transition: color .2s; }
footer ul a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.38); flex-wrap: wrap; gap: 8px; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; color: rgba(255,255,255,.65); font-size: 15px;
}
.footer-social a:hover { background: var(--wine); border-color: var(--wine); color: white; transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ── FLOATING / FIXED CTAs ──────────────── */
.floating-actions {
  position: fixed; bottom: 28px; right: 28px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  z-index: 999;
}
.fab { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.3); transition: all .3s; font-size: 22px; }
.fab:hover { transform: scale(1.12); }
.fab-wa    { background: #25d366; }
.fab-phone { background: var(--wine); display: none; }

.fab-consult {
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  color: white; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 50px;
  font-family: 'Ubuntu', sans-serif; font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 28px rgba(124,92,191,.4);
  transition: all .3s; white-space: nowrap;
  animation: fadeInUp .8s ease 1.5s both;
  border: 1px solid rgba(168,184,232,.25);
}
.fab-consult:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 36px rgba(124,92,191,.5); }
.fab-consult .fab-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.9);
  animation: pulse-dot 1.5s ease infinite; flex-shrink: 0;
}

.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--wine-deep); border-top: 1px solid rgba(168,184,232,.25); padding: 10px 16px; gap: 8px; z-index: 998; }
.mob-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; border-radius: 10px; font-size: 13px; font-weight: 600; transition: all .2s; cursor: pointer; border: none; font-family: 'Ubuntu', sans-serif; }
.mob-btn-call { background: var(--wine); color: white; }
.mob-btn-wa   { background: #25d366; color: white; }
.mob-btn-form { background: rgba(255,255,255,.1); border: 1.5px solid rgba(168,184,232,.35); color: white; }

/* ── MODAL ───────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(46,31,94,.88); backdrop-filter: blur(8px); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: white; border-radius: 24px; padding: 40px 36px; max-width: 520px; width: 100%; position: relative; box-shadow: var(--shadow-lg); animation: fadeInUp .4s ease; }
.modal-close { position: absolute; top: 18px; right: 22px; background: rgba(124,92,191,.08); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--gray); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.modal-close:hover { background: #ede9f6; color: #7c5cbf; }
.modal-logo { height: 38px; margin-bottom: 20px; }
.modal-box h3 { font-family: 'Ubuntu', sans-serif; font-size: 22px; color: var(--wine-dark); margin-bottom: 6px; font-weight: 700; }
.modal-box .modal-desc { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.modal-form .field { margin-bottom: 13px; }
.modal-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--wine-dark); margin-bottom: 5px; letter-spacing: .02em; }
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #ddd8f0; border-radius: 10px;
  font-family: 'Ubuntu', sans-serif; font-size: 14px; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s; background: var(--gray-light);
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(124,92,191,.12); background: white; }
.modal-form textarea { resize: vertical; min-height: 80px; }
.modal-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-submit { width: 100%; margin-top: 8px; justify-content: center; font-size: 15px; padding: 14px; }
.modal-privacy { text-align: center; font-size: 12px; color: var(--gray); margin-top: 12px; }
.modal-status { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.modal-status.ok  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.modal-status.err { background: #fff5f5; color: #9b1c1c; border: 1px solid #fed7d7; }

/* ── PAIS SELECT ───────────────────────── */
.pais-select-wrap {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px; overflow: hidden;
}
.pais-flag-preview { padding: 0 10px; font-size: 20px; line-height: 1; flex-shrink: 0; }
.pais-flag-preview img { width: 22px; height: auto; border-radius: 2px; }
.pais-select-wrap select { background: transparent; border: none !important; flex: 1; padding: 12px 10px; }

/* ── TURNSTILE ────────────────────────── */
.turnstile-wrap { margin: 8px 0 16px; }
.cf-turnstile { min-height: 65px; }

/* ── ANIMATIONS ─────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce   { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .6; } }

/* ── SCROLL REVEAL ─────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1100px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-content { padding: 100px 20px 80px; }
  .hero-title { font-size: 36px; }
  .problems-grid  { grid-template-columns: 1fr 1fr; }
  .benefits-grid  { grid-template-columns: 1fr 1fr; }
  .steps-row      { grid-template-columns: 1fr 1fr; }
  .steps-row::before { display: none; }
  .modules-grid   { grid-template-columns: 1fr 1fr; }
  .industries-grid{ grid-template-columns: repeat(3, 1fr); }
  .analytics-inner{ grid-template-columns: 1fr; }
  .analytics-visual { min-height: 280px; }
  .plans-grid     { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .faq-grid       { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .cta-inner      { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .trust-bar      { gap: 20px; }
  .trust-divider  { display: none; }
  .nav-links      { display: none; }
  .hamburger      { display: flex; }
  .fab-phone      { display: flex; }
  .mobile-cta-bar { display: flex; }
  .fab-consult    { display: none; }
  footer          { padding-bottom: 80px; }
  .floating-actions { bottom: 88px; right: 16px; }
}
@media (max-width: 580px) {
  .benefits-grid  { grid-template-columns: 1fr; }
  .steps-row      { grid-template-columns: 1fr; }
  .modules-grid   { grid-template-columns: 1fr; }
  .industries-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; }
  section         { padding: 60px 16px; }
  .hero-content   { padding: 88px 16px 72px; }
  .hero-stats-row { gap: 0; flex-wrap: wrap; justify-content: center; }
  .hero-stat      { padding: 8px 16px; }
  .modal-box      { padding: 30px 22px; }
  .modal-form .field-row { grid-template-columns: 1fr; }
}
