/* ============================================================
   Páginas de producto (Gestor de horas, Facturación) — sobre brand.css
   ============================================================ */

/* Hero: texto + UI recreada del producto */
.p-hero { padding: 72px 0 96px; }
.p-hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.p-hero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; color: var(--blue); margin: 12px 0 18px; }
.p-hero__lead { font-size: 18px; color: var(--muted); line-height: 1.55; max-width: 560px; }
.p-hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.p-hero__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 1023px) { .p-hero__inner { grid-template-columns: 1fr; gap: 40px; } }

/* Secciones */
.p-section { padding: 96px 0; border-top: 1px solid var(--line); }
.p-head { max-width: 680px; margin-bottom: 40px; }
.p-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 10px 0 12px; }
.p-head p { color: var(--muted); font-size: 17px; }

/* Video */
.p-video { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.p-video iframe { width: 100%; height: 100%; border: 0; }

/* Funcionalidades */
.p-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.p-feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.p-feature h3 { font-size: 20px; margin-bottom: 8px; }
.p-feature p { color: var(--muted); line-height: 1.55; }
.p-feature a { color: var(--blue); }

/* Galería de capturas */
.p-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-ui); background: var(--white); }
.p-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .p-gallery { grid-template-columns: 1fr; } }

/* Cómo funciona */
.p-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; }
.p-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.p-step__num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-family: var(--ff-display); font-weight: 600; margin-bottom: 14px; }
.p-step h3 { font-size: 18px; margin-bottom: 6px; }
.p-step p { color: var(--muted); line-height: 1.5; }
@media (max-width: 1023px) { .p-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-steps { grid-template-columns: 1fr; } }

/* Precio único */
.p-price { max-width: 560px; background: var(--white); border: 1px solid var(--blue); border-radius: var(--radius-lg); padding: 32px; }
.p-price__badge { display: inline-block; font-size: 11px; font-weight: 600; background: var(--blue); color: var(--white); padding: 3px 10px; border-radius: 999px; }
.p-price h3 { font-size: 24px; margin: 12px 0 2px; }
.p-price__range { color: var(--muted); font-size: 14px; }
.p-price__big { font-family: var(--ff-display); font-weight: 600; font-size: 44px; margin: 14px 0 0; line-height: 1.1; }
.p-price__big span { font-family: var(--ff-body); font-weight: 400; font-size: 16px; color: var(--muted); }
.p-price ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.p-price li { display: flex; gap: 10px; }
.p-price li::before { content: '✓'; color: var(--blue); font-weight: 600; }
.p-price__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.p-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1140px; }
.p-prices .p-price { max-width: none; display: flex; flex-direction: column; }
.p-prices .p-price .btn { align-self: flex-start; margin-top: auto; }
.p-prices .p-price__badge { align-self: flex-start; }
.p-price--incl { border-color: var(--line); }
.p-price--incl .p-price__badge { background: var(--green-soft); color: var(--green); }
.p-price li a { color: var(--blue); }
