/* Manual Bodega de Huevos - companion page for JJRey */
.manual-page {
  --manual-yellow: #ffd957;
  --manual-yellow-deep: #e7aa18;
  --manual-blue: #208dcc;
  --manual-green: #168b5e;
  --manual-soft: #eef4f5;
  --manual-ink-muted: rgba(7, 28, 44, 0.67);
  background: var(--paper);
}

.manual-header { position: absolute; }
.manual-header .header-cta { background: var(--manual-yellow); border-color: var(--manual-yellow); color: var(--ink); box-shadow: 0 12px 28px rgba(255, 217, 87, 0.18); }
.manual-header .header-cta:hover,
.manual-header .header-cta:focus-visible { background: #ffe47f; border-color: #ffe47f; }
.manual-header.is-scrolled .header-cta { background: var(--ink); border-color: var(--ink); color: var(--white); }
.manual-header.is-scrolled .header-cta:hover,
.manual-header.is-scrolled .header-cta:focus-visible { background: var(--ink-soft); border-color: var(--ink-soft); }

.manual-hero {
  position: relative;
  overflow: hidden;
  padding: 174px 0 92px;
  background:
    radial-gradient(circle at 87% 26%, rgba(255, 217, 87, 0.22), transparent 22rem),
    radial-gradient(circle at 11% 85%, rgba(37, 214, 173, 0.13), transparent 25rem),
    var(--ink);
  color: var(--white);
}
.manual-hero::after { content: ""; position: absolute; inset: auto -12% -15rem auto; width: 42rem; height: 42rem; border: 1px solid rgba(255, 217, 87, 0.16); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255, 217, 87, 0.035), 0 0 0 160px rgba(255, 217, 87, 0.02); pointer-events: none; }
.manual-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(410px, 1.14fr); gap: clamp(42px, 7vw, 96px); align-items: center; }
.manual-hero-copy { max-width: 640px; }
.manual-hero .eyebrow { color: var(--manual-yellow); }
.manual-hero h1 { max-width: 690px; margin: 17px 0 23px; font-size: clamp(3.4rem, 7vw, 6.75rem); line-height: 0.92; letter-spacing: -0.075em; }
.manual-hero-lead { max-width: 590px; margin: 0; color: rgba(255, 255, 255, 0.72); font-size: clamp(1.03rem, 1.5vw, 1.2rem); line-height: 1.7; }
.manual-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 31px; }
.manual-hero .button { background: var(--manual-yellow); border-color: var(--manual-yellow); }
.manual-hero .button:hover,
.manual-hero .button:focus-visible { background: #ffe47f; border-color: #ffe47f; }
.manual-ghost-link { display: inline-flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.33); color: var(--white); font-size: 0.85rem; font-weight: 760; }
.manual-ghost-link:hover,
.manual-ghost-link:focus-visible { border-color: var(--manual-yellow); color: var(--manual-yellow); }
.manual-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 43px; }
.manual-badges span { padding: 8px 11px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 99px; color: rgba(255, 255, 255, 0.7); font-size: 0.68rem; font-weight: 760; letter-spacing: 0.04em; }
.manual-hero-figure { margin: 0; }
.screenshot-window { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 19px; background: #dbe4e8; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); }
.screenshot-window-bar { display: flex; align-items: center; gap: 7px; min-height: 37px; padding: 0 13px; background: rgba(7, 28, 44, 0.93); }
.screenshot-window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #f57467; }
.screenshot-window-bar > span:nth-child(2) { background: var(--manual-yellow); }
.screenshot-window-bar > span:nth-child(3) { background: var(--mint); }
.screenshot-window-bar small { margin-left: 5px; color: rgba(255, 255, 255, 0.53); font-size: 0.6rem; letter-spacing: 0.04em; }
.screenshot-window img { width: 100%; aspect-ratio: 1910 / 892; object-fit: cover; object-position: top left; }
.manual-hero-figure figcaption { max-width: 510px; margin-top: 14px; color: rgba(255, 255, 255, 0.52); font-size: 0.71rem; line-height: 1.55; }

.manual-overview { background: var(--white); }
.manual-section-heading { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px; align-items: end; margin-bottom: 36px; }
.manual-section-heading h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 0.96; letter-spacing: -0.065em; }
.manual-section-heading > p:last-child { max-width: 540px; margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.72; }
.manual-toc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.manual-toc a { display: grid; grid-template-columns: auto 1fr; column-gap: 11px; align-items: center; min-height: 93px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.manual-toc a:hover,
.manual-toc a:focus-visible,
.manual-toc a.is-active { transform: translateY(-3px); border-color: var(--manual-blue); box-shadow: 0 13px 28px rgba(7, 28, 44, 0.09); }
.manual-toc span { grid-row: span 2; align-self: start; color: var(--manual-blue); font-size: 0.68rem; font-weight: 850; }
.manual-toc strong { font-size: 0.79rem; }
.manual-toc small { color: var(--muted); font-size: 0.68rem; line-height: 1.35; }

.manual-content { background: var(--paper); }
.manual-content-soft { background: var(--manual-soft); }
.manual-content-dark { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.manual-content-dark::before { content: ""; position: absolute; top: -12rem; right: -12rem; width: 35rem; height: 35rem; border: 1px solid rgba(37, 214, 173, 0.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(37, 214, 173, 0.03), 0 0 0 140px rgba(37, 214, 173, 0.015); pointer-events: none; }
.manual-section-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(38px, 7vw, 102px); align-items: start; }
.manual-section-grid-reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.manual-section-grid-reverse > .manual-section-intro { order: 2; }
.manual-section-grid-reverse > :last-child { order: 1; }
.manual-section-intro { max-width: 590px; }
.manual-section-intro h2 { margin: 0; font-size: clamp(2.5rem, 4.8vw, 5rem); line-height: 0.93; letter-spacing: -0.075em; }
.manual-section-intro > p:not(.section-label) { margin: 23px 0 0; color: var(--manual-ink-muted); font-size: 0.97rem; line-height: 1.76; }
.manual-content-dark .manual-section-intro > p:not(.section-label) { color: rgba(255, 255, 255, 0.68); }
.manual-section-intro .section-label { margin-bottom: 16px; }
.manual-content-dark .section-label { color: var(--manual-yellow); }

.manual-note { display: grid; gap: 7px; margin-top: 27px; padding: 17px 18px; border-left: 3px solid var(--manual-blue); border-radius: 0 13px 13px 0; background: rgba(32, 141, 204, 0.08); }
.manual-note strong { font-size: 0.77rem; }
.manual-note span { color: var(--muted); font-size: 0.76rem; line-height: 1.55; }
.manual-note-mint { border-left-color: var(--mint-dark); background: rgba(37, 214, 173, 0.11); }
.manual-note-yellow { border-left-color: var(--manual-yellow-deep); background: rgba(255, 217, 87, 0.16); }
.manual-note-dark { border-left-color: var(--manual-yellow); background: rgba(255, 255, 255, 0.06); }
.manual-note-dark span { color: rgba(255, 255, 255, 0.64); }
.manual-note code { padding: 2px 5px; border-radius: 4px; background: rgba(7, 28, 44, 0.08); font-size: 0.7rem; }

.manual-steps-card { padding: 27px 29px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 16px 40px rgba(7, 28, 44, 0.06); }
.manual-steps-card h3 { margin: 0 0 19px; font-size: 1rem; }
.manual-steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: manual-step; }
.manual-steps li { display: grid; grid-template-columns: 31px 1fr; gap: 13px; align-items: start; }
.manual-steps li > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: var(--ink); color: var(--manual-yellow); font-size: 0.75rem; font-weight: 850; }
.manual-steps strong { display: block; margin: 2px 0 5px; font-size: 0.83rem; }
.manual-steps p { margin: 0; color: var(--muted); font-size: 0.77rem; line-height: 1.55; }
.manual-steps a,
.manual-checklist a,
.manual-content a:not(.button) { color: var(--mint-dark); text-decoration: underline; text-decoration-color: rgba(13, 141, 115, 0.35); text-underline-offset: 3px; }
.manual-steps.compact { gap: 16px; }
.manual-steps.compact li > span { background: var(--manual-yellow); color: var(--ink); }
.manual-screenshot-row { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 33px; align-items: center; margin-top: 44px; }
.manual-live-note { max-width: 760px; margin-top: 32px; }
.manual-live-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: 44px; }
.manual-live-grid .manual-screenshot-card { min-width: 0; }
.manual-live-grid .manual-screenshot-card img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 16px 36px rgba(7, 28, 44, 0.08); }
.manual-screenshot-card { margin: 0; }
.manual-screenshot-card figcaption { margin-top: 11px; color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.manual-login-shot { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff5e7; box-shadow: 0 16px 36px rgba(7, 28, 44, 0.08); }
.manual-login-shot img { width: 100%; aspect-ratio: 1728 / 768; object-fit: cover; }
.screenshot-placeholder { min-height: 230px; display: grid; place-items: center; align-content: center; gap: 7px; border: 1px dashed rgba(32, 141, 204, 0.42); border-radius: 18px; background: linear-gradient(145deg, #fff, #eaf5f8); color: var(--ink); text-align: center; }
.placeholder-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--manual-yellow); font-size: 1.5rem; }
.screenshot-placeholder strong { font-size: 0.85rem; }
.screenshot-placeholder small { color: var(--muted); font-size: 0.67rem; }
.manual-checklist { padding: 25px; border-radius: 18px; background: var(--white); }
.manual-checklist h3 { margin: 0 0 15px; font-size: 1.03rem; }
.check-list,
.manual-bullet-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li,
.manual-bullet-list li { position: relative; padding-left: 21px; color: var(--muted); font-size: 0.79rem; line-height: 1.55; }
.check-list li::before,
.manual-bullet-list li::before { content: "✓"; position: absolute; left: 0; color: var(--manual-green); font-weight: 900; }
.manual-bullet-list { margin-top: 24px; }
.manual-bullet-list li { color: var(--manual-ink-muted); }
.manual-bullet-list strong { color: var(--ink); }

.manual-content-dark .manual-screenshot-card { position: relative; z-index: 1; }
.manual-screenshot-card-dark img { width: 100%; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 17px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); }
.manual-screenshot-card-dark figcaption { color: rgba(255, 255, 255, 0.5); }
.manual-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.manual-stat-row span { display: grid; gap: 5px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 11px; color: rgba(255, 255, 255, 0.55); font-size: 0.67rem; line-height: 1.35; }
.manual-stat-row strong { color: var(--manual-yellow); font-size: 0.7rem; }
.dashboard-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 45px; }
.dashboard-cards article { padding: 19px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 15px; background: rgba(255, 255, 255, 0.045); }
.dashboard-cards span { display: block; margin-bottom: 11px; color: var(--mint); font-size: 0.66rem; font-weight: 760; text-transform: uppercase; letter-spacing: 0.06em; }
.dashboard-cards strong { display: block; font-size: 0.86rem; }
.dashboard-cards p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.53); font-size: 0.7rem; line-height: 1.5; }

