/* Producto: each capture sits beside the feature it explains; shared pieces live in site-light.css. */
.product-page { --product-space: 88px; }
.product-page .page-hero.product-intro { padding: 64px 0 40px; }
.product-page .product-intro-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.product-overview { margin: 0; min-width: 0; }
.product-overview figcaption { margin-top: 14px; color: #4b5178; font-size: 14px; }
.product-page .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; }

.product-index { padding: 16px 0 24px; scroll-margin-top: 96px; }
.product-index .site-chips { margin: 0; background: #eef0ff; border-radius: 999px; padding: 6px; width: fit-content; max-width: 100%; }

.product-chapter { padding-block: var(--product-space); }
.product-chapter[id], .product-modules article[id], .product-report[id] { scroll-margin-top: 104px; }
.product-chapter-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 72px; align-items: center; }
.product-chapter--reverse .product-chapter-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.product-chapter--reverse .product-chapter-copy { order: 2; }
.product-chapter-copy { max-width: 420px; }
.product-chapter-copy h2 { margin: 0 0 16px; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.04em; }
.product-chapter-copy p { margin: 0; color: #24275a; font-size: 18px; line-height: 1.65; }
.product-visual { min-width: 0; margin: 0; }
.product-visual figcaption { margin-top: 16px; color: #4b5178; font-size: 14px; line-height: 1.5; }
.product-visual--phones { background: #eef0ff; border-radius: 40px; padding: 48px 32px 32px; }
.product-phone-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; max-width: 460px; margin-inline: auto; }
.product-phone-pair img { width: 100%; height: auto; display: block; border-radius: 22px; border: 8px solid #080a2e; background: #080a2e; }
.product-phone-pair img + img { margin-top: 48px; }
.product-visual--phones figcaption { text-align: center; }

.product-page .product-chapter--kitchen { background: transparent; padding-block: 24px; }
.product-kitchen { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }

.product-report { margin-block: 72px; }
.product-report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.product-report-copy h2 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.04em; line-height: 1.08; margin: 0 0 20px; }
.product-report-copy > p { font-size: 18px; margin: 0 0 24px; }
.product-report-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.product-report-list li { position: relative; padding-left: 22px; color: white; font-size: 17px; font-weight: 500; }
.product-report-list li::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; border-radius: 4px; background: var(--site-sky); }
.product-report-pages { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-report-pages img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 50px rgba(0,0,0,.35); transform: rotate(-2deg); transition: transform 420ms var(--site-ease); }
.product-report-pages img + img { transform: rotate(2deg) translateY(40px); }
.product-report-pages img:hover { transform: rotate(0) translateY(-6px); }

.product-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-modules article { background: rgba(247,248,255,.94); border-radius: 28px; padding: 36px; }
.product-modules article:nth-child(2) { background: #eef0ff; }
.product-modules h3 { font-size: 24px; letter-spacing: -.025em; margin: 0 0 10px; }
.product-modules article::before { content: ''; display: block; width: 32px; height: 4px; border-radius: 4px; background: var(--lirio-indigo-700); margin-bottom: 20px; }
.product-modules p { margin: 0; color: #24275a; font-size: 16px; line-height: 1.7; }
.product-modules .site-chips li { background: white; font-size: 13px; padding: 6px 12px; }

.product-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; position: relative; }
.product-flow::before { content: ''; position: absolute; left: 10px; right: 10px; top: 9px; height: 2px; background: linear-gradient(90deg, var(--lirio-indigo-700) 50%, transparent 0) 0 0 / 10px 2px repeat-x; opacity: .45; }
.product-flow li { position: relative; padding-top: 40px; }
.product-flow li::before { content: ''; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: white; border: 5px solid var(--lirio-indigo-700); box-sizing: border-box; }
.product-flow li:last-child::before { background: var(--lirio-indigo-700); }
.product-flow strong { display: block; font-family: Manrope, Inter, sans-serif; font-size: 18px; color: var(--lirio-indigo-900); margin-bottom: 6px; }
.product-flow span { display: block; color: #24275a; font-size: 15px; line-height: 1.6; }

@media (max-width: 1100px) {
  .product-page .product-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-intro-copy { max-width: 720px; }
  .product-chapter-grid, .product-chapter--reverse .product-chapter-grid, .product-kitchen { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; }
  .product-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .product-flow::before { display: none; }
}
@media (max-width: 820px) {
  .product-page { --product-space: 56px; }
  .product-page .page-hero.product-intro { padding: 40px 0 24px; }
  .product-index .site-chips { border-radius: 24px; }
  .product-chapter-grid, .product-chapter--reverse .product-chapter-grid, .product-kitchen { grid-template-columns: 1fr; gap: 32px; }
  .product-chapter--reverse .product-chapter-copy { order: 0; }
  .product-chapter-copy { max-width: none; }
  .product-chapter-copy p { font-size: 17px; }
  .product-visual--phones { padding: 32px 16px 20px; border-radius: 28px; }
  .product-phone-pair { gap: 16px; }
  .product-phone-pair img { border-width: 5px; border-radius: 16px; }
  .product-phone-pair img + img { margin-top: 28px; }
  .product-report { margin-block: 40px; }
  .product-report-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-report-pages { max-width: 460px; padding-bottom: 32px; }
  .product-modules { grid-template-columns: 1fr; }
  .product-modules article { padding: 28px 22px; }
  .product-flow { grid-template-columns: 1fr; gap: 0; }
  .product-flow li { padding: 0 0 28px 40px; }
  .product-flow li::after { content: ''; position: absolute; left: 9px; top: 24px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--lirio-indigo-700) 50%, transparent 0) 0 0 / 2px 10px repeat-y; opacity: .45; }
  .product-flow li:last-child::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .product-report-pages img { transition: none; }
}

/* La nota de un capítulo va aparte de las etiquetas, en pequeño. */
.product-chapter-copy .site-note { margin-top: 18px; color: #4b5178; font-size: 14px; line-height: 1.6; }
.product-fiscal { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: center; background: var(--site-mist-2, #eef0ff); border-radius: 28px; padding: 44px 48px; scroll-margin-top: 104px; }
.light-site .product-fiscal h2 { font-size: 28px; letter-spacing: -.03em; margin: 0 0 10px; }
.product-fiscal p { margin: 0; color: #24275a; font-size: 17px; line-height: 1.65; }
.product-fiscal .site-chips { margin: 0; }
.product-fiscal .site-chips li { background: white; }
.product-page .product-more { padding-block: 24px var(--product-space); }
@media (max-width: 820px) {
  .product-fiscal { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* Capítulo con vídeo: el texto va arriba y el vídeo ocupa todo el ancho. */
@media (min-width: 821px) {
  .product-chapter--video .product-chapter-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .product-chapter--video .product-chapter-copy { max-width: none; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 72px; align-items: start; }
  .product-chapter--video .product-chapter-copy > h2 { grid-row: 1 / span 2; }
  .product-chapter--video .product-chapter-copy > p, .product-chapter--video .product-chapter-copy > .site-chips { grid-column: 2; }
}
