/* ============================================================
   CONTAVLE — Funcionalidades CSS
   ============================================================ */

/* ====== QUICK NAV ======
   Sticky bar bajo el nav superior. Active state en azul Contavle.
   ============================================================ */
.func-nav-section {
  position: sticky;
  top: 70px;
  z-index: 50;
  padding: 14px 0 14px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.func-nav-section.is-stuck {
  border-bottom-color: var(--mist);
  background: rgba(255,255,255,0.92);
}
.func-quick-nav {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 4px 20px rgba(15,17,42,0.05), 0 1px 3px rgba(15,17,42,0.04);
  white-space: nowrap;
  position: relative;
}
.func-quick-nav::-webkit-scrollbar { display: none; }
.func-quick-nav li {
  position: relative;
  flex-shrink: 0;
}
.func-quick-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
}
.func-quick-nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--mist);
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}
.func-quick-nav a:hover {
  background: var(--whisper);
  color: var(--ink);
}
.func-quick-nav a:hover::before {
  border-color: var(--graphite);
}
.func-quick-nav a.is-active {
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 16px rgba(15,17,42,0.25);
}
.func-quick-nav a.is-active::before {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(195,231,107,0.30);
}

/* ====== FUNCTION BLOCK ====== */
.func-block {
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--bg);
  scroll-margin-top: 140px;
}
.func-block-alt { background: var(--paper); }
.func-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.func-grid-rev { direction: rtl; }
.func-grid-rev > * { direction: ltr; }

.func-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
  padding: 5px 10px;
  background: var(--whisper);
  border: 1px solid var(--mist);
  border-radius: 999px;
}
.func-block-alt .func-tag { background: var(--bg); }
.func-text h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1.05;
}
.func-text > p {
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 92%;
}
.func-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.func-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.func-features .tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.func-features li .tick em,
.func-text p em,
.func-features li em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.func-features li em {
  display: inline-block;
  background: var(--whisper);
  border: 1px solid var(--mist);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-size: 10px;
}
.func-features li .tick em {
  display: inline-block;
  background: var(--whisper);
  border: 1px solid var(--mist);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.func-features .tick-soon {
  background: transparent;
  border: 1.5px dashed var(--ink);
  color: var(--ink);
  font-size: 9px;
  opacity: 0.55;
}
.func-features li:has(.tick-soon) {
  color: var(--graphite);
}
.func-text p em {
  background: var(--whisper);
  border: 1px solid var(--mist);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.btn-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 12px 20px 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-arrow-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn-arrow-link:hover {
  color: var(--ink);
  border-color: var(--lime);
}
.btn-arrow-link:hover::before { transform: translateX(0); }
.btn-arrow-link span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-arrow-link:hover span {
  background: var(--ink);
  color: var(--lime);
  transform: translateX(3px);
}

.func-visual { display: grid; place-items: center; }

/* ====== REAL PRODUCT MOCKUPS ====== */
.func-mockup {
  position: relative;
  width: 100%;
  max-width: 540px;
  isolation: isolate;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}
.func-mockup.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.func-mockup::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 30% 20%, rgba(195,231,107,0.35), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(15,17,42,0.10), transparent 55%);
  filter: blur(30px);
  z-index: -1;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1.2s var(--ease) 0.3s;
}
.func-mockup.in-view::before { opacity: 0.85; }
.func-mockup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f7f8fb);
  box-shadow:
    0 40px 100px rgba(15,17,42,0.16),
    0 12px 36px rgba(15,17,42,0.08),
    0 1px 0 rgba(255,255,255,0.8) inset;
  border: 1px solid rgba(15,17,42,0.06);
  transition: transform 0.5s var(--ease);
}
.func-mockup:hover img {
  transform: translateY(-4px);
}

/* When mockup is inside dark/alt section, use deeper shadow */
.func-block-alt .func-mockup img {
  box-shadow:
    0 50px 120px rgba(15,17,42,0.20),
    0 16px 40px rgba(15,17,42,0.10);
}


