/* v10.4: selected covers, gallery pacing, visible design captions and photo navigation. */
/* Project navigation and Weplox marks stay still from the first paint. */
.project-page .header,.project-page .header-inner,.project-page .brand,.project-page .brand img{animation:none!important;transition:none!important;transform:none!important;scale:none!important}
.project-page .contact-start .contact-brand-mark{opacity:1!important;clip-path:none!important;transform:none!important;scale:none!important;transition:none!important;animation:none!important;will-change:auto}
.project-page .contact-call.contact-logo-button,.project-page .contact-call.contact-logo-button:hover,.project-page .contact-call.contact-logo-button:active{transform:none!important;transition:none!important;animation:none!important}
.project-card:has([data-project="boogy"]) .portfolio-cover>img,
.project-card:has([data-project="boogy"]) .project-open:hover .portfolio-cover>img{object-fit:cover;transform:none}
.project-card:has([data-project="va-y-ven"]) .portfolio-cover>img,
.project-card:has([data-project="va-y-ven"]) .project-open:hover .portfolio-cover>img{object-fit:cover;object-position:center;transform:none}
.project-card:has([data-project="cubre-seguros"]) .portfolio-cover>img{object-fit:cover;object-position:center}
.project-card:has([data-project="club-extra"]) .portfolio-cover{background:#fff}
.project-card:has([data-project="club-extra"]) .portfolio-cover>img{object-fit:contain;transform:scale(1.015)}
.case-v9 .case-subtitle{display:none!important}
.case-v9 .portfolio-frame figcaption{font-family:var(--body-font);font-size:12px;line-height:1.55;font-weight:400;padding:10px 1px 0;margin:0;color:var(--muted)}
.case-v9 .portfolio-frame .photo-fixed-aspect img{width:100%;height:100%;object-fit:contain}
.case-v9 .portfolio-model model-viewer{max-height:460px}
.packaging-pair{padding-bottom:20px}
.embed-shell{position:relative;width:100%;border-radius:12px;overflow:hidden}
.embed-play{display:block;position:relative;width:100%;aspect-ratio:16/9;border:0;padding:0;overflow:hidden;background:#111;border-radius:12px}
.embed-play img{width:100%;height:100%;object-fit:cover;filter:brightness(.65)}
.embed-play-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;padding:14px 20px;border-radius:40px;background:var(--lime);color:#111;font:600 14px var(--body-font);white-space:nowrap}
.embed-play-label:before{content:'';border-left:12px solid currentColor;border-top:8px solid transparent;border-bottom:8px solid transparent}
.embed-play:focus-visible{outline:3px solid var(--lime);outline-offset:-5px}
.instagram-shell .project-embed{height:640px;aspect-ratio:auto;background:#fff;border-radius:12px}
.instagram-original{display:block;font:12px var(--body-font);padding:12px 0;color:var(--muted);text-align:center;text-decoration:underline}
.photo-viewer .photo-close,.photo-viewer .photo-prev,.photo-viewer .photo-next{display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;max-height:44px;padding:0;border-radius:50%;line-height:1;box-sizing:border-box;aspect-ratio:1}
.photo-viewer button svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.photo-viewer .photo-prev,.photo-viewer .photo-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3;background:#1a1a1ad9;border-color:#666}
.photo-viewer .photo-prev{left:16px}.photo-viewer .photo-next{right:16px}
.photo-viewer .photo-prev:disabled,.photo-viewer .photo-next:disabled{opacity:.25}
.photo-counter{display:block;font:11px var(--body-font);color:#aaa;margin-bottom:7px;font-variant-numeric:tabular-nums}
.footer .footer-legal-link[data-page-link="pay"]{text-transform:none!important}
body.document-page[data-document-page="pay"] .document-head{text-align:center;max-width:1100px;margin-inline:auto}
body.document-page[data-document-page="pay"] .document-head h1{text-align:center}
body.document-page[data-document-page="pay"] .document-lead{margin-inline:auto}
body.document-page[data-document-page="pay"] .document-grid{display:block;margin-top:42px}
body.document-page[data-document-page="pay"] .document-toc{display:none}
body.document-page[data-document-page="pay"] .payment-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1180px;margin:0 auto;align-items:stretch}
body[data-document-page="pay"] .pay-method{padding:26px 22px;border:1px solid var(--line);border-radius:18px;background:var(--raised);text-align:center;align-items:center;min-width:0}
body[data-document-page="pay"] .pay-brand{width:230px;max-width:100%;height:84px;margin:0 auto 24px}
body[data-document-page="pay"] .pay-detail{text-align:center;width:100%;grid-template-columns:minmax(0,1fr) 44px}
body[data-document-page="pay"] .payment-action{align-self:center;margin-top:auto}
body[data-document-page="pay"] .pay-provider{margin-bottom:28px}
body.document-page[data-document-page="legal"] .document-grid{display:block;max-width:900px}
body.document-page[data-document-page="legal"] .document-toc{display:none}
.footer a[data-i18n="ourLocation"]{display:inline-block;line-height:1.6;text-decoration:none}
.footer a[data-i18n="ourLocation"]:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:900px){
 body.document-page[data-document-page="pay"] .payment-methods{grid-template-columns:1fr;max-width:520px;gap:20px}
 body[data-document-page="pay"] .payment-action{margin-top:24px}
 .instagram-shell .project-embed{height:560px}
}
@media(max-width:600px){
 .case-v9 .portfolio-triptych{flex-direction:column;gap:22px}
 .case-v9 .portfolio-triptych .portfolio-frame{width:100%!important;flex-basis:auto!important}
 .case-v9 .portfolio-row:has(.instagram-shell){flex-direction:column}
 .case-v9 .portfolio-row:has(.instagram-shell) .portfolio-frame{width:100%!important;flex-basis:auto!important}
 .instagram-shell .project-embed{height:640px}
 .photo-viewer .photo-prev{left:8px}.photo-viewer .photo-next{right:8px}
 .photo-stage{padding-inline:8px}.photo-caption{padding-inline:10px}
 .case-v9 .portfolio-model model-viewer{min-height:240px}
}

.legacy-anchor{display:block;height:0;scroll-margin-top:110px}

/* v10.5: tighter company details and native portrait videos. */
.project-card:has([data-project="club-extra"]) .portfolio-cover>img{object-fit:contain;object-position:center bottom;transform:none}
body[data-project-id="cb-fenton"] .embed-play img{filter:none}
body[data-project-id="cb-fenton"] .embed-play-label{top:auto;bottom:22px;transform:translateX(-50%)}
body[data-project-id="level-hiit"] .portfolio-video video{display:block;width:100%;height:auto;max-height:none;object-fit:contain;aspect-ratio:9/16}
body[data-document-page="legal"] .company-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;max-width:820px}
body[data-document-page="legal"] .company-details>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;padding:13px 0;border-top:0;min-width:0}
body[data-document-page="legal"] .company-details dt{font-size:12px;line-height:1.5;font-weight:500;color:var(--muted)}
body[data-document-page="legal"] .company-details dd{display:flex;justify-content:flex-start;gap:12px;align-items:center;max-width:100%;font-size:16px;line-height:1.5}
body[data-document-page="legal"] .company-details .copy-icon{width:36px;height:36px;min-width:36px;min-height:36px;flex:none}
body[data-document-page="legal"] #company-9{grid-column:1/-1;order:1}
.email-direct{overflow-wrap:anywhere}
@media(max-width:600px){
 body[data-project-id="level-hiit"] .portfolio-row:has(video){flex-direction:column;gap:22px}
 body[data-project-id="level-hiit"] .portfolio-row:has(video) .portfolio-frame{width:100%!important;flex-basis:auto!important}
 body[data-document-page="legal"] .company-details{grid-template-columns:1fr;gap:0}
 body[data-document-page="legal"] .company-details>div{display:grid;grid-template-columns:minmax(90px,.85fr) minmax(0,1.4fr);gap:10px;align-items:center;padding:9px 0}
 body[data-document-page="legal"] .company-details dd{font-size:14px;gap:6px}
 body[data-document-page="legal"] .company-details .copy-icon{width:36px;height:44px;min-height:44px}
 body[data-document-page="legal"] #company-9{grid-template-columns:1fr;gap:2px}
}

