/* Compact, shared footer with readable contact details and retained opening hours. */
.jcd-footer{padding:48px 0 0;background:#071e2d;border-top:1px solid #193645;color:#b9ccd7}
.jcd-footer>.jcd-brand-shell{background:#071e2d}
.jcd-footer-grid{display:grid;grid-template-columns:1.05fr .65fr 1fr 1.1fr;gap:32px;align-items:start;padding-bottom:32px}
/* The compiled theme fixes heading sizes; own the footer navigation scale here. */
body.jcd-refined-site .jcd-footer h2{margin:4px 0 18px;font-size:15px!important;line-height:1.4!important;letter-spacing:0;color:#f5faff}
.jcd-footer a{color:inherit;text-decoration:none}
.jcd-footer a:hover{color:#82d9fa}
.jcd-footer a:focus-visible{outline:2px solid #82d9fa;outline-offset:4px}
.jcd-footer-clinic .jcd-footer-logo{display:inline-block;margin-bottom:14px;padding:5px 14px;min-height:70px;border-radius:12px;background:#fff}
.jcd-footer-logo img{display:block;width:100px;height:70px;object-fit:contain}
.jcd-footer-clinic p{margin:0 0 8px;font-size:12px;line-height:1.8}
.jcd-footer-clinic>a:not(.jcd-footer-logo){display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}
.jcd-footer-clinic svg{width:17px;height:17px;color:#82d9fa;flex-shrink:0}
.jcd-footer-email{overflow-wrap:anywhere}
.jcd-footer-links>a{display:flex;align-items:center;min-height:44px;font-size:13px}
.jcd-footer-hours dl{margin:0;font-size:12px}
.jcd-footer-hours dl>div{display:grid;grid-template-columns:minmax(65px,1fr) auto;gap:10px;align-items:start;padding:7px 0;border-bottom:1px solid #25404f}
.jcd-footer-hours dd{margin:0;text-align:right;color:#e1edf5}
.jcd-footer-hours dd small{display:block;margin-top:3px;color:#adc4d2;font-size:10px}
.jcd-hours-closed{color:#8c5552!important}
.jcd-footer .jcd-hours-closed{color:#f3b6ae!important}
.jcd-footer-location iframe{display:block;width:100%;height:170px;border:1px solid #36505f;border-radius:12px;background:#122f40}
.jcd-footer-location>a{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}
.jcd-footer-location>a svg{width:17px;height:17px}
.jcd-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-top:1px solid #25404f}
.jcd-footer-bottom p{margin:0;font-size:11px;line-height:1.7}
.jcd-footer-credit a{display:inline-flex;align-items:center;min-height:44px;color:#82d9fa;font-weight:700}
.jcd-footer-social{display:flex;gap:8px}
.jcd-footer-social a{display:grid;place-items:center;width:44px;height:44px;border:1px solid #36505f;border-radius:50%;background:#102c3d;color:#d8eaf5}
.jcd-footer-social a:hover{background:#1b4258;border-color:#74c8e6}
.jcd-footer-social svg{width:17px;height:17px}
@media(max-width:767px){.jcd-footer{padding-top:30px}.jcd-footer-grid{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:24px 22px;padding-bottom:22px}.jcd-footer-clinic{grid-column:1/-1;display:grid;grid-template-columns:95px minmax(0,1fr);column-gap:20px;align-items:center;padding-bottom:20px;border-bottom:1px solid #25404f}.jcd-footer-clinic .jcd-footer-logo{grid-column:1;grid-row:1/3;display:grid;place-items:center;min-height:82px;margin:0;padding:6px}.jcd-footer-logo img{width:82px;height:64px}.jcd-footer-clinic p{grid-column:2;margin:0;font-size:12px}.jcd-footer-clinic>a:not(.jcd-footer-logo){grid-column:2;min-height:44px}.jcd-footer-clinic .jcd-footer-email{grid-column:1/-1;justify-content:center;min-height:44px;margin-top:8px;font-size:12px}.jcd-footer-grid h2{margin:0 0 12px!important}.jcd-footer-links>a{min-height:40px;font-size:12px}.jcd-footer-hours dl{font-size:12px}.jcd-footer-hours dl>div{gap:7px;grid-template-columns:minmax(56px,1fr) auto;padding:7px 0}.jcd-footer-hours dd small{font-size:9px}.jcd-footer-location{grid-column:1/-1;padding-top:20px;border-top:1px solid #25404f}.jcd-footer-location iframe{height:150px}.jcd-footer-location>a{justify-content:center}.jcd-footer-bottom{flex-wrap:wrap;justify-content:center;gap:5px 18px;padding:16px 0 22px;text-align:center}.jcd-footer-bottom>p:first-child{flex:0 0 100%;font-size:10px}.jcd-footer-credit{font-size:10px!important}.jcd-footer-social a{width:44px;height:44px}.jcd-footer-social svg{width:16px;height:16px}}
@media(max-width:359px){.jcd-footer-grid{column-gap:16px}.jcd-footer-hours dl{font-size:11px}.jcd-footer-hours dl>div{gap:5px;grid-template-columns:minmax(49px,1fr) auto}.jcd-footer-credit{flex:0 0 100%}}


.jcd-emergency-section{padding:64px 0;background:#fff;color:#536773}
.jcd-emergency-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr) minmax(0,1fr);gap:32px;align-items:stretch}
.jcd-emergency-photos{display:grid;grid-template-rows:auto minmax(0,1fr);gap:18px}
.jcd-emergency-doctor{margin:0;overflow:hidden;border:1px solid #d7e8ef;border-radius:22px;background:#f0f9fd}
.jcd-emergency-portrait-stage{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:center;height:calc(100% - 55px);min-height:460px;overflow:hidden;background:linear-gradient(150deg,#f2fbff,#e1f4fb)}
.jcd-emergency-portrait-stage::before{content:"";position:absolute;z-index:-1;left:15%;right:15%;top:12%;bottom:-35%;border-radius:50%;background:#ceeef9}
.jcd-emergency-portrait-stage::after{content:"";position:absolute;z-index:-1;inset:0;background-image:linear-gradient(rgb(8 124 165 / 4%) 1px,transparent 1px),linear-gradient(90deg,rgb(8 124 165 / 4%) 1px,transparent 1px);background-size:42px 42px}
.jcd-emergency-portrait-stage>img{display:block;max-width:100%;width:100%;height:auto;max-height:540px;object-fit:contain;object-position:center bottom}
.jcd-emergency-doctor figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid #d7e8ef;background:#fff;color:#173d50;font-size:14px}
.jcd-emergency-doctor figcaption span{font-size:12px;color:#526f7e}
.jcd-emergency-photo-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.jcd-emergency-photo-pair figure{position:relative;min-height:0;aspect-ratio:4/3;margin:0;overflow:hidden;border:1px solid #d7e8ef;border-radius:20px;background:#f2f8fb}
.jcd-emergency-photo-pair img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.jcd-emergency-copy{display:flex;flex-direction:column}
.jcd-emergency-contact{display:inline-flex;align-items:center;gap:10px;width:fit-content;min-height:44px;margin-bottom:26px;color:#087ca5;font-size:14px;font-weight:700;text-decoration:none}
.jcd-emergency-contact svg{width:20px;height:20px}
.jcd-emergency-contact:hover{text-decoration:underline;text-underline-offset:4px}
.jcd-emergency-copy>.jcd-emergency-photo-pair{margin-top:auto}
.jcd-emergency-copy h2{margin:0 0 18px;color:#173d50}
.jcd-emergency-copy h2 span{color:#087ca5}
.jcd-emergency-copy>p{margin:0 0 14px;color:#536773;font-size:17px;line-height:1.85}
.jcd-emergency-hours{min-width:0;flex:1;display:flex;flex-direction:column;padding:26px 24px;border:1px solid #aedbe9;border-radius:22px;background:linear-gradient(145deg,#75cfea,#e7f7fc);box-shadow:0 10px 28px rgb(21 83 111 / 6%)}
.jcd-emergency-hours h3{display:flex;align-items:center;gap:12px;margin:0 0 18px;color:#173d50;font-size:24px}
.jcd-emergency-hours h3 svg{width:23px;height:23px;color:#086e91}
.jcd-emergency-hours dl{flex:1;display:grid;grid-auto-rows:minmax(0,1fr);margin:0}
.jcd-emergency-hours dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid rgb(29 103 132 / 15%);font-size:14px;color:#244d61}
.jcd-emergency-hours dl>div:last-child{border-bottom:0}
.jcd-emergency-hours dd{margin:0;text-align:right;color:#173d50;font-weight:600}
.jcd-emergency-hours small{display:block;font-size:11px;margin-top:3px;color:#486d7e;font-weight:400}
.jcd-emergency-section .jcd-hours-closed{color:#8e3e36!important}
.jcd-contact-page{color:#536773}
.jcd-contact-page .jcd-contact-hero{position:relative;isolation:isolate;overflow:hidden;height:auto;min-height:0;padding:128px 0 48px;background:linear-gradient(115deg,#07455f,var(--jcd-page-hero-bg) 62%,#0a7396);border-bottom:1px solid var(--jcd-page-hero-border);text-align:left}
.jcd-contact-hero h1{margin:0;color:var(--jcd-page-hero-ink)}
.jcd-contact-page>section:not(.jcd-contact-hero)>div{max-width:var(--max-w-container,1200px);padding-inline:24px}
.jcd-contact-options .grid{gap:24px}
.jcd-contact-options .grid>div{position:relative;align-items:center;min-width:0;padding:28px;border:1px solid #cfe5ef;border-top:4px solid #52c1ec;border-radius:18px;background:#f4fbfe;text-align:center}
.jcd-contact-options .grid>div>div{width:64px;height:64px;margin-bottom:22px;border:1px solid #c5e8f6;border-radius:16px;background:#e0f4fc}
.jcd-contact-options .grid>div>div img{width:36px;height:36px;object-fit:contain}
.jcd-contact-options h3{font-size:20px;color:#334f5d}
.jcd-contact-options p{font-size:14px;line-height:1.8}
.jcd-contact-options .jcd-contact-detail{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;padding-top:14px;color:#087ca5;font-size:14px;font-weight:700;overflow-wrap:anywhere;max-width:100%}
.jcd-contact-options .grid>div>span{display:block;margin-top:15px;color:#087ca5;font-size:14px;line-height:1.8}
/* The map fills the booking section; the original form sits on its right. */
.jcd-contact-page .jcd-contact-booking{position:relative;isolation:isolate;overflow:hidden;min-height:720px;padding:64px 0;background:#e6f4fa;color:#334f5d;scroll-margin-top:80px}
.jcd-contact-booking__map{position:absolute;inset:0;width:100%;height:100%;border:0}
.jcd-contact-map-trigger{position:absolute;bottom:0;left:0;width:1px;height:1px;pointer-events:none}
.jcd-contact-booking__inner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,540px);gap:40px;align-items:start;pointer-events:none}
.jcd-contact-form-panel{grid-column:2;min-width:0;padding:30px;border:1px solid #c9e2ef;border-radius:20px;background:#fff;box-shadow:0 14px 42px rgb(17 66 87 / 16%);pointer-events:auto}
.jcd-contact-form-panel h2{margin:0 0 12px;color:#173d50;font-size:26px;line-height:1.35}
.jcd-contact-form-panel .jcd-contact-form-intro{margin:0 0 24px;color:#536773;font-size:14px;line-height:1.8}
@media(max-width:767px){.jcd-contact-page .jcd-contact-booking{min-height:0;padding:24px 0 32px}.jcd-contact-booking__map,.jcd-contact-map-trigger{display:none}.jcd-contact-booking__inner{display:block}.jcd-contact-form-panel{padding:24px}}

.jcd-contact-form-panel form p{margin:0 0 16px}
.jcd-contact-form-panel label{display:block;margin-bottom:16px;color:#536773;font-size:13px;font-weight:600;line-height:1.7}
.jcd-contact-form-panel :is(input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]),select,textarea){display:block;width:100%;margin:6px 0 0;padding:12px 14px;min-height:48px;border:1px solid #d3e4ed;border-radius:10px;background:#fbfdfe;color:#304f5f;font:inherit;font-size:16px;box-shadow:none}
.jcd-contact-form-panel textarea{height:120px;min-height:120px;resize:vertical}
.jcd-contact-form-panel :is(input,textarea,select):focus{outline:2px solid #8bc9df;outline-offset:1px;border-color:#66b3d0}
.jcd-contact-form-panel :is(button[type="submit"],input[type="submit"]){display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:52px;margin-top:10px;padding:13px 20px;border:1px solid #087ca5;border-radius:10px;background:#087ca5;color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.jcd-contact-form-panel :is(button[type="submit"],input[type="submit"]):hover{background:#086887;border-color:#086887}
.jcd-contact-form-panel button svg{width:18px;height:18px}
.jcd-contact-form-panel .jcd-form-trap{display:none}
.jcd-contact-status,.jcd-contact-form-panel .wpcf7-response-output:not(:empty){padding:12px;border:1px solid #b8dce9;border-radius:10px;background:#eff9fd;color:#355d6f;font-size:13px;line-height:1.7}
.jcd-contact-form-panel .wpcf7-not-valid-tip{font-size:12px;color:#9b4545}
.jcd-contact-location .lg\:col-span-7,.jcd-contact-location .lg\:col-span-5{background:#f8fcfe!important;border:1px solid #d8e8f0;border-radius:18px!important;box-shadow:none}
.jcd-contact-location h3{color:#334f5d}
.jcd-contact-location iframe{display:block}
@media(min-width:768px) and (max-width:1100px){.jcd-footer-grid{grid-template-columns:1fr 1fr;gap:32px}}
@media(max-width:1100px){.jcd-emergency-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.jcd-emergency-copy{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px}.jcd-emergency-copy>h2,.jcd-emergency-copy>p,.jcd-emergency-contact{grid-column:1}.jcd-emergency-copy>.jcd-emergency-photo-pair{grid-column:2;grid-row:1/4;align-self:stretch;align-items:center}.jcd-emergency-doctor{min-height:400px}.jcd-emergency-portrait-stage{min-height:340px}}
@media(max-width:900px){.jcd-emergency-grid{grid-template-columns:1fr;gap:24px}.jcd-emergency-copy{display:flex;grid-column:auto}.jcd-emergency-copy>.jcd-emergency-photo-pair{width:100%}.jcd-emergency-doctor{min-height:0}.jcd-emergency-portrait-stage{height:340px;min-height:0}.jcd-emergency-portrait-stage>img{width:auto;height:100%}.jcd-emergency-photos{max-width:580px;width:100%;margin-inline:auto}.jcd-emergency-photo-pair figure{min-height:0;aspect-ratio:4/3}.jcd-contact-booking>div{gap:30px}}
@media(max-width:767px){.jcd-emergency-hours,.jcd-emergency-photo-pair{display:none}.jcd-contact-options .grid{grid-template-columns:1fr}.jcd-contact-form-panel{padding:24px}}
@media(max-width:639px){.jcd-emergency-section{padding:40px 0}.jcd-emergency-portrait-stage{height:300px;min-height:0}.jcd-emergency-photos,.jcd-emergency-photo-pair{gap:12px}.jcd-emergency-photo-pair figure{aspect-ratio:1/1;border-radius:16px}.jcd-emergency-doctor figcaption{padding:13px;font-size:13px}.jcd-emergency-grid{gap:28px}.jcd-emergency-hours{padding:20px}.jcd-contact-page>section:not(.jcd-contact-hero)>div{padding-inline:16px}.jcd-contact-page .jcd-contact-hero{min-height:0;padding:120px 0 36px}}

/* Populated page heroes use the same content grid and brand palette. */
.jcd-page-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,5vw,80px);align-items:center}
.jcd-page-hero-copy{max-width:680px}
.jcd-page-hero-copy>.jcd-brand-button{margin-top:28px}
.jcd-page-hero-lead{max-width:560px;margin:22px 0 0;font-size:17px;line-height:1.8;color:var(--jcd-page-hero-muted)}
.jcd-page-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:28px}
.jcd-page-hero-media{margin:0;overflow:hidden;border-radius:22px;border:1px solid #d3e7ef;background:#e5f3f8}
.jcd-page-hero-media img{display:block;width:100%;height:clamp(300px,24vw,390px);object-fit:cover;object-position:center 40%}
.jcd-cdcp-explainer{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:64px}
.jcd-cdcp-explainer h2{max-width:24ch;text-align:left}
.jcd-cdcp-explainer p{max-width:78ch;margin:0!important}
.jcd-gallery-hero__visual{max-width:700px;width:100%;justify-self:end}
.jcd-gallery-hero__visual .jcd-comparison-frame{aspect-ratio:2/1}
.jcd-gallery-hero__visual .jcd-comparison-card figcaption{padding:14px 12px 12px}
.jcd-gallery-hero__visual .jcd-comparison-meta{margin-bottom:8px}

@media(max-width:900px){.jcd-page-hero-grid{grid-template-columns:1fr;gap:30px}.jcd-page-hero-copy{max-width:700px}.jcd-page-hero-media,.jcd-gallery-hero__visual{width:100%;max-width:700px;justify-self:start}.jcd-page-hero-media img{height:auto;aspect-ratio:16/9}.jcd-cdcp-explainer{grid-template-columns:1fr;gap:22px}}
@media(max-width:767px){.jcd-gallery-hero,.jcd-cdcp-hero,.jcd-contact-page .jcd-contact-hero{padding:112px 0 32px}.jcd-contact-hero .jcd-page-hero-actions,.jcd-cdcp-hero .jcd-page-hero-actions,.jcd-gallery-hero .jcd-page-hero-actions,.jcd-service-hero-actions,.jcd-services-page .jcd-services-hero__actions{display:none}.jcd-service-page .jcd-service-banner{min-height:0;padding:112px 0 32px}.jcd-page-hero-lead{margin-top:18px;font-size:16px;line-height:1.75}.jcd-contact-options>div>.text-center{margin-bottom:28px}}

/* Click to open categories, then a separate service submenu. */
body.jcd-refined-site #desktop-nav>.group{position:static}
body.jcd-refined-site #desktop-nav .mega-menu{--jcd-flyout-column:258px;--jcd-flyout-height:var(--jcd-flyout-available-height,calc(100svh - 96px));display:none;position:fixed;top:80px;left:24px;width:260px;max-width:calc(100vw - 32px);max-height:var(--jcd-flyout-height);margin:0;padding:0;border:1px solid #cfe2ed;border-top:3px solid #52c1ec;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 16px 36px rgb(17 61 81 / 16%);overflow:hidden;opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:none}
body.jcd-refined-site.jcd-nav-ready #desktop-nav .jcd-services-nav.is-open>.mega-menu{display:flex}
body.jcd-refined-site #desktop-nav .mega-menu.has-submenu{width:560px}
body.jcd-refined-site:not(.jcd-nav-ready) #desktop-nav>.group:focus-within>.mega-menu{display:block;width:min(1000px,calc(100vw - 48px));max-height:calc(100svh - 104px);padding:20px;overflow:auto}
.jcd-services-flyout__categories{display:flex;flex-direction:column;flex:0 0 var(--jcd-flyout-column);min-height:0;max-height:calc(var(--jcd-flyout-height) - 4px);padding:8px}
.jcd-services-flyout__category-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:4px;scrollbar-width:thin;scrollbar-color:#add6e6 #f4faff}
.has-submenu .jcd-services-flyout__categories{border-right:1px solid #e0edf4}
.jcd-services-flyout__category{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;padding:11px 12px;border:0;border-radius:7px;background:#fff;color:#173d50;font:inherit;font-size:13px;font-weight:600;line-height:1.5;text-align:left;cursor:pointer}
.jcd-services-flyout__category:is(:hover,[aria-expanded="true"]){background:#e9f7fd;color:#086d90}
.jcd-services-flyout__category svg,.jcd-services-flyout__all svg{flex:0 0 15px;width:15px;height:15px;color:#087ca5}
.jcd-services-flyout__all{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:14px;min-height:44px;margin:6px 0 0;padding:12px;border-top:1px solid #dcebf3;background:#fff;color:#087ca5;font-size:12px;font-weight:700;text-decoration:none}
.jcd-services-flyout__submenus{flex:1;min-width:0;max-height:calc(var(--jcd-flyout-height) - 4px);padding:16px 12px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.jcd-services-flyout__submenus[hidden],.jcd-services-flyout__panel[hidden]{display:none}
.jcd-services-flyout__heading{margin:0 8px 8px;padding-bottom:12px;border-bottom:1px solid #dfedf4;color:#087ca5;font-size:12px;font-weight:700;line-height:1.6}
.jcd-services-flyout__link{display:flex;align-items:center;min-height:44px;padding:10px 8px;border-radius:7px;color:#264c60;font-size:13px;font-weight:500;line-height:1.6;text-decoration:none}
.jcd-services-flyout__link:hover{background:#edf9fe;color:#087ca5}
body.jcd-refined-site #desktop-nav .mega-menu :is(button,a):focus-visible{outline:2px solid #087ca5!important;outline-offset:-2px!important}
body.jcd-refined-site #desktop-nav .jcd-services-nav .dropdown-arrow{transform:rotate(0)}
body.jcd-refined-site #desktop-nav .jcd-services-nav.is-open .dropdown-arrow{transform:rotate(180deg)}
/* Short laptop viewports keep the category rail compact and its catalogue link in view. */
@media(min-width:768px) and (max-width:1439px),(min-width:768px) and (max-height:800px){body.jcd-refined-site #desktop-nav .mega-menu{--jcd-flyout-column:226px;--jcd-flyout-height:min(452px,var(--jcd-flyout-available-height,calc(100svh - 96px)));width:228px;border-radius:12px}body.jcd-refined-site #desktop-nav .mega-menu.has-submenu{width:520px}.jcd-services-flyout__category{font-size:12px}.jcd-services-flyout__submenus{padding:18px 14px;background:#f7fcff}.jcd-services-flyout__heading{font-size:13px}.jcd-services-flyout__link{font-size:13px}}

.jcd-about-page .counter{font-size:clamp(32px,4vw,48px);line-height:1.15}
.jcd-about-smile-callout p{max-width:100%;font-size:clamp(28px,3.5vw,44px);line-height:1.3;overflow-wrap:anywhere}
/* About page uses the sky-blue brand in a full-width split feature. */
.jcd-about-hero{position:relative;isolation:isolate;overflow:hidden;padding:136px 0 56px;background:linear-gradient(115deg,#07455f,#0c6b8d);border-bottom:1px solid #2a7f9b}
.jcd-about-hero::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:url('../images/motifs/square-field.svg') right center/min(1100px,100%) auto no-repeat;opacity:.4}
.jcd-about-hero .jcd-section-kicker{margin:0 0 20px;color:#a6e7fc}
.jcd-about-hero h1{margin:0;color:#f4fbff}
.jcd-about-hero .jcd-brand-shell>p:not(.jcd-section-kicker){margin:22px 0 26px;color:#d5edf7;font-size:17px;line-height:1.8}
/* Restore the original central tooth composition with readable, fluid side columns. */
.jcd-about-trust{padding:64px 0;background:#fff}
.jcd-about-trust__heading{max-width:1100px;margin:0 auto 44px;text-align:center}
.jcd-about-trust__heading>.jcd-section-kicker{margin:0 0 14px;color:#176482}
.jcd-about-trust__heading h2{margin:0 0 20px;color:#173d50;scroll-margin-top:110px}
.jcd-about-trust__heading h2 span{color:#087ca5}
.jcd-about-trust__heading>p:last-child{margin:0;color:#506d7d;font-size:15px;line-height:1.85}
.jcd-about-trust__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.95fr) minmax(0,1fr);gap:32px;align-items:center}
.jcd-about-trust__list{display:grid;align-content:center;gap:38px;min-width:0}
.jcd-about-trust__list--left{text-align:right}
.jcd-about-trust__title{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.jcd-about-trust__list--left .jcd-about-trust__title{justify-content:flex-end}
.jcd-about-trust__title img{display:block;flex:0 0 32px;width:32px;height:32px;object-fit:contain}
body.jcd-refined-site .jcd-about-trust__title h3{min-width:0;margin:0;color:#173d50;font-size:18px!important;line-height:1.45!important}
.jcd-about-trust__list p{margin:0;color:#506d7d;font-size:13px;line-height:1.85}
.jcd-about-trust__tooth{min-width:0;width:100%;margin:0}
.jcd-about-trust__tooth img{display:block;width:100%;height:auto}
@media(max-width:1099px){.jcd-about-trust__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.jcd-about-trust__tooth{grid-row:1;grid-column:1/-1;width:400px;max-width:100%;justify-self:center}.jcd-about-trust__list--left{text-align:left}.jcd-about-trust__list--left .jcd-about-trust__title{justify-content:flex-end;flex-direction:row-reverse}.jcd-about-trust__title{justify-content:flex-start}.jcd-about-trust__list{gap:26px}}
@media(max-width:900px){.jcd-about-hero{padding:120px 0 44px}}
@media(max-width:639px){.jcd-about-trust{padding:40px 0}.jcd-about-trust__heading{margin-bottom:28px}.jcd-about-trust__grid{grid-template-columns:minmax(0,1fr);gap:26px}.jcd-about-trust__tooth{grid-column:auto;width:100%;max-width:330px}.jcd-about-trust__title h3{font-size:17px!important}.jcd-about-hero{padding:112px 0 40px}}

/* About: consistent image framing, readable hours and restrained value cards. */
.jcd-about-intro>div,.jcd-about-mission>div,.jcd-about-values>div{max-width:var(--max-w-container,1200px);padding-inline:24px}
.jcd-about-intro{padding:56px 0 64px;background:#fff}
.jcd-about-intro__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,4.5vw,72px);align-items:start}
.jcd-about-intro__media{min-width:0;padding-bottom:8px}
.jcd-about-intro__photo{overflow:hidden;margin:0;border:5px solid #e0f2fb;border-radius:24px;background:linear-gradient(145deg,#edfaff,#fff);box-shadow:0 8px 24px rgb(24 105 139 / 5%)}
.jcd-about-intro__photo img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:contain}
.jcd-about-intro__stats{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:-24px 0 0;padding:24px 20px;border:1px solid #d5eaf4;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgb(24 105 139 / 8%)}
.jcd-about-intro__stat{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0}
.jcd-about-intro__stat+.jcd-about-intro__stat{border-left:1px solid #cce6f2}
.jcd-about-intro__stat-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#e6f7fe;color:#087ca5}
.jcd-about-intro__stat-icon svg{width:27px;height:27px}
.jcd-about-intro .counter{display:block;color:#087ca5;font-size:clamp(30px,3.2vw,44px);font-weight:700;line-height:1.15;letter-spacing:-.04em}
.jcd-about-intro__stat p{margin:6px 0 0;color:#536f7f;font-size:12px;line-height:1.5}
.jcd-about-intro__story{min-width:0}
.jcd-about-intro__story>.jcd-section-kicker{margin:0 0 12px;font-size:10px}
.jcd-about-intro__story h2{margin:0 0 16px;color:#173d50;max-width:22ch}
.jcd-about-intro__story h2 span{color:#087ca5}
.jcd-about-intro__description{margin:0;color:#506d7d;font-size:15px;line-height:1.8}
.jcd-about-hours{position:relative;isolation:isolate;overflow:hidden;margin-top:22px;padding:20px 24px;border:1px solid #cde7f4;border-radius:16px;background:linear-gradient(120deg,#f7fcff,#eaf7fe)}
body.jcd-refined-site .jcd-about-hours h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:#173d50;font-size:20px!important;line-height:1.4!important}
.jcd-about-hours h3 svg{width:23px;height:23px;color:#087ca5}
.jcd-about-hours dl{position:relative;z-index:1;width:80%;margin:0}
.jcd-about-hours dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;padding:7px 0;border-bottom:1px solid #dbeaf3;color:#486779;font-size:12px;line-height:1.5}
.jcd-about-hours dl>div:last-child{border:0;padding-bottom:0}
.jcd-about-hours dd{margin:0;text-align:right}
.jcd-about-hours small{display:block;margin-top:2px;font-size:10px}
.jcd-about-hours .jcd-about-hours__closed{color:#963c35}
.jcd-about-hours__art{position:absolute;z-index:0;right:20px;top:60px;color:#9dddf4;opacity:.2;transform:rotate(12deg)}
.jcd-about-hours__art svg{width:94px;height:94px}
@media(max-width:1023px){.jcd-about-intro__grid{grid-template-columns:1fr;gap:36px}.jcd-about-intro__media{width:100%;max-width:680px;justify-self:center}.jcd-about-intro__story h2{max-width:26ch}.jcd-about-hours dl{width:85%}}
@media(max-width:639px){.jcd-about-intro{padding:36px 0 40px}.jcd-about-intro__stats{margin-top:-18px;padding:20px 12px;border-radius:16px}.jcd-about-intro__stat{flex-direction:column;gap:10px;text-align:center}.jcd-about-intro__stat-icon{width:40px;height:40px;flex-basis:40px}.jcd-about-intro__stat-icon svg{width:23px;height:23px}.jcd-about-intro__stat p{font-size:11px}.jcd-about-intro__description{font-size:14px}.jcd-about-hours{padding:20px}.jcd-about-hours dl{width:100%}.jcd-about-hours__art{display:none}}
.jcd-about-mission{padding-block:56px 88px;color:#173d50;background:#52c1ec}
.jcd-about-mission :is(h2,p,a){color:#173d50;text-shadow:none}
.jcd-about-mission p{line-height:1.85}
.jcd-about-mission .jcd-about-mission__button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:12px;min-height:52px;padding:14px 22px;border:1px solid #073f56;border-radius:12px;background:#073f56;color:#fff;-webkit-text-fill-color:#fff;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none}
.jcd-about-mission .jcd-about-mission__button:visited{color:#fff}
.jcd-about-mission__button svg{flex:0 0 18px;width:18px;height:18px}
.jcd-about-mission .jcd-about-mission__button:hover{background:#0a536d;border-color:#0a536d}
.jcd-about-mission .jcd-about-mission__button:active{background:#063548;border-color:#063548}
.jcd-about-mission__button:focus-visible{outline:3px solid #073f56;outline-offset:4px}
.jcd-about-values{margin-top:-40px;margin-bottom:64px;position:relative;z-index:1}
.jcd-about-values .jcd-about-value-card{padding:28px;border:1px solid #d1e7f2;border-radius:18px;background:#fff;box-shadow:0 6px 20px rgb(23 61 80 / 5%);transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}
.jcd-about-values .jcd-about-value-card::before{content:none}
.jcd-about-values .jcd-about-value-card .icon-border{width:52px;height:52px;margin-bottom:24px;border:1px solid #cceaf6;background:#eaf8fe;border-radius:14px}
.jcd-about-values .jcd-about-value-card img{width:30px;height:30px;object-fit:contain}
body.jcd-refined-site .jcd-about-values h3{margin:0 0 14px;color:#173d50;font-size:21px!important}
.jcd-about-values .jcd-about-value-card p{color:#506d7d;font-size:14px;line-height:1.85}
.jcd-about-values .jcd-about-value-card:is(:hover,:focus-within,:active){border-color:#173d50;transform:translateY(-5px);background:#ddf4fc;box-shadow:0 10px 18px rgb(23 61 80 / 14%)}
.jcd-about-values .jcd-about-value-card:is(:hover,:focus-within,:active) .icon-border{border-color:#173d50;background:transparent}
.jcd-about-values .jcd-about-value-card:is(:hover,:focus-within,:active) p{color:#173d50}
@media(max-width:639px){.jcd-about-intro{padding-block:40px}.jcd-about-intro>div,.jcd-about-mission>div,.jcd-about-values>div{padding-inline:16px}.jcd-about-values{margin-bottom:40px}.jcd-about-mission{padding-block:40px 72px}}
@media(prefers-reduced-motion:reduce){.jcd-about-values .jcd-about-value-card{transition:none}.jcd-about-values .jcd-about-value-card:is(:hover,:focus-within,:active){transform:none}}

/* Gallery-only photo tiles; service comparison captions retain their existing layout. */
.jcd-gallery-page .jcd-comparison-card{padding:0;border:1px solid #d8eaf3;border-radius:14px;background:#fff;box-shadow:0 7px 24px rgb(25 116 151 / 7%)}
.jcd-gallery-page .jcd-comparison-frame{aspect-ratio:2/1;border-radius:0;background:#eff8fc}
.jcd-gallery-page .jcd-comparison-label{top:12px;padding:5px 10px;border:0;border-radius:999px;color:#fff;font-size:11px}
.jcd-gallery-page .jcd-comparison-label--before{background:#51423b}
.jcd-gallery-page .jcd-comparison-label--after{background:#087da5}
.jcd-gallery-page .jcd-comparison-handle{top:50%;bottom:auto;transform:translate(-50%,-50%);box-shadow:0 2px 10px rgb(22 74 95 / 15%)}
.jcd-gallery-page .jcd-gallery-card-caption{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:74px;padding:12px 14px}
.jcd-gallery-card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e4f6ff;color:#087ca5}
.jcd-gallery-card-icon svg{width:24px;height:24px}
body.jcd-refined-site .jcd-gallery-card-caption h3{min-width:0;margin:0;color:#173d50;font-size:16px!important;line-height:1.4!important}
.jcd-gallery-card-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:4px 0;color:#087396;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap}
.jcd-gallery-card-link svg{width:15px;height:15px}
.jcd-gallery-card-link:hover{color:#07536d;text-decoration:underline;text-underline-offset:3px}
.jcd-gallery-card-link:focus-visible{border-radius:4px}
@media(max-width:639px){.jcd-gallery-page .jcd-gallery-card-caption{padding:10px 12px;gap:8px;grid-template-columns:34px minmax(0,1fr) auto}.jcd-gallery-card-icon{width:34px;height:36px}.jcd-gallery-card-icon svg{width:22px;height:22px}body.jcd-refined-site .jcd-gallery-card-caption h3{font-size:14px!important}.jcd-gallery-card-link{font-size:10px}}

.jcd-gallery-page .jcd-gallery-section{background:#eaf7fd}
.jcd-gallery-page .jcd-comparison-frame:focus-within{outline-offset:-4px}
.jcd-gallery-page .jcd-gallery-filters button[aria-pressed="true"]{background:#52c1ec;border-color:#52c1ec;color:#173d50}
.jcd-gallery-page .jcd-gallery-filters button[aria-pressed="true"]:hover{background:#7dcff0}
@media(max-width:639px){.jcd-gallery-page .jcd-gallery-filters{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding:4px 3px 10px;scrollbar-width:thin}.jcd-gallery-page .jcd-gallery-filters button{flex:0 0 auto}}

/* A consultation link closes the gallery without changing its hero. */
.jcd-gallery-cta{padding:0 0 40px;background:#eaf7fd}
.jcd-gallery-cta__panel{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto 140px;align-items:center;gap:28px;min-height:210px;padding:30px 36px;border:1px solid #85d5ef;border-radius:20px;background:linear-gradient(115deg,#99e1f6,#64c9ee);color:#173d50}
.jcd-gallery-cta .jcd-section-kicker{margin:0 0 10px;color:#17536a;font-size:10px}
.jcd-gallery-cta h2{margin:0 0 12px;color:#173d50}
.jcd-gallery-cta__panel>div>p:last-child{margin:0;color:#25566c;font-size:14px;line-height:1.7}
.jcd-gallery-cta__button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:50px;padding:13px 21px;border:1px solid #073f56;border-radius:999px;background:#073f56;color:#fff;font-size:13px;font-weight:700;line-height:1.5;text-decoration:none}
.jcd-gallery-cta__button svg{width:18px;height:18px}
.jcd-gallery-cta__button:hover{background:#0a536d;border-color:#0a536d}
.jcd-gallery-cta__button:focus-visible{outline:3px solid #073f56;outline-offset:4px}
.jcd-gallery-cta__tooth{display:block;width:140px;height:155px;object-fit:contain}
@media(max-width:1023px){.jcd-gallery-cta__panel{grid-template-columns:minmax(0,1fr) auto;padding:28px;gap:24px}.jcd-gallery-cta__tooth{display:none}}
@media(max-width:639px){.jcd-gallery-cta{padding-bottom:32px}.jcd-gallery-cta__panel{grid-template-columns:1fr;padding:24px;gap:22px}.jcd-gallery-cta__button{justify-self:start}}

/* Text-only journal and team heroes share the inner-page palette without loading photography. */
.jcd-blog-page .jcd-journal-hero,.jcd-team-page .jcd-simple-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#07455f,#095775 62%,#0a7396);border-bottom:1px solid #2a7f9b}
.jcd-blog-page .jcd-journal-hero{--jcd-ink:#f4fbff;--jcd-muted:#d5edf7;padding-block:40px 56px}
.jcd-blog-page .jcd-journal-hero::before,.jcd-team-page .jcd-simple-hero::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:url('../images/motifs/square-field.svg') right center/min(1100px,100%) auto no-repeat;opacity:.35;mask-image:linear-gradient(90deg,transparent,#000 70%)}
.jcd-blog-page .jcd-journal-hero .jcd-eyebrow,.jcd-blog-page .jcd-journal-hero .jcd-breadcrumb,.jcd-blog-page .jcd-journal-hero .jcd-breadcrumb a{color:#b6e7f9}
.jcd-blog-page .jcd-journal-hero a:focus-visible{outline-color:#b6e7f9!important}
.jcd-team-page .jcd-simple-hero{padding:128px 0 52px}
.jcd-team-page .jcd-simple-hero .jcd-shell{width:100%;max-width:var(--max-w-container,1200px);margin-inline:auto;padding-inline:24px}
.jcd-team-page .jcd-simple-hero h1{margin:0;color:#f4fbff}
.jcd-team-page .jcd-simple-hero .jcd-kicker{margin:0 0 18px;color:#b6e7f9;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.jcd-team-page .jcd-simple-hero p:not(.jcd-kicker){max-width:650px;margin:22px 0 0;color:#d5edf7;font-size:16px;line-height:1.8}
@media(max-width:639px){.jcd-blog-page .jcd-journal-hero{padding-block:28px 40px}.jcd-team-page .jcd-simple-hero{padding:116px 0 40px}.jcd-team-page .jcd-simple-hero .jcd-shell{padding-inline:16px}}

.jcd-blog-card{border-color:#d3e8f1;background:#f8fcfe}
.jcd-blog-card h3{color:#173d50}
/* The compiled base sets H2 sizes with !important; keep form headings compact. */
body.jcd-refined-site .jcd-contact-form-panel h2{font-size:clamp(22px,2vw,26px)!important;line-height:1.35!important}
#mobile-menu .jcd-mobile-services{padding:0;border-bottom:1px solid #deedf4}
#mobile-menu .jcd-mobile-services summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 18px;color:#173d50;font-size:14px;font-weight:600;line-height:1.6;list-style:none;cursor:pointer}
#mobile-menu .jcd-mobile-services summary::-webkit-details-marker{display:none}
#mobile-menu .jcd-mobile-services summary svg{width:18px;height:18px;flex:0 0 18px;color:#087ca5;transition:transform .15s ease}
#mobile-menu .jcd-mobile-services[open]>summary>svg,#mobile-menu .jcd-mobile-service-group[open]>summary>svg{transform:rotate(90deg)}
#mobile-menu .jcd-mobile-service-categories{padding:0 10px 12px;background:#f4fbfe}
#mobile-menu .jcd-mobile-service-group{border-bottom:1px solid #dcebf3}
#mobile-menu .jcd-mobile-service-group:last-child{border-bottom:0}
#mobile-menu .jcd-mobile-service-group>summary{min-height:44px;padding:12px 14px;font-size:13px}
#mobile-menu .jcd-mobile-service-group[open]>summary{color:#087ca5}
#mobile-menu .jcd-mobile-service-links .mobile-service{display:block;min-height:44px;padding:11px 24px;font-size:13px;line-height:1.7;color:#385d70;text-decoration:none;background:#fff}
#mobile-menu .jcd-mobile-service-links .mobile-service:hover{color:#087ca5;background:#e8f7fd}
#mobile-menu .jcd-mobile-services :is(summary,a):focus-visible{outline:2px solid #087ca5;outline-offset:-2px}
@media(prefers-reduced-motion:reduce){#mobile-menu .jcd-mobile-services summary svg{transition:none}}