.manual-feature-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.manual-feature-band > div { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.feature-index { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 20px; border-radius: 9px; background: var(--manual-yellow); color: var(--ink); font-size: 0.72rem; font-weight: 850; }
.manual-feature-band strong { display: block; font-size: 0.84rem; }
.manual-feature-band p { margin: 8px 0 0; color: var(--muted); font-size: 0.74rem; line-height: 1.58; }

.manual-module-card { position: relative; overflow: hidden; min-height: 235px; display: flex; flex-direction: column; justify-content: end; padding: 28px; border-radius: 20px; color: var(--white); }
.manual-module-card::after { content: ""; position: absolute; right: -6rem; top: -6rem; width: 17rem; height: 17rem; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.05); }
.module-card-blue { background: linear-gradient(135deg, #116d9e, #173957); }
.module-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: auto; border-radius: 13px; background: var(--manual-yellow); color: var(--ink); font-size: 1.1rem; font-weight: 900; }
.manual-module-card strong { position: relative; z-index: 1; font-size: 1.24rem; }
.manual-module-card p { position: relative; z-index: 1; max-width: 340px; margin: 9px 0 17px; color: rgba(255, 255, 255, 0.73); font-size: 0.79rem; line-height: 1.55; }
.module-path { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.58); font-size: 0.64rem; }
.module-path b { color: var(--white); font-size: 0.67rem; }
.manual-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.manual-action-grid article { min-height: 200px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.manual-action-grid span { color: var(--manual-blue); font-size: 0.67rem; font-weight: 850; }
.manual-action-grid h3 { margin: 32px 0 8px; font-size: 1.08rem; }
.manual-action-grid p { margin: 0; color: var(--muted); font-size: 0.74rem; line-height: 1.55; }

.manual-check-panel { position: relative; z-index: 1; display: grid; gap: 0; padding: 25px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.05); }
.manual-check-panel h3 { margin: 0 0 10px; color: var(--manual-yellow); font-size: 1rem; }
.manual-check-panel label { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.76); font-size: 0.77rem; }
.manual-check-panel label:last-child { border-bottom: 0; }
.manual-check-panel input { width: 17px; height: 17px; accent-color: var(--manual-yellow); }

