:root{scroll-padding-top:100px}.nav-item{white-space:nowrap}.services-nav{position:relative}.services-panel{position:absolute;top:100%;left:0;width:265px;padding:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 30px #131b2e18}.services-panel a{display:block;padding:11px 12px;font-size:14px;border-radius:8px}.services-panel a:hover{background:#eaedff;color:#003ec7}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #0052ff;outline-offset:4px}header a,header button{flex-shrink:0}#mobile-menu{max-height:calc(100dvh - 80px);overflow:auto}#mobile-menu .services-panel{position:static;width:100%;box-shadow:none}img{max-width:100%}@media(max-width:639px){header a[href="#contact"],header a[href="#consultation-form"]{font-size:12px;padding:8px;max-width:125px;text-align:center}.text-display-hero{font-size:36px;line-height:44px}.text-headline-lg{font-size:28px;line-height:36px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the full service list usable on shorter screens. */
.services-panel{max-height:calc(100dvh - 110px);overflow-y:auto}#mobile-menu .services-panel{max-height:none}

/* Refined shared navigation: existing palette and type, quieter controls. */
.site-header{border-bottom:1px solid rgba(195,197,217,.45);box-shadow:0 4px 24px rgba(19,27,46,.035)}
.site-header>div:first-child{gap:24px}
.site-header>div:first-child>div:first-child{gap:36px;min-width:0}
.site-header nav[aria-label="Main navigation"]{gap:4px}
.site-header .nav-item{display:inline-flex;align-items:center;gap:7px;padding:11px 12px;border-radius:9px;color:#434656;font-weight:600;transition:background-color .18s,color .18s}
.site-header .nav-item:hover,.site-header .nav-item[aria-expanded="true"],.site-header .nav-item[aria-current]{background:#eaedff;color:#003ec7}
.services-nav>button span{display:inline-block;transition:transform .18s}
.services-nav>button[aria-expanded="true"] span{transform:rotate(180deg)}
.site-header .services-panel{width:560px;padding:20px;gap:20px;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 18px 45px rgba(19,27,46,.12);background:#fff}
.site-header .services-panel:not([hidden]){display:grid;grid-template-columns:1fr 1fr}
.service-group-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.11em;color:#434656;margin:0 10px 12px}
.site-header .services-panel a{font-size:13px;line-height:1.5;padding:10px;border-radius:8px;transition:background-color .18s,color .18s}
.site-header .services-panel a[aria-current="page"]{color:#003ec7;background:#eaedff}
.site-header a[href^="https://wa.me"]{background:transparent;color:#005a3c;border:1px solid #c3c5d9;box-shadow:none;white-space:nowrap;padding:10px 14px}
.site-header a.bg-primary-container{gap:16px;padding:12px 18px;white-space:nowrap;box-shadow:0 4px 12px rgba(0,82,255,.12)}
#mobile-menu nav{padding:16px 24px 24px}
#mobile-menu .nav-item{width:100%;padding:13px 12px}
#mobile-menu .services-nav>button{justify-content:space-between}
#mobile-menu .services-panel{width:100%;border:0;border-radius:12px;background:#f2f3ff;padding:16px;gap:20px}
@media(min-width:1280px) and (max-width:1399px){.site-header>div:first-child{padding-left:24px;padding-right:24px}.site-header>div:first-child>div:first-child{gap:20px}.site-header .nav-item{padding:11px 9px}}
@media(max-width:639px){.site-header>div:first-child{gap:12px}.site-header>div:first-child>div:first-child{gap:0}.site-header a.bg-primary-container{padding:10px 13px;font-size:13px;max-width:none}.site-header #mobile-menu .services-panel:not([hidden]){grid-template-columns:1fr}.site-header img{max-width:135px;height:auto;max-height:40px}}

.portfolio-image-link:focus-visible{outline:3px solid #0052ff;outline-offset:-3px}
/* Overlay phrases in one grid cell to keep the hero stable while looping. */
.hero-phrases{display:inline-grid;vertical-align:bottom}
.hero-phrase{grid-area:1/1;opacity:0;transform:translateY(.15em);transition:opacity .35s ease,transform .35s ease;pointer-events:none}
.hero-phrase.is-current{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.hero-phrase{transition:none;transform:none}}

/* Service illustrations sit beneath the opening offer and CTA. */
.service-illustration-section{padding:0 0 2rem;background:#faf8ff}.service-illustration{max-width:960px;margin:0 auto;overflow:hidden;border-radius:16px;background:#f2f3ff}.service-illustration img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.service-illustration figcaption{font-size:11px;line-height:1.5;color:#434656;padding:8px 16px;text-align:right}
/* Service artwork behind the opening content, with a light contrast layer. */
.service-hero{position:relative;isolation:isolate;overflow:hidden;background:#f2f3ff}
.service-hero>.service-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}
.service-hero::before{content:"";position:absolute;inset:0;background:rgba(250,248,255,.87);z-index:1;pointer-events:none}
.service-hero>div{position:relative;z-index:2}
.service-hero>div.pointer-events-none{display:none}
.service-hero h1{color:#131b2e}
.service-hero p,.service-hero nav{color:#283044}
.service-hero p.text-primary-container{color:#003ec7}
@media(max-width:767px){.service-hero::before{background:rgba(250,248,255,.93)}.service-hero>.service-hero-image{object-position:center}}
/* Centre headings consistently across the service pages. */
.service-page h1,.service-page h2,.service-page h3,.service-page h4{ text-align:center;margin-left:auto;margin-right:auto }
/* Match the homepage's centred service-page composition. */
.service-page{text-align:center}
.service-page p,.service-page div[class*="max-w-"]{margin-left:auto;margin-right:auto}
.service-page .flex.flex-wrap{justify-content:center}
.service-page .text-left:not(form):not(form *){text-align:center}
.service-page details{text-align:center}
.service-page ul{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left}
.service-page form,.service-page form label,.service-page input,.service-page textarea,.service-page select{text-align:left}
.service-page form .flex.flex-wrap{justify-content:flex-start}
.service-page form button[type="submit"]{text-align:center}
/* Centre the pricing group while retaining left-aligned card content. */
#pricing .pricing-cards{width:100%;max-width:1200px;margin-left:auto;margin-right:auto;text-align:left}
#pricing .pricing-cards>div{min-width:0;width:100%}
#pricing .pricing-cards p,#pricing .pricing-cards h3,#pricing .pricing-cards h4{text-align:left}
#pricing .pricing-cards ul{width:auto;margin-left:0;margin-right:0;text-align:left}
@media(max-width:767px){#pricing .pricing-cards{max-width:440px}}
/* Centre the benefits as a group, preserving icon-and-label alignment. */
#about .about-benefits{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left}
