/* ==========================================================================
   Factumex — sistema visual v4 · "SaaS fiscal de confianza"
   Overrides/tema propio sobre Bootstrap 5. Azul corporativo profundo +
   acento ámbar (sello de timbrado). Tarjetas redondeadas con sombra suave
   azulada, chips de icono, mesh gradient en hero/cierre, mockup de producto.
   Tipografía autoalojada: Sora (display) · Inter (cuerpo) · IBM Plex Mono
   (datos/folios) — ver fonts.css.
   ========================================================================== */

:root {
  --blue-950: #081B33;
  --blue-900: #0D2A4D;
  --blue-800: #123A66;
  --blue-700: #1B4E85;
  --blue-600: #2568B0;
  --blue-500: #3B82F6;
  --blue-100: #DCEAFB;
  --blue-50: #F4F8FD;
  --ink: #0F172A;
  --ink-soft: #4B5768;
  --ink-faint: #8E99AB;
  --line: #E3E9F1;
  --white: #FFFFFF;
  --amber-500: #F0A430;
  --amber-600: #C97F14;
  --amber-100: #FCEED4;
  --green-600: #16A34A;
  --green-100: #DCFCE7;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(13, 42, 77, 0.06);
  --shadow-md: 0 16px 40px rgba(13, 42, 77, 0.12);
  --shadow-blue: 0 14px 30px rgba(37, 104, 176, 0.28);

  /* Bootstrap theme bridge */
  --bs-body-font-family: 'Inter', system-ui, sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color: var(--blue-700);
  --bs-primary: var(--blue-600);
  --bs-primary-rgb: 37, 104, 176;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

b,
strong {
  font-weight: bold !important;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.01em;
}

section {
  padding: 112px 0;
}

@media (max-width:900px) {
  section {
    padding: 76px 0;
  }
}

@media (max-width:560px) {
  section {
    padding: 60px 0;
  }
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 7px 14px 7px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.on-dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #BFDBFE;
}

.on-dark .eyebrow .dot {
  background: var(--amber-500);
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.14;
}

.section-head {
  max-width: 70%;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 16px;
  line-height: 1.65;
}

.on-dark .section-head p {
  color: #B9D2EA;
}

.on-dark h2,
.on-dark h1,
.on-dark h3 {
  color: var(--white);
}

/* ---------- buttons (extend Bootstrap .btn) ---------- */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 104, 176, 0.36);
}

.btn-amber {
  background: var(--amber-500);
  color: var(--blue-950);
  box-shadow: 0 12px 26px rgba(240, 164, 48, 0.32);
  border-color: transparent;
}

.btn-amber:hover,
.btn-amber:focus {
  background: var(--amber-600);
  color: var(--blue-950);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--blue-700);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: var(--blue-500);
  color: var(--blue-800);
  transform: translateY(-2px);
  background: #fff;
}

.on-dark .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.on-dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- header / navbar (Bootstrap navbar look adapted) ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: linear-gradient(var(--white), var(--white) 60%, transparent);
}

.navbar-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.navbar-pill:hover {
  box-shadow: var(--shadow-md);
}

.logo-mark img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  padding: 9px 16px;
  border-radius: 100px;
  transition: background .15s ease, color .15s ease;
}

.nav-links a:hover {
  color: var(--blue-800);
  background: var(--blue-50);
}

.nav-links a.active {
  color: var(--blue-800);
  background: var(--blue-50);
  font-weight: 800;
}

.nav-login-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}

.nav-login-link:hover,
.nav-login-link:focus {
  color: var(--blue-800);
  border-color: var(--blue-500);
  background: var(--blue-50);
  transform: translateY(-1px);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(37, 104, 176, .2);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  font-size: 15px;
  font-weight: 600;
}

.nav-mobile a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink-soft);
  display: block;
}

.nav-mobile a.btn.btn-primary {
  color: #fff;
}

.nav-mobile a.active {
  color: var(--blue-800);
  background: var(--blue-50);
  font-weight: 800;
}

/* ---------- icon chips ---------- */
.chip {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-blue {
  background: var(--blue-50);
  color: var(--blue-600);
}

.chip-amber {
  background: var(--amber-100);
  color: var(--amber-600);
}

.chip-green {
  background: var(--green-100);
  color: var(--green-600);
}

.chip-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--amber-500);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 8% 0%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(560px 360px at 100% 10%, rgba(240, 164, 48, 0.10), transparent 55%),
    var(--white);
  padding: 104px 0 80px;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: .2;
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 20px;
  line-height: 1.68;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-100);
  border: 1px solid #F0DCB2;
  color: var(--amber-600);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 14px 8px 10px;
  border-radius: 100px;
  margin: 22px 0 6px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.hero-meta svg {
  color: var(--blue-600);
}