/* ====== VISUAL: Invoice ====== */
.fv-invoice {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.fv-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mist);
}
.fv-invoice-header strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
}
.fv-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.fv-pill-ok { background: var(--lime-mist); color: #0a8a4e; }
.fv-invoice-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.fv-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
}
.fv-row span { color: var(--graphite); }
.fv-row strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.fv-row-tot {
  border-top: 1px solid var(--mist);
  padding-top: 14px;
  font-size: 16px;
}
.fv-row-tot em { color: var(--slate); font-style: normal; font-size: 12px; }
.fv-row-tot strong { font-size: 18px; letter-spacing: -0.02em; }
.fv-invoice-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--mist);
  padding-top: 14px;
  margin-top: 4px;
}
.fv-mini {
  font-size: 11px;
  color: var(--slate);
  font-family: var(--font-mono);
}

/* ====== VISUAL: Quote ====== */
.fv-quote {
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.fv-quote-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-mist);
  color: #0a8a4e;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.fv-quote-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.fv-quote-title {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.fv-quote-amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1;
}
.fv-quote-meta {
  font-size: 12.5px;
  color: var(--slate);
  display: block;
  margin-bottom: 22px;
}
.fv-quote-btn {
  background: var(--ink);
  color: white;
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
}

/* ====== VISUAL: Ledger ====== */
.fv-ledger {
  width: 100%;
  max-width: 440px;
  background: var(--ink);
  color: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  font-family: var(--font-mono);
}
.fv-ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fv-ledger-head strong {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fv-ledger-head span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
}
.fv-ledger-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12.5px;
}
.fv-ledger-row:last-child { border-bottom: none; }
.lcode { color: var(--lime); font-weight: 600; }
.lname { color: rgba(255,255,255,0.85); font-family: var(--font-display); font-weight: 500; }
.lname em { color: rgba(255,255,255,0.55); font-style: italic; font-size: 12px; }
.ldebe { color: #fbbf24; font-weight: 600; }
.lhaber { color: var(--lime); font-weight: 600; }
.fv-ledger-row-ai { background: rgba(195,231,107,0.06); }
.ai-mark {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ====== VISUAL: Cash-flow ====== */
.fv-cash {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
}
.fv-cash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.fv-cash-head strong {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
}
.fv-cash-up {
  background: var(--lime-mist);
  color: #0a8a4e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.fv-cash-bars {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 110px;
  margin-bottom: 18px;
}
.fv-cash-bars .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--whisper), #e8e8e6);
  border: 1px solid var(--mist);
  border-radius: 6px 6px 2px 2px;
  min-height: 12px;
}
.bar-now {
  background: linear-gradient(180deg, var(--lime), var(--lime-dark));
  border-color: var(--lime-dark);
  box-shadow: 0 4px 12px rgba(195,231,107,0.4);
}
.bar-pred {
  background: repeating-linear-gradient(45deg, var(--lime-soft) 0, var(--lime-soft) 4px, var(--lime-mist) 4px, var(--lime-mist) 8px);
  border-color: var(--lime-soft);
}
.fv-cash-foot {
  display: flex;
  gap: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--mist);
}
.fv-cash-foot div { display: flex; flex-direction: column; }
.fv-cash-foot strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.fv-cash-foot span { font-size: 11.5px; color: var(--slate); }

