/* A branded footer with direct office actions; all content remains native blocks. */
.crystal-footer-signature {
 position: relative;
 isolation: isolate;
 overflow: hidden;
 padding-block: clamp(2.5rem, 4vw, 4rem) 1.5rem;
 background: radial-gradient(ellipse at 14% 15%, #255b7190, transparent 55%), linear-gradient(125deg, #163849, #0d2636 85%);
 color: #f5fbff;
}
.crystal-footer-signature::before {
 content: "";
 position: absolute;
 z-index: -1;
 pointer-events: none;
 width: clamp(400px, 51vw, 760px);
 aspect-ratio: 1;
 left: -7%;
 bottom: -20%;
 background: url('../images/crystal-dental-footer-watermark.webp') center / contain no-repeat;
 opacity: .13;
 transform: rotate(-8deg);
}
.crystal-footer-signature > .crystal-footer-columns {
 display: grid;
 grid-template-columns: minmax(0, .95fr) minmax(0, .8fr) minmax(0, 1.45fr);
 gap: clamp(1.5rem, 3vw, 3rem);
 margin-block: 0;
 align-items: start;
}
.crystal-footer-signature .wp-block-column { min-width: 0; margin: 0; }
.crystal-footer-signature .wp-block-heading { color: #f5fbff; }
.crystal-footer-signature .crystal-footer-topline {
 display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
 margin-block: 0 1.8rem; padding-bottom: 1.3rem; border-bottom: 1px solid #aecbdf30;
}
.crystal-footer-signature .crystal-footer-logo { gap: .65rem; margin: 0; width: 310px; max-width: 100%; }
.crystal-footer-logo > figure { margin: 0; min-width: 0; }
.crystal-footer-logo .crystal-footer-logo-mark { flex: 0 0 42px; }
.crystal-footer-logo img { display: block; width: 100%; height: auto; }
.crystal-footer-logo .crystal-footer-logo-wordmark { flex: 1; }
.crystal-footer-logo-wordmark img { filter: brightness(0) invert(1); }
.crystal-footer-signature .crystal-footer-socials { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0; padding: 0; }
.crystal-footer-signature .crystal-footer-socials .wp-social-link { margin: 0; padding: 0; background: transparent; color: #e7f5fc; transform: none; border-radius: 999px; }
.crystal-footer-signature .crystal-footer-socials .wp-block-social-link-anchor {
 display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; box-sizing: border-box;
 padding: .6rem 1rem; border: 1px solid #a6d5e877; border-radius: 999px; background: #264e6440;
 color: #e7f5fc; text-decoration: none; font-size: .83rem; line-height: 1.25; font-weight: 600;
 transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.crystal-footer-signature .crystal-footer-socials .wp-social-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.crystal-footer-signature .crystal-footer-socials .wp-social-link .wp-block-social-link-label { font-size: inherit; margin: 0; }
.crystal-footer-signature .crystal-footer-socials .wp-social-link:hover { color: #12374d; }
.crystal-footer-signature .crystal-footer-socials .wp-block-social-link-anchor:hover { color: #12374d; background: #d1f1ff; border-color: #d1f1ff; }
.crystal-footer-signature .crystal-footer-invitation { max-width: 15ch; margin: 0 0 .75rem; font-size: clamp(1.6rem, 2.3vw, 2.15rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 550; }
.crystal-footer-signature .crystal-footer-prompt { color: #bfd6e4; margin: 0; max-width: 27ch; font-size: .92rem; line-height: 1.6; }
.crystal-footer-signature h3 { margin: 0 0 1rem; font-weight: 650; }
.crystal-footer-signature .crystal-footer-explore .wp-block-navigation { margin: 0; }
.crystal-footer-signature .crystal-footer-explore .wp-block-navigation__container { gap: .5rem; }
.crystal-footer-signature .wp-block-navigation-item__content { font-size: .86rem; color: #d6e5ee; text-decoration: none; }
.crystal-footer-signature .wp-block-navigation-item__content:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.crystal-footer-signature .crystal-footer-connect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; border: 0; }
.crystal-footer-signature .crystal-footer-connect > h3,
.crystal-footer-signature .crystal-footer-connect > .crystal-footer-contact-note { grid-column: 1 / -1; }
.crystal-footer-signature .crystal-footer-connect > h3 { margin: 0 .1rem .2rem; }
.crystal-footer-signature .crystal-footer-office { margin: 0; padding: 1rem .85rem .85rem; border: 1px solid #b8d9ec3d; border-radius: 1rem; background: linear-gradient(145deg, #42677c48, #294d6359); box-shadow: inset 0 1px #ffffff0d; }
.crystal-footer-signature .crystal-footer-office h4 { margin: 0 0 .85rem; font-size: 1.03rem; line-height: 1.3; font-weight: 650; }
.crystal-footer-office h4 a { text-decoration: none; }
.crystal-footer-office h4 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.crystal-footer-neighbourhood { display: block; font-size: .76rem; font-weight: 450; letter-spacing: .02em; color: #bdd6e5; margin-top: .2rem; }
.crystal-footer-signature .crystal-footer-office-actions { display: grid; gap: .5rem; margin: 0; }
.crystal-footer-signature .crystal-footer-office-actions > .wp-block-button { width: 100%; margin: 0; }
.crystal-footer-signature .crystal-footer-office-actions .wp-block-button__link {
 display: flex; align-items: center; justify-content: center; gap: .4rem; box-sizing: border-box; width: 100%; min-height: 44px;
 padding: .65rem .45rem; border-radius: .65rem; border: 1px solid transparent; font-size: .82rem; font-weight: 750; line-height: 1.2;
 text-decoration: none; transform: none; letter-spacing: -.015em; transition: background-color 160ms ease, box-shadow 160ms ease;
}
.crystal-footer-signature .crystal-footer-call .wp-block-button__link { background: #d1f1ff; color: #12374d; box-shadow: 0 5px 18px #071c2b33; }
.crystal-footer-signature .crystal-footer-call .wp-block-button__link:hover { background: #fff; box-shadow: 0 5px 22px #071c2b55; }
.crystal-footer-signature .crystal-footer-email .wp-block-button__link { background: #16394e; border-color: #a2cfe563; color: #f3fbff; box-shadow: none; }
.crystal-footer-signature .crystal-footer-email .wp-block-button__link:hover { background: #28536b; }
.crystal-footer-office-actions .wp-block-button__link::before { content: ""; display: block; width: 15px; height: 15px; flex: 0 0 15px; background: currentColor; mask: var(--footer-contact-icon) center / contain no-repeat; -webkit-mask: var(--footer-contact-icon) center / contain no-repeat; }
.crystal-footer-call { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.8 2.1Z'/%3E%3C/svg%3E"); }
.crystal-footer-email { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.crystal-footer-signature .crystal-footer-address { margin: .85rem 0 0; color: #c1d8e6; font-size: .75rem; line-height: 1.5; }
.crystal-footer-signature .crystal-footer-connect > .crystal-footer-contact-note { margin: 0; color: #bcd1df; font-size: .72rem; line-height: 1.5; }
.crystal-footer-signature .crystal-footer-bottom { margin-top: 2rem; padding-top: 1rem; color: #bfd2df; border-top-color: #aecbdf30; }
.crystal-footer-signature a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: .3rem; }

@media (min-width: 783px) and (max-width: 1100px) {
 .crystal-footer-signature > .crystal-footer-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
 .crystal-footer-signature .crystal-footer-explore { grid-column: 1 / -1; grid-row: 2; }
 .crystal-footer-signature .crystal-footer-explore .wp-block-navigation__container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem 1rem; width: 100%; }
 .crystal-footer-signature .crystal-footer-explore .wp-block-navigation-item__content { min-height: 36px; display: flex; align-items: center; }
}
@media (max-width: 782px) {
 .crystal-footer-signature { padding-block: 1.5rem 1.15rem; }
 .crystal-footer-signature::before { width: 540px; left: auto; right: -170px; bottom: 8%; opacity: .09; }
 .crystal-footer-signature > .crystal-footer-columns { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
 .crystal-footer-signature .crystal-footer-brand { order: 0; }
 .crystal-footer-signature .crystal-footer-connect { order: 1; padding: 0; border: 0; gap: .65rem; }
 .crystal-footer-signature .crystal-footer-connect > h3 { display: none; }
 .crystal-footer-signature .crystal-footer-explore { order: 2; }
 .crystal-footer-signature .crystal-footer-topline { flex-wrap: nowrap; gap: .65rem; margin-bottom: 1.25rem; padding-bottom: 1.1rem; }
 .crystal-footer-signature .crystal-footer-logo { flex: 1 1 auto; width: auto; min-width: 0; max-width: calc(100% - 94px); margin: 0; gap: .5rem; }
 .crystal-footer-signature .crystal-footer-socials { flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-end; gap: .4rem; width: auto; }
 .crystal-footer-signature .crystal-footer-socials .wp-block-social-link-anchor { width: 42px; min-height: 42px; padding: 0; font-size: 0; }
 .crystal-footer-signature .crystal-footer-socials .wp-block-social-link-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
 .crystal-footer-logo .crystal-footer-logo-mark { flex-basis: 34px; }
 .crystal-footer-signature .crystal-footer-invitation { max-width: none; font-size: 1.45rem; margin: 0; }
 .crystal-footer-signature .crystal-footer-prompt { display: none; }
 .crystal-footer-signature .crystal-footer-office { padding: .85rem .65rem .7rem; border-radius: .85rem; }
 .crystal-footer-signature .crystal-footer-office h4 { font-size: 1rem; margin-bottom: .65rem; }
 .crystal-footer-signature .crystal-footer-office h4 a { padding: 0; }
 .crystal-footer-signature .crystal-footer-office-actions { gap: .4rem; }
 .crystal-footer-signature .crystal-footer-explore h3 { margin-bottom: .3rem; }
 .crystal-footer-signature .crystal-footer-explore .wp-block-navigation__container { gap: 0 1rem; }
 .crystal-footer-signature .crystal-footer-connect > .crystal-footer-contact-note { font-size: .7rem; }
 .crystal-footer-signature .crystal-footer-bottom { margin-top: 1.2rem !important; padding-top: .8rem; }
}
@media (max-width: 359px) {
 .crystal-footer-signature .crystal-footer-logo { max-width: calc(100% - 82px); gap: .35rem; }
 .crystal-footer-signature .crystal-footer-socials { gap: .3rem; }
 .crystal-footer-signature .crystal-footer-socials .wp-block-social-link-anchor { width: 36px; min-height: 36px; }
 .crystal-footer-signature .crystal-footer-office { padding-inline: .45rem; }
 .crystal-footer-signature .crystal-footer-office-actions .wp-block-button__link { font-size: .73rem; gap: .2rem; padding-inline: .25rem; }
 .crystal-footer-office-actions .wp-block-button__link::before { width: 12px; height: 12px; flex-basis: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .crystal-footer-signature .crystal-footer-office-actions .wp-block-button__link,
 .crystal-footer-signature .crystal-footer-socials .wp-block-social-link-anchor { transition: none; }
}