/* hero visual: floating invoice card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.invoice-card {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 22px 26px 24px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.invoice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber-500), var(--blue-600));
}

.invoice-card-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.invoice-card-chrome .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #DCE6F0;
}

.invoice-card-chrome .brand {
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.invoice-card-chrome .brand svg {
  color: var(--blue-600);
}

.invoice-card-chrome .tag {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.invoice-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.invoice-card-top .mono {
  font-size: 12px;
  color: var(--ink-faint);
}

.invoice-card-top .amount {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  margin-top: 4px;
}

.invoice-seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(201, 127, 20, 0.35);
  animation: float 4.5s ease-in-out infinite;
}

.invoice-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.invoice-line {
  height: 9px;
  border-radius: 5px;
  background: var(--blue-50);
}

.invoice-line.w-70 {
  width: 70%;
}

.invoice-line.w-45 {
  width: 45%;
}

.invoice-line.w-90 {
  width: 90%;
}

.invoice-card-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.floating-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.floating-chip.fc-1 {
  top: -20px;
  right: -24px;
  animation: float 5.5s ease-in-out infinite;
}

.floating-chip.fc-2 {
  bottom: -18px;
  left: -22px;
  animation: floatSlow 6.5s ease-in-out infinite 0.6s;
}

@media (max-width:960px) {
  .floating-chip {
    display: none;
  }

  .hero-visual {
    margin-top: 40px;
  }
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 104, 176, 0.10), transparent 70%);
  top: -40px;
  right: -40px;
  z-index: 1;
  animation: floatSlow 8s ease-in-out infinite;
}

/* ---------- section tints ---------- */
.tint-blue {
  background: var(--blue-50);
}

.tint-blue-100 {
  background: var(--blue-100);
}

.tint-white {
  background: var(--white);
}

/* ---------- ticker / beneficios ---------- */
.ticker-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ticker-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ticker-icon {
  width: 24px;
  height: 24px;
}

.ticker-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ticker-item p {
  font-size: 13.6px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ---------- mock window (producto) ---------- */
.mock-window {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C9D6E5;
}

.mock-bar .mock-title {
  margin-left: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-faint);
}

.mock-body {
  display: flex;
  min-height: 340px;
}

.mock-side {
  width: 158px;
  background: var(--blue-950);
  color: #8FAFCF;
  padding: 22px 14px;
  flex-shrink: 0;
  font-size: 12.5px;
}

.mock-side .mock-brand {
  color: #fff;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-side .mock-nav-item {
  padding: 10px 11px;
  border-radius: 9px;
  margin-bottom: 4px;
  border-left: 3px solid transparent;
}

.mock-side .mock-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  border-left-color: var(--amber-500);
}

.mock-main {
  flex: 1;
  padding: 22px 24px;
  min-width: 0;
}

.mock-main-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.mock-main-top h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}

.mock-stamp-btn {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(201, 127, 20, 0.3);
  white-space: nowrap;
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.8px;
}

.mock-table th {
  text-align: left;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--blue-50);
  color: var(--ink);
}

.status-pill {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.status-timbrada {
  background: var(--green-100);
  color: var(--green-600);
}

.status-pendiente {
  background: var(--amber-100);
  color: var(--amber-600);
}

.status-cancelada {
  background: var(--blue-50);
  color: var(--ink-faint);
}

/* ---------- función/guide/pkg cards ---------- */
.func-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}

.func-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.func-card .chip {
  margin-bottom: 20px;
}

.func-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
}

.func-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.58;
}

.func-footnote {
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--ink-faint);
  text-align: center;
}

.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.guide-card .guide-num {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 13.8px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ---------- pasos ---------- */
.step-item {
  position: relative;
  padding-top: 8px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-blue);
}

.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14.8px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.62;
}

/* ---------- públicos / audience ---------- */
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.audience-card .chip {
  margin-bottom: 20px;
}

.audience-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.audience-card>p,
.audience-card .audience-copy {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.audience-card .tag-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.audience-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}

