/* Sitio público Goubi. Escritorio según AFV_WEB; móvil según AF_WEB_MOBILE. */

:root {
  --ink: #5c5470;
  --ink-strong: #4e4664;
  --muted: #8b8498;
  --blue: #2f6bff;
  --blue-soft: #d7ebff;
  --header: #e6ebef;
  --footer: #e7eef2;
  --paper: #ffffff;
  --line: #e1e6ea;
  --max: 1120px;
  --wide: 1240px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: "Urbanist", "Plus Jakarta Sans", sans-serif;
  --shadow: 0 14px 40px rgba(80, 90, 120, 0.12);
  --wa: #22c56e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
h1, h2, h3, .ribbon span, .plan-name, .plan-price, .plan-cta,
.wa-copy, .wa-side, .wa-side a, .copy, .sol-card h3, .sol-card a,
.billing-label, .cat-pills button, .acc-item button,
.contact-form button, .quote p {
  font-family: var(--display);
}
.benefit-grid h3, .site-footer h2, .side-card h2, p, li { font-family: var(--font); }
h1 {
  font-size: 48px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--ink-strong);
  margin: 0 0 16px;
}
h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 12px;
}
p { font-size: 16px; }
h1.split, h2.split { font-weight: 400; }
h1.split strong, h2.split strong { display: block; font-weight: 800; }
.site-footer h2, .side-card h2 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
button, input, textarea { font-family: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.search-box svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; }