.report-table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 16px 40px rgba(7, 28, 44, 0.06); }
.report-table-card > div { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.report-table-card > div:last-child { border-bottom: 0; }
.report-table-card > div:not(.report-table-head) strong { font-size: 0.78rem; }
.report-table-card > div:not(.report-table-head) span { color: var(--muted); font-size: 0.74rem; }
.report-table-head { background: var(--ink); color: var(--manual-yellow); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.permission-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--white); box-shadow: 0 16px 40px rgba(7, 28, 44, 0.06); }
.permission-card-top { display: flex; align-items: center; gap: 13px; padding: 20px; background: var(--ink); color: var(--white); }
.permission-card-top .module-icon { width: 36px; height: 36px; margin: 0; background: var(--manual-yellow); font-size: 0.94rem; }
.permission-card-top strong { font-size: 0.91rem; }
.permission-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 0.75rem; }
.permission-row span { color: var(--muted); }
.permission-row b { font-size: 0.72rem; }
.permission-card > small { display: block; padding: 15px 20px 19px; color: var(--muted); font-size: 0.66rem; line-height: 1.45; }

.manual-faq { background: var(--white); }
.manual-faq-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: clamp(38px, 7vw, 100px); }
.manual-faq-list { display: grid; align-content: start; gap: 9px; }
.manual-faq-list details { padding: 0 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.manual-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 57px; cursor: pointer; font-size: 0.82rem; font-weight: 760; list-style: none; }
.manual-faq-list summary::-webkit-details-marker { display: none; }
.manual-faq-list summary span { color: var(--manual-blue); font-size: 1.1rem; font-weight: 400; }
.manual-faq-list details[open] summary span { transform: rotate(45deg); }
.manual-faq-list details > p { max-width: 650px; margin: -1px 0 18px; color: var(--muted); font-size: 0.76rem; line-height: 1.65; }

