/* =============================================
   FLUYEN — Landing CSS (versión limpia)
   - Inter como fuente base
   - Paleta verde/navy/purple/blue
   - Stripe en nav y trust manejado desde HTML
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Tokens base */
:root {
  --green:    #22C55E;
  --green-dk: #16A34A;
  --green-lt: #DCFCE7;

  --navy:  #1A2540;
  --bg:    #F5F6F8;
  --white: #FFFFFF;

  --border: #E5E7EB;
  --text:   #374151;
  --muted:  #6B7280;

  --purple:    #7C3AED;
  --purple-lt: #EDE9FE;

  --blue:    #2563EB;
  --blue-lt: #DBEAFE;

  --radius:    12px;
  --radius-lg: 16px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 720px;

  --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Base */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= NAV ================= */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Fluyen */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo span {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

/* Zona derecha del nav */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Enlace Stripe (solo logo) */
.nav-stripe {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-stripe img {
  display: block;
  height: 24px;
  width: auto;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0.08));
  transition: transform 0.15s ease, filter 0.15s ease;
}

.nav-stripe:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 8px rgba(15,23,42,0.15));
}

/* Badge tipo “Secure / Verified” simple (opcional, sin Stripe inventado) */
.stripe-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.stripe-badge strong {
  color: #635BFF;
}

/* =============== HERO =================== */

.hero {
  padding: 50px 0 30px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  box-shadow: var(--shadow);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 600px;
}

h1 .green {
  color: var(--green);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.75;
}

.hero-sub strong {
  color: var(--navy);
}

/* CTA principal */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(34,197,94,0.35);
  transition: background .2s, transform .15s;
  width: 100%;
  max-width: 480px;
}

.btn-cta:hover {
  background: var(--green-dk);
  transform: translateY(-2px);
}

/* Microcopy bajo el CTA */
.hero-microcopy {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.hero-legal {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Enlaces inline (Términos, Privacidad) */
.link-inline {
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.link-inline:hover {
  opacity: .75;
}

/* =============== SECTORES ============== */

.sectors {
  padding: 30px 0 64px;
  background: #ffffff;
  text-align: center;
}

.sectors-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.sectors-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.sector-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 16px;
  text-align: left;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.sector-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-purple { background: var(--purple-lt); color: var(--purple); }
.icon-green  { background: var(--green-lt);  color: var(--green-dk); }
.icon-blue   { background: var(--blue-lt);   color: var(--blue); }

.sector-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.sector-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =============== TRUST ================= */

.trust {
  padding: 0 0 64px;
  text-align: center;
}

/* Card de confianza normal (si la usas como secundaria) */
.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: left;
  max-width: 480px;
  margin: 0 auto 12px;
  box-shadow: var(--shadow);
}

/* Cabecera de confianza principal (Stripe + texto) */
.trust-main-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4px 10px;
  max-width: 580px;
  margin: 0 auto 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-lt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.84rem;
  color: var(--muted);
}

.trust-text strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.trust-highlight {
  color: var(--navy);
  font-weight: 600;
}

.trust-legal {
  font-size: 0.75rem;
  color: var(--muted);
}

/* =============== FOOTER =============== */

.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
}

/* =============== MODALES ============== */

.modal[aria-hidden="true"] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.5);
}

.modal-dialog {
  position: relative;
  max-width: 620px;
  margin: 5vh auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.modal-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
