/* =====================================================================
   Sicaja® — Design System 2026
   Rediseño visual: paleta refinada, sombras en capas, tipografía Inter,
   componentes consistentes. Conserva todos los nombres de clase previos.
   ===================================================================== */

:root {
  /* Marca Sicaja */
  --primary: #2BB6E8;          /* cian de marca, ligeramente más profundo para contraste */
  --primary-light: #7DD7F8;
  --primary-dark: #1796C8;
  --secondary: #9900CC;        /* morado */
  --secondary-light: #B333D6;
  --secondary-dark: #7000A0;
  --accent: #FFCC00;           /* amarillo */
  --accent-light: #FFD633;
  --accent-dark: #E0A800;

  /* Neutros (escala slate refinada) */
  --ink: #0B1220;              /* texto principal casi negro */
  --ink-soft: #334155;         /* texto secundario */
  --gray: #5B6B7F;             /* texto terciario / muted */
  --gray-light: #94A3B8;
  --line: #E7ECF3;             /* bordes */
  --line-strong: #D6DEE8;
  --surface: #FFFFFF;
  --surface-2: #F7FAFC;        /* fondo suave */
  --surface-3: #EEF4F9;
  --dark: #0B1220;
  --light: #F7FAFC;
  --white: #ffffff;

  /* Sombras en capas (look SaaS profesional) */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.06);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.07), 0 2px 4px rgba(15,23,42,0.05);
  --shadow-lg: 0 12px 28px rgba(15,23,42,0.10), 0 4px 10px rgba(15,23,42,0.05);
  --shadow-xl: 0 24px 50px -12px rgba(15,23,42,0.22);
  --shadow-primary: 0 10px 24px -6px rgba(43,182,232,0.45);
  --shadow-accent: 0 10px 24px -6px rgba(255,204,0,0.40);

  --radius: 18px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gradient-primary: linear-gradient(135deg, #2BB6E8 0%, #1796C8 100%);
  --gradient-secondary: linear-gradient(135deg, #9900CC 0%, #7000A0 100%);
  --gradient-tertiary: linear-gradient(120deg, #2BB6E8 0%, #9900CC 100%);
  --gradient-warm: linear-gradient(135deg, #FFD633 0%, #FFB800 100%);
  --gradient-hero: radial-gradient(1200px 600px at 80% -10%, rgba(153,0,204,0.35) 0%, rgba(153,0,204,0) 60%),
                   radial-gradient(900px 500px at 0% 110%, rgba(255,204,0,0.18) 0%, rgba(255,204,0,0) 55%),
                   linear-gradient(135deg, #1E9FD6 0%, #2BB6E8 45%, #36C0EE 100%);

  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(43,182,232,0.22); color: var(--ink); }

img { max-width: 100%; display: block; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; color: var(--gray); }

a { color: inherit; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }

.bg-light { background: var(--surface-2); }

.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  background: var(--gradient-tertiary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { font-size: 1.075rem; color: var(--gray); margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 0.975rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(0) scale(0.99); }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -6px rgba(43,182,232,0.55); }

.btn-accent {
  background: var(--gradient-warm);
  color: #2a1d00;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -6px rgba(255,204,0,0.5); }

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* ---------- Animaciones ---------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes fadeInUp { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: translateY(0); } }

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-fade-in { animation: fadeInUp 0.8s ease-out forwards; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.9);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.announcement-bar {
  background: linear-gradient(90deg, #2d0054 0%, #5500b0 50%, #2d0054 100%);
  color: #fff;
  text-align: center;
  padding: 9px 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  line-height: 1.25;
}
.announcement-bar a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.2s;
  white-space: nowrap;
}
.announcement-bar a:hover { opacity: 0.8; }
.announcement-bar strong { color: var(--accent-light); }
.announcement-new {
  background: var(--accent);
  color: #2d0054;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}
.logo:hover { opacity: 0.85; }
.logo img { height: 38px; width: auto; display: block; }
.logo span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 550;
  font-size: 0.94rem;
  line-height: 1;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--secondary); }
.nav-links .btn { color: #fff; }
.nav-links .btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 11rem 0 6rem;
  color: #fff;
}
.hero::after {
  /* sutil grid de puntos para profundidad */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-shapes { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.10); filter: blur(8px); }
.shape-1 { width: 600px; height: 600px; top: -300px; right: -200px; animation: float 20s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; bottom: -200px; left: -100px; animation: float 15s ease-in-out infinite reverse; }
.shape-3 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: float 25s ease-in-out infinite; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { animation: fadeInUp 0.8s ease-out; }

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255,255,255,0.28);
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.35rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.12);
}
.hero h1 .text-gradient { text-shadow: none; }
.hero p {
  font-size: 1.14rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,0.95);
  max-width: 36rem;
}

