/* Service previews: each source remains independently viewable. */
#services .preview-composition{position:relative;min-width:0;background:#eee9e1;border:1px solid #514b4314;isolation:isolate}
#services .preview-open{display:block;position:relative;min-width:0;margin:0;padding:0;border:0;background:transparent;cursor:zoom-in;color:var(--ink);font:inherit;text-align:left;line-height:1}
#services .preview-open img{display:block;width:100%;height:auto;max-width:100%;transition:filter .2s}
#services .preview-open:hover img{filter:brightness(1.025)}
#services .preview-open:focus-visible{outline:2px solid var(--ink);outline-offset:5px;z-index:5}
#services .preview-open .preview-enlarge{position:absolute;right:8px;bottom:8px;padding:7px 9px;background:#fbf8f1f2;color:#241f1b;font:12px/1 Arial,sans-serif;box-shadow:0 1px 8px #241f1b12;pointer-events:none}
#services .catalog-body .preview-note{margin:12px 0 0;font:13px/1.5 Arial,sans-serif;color:var(--muted)}
#services .preview-composition[data-preview-gallery] .preview-open{box-shadow:0 10px 23px -15px #241f1b88}

/* PDF: the service information uses the full width before a large 2 x 2 gallery. */
#services #service-pdf .batch-service-composition{display:flex;flex-direction:column;gap:38px}
#services #service-pdf .service-example-info{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:22px 54px;width:100%;padding:0 0 30px;border-bottom:1px solid var(--line)}
#services #service-pdf .service-scope{grid-column:1;grid-row:1/3}
#services #service-pdf .service-scope .catalog-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 24px}
#services #service-pdf .service-example-info .service-details{grid-column:2;margin-top:0}
#services #service-pdf .service-order{grid-column:2;justify-self:start;margin:0}
#services #service-pdf .batch-examples{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 32px}
#services .pdf-gallery-wrap{min-width:0;width:100%}
#services .catalog-body .pdf-gallery-note{margin:0 0 20px}
#services #service-pdf .batch-examples>.service-example{grid-area:auto;margin:0;padding:0;border:0;min-width:0}
#services .pdf-display{aspect-ratio:1.48;overflow:hidden;padding:24px;display:flex;align-items:center;justify-content:center;gap:0}
#services .pdf-display .preview-open{flex:none}
#services .pdf-display .preview-open img{width:100%;height:auto}
#services .pdf-display-forma{background:#e5eaf0}
#services .pdf-display-forma .preview-open{width:44%;box-shadow:0 9px 18px -11px #243c4b55}
#services .pdf-display-forma .preview-open+button{border-left:1px solid #63798b44}
#services .pdf-display-career{background:#e8e0d2;justify-content:flex-start;padding:0}
#services .pdf-display-career .preview-cover{width:41%;margin-left:6%;align-self:center;z-index:2;transform:rotate(-4deg)}
#services .pdf-display-career .preview-detail{width:48%;margin-left:-1%;transform:rotate(3deg);align-self:center}
#services .pdf-display-test{background:#e8e1dc;gap:5%;padding:25px}
#services .pdf-display-test .preview-questions{width:44%;transform:translateY(-8px)}
#services .pdf-display-test .preview-result{width:44%;transform:translateY(8px)}
#services .pdf-display-skin{background:#f0eeea;display:block;padding:0}
#services .pdf-display-skin .preview-open{width:100%;height:100%;box-shadow:none}
#services .pdf-display-skin img{width:100%;height:100%;object-fit:contain}
#services #service-pdf .batch-examples .project-copy{margin-top:19px;padding-top:0}
#services #service-pdf .batch-examples .project-copy .eyebrow{font-size:12px;line-height:1.5;margin:0 0 8px;letter-spacing:.08em}
#services #service-pdf .batch-examples .project-copy h3{font-size:27px;line-height:1.2;overflow-wrap:normal;margin:10px 0}
#services #service-pdf .batch-examples .project-facts{margin-top:8px}

/* NOVA: brand foundation + two real digital applications. */
#services .nova-preview{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;padding:24px;background:#eae3e8;align-items:center}
#services .nova-foundation{min-width:0;display:grid;gap:13px}
#services .nova-palette{display:flex;align-items:center;border:1px solid #57445615;padding:0;background:transparent;width:100%;min-height:32px;cursor:zoom-in}
#services .nova-palette i{display:block;flex:1;height:32px}
#services .preview-composition .nova-palette-label{font:12px/1.4 Arial,sans-serif;color:#574456;margin:0}
#services .nova-post{grid-column:2;grid-row:1/3;transform:translateY(-2%)}
#services .nova-certificate{grid-column:1;grid-row:2}

/* LUME: the product is the hero; dimensions and use cases support it. */
#services #service-cards .service-example-composition{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:32px clamp(32px,4vw,64px)}
#services .lume-preview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px;padding:22px;align-items:center;background:#e8dfd3}
#services .lume-cover{grid-row:1/3;grid-column:1}
#services .lume-dimensions{grid-row:1;grid-column:2}
#services .lume-scenarios{grid-row:2;grid-column:2}

