/* Facturaenlanube — hoja de estilos principal */
:root {
  --navy: #0B2540;
  --navy-2: #12355A;
  --ink: #13202E;
  --muted: #56636F;
  --teal: #0E8A7E;
  --teal-dark: #0A6E64;
  --teal-light: #3CC2B2;
  --mint: #E3F4F1;
  --sand: #F7F4EE;
  --sun: #F2B544;
  --wa: #25D366;
  --wa-dark: #128C4A;
  --line: #E2E6E9;
  --white: #fff;

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 37, 64, .06), 0 8px 24px -12px rgba(11, 37, 64, .18);
  --shadow-lg: 0 2px 4px rgba(11, 37, 64, .05), 0 24px 48px -20px rgba(11, 37, 64, .28);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; transition: top .2s var(--ease-out); }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }
.container--medium { max-width: 1000px; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--teal); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.35em;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease-out), background-color .18s var(--ease-out), box-shadow .18s var(--ease-out), color .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--fg); background: var(--teal-dark); box-shadow: 0 8px 20px -10px rgba(14, 138, 126, .7); }
.btn:active { transform: scale(.97); }
.btn--primary { --bg: var(--teal); }
.btn--secondary { --bg: transparent; --fg: var(--navy); --bd: rgba(11, 37, 64, .22); }
.btn--secondary:hover { background: var(--navy); --fg: #fff; box-shadow: none; }
.btn--whatsapp { --bg: var(--wa); --fg: #08311C; }
.btn--whatsapp:hover { background: #1FBE5A; --fg: #08311C; box-shadow: 0 8px 20px -10px rgba(37, 211, 102, .8); }
.btn--light { --bg: rgba(255, 255, 255, .1); --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--light:hover { background: #fff; --fg: var(--navy); box-shadow: none; }
.btn--ghost { --bg: transparent; --fg: var(--navy); }
.btn--ghost:hover { background: var(--mint); --fg: var(--navy); box-shadow: none; }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 0; }
.btn-row--center { justify-content: center; }

/* ---------- Barra superior y encabezado ---------- */
.topbar { background: var(--navy); color: #DCE7F0; font-size: .92rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; padding-block: 9px; text-align: center; }
.topbar__link { color: var(--teal-light); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar__link:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 37, 64, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .facto-logo { width: 150px; height: auto; overflow: visible; }
.brand__product { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-left: 1px solid var(--line); font: 700 1rem/1 var(--font-head); color: var(--teal-dark); letter-spacing: -0.01em; white-space: nowrap; }
.brand__product .icon { width: 20px; height: 20px; }
/* Logo animado: se reproduce en la primera visita de la sesión; después queda quieto */
.fl-seen .facto-logo g, .fl-seen .facto-logo path { animation: none !important; }
@keyframes fl-nudge { 0%, 100% { transform: none; } 45% { transform: translateX(14%); } }
@keyframes fl-greet { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 65% { transform: rotate(5deg); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand:hover .facto-logo .fl-chev-r { animation: fl-nudge .5s cubic-bezier(.23,1,.32,1) !important; }
  .brand:hover .facto-logo .fl-chev-l { animation: fl-nudge .5s .05s cubic-bezier(.23,1,.32,1) reverse !important; }
  .brand:hover .facto-logo .fl-hand { animation: fl-greet .6s ease-in-out !important; }
}
.footer-product { color: #fff; }


.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__link { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s; }
.site-nav__link:hover, .site-nav__link.is-active { background: var(--mint); color: var(--teal-dark); }
.site-nav__actions { display: flex; gap: 8px; align-items: center; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--mint); color: var(--navy); cursor: pointer; }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .nav-toggle__close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
  .site-nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; }
  .site-nav__link { padding: 12px; font-size: 1.05rem; }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .site-nav__actions .btn { min-height: 50px; }
  .brand .facto-logo { width: 128px; }
  .brand__product { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sand) 0%, #fff 100%); padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(closest-side, rgba(14, 138, 126, .16), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-block; font: 600 .82rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.hero__title { font-size: clamp(2rem, 3.1vw, 2.6rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.022em; margin-bottom: 22px; }
.hero__accent { display: block; font-weight: 500; color: var(--teal-dark); }
.hero__copy .hero__subtitle { font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.7; color: var(--muted); max-width: 32em; }
.hero__title--md { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.hero__subtitle { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #33414F; max-width: 36em; }
.hero__bullets { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero__bullets li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero__bullets .icon { color: var(--teal); margin-top: 4px; }
.hero__media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.hero--inner { padding-block: clamp(28px, 5vw, 64px); }
.hero--inner .breadcrumbs { margin-bottom: 18px; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__media { order: 2; } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--sand { background: var(--sand); }
.section--mint { background: var(--mint); }
.section--navy { background: var(--navy); color: #DCE7F0; }
.section--navy .section-title, .section--navy .feature__title { color: #fff; }
.section--navy .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section--navy .feature p { color: #B9C6D3; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 700; }
.section-title--sm { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.section-intro { font-size: 1.12rem; color: var(--muted); }

/* ---------- Características ---------- */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (min-width: 1000px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } .feature-grid--3, .feature-grid--6 { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
@media (hover: hover) { .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.feature__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--teal-dark); margin-bottom: 16px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature__icon--lg { width: 72px; height: 72px; border-radius: 22px; }
.feature__icon--lg .icon { width: 36px; height: 36px; }
.feature__title { font-size: 1.22rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }
.feature--pain .feature__icon { background: #FCEFD6; color: #9A6510; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.15rem var(--font-head); margin-bottom: 14px; }
.step__title { font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Profesiones ---------- */
.prof-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.prof-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s; }
@media (hover: hover) { .prof-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); } }
.prof-card__img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--mint); }
.prof-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.prof-card__name { font: 700 1.15rem/1.2 var(--font-head); color: var(--navy); }
.prof-card__text { font-size: .95rem; color: var(--muted); }
.prof-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--teal-dark); }

/* ---------- Planes ---------- */
.plans { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1080px; }
.plans--1 { max-width: 420px; } .plans--2 { max-width: 760px; }
@media (min-width: 1100px) { .plans--4 { max-width: none; grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 30px 26px; border: 1px solid var(--line); }
.plan--featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 26px; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan__name { font-size: 1.4rem; margin-bottom: 4px; }
.plan__tagline { color: var(--muted); font-size: .97rem; }
.plan__price { margin: 6px 0 18px; }
.plan__price strong { font: 700 2.2rem/1 var(--font-head); color: var(--navy); letter-spacing: -0.03em; }
.plan__price span { color: var(--muted); font-size: .95rem; }
.plan__features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; align-content: start; font-size: .96rem; line-height: 1.45; }
.plan__features li:first-child { font-weight: 600; color: var(--navy); }
.plan__features li { display: flex; gap: 10px; }
.plan__features .icon { color: var(--teal); margin-top: 4px; }
.plans-empty { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }

/* ---------- Testimonios ---------- */
.testimonials { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 1.08rem; }
.testimonial__who { display: flex; gap: 12px; align-items: center; }
.testimonial__photo { width: 48px; height: 48px; border-radius: 50%; }

/* ---------- Tarjetas de guías ---------- */
.post-grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { height: 100%; }
.post-card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
@media (hover: hover) { .post-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); } }
.post-card__img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card__body { padding: 18px 20px 22px; }
.post-card__meta { font-size: .85rem; font-weight: 600; color: var(--teal-dark); margin-bottom: 8px; }
.post-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.post-card__excerpt { color: var(--muted); font-size: .97rem; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.chip:hover, .chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination { display: flex; gap: 14px; align-items: center; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--teal); transition: transform .25s var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 20px 18px; color: #33414F; }
.faq__answer p { margin: 0; }

/* ---------- CTA ---------- */
.cta-band { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; background: var(--navy); color: #DCE7F0; border-radius: 28px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -200px; background: radial-gradient(closest-side, rgba(60, 194, 178, .35), transparent); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 18em; }
.cta-band p { margin: 0; max-width: 36em; }
.cta-band .btn-row { margin: 0; }
.cta-band .btn--secondary { --fg: #fff; --bd: rgba(255,255,255,.35); }

/* ---------- Texto enriquecido ---------- */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--teal); background: var(--mint); border-radius: 0 12px 12px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose strong { color: var(--navy); }

/* ---------- Bloques varios ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--reverse .split__media { order: -1; }
.split--form { grid-template-columns: 1fr 1fr; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split, .split--form { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.aside-card, .checklist-card { background: var(--sand); border-radius: var(--radius); padding: 26px; }
.aside-card { position: sticky; top: 96px; }
.aside-card__title { font-size: 1.25rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; }
.checklist .icon { color: var(--teal); margin-top: 4px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); }
.compare thead .compare__us { background: var(--teal); }
.compare tbody th { font-weight: 600; color: var(--navy); width: 30%; }
.compare td.compare__us { background: #F2FAF8; font-weight: 500; }
.compare tr:last-child > * { border-bottom: 0; }

.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
a.contact-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.contact-card .icon { width: 28px; height: 28px; color: var(--teal); margin-bottom: 8px; }
.contact-card span { font: 700 1.2rem var(--font-head); color: var(--navy); }
.contact-card small { color: var(--muted); }
.contact-card--wa { background: #EAFBF1; border-color: #BDEFD0; }
.contact-card--wa .icon { color: var(--wa-dark); }

/* ---------- Encabezados de página ---------- */
.page-header { background: var(--sand); padding-block: clamp(32px, 5vw, 64px); }
.page-header--mint { background: var(--mint); }
.page-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; margin-bottom: 12px; }
.page-intro { font-size: 1.18rem; color: #33414F; max-width: 44em; margin: 0; }
.deadline { display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--navy); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .9rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #A9B3BC; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-dark); }

/* ---------- Artículo ---------- */
.article__header { padding-block: clamp(32px, 5vw, 64px) 28px; background: var(--sand); }
.article__title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
.article__lead { font-size: 1.2rem; color: #33414F; }
.article__meta { font-size: .92rem; color: var(--muted); margin: 0; }
.article__cover { margin-top: 28px; }
.article__cover img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); }
.article__body { padding-block: 40px 8px; }
.article__faq { margin-top: 40px; }
.article__faq h2 { font-size: 1.6rem; }
.sources { margin-top: 36px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--sand); font-size: .95rem; }
.sources__title { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.sources ul { margin: 0; padding-left: 1.2em; }
.article__help { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 40px 0 64px; padding: 22px; border-radius: var(--radius); background: var(--mint); }
.article__help .feature__icon { margin: 0; background: #fff; }
.article__help > div { flex: 1 1 240px; }
.article__help p { margin: 0; }
.article__help-title { font-weight: 700; color: var(--navy); }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form { display: grid; gap: 16px; }
.form__field { display: grid; gap: 6px; }
.form__field label { font-weight: 600; color: var(--navy); }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #FBFBFA;
  border: 1.5px solid #D5DBE0; border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.form__field textarea { min-height: 130px; resize: vertical; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 138, 126, .15); background: #fff; }
.form__field--check { grid-template-columns: auto 1fr; align-items: start; }
.form__field--check input { width: 20px; min-height: 20px; margin-top: 4px; }
.form__field ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.form__field ul label { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.form__field ul input { width: 18px; min-height: 18px; }
.form__help { color: var(--muted); }
.form__error { color: #B42318; font-weight: 500; }
.has-error input, .has-error textarea, .has-error select { border-color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks .feature__icon { margin-inline: auto; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy); color: #B9C6D3; padding-top: 64px; font-size: .97rem; }
.site-footer a { color: #DCE7F0; text-decoration: none; }
.site-footer a:hover { color: var(--teal-light); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; padding-bottom: 48px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand img { width: 200px; margin-bottom: 18px; }
.site-footer__title { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.contact-list li, .contact-list a { display: flex; gap: 10px; align-items: center; }
.contact-list--dark a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list--dark .icon { color: var(--teal); }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 20px 0 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--teal); color: #fff; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 96px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--wa); color: #08311C; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(18, 140, 74, .75); transition: transform .2s var(--ease-out); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { color: #08311C; transform: translateY(-2px); }
.wa-float:active { transform: scale(.96); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Animaciones con Motion (static/vendor/motion.min.js) ----------
   Estado inicial oculto solo cuando JS + Motion están activos (clase js-motion en <html>). */
.js-motion .hero__copy > *, .js-motion .hero__media,
.js-motion .section-head > *,
.js-motion .feature-grid > *, .js-motion .steps > *, .js-motion .prof-grid > *, .js-motion .post-grid > *,
.js-motion .plans > *, .js-motion .testimonials > *, .js-motion .contact-cards > *, .js-motion .faq > *,
.js-motion .cta-band, .js-motion .checklist-card, .js-motion .split__media, .js-motion .article__cover,
.js-motion .page-title, .js-motion .page-intro, .js-motion .article__title, .js-motion .article__lead { opacity: 0; }
/* Palabras del título: cada una sube desde dentro de una "ventana" */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; will-change: transform; }
.hero__accent .w { display: inline-block; }
.hero__media img { will-change: transform; }

/* ---------- Encabezado oscuro (mismo color del pie) y aviso en verde del logo ---------- */
:root { --facto-green: #78A93A; --facto-green-dark: #5E8A2A; }
.topbar { background: var(--facto-green); color: #0B2540; font-weight: 500; }
.topbar__link { color: #0B2540; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.topbar__link:hover { color: #fff; }
.site-header { background: rgba(11, 37, 64, .97); border-bottom-color: rgba(255, 255, 255, .06); }
.site-header.is-scrolled { border-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.site-nav__link { color: #DCE7F0; }
.site-nav__link:hover, .site-nav__link.is-active { background: rgba(255, 255, 255, .08); color: #fff; }
.site-nav__link.is-active { box-shadow: inset 0 -2px 0 var(--facto-green); border-radius: 10px 10px 4px 4px; }
.brand__product { color: var(--teal-light); border-left-color: rgba(255, 255, 255, .18); }
.btn--ghost { --fg: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); --fg: #fff; }
@media (max-width: 960px) {
  .nav-toggle { background: rgba(255, 255, 255, .1); color: #fff; }
  .site-nav { background: #0B2540; border-bottom-color: rgba(255, 255, 255, .08); }
}

/* Aviso superior en blanco y botones de WhatsApp con texto blanco */
.topbar { color: #fff; }
.topbar__link { color: #fff; }
.topbar__link:hover { color: #0B2540; }
.btn--whatsapp { --bg: #1F9E50; --fg: #fff; }
.btn--whatsapp:hover { background: #188A45; --fg: #fff; }
.wa-float { background: #1F9E50; color: #fff; }
.wa-float:hover { background: #188A45; color: #fff; }
/* ---------- Respuesta rápida en las guías (AEO) ---------- */
.answer-box { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--facto-green, #78A93A); background: #F2F7EC; border-radius: 0 12px 12px 0; }
.answer-box__label { margin: 0 0 .35rem; font-family: "Space Grotesk", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5E8A2A; }
.answer-box__q { margin: 0 0 .4rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.1rem; color: #0B2540; }
.answer-box__a { margin: 0; color: #22374D; line-height: 1.6; }