/* Final requested UI refinements. Load after all existing theme style sheets. */
.site-header .brand,.site-header .brand img{width:140px}
.site-header .brand img{height:94px;object-fit:contain}
.site-header .nav-shell{height:104px}
.utility-phone-icon{width:15px;height:15px;display:inline-block;flex-shrink:0;vertical-align:middle}

.mega-panel-close{position:absolute;top:12px;right:12px;z-index:5;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--blue);border:1px solid rgb(2 40 61/.17);box-shadow:0 4px 15px rgb(2 40 61/.07);cursor:pointer;transition:background .2s,transform .2s}
.mega-panel-close svg{width:22px;height:22px;pointer-events:none}
.mega-panel-close:hover{background:var(--lime);transform:rotate(8deg)}
.mega-panel-close:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.mega-panel .mega-content{padding-top:58px}
.mega-panel-services .mega-group h3{text-align:center;font-weight:800}
.mega-panel-services .mega-section-title{font-weight:800}

.service-tabs{padding:6px;gap:5px;border:1px solid rgb(2 40 61/.2);border-radius:18px;background:#fff;box-shadow:0 7px 24px rgb(2 40 61/.07)}
.service-tab{font-size:15px;font-weight:800;letter-spacing:.01em;border:1px solid transparent;border-radius:13px;padding:15px 24px;color:var(--blue);background:transparent;min-height:49px;transition:background .2s,color .2s,border-color .2s}
.service-tab:hover{background:rgb(134 188 2/.15)}
.service-tab.active,.service-tab[aria-selected=true]{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:inset 0 -3px 0 var(--lime)}
.service-tab span{font-size:11px;font-weight:700;border-radius:7px;padding:3px 6px;background:rgb(2 40 61/.08);color:var(--blue)}
.service-tab.active span,.service-tab[aria-selected=true] span{background:var(--lime);color:var(--blue)}
.service-tab:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.sisters-section .logo-card-image:has(img[src*="sister-high-media.png"]){padding:10px}
.sisters-section .logo-card img[src*="sister-high-media.png"]{width:auto;max-width:100%;max-height:85px}

/* Compact the original service content without hiding or rewriting any paragraph. */
.single-services .page-hero{padding-block:22px 30px}
.single-services .page-hero h1{margin-top:18px}
.single-services .page-hero:after{margin-block:18px 0}
.single-services .page-content{padding-block:8px 45px}
.single-services .legacy-content .FirmSection{padding-block:6px 10px}
.single-services .legacy-content .NewPageTitle{padding:15px 22px;margin-bottom:22px}
.single-services .legacy-content .NewPageTitle h2{margin-block:6px}
.single-services .legacy-content .NewPageTitle h3{margin-block:6px}
.single-services .legacy-content :is(.text-box,.wp-block-group,.wp-block-column)>p:not(:empty),
.single-services .legacy-content>p:not(:empty){margin-bottom:10px;padding:16px 23px;line-height:1.75;white-space:normal;border-radius:17px}
.single-services .legacy-content :is(.text-box,.wp-block-group,.wp-block-column)>p:not(:empty):before,
.single-services .legacy-content>p:not(:empty):before{inset-block:16px}
.single-services .page-content :is(h2,h3,h4,h5,h6){margin-block:21px 12px}
.single-services .legacy-content .row{row-gap:12px}
.single-services .legacy-content .gl-diagram{margin-block:28px;padding-block:30px}
.single-services .gl-diagram .diagram-caption h2{margin-block:0 26px}
.single-services .legacy-content .boldStepSection{margin-block:30px 12px;padding:32px 30px}
.single-services .legacy-content .boldStepSection h2{margin:0 auto 18px}
.single-services .legacy-content .boldstepdet>p:not(:empty),
.single-services .legacy-content .boldStepSection .text-box>p:not(:empty){margin:0 auto 16px;padding:14px 20px;line-height:1.75}
[dir=rtl] .single-services .legacy-content :is(.text-box,.wp-block-group,.wp-block-column)>p,
[dir=rtl] .single-services .legacy-content>p{line-height:1.85}

/* A large, unchanged original logo leads the authorized limited-time offer. */
.gl-offer-dialog{width:min(940px,calc(100% - 36px))}
.gl-offer-dialog .row{grid-template-columns:.9fr 1.1fr;align-items:stretch}
.gl-offer-dialog .offer-brand-panel{height:100%;min-height:430px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:25px;padding:42px 28px;background:radial-gradient(ellipse at 50% 80%,rgb(134 188 2/.2),transparent 65%),#fff;border-inline-end:1px solid rgb(2 40 61/.08)}
.gl-offer-dialog .offer-brand-panel .offer-brand-logo{display:block;width:100%;max-width:320px;height:auto;object-fit:contain;object-position:center}
.offer-brand-discount{font-size:clamp(72px,8vw,112px);font-weight:800;line-height:1;letter-spacing:-.07em;color:var(--green)}
.offer-brand-discount>span{font-size:.48em;letter-spacing:0;color:var(--blue)}
.gl-offer-dialog .SubScDatat{padding:43px 38px 34px}
.gl-offer-dialog .SubScDatat h2{font-size:12px;font-weight:800;letter-spacing:.14em;margin:0 0 13px}
.gl-offer-dialog .SubScDatat h1{font-size:clamp(35px,4vw,48px);line-height:1.1;font-weight:700;margin:0 0 17px;letter-spacing:-.04em}
.gl-offer-dialog .SubScDatat .forflex>p{font-size:15px;line-height:1.6;margin:0 0 21px}
.gl-offer-dialog input[type=submit]{font-weight:800;font-size:15px;letter-spacing:.04em;min-height:48px}
.gl-offer-dialog .offer-close{width:40px;height:40px;top:12px;right:12px;left:auto}
[dir=rtl] .gl-offer-dialog .SubScDatat h1,[dir=rtl] .gl-offer-dialog .SubScDatat h2{letter-spacing:0;line-height:1.45}

@media(min-width:1001px) and (max-width:1150px){
 .site-header .nav-shell{gap:9px}.site-header .nav-item>a,.site-header .mega-toggle{padding-inline:6px}
}
@media(max-width:1000px){
 .site-header .brand,.site-header .brand img{width:125px}.site-header .brand img{height:84px}.site-header .nav-shell{height:94px}
 .mega-panel{position:relative}.mega-panel .mega-content{padding-top:54px}
 .mega-panel-close{top:7px;right:7px}
}
@media(max-width:900px){.sisters-section .logo-card img[src*="sister-high-media.png"]{max-height:76px}}
@media(max-width:760px){
 .site-header .brand,.site-header .brand img{width:115px}.site-header .brand img{height:78px}.site-header .nav-shell{height:88px}
 .utility-phone-icon{width:13px;height:13px}.service-tabs{padding:5px;gap:4px}.service-tab{font-size:14px;padding:13px 17px;min-height:47px}
 .single-services .page-hero{padding-block:18px 24px}.single-services .page-content{padding-block:6px 32px}
 .single-services .legacy-content .NewPageTitle{padding:13px 17px;margin-bottom:18px}
 .single-services .legacy-content :is(.text-box,.wp-block-group,.wp-block-column)>p:not(:empty),
 .single-services .legacy-content>p:not(:empty){padding:14px 17px;margin-bottom:9px;font-size:16px;line-height:1.75}
 .single-services .legacy-content .gl-diagram{margin-block:24px;padding-block:25px}
 .single-services .legacy-content .boldStepSection{margin-top:24px;padding:25px 20px}
 .gl-offer-dialog{width:calc(100% - 26px)}.gl-offer-dialog .row{grid-template-columns:1fr}
 .gl-offer-dialog .offer-brand-panel{min-height:0;height:auto;padding:28px 50px 20px;border-inline-end:0;border-bottom:1px solid rgb(2 40 61/.08)}
 .gl-offer-dialog .offer-brand-panel .offer-brand-logo{max-width:215px;width:100%;height:auto}
 .offer-brand-discount{display:none}.gl-offer-dialog .SubScDatat{padding:25px}
 .gl-offer-dialog .SubScDatat h1{font-size:35px}.gl-offer-dialog .SubScDatat .forflex>p{font-size:14px;margin-bottom:18px}
}
@media(prefers-reduced-motion:reduce){.mega-panel-close,.service-tab{transition:none}.mega-panel-close:hover{transform:none}}

/* Branded fallback enquiries on inner pages; home and offer forms are separate. */
.legacy-content .gl-enquiry-form{width:100%;max-width:100%;padding:28px;border:1px solid rgb(2 40 61/.12);border-radius:25px;background:linear-gradient(140deg,#fff,rgb(134 188 2/.055));box-shadow:0 16px 45px rgb(2 40 61/.06);font-size:15px;line-height:1.5}
.legacy-content .gl-enquiry-form .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;margin:0}
.legacy-content .gl-enquiry-form .row>p,.legacy-content .gl-enquiry-form .row>.col-lg-12,.legacy-content .gl-enquiry-form .row>.col-md-12{grid-column:1/-1}
.legacy-content .gl-enquiry-form .row>div{width:100%;max-width:100%;min-width:0;padding:0}
.legacy-content .gl-enquiry-form :is(.form-group,.mb-3){margin:0}
.legacy-content .gl-enquiry-form .form-group:empty{display:none}
.legacy-content .gl-enquiry-form p{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;line-height:1.5;white-space:normal}
.legacy-content .gl-enquiry-form .wpcf7-form-control-wrap{display:block;min-width:0}
.legacy-content .gl-enquiry-form label{display:block;font-size:13px;font-weight:700;line-height:1.5;margin:0}
.legacy-content .gl-enquiry-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.legacy-content .gl-enquiry-form textarea,.legacy-content .gl-enquiry-form select{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;margin:0;padding:12px 14px;border:1px solid rgb(2 40 61/.17);border-radius:12px;background:#fff;color:var(--blue);box-shadow:0 2px 7px rgb(2 40 61/.025);font-size:15px;font-weight:400;line-height:1.5}
.legacy-content .gl-enquiry-form .gl-service-choice select{margin-top:6px}
.legacy-content .gl-enquiry-form textarea{height:152px;min-height:132px;resize:vertical}
.legacy-content .gl-enquiry-form :is(input,textarea,select):focus-visible{outline:2px solid var(--green);outline-offset:2px;border-color:var(--green);box-shadow:0 0 0 4px rgb(134 188 2/.13)}
.legacy-content .gl-enquiry-form :is(input[type=submit],button[type=submit]):not([type=hidden]){display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:165px;max-width:100%;min-height:48px;margin:3px 0 0;padding:13px 27px;border:1px solid var(--blue);border-radius:30px;background:var(--blue);color:#fff;font-size:15px;font-weight:700;line-height:1.4;box-shadow:0 6px 17px rgb(2 40 61/.12);cursor:pointer}
.legacy-content .gl-enquiry-form :is(input[type=submit],button[type=submit]):not([type=hidden]):hover{background:var(--green);border-color:var(--green)}
.legacy-content .gl-enquiry-form .form-status{padding:12px 15px;margin-bottom:16px;border:1px solid rgb(134 188 2/.3);border-radius:12px;background:rgb(134 188 2/.12);font-size:14px;line-height:1.6}
@media(max-width:600px){
 .legacy-content .gl-enquiry-form{padding:20px 17px;border-radius:21px}
 .legacy-content .gl-enquiry-form .row{grid-template-columns:1fr;gap:12px}
 .legacy-content .gl-enquiry-form textarea{height:140px}
 .legacy-content .gl-enquiry-form :is(input[type=submit],button[type=submit]):not([type=hidden]){width:100%}
}

/* Keep the hero background continuous under the floating header capsule. */
.site-header{margin-bottom:-118px}
@media(max-width:1000px){.site-header{margin-bottom:-108px}}
@media(max-width:760px){.site-header{margin-bottom:-100px}}

/* The home enquiry sits directly below its heading, without an empty side column. */
.home-contact-section.contact-section{grid-template-columns:1fr;gap:25px;padding-block:65px 28px}
.home-contact-section>div:first-child{text-align:center}
.home-contact-section h2{font-size:clamp(36px,4.5vw,64px);line-height:1.15;margin:12px 0 10px}
.home-contact-section>div:first-child>p{margin:0;line-height:1.5}
.home-contact-section .home-contact-form{width:min(100%,820px);justify-self:center;padding:28px;text-align:start}
.home-contact-section .contact-form input:not([type=hidden]),.home-contact-section .contact-form textarea{margin:6px 0 15px;padding:12px 14px;min-height:46px}
.home-contact-section .contact-form textarea{height:120px;min-height:100px}
.home-contact-section .contact-form .form-row{gap:20px}
.home-contact-section .contact-form .button{display:flex;margin-inline:auto;min-height:46px}
#content>.offer-reopen{margin-bottom:0}
@media(max-width:760px){
 .home-contact-section.contact-section{padding-block:45px 24px;gap:21px}
 .home-contact-section .home-contact-form{padding:22px 18px}
 .home-contact-section .contact-form .form-row{gap:15px}
}
