/*
Theme Name: AnalyticaCFO
Theme URI: https://analyticacfo.com
Author: AnalyticaCFO
Author URI: https://analyticacfo.com
Description: Tema clásico de una página para CFO Fraccional + Financial Intelligence. Réplica del diseño original: fondo navy, acentos cian, hero con carrusel de producto, planes en USD, blog y páginas de vertical.
Version: 1.1.3
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: analyticacfo
Tags: dark, one-column, custom-menu, custom-logo, featured-images, blog
*/

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  --navy-900: #020617;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --navy-600: #334155;
  --navy-500: #475569;
  --navy-400: #64748b;
  --navy-300: #94a3b8;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-950: #164e63;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --white: #ffffff;
  --radius-sm: .5rem;
  --radius: .75rem;
  --radius-lg: 1rem;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 80rem;
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, .55);
}

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--slate-300);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--white);
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--cyan-400); text-decoration: none; transition: color .2s ease; }
a:hover { color: #67e8f9; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; }
code, pre { font-family: var(--mono); }
::selection { background: rgba(6, 182, 212, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 2px; }

.ac-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.ac-container--md { max-width: 64rem; }
.ac-container--sm { max-width: 56rem; }
.ac-container--xs { max-width: 48rem; }
@media (min-width: 640px) { .ac-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .ac-container { padding: 0 2rem; } }

.ac-section { padding: 4rem 0; position: relative; }
.ac-section--line { border-top: 1px solid var(--navy-800); }
.ac-section--tight { padding: 3rem 0; }
@media (min-width: 768px) { .ac-section { padding: 6rem 0; } }

.ac-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(6, 182, 212, .1);
  color: var(--cyan-400);
  font-size: .875rem; font-weight: 500;
  border: 1px solid rgba(6, 182, 212, .2);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.ac-eyebrow svg { width: 1rem; height: 1rem; flex: 0 0 auto; }

.ac-h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 1.5rem; }
.ac-h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.ac-h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.ac-lead { font-size: 1.125rem; line-height: 1.625; color: var(--slate-300); }
.ac-muted { color: var(--slate-400); line-height: 1.625; }
.ac-cyan { color: var(--cyan-400); }
.ac-center { text-align: center; }
.ac-narrow { max-width: 42rem; margin-left: auto; margin-right: auto; }

@media (min-width: 768px) {
  .ac-h1 { font-size: 3rem; }
  .ac-h2 { font-size: 1.875rem; }
  .ac-h3 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .ac-h1 { font-size: 3.75rem; }
  .ac-h2 { font-size: 2.25rem; }
  .ac-h3 { font-size: 2.25rem; }
}

/* ============================================================
   3. BOTONES
   ============================================================ */
.ac-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--cyan-500);
  color: var(--navy-900);
  font-size: 1.125rem; font-weight: 700; line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ac-btn:hover, .ac-btn:focus { background: var(--cyan-400); color: var(--navy-900); }
.ac-btn svg { width: 1.25rem; height: 1.25rem; }

.ac-btn--ghost {
  background: transparent;
  border-color: rgba(6, 182, 212, .4);
  color: var(--cyan-400);
  font-size: 1.125rem;
}
.ac-btn--ghost:hover, .ac-btn--ghost:focus { background: rgba(6, 182, 212, .1); color: var(--cyan-400); }

.ac-btn--sm { padding: .75rem 1.5rem; font-size: .875rem; border-radius: var(--radius); }
.ac-btn--block { display: flex; width: 100%; }