/* ====== VISUAL: OCR ====== */
.fv-ocr {
  width: 100%;
  max-width: 360px;
}
.fv-ocr-receipt {
  background: var(--paper);
  border: 1px dashed var(--graphite);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  text-align: center;
}
.r-line { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.r-faded { color: var(--slate); font-size: 11.5px; margin-top: 4px; }
.fv-ocr-arrow {
  text-align: center;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fv-ocr-result {
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.r-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--mist);
}
.r-row:last-child { border-bottom: none; }
.r-row .k { color: var(--slate); font-family: var(--font-display); font-size: 12px; font-weight: 500; }
.r-row .v { color: var(--ink); font-weight: 600; font-family: var(--font-display); }
.v-tag {
  background: var(--lime-mist);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
}

/* ====== VISUAL: Tax ====== */
.fv-tax {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.fv-tax-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 6px;
}
.fv-tax-head strong { font-family: var(--font-display); font-size: 14px; color: var(--ink); }
.fv-tax-deadline {
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.fv-tax-row {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 9px;
  margin-bottom: 5px;
  font-size: 13px;
}
.fv-tax-row:last-child { margin-bottom: 0; }
.fv-tax-row .dot { width: 8px; height: 8px; border-radius: 50%; }
.fv-tax-row .dot-mute { background: #d4d4d8; }
.t-amt { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 12.5px; }
.t-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  min-width: 78px;
  text-align: center;
}
.fv-tax-done .t-status { background: var(--lime-mist); color: #0a8a4e; }
.fv-tax-now .t-status { background: #fef3c7; color: #92400e; }
.fv-tax-row:not(.fv-tax-done):not(.fv-tax-now) .t-status { background: var(--whisper); color: var(--slate); }

/* ====== VISUAL: CRM ====== */
.fv-crm {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.fv-crm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mist);
}
.fv-crm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}
.fv-crm-head > div:nth-child(2) { flex: 1; }
.fv-crm-head strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.fv-crm-head span { font-size: 12px; color: var(--slate); }
.fv-crm-tag {
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.fv-crm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.fv-crm-stats div {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 9px;
  padding: 10px 12px;
}
.fv-crm-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.fv-crm-stats span { font-size: 10.5px; color: var(--slate); }
.fv-crm-pipe {
  display: flex;
  gap: 4px;
}
.pipe-step {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  background: var(--whisper);
  color: var(--slate);
  border-radius: 6px;
}
.pipe-done {
  background: var(--lime-mist);
  color: var(--ink);
}
.pipe-active {
  background: var(--ink);
  color: var(--lime);
}

/* ====== VISUAL: Productos ====== */
.fv-prod {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.fv-prod-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 10px;
  margin-bottom: 6px;
}
.fv-prod-row:last-child { margin-bottom: 0; }
.prod-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.prod-img.p1 { background: linear-gradient(135deg, #c3e76b, #a8cf4d); }
.prod-img.p2 { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.prod-img.p3 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.prod-img.p4 { background: linear-gradient(135deg, #f472b6, #ec4899); }
.prod-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.prod-info span {
  font-size: 11px;
  color: var(--slate);
  font-family: var(--font-mono);
}
.prod-margin {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #0a8a4e;
  background: var(--lime-mist);
  padding: 4px 10px;
  border-radius: 999px;
}
.prod-margin-warn { color: #92400e; background: #fef3c7; }

/* ====== VISUAL: Usuarios ====== */
.fv-users {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.fv-user-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 10px;
  margin-bottom: 6px;
}
.fv-user-row:last-child { margin-bottom: 0; }
.fv-user-row-asesor { background: rgba(195,231,107,0.08); border-color: var(--lime-mist); }
.u-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: white;
}
.u1 { background: #ec4899; }
.u2 { background: #3b82f6; }
.u3 { background: #f59e0b; }
.u4 { background: var(--ink); color: var(--lime); }
.u-info strong { display: block; font-family: var(--font-display); font-size: 13.5px; color: var(--ink); }
.u-info span { font-size: 11px; color: var(--slate); }
.u-tag {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.u-tag-admin { background: var(--ink); color: var(--lime); }
.u-tag-contab { background: var(--lime-mist); color: #0a8a4e; }
.u-tag-ventas { background: #fef3c7; color: #92400e; }
.u-tag-asesor { background: var(--lime); color: var(--ink); }

/* ====== VISUAL: API ====== */
.fv-api {
  width: 100%;
  max-width: 420px;
  background: var(--ink);
  color: rgba(255,255,255,0.9);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
}
.fv-api-line {
  padding: 14px 20px;
  background: rgba(195,231,107,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
}
.ak {
  background: var(--lime);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-right: 8px;
}
.fv-api-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}
.al {
  display: block;
  color: rgba(255,255,255,0.85);
}
.al code {
  color: var(--lime);
  background: rgba(195,231,107,0.1);
  padding: 1px 5px;
  border-radius: 3px;
}
.fv-api-resp {
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
}
.ok {
  background: #10b981;
  color: white;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  margin-right: 6px;
}
.fv-api-resp code {
  color: var(--lime);
  background: rgba(195,231,107,0.1);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ============================================================
   ÍNDICE — Sections adicionales (hero stats, coverage, profiles, compare)
   ============================================================ */

/* ====== HERO STATS BAR ====== */
.func-hero { padding-bottom: clamp(50px, 7vw, 90px); }
.func-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 8px;
  background: var(--ink);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* Patrón V sutil de fondo */
.func-hero-stats::before {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  width: 280px;
  height: 260px;
  transform: translateY(-50%);
  background-image: url("../img/v-pattern.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
/* Glow lime sutil */
.func-hero-stats::after {
  content: "";
  position: absolute;
  left: -10%;
  top: -50%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(195,231,107,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.fhs-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 4px 18px;
  text-align: center;
  align-items: center;
  z-index: 1;
}
.fhs-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(255,255,255,0.10);
}
.fhs-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(195,231,107,0.20), 0 0 12px rgba(195,231,107,0.40);
  margin-bottom: 4px;
}
.fhs-item strong {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
  line-height: 1.1;
}
.fhs-item span {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-display);
}

/* ====== COVERAGE MATRIX ====== */
.func-coverage {
  background: var(--paper);
  padding: clamp(80px, 9vw, 130px) 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.func-coverage-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}
.func-coverage-header .eyebrow { display: inline-flex; margin-bottom: 18px; }
.func-coverage-header .eyebrow::before { display: none; }
.func-coverage-header h2 {
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.func-coverage-lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--graphite);
}

.func-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fc-pillar {
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 18px;
  padding: 26px 24px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.fc-pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.fc-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--whisper);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--mist);
}
.fc-pillar h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.fc-pillar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fc-pillar ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--graphite);
  padding-left: 14px;
  position: relative;
}
.fc-pillar ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.fc-pillar ul li em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  background: var(--whisper);
  border: 1px solid var(--mist);
  padding: 1px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  margin-left: 2px;
  font-weight: 600;
}
.fc-pillar-feat ul li em {
  color: var(--lime);
  background: rgba(195,231,107,0.10);
  border-color: rgba(195,231,107,0.30);
}
.fc-pillar-feat {
  background: var(--ink);
  border-color: var(--ink);
}
.fc-pillar-feat h3 { color: white; }
.fc-pillar-feat .fc-pillar-icon {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.fc-pillar-feat ul li {
  color: rgba(255,255,255,0.78);
}
.fc-pillar-feat ul li::before { background: var(--lime); }
.fc-pillar-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ====== PROFILES (cases de uso) ====== */
.func-profiles {
  background: var(--bg);
  padding: clamp(80px, 9vw, 130px) 0;
}
.func-profiles-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}
.func-profiles-header .eyebrow { display: inline-flex; margin-bottom: 18px; }
.func-profiles-header .eyebrow::before { display: none; }
.func-profiles-header h2 {
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.func-profiles-header p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--graphite);
}

.func-profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fp-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}
.fp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--bg);
  border-color: var(--ink);
}
.fp-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.fp-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--mist);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fp-icon-lime { background: var(--lime); border-color: var(--lime-dark); color: var(--ink); }
.fp-card-head h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0;
  flex: 1;
}
.fp-tag-feat {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  text-transform: uppercase;
}
.fp-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--graphite);
  margin-bottom: 16px;
}
.fp-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.fp-card ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink);
}
.fp-card ul li .t {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA general de la sección Casos de uso */
.func-profiles-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ====== COMPARISON (5 herramientas vs Contavle) ====== */
.func-compare {
  background: var(--paper);
  padding: clamp(80px, 9vw, 130px) 0;
  border-top: 1px solid var(--mist);
}
.func-compare-header {
  text-align: center;
  margin-bottom: 56px;
}
.func-compare-header .eyebrow { display: inline-flex; margin-bottom: 18px; }
.func-compare-header .eyebrow::before { display: none; }
.func-compare-header h2 { letter-spacing: -0.03em; }

.func-compare-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.fc-col {
  border-radius: 22px;
  padding: 40px;
}
.fc-col-bad {
  background: var(--bg);
  border: 1px solid var(--mist);
}
.fc-col-good {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.fc-col-good::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(195,231,107,0.22), transparent 60%);
  pointer-events: none;
}
.fc-col-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  color: var(--slate);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.fc-col-tag-light {
  background: rgba(195,231,107,0.18);
  color: var(--lime);
}
.fc-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}
.fc-col ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
}
.fc-col-good ul li { border-color: rgba(255,255,255,0.08); }
.fc-col ul li strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.fc-col-good ul li strong { color: white; }
.fc-col ul li span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
  white-space: nowrap;
}
.fc-col-good ul li span { color: rgba(255,255,255,0.55); }
.fc-col ul li.fc-total {
  border-bottom: none;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 2px solid var(--ink);
}
.fc-col-good ul li.fc-total { border-top-color: var(--lime); }
.fc-col ul li.fc-total strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.fc-col ul li.fc-total span {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 14px;
}
.fc-col-good ul li.fc-total-good span {
  color: var(--lime);
  font-size: 14px;
}
.fc-arrow {
  display: grid;
  place-items: center;
  color: var(--ink);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1080px) {
  .func-coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .func-profiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .func-grid { grid-template-columns: 1fr; gap: 48px; }
  .func-grid-rev { direction: ltr; }
  .func-nav-section { top: 60px; }
  .func-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .fhs-item { padding: 14px; }
  .fhs-item:not(:last-child)::after { display: none; }
  .fhs-item:nth-child(odd) { border-right: 1px solid var(--mist); }
  .fhs-item:nth-child(-n+2) { border-bottom: 1px solid var(--mist); }
  .func-compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .fc-arrow { transform: rotate(90deg); padding: 4px 0; }
}
@media (max-width: 700px) {
  .func-quick-nav { border-radius: 14px; padding: 8px; }
  .func-quick-nav a { font-size: 12px; padding: 7px 11px; }
  .func-block { padding: 56px 0; }
  .func-text h2 { font-size: 26px; }
  .fv-cash-bars { height: 80px; }
  .func-coverage-grid { grid-template-columns: 1fr; }
  .func-profiles-grid { grid-template-columns: 1fr; }
  .fc-col { padding: 28px 22px; }
  .fc-col ul li { font-size: 13.5px; }
  .fc-col ul li span { font-size: 12px; }
}