/* v10.6: one compact company record per row, with centered copy feedback. */
body[data-document-page="legal"] .company-details{grid-template-columns:minmax(0,1fr);gap:0;max-width:760px}
body[data-document-page="legal"] .company-details>div{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:14px;padding:4px 0;min-height:0}
body[data-document-page="legal"] .company-details dt{font-size:13px;line-height:1.3}
body[data-document-page="legal"] .company-details dd{font-size:15px;line-height:1.3;gap:10px;min-width:0}
body[data-document-page="legal"] .company-details dd>span{line-height:1.3}
body[data-document-page="legal"] #company-9{grid-column:auto;order:0}
body[data-document-page="legal"] .company-details .copy-icon{display:grid;place-items:center;align-self:center;box-sizing:border-box;width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;padding:0;line-height:1;flex:none}
body[data-document-page="legal"] .company-details .copy-icon svg{display:block;width:20px;height:20px;margin:0;justify-self:center;align-self:center;transform:none}
@media(max-width:600px){
 body[data-document-page="legal"] .company-details>div,body[data-document-page="legal"] #company-9{grid-template-columns:minmax(88px,.8fr) minmax(0,1.4fr);gap:10px;padding:3px 0}
 body[data-document-page="legal"] .company-details dt{font-size:12px}
 body[data-document-page="legal"] .company-details dd{font-size:14px;gap:6px}
 body[data-document-page="legal"] .company-details .copy-icon{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px}
}
