/* Contact composition only; canonical studio, buttons and accessible controls remain shared. */
html:has(body.contact-studio-page) { scroll-padding-top: calc(81px + var(--cg-space-stack)); }
.contact-studio-page .cp-hero { padding-bottom: 96px; }
.contact-studio-page .cp-layout { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); grid-template-rows: min-content 1fr; gap: 40px 64px; align-items: start; }
.contact-studio-page .cp-intro { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.contact-studio-page .cp-intro h1 { overflow-wrap: anywhere; }
.contact-studio-page .cp-lead { font-size: var(--cg-text-lead); line-height: var(--cg-line-lead); }
.contact-studio-page .cp-form-link { display: none; }
.contact-studio-page .contact-form-card { grid-column: 2; grid-row: 1 / span 2; min-width: 0; width: 100%; padding: var(--cg-space-card-large); border-color: var(--cg-studio-border); border-radius: var(--cg-radius-panel); background: #fff; box-shadow: none; scroll-margin-top: 0; }
.contact-studio-page .contact-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.contact-studio-page .form-field-full { grid-column: 1 / -1; }
.contact-studio-page .form-field label:not(.form-check-label) { margin-bottom: 8px; font-size: var(--cg-text-small); line-height: var(--cg-line-small); font-weight: 700; }
.contact-studio-page .cp-required { color: var(--cg-primary); }
.contact-studio-page .cp-optional { color: var(--cg-ink-muted); font-weight: 400; }
.contact-studio-page .cp-required-note { font-size: var(--cg-text-small); line-height: var(--cg-line-small); margin-bottom: 24px; }
.contact-studio-page .contact-form-card :is(.form-control,.form-select) { min-height: 48px; padding: 12px 16px; border-radius: var(--cg-radius-control); background-color: #fff; font-size: var(--cg-text-body); line-height: var(--cg-line-body); }
.contact-studio-page .contact-form-card .form-select { padding-right: 40px; text-overflow: ellipsis; }
.contact-studio-page .contact-form-card :is(input,select,textarea,.form-error-summary) { scroll-margin-top: var(--cg-space-inline); }
.contact-studio-page .contact-form-card .form-control::placeholder { color: var(--cg-ink-muted); opacity: 1; }
.contact-studio-page .contact-form-card :is(.form-control,.form-select,.form-check-input):focus-visible { outline: 3px solid var(--cg-focus); outline-offset: 3px; }
.contact-studio-page .form-check-label { min-width: 0; min-height: 24px; font-size: var(--cg-text-small); line-height: var(--cg-line-small); }
.contact-studio-page .cp-consent { padding-top: 8px; }
.contact-studio-page .cp-submit { width: 100%; margin-top: 32px; white-space: normal; }
.contact-studio-page .cp-form-note { margin-top: 24px; font-size: var(--cg-text-small); line-height: var(--cg-line-small); text-align: center; }
.contact-studio-page .cp-submit-status { font-size: var(--cg-text-small); line-height: var(--cg-line-small); text-align: center; }
.contact-studio-page .cp-submit-status:not(:empty) { margin-top: 16px; }
.contact-studio-page .cp-support { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.contact-studio-page .cp-next { border-block: 1px solid var(--cg-studio-border); padding-block: 24px; }
.contact-studio-page .cp-next h2 { font-size: var(--cg-text-small); line-height: var(--cg-line-small); font-weight: 700; color: var(--cg-ink-muted); margin: 0 0 24px; }
.contact-studio-page .cp-next ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: contact-next; }
.contact-studio-page .cp-next li { display: flex; align-items: baseline; gap: 16px; counter-increment: contact-next; }
.contact-studio-page .cp-next li::before { content: counter(contact-next); flex: 0 0 24px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cg-studio-panel); color: var(--cg-primary); font-size: var(--cg-text-small); font-weight: 700; }
.contact-studio-page .cp-contact-details { display: grid; gap: 16px; font-size: var(--cg-text-small); line-height: var(--cg-line-small); }
.contact-studio-page .cp-contact-details a { color: var(--cg-primary); overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact-studio-page .cp-contact-details a:hover { text-decoration: underline; }
.contact-studio-page .cp-contact-details p { overflow-wrap: anywhere; }
.contact-studio-page .cp-contact-details ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-studio-page .cp-contact-details li { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.contact-studio-page .cp-contact-details i { color: var(--cg-ink-muted); flex: 0 0 18px; }
@media (max-width:1199.98px) {
    /* Inline/footer WhatsApp links remain available; keep the form controls clear. */
    .contact-studio-page .whatsapp-float { display: none; }
    .contact-studio-page .cp-layout { column-gap: 40px; }
    .contact-studio-page .contact-form-card { padding: var(--cg-space-card); }
}
@media (max-width:991.98px) {
    .contact-studio-page .cp-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; gap: 40px; }
    .contact-studio-page .cp-intro, .contact-studio-page .contact-form-card, .contact-studio-page .cp-support { grid-column: auto; grid-row: auto; }
    .contact-studio-page .cp-form-link { display: inline-flex; }
    .contact-studio-page .cp-hero { padding-bottom: 72px; }
}
@media (max-width:575.98px) {
    .contact-studio-page .contact-form-grid { grid-template-columns: minmax(0,1fr); }
    .contact-studio-page .contact-form-card { padding: 24px 16px; }
    .contact-studio-page .cp-hero { padding-bottom: 56px; }
    .contact-studio-page .contact-form-card :is(.form-control,.form-select) { font-size: 16px; }
}