.ac-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1rem .5rem;
  color: var(--cyan-400); font-weight: 600; font-size: 1rem;
}
.ac-link:hover { color: #67e8f9; }
.ac-link svg { width: 1rem; height: 1rem; }
.ac-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
@media (min-width: 640px) { .ac-actions { flex-direction: row; align-items: center; } }
.ac-actions > .ac-btn { flex: 0 0 auto; }
.ac-actions--center { justify-content: center; align-items: center; }

/* ============================================================
   4. NAV
   ============================================================ */
.ac-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2, 6, 23, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-700);
}
.ac-nav__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
@media (min-width: 640px) { .ac-nav__inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .ac-nav__inner { padding: 0 2rem; } }
.ac-nav__logo { display: inline-flex; align-items: center; max-width: 200px; }
.ac-nav__logo svg { height: 2.5rem; width: auto; }
.ac-nav__links { display: none; align-items: center; gap: .25rem; }
.ac-nav__links a {
  padding: .5rem .75rem;
  color: var(--navy-300);
  font-size: .875rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color .2s ease, background-color .2s ease;
}
.ac-nav__links a:hover { color: var(--cyan-400); background: var(--navy-800); }
.ac-nav__links a.ac-nav__cta {
  margin-left: .75rem;
  padding: .5rem 1rem;
  background: var(--cyan-500);
  color: var(--navy-900);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .375rem;
}
.ac-nav__links a.ac-nav__cta:hover { background: var(--cyan-400); color: var(--navy-900); }
.ac-nav__cta svg { width: 1rem; height: 1rem; }
.ac-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem; background: none; border: 0; color: var(--navy-300); cursor: pointer;
}
.ac-nav__toggle svg { width: 1.5rem; height: 1.5rem; }
.ac-nav__mobile { display: none; padding: 0 1rem 1rem; border-top: 1px solid var(--navy-700); margin-top: .5rem; }
.ac-nav__mobile.is-open { display: block; }
.ac-nav__mobile a {
  display: block; padding: .625rem .75rem;
  color: var(--navy-300); font-weight: 500; font-size: 1rem;
  border-radius: var(--radius-sm);
}
.ac-nav__mobile a:hover { color: var(--cyan-400); background: var(--navy-800); }
.ac-nav__mobile a.ac-nav__cta { background: var(--cyan-500); color: var(--navy-900); font-weight: 600; margin-top: .5rem; }
@media (min-width: 768px) {
  .ac-nav__links { display: flex; }
  .ac-nav__toggle, .ac-nav__mobile { display: none !important; }
}

/* ============================================================
   5. HERO
   ============================================================ */
.ac-hero { position: relative; overflow: hidden; padding: 4rem 0; }
@media (min-width: 768px) { .ac-hero { padding: 5rem 0 6rem; } }
.ac-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(22, 78, 99, .4), var(--navy-900) 55%, var(--navy-900));
  pointer-events: none;
}
.ac-hero__glow-a, .ac-hero__glow-b {
  position: absolute; border-radius: 999px; background: rgba(6, 182, 212, .05);
  filter: blur(64px); pointer-events: none;
}
.ac-hero__glow-a { top: 0; right: 0; width: 500px; height: 500px; transform: translate(33%, -50%); }
.ac-hero__glow-b { bottom: 0; left: 0; width: 400px; height: 400px; transform: translate(-25%, 50%); }
.ac-hero__inner {
  position: relative; z-index: 10;
  max-width: var(--container); margin: 0 auto; padding: 0 1rem;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 640px) { .ac-hero__inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .ac-hero__inner { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 0 2rem; } }
.ac-hero__copy p.ac-lead { max-width: 36rem; margin-bottom: 1.5rem; }

/* ============================================================
   6. CARRUSEL DE PRODUCTO (mock del agente)
   ============================================================ */
.ac-carousel { position: relative; }
.ac-carousel__viewport { position: relative; }
.ac-carousel__slide { display: none; animation: ac-fade .5s ease; }
.ac-carousel__slide.is-active { display: block; }
@keyframes ac-fade { from { opacity: 0; } to { opacity: 1; } }

