/* Presentation only. All rules are disabled on the academy and training route. */
html.dgsl-premium { scroll-padding-top: 110px; }
html.dgsl-premium body { text-rendering: optimizeLegibility !important; -webkit-font-smoothing: antialiased; }
html.dgsl-premium .container { width: calc(100% - 64px); max-width: 1280px; }
html.dgsl-premium :is(.h1-title,.h2-title,.h3-title,.h4-title) { letter-spacing: -.035em; text-wrap: balance; }
html.dgsl-premium .h2-title { font-size: clamp(30px,3.3vw,48px); line-height: 1.15; margin-bottom: 24px; }
html.dgsl-premium p { line-height: 1.85; }
html.dgsl-premium .sub-title { font-size: 12px; letter-spacing: .14em; line-height: 1.6; margin-bottom: 18px; }
html.dgsl-premium .sec-title { margin-bottom: 36px; }
html.dgsl-premium .sec-btn { min-height: 50px; padding: 18px 26px; font-size: 12px; letter-spacing: .075em; border-radius: 4px; gap: 16px; transition: background .2s, color .2s, transform .2s; }
html.dgsl-premium .sec-btn:hover { transform: translateY(-2px); }
html.dgsl-premium :is(a,button,input,textarea,select):focus-visible { outline: 2px solid var(--secondary-color) !important; outline-offset: 5px; }
html.dgsl-premium .site-header { --top-header: 54px; --main-header: 88px; }
html.dgsl-premium .top-hader-main-box { gap: 24px; }
html.dgsl-premium .top-hader-main-box > p, html.dgsl-premium .header-social { font-size: 12px; }
html.dgsl-premium .header-iso-logos { gap: 16px; }
html.dgsl-premium .header-iso-logos img { max-width: 124px; height: auto; }
html.dgsl-premium .header-mobile-menu { gap: 26px; }
html.dgsl-premium .main-navigation ul.main-menu { gap: 28px; }
html.dgsl-premium .main-navigation ul.main-menu > li > a { font-size: 13px; font-weight: 500; }
html.dgsl-premium .site-branding img { width: 166px; height: auto; max-width: 100%; }
html.dgsl-premium .main-menu .sub-menu { border-radius: 8px; }
html.dgsl-premium :is(.bh-mega-panel,.mega-services-panel) { border-radius: 8px; }
html.dgsl-premium .main-navigation ul.main-menu > li:focus-within > ul.sub-menu { display: block; top: 100%; opacity: 1; visibility: visible; }
/* Keep the original photographic overlay behind, rather than above, the copy. */
html.dgsl-premium .main-banner-2::before { z-index: 0; }
html.dgsl-premium .main-banner-2 .swiper-slide-inner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(10,12,18,.62) 0%,rgba(10,12,18,.42) 28%,rgba(10,12,18,.16) 52%,rgba(10,12,18,0) 72%); pointer-events: none; }
html.dgsl-premium .main-banner-2 .main-banner-slider { height: clamp(620px,76vh,860px); min-height: 620px; aspect-ratio: auto; }
html.dgsl-premium .main-banner-2 .swiper-slide-inner { position: relative; }
html.dgsl-premium .banner-content-2-wp { justify-content: center; padding: 180px 0 90px; }
html.dgsl-premium .banner-content-2-box { flex: 0; max-width: 800px; }
html.dgsl-premium .banner-content-2 .h1-title { font-size: clamp(42px,5.5vw,78px); line-height: 1.06; letter-spacing: -.045em; max-width: 17ch; margin-bottom: 26px; }
html.dgsl-premium .banner-content-2 p { max-width: 460px; font-size: clamp(16px,1.3vw,19px); margin-bottom: 32px; }
html.dgsl-premium .banner-eyebrow { font-size: 11px; letter-spacing: .17em; margin-bottom: 24px; }
html.dgsl-premium .banner-btn { display: flex; flex-wrap: wrap; gap: 12px; }
html.dgsl-premium .site-main > section:not(:is(.main-banner-2,.inner-banner)) { padding-top: clamp(64px,7.5vw,112px); padding-bottom: clamp(64px,7.5vw,112px); }
html.dgsl-premium .why-choose .row { --bs-gutter-x: 56px; }
html.dgsl-premium :is(.why-choose-image,.about-us-image,.services-image,.portfolio-box,.work-box,.testimonial-box,.pricing-box,.about-detail-timeline-item) { border-radius: 8px; }
html.dgsl-premium .why-choose-content ul li { margin-bottom: 18px; }
html.dgsl-premium .why-choose-content .sec-btn { margin-top: 24px; }
html.dgsl-premium .services-page { gap: 24px; }
html.dgsl-premium .services-box { border-radius: 8px; --box-padding: 24px; box-shadow: 0 12px 28px -18px rgba(0,0,0,.22); }
html.dgsl-premium .services-box:hover { transform: translateY(-5px); }
html.dgsl-premium .services-image { border-radius: 0; }
html.dgsl-premium .services-box-content { padding: 26px var(--box-padding); }
html.dgsl-premium .services-box-content .h4-title { font-size: 20px; line-height: 1.35; }
/* Display full existing descriptions; avoid the original three-line truncation. */
html.dgsl-premium .services-box-content p { display: block; max-height: none; overflow: visible; font-size: 14px; line-height: 1.75; }
html.dgsl-premium .services-box-content .sec-btn { padding: 16px; min-height: 48px; }
html.dgsl-premium .services-slider { padding-bottom: 48px; }
html.dgsl-premium .work-box { padding: 32px; height: 100%; }
html.dgsl-premium .work-box > span { font-size: 48px; line-height: 1; letter-spacing: -.06em; margin-bottom: 24px; }
html.dgsl-premium .work-box .h4-title { font-size: 23px; line-height: 1.3; }
html.dgsl-premium .testimonial-box { padding: 32px; }
html.dgsl-premium .faq-accordion { max-width: 100%; }
html.dgsl-premium .home2-faq .faq-image .back-img {
  background-image: url('/assets/images/faq-engineer-blended.png') !important;
  background-position: center;
}
html.dgsl-premium .inner-banner .h1-title { font-size: clamp(36px,4.6vw,64px); line-height: 1.12; }
html.dgsl-premium .inner-banner-breadcrumb ul { flex-wrap: wrap; height: auto; min-height: 48px; padding-block: 12px; }
html.dgsl-premium :is(input:not([type=checkbox]):not([type=radio]),textarea,select) { border-radius: 4px; max-width: 100%; }
html.dgsl-premium textarea { min-height: 160px; }
html.dgsl-premium .app-footer { padding: 72px 0 28px; }
html.dgsl-premium .app-footer .footer-grid { grid-template-columns: 1.5fr .8fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 40px; }
html.dgsl-premium .app-footer .footer-col-title { font-size: 11px; letter-spacing: .14em; }
html.dgsl-premium .app-footer .footer-links-list { gap: 12px; }
html.dgsl-premium .app-footer .footer-bottom { padding-top: 24px; }
@media (min-width:992px) and (max-width:1199px) {
  html.dgsl-premium .container { width: calc(100% - 48px); }
  html.dgsl-premium .header-iso-logos img { max-width: 100px; }
  html.dgsl-premium .main-navigation ul.main-menu { gap: 18px; }
  html.dgsl-premium .header-mobile-menu { gap: 18px; }
  html.dgsl-premium .header-cta .sec-btn { padding: 16px; }
  html.dgsl-premium .services-page { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:991px) {
  html.dgsl-premium .container { width: calc(100% - 40px); }
  html.dgsl-premium .site-header { --main-header: 76px; --top-header: 54px; }
  html.dgsl-premium .header-top .top-hader-main-box { height: auto; min-height: 54px; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
  html.dgsl-premium .header-iso-logos img { max-width: 94px; }
  html.dgsl-premium .main-navigation .header-mobile-menu { width: min(380px,calc(100vw - 32px)); height: 100dvh; max-height: 100dvh; padding: 96px 0 32px; text-align: left; overscroll-behavior: contain; }
  html.dgsl-premium .main-navigation ul.main-menu > li { padding: 14px 24px; }
  html.dgsl-premium .main-navigation ul.main-menu > li > a { font-size: 16px; min-height: 44px; width: 100%; }
  html.dgsl-premium .main-navigation .header-cta { padding: 24px; flex-wrap: wrap; }
  html.dgsl-premium .main-menu .sub-menu.mega-services-submenu { width: 100%; left: 0; transform: none; }
  html.dgsl-premium .bh-mega-content-head, html.dgsl-premium .bh-mega-content-foot { flex-wrap: wrap; }
  html.dgsl-premium .bh-mega-view-service { white-space: normal; }
  html.dgsl-premium .bh-mega-sub-link { font-size: 14px; line-height: 1.5; }
  /* The template's hamburger animation also targeted service button labels. */
  html.dgsl-premium .main-navigation.toggle-menu .bh-mega-cat span { transform: none; top: auto; opacity: 1; }
  html.dgsl-premium .bh-mega-cat { min-height: 48px; white-space: normal; }
  html.dgsl-premium .banner-content-2-wp { padding: 160px 0 72px; }
  html.dgsl-premium .main-banner-2 .main-banner-slider { height: 640px; min-height: 640px; }
  html.dgsl-premium .why-choose-content { margin-top: 36px; }
  html.dgsl-premium .services-page { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html.dgsl-premium .app-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media (max-width:575px) {
  html.dgsl-premium .container { width: calc(100% - 32px); }
  html.dgsl-premium .header-top .top-hader-main-box { padding: 8px 0; gap: 7px; }
  html.dgsl-premium .top-hader-main-box > p { width: 100%; text-align: center; font-size: 11px; }
  html.dgsl-premium .header-iso-logos { gap: 12px; }
  html.dgsl-premium .header-social { flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 10px; }
  html.dgsl-premium .header-social li { margin: 0; padding: 0; }
  html.dgsl-premium .site-branding img { width: 148px; }
  html.dgsl-premium .main-banner-2 .main-banner-slider { height: 700px; min-height: 700px; }
  html.dgsl-premium .banner-content-2-wp { padding: 240px 0 76px; justify-content: center; }
  html.dgsl-premium .banner-content-2 .h1-title { font-size: clamp(34px,10.5vw,54px); max-width: 17ch; margin-bottom: 22px; }
  html.dgsl-premium .banner-content-2 p { font-size: 16px; max-width: 32ch; }
  html.dgsl-premium .banner-btn .sec-btn { padding: 16px 18px; font-size: 11px; gap: 10px; }
  html.dgsl-premium .banner-eyebrow { font-size: 10px; letter-spacing: .12em; }
  html.dgsl-premium .main-banner-2 .banner-pagination { bottom: 24px; }
  html.dgsl-premium .services-page { grid-template-columns: minmax(0,1fr); gap: 20px; }
  html.dgsl-premium .why-choose .row { --bs-gutter-x: 24px; }
  html.dgsl-premium .work-box { margin-bottom: 24px; padding: 28px 24px; height: auto; }
  html.dgsl-premium .testimonial-box { padding: 24px; }
  html.dgsl-premium .inner-banner-content-wp { padding-top: 240px; }
  html.dgsl-premium .inner-banner-breadcrumb ul { min-width: 0; max-width: 100%; }
  html.dgsl-premium .app-footer .footer-grid { grid-template-columns: minmax(0,1fr); }
  html.dgsl-premium .app-footer .footer-top-bar { gap: 24px; }
  html.dgsl-premium .app-footer .footer-bottom { align-items: flex-start; flex-direction: column; }
  html.dgsl-premium .app-footer :is(.footer-ci-value,.footer-cq-item) { overflow-wrap: anywhere; }
}
/* Preserve visibility on every main-site route, including content mounted after
   the legacy reveal script initialized. Training never receives this class. */
html.dgsl-premium .site-main .wow {
  visibility: visible !important; opacity: 1 !important;
  animation: none !important; transform: none !important;
}
html.dgsl-premium .site-main > :is(.about-us,.we-are-global,.our-portfolio-01,.blog-listing,.contact-offices,.error-404,.join-us,.blog-section) { margin-block: 0; }
html.dgsl-premium .about-us > .container > .row { align-items: center; --bs-gutter-x: 48px; }
html.dgsl-premium .about-us-content { margin: 0; }
html.dgsl-premium .about-images { margin: 0; }
html.dgsl-premium :is(.about-top-image,.about-bottom-image) { border-radius: 8px; }
html.dgsl-premium .join-us-content { border-radius: 8px; overflow: hidden; }
html.dgsl-premium .about-detail-timeline { gap: 20px; }
html.dgsl-premium .about-detail-timeline-item { padding: 28px; }
html.dgsl-premium .site-main > .how-we-work .row { --bs-gutter-y: 24px; }
html.dgsl-premium .main-contact-form { margin-bottom: 0; }
@media (max-width:991px) {
  html.dgsl-premium .about-us-content { margin-top: 36px; }
  html.dgsl-premium .site-main > .how-we-work .col-md-4 { width: 100%; }
  html.dgsl-premium .contact-offices .row { --bs-gutter-y: 24px; }
}
@media (max-width:575px) {
  html.dgsl-premium .about-us > .container > .row { --bs-gutter-x: 24px; }
  html.dgsl-premium .about-detail-timeline-item { padding: 24px; }
  html.dgsl-premium .main-contact-form { margin-bottom: 28px; }
}
/* Keep every original About overview block visible, including after SPA navigation.
   The legacy WOW reveal script can leave newly mounted content hidden. */
html.dgsl-premium.dgsl-about-overview .site-main .wow {
  visibility: visible !important; opacity: 1 !important;
  animation: none !important; transform: none !important;
}
/* Replace stacked template margins + new section padding with one spacing rhythm. */
html.dgsl-premium.dgsl-about-overview .about-us { margin: 0; }
html.dgsl-premium.dgsl-about-overview .about-us > .container > .row { align-items: center; --bs-gutter-x: 48px; }
html.dgsl-premium.dgsl-about-overview .about-us-content { margin: 0; }
html.dgsl-premium.dgsl-about-overview .about-images { margin: 0; }
html.dgsl-premium.dgsl-about-overview :is(.about-top-image,.about-bottom-image) { border-radius: 8px; }
html.dgsl-premium.dgsl-about-overview .engineer-list { display: grid; gap: 16px; margin-top: 28px; }
html.dgsl-premium.dgsl-about-overview .engineer-list-item {
  padding: 20px 0; margin: 0; gap: 20px;
  border-top: 1px solid rgba(24,26,37,.08);
}
html.dgsl-premium.dgsl-about-overview .engineer-list-content { min-width: 0; }
html.dgsl-premium.dgsl-about-overview .engineer-list-content .h4-title { margin-bottom: 10px; font-size: 23px; }
html.dgsl-premium.dgsl-about-overview #our-governance .row { --bs-gutter-y: 24px; }
html.dgsl-premium.dgsl-about-overview .join-us { margin: 0; }
html.dgsl-premium.dgsl-about-overview .join-us-content { border-radius: 8px; overflow: hidden; }
html.dgsl-premium.dgsl-about-overview #our-certifications .why-choose-content { margin-top: 0; }
@media (max-width:991px) {
  html.dgsl-premium.dgsl-about-overview .about-us-content { margin-top: 36px; }
  html.dgsl-premium.dgsl-about-overview #our-governance .col-md-4 { width: 100%; }
  html.dgsl-premium.dgsl-about-overview #our-certifications .why-choose-image-wp { margin-top: 36px; }
}
@media (max-width:575px) {
  html.dgsl-premium.dgsl-about-overview .about-us > .container > .row { --bs-gutter-x: 24px; }
  html.dgsl-premium.dgsl-about-overview .engineer-list-item { gap: 16px; align-items: flex-start; }
  html.dgsl-premium.dgsl-about-overview .engineer-list-icon { width: 56px; height: 56px; flex: 0 0 56px; }
  html.dgsl-premium.dgsl-about-overview .engineer-list-icon img { max-width: 30px; max-height: 36px; object-fit: contain; }
}
/* About mega menu: the existing six destinations in a spacious two-column panel. */
html.dgsl-premium .main-menu .sub-menu.mega-services-submenu.mega-about-submenu {
  width: min(740px,calc(100vw - 64px)); left: -220px; transform: none;
  white-space: normal; padding-top: 12px; border-radius: 10px;
}
html.dgsl-premium .mega-about-submenu .mega-services-panel {
  border-radius: 10px; overflow: hidden; box-shadow: 0 24px 55px rgba(0,0,0,.25);
}
html.dgsl-premium .mega-about-submenu .mega-about-links {
  grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; padding: 28px;
}
html.dgsl-premium .mega-about-submenu .mega-services-link {
  min-height: 88px; padding: 20px 16px;
  gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 4px;
}
html.dgsl-premium .mega-about-submenu .mega-services-link::before {
  content: none;
}
html.dgsl-premium .mega-about-submenu .mega-services-link::after {
  content: '\2197'; position: static; transform: none; margin-left: auto;
  color: var(--secondary-color); font-size: 20px; flex-shrink: 0;
}
html.dgsl-premium .mega-about-submenu .mega-services-link .svc-name {
  font-size: 14px; line-height: 1.5; font-weight: 500;
}
html.dgsl-premium .main-navigation ul li ul.sub-menu.mega-about-submenu .mega-services-link {
  display: flex; align-items: center; white-space: normal;
}
html.dgsl-premium .mega-about-submenu .mega-services-link > div { min-width: 0; }
html.dgsl-premium .mega-about-submenu .mega-services-link:focus-visible {
  outline-offset: -3px;
}
@media (max-width:991px) {
  html.dgsl-premium .main-menu .sub-menu.mega-services-submenu.mega-about-submenu {
    width: 100%; left: 0; padding-top: 12px;
  }
  html.dgsl-premium .mega-about-submenu .mega-about-links {
    grid-template-columns: minmax(0,1fr); padding: 12px; gap: 4px;
  }
  html.dgsl-premium .mega-about-submenu .mega-services-link { min-height: 64px; padding: 14px 10px; }
  html.dgsl-premium .mega-about-submenu .mega-services-panel { box-shadow: none; }
}
@media (prefers-reduced-motion:reduce) {
  html.dgsl-premium { scroll-behavior: auto; }
  html.dgsl-premium *, html.dgsl-premium *::before, html.dgsl-premium *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Process copy: one-line desktop headings and four complete sourcing lines. */
html.dgsl-premium .how-we-work .work-box { padding: 24px 12px; min-width: 0; }
html.dgsl-premium .how-we-work .work-box .h4-title { font-size: clamp(16px,1.55vw,20px); line-height: 1.35; letter-spacing: -.035em; text-wrap: nowrap; }
html.dgsl-premium .how-we-work .work-box p { font-size: clamp(11px,1.05vw,14px); line-height: 1.85; }
html.dgsl-premium .how-we-work .process-copy-line { display: block; white-space: nowrap; }
@media (max-width:991px) {
  html.dgsl-premium .how-we-work .row { --bs-gutter-y: 20px; }
  html.dgsl-premium .how-we-work .col-md-4 { width: 100%; }
  html.dgsl-premium .how-we-work .work-box { padding: 24px 12px; }
  html.dgsl-premium .how-we-work .work-box .h4-title { font-size: clamp(20px,4.5vw,24px); text-wrap: wrap; overflow-wrap: anywhere; }
  html.dgsl-premium .how-we-work .work-box p { font-size: 14px; }
  html.dgsl-premium .how-we-work .process-copy-line { display: inline; white-space: normal; }
}
html.dgsl-premium .how-we-work .work-box { max-width: none; }
html.dgsl-premium .how-we-work .work-box p .process-copy-line { font: inherit; color: inherit; line-height: inherit; background: none; -webkit-text-fill-color: currentColor; opacity: 1; }

/* Service carousel: side controls replace pagination dots. */
.services-slider .swiper-pagination { display: none !important; }
.dgsl-service-carousel { position: relative; margin-inline: 24px; }
.dgsl-service-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 48px; padding: 0; border: 0; border-radius: 4px; background: #f5aa00; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.dgsl-service-prev { left: -44px; }
.dgsl-service-next { right: -44px; }
.dgsl-service-arrow:hover { background: #17243b; }
.dgsl-service-arrow:focus-visible { outline: 3px solid #17243b; outline-offset: 3px; }
@media (max-width: 575px) {
  .dgsl-service-carousel { margin-inline: 20px; }
  .dgsl-service-arrow { width: 30px; height: 44px; }
  .dgsl-service-prev { left: -32px; }
  .dgsl-service-next { right: -32px; }
}