/* ============================================================
   ============ TANDA 12 — secciones envolventes  ==============
   ============================================================ */

/* ====== HERO mejorado: pill + título + lead + CTAs + stats ====== */
.page-hero .hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background-image: none;
  mask-image: none;
  -webkit-mask-image: none;
}
/* V de Contavle como marca de fondo del hero.
   Usa background-image directo con SVG inline para máxima compatibilidad. */
.page-hero .hero-grid-bg::before {
  content: "";
  position: absolute;
  top: 5%;
  right: -8%;
  width: clamp(500px, 60vw, 880px);
  height: clamp(500px, 60vw, 880px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 130' fill='%230f112a'><polygon points='3.6 4.6 54 118.7 90.4 118.7 39.9 4.6 3.6 4.6'/><polygon points='106.4 72.8 136.9 4.6 76.4 4.4 106.4 72.8'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  transform: rotate(-8deg);
}
/* V espejo más pequeña a la izquierda */
.page-hero .hero-grid-bg::after {
  content: "";
  position: absolute;
  top: 30%;
  left: -10%;
  width: clamp(360px, 42vw, 620px);
  height: clamp(360px, 42vw, 620px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 130' fill='%230f112a'><polygon points='3.6 4.6 54 118.7 90.4 118.7 39.9 4.6 3.6 4.6'/><polygon points='106.4 72.8 136.9 4.6 76.4 4.4 106.4 72.8'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.05;
  transform: scaleX(-1) rotate(-8deg);
  pointer-events: none;
}
/* Glow lime sutil arriba del hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(195,231,107,0.10), transparent 65%),
    var(--bg);
}
.page-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 18px 0 22px;
}
.page-hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--graphite);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.55;
}
.func-hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin: 32px 0 48px;
  flex-wrap: wrap;
}

/* ====== MAPA DE MÓDULOS — tarjeta navy ancha ====== */
.func-map {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.func-map .container { max-width: 1380px; }
.func-map-card {
  position: relative;
  background: var(--ink);
  color: white;
  border-radius: 40px;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 50px 130px rgba(15,17,42,0.22);
}
.func-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.func-map-bg::before,
.func-map-bg::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
}
.func-map-bg::before {
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(195,231,107,0.35), transparent 60%);
  animation: mapGlow1 24s ease-in-out infinite;
}
.func-map-bg::after {
  bottom: -200px;
  right: -160px;
  background: radial-gradient(circle, rgba(195,231,107,0.18), transparent 60%);
  animation: mapGlow2 28s ease-in-out infinite;
}
.func-map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/v-pattern.svg');
  background-repeat: no-repeat;
  background-position: right -100px bottom -120px;
  background-size: 620px;
  opacity: 0.028;
  pointer-events: none;
  z-index: 0;
}
@keyframes mapGlow1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(40px, 50px, 0); }
}
@keyframes mapGlow2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-50px, -30px, 0); }
}