/* Encabezado */
.site-header {
  background: var(--header);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 86px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo img { height: 52px; width: auto; display: block; }
.nav-desktop {
  display: flex;
  gap: 42px;
  margin-left: auto;
  align-items: center;
}
.nav-desktop a {
  color: #8d8798;
  font-weight: 700;
  font-size: 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-desktop a.is-active,
.nav-desktop a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.header-tools { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--blue);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}
.icon-btn svg { width: 26px; height: 26px; }
.user-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  flex: 0 0 auto;
}
.user-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 20px 18px;
  box-shadow: 0 18px 36px rgba(40, 50, 70, 0.12);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.35s ease;
}
.nav-mobile.is-open {
  max-height: 320px;
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile a {
  display: block;
  padding: 12px 8px;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a.is-active { color: var(--blue); }

/* Hero */
.hero { position: relative; background: #f4f8fc; }
.hero-stage { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.85s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slide img { width: 100%; display: block; }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 72px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(92, 84, 112, 0.45);
  cursor: pointer;
  transition: color 0.25s ease;
}
.hero-arrow:hover, .hero-arrow:focus-visible { color: rgba(92, 84, 112, 0.9); }
.hero-arrow svg { width: 18px; height: 42px; display: block; margin: 0 auto; }
.hero-arrow.prev { left: 8px; }
.hero-arrow.next { right: 8px; }
.hero-cta {
  position: absolute;
  display: block;
  border-radius: 999px;
  color: transparent;
  overflow: hidden;
  white-space: nowrap;
}
.hero-cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero-cta.pos-left { left: 6.5%; bottom: 9%; width: 23%; height: 10%; }
.hero-cta.pos-right { right: 11%; bottom: 11%; width: 23%; height: 10%; }
.hero-dots {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 7px;
  top: 6.5%;
  right: 6%;
}
.hero-dots button {
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hero-dots button:focus-visible { outline: 2px solid var(--blue); }

/* Secciones comunes */
.section { padding: 72px 24px; }
.section h2, .block-title {
  margin: 0 0 16px;
}
.lede { color: var(--muted); margin: 0; font-size: 16px; }
.wrap { max-width: var(--wide); margin: 0 auto; }
.dots-row { display: flex; gap: 10px; margin-top: 18px; }
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot-orange { background: #f0a04b; }
.dot-purple { background: #b9a6e8; }
.dot-green { background: #7dce6a; }
.dot-cyan { background: #5ec8d8; }

/* Plataforma */
.platform {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px 10px;
}
.platform img { width: 100%; display: block; }
.platform h1 { max-width: 460px; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  color: #6e687c;
  font-size: 16px;
}
.check-list .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d9d5e2;
  flex: 0 0 auto;
  margin-top: 2px;
  position: relative;
}
.check-list .mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #8a8496;
}

/* Pastillas */
.ribbon {
  margin: 36px 0 10px;
}
.ribbon-row {
  display: flex;
  min-height: 74px;
}
.ribbon-row + .ribbon-row { margin-top: -8px; }
.ribbon span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 18px 28px;
}
.ribbon-purple { background: #b7a6e6; border-radius: 0 40px 40px 0; flex: 1.15; }
.ribbon-orange { background: #f0b06a; border-radius: 40px 0 0 40px; flex: 1; margin-left: -28px; }
.ribbon-green { background: #3dce86; border-radius: 0 40px 40px 0; flex: 0.72; }
.ribbon-cyan { background: #3ec6d4; border-radius: 40px 0 0 40px; flex: 1.2; margin-left: -18px; }

/* Ayuda */
.help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 24px;
}
.help-photo { text-align: center; }
.help-photo img { max-height: 460px; width: auto; }

/* Clientes */
.clients { background: #e7eef1; padding: 54px 24px 28px; text-align: center; }
.clients h1 { font-weight: 400; }
.clients .sub { color: #8d8796; margin-top: 0; font-size: 16px; }

.benefits { background: #e7eef1; padding: 10px 20px 36px; }
.benefits-strip { display: block; width: min(1100px, 100%); margin: 0 auto 8px; border-radius: 8px; }
.benefit-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.benefit-photo { display: none; }
.benefit-grid h3 {
  color: var(--blue);
  font-size: 20px;
  margin: 12px 0 8px;
  line-height: 1.25;
}
.benefit-grid p { margin: 0; color: #8a8496; font-size: 16px; }
.benefit-nav { display: none; }

/* Cifras */
.stats {
  background: #8f8a99;
  color: #fff;
  text-align: center;
  padding: 36px 16px;
}
.stat-arrow { display: none; }
.stats-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats h1 {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
}
.stat p { margin: 6px auto 0; max-width: 240px; font-size: 16px; opacity: 0.95; }
.stat { position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5b6ea;
  transform: translate(-50%, 0);
}

/* Planes home */
.solutions { padding: 64px 24px 72px; text-align: center; background: #E7E9ED; }
.solutions h1 { font-weight: 400; }
.sol-wrap {
  max-width: 1080px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: #E7E9ED;
}
.sol-viewport { overflow: hidden; min-width: 0; background: #E7E9ED; }
.sol-track {
  display: flex;
  gap: 22px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: #E7E9ED;
}
.sol-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: none;
  padding: 28px 22px 22px;
  text-align: left;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 44px) / 3);
  box-sizing: border-box;
}
.sol-ico {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.sol-ico svg { width: 30px; height: 30px; }
.sol-card h3 { margin: 0 0 10px; font-size: 26px; color: var(--ink-strong); }
.sol-card p { margin: 0 0 18px; color: #8b8498; flex: 1; }
.sol-card a { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.sol-card a svg { width: 18px; height: 18px; flex: 0 0 auto; }
.dots-row { justify-content: center; }
.arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #b0aab8;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.arrow-btn svg { width: 28px; height: 28px; }
.arrow-btn:hover { color: var(--blue); }

/* Barra WhatsApp */
.wa-bar {
  background: linear-gradient(100deg, #14c86a 0%, #2ed67c 55%, #49e08f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.wa-bar::before,
.wa-bar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.wa-bar::before { width: 280px; height: 180px; left: -80px; bottom: -90px; }
.wa-bar::after { width: 220px; height: 160px; right: -40px; top: -70px; }
.wa-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.wa-copy { color: #e7ff6a; font-weight: 800; font-size: 22px; line-height: 1.25; margin: 0; max-width: 420px; }
.wa-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgb(37, 196, 110);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 22px rgba(10, 70, 30, 0.35);
}
.wa-icon svg { width: 48px; height: 48px; }
.wa-side { text-align: right; }
.wa-side p { margin: 0; font-weight: 700; font-size: 20px; }
.wa-side a { color: #fff; font-size: 28px; font-weight: 800; }

/* Pie */
.site-footer { background: var(--footer); }
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 42px 24px 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.brand-row { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.footer-brand img { height: 64px; width: auto; }
.social { display: flex; gap: 16px; margin: 0; color: var(--blue); }
.social a, .social span { color: inherit; display: grid; }
.social svg { width: 22px; height: 22px; }
.footer-brand p { margin: 0; max-width: 280px; color: #6d677a; }
.site-footer h2 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--blue);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer li a, .footer-static {
  color: #7d8794;
  font-size: 15px;
}
.footer-static { cursor: default; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; color: #5f6b78; }
.contact-list svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.copy {
  background: linear-gradient(90deg, #4d7cf5, #7a5cff);
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
}

/* Precios */
.pricing-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 54px 24px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.pricing-hero h1 { margin: 0; font-weight: 400; }
.billing-box { text-align: left; padding-bottom: 8px; }
.billing-box p { margin: 0 0 12px; color: #6d677c; max-width: 360px; }
.billing { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.billing-label { color: #b0aab8; cursor: pointer; background: none; border: 0; font-weight: 800; font-size: 16px; }
.billing-label.is-on { color: var(--blue); }
.switch {
  width: 54px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: #eceff3;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  transition: transform 0.2s ease;
}
.switch[aria-checked="true"] .switch-knob { transform: translateX(24px); }

.cat-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 28px 16px 8px;
}
.cat-pills { display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; }
.cat-pills button, .cat-solo {
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
}
.cat-pills button[data-cat="corporativo"] { background: #e4daf8; color: #7b68b2; }
.cat-pills button[data-cat="agendamiento"] { background: #ffe3cc; color: #e08a3c; }
.cat-pills button[data-cat="comercial"] { background: #d9f6e4; color: #2ea85a; }
.cat-pills button[data-cat="conversacional"] { background: #d7ecff; color: #4c92d6; }
.cat-pills button.is-on { color: #fff; transform: none; padding: 16px 40px; font-size: 20px; }
.cat-pills button[data-cat="corporativo"].is-on { background: #7c5fd0; }
.cat-pills button[data-cat="agendamiento"].is-on { background: #f39a45; }
.cat-pills button[data-cat="comercial"].is-on { background: #3dce74; }
.cat-pills button[data-cat="conversacional"].is-on { background: #3b82f6; }
.cat-arrow { display: none; }

.plan-arrow { display: none; }
.plan-wrap {
  max-width: 1040px;
  margin: 18px auto 20px;
  padding: 10px 16px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}
.plan-viewport, .cat-viewport { min-width: 0; }
.plan-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
}
.plan {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 3px solid transparent;
  min-height: 480px;
  width: 300px;
  flex: 0 0 300px;
  max-width: 300px;
  min-width: 300px;
}
.plan-name {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 32px;
  padding: 22px 12px 8px;
  background: var(--head, #3dce74);
}
.plan-price {
  margin: 0;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  padding: 8px 12px 16px;
  background: var(--band, #c6f27a);
  color: #fff;
}
.plan-items {
  list-style: none;
  margin: 0;
  padding: 22px 26px;
  flex: 1;
}
.plan-items li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: #6d677c;
}
.plan-items li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, #3dce74);
  margin-top: 7px;
  flex: 0 0 auto;
}
.plan-cta {
  display: block;
  text-align: center;
  margin: 8px 22px 22px;
  background: #8d8a99;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 12px 16px;
}
.plan.is-pro { border-color: var(--pro, #2f9d4a); }
.plan.is-pro .plan-price { background: var(--pro, #2f9d4a); }
.plan.is-pro .plan-cta { background: var(--pro, #2f9d4a); }

.pricing[data-tema="comercial"] { --head: #3dce74; --band: #b6ef6e; --pro: #2f9d4a; --dot: #3dce74; }
.pricing[data-tema="conversacional"] { --head: #3b82f6; --band: #93c5fd; --pro: #1d4ed8; --dot: #3b82f6; }
.pricing[data-tema="corporativo"] { --head: #8b6fd4; --band: #c4b5fd; --pro: #6d28d9; --dot: #8b6fd4; }
.pricing[data-tema="agendamiento"] { --head: #f59e42; --band: #fdba74; --pro: #ea580c; --dot: #f59e42; }

.faq {
  background: #e7eef1;
  padding: 56px 24px 64px;
}
.faq-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 36px;
  align-items: center;
}
.faq h2 { font-size: 40px; margin-bottom: 8px; }
.faq-brand { width: 180px; margin-top: 28px; display: block; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  border-radius: 16px;
  overflow: hidden;
  background: #d4e9ff;
  border: 2px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.acc-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 48px 16px 18px;
  cursor: pointer;
  position: relative;
}
.acc-item button::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s ease;
}
.acc-item.is-open { background: transparent; border-color: var(--blue); }
.acc-item.is-open button { color: var(--ink-strong); }
.acc-item.is-open button::after { transform: translateY(-30%) rotate(225deg); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
  color: var(--ink-strong);
}
.acc-panel p { overflow: hidden; min-height: 0; margin: 0; padding: 0 18px; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-item.is-open .acc-panel p { padding-bottom: 16px; }
.status { text-align: center; color: var(--muted); }

/* Blog */
.blog-layout, .article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
}
.page-title { margin: 0 0 22px; }
.post-feature img, .post-card img, .article-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  background: #e7eef1;
}
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.post-card img, .post-grid .post-card img { height: 180px; }
.tag {
  display: inline-block;
  border: 1px solid #d5dbe2;
  border-radius: 999px;
  padding: 4px 12px;
  margin: 10px 8px 0 0;
  color: #7c8794;
  background: #fff;
  font-size: 14px;
}
.tag-btn { cursor: pointer; font-family: inherit; }
.tag-btn.is-on, .cat-row.is-on { color: var(--blue); border-color: var(--blue); }
.post-feature h2, .post-card h2, .article-head h2 {
  margin: 8px 0 4px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink-strong);
}
.post-feature h2 a, .post-card h2 a { color: inherit; }
.post-date { color: var(--blue); margin: 0; font-weight: 700; }
.asset-slot {
  border-radius: 22px;
  background: #e7eef1;
  color: #5c6570;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  min-height: 180px;
  font-size: 13px;
  word-break: break-all;
}
.side-card {
  background: #f3f5f7;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 14px; }
.search-box input { border: 0; outline: none; width: 100%; font-size: 16px; background: transparent; }
.side-card h2 { font-size: 18px; color: var(--blue); margin: 0 0 10px; }
.cat-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid #d5dde3;
  padding: 8px 0;
  color: #66707c;
  cursor: pointer;
  font-size: 15px;
}
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; align-items: center; }
.pager button {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #8b93a0;
  font-weight: 800;
  cursor: pointer;
}
.pager button.is-on { background: var(--blue); color: #fff; }

.back-link {
  color: var(--ink);
  width: 36px;
  height: 36px;
  margin-top: 10px;
  flex: 0 0 auto;
  position: relative;
}
.back-link::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}
.article-head { display: flex; align-items: flex-start; gap: 8px; }
.article-body p { color: #5c6570; }
.quote {
  background: #b9e2ff;
  border-radius: 18px;
  padding: 18px 18px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}
.quote p { margin: 0; font-weight: 800; color: var(--ink-strong); font-size: 22px; }
.quote img { width: 42px; height: 42px; border-radius: 50%; }

/* Contacto */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.contact-info {
  padding: 28px 40px 48px;
  text-align: center;
  background: #F7F7F7;
}
.contact-info img.art { width: min(460px, 100%); margin: 0 auto 8px; display: block; }
.contact-info h1 { margin: 8px 0; color: var(--ink-strong); font-weight: 400; }
.contact-info .mail { font-weight: 700; }
.contact-info .phone { display: block; margin-top: 8px; font-weight: 800; color: var(--ink); }
.qr-block { margin-top: 22px; }
.qr-block img { width: 160px; height: 160px; background: #fff; }
.qr-block p { max-width: 260px; margin: 8px auto 0; color: #6d677c; font-size: 14px; }
.contact-form {
  background: linear-gradient(180deg, #2f7bff 0%, #3a4bff 55%, #7a4dff 100%);
  color: #fff;
  padding: 64px 48px;
}
.contact-form h1 { color: #fff; font-weight: 400; margin: 0 0 8px; }
.contact-form .intro { margin: 0 0 22px; opacity: 0.95; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: block; }
.fields label.full { grid-column: 1 / -1; }
.fields input, .fields textarea {
  width: 100%;
  border: 2px solid transparent;
  outline: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 14px 18px;
  font-size: 16px;
}
#contacto-form input:focus,
#contacto-form input:focus-visible,
#contacto-form textarea:focus,
#contacto-form textarea:focus-visible {
  outline: none;
  border-color: #fff;
  box-shadow: none;
}
.fields textarea { border-radius: 22px; min-height: 140px; resize: vertical; }
.fields input::placeholder, .fields textarea::placeholder { color: rgba(255, 255, 255, 0.85); }
.contact-form button[type="submit"] {
  display: block;
  margin: 18px auto 0;
  background: #fff;
  color: #6a6478;
  border: 0;
  border-radius: 999px;
  padding: 12px 36px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.form-note { text-align: center; min-height: 1.2em; }

/* Legales */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 36px 24px 72px; }
.legal h2 { font-size: 28px; color: var(--ink-strong); }
.legal h3 { font-size: 18px; }
.legal h4 { font-size: 18px; margin-bottom: 8px; color: var(--ink-strong); }
.legal p, .legal li { color: #4e5660; }
.legal ul { padding-left: 1.2em; }

/* Móvil: manda AF_WEB_MOBILE */
@media (max-width: 991px) {
  .header-inner { min-height: 72px; padding: 10px 16px; gap: 8px; }
  .logo img { height: 40px; }
  .nav-desktop { display: none; }
  .search-btn { display: none; }
  .menu-btn { display: inline-flex; }
  .user-btn { display: block; width: 40px; height: 40px; }
  .header-tools { margin-left: auto; }
  .hero-cta.pos-left, .hero-cta.pos-right {
    left: 16%;
    right: auto;
    width: 68%;
    height: 7.5%;
    top: 33%;
    bottom: auto;
  }
  .hero-dots { top: 3%; right: auto; left: 50%; transform: translateX(-50%); }
  .section { padding: 40px 16px; }
  .platform, .help, .faq-grid, .pricing-hero, .blog-layout, .article-layout, .contact-split, .footer-grid {
    grid-template-columns: 1fr;
  }
  .platform { padding: 16px; gap: 12px; }
  .platform h1 { max-width: none; }
  .ribbon-row { flex-direction: column; min-height: 0; }
  .ribbon-row + .ribbon-row { margin-top: 8px; }
  .ribbon span { border-radius: 999px; margin: 0 0 8px; min-height: 54px; }
  .ribbon-orange, .ribbon-cyan { margin-left: 0; }
  .help { padding: 28px 16px; }
  .help-photo img { max-height: 360px; }
  .benefits-strip { display: none; }
  .benefit-grid { display: block; }
  .benefit-grid article { display: none; }
  .benefit-grid article.is-shown { display: block; }
  .benefit-photo {
    display: block;
    height: 230px;
    border-radius: 12px;
    background: url("../assets/img/home/beneficios.jpg") center / 400% 100% no-repeat;
    margin-bottom: 8px;
  }
  .benefit-photo.i0 { background-position: 0% 50%; }
  .benefit-photo.i1 { background-position: 33.333% 50%; }
  .benefit-photo.i2 { background-position: 66.666% 50%; }
  .benefit-photo.i3 { background-position: 100% 50%; }
  .benefit-nav { display: flex; justify-content: space-between; align-items: center; max-width: 520px; margin: 0 auto; }
  .stats {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 4px;
    padding: 28px 8px;
  }
  .stat-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    padding: 0;
  }
  .stat-arrow svg { width: 22px; height: 22px; }
  .stats-viewport { overflow: hidden; min-width: 0; }
  .stats-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .stat { flex: 0 0 100%; min-width: 100%; }
  .stat + .stat::before { display: none; }
  .sol-wrap { grid-template-columns: auto 1fr auto; }
  .sol-card { flex-basis: 100%; display: flex; }
  .wa-inner { grid-template-columns: auto 1fr; grid-template-areas: "icon copy" "icon side"; }
  .wa-copy { grid-area: copy; font-size: 16px; }
  .wa-icon { grid-area: icon; width: 64px; height: 64px; }
  .wa-icon svg { width: 34px; height: 34px; }
  .wa-side { grid-area: side; text-align: left; }
  .wa-side p { font-size: 14px; }
  .wa-side a { font-size: 18px; }
  .footer-grid { text-align: left; }
  .pricing-hero { padding-top: 28px; }
  .billing-box { text-align: center; }
  .billing { justify-content: center; }
  .cat-arrow { display: inline-flex; }
  .cat-bar { gap: 8px; }
  .cat-viewport { width: 210px; overflow: hidden; }
  .cat-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .cat-pills button,
  .cat-pills button.is-on {
    display: inline-flex;
    flex: 0 0 100%;
    justify-content: center;
    transform: none;
    font-size: 16px;
    padding: 12px 16px;
  }
  h1, .stats h1 { font-size: 40px; line-height: 1.05; }
  h2, .faq h2, .legal h2, .post-feature h2, .post-card h2, .article-head h2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .site-footer h2, .side-card h2 { font-size: 18px; line-height: 1.3; }
  p, .benefit-grid p, .check-list li { font-size: 16px; }
  .plan-viewport { overflow: hidden; }
  .plan-grid {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .plan-grid .plan {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: none;
    min-height: 420px;
  }
  .plan-arrow { display: grid; }
  .hero-arrow { width: 32px; height: 56px; }
  .hero-arrow svg { width: 14px; height: 32px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-feature img { height: 200px; }
  .blog-layout, .article-layout { padding-top: 20px; }
  .contact-form { padding: 32px 18px 40px; }
  .fields { grid-template-columns: 1fr; }
  .contact-info { padding: 12px 16px 28px; }
}

.post-feature .post-date { text-align: right; }

/* Cuestionario de automatización */
.quiz-wrap { max-width: 860px; margin: 0 auto; padding: 48px 24px 72px; }
.quiz-intro h1 { margin-bottom: 16px; }
.quiz-bajada { font-weight: 700; color: var(--ink-strong); }
.quiz-lista { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.quiz-q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
}
.quiz-q h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
}
.quiz-explicacion { margin: 0 0 14px; color: #6d677c; }
.quiz-opciones { display: flex; flex-direction: column; gap: 10px; }
.quiz-opcion {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #d4e9ff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--ink-strong);
}
.quiz-opcion input { accent-color: var(--blue); margin-top: 4px; flex: 0 0 auto; }
.quiz-opcion:has(input:checked) {
  background: transparent;
  border-color: var(--blue);
}
.quiz-q.is-pendiente { border-color: var(--blue); }
.quiz-acciones { margin-top: 28px; text-align: center; }
.quiz-analizar {
  -webkit-touch-callout: none;
  user-select: none;
}
.quiz-analizar, .guia-descarga {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}
.guia-descarga { margin-top: 8px; }
.guia-descarga.is-off {
  background: #8d8a99;
  cursor: not-allowed;
}
.quiz-fields input::placeholder { color: #6d677c; }
.quiz-aviso { min-height: 1.4em; margin: 14px 0 0; color: var(--blue); font-weight: 700; }
.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(40, 50, 70, 0.45);
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.quiz-modal[hidden] { display: none; }
.quiz-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 32px;
  box-shadow: var(--shadow);
}
.quiz-dialog h2 { font-size: 32px; line-height: 1.2; margin: 0 36px 12px 0; }
.quiz-cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}
.quiz-guia-nota { font-weight: 700; color: var(--ink-strong); }
.guia-hueco {
  width: 280px;
  height: 360px;
  margin: 8px auto 16px;
  background: #e7eef1;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.guia-hueco img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guia-hueco-nombre { margin: 0; padding: 12px; text-align: center; color: #6d677c; }
.quiz-fields { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 16px; }
.quiz-fields input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #F7F7F7;
  color: var(--ink-strong);
  padding: 14px 18px;
  font-size: 16px;
  font-family: var(--font);
}
body.quiz-abierto { overflow: hidden; }

@media (max-width: 991px) {
  .quiz-wrap { padding: 28px 16px 48px; }
  .quiz-q { padding: 16px 14px; }
  .quiz-q h2 { font-size: 20px; line-height: 1.3; }
  .quiz-modal { padding: 12px; }
  .quiz-dialog {
    max-height: calc(100dvh - 24px);
    padding: 16px 16px 18px;
  }
  .quiz-dialog h2 { font-size: 22px; line-height: 1.2; margin: 0 72px 8px 0; }
  .quiz-dialog p { margin: 0 0 8px; }
  .guia-hueco { width: 150px; height: 193px; margin: 6px auto 10px; }
  .guia-descarga { margin-top: 4px; padding: 12px 22px; }
  .quiz-fields { gap: 8px; margin: 6px 0 10px; }
  .quiz-fields input { padding: 10px 14px; }
}