.manual-cta { padding: 75px 0; background: var(--manual-yellow); color: var(--ink); }
.manual-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.manual-cta .section-label { color: var(--ink); opacity: 0.6; }
.manual-cta h2 { max-width: 680px; margin: 0; font-size: clamp(2.25rem, 4.3vw, 4.35rem); line-height: 0.95; letter-spacing: -0.07em; }
.manual-cta p:not(.section-label) { max-width: 590px; margin: 16px 0 0; color: rgba(7, 28, 44, 0.67); font-size: 0.9rem; line-height: 1.6; }
.manual-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px; }
.manual-cta .button { border-color: var(--ink); background: var(--ink); color: var(--white); box-shadow: none; white-space: nowrap; }
.manual-cta .button:hover,
.manual-cta .button:focus-visible { background: var(--ink-soft); border-color: var(--ink-soft); }
.manual-cta .manual-ghost-link { border-color: rgba(7, 28, 44, 0.3); color: var(--ink); white-space: nowrap; }
.manual-cta .manual-ghost-link:hover,
.manual-cta .manual-ghost-link:focus-visible { border-color: var(--ink); }
.manual-footer { background: var(--ink); color: var(--white); }
.manual-footer .footer-bottom { min-height: 78px; border-top: 0; }
.manual-footer .footer-bottom a { color: var(--manual-yellow); font-size: 0.72rem; font-weight: 760; }

@media (max-width: 1020px) {
  .manual-hero-grid { grid-template-columns: 1fr; }
  .manual-hero-copy { max-width: 780px; }
  .manual-hero-figure { max-width: 760px; }
  .manual-section-grid,
  .manual-section-grid-reverse { grid-template-columns: 1fr; gap: 34px; }
  .manual-section-grid-reverse > .manual-section-intro,
  .manual-section-grid-reverse > :last-child { order: initial; }
  .manual-section-intro { max-width: 750px; }
  .manual-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .manual-faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .manual-faq-grid .manual-section-intro { max-width: 720px; }
  .manual-cta-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 760px) {
  .manual-hero { padding: 142px 0 67px; }
  .manual-hero h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .manual-badges { margin-top: 31px; }
  .manual-toc { grid-template-columns: repeat(2, 1fr); }
  .manual-screenshot-row { grid-template-columns: 1fr; }
  .manual-live-grid { grid-template-columns: 1fr; }
  .manual-stat-row { grid-template-columns: 1fr; }
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }
  .manual-feature-band,
  .manual-action-grid { grid-template-columns: 1fr; }
  .manual-action-grid article { min-height: auto; }
  .manual-cta { padding: 60px 0; }
}

@media (max-width: 560px) {
  .manual-header .header-cta { display: none; }
  .manual-hero-actions { align-items: start; flex-direction: column; gap: 16px; }
  .manual-toc { grid-template-columns: 1fr; }
  .manual-toc a { min-height: 78px; }
  .manual-steps-card,
  .manual-checklist,
  .manual-check-panel { padding: 21px; }
  .dashboard-cards { grid-template-columns: 1fr; }
  .report-table-card > div { grid-template-columns: 0.75fr 1.25fr; padding-inline: 15px; }
  .manual-footer .footer-bottom { align-items: start; flex-direction: column; justify-content: center; gap: 7px; }
}