.func-map-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.func-map-head .eyebrow {
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.func-map-head .eyebrow::before { background: var(--lime); }
.eyebrow-lime { color: var(--lime); }
.func-map-head h2 {
  color: white;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.05;
}
.func-map-head p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.6;
}

.func-map-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.func-map-node {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: left;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.func-map-node:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(195,231,107,0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.func-map-node .mn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(195,231,107,0.12);
  color: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.func-map-node strong {
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.func-map-node span {
  color: rgba(255,255,255,0.55);
  font-size: 11.5px;
  line-height: 1.4;
}
.func-map-node.n-center {
  background: var(--lime);
  border-color: var(--lime);
  align-items: center;
  text-align: center;
  justify-content: center;
}
.func-map-node.n-center:hover { background: var(--lime-bright); transform: translateY(-3px); }
.func-map-node.n-center .mn-icon { background: rgba(15,17,42,0.1); color: var(--ink); }
.func-map-node.n-center strong { color: var(--ink); font-size: 14px; line-height: 1.3; }
.func-map-node.n-center span { color: rgba(15,17,42,0.65); }

.func-map-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.func-map-foot-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.func-map-foot-item .mf-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(195,231,107,0.12);
  color: var(--lime);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.func-map-foot-item strong {
  display: block;
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.func-map-foot-item span {
  color: rgba(255,255,255,0.6);
  font-size: 12.5px;
  line-height: 1.4;
}

/* ====== PROFILES — para quién es ====== */
.func-profiles {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--paper);
}
.func-profiles-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.func-profiles-head .eyebrow { display: inline-flex; margin-bottom: 16px; }
.func-profiles-head .eyebrow::before { display: none; }
.func-profiles-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.func-profiles-head p {
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.6;
}
.func-profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.func-profile-card {
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 22px;
  padding: 28px 26px;
  transition: all 0.4s var(--ease);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.func-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(195,231,107,0.10), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.func-profile-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15,17,42,0.10);
}
.func-profile-card:hover::before { opacity: 1; }
.func-profile-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--whisper);
  border: 1px solid var(--mist);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.func-profile-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.func-profile-card .fp-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.func-profile-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--graphite);
  margin-bottom: 16px;
}
.func-profile-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--mist);
}
.func-profile-card ul li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.4;
}
.func-profile-card ul li::before {
  content: "✓";
  color: var(--lime-dark);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px;
}
.func-profiles-cta {
  margin-top: 48px;
  text-align: center;
}
.func-profiles-cta p {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ====== COMPARE — antes / con ====== */
.func-compare {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--bg);
}
.func-compare-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.func-compare-head .eyebrow { display: inline-flex; margin-bottom: 16px; }
.func-compare-head .eyebrow::before { display: none; }
.func-compare-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.func-compare-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.func-compare-card {
  border-radius: 24px;
  padding: 40px;
}
.func-compare-bad {
  background: var(--paper);
  border: 1px solid var(--mist);
}
.func-compare-good {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.func-compare-good::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(195,231,107,0.18), transparent 60%);
  pointer-events: none;
}
.func-compare-good::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/v-pattern.svg');
  background-repeat: no-repeat;
  background-position: right -60px bottom -80px;
  background-size: 360px;
  opacity: 0.025;
  pointer-events: none;
}
.func-compare-card .fc-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: var(--slate);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.func-compare-good .fc-tag {
  background: rgba(195,231,107,0.18);
  color: var(--lime);
}
.func-compare-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.func-compare-good h3 { color: white; }
.func-compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.func-compare-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
  padding: 8px 0;
  border-bottom: 1px solid var(--mist);
}
.func-compare-card ul li:last-child { border-bottom: none; }
.func-compare-good ul li {
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}
.func-compare-card ul li::before {
  content: "✕";
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}
.func-compare-good ul li::before {
  content: "✓";
  color: var(--lime);
  font-size: 14px;
}
.func-compare-arrow {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
}

