/* Package selection and demo cards share the same compact catalogue rhythm. */
.demo-collection{padding:36px 0 38px;background:#f7f9fc}
.demo-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:24px}
.demo-intro h2{font-size:26px;line-height:1.3;margin:0}
.demo-intro h2 br{display:none}
.demo-intro>p{max-width:500px;font-size:13px;line-height:1.8;color:#64758f;margin:0}
.demo-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.demo-type-card{display:grid;grid-template-columns:36px 1fr;align-content:start;gap:7px 12px;padding:18px;background:#fff;border:1px solid #dce5f2;border-radius:10px;transition:border-color .2s,box-shadow .2s}
.demo-type-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#edf3ff;color:#2864ff;grid-row:1/3}
.demo-type-card h3{font-size:18px;line-height:1.4;margin:4px 0 0;color:#17294d;letter-spacing:-.3px}
.demo-type-card p{grid-column:1/-1;font-size:12px;line-height:1.6;color:#64758f;margin:5px 0 3px;min-height:39px}
.demo-type-link{grid-column:1/-1;font-size:11px;font-weight:600;color:#2864df}
.demo-type-max{background:#142b56;border-color:#203f78}
.demo-type-max h3{color:#fff}.demo-type-max p{color:#c6d4e9}.demo-type-max .demo-type-icon{background:#294b83;color:#bcd4ff}.demo-type-max .demo-type-link{color:#c6d9ff}
.featured-section{padding:32px 0 42px}.featured-heading{margin-bottom:20px}.featured-heading h2{font-size:23px;margin:0 0 7px}.featured-heading p{font-size:13px;color:#64758f;margin:0}
.featured-empty{border:1px dashed #ccd9ed;border-radius:10px;background:#f9fbfe;display:flex;align-items:center;gap:16px;padding:24px}
.featured-empty-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:9px;background:#eaf1ff;color:#4e7bcf;flex-shrink:0}
.featured-empty h3{font-size:15px;color:#425675;margin:0 0 6px}.featured-empty p{font-size:12px;color:#64758f;margin:0}
.category-section{padding:25px 0 45px;min-height:calc(100vh - 310px);background:#f8fafd}
.demo-package-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:20px;border-bottom:1px solid #dfe7f2}
.demo-package-tabs a{display:flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #dce5f2;border-radius:7px;background:#fff;color:#526581;font-size:12px;font-weight:600}
.demo-package-tabs a[aria-current]{background:#2864f5;border-color:#2864f5;color:#fff}.demo-package-tabs a:hover{border-color:#3375ff}
.category-intro{padding:25px 0 22px}.category-intro h2{font-size:24px;margin:0 0 7px}.category-intro>p{font-size:13px;color:#64758f;margin:0}
.category-empty{padding:26px;border:1px solid #dfe7f2;border-radius:10px;background:#fff}.category-empty .featured-empty-icon{margin-bottom:16px}.category-empty h2{font-size:20px;margin-bottom:10px}.category-empty p{font-size:13px;color:#64758f;max-width:620px;margin:0 0 18px}
.branch-group{margin-bottom:28px}.branch-group>h2{display:flex;align-items:center;gap:10px;font-size:17px;margin:0 0 14px;color:#233a5d}
.catalog-count{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;background:#eaf0fa;border-radius:6px;font-size:11px;font-weight:600;color:#567094}
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.catalog-card{min-width:0;display:flex;flex-direction:column;border:1px solid #dce5f2;border-radius:10px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s}
.catalog-preview{display:block;overflow:hidden;background:#edf2f9;border-bottom:1px solid #e6ecf5}
.catalog-preview img{width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;object-position:center;display:block}
.catalog-copy{display:flex;flex-direction:column;flex:1;padding:15px}
.catalog-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:11px;line-height:1.5;color:#657792}
.catalog-badge{background:#edf3ff;color:#2b59b0;border-radius:4px;padding:3px 7px;font-size:10px;font-weight:600}
.catalog-copy h3{font-size:17px;line-height:1.4;letter-spacing:-.3px;color:#17294d;margin:11px 0 7px;overflow-wrap:anywhere}
.catalog-copy .catalog-summary{font-size:12px;line-height:1.7;color:#64758f;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.catalog-copy .button{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;padding:10px 12px;margin-top:auto;background:#f2f6ff;color:#2859bf;border:1px solid #dbe6fb;border-radius:6px}
.catalog-copy .button:hover{background:#2864ff;color:#fff;border-color:#2864ff}
.demo-type-card:focus-visible,.catalog-card a:focus-visible,.demo-package-tabs a:focus-visible{outline:3px solid #2864ff;outline-offset:3px}.catalog-preview:focus-visible{outline-offset:-4px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.demo-contact{padding:30px 0;background:#f5f8fd;border-block:1px solid #e5ecf7}.demo-contact-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.demo-contact h2{font-size:23px;margin-bottom:8px}.demo-contact p{font-size:12px;color:#64758f;max-width:600px;margin:0}.demo-contact .button{flex-shrink:0}
.demo-detail{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;padding-top:20px}.demo-detail img{width:100%;height:auto;border-radius:12px;border:1px solid #e1e8f2}.demo-detail p{font-size:13px;color:#78879f}.demo-detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
@media(hover:hover) and (pointer:fine){.demo-type-card:hover,.catalog-card:hover{border-color:#3375ff;box-shadow:0 6px 20px #295abc12}.demo-type-max:hover{border-color:#9bbcff}}
@media(max-width:1100px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.demo-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.demo-collection{padding:26px 0}.demo-intro{display:block;margin-bottom:20px}.demo-intro h2{font-size:23px;margin-bottom:10px}.demo-intro>p{font-size:12px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.demo-type-card{padding:15px;gap:6px 10px}.demo-type-card h3{font-size:17px}.featured-section{padding:26px 0 32px}.category-intro h2{font-size:22px}.demo-contact-inner{flex-direction:column;align-items:flex-start;gap:18px}.demo-detail{grid-template-columns:1fr;gap:25px}}
@media(max-width:479px){.catalog-grid{grid-template-columns:minmax(0,1fr)}.catalog-preview img{aspect-ratio:16/9}.demo-type-grid{gap:10px}.demo-type-card{padding:13px;grid-template-columns:1fr}.demo-type-icon{grid-row:auto;width:32px;height:32px}.demo-type-card h3{margin:3px 0 0}.demo-type-card p{font-size:11px;min-height:53px}.demo-type-link{font-size:11px}.demo-package-tabs{gap:6px}.demo-package-tabs a{padding:10px 14px}.featured-empty{padding:20px 16px;align-items:flex-start}.category-empty{padding:20px}.category-empty h2{font-size:19px}.demo-detail-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.demo-type-card,.catalog-card{transition:none}}