/* EDIT: desktop and a real mobile hero, both separately zoomable. */
#services .edit-preview{padding:30px 21% 34px 22px;min-height:0;background:#eae5dc}
#services .edit-browser{border:1px solid #241f1b27!important;border-radius:7px 7px 0 0;overflow:hidden}
#services .edit-browser-bar{height:20px;display:flex;gap:4px;align-items:center;padding-inline:9px;background:#f4f0e9;border-bottom:1px solid #241f1b1a}
#services .edit-browser-bar i{display:block;width:4px;height:4px;border-radius:50%;background:#b9aea1}
#services .edit-browser>img{height:auto;aspect-ratio:auto}
#services .edit-phone{--phone-inset:4px;position:absolute;right:3.2%;bottom:7%;width:24%;aspect-ratio:9/19.5;padding:4px!important;border:1px solid #241f1b77!important;border-radius:15px;background:#fbf9f4!important;box-shadow:0 15px 28px -15px #241f1b88!important;overflow:hidden}
#services .edit-phone img{position:absolute;inset:var(--phone-inset);width:calc(100% - 2 * var(--phone-inset));height:calc(100% - 2 * var(--phone-inset));border-radius:10px;object-fit:cover;object-position:center top}

@media(max-width:1000px){
 #services #service-pdf .service-example-info{gap:22px 30px}
 #services #service-pdf .batch-examples{gap:38px 24px}
 #services .pdf-display{padding:15px}
 #services .pdf-display-career,#services .pdf-display-skin{padding:0}
 #services .nova-preview,#services .lume-preview{gap:12px;padding:16px}
 #services .cards-service-columns{grid-template-columns:1fr;gap:18px}
}
@media(max-width:850px){
 #services #service-cards .service-example-composition{grid-template-columns:1fr;grid-template-areas:"project" "service";gap:30px}
 #services #service-pdf .service-example-info{grid-template-columns:1fr;gap:22px;padding-bottom:28px}
 #services #service-pdf .service-scope{grid-column:1;grid-row:auto}
 #services #service-pdf .service-example-info .service-details,#services #service-pdf .service-order{grid-column:1}
 #services #service-pdf .batch-examples{grid-template-columns:1fr;gap:38px}
 #services #service-pdf .batch-examples .project-copy h3{font-size:26px}
 #services #service-pdf .batch-service-composition{gap:30px}
 #services .pdf-display{aspect-ratio:1.3}
 #services .pdf-display-forma .preview-open{width:45%}
 #services .pdf-display-career .preview-cover{width:42%}
 #services .pdf-display-career .preview-detail{width:49%}
 #services .pdf-display-test .preview-open{width:46%}
 #services .nova-preview{grid-template-columns:1.2fr 1fr;padding:20px;gap:15px}
 #services .lume-preview{padding:20px;gap:15px}
 #services .edit-preview{padding:22px 22% 26px 16px}
 #services .edit-phone{width:27%;right:3%;bottom:6%;border-radius:12px}
 #services .edit-phone img{border-radius:8px}
 #services .edit-browser-bar{height:14px}
 #services .preview-open .preview-enlarge{font-size:11px;padding:6px;right:6px;bottom:6px}
}
@media(max-width:500px){
 #services #service-pdf .service-scope .catalog-items{grid-template-columns:1fr}
 #services .nova-preview{padding:14px;gap:12px;grid-template-columns:1.15fr 1fr}
 #services .nova-foundation{grid-column:1/3;gap:10px}
 #services .nova-brand{max-width:100%}
 #services .preview-composition .nova-palette-label{font-size:11px}
 #services .nova-palette,#services .nova-palette i{height:24px;min-height:24px}
 #services .nova-post{grid-column:2;grid-row:2;transform:none}
 #services .nova-certificate{grid-column:1;grid-row:2}
 #services .lume-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}
 #services .lume-cover{grid-column:1/3;grid-row:1}
 #services .lume-dimensions{grid-column:1;grid-row:2}
 #services .lume-scenarios{grid-column:2;grid-row:2}
 #services .catalog-body .preview-note{font-size:12px}
 #services .edit-preview{padding:18px 22% 20px 12px}
 #services .edit-phone{--phone-inset:3px;padding:3px!important}
 #services .pdf-display{padding:12px}
 #services .pdf-display-career,#services .pdf-display-skin{padding:0}
 #services #service-pdf .batch-examples .project-copy h3{font-size:24px}
}
@media(max-width:650px){
 #services .catalog-body{--preview-bleed:33px}
 #services .service-example .preview-composition{width:calc(100% + var(--preview-bleed) + 12px);margin-left:calc(-1 * var(--preview-bleed))}
}
@media(max-width:360px){#services .catalog-body{--preview-bleed:24px}}
@media(prefers-reduced-motion:reduce){#services .preview-open img{transition:none}}
