/* Site-wide finishing pass: content cards, readable small screens and form support. */
.engitech .ld-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:32px;}
.engitech .ld-case-grid .ld-case-index{display:flex;flex-direction:column;height:100%;}
.engitech .ld-case-grid .ld-case-index>img{aspect-ratio:4/3;object-fit:cover;}
.engitech .ld-case-grid .lc-block{display:flex;flex-direction:column;flex:1;padding:26px;}
.engitech .ld-case-grid h2{font-size:32px;line-height:1.08;}
.engitech .ld-case-grid .octf-btn{margin-top:auto;align-self:flex-start;}
.engitech .ld-case-grid p{margin-bottom:24px;}
.engitech .ld-form-support{font-size:14px!important;line-height:1.6!important;margin:16px 0 0;}
.engitech .ld-form-support a{text-decoration:underline;text-underline-offset:3px;}
.engitech .ld-specialty-form .ld-form-support,.engitech .ld-specialty-form .ld-form-support a{color:#F7FAFC;}
.engitech :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #00D4DA;outline-offset:4px;}
.engitech .ld-legal-copy{max-width:900px;overflow-wrap:anywhere;}
.engitech .ld-legal-copy h2{margin-top:36px;}
@media(max-width:991px){.engitech .ld-case-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){
 .engitech .ld-case-grid{grid-template-columns:1fr;gap:24px;}
 .engitech #content .ld-specialty :is(p,li){line-height:1.65;}
 .engitech #content .ld-specialty h2{font-size:clamp(30px,8vw,38px);line-height:1.08;}
 .engitech #content .ld-specialty h3{font-size:28px;line-height:1.12;}
 .engitech #content .ld-specialty-feature{padding:22px 20px;min-height:0;}
 .engitech #content .ld-specialty-cards{row-gap:20px;}
 .engitech #content section.ld-case-hero{padding-top:96px!important;padding-bottom:30px!important;}
 .engitech #content section.ld-case-hero .ld-case-back{margin-bottom:20px;}
 .engitech #content section.ld-case-hero .ld-case-example-label{font-size:12px!important;line-height:1.5!important;margin-bottom:18px;}
 .engitech #content section.ld-case-hero .ld-case-hero-intro{font-size:17px!important;line-height:1.55!important;}
 .engitech #content section.ld-case-hero .row{row-gap:28px;}
 .engitech #content section.ld-case-hero .ld-case-result p{font-size:12px!important;line-height:1.4!important;}
 .engitech #content section.ld-case-hero .ld-case-hero-scope p{font-size:13px!important;line-height:1.7!important;}
 .engitech #content .ld-case-preview-body{min-height:210px;}
 .engitech #content .ld-case-preview-copy>strong{font-size:26px;}
 .engitech #content .ld-case-showcase{padding-bottom:80px;}
 .engitech #content .ld-case-timeline li{margin-bottom:18px;}
 .engitech .ld-form-support{overflow-wrap:anywhere;}
 .engitech #content :is(.ld-post-content,.ld-legal-copy) :is(table,pre){max-width:100%;overflow-x:auto;}
}

/* Mobile section rhythm: 25% more vertical space than the previous layout. */
@media (max-width:767px) {
 .engitech.home #content .ld-hero {padding-top:130px!important;padding-bottom:50px!important;}
 .engitech.home #content .client-i10 {padding-top:40px!important;padding-bottom:15px!important;}
 .engitech.home #content .ld-home-services {padding-bottom:55px!important;}
 .engitech.home #content .ld-home-growth {padding-top:55px!important;padding-bottom:55px!important;}
 .engitech.home #content .ld-home-channels {padding-top:55px!important;}
 .engitech.home #content .protection-i10 .space-130 {height:40px;}
 .engitech.home #content .process-i10 > .space-140 {height:55px;}
 .engitech.home #content .ld-home-strategy,
 .engitech.home #content .ld-home-cta {padding-top:65px!important;padding-bottom:65px!important;}
 .engitech:not(.home) #content section:not(:has(h1)) {padding-top:55px!important;padding-bottom:55px!important;}
 .engitech:not(.home) #content section:has(h1) {padding-top:130px!important;padding-bottom:65px!important;}
 .engitech.page-id-186 #content .service-web {padding-bottom:30px!important;}
 .engitech.page-id-186 #content .service-web + section {padding-top:30px!important;padding-bottom:35px!important;}
 .engitech.page-id-186 #content #get-in-touch {padding-top:35px!important;}
 .engitech #content section.ld-case-hero {padding-top:120px!important;padding-bottom:37.5px!important;}
 .engitech #content section.ld-marketing-hero {padding-top:145px!important;padding-bottom:55px!important;}
 .engitech #content section.ld-marketing-service-hero {padding-top:135px!important;padding-bottom:40px!important;}
 .engitech #content .ld-blog-cta {padding-top:55px!important;padding-bottom:55px!important;}
}
/* Mobile: clear practice-area actions, prominent features, legible metrics. */
@media (max-width:767px) {
 .engitech.home .process-desc-i10 ul {display:grid;gap:12px;padding:0;margin-top:24px;}
 .engitech.home .process-desc-i10 ul li {margin:0;}
 .engitech.home .process-desc-i10 .octf-btn-link {
  display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:64px;
  padding:16px 18px;border:1px solid rgba(0,212,218,.25);border-left:3px solid #00D4DA;border-radius:10px;background:#0B2943;
  color:#F7FAFC!important;font-size:17px;font-weight:600;line-height:1.5;box-sizing:border-box;
 }
 .engitech.home .process-desc-i10 .octf-btn-link > span:last-child {display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:0;background:transparent;color:#00D4DA;}
 .engitech.home .process-desc-i10 .octf-btn-link svg {width:18px;height:18px;margin:0;fill:currentColor;}
 .engitech.home .process-desc-i10 .octf-btn-link:is(:hover,:focus-visible) {background:#133954;outline:2px solid #00D4DA;outline-offset:3px;}
 .engitech.home .ld-strategy-list {gap:12px;margin-top:26px;}
 .engitech.home .ld-strategy-list li {align-items:flex-start;gap:14px;padding:18px 16px;border:1px solid rgba(0,212,218,.25);border-left:3px solid #00D4DA;border-radius:10px;background:#0B2943;}
 .engitech.home .ld-strategy-list li > span {display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:8px;background:rgba(0,212,218,.14);font-size:14px;line-height:1;}
 .engitech.home .ld-strategy-list strong {font-size:17px;font-weight:600;line-height:1.5;color:#fff;}
 .engitech.home .ld-system-panel {padding:26px 14px 16px;}
 .engitech.home .ld-system-grid {gap:12px;align-items:stretch;}
 .engitech.home .ld-system-stat {display:flex;flex-direction:column;padding:20px 14px;}
 .engitech.home .ld-stat-value {font-family:var(--ld-font-body)!important;font-weight:600!important;font-size:40px;line-height:1.1;letter-spacing:-.03em;margin-bottom:16px;white-space:nowrap;}
 .engitech.home .ld-stat-value > span {font-size:.65em;letter-spacing:0;margin-left:2px;}
 .engitech.home #content .ld-system-stat h3 {font-family:var(--ld-font-body)!important;font-weight:600!important;font-size:17px;line-height:1.35;letter-spacing:0!important;margin-bottom:12px;}
 .engitech.home .ld-system-stat p {font-size:14px;line-height:1.5;color:#B4C7D8;margin-top:auto;}
}
@media (max-width:359px) {
 .engitech.home .ld-system-grid {grid-template-columns:1fr;}

}

/* WordPress applies both classes to body; reserve the toolbar above overlays. */
body.engitech.admin-bar { --ld-admin-bar-height: 32px; }
body.engitech.admin-bar #wpadminbar { position: fixed; top: 0; left: 0; width: 100%; }
body.engitech.admin-bar #site-header.header-overlay,
body.engitech.admin-bar .is-stuck { top: var(--ld-admin-bar-height); }
@media screen and (max-width:782px) {
 body.engitech.admin-bar { --ld-admin-bar-height: 46px; }
}

/* Digital slate finishing: calm imagery and modern, readable type hierarchy. */
.engitech.home .ld-hero__video {filter:grayscale(1);}
.engitech :is(.ld-service-photo figcaption strong,.ld-strategy-photo strong) {font-weight:600;font-size:25px;line-height:1.3;}
.engitech #content :is(.ld-service-card h3,.ld-channel-card h3) {font-size:24px;line-height:1.3!important;}
.engitech :is(.ld-service-card,.ld-system-panel,.ld-home-cta-panel) {background:#0B2943!important;border-color:#25475F!important;}
@media(max-width:767px){
 .engitech #content :is(.ld-service-card h3,.ld-channel-card h3) {font-size:22px;}
 .engitech.home #content .ld-system-stat h3 {font-family:var(--ld-font-heading)!important;}
}

/* A continuous homepage canvas, with depth behind content rather than color bands. */
body.engitech.home #content {
 background:#041426;
 background-image:radial-gradient(ellipse 85% 900px at 0% 28%,rgba(0,102,140,.16),transparent 72%),radial-gradient(ellipse 80% 950px at 100% 65%,rgba(0,140,155,.12),transparent 74%);
}
body.engitech.home #content section:not(.ld-hero) {
 background-color:transparent!important;
 background-image:none!important;
 border-top-color:transparent!important;
 border-bottom-color:transparent!important;
}
body.engitech.home #content section.ld-home-growth {
 background-image:radial-gradient(ellipse 65% 42% at 76% 49%,rgba(0,190,205,.16),transparent 78%),radial-gradient(ellipse 55% 40% at 18% 55%,rgba(25,92,145,.15),transparent 78%)!important;
 padding-top:90px;padding-bottom:90px;
}
body.engitech.home #content :is(.ld-service-card,.ld-system-panel,.ld-home-cta-panel) {
 background:linear-gradient(145deg,#10334E 0%,#09273E 55%,#072238 100%)!important;
 border-color:rgba(92,181,205,.17)!important;
 box-shadow:0 18px 45px -24px rgba(0,0,0,.65),inset 0 1px 0 rgba(215,251,255,.05);
}
body.engitech.home .ld-growth-panel {
 border-color:rgba(92,181,205,.22);
 box-shadow:0 28px 65px -28px rgba(0,0,0,.75),0 6px 18px -10px rgba(0,0,0,.35);
}
body.engitech.home #content .ld-growth-panel .ld-service-card {
 background:linear-gradient(155deg,#123650,#08243B)!important;
 box-shadow:inset 0 1px 0 rgba(215,251,255,.06);
}
body.engitech.home .ld-service-photo {box-shadow:0 24px 55px -28px rgba(0,0,0,.7);}
@media(max-width:767px){
 body.engitech.home #content section.ld-home-growth {background-image:radial-gradient(ellipse 100% 42% at 60% 50%,rgba(0,190,205,.11),transparent 80%)!important;}
}

/* Modern outlined wordmark: reserve its real width rather than overlap nav. */
body.engitech #site-header .logo-col {flex:0 0 290px;width:290px;max-width:290px;padding-right:24px;min-width:0;}
body.engitech #site-header .menu-col {flex:1 1 auto;min-width:0;width:auto;}
body.engitech #site-header .ld-logo,
body.engitech #site-footer .ld-logo {display:block;position:relative;width:266px;max-width:100%;height:auto;aspect-ratio:auto;}
body.engitech #site-header .ld-logo img,
body.engitech #site-footer .ld-logo img {position:static;display:block;width:100%;height:auto;max-width:100%;object-fit:contain;}
body.engitech #site-header .ld-logo::after {display:none!important;}
@media(min-width:1200px){body.engitech #site-header .main-navigation>ul>li {margin-left:8px;margin-right:8px;}}
@media(max-width:1199px){
 body.engitech #site-header .octf-main-header {display:none;}
 body.engitech #site-header .header_mobile {display:block;}
 body.engitech #site-header .mlogo_wrapper {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;}
 body.engitech #site-header .mobile_logo {float:none;min-width:0;flex:0 1 266px;}
 body.engitech #site-header #mmenu_toggle {flex:0 0 32px;float:none;margin:0;}
 body.engitech #site-header .mobile_logo .ld-logo {width:266px;max-width:100%;}
}
@media(max-width:374px){body.engitech #site-header .mobile_logo {flex-basis:224px;}body.engitech #site-header .mlogo_wrapper {gap:16px;}}

/* Modern Authority: consistent teal accents and cool photographic treatments. */
body.engitech #site-footer.footer-v2 {
 background:radial-gradient(ellipse 65% 75% at 15% 0,rgba(0,212,218,.09),transparent 75%),linear-gradient(180deg,#061C31,#041426)!important;
}
body.engitech .ld-cost-card {
 background:radial-gradient(ellipse at 100% 100%,rgba(0,212,218,.16),transparent 65%),linear-gradient(145deg,#0B2943,#041426)!important;
 border-color:rgba(0,212,218,.24);
}
body.engitech .ld-cost-card .ld-cost-value {color:#00D4DA;text-shadow:none;}
body.engitech .ld-cost-card .ld-cost-button {background:#00D4DA;border-color:#00D4DA;color:#041426;}
body.engitech .ld-cost-card .ld-cost-button:hover {background:#62EDF0;color:#041426;}
body.engitech :is(.ld-service-photo,.ld-growth-image,.ld-strategy-photo) img {filter:saturate(.65) contrast(1.04);}
body.engitech :is(.ld-service-photo,.ld-strategy-photo)::after {background:linear-gradient(180deg,rgba(4,20,38,.04) 30%,rgba(4,20,38,.92))!important;}
body.engitech .ld-growth-image::after {background:linear-gradient(180deg,rgba(0,110,135,.05) 25%,rgba(4,20,38,.7))!important;}
body.engitech .ld-home-cta-panel::before,body.engitech .ld-home-cta-panel::after {color:#00D4DA;border-color:rgba(0,212,218,.18);}

/* Match hover dropdown behavior when navigating with a keyboard. */
@media(min-width:1200px){
 body.engitech #site-navigation li:focus-within>ul {
  visibility:visible;opacity:1;transform:translateY(0);transition:none;
 }
}

/* Keep one full package column visible beside sticky labels on small phones. */
@media(max-width:374px){
 body.engitech #content .ld-package-table,
 body.engitech.page-id-186 #marketing-packages .ld-packages {min-width:748px;}
 body.engitech #content .ld-package-table tr>:first-child:not([colspan]),
 body.engitech.page-id-186 #marketing-packages .ld-packages tr>:first-child:not([colspan]) {
  width:128px!important;min-width:128px!important;max-width:128px!important;
 }
}