/* ====== FAQ específico funcionalidades ====== */
.func-faq-section {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--paper);
}
.func-faq-section .faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: flex-start;
}
.func-faq-section .faq-left h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 14px 0 14px;
}
.func-faq-section .faq-left p {
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.func-faq-section .faq-left a { color: var(--ink); border-bottom: 1px solid var(--ink); font-weight: 600; }
.func-faq-section .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.func-faq-section .faq-item {
  background: var(--bg);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.func-faq-section .faq-item:hover { border-color: var(--ink); }
.func-faq-section .faq-item[open] { box-shadow: 0 16px 36px rgba(15,17,42,0.08); }
.func-faq-section .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.func-faq-section .faq-item summary::-webkit-details-marker { display: none; }
.func-faq-section .faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--slate);
  font-weight: 300;
  transition: transform 0.3s var(--ease);
}
.func-faq-section .faq-item[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.func-faq-section .faq-item p {
  padding: 0 24px 22px;
  color: var(--graphite);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
  .func-map-grid { grid-template-columns: repeat(3, 1fr); }
  .func-profiles-grid { grid-template-columns: repeat(2, 1fr); }
  .func-faq-section .faq-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 980px) {
  .func-map-foot { grid-template-columns: 1fr; gap: 14px; }
  .func-compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .func-compare-arrow { transform: rotate(90deg); padding: 8px 0; }
  .page-hero { padding: 90px 0 40px; }
}
@media (max-width: 700px) {
  .func-map-card { padding: 36px 22px; border-radius: 24px; }
  .func-map-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .func-map-node { padding: 14px 12px; }
  .func-map-node.n-center { padding: 18px 12px; grid-column: 1 / -1; }
  .func-map-head h2 { font-size: 26px; }
  .func-profiles-grid { grid-template-columns: 1fr; }
  .func-compare-card { padding: 28px 22px; }
}