.hero-stats {
  display: flex;
  gap: 2.75rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.stat-item { display: flex; flex-direction: column; }
.stat-item strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.15rem;
  line-height: 1;
}
.stat-item span { font-size: 0.85rem; color: rgba(255,255,255,0.82); }

/* Hero visual */
.hero-visual { position: relative; animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero-image { position: relative; }
.dashboard-mockup { width: 100%; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 25px 50px rgba(0,0,0,0.3)); }
.floating-card { position: absolute; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2)); }
.card-1 { top: 10%; left: -8%; animation-delay: 0s; }
.card-2 { top: 60%; right: -4%; animation-delay: 2s; }
.card-3 { bottom: 4%; left: 10%; animation-delay: 4s; }

/* ---------- Ecosistema ---------- */
.ecosystem-section { background: linear-gradient(180deg, #ffffff 0%, #f3fafe 100%); }
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.ecosystem-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ecosystem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--line-strong); }
.ecosystem-card h3 { margin-top: 1rem; margin-bottom: 0.6rem; }
.ecosystem-card > .btn { margin-top: auto; }
.ecosystem-card-win { border-top: 4px solid var(--primary); }
.ecosystem-card-express { border-top: 4px solid var(--accent); }
.ecosystem-card-forte { border-top: 4px solid var(--secondary); }

.product-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.product-pill-win { background: rgba(43,182,232,0.12); color: #1796C8; }
.product-pill-express { background: rgba(255,204,0,0.2); color: #8a6400; }
.product-pill-forte { background: rgba(153,0,204,0.1); color: var(--secondary-dark); }

/* ---------- Feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: #fff;
  padding: 2.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-card h3 { font-size: 1.3rem; font-weight: 750; margin-bottom: 0.6rem; color: var(--ink); }
.feature-card p { color: var(--gray); line-height: 1.7; }

.modern-card { position: relative; overflow: hidden; }
.modern-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-tertiary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.modern-card:hover::before { transform: scaleX(1); }

.icon-gradient {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(43,182,232,0.12), rgba(153,0,204,0.10));
  border-radius: 16px;
  margin-bottom: 1.3rem;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), background 0.4s ease;
}
.modern-card:hover .icon-gradient { transform: scale(1.08) rotate(4deg); background: linear-gradient(135deg, rgba(43,182,232,0.2), rgba(153,0,204,0.16)); }

.icon-box {
  width: 48px; height: 48px;
  background: rgba(43,182,232,0.10);
  color: var(--secondary);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}

/* ---------- Tabs ---------- */
.tabs-container {
  display: flex;
  gap: 2rem;
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.tab-nav { flex: 0 0 240px; display: flex; flex-direction: column; gap: 0.35rem; }
.tab-btn {
  text-align: left;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  transition: all 0.2s;
}
.tab-btn:hover { background: var(--surface-2); color: var(--secondary); }
.tab-btn.active { background: linear-gradient(135deg, rgba(153,0,204,0.10), rgba(43,182,232,0.08)); color: var(--secondary); box-shadow: inset 0 0 0 1px rgba(153,0,204,0.12); }

.tab-content { flex: 1; padding: 0.5rem 0.5rem 0.5rem 1rem; }
.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-size: 1.45rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.pricing-card {
  background: #fff;
  padding: 2.4rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }
.pricing-card h3 { font-size: 1.25rem; }
.pricing-card.featured { border: 2px solid var(--secondary); box-shadow: var(--shadow-xl); }
.pricing-card > .btn { margin-top: auto; }

.price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  margin: 1.1rem 0 0.25rem;
  letter-spacing: -0.02em;
}
.price span { font-size: 0.95rem; color: var(--gray); font-weight: 500; }

.features-list { list-style: none; margin: 1.5rem 0; text-align: left; }
.features-list li { margin-bottom: 0.7rem; display: flex; align-items: flex-start; gap: 0.55rem; color: var(--ink-soft); font-size: 0.96rem; }
.check {
  color: #fff;
  background: var(--gradient-primary);
  font-weight: bold;
  min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-row { margin-bottom: 1rem; }
label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
input, select, textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--gray-light); }
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43,182,232,0.18);
}
.form-status { margin-top: 0.6rem; font-size: 0.9rem; color: var(--secondary); }

