/* Chatbot IA · páginas de contenido (rubros, guías, precios)
   Se apoya en home-curvas.css / curvas-base.css: mismas variables, encabezado, botones, preguntas y pie. */

.pg-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 4vw, 52px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13.5px; color: var(--t3); }
.crumbs a { color: var(--t2); text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; color: var(--deep); }
.pg-hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; max-width: 22ch; text-wrap: balance; }
.pg-hero .lead { margin-top: clamp(16px, 2vw, 26px); max-width: 62ch; font-size: clamp(17px, 1.7vw, 20.5px); }
.pg-hero .ctas { margin-top: clamp(20px, 3vw, 32px); }
.pg-meta { margin-top: 18px; font-size: 13.5px; color: var(--t3); }

.pg-sec { padding: clamp(36px, 5vw, 68px) 0; }
.pg-sec.alt { background: var(--ice); }
.pg-sec h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.04em; max-width: 24ch; text-wrap: balance; margin-bottom: clamp(18px, 2.4vw, 30px); }

/* lectura de guías */
.art { max-width: 760px; }
.art h2 { margin-top: clamp(32px, 4vw, 52px); margin-bottom: 14px; font-size: clamp(24px, 2.8vw, 34px); max-width: none; }
.art h2:first-child { margin-top: 0; }
.art p { color: var(--t2); font-size: 17.5px; line-height: 1.7; margin-bottom: 16px; max-width: 68ch; text-wrap: pretty; }
.art ul { margin: 0 0 18px; padding-left: 22px; color: var(--t2); font-size: 17px; line-height: 1.65; } .art li { margin-bottom: 8px; padding-left: 4px; }
.art li::marker { color: var(--sky); }
.art b, .art strong { color: var(--ink); font-weight: 500; }

/* tarjetas */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.cards.dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-c { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color 160ms ease, transform 200ms var(--out); }
a.card-c:hover { border-color: var(--sky); transform: translateY(-2px); }
.card-c h3 { font-size: var(--h3-m); line-height: 1.2; letter-spacing: -.025em; font-weight: 400; }
.card-c p { color: var(--t2); font-size: 15.5px; line-height: 1.55; }
.card-c .ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--ice-2); color: var(--deep); margin-bottom: 4px; }
.card-c .mas { margin-top: auto; padding-top: 6px; font-size: 14.5px; color: var(--deep); display: inline-flex; align-items: center; gap: 6px; }

/* conversación de ejemplo */
.conv-wrap { max-width: 560px; }
.conv { display: grid; gap: 10px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(3,40,56,.45); }
.cv { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.cv.c { justify-self: start; background: var(--ice-2); border-bottom-left-radius: 4px; }
.cv.b { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.conv-nota { margin-top: 12px; font-size: 13.5px; color: var(--t3); }

/* reglas */
.reglas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
.reglas li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.reglas .i { width: 20px; height: 20px; color: var(--sky); stroke-width: 2.2; margin-top: 3px; }
.reglas b { display: block; font-weight: 500; font-size: 16.5px; margin-bottom: 2px; }
.reglas span { color: var(--t2); font-size: 15.5px; line-height: 1.55; }

/* pasos */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: p; }
.pasos li { counter-increment: p; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.pasos li::before { content: counter(p); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px; font-size: 15px; font-weight: 500; color: #fff; background: linear-gradient(140deg, #0a8466, #0b7f96); }
.pasos b { display: block; font-weight: 500; font-size: 17px; margin-bottom: 4px; } .pasos span { color: var(--t2); font-size: 15.5px; line-height: 1.55; }

/* tablas */
.tabla-w { overflow-x: auto; margin: 4px 0 22px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.tabla { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.tabla th, .tabla td { padding: 13px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.5; }
.tabla thead th { background: var(--ice); font-weight: 500; border-top: 0; color: var(--ink); }
.tabla tbody th { font-weight: 500; color: var(--ink); width: 24%; }
.tabla td { color: var(--t2); }

/* precios */
.planes-e { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-e { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.plan-e.dest { border-color: var(--sky); box-shadow: 0 30px 60px -40px rgba(14,143,166,.55); }
.plan-e h3 { font-size: var(--h3-l); letter-spacing: -.03em; }
.plan-e .pr { font-size: 38px; letter-spacing: -.045em; font-weight: 300; line-height: 1.1; } .plan-e .pr small { font-size: 15px; color: var(--t3); letter-spacing: 0; margin-left: 4px; }
.plan-e p { color: var(--t2); font-size: 15.5px; }
.plan-e ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15.5px; color: var(--t2); }
.plan-e li { display: flex; gap: 8px; align-items: flex-start; } .plan-e li .i { width: 18px; height: 18px; color: var(--sky); stroke-width: 2.2; margin-top: 3px; }
.nota-p { margin-top: 18px; font-size: 14.5px; color: var(--t3); max-width: 80ch; }
.nota-p a, .art a, .pg-sec p a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }

/* relacionados y final */
.rel-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.rel-l a { display: block; padding: 18px 20px; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 16.5px; letter-spacing: -.015em; transition: border-color 160ms ease; }
.rel-l a:hover { border-color: var(--sky); } .rel-l small { display: block; margin-top: 3px; color: var(--t3); font-size: 13.5px; letter-spacing: 0; }
.pg-final { padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }

@media (max-width: 860px) {
  .cards, .cards.dos, .pasos, .planes-e, .rel-l { grid-template-columns: 1fr; }
  .reglas { grid-template-columns: 1fr; }
  .tabla thead th, .tabla td, .tabla th { padding: 11px 12px; }
}

/* enlace para saltar al contenido: visible solo al enfocarlo con el teclado */
.saltar { position: absolute; left: 12px; top: -64px; z-index: 1000; background: #fff; color: #0b1f27; padding: 10px 16px; border-radius: 10px; font-weight: 500; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: top 160ms ease; }
.saltar:focus { top: 12px; }