.audience-list li svg {
  flex-shrink: 0;
  color: var(--green-600);
}

.audience-footnote {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-faint);
  text-align: center;
}

.support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}

.support-card .chip {
  width: 88px;
  height: 103px;
  border-radius: 13px;
}

/* ---------- diferenciadores ---------- */
.diff-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  height: 100%;
}

.diff-check {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.diff-copy h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 7px;
}

.diff-copy p {
  font-size: 14.2px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.58;
}

/* ---------- planes / paquetes ---------- */
.plan-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.plan-card.popular {
  border: 2px solid var(--amber-500);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 36px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 18px rgba(201, 127, 20, 0.32);
}

.plan-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.plan-card p {
  font-size: 14.8px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.plans-footnote {
  margin-top: 22px;
  font-size: 13.2px;
  color: var(--ink-faint);
  text-align: center;
}

.pkg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pkg-card.pkg-popular {
  border: 2px solid var(--amber-500);
  box-shadow: var(--shadow-md);
}

.pkg-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.pkg-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pkg-price {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 29px;
  color: var(--ink);
  margin-bottom: 4px;
}

.pkg-price span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-faint);
}

.pkg-includes {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.pkg-includes li {
  display: flex;
  gap: 8px;
  font-size: 13.6px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.pkg-includes li svg {
  flex-shrink: 0;
  color: var(--green-600);
  margin-top: 2px;
}

.pkg-desc {
  font-size: 13.2px;
  color: var(--ink-faint);
  margin: 16px 0 18px;
  line-height: 1.55;
}

.pkg-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- confianza / prueba gratuita ---------- */
.trust-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.trust-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.trust-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-600);
}

.trust-orb {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--blue-50), #fff);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.trust-orb::before {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1.5px dashed var(--blue-100);
}

.trust-orb .core {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.trust-orb .caption {
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--blue-700);
}

/* ---------- FAQ (Bootstrap accordion skin) ---------- */
.faq-accordion .accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: none;
}

.faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-accordion .accordion-button {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  padding: 20px 22px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(37, 104, 176, .15);
}

.faq-accordion .accordion-button::after {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background-color: var(--blue-50);
  border-radius: 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3e%3cpath d='M6 1.5V10.5M1.5 6H10.5' stroke='%232568B0' stroke-width='1.4' stroke-linecap='round'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3e%3cpath d='M1.5 6H10.5' stroke='%232568B0' stroke-width='1.4' stroke-linecap='round'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 720px;
}

/* ---------- closing / cierre ---------- */
.closing-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(760px 420px at 20% 0%, rgba(59, 130, 246, 0.28), transparent 60%),
    radial-gradient(560px 360px at 90% 100%, rgba(240, 164, 48, 0.16), transparent 55%),
    linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 60%, var(--blue-800) 100%);
  color: var(--white);
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.closing-section h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.closing-section p.lead {
  color: #BFDBFE;
  font-size: 17px;
  margin: 18px 0 6px;
  line-height: 1.65;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 164, 48, 0.14);
  border: 1px solid rgba(240, 164, 48, 0.4);
  color: var(--amber-500);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 15px;
  border-radius: 100px;
  margin: 20px 0 30px;
}

.closing-login {
  margin: 18px 0 0;
  font-size: 14.5px;
  color: #9FC1E0;
}

.closing-login a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: text-decoration-color .15s ease;
}

.closing-login a:hover,
.closing-login a:focus {
  text-decoration-color: #fff;
}

.closing-meta {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
  color: #9FC1E0;
}

/* ---------- activación split-cta (precios) ---------- */
.split-cta {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  color: #fff;
  margin-top: 52px;
  box-shadow: var(--shadow-md);
}

.split-cta h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 6px;
}

.split-cta p {
  color: #B9D2EA;
  font-size: 14.5px;
  margin: 0;
}

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--blue-950);
  color: #7C99B8;
  padding: 44px 0;
  font-size: 13.5px;
}

footer.site-footer .logo-mark img {
  height: 26px;
}

/* ---------- scroll-reveal animation system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16, .8, .3, 1), transform .7s cubic-bezier(.16, .8, .3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .floating-chip.fc-1,
  .floating-chip.fc-2,
  .invoice-seal,
  .hero-visual::before,
  .eyebrow .dot {
    animation: none;
  }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3882c6;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px #2d6da766;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff;
  background: #1DA851;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(19, 128, 74, 0.46);
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}