.contact-info {
  background: linear-gradient(160deg, #ffffff 0%, #f3fafe 100%);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.contact-info li { margin-bottom: 0.55rem; color: var(--gray); }

.link { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link-primary { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.link-primary:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.85rem;
  padding: 1.1rem 1.3rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.faq-item summary {
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 0.85rem; margin-bottom: 0; color: var(--gray); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: #fff; margin-bottom: 1.25rem; font-size: 1rem; }
.footer p { color: #9FB0C3; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.7rem; }
.footer a { color: #9FB0C3; text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #7E8FA3;
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; color: #7E8FA3; }
.site-signature { font-size: 0.8rem; color: #9FB0C3; font-style: italic; }

/* ---------- WhatsApp Widget ---------- */
.whatsapp-widget {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,0.45);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  z-index: 1000;
  animation: whatsappPulse 2.4s infinite;
}
.whatsapp-widget:hover { transform: scale(1.08); box-shadow: 0 10px 24px rgba(37,211,102,0.6); }
@keyframes whatsappPulse {
  0%,100% { box-shadow: 0 6px 18px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 26px rgba(37,211,102,0.7); }
}

/* ---------- Utilidades (conservadas) ---------- */
.u-d-block { display: block; }
.u-block { display: block; }
.u-flex-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.u-text-left { text-align: left; }
.u-color-gray { color: var(--gray); }
.u-mt-025 { margin-top: 0.25rem; }
.u-mt-05 { margin-top: 0.5rem; }
.u-mt-075 { margin-top: 0.75rem; }
.u-mt-1 { margin-top: 1rem; }
.u-mt-2 { margin-top: 2rem; }
.btn-full { width: 100%; }
.btn-pad-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.u-list-unstyled { list-style: none; padding-left: 0; }
.u-flex-grid-center { display: flex; gap: 1.75rem; flex-wrap: wrap; justify-content: center; }
.card-360 { max-width: 360px; }
.card-460 { max-width: 460px; }
.text-sm { font-size: 0.9rem; }
.u-mb-08 { margin-bottom: 0.8rem; }
.mini-note { font-size: 0.92rem; }

/* Bloque destacado genérico */
.highlight-box {
  margin-top: 3rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(43,182,232,0.12), rgba(153,0,204,0.12));
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.highlight-box h3 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.highlight-box p { margin: 0; color: var(--gray); }

.breadcrumb { font-size: 0.85rem; margin-bottom: 1.5rem; color: var(--gray); }
.hl-card { min-width: 260px; max-width: 320px; }

/* ---------- Complementos Bar ---------- */
.complementos-bar {
  background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0 1.5rem;
}
.complementos-header { text-align: center; max-width: 820px; margin: 0 auto 1rem; }
.complementos-kicker {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gray); margin: 0 0 0.35rem;
}
.complementos-title {
  font-size: 1.6rem; font-weight: 800; margin: 0 0 0.5rem;
  background: var(--gradient-tertiary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.complementos-subtitle { margin: 0; color: var(--gray); }
.complementos-grid { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.complemento-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.complemento-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.complemento-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--gradient-primary);
  border-radius: 11px; color: #fff;
}
.complemento-text { display: flex; flex-direction: column; line-height: 1.3; }
.complemento-text strong { font-size: 0.95rem; font-weight: 650; }
.complemento-text small { font-size: 0.8rem; color: var(--gray); }
.complemento-arrow { font-size: 1.1rem; color: var(--gray); transition: transform 0.2s ease; }
.complemento-item:hover .complemento-arrow { transform: translateX(4px); color: var(--primary); }
.complemento-item-express {
  border-color: rgba(255,204,0,0.55);
  background: linear-gradient(135deg, rgba(255,204,0,0.14) 0%, #fff 100%);
}
.complemento-item-express .complemento-icon { background: var(--gradient-warm); color: var(--ink); }

@media (max-width: 640px) {
  .complementos-title { font-size: 1.35rem; }
  .complementos-grid { flex-direction: column; gap: 0.75rem; }
  .complemento-item { width: 100%; justify-content: flex-start; }
}

/* ---------- Documentación (scoped) ---------- */
.doc-main { max-width: 950px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; background: #fff; }
.doc-lead { font-size: 1rem; margin-bottom: 2rem; color: var(--gray); }
.doc-box { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; margin-top: 0.5rem; background: var(--surface-2); }
.doc-table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; font-size: 0.9rem; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 0.5rem 0.65rem; text-align: left; }
.doc-table th { background: var(--surface-3); color: var(--ink); }

/* ---------- Manual Inicio Rápido (scoped) ---------- */
.manual-quickstart { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; background: #fff; }
.manual-quickstart h1 { font-size: 2rem; margin-bottom: 1rem; color: var(--ink); }
.manual-quickstart h2 {
  margin-top: 2.5rem; margin-bottom: 0.8rem; font-size: 1.4rem;
  color: var(--primary-dark); border-bottom: 2px solid var(--primary); padding-bottom: 0.4rem;
}
.manual-quickstart h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--ink); }
.manual-quickstart p, .manual-quickstart li { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.manual-quickstart ul { padding-left: 1.3rem; margin: 0.5rem 0 1rem; }
.manual-quickstart li { margin-bottom: 0.3rem; }
.manual-quickstart .task-card {
  background: var(--surface-2);
  border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem; margin: 1.5rem 0; border-radius: 10px;
}
.manual-quickstart .task-card h3 { margin-top: 0; color: var(--primary-dark); display: flex; align-items: center; gap: 0.5rem; }
.manual-quickstart .task-card ul { margin-top: 0.8rem; }
.manual-quickstart code {
  background: var(--surface-3); padding: 0.15rem 0.4rem; border-radius: 6px;
  font-family: 'Courier New', monospace; font-size: 0.9em; color: var(--secondary-dark);
}
.manual-quickstart .intro-box {
  background: var(--gradient-tertiary);
  color: #fff; padding: 1.5rem 2rem; border-radius: 14px; margin-bottom: 2rem;
}
.manual-quickstart .intro-box h1 { color: #fff; margin-bottom: 0.5rem; }
.manual-quickstart .intro-box p { color: rgba(255,255,255,0.95); font-size: 1rem; }

/* ---------- AI Launch Elements ---------- */
@keyframes pulse-border {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,204,0,0.55); }
  50% { box-shadow: 0 0 0 8px rgba(255,204,0,0); }
}
.ai-launch-callout {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(0,0,0,0.20);
  border: 1.5px solid rgba(255,204,0,0.55);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: pulse-border 3s ease-in-out infinite;
}
.ai-launch-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #9900CC, #6600AA);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(153,0,204,0.45);
}
.ai-launch-label {
  display: block; font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin-bottom: 0.2rem;
}
.ai-launch-content strong { color: #fff; font-size: 0.95rem; font-weight: 700; display: block; }
.ai-launch-cta {
  margin-left: auto;
  background: var(--gradient-warm); color: #1a0030;
  font-weight: 700; font-size: 0.8rem;
  padding: 0.45rem 1.1rem; border-radius: var(--radius-pill);
  text-decoration: none; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0;
}
.ai-launch-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,204,0,0.45); }

.ai-chip-inner {
  display: flex; align-items: center; gap: 0.65rem;
  background: linear-gradient(135deg, #9900CC, #5a00aa);
  border-radius: 14px; padding: 0.75rem 1.1rem;
  box-shadow: 0 8px 24px rgba(153,0,204,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  min-width: 155px;
}
.ai-chip-label {
  display: block; color: rgba(255,255,255,0.75);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 2px;
}
.ai-chip-title { display: block; color: #fff; font-size: 0.82rem; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 3rem; }
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 9rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .u-flex-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1.75rem; }
  .hero-image { display: none; }
  .container { padding: 0 1.1rem; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
    gap: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links .btn { width: 100%; }

  .tabs-container { flex-direction: column; padding: 1.25rem; }
  .tab-nav { flex: auto; flex-direction: row; flex-wrap: wrap; }
  .tab-content { padding: 1rem 0 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-grid, .grid-3 { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .announcement-bar { font-size: 0.75rem; padding: 8px 1rem; gap: 0.5rem; }
  .ai-launch-callout { flex-wrap: wrap; }
  .ai-launch-cta { margin-left: 0; }
  .whatsapp-widget { bottom: 1rem; right: 1rem; width: 56px; height: 56px; }
}

/* =====================================================================
   REDISEÑO 2026 — Hero claro enfocado en Sicaja Win + Reseñas
   ===================================================================== */
.is-hidden { display: none !important; }

/* Eyebrow de sección */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

/* Texto con gradiente de marca (cian->morado) para fondos claros */
.text-gradient-brand {
  background: var(--gradient-tertiary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- HERO claro ---------- */
.hero.hero--light {
  background: linear-gradient(180deg, #ffffff 0%, #f1f9fe 55%, #eaf5fc 100%);
  color: var(--ink);
  padding: 9.5rem 0 0;
  isolation: isolate;
}
.hero.hero--light::after { content: none; }
.hero--light .hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero--light .hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.hero--light .hero-blob-1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(43,182,232,0.45), transparent 70%); }
.hero--light .hero-blob-2 { width: 460px; height: 460px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(153,0,204,0.28), transparent 70%); }

.hero--light .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 4.5rem;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }

.hero--light h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.3rem;
  text-shadow: none;
  letter-spacing: -0.025em;
}
.hero--light p {
  color: var(--ink-soft);
  font-size: 1.16rem;
  line-height: 1.65;
  max-width: 37rem;
  margin-bottom: 2rem;
}
.hero--light p strong { color: var(--ink); font-weight: 700; }

.hero-cta { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hero-proof { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.stars { color: #FFB400; letter-spacing: 0.05em; font-size: 1rem; }
.stars-lg { font-size: 1.35rem; }
.hero-stars { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-stars strong { color: var(--ink); font-size: 1.05rem; }
.hero-proof-sep { width: 1px; height: 20px; background: var(--line-strong); }
.hero-proof-text { color: var(--gray); font-size: 0.95rem; font-weight: 500; }

.hero-express-note {
  font-size: 0.95rem; color: var(--gray); margin: 0;
  padding-top: 1.1rem; border-top: 1px dashed var(--line-strong);
}
.hero-express-note a { color: var(--secondary); font-weight: 650; text-decoration: none; }
.hero-express-note a:hover { text-decoration: underline; }

/* Métricas bajo el hero (banda flotante que sube sobre el hero) */
.hero-metrics-wrap { position: relative; z-index: 5; margin-top: -3.25rem; margin-bottom: 1.5rem; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1rem;
}
.hero-metric { text-align: center; padding: 0.25rem 0.5rem; }
.hero-metric strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; background: var(--gradient-tertiary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-metric span { font-size: 0.82rem; color: var(--gray); }
.hero-metric + .hero-metric { border-left: 1px solid var(--line); }

/* ---------- App window mockup ---------- */
.app-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,0.30), 0 10px 24px -12px rgba(15,23,42,0.15);
  overflow: hidden;
}
.app-window-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #fbfdff, #f1f6fb);
  border-bottom: 1px solid var(--line);
}
.aw-dot { width: 11px; height: 11px; border-radius: 50%; background: #d7dee7; }
.aw-dot:nth-child(1){ background:#ff5f57;} .aw-dot:nth-child(2){ background:#febc2e;} .aw-dot:nth-child(3){ background:#28c840;}
.aw-title { margin-left: 0.75rem; font-size: 0.8rem; color: var(--gray); font-weight: 600; }
.app-window-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.85rem; }
.aw-kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0.7rem; }
.aw-kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.85rem; }
.aw-kpi-primary { background: var(--gradient-primary); border: none; color: #fff; }
.aw-kpi-label { font-size: 0.7rem; opacity: 0.85; display: block; margin-bottom: 0.2rem; }
.aw-kpi-primary .aw-kpi-label { color: rgba(255,255,255,0.9); }
.aw-kpi-value { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.aw-kpi-primary .aw-kpi-value { color: #fff; }
.aw-kpi-trend { font-size: 0.72rem; color: #d7fbe7; font-weight: 700; }
.aw-chart { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 0.4rem; height: 96px; }
.aw-chart svg { width: 100%; height: 100%; display: block; }
.aw-rows { display: flex; flex-direction: column; gap: 0.45rem; }
.aw-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.65rem; }
.aw-row > span:nth-child(2){ flex: 1; }
.aw-row-amt { font-weight: 700; color: var(--ink); }
.aw-row-amt.aw-ok { color: #16a34a; }
.aw-tag { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; padding: 0.2rem 0.45rem; border-radius: 6px; }
.aw-tag-cfdi { background: rgba(153,0,204,0.12); color: var(--secondary); }
.aw-tag-inv { background: rgba(43,182,232,0.14); color: var(--primary-dark); }
.aw-tag-pos { background: rgba(22,163,74,0.14); color: #15803d; }

.hero-float-badge {
  position: absolute; bottom: 1.5rem; left: -1.5rem;
  display: flex; align-items: center; gap: 0.65rem;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: 14px; padding: 0.7rem 1rem;
  animation: float 6s ease-in-out infinite;
}
.hfb-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.hero-float-badge strong { display: block; font-size: 0.85rem; color: var(--ink); }
.hero-float-badge span { font-size: 0.75rem; color: var(--gray); }

/* ---------- Reseñas ---------- */
.reviews-section { background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%); }
.reviews-summary { display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-top: 0.85rem; }
.reviews-summary strong { font-size: 1.2rem; color: var(--ink); }
.reviews-count { color: var(--gray); font-size: 0.95rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.review-card p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; margin: 0; }
.review-author { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-tertiary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.95rem; color: var(--ink); }
.review-author span { font-size: 0.82rem; color: var(--gray); }
.reviews-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Responsive del rediseño ---------- */
@media (max-width: 980px) {
  .hero--light .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); }
  .hero-metric:nth-child(4), .hero-metric:nth-child(5) { border-top: 1px solid var(--line); padding-top: 0.75rem; }
  .hero-metric:nth-child(4) { border-left: none; }
}
@media (max-width: 768px) {
  .hero.hero--light { padding-top: 8rem; }
  .hero--light .hero-cta { justify-content: center; }
  .hero--light p { margin-left: auto; margin-right: auto; }
  .hero-proof { justify-content: center; }
  .hero-image { display: block; }
  .hero-float-badge { left: 0.5rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-metrics-wrap { margin-top: 0; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-metric { border-left: none !important; border-top: 1px solid var(--line); padding-top: 0.85rem; }
  .hero-metric:nth-child(1), .hero-metric:nth-child(2) { border-top: none; }
}
@media (max-width: 420px) {
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .aw-kpis { grid-template-columns: 1fr; }
}