.ac-mock {
  background: #fff; color: var(--navy-700);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: .75rem;
}
.ac-mock__bar {
  display: flex; align-items: center; gap: .375rem;
  padding: .625rem 1rem;
  background: #f1f5f9; border-bottom: 1px solid #e2e8f0;
}
.ac-mock__dot { width: .625rem; height: .625rem; border-radius: 999px; background: var(--cyan-400); }
.ac-mock__tag {
  margin-left: .5rem; font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: #64748b; font-weight: 500;
}
.ac-mock__status { margin-left: auto; font-size: 9px; color: #22c55e; display: inline-flex; align-items: center; gap: .25rem; }
.ac-mock__status::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #4ade80; }
.ac-mock__body { padding: 1rem; background: #fff; }

.ac-chat { display: flex; flex-direction: column; gap: .75rem; }
.ac-chat__row { display: flex; gap: .5rem; }
.ac-chat__row--me { justify-content: flex-end; }
.ac-chat__bubble {
  background: #f1f5f9; color: #334155; border-radius: 1rem 1rem 1rem .375rem;
  padding: .5rem .75rem; max-width: 85%; font-size: .75rem; line-height: 1.5;
}
.ac-chat__bubble--me {
  background: var(--cyan-500); color: #fff; border-radius: 1rem 1rem .375rem 1rem;
  max-width: 80%;
}
.ac-chat__avatar {
  width: 1.5rem; height: 1.5rem; border-radius: 999px; background: #cffafe;
  color: #0891b2; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: .25rem;
}
.ac-chat__title { font-weight: 600; margin-bottom: .5rem; font-size: .75rem; color: #334155; }
.ac-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .5rem; }
.ac-kpi { background: #fff; border: 1px solid #e2e8f0; border-radius: .5rem; padding: .5rem; }
.ac-kpi__label { font-size: 9px; color: #94a3b8; }
.ac-kpi__value { font-size: .75rem; font-weight: 700; }
.ac-kpi__value--up { color: #22c55e; }
.ac-kpi__value--cyan { color: #0891b2; }
.ac-kpi__value--down { color: #f87171; }
.ac-note { font-size: 10px; color: #64748b; line-height: 1.5; }
.ac-mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.ac-mock__head strong { font-size: .875rem; color: #334155; }
.ac-badge-soft {
  font-size: 9px; background: #ecfeff; color: #0891b2; border-radius: .25rem;
  padding: .125rem .375rem; display: inline-flex; align-items: center; gap: .25rem;
}
.ac-table { width: 100%; border-collapse: collapse; font-size: 10px; border: 1px solid #e2e8f0; border-radius: .5rem; overflow: hidden; }
.ac-table th { background: #334155; color: #fff; text-align: left; padding: .25rem .5rem; font-weight: 500; }
.ac-table th:last-child, .ac-table td:last-child { text-align: left; }
.ac-table td { padding: .25rem .5rem; border-top: 1px solid #f1f5f9; color: #334155; }
.ac-table tr.is-sub td { background: #f8fafc; font-weight: 600; }
.ac-table .is-neg { color: #ef4444; }
.ac-alert {
  border-radius: .5rem; padding: .75rem; display: flex; gap: .5rem;
  background: #fffbeb; border: 1px solid #fde68a;
}
.ac-alert--red { background: #fef2f2; border-color: #fecaca; }
.ac-alert--cyan { background: #ecfeff; border-color: #a5f3fc; }
.ac-alert__title { font-size: 11px; font-weight: 600; }
.ac-alert__text { font-size: 9px; line-height: 1.5; }
.ac-alert--amber .ac-alert__title { color: #b45309; } .ac-alert--amber .ac-alert__text { color: #d97706; }
.ac-alert--red .ac-alert__title { color: #b91c1c; } .ac-alert--red .ac-alert__text { color: #dc2626; }
.ac-alert--cyan .ac-alert__title { color: #0e7490; } .ac-alert--cyan .ac-alert__text { color: #0891b2; }
.ac-alerts { display: flex; flex-direction: column; gap: .625rem; }
.ac-alerts__row { display: flex; align-items: center; justify-content: space-between; }
.ac-alerts__row strong { font-size: .875rem; color: #334155; }
.ac-pill-amber { font-size: 10px; background: #fffbeb; color: #d97706; border-radius: 999px; padding: .125rem .5rem; }
.ac-foot-note { font-size: 9px; color: #94a3b8; text-align: center; margin-top: .25rem; }

.ac-carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: rgba(15, 23, 42, .9); border: 1px solid var(--navy-600); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .3);
  z-index: 2;
}
.ac-carousel__btn:hover { background: var(--navy-700); }
.ac-carousel__btn svg { width: 1rem; height: 1rem; }
.ac-carousel__btn--prev { left: -.75rem; }
.ac-carousel__btn--next { right: -.75rem; }
@media (min-width: 640px) {
  .ac-carousel__btn { width: 2.5rem; height: 2.5rem; }
  .ac-carousel__btn--prev { left: -1.25rem; }
  .ac-carousel__btn--next { right: -1.25rem; }
}
.ac-carousel__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.ac-carousel__tab {
  border: 0; cursor: pointer;
  font-size: .75rem; font-weight: 500;
  padding: .25rem .625rem; border-radius: 999px;
  background: var(--navy-800); color: var(--slate-400);
  transition: background-color .2s ease, color .2s ease;
}
.ac-carousel__tab:hover { color: #fff; background: var(--navy-700); }
.ac-carousel__tab.is-active { background: var(--cyan-500); color: var(--navy-900); }

/* ============================================================
   7. TARJETAS
   ============================================================ */
.ac-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .ac-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .ac-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .ac-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ac-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.ac-card {
  background: rgba(15, 23, 42, .6);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s ease;
}
.ac-card:hover { border-color: rgba(6, 182, 212, .3); }
.ac-card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.ac-card p { color: var(--slate-400); font-size: .875rem; line-height: 1.625; }
.ac-card--row { display: flex; gap: 1rem; }
.ac-card__icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius);
  background: rgba(6, 182, 212, .1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; flex: 0 0 auto;
}
.ac-card__icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--cyan-400); }
.ac-card--row .ac-card__icon { margin-bottom: 0; }
.ac-card--center { text-align: center; }
.ac-card--center .ac-card__icon { margin-left: auto; margin-right: auto; }
.ac-card--center h3 { font-size: 1rem; }

.ac-list { display: flex; flex-direction: column; gap: 1rem; }
.ac-list__item { display: flex; align-items: flex-start; gap: .75rem; color: var(--slate-300); }
.ac-list__bullet {
  width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: rgba(6, 182, 212, .1);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; margin-top: .125rem;
}
.ac-list__bullet::after {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--cyan-400);
}
.ac-panel {
  background: rgba(15, 23, 42, .6);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
@media (min-width: 768px) { .ac-panel { padding: 2rem; } }
.ac-panel h3 { font-size: 1.125rem; margin-bottom: 1.5rem; }
.ac-split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .ac-split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ============================================================
   8. CITA / TEXTO CENTRAL
   ============================================================ */
.ac-quote {
  font-size: 1.5rem; line-height: 1.25; color: #fff; font-weight: 700;
  margin: 0 auto 1.5rem; max-width: 56rem;
}
@media (min-width: 768px) { .ac-quote { font-size: 1.875rem; } }
@media (min-width: 1024px) { .ac-quote { font-size: 2.25rem; } }
.ac-prose { color: var(--slate-300); font-size: 1.125rem; line-height: 1.625; }
.ac-prose--center { text-align: center; max-width: 48rem; margin: 0 auto; }

/* ============================================================
   9. PLANES
   ============================================================ */
.ac-plans { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .ac-plans { grid-template-columns: repeat(3, 1fr); } }
.ac-plan {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(15, 23, 42, .6);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s ease;
}
.ac-plan:hover { border-color: rgba(6, 182, 212, .3); }
.ac-plan--featured { border-color: rgba(6, 182, 212, .5); }
@media (min-width: 1024px) { .ac-plan--featured { margin-top: -1rem; margin-bottom: 1rem; } }
.ac-plan__tag {
  position: absolute; top: -.875rem; left: 50%; transform: translateX(-50%);
  background: var(--cyan-500); color: var(--navy-900);
  font-size: .75rem; font-weight: 700;
  padding: .25rem 1rem; border-radius: 999px; white-space: nowrap;
}
.ac-plan h3 { font-size: 1.25rem; margin: .25rem 0 .25rem; }
.ac-plan__desc { color: var(--slate-400); font-size: .875rem; line-height: 1.625; margin-bottom: 1rem; min-height: 3rem; }
.ac-plan__price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: 1.5rem; }
.ac-plan__price strong { font-size: 1.875rem; color: var(--cyan-400); font-weight: 700; line-height: 1.2; }
.ac-plan__price span { color: var(--navy-500); font-size: .875rem; }
.ac-plan__blocks { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.ac-plan__block h4 {
  display: flex; align-items: center; gap: .5rem;
  color: var(--cyan-400); font-size: .875rem; font-weight: 700; margin-bottom: .5rem;
}
.ac-plan__block h4 svg { width: 1rem; height: 1rem; }
.ac-plan__block ul { display: flex; flex-direction: column; gap: .375rem; }
.ac-plan__block li {
  display: flex; align-items: flex-start; gap: .5rem;
  color: var(--slate-300); font-size: .875rem; line-height: 1.625;
}
.ac-plan__block li::before {
  content: ""; width: 4px; height: 4px; border-radius: 999px;
  background: rgba(6, 182, 212, .5); flex: 0 0 auto; margin-top: .6rem;
}
.ac-plan__block p { color: var(--slate-300); font-size: .875rem; line-height: 1.625; }
.ac-plan .ac-btn { margin-top: 1.5rem; }

.ac-note-box {
  margin-top: 2rem; padding: 1.5rem;
  background: rgba(22, 78, 99, .2);
  border: 1px solid rgba(6, 182, 212, .2);
  border-radius: var(--radius);
  color: var(--slate-300); font-size: .875rem; line-height: 1.625;
}
.ac-note-box strong { color: var(--cyan-400); font-weight: 600; }
.ac-note-box b { color: #fff; font-weight: 500; }
.ac-note-box--plain {
  margin-top: 1.5rem; text-align: center;
  background: rgba(15, 23, 42, .4); border-color: var(--navy-700);
}
.ac-fineprint { margin-top: 1.5rem; text-align: center; color: var(--navy-500); font-size: .875rem; }
.ac-fineprint p { max-width: 42rem; margin: 0 auto; }

/* ============================================================
   10. FAQ
   ============================================================ */
.ac-faq { display: flex; flex-direction: column; gap: .75rem; }
.ac-faq__item { background: rgba(15, 23, 42, .5); border: 1px solid rgba(30, 41, 59, .5); border-radius: var(--radius); overflow: hidden; }
.ac-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; background: none; border: 0; cursor: pointer; text-align: left;
  color: #fff; font-weight: 500; font-size: 1rem;
}
.ac-faq__sign { color: var(--cyan-400); font-size: 1.25rem; line-height: 1; flex: 0 0 auto; }
.ac-faq__a { display: none; padding: 0 1.5rem 1.25rem; color: var(--slate-400); line-height: 1.625; }
.ac-faq__item.is-open .ac-faq__a { display: block; }

/* ============================================================
   11. PÁGINAS INTERIORES
   ============================================================ */
.ac-page-hero { padding: 5rem 0 3rem; text-align: center; }
@media (min-width: 768px) { .ac-page-hero { padding: 7rem 0 4rem; } }
.ac-page-hero .ac-h1 { margin-bottom: 1rem; }
.ac-page-hero p { color: var(--slate-400); font-size: 1.125rem; line-height: 1.625; max-width: 42rem; margin: 0 auto; }

.ac-content { padding-bottom: 5rem; }
.ac-content p { color: var(--slate-400); line-height: 1.7; }
.ac-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.ac-content h3 { font-size: 1.125rem; margin: 2rem 0 .75rem; }
.ac-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.ac-content ul li { list-style: disc; color: var(--slate-400); line-height: 1.7; margin-bottom: .5rem; }
.ac-content ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: 1rem; }
.ac-content ol li { list-style: decimal; }
.ac-content a { color: var(--cyan-400); text-decoration: underline; text-underline-offset: 3px; }
/* El enlace heredado no debe pisar el color del botón (cian sobre cian) */
.ac-content a.ac-btn,
.ac-content a.ac-btn:hover,
.ac-article__body a.ac-btn,
.ac-article__body a.ac-btn:hover {
  color: var(--navy-900);
  text-decoration: none;
}
.ac-content a.ac-btn--ghost,
.ac-content a.ac-btn--ghost:hover,
.ac-article__body a.ac-btn--ghost,
.ac-article__body a.ac-btn--ghost:hover {
  color: var(--cyan-400);
}
.ac-content strong { color: #fff; }
.ac-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .875rem; }
.ac-content th, .ac-content td { border: 1px solid var(--navy-700); padding: .625rem .75rem; text-align: left; color: var(--slate-300); }
.ac-content th { background: var(--navy-800); color: #fff; }

.ac-stats { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .ac-stats { grid-template-columns: repeat(3, 1fr); } }
.ac-stat { background: rgba(15, 23, 42, .5); border: 1px solid var(--navy-700); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.ac-stat__num { font-size: 2.25rem; font-weight: 700; color: var(--cyan-400); margin-bottom: .5rem; line-height: 1; }
@media (min-width: 768px) { .ac-stat__num { font-size: 3rem; } }
.ac-stat__label { color: #fff; font-weight: 600; margin-bottom: .5rem; }
.ac-stat p { color: var(--navy-400); font-size: .875rem; }

.ac-chips { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .ac-chips { grid-template-columns: repeat(2, 1fr); } }
.ac-chip {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem; border-radius: var(--radius-sm);
  background: rgba(30, 41, 59, .5); border: 1px solid var(--navy-600);
  color: var(--navy-300); transition: border-color .2s ease;
}
.ac-chip:hover { border-color: rgba(6, 182, 212, .3); }
.ac-chip::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--cyan-400); flex: 0 0 auto; }

/* Para quién sí / no */
.ac-fit { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .ac-fit { grid-template-columns: 1fr 1fr; } }
.ac-fit__col {
  background: rgba(15, 23, 42, .6); border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.ac-fit__title {
  font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan-400); margin-bottom: 1.25rem;
}
.ac-fit__list { display: flex; flex-direction: column; gap: .875rem; }
.ac-fit__list li { display: flex; align-items: flex-start; gap: .625rem; color: var(--slate-300); font-size: .9375rem; line-height: 1.55; }
.ac-fit__list svg { width: 1rem; height: 1rem; flex: 0 0 auto; margin-top: .2rem; color: var(--cyan-400); }
.ac-fit__col--no { background: rgba(15, 23, 42, .35); border-color: rgba(30, 41, 59, .7); }
.ac-fit__col--no .ac-fit__title { color: var(--navy-300); }
.ac-fit__col--no .ac-fit__list li { color: var(--navy-300); }
.ac-fit__col--no .ac-fit__list svg { color: var(--navy-500); }

/* ============================================================
   12. FORMULARIO
   ============================================================ */
.ac-form { display: flex; flex-direction: column; gap: 1rem; }
.ac-field label { display: block; color: var(--slate-300); font-size: .875rem; font-weight: 500; margin-bottom: .25rem; }
.ac-field input, .ac-field textarea {
  width: 100%; padding: .75rem 1rem;
  background: var(--navy-900); border: 1px solid var(--navy-700);
  border-radius: var(--radius-sm); color: #fff; font-family: inherit; font-size: 1rem;
  transition: border-color .2s ease;
}
.ac-field input::placeholder, .ac-field textarea::placeholder { color: var(--navy-500); }
.ac-field input:focus, .ac-field textarea:focus { outline: none; border-color: rgba(6, 182, 212, .5); }
.ac-field textarea { resize: none; min-height: 7rem; }
.ac-form__msg { font-size: .875rem; padding: .75rem 1rem; border-radius: var(--radius-sm); }
.ac-form__msg--ok { background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .3); color: #6ee7b7; }
.ac-form__msg--err { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); color: #fca5a5; }

/* ============================================================
   13. BLOG
   ============================================================ */
.ac-posts { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .ac-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ac-posts { grid-template-columns: repeat(3, 1fr); } }
.ac-post {
  display: flex; flex-direction: column;
  background: rgba(15, 23, 42, .6); border: 1px solid var(--navy-700);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.ac-post:hover { border-color: rgba(6, 182, 212, .3); transform: translateY(-2px); }
.ac-post__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--navy-800); }
.ac-post__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.ac-post__meta { font-size: .75rem; color: var(--navy-500); text-transform: uppercase; letter-spacing: .06em; }
.ac-post__body h3 { font-size: 1.125rem; line-height: 1.35; }
.ac-post__body h3 a { color: #fff; }
.ac-post__body h3 a:hover { color: var(--cyan-400); }
.ac-post__excerpt { color: var(--slate-400); font-size: .875rem; line-height: 1.625; flex: 1; }
.ac-post__more { color: var(--cyan-400); font-size: .875rem; font-weight: 600; }

.ac-article { max-width: 48rem; margin: 0 auto; }
.ac-article__head { padding: 4rem 0 2rem; text-align: center; }
.ac-article__body { padding-bottom: 4rem; }
.ac-article__body p { color: var(--slate-300); line-height: 1.75; margin-bottom: 1.25rem; }
.ac-article__body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.ac-article__body h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.ac-article__body ul, .ac-article__body ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.ac-article__body li { list-style: disc; color: var(--slate-300); line-height: 1.75; margin-bottom: .5rem; }
.ac-article__body blockquote {
  margin: 1.5rem 0; padding-left: 1rem;
  border-left: 2px solid var(--cyan-500); color: var(--slate-300); font-style: italic;
}
.ac-article__body a { color: var(--cyan-400); text-decoration: underline; }
.ac-article__body strong { color: #fff; }
.ac-article__body img { border-radius: var(--radius); margin: 1.5rem 0; }
.ac-article__body hr, .ac-content hr { border: 0; border-top: 1px solid var(--navy-700); margin: 2.5rem 0; }
.ac-article__body code, .ac-content code {
  background: rgba(30, 41, 59, .6); color: #a5f3fc;
  padding: .12em .4em; border-radius: .25rem;
  font-family: var(--mono); font-size: .9em;
}
.ac-article__body pre, .ac-content pre {
  background: var(--navy-800); border: 1px solid var(--navy-700);
  padding: 1rem; border-radius: var(--radius); overflow-x: auto; margin: 1.5rem 0;
}
.ac-article__body pre code, .ac-content pre code { background: none; padding: 0; color: var(--slate-300); }

/* ============================================================
   14. CTA FINAL
   ============================================================ */
.ac-cta { padding: 4rem 0; border-top: 1px solid var(--navy-800); text-align: center; }
@media (min-width: 768px) { .ac-cta { padding: 6rem 0; } }
.ac-cta .ac-h2 { font-size: 1.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .ac-cta .ac-h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .ac-cta .ac-h2 { font-size: 2.25rem; } }
.ac-cta p { color: var(--slate-400); font-size: 1.125rem; line-height: 1.625; max-width: 42rem; margin: 0 auto 2rem; }

/* ============================================================
   15. FOOTER
   ============================================================ */
.ac-footer { background: var(--navy-900); border-top: 1px solid var(--navy-700); }
.ac-footer__inner {
  max-width: var(--container); margin: 0 auto; padding: 1.5rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 640px) { .ac-footer__inner { padding: 1.5rem 1.5rem; } }
@media (min-width: 768px) { .ac-footer__inner { flex-direction: row; justify-content: space-between; } }
.ac-footer__logo svg { height: 2rem; width: auto; }
.ac-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: .875rem; }
.ac-footer__links a { color: var(--navy-400); }
.ac-footer__links a:hover { color: var(--cyan-400); }
.ac-footer__copy { color: var(--navy-500); font-size: .875rem; margin: 0; }

/* ============================================================
   16. UTILIDADES
   ============================================================ */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.ac-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cyan-500); color: var(--navy-900); padding: .75rem 1rem; font-weight: 700;
}
.ac-skip:focus { left: 1rem; top: 1rem; }
.ac-mt-0 { margin-top: 0; }
.ac-mb-2 { margin-bottom: .5rem; }
.ac-mb-4 { margin-bottom: 1rem; }
.ac-mb-6 { margin-bottom: 1.5rem; }
.ac-mb-8 { margin-bottom: 2rem; }
.ac-mb-12 { margin-bottom: 3rem; }
.ac-mb-16 { margin-bottom: 4rem; }
.ac-mt-6 { margin-top: 1.5rem; }
.ac-mt-8 { margin-top: 2rem; }
.ac-mt-10 { margin-top: 2.5rem; }
