/* GDE site styles for the hand-built pages (services, insights articles), the merged footer
   and the Services dropdown. Colours and fonts match the existing Elementor design. */
:root{--gd-navy:#203556;--gd-navy-2:#2c4a78;--gd-text:#474F72;--gd-line:#e3e7ee;--gd-soft:#f4f6f9}

/* Page shell */
.gd-page{padding:64px 20px 100px;background:#fff;font-family:"Inter",sans-serif;color:var(--gd-text)}
.gd-wrap{max-width:1200px;margin:0 auto}
.gd-bc{font-size:14px;margin:0 0 28px;color:#7a819c}
.gd-bc a{color:#7a819c;text-decoration:none}
.gd-bc a:hover{color:var(--gd-navy);text-decoration:underline}
.gd-bc span[aria-hidden]{margin:0 8px}
.gd-eyebrow{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--gd-navy-2);margin:0 0 14px}
.gd-h1{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:clamp(36px,5.6vw,68px);line-height:1.05;letter-spacing:-0.03em;color:var(--gd-navy);margin:0 0 22px;max-width:1000px}
.gd-lead{font-size:20px;line-height:1.6;color:var(--gd-text);max-width:820px;margin:0 0 30px;text-align:justify;-webkit-hyphens:auto;hyphens:auto}
.gd-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 8px}
.gd-btn{display:inline-block;padding:14px 26px;border-radius:2px;font-weight:600;font-size:15px;letter-spacing:.02em;text-decoration:none;border:2px solid var(--gd-navy);transition:background .2s,color .2s}
.gd-btn--fill{background:var(--gd-navy);color:#fff}
.gd-btn--fill:hover{background:var(--gd-navy-2);border-color:var(--gd-navy-2);color:#fff}
.gd-btn--line{background:transparent;color:var(--gd-navy)}
.gd-btn--line:hover{background:var(--gd-navy);color:#fff}

/* Content sections (body text justified, like the rest of the site) */
.gd-sec{margin-top:64px;padding-top:48px;border-top:1px solid var(--gd-line)}
.gd-sec h2{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-0.01em;color:var(--gd-navy);margin:0 0 18px}
.gd-sec h3{font-family:"Inter",sans-serif;font-weight:600;font-size:19px;line-height:1.35;color:var(--gd-navy);margin:0 0 8px}
.gd-sec p,.gd-article p{font-size:17px;line-height:28px;color:var(--gd-text);margin:0 0 16px;max-width:860px;text-align:justify;-webkit-hyphens:auto;hyphens:auto}
.gd-sec ul.gd-list{margin:0 0 16px;padding:0;list-style:none;max-width:860px}
.gd-sec ul.gd-list li{position:relative;padding:0 0 0 30px;margin:0 0 10px;font-size:17px;line-height:27px}
/* Same navy tick as the site's other lists (Font Awesome check) */
.gd-sec ul.gd-list li:before{content:"\f00c";font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;left:0;top:0;font-size:14px;line-height:27px;color:var(--gd-navy)}
.gd-sec ul.gd-list strong{color:var(--gd-navy);font-weight:600}
.gd-sec a,.gd-article a{color:var(--gd-navy);text-decoration:underline;text-underline-offset:2px}
.gd-sec a:hover,.gd-article a:hover{color:var(--gd-navy-2)}

/* Card grid */
.gd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin-top:8px}
.gd-card{display:block;padding:26px 24px;border:1px solid var(--gd-line);background:#fff;text-decoration:none !important;transition:border-color .2s,box-shadow .2s,transform .2s}
.gd-card:hover{border-color:var(--gd-navy);box-shadow:0 8px 24px rgba(32,53,86,.08);transform:translateY(-2px)}
.gd-card h3{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:20px;color:var(--gd-navy);margin:0 0 10px}
.gd-sec .gd-card p,.gd-card p{font-size:15px;line-height:24px;color:var(--gd-text);margin:0 0 14px;text-align:left;-webkit-hyphens:manual;hyphens:manual}
.gd-card .gd-more{font-size:14px;font-weight:600;color:var(--gd-navy)}
.gd-card .gd-more:after{content:" \2192"}

/* Steps */
.gd-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;counter-reset:step;margin-top:8px}
.gd-step{padding:22px 20px;background:var(--gd-soft);border-top:3px solid var(--gd-navy)}
.gd-step:before{counter-increment:step;content:counter(step,decimal-leading-zero);display:block;font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:28px;color:var(--gd-navy);margin:0 0 8px}
.gd-sec .gd-step p{font-size:15px;line-height:24px;margin:0;text-align:left;-webkit-hyphens:manual;hyphens:manual}

/* Standards chips */
.gd-chips{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 0;padding:0;list-style:none}
.gd-chips li{padding:8px 14px;border:1px solid var(--gd-line);background:var(--gd-soft);font-size:14px;color:var(--gd-navy);font-weight:500}

/* FAQ */
.gd-faq{max-width:860px;border-top:1px solid var(--gd-line)}
.gd-faq details{border-bottom:1px solid var(--gd-line)}
.gd-faq summary{cursor:pointer;list-style:none;padding:18px 40px 18px 0;position:relative;font-size:18px;line-height:1.45;color:var(--gd-navy);font-weight:500}
.gd-faq summary::-webkit-details-marker{display:none}
.gd-faq summary:after{content:"+";position:absolute;right:6px;top:14px;font-size:24px;color:var(--gd-navy)}
.gd-faq details[open] summary:after{content:"\2212"}
.gd-faq details p{margin:0 0 18px}

/* Closing "Request a Quote" link (same style as the original Insights page) */
.gd-cta-link{margin:56px 0 0;font-family:"Inter",sans-serif}
.gd-cta-link a{font-size:15px;font-weight:600;letter-spacing:.02em;color:var(--gd-navy);text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:1px}
.gd-cta-link a:after{content:" \2192"}
.gd-cta-link a:hover{color:var(--gd-navy-2)}

/* Articles */
.gd-article{max-width:860px}

/* Insights hub list */
.gd-ilist{list-style:none;margin:0;padding:0;max-width:860px;border-top:1px solid var(--gd-line)}
.gd-ilist li{border-bottom:1px solid var(--gd-line)}
.gd-ilist a{display:block;padding:24px 40px 24px 0;position:relative;text-decoration:none !important}
.gd-ilist a:after{content:"\2192";position:absolute;right:6px;top:24px;color:var(--gd-navy);opacity:.6;font-size:20px}
.gd-ilist .gd-tag{display:block;font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--gd-navy-2);margin:0 0 6px}
.gd-ilist .gd-q{display:block;font-size:22px;line-height:1.35;color:var(--gd-navy);margin:0 0 8px}
.gd-ilist .gd-x{display:block;font-size:16px;line-height:25px;color:var(--gd-text)}
.gd-ilist a:hover .gd-q{text-decoration:underline}

/* Project page add-on (related services under the project text) */
.gd-proj-extra{max-width:1200px;margin:0 auto;padding:10px 20px 80px;font-family:"Inter",sans-serif}
.gd-proj-extra .gd-sec{margin-top:40px}

/* Home page "how we work" steps: justified paragraphs */
.elementor-element-3b7952f p,.elementor-element-86accc5 p,.elementor-element-622dfa6 p,.elementor-element-c30bbb5 p{text-align:justify;-webkit-hyphens:auto;hyphens:auto}
/* Scripts are delayed until the visitor's first scroll/touch (see _build/speed.ps1). Until then,
   show content Elementor would hide for its entrance animations, and show the first slide of
   every Prime Slider at its proper size */
.gd-js-wait .elementor-invisible{visibility:visible !important}
.bdt-prime-slider .bdt-slideshow-items:not(:has(> .bdt-active)) > li:first-child{display:flex}
.elementor-element-7642293 .bdt-slideshow-items{aspect-ratio:16/4;min-height:440px}

/* Home page hero slider, before its script has loaded: give it its height and show the first
   slide straight away, using the smaller hero image (the script takes over once it runs) */
.elementor-element-0ccb35f .bdt-slideshow-items{aspect-ratio:16/9;min-height:480px}
.elementor-element-0ccb35f .bdt-slideshow-items:not(:has(> .bdt-active)) > li:first-child{display:flex}
.elementor-element-0ccb35f .elementor-repeater-item-d99d0a3 .bdt-ps-slide-img{background-image:url("/images/hero/gears-768.jpg") !important}
@media (min-width:768px){.elementor-element-0ccb35f .elementor-repeater-item-d99d0a3 .bdt-ps-slide-img{background-image:url("/images/hero/gears-1600.jpg") !important}}

/* Home page hero slider: it sized itself 16:9 from the screen width, so on wide screens it ran
   below the fold and hid its arrows and dots. Cap it at one screen under the header
   (--gd-hdr is measured by a small script on the home page). Phones are unchanged. */
@media (min-width:768px){
.elementor-element-c215d52.e-con{min-height:0 !important;--min-height:0px}
.elementor-element-0ccb35f .bdt-slideshow-items{aspect-ratio:auto !important;height:min(calc(100vw * 9 / 16), calc(100vh - var(--gd-hdr, 158px))) !important;min-height:480px !important}
}

/* Merged footer: Services | Location | Company in the one dark block */
.gd-footmerge > .e-con-inner{align-items:flex-start !important;justify-content:center;padding-top:72px;padding-bottom:72px;gap:24px}
.gd-footmerge .gd-fcol,.gd-footmerge .elementor-element-f752065.e-con{flex:1 1 0 !important;min-width:0;width:auto !important;--width:auto}
.gd-footmerge .gd-fcol--services{order:1}
.gd-footmerge .gd-fcol--company{order:3}
/* Each column's content is one left-aligned block, and that block is centred in its column
   (a single auto-width grid track, centred) */
.gd-footmerge .elementor-element-f752065.e-con{order:2;display:grid !important;justify-content:center;align-content:start;align-self:flex-start !important;row-gap:22px;padding-top:12px !important}
.gd-footmerge .elementor-element-d99d1c3{position:absolute;top:0;left:0}
.gd-footmerge .elementor-element-607be79,.gd-footmerge .elementor-element-607be79 .elementor-heading-title{text-align:left !important}
.gd-footmerge .elementor-element-f50d820{--container-widget-width:auto !important;width:auto !important;max-width:none !important;align-self:auto !important}
.gd-footmerge .elementor-element-f50d820 .elementor-icon-list-items,.gd-footmerge .elementor-element-f50d820 .elementor-icon-list-item,.gd-footmerge .elementor-element-f50d820 .elementor-icon-list-item>a{justify-content:flex-start !important;text-align:left !important}
.gd-fcol{position:relative;z-index:1;display:grid;justify-content:center;align-content:start;text-align:left;padding-top:10px;font-family:"Inter",sans-serif}
.gd-fcol .gd-fh{font-family:"Inter",sans-serif;font-size:20px;font-weight:700;line-height:1.2;color:#fff;margin:0 0 20px}
.gd-fcol ul{list-style:none;margin:0;padding:0}
.gd-fcol li{margin:0}
.gd-fcol a{color:#fff;text-decoration:none;font-size:17px;line-height:28px;font-weight:400}
.gd-fcol a:hover{text-decoration:underline;text-underline-offset:4px}
@media (max-width:767px){
.gd-footmerge > .e-con-inner{flex-direction:column !important;align-items:stretch !important;gap:28px;padding-top:40px;padding-bottom:48px}
.gd-footmerge .gd-fcol{padding-top:0}
/* Stacked on phones: all three blocks share one left edge */
.gd-footmerge .gd-fcol,.gd-footmerge .elementor-element-f752065.e-con{justify-content:start !important;padding-left:32px !important;padding-right:16px !important}
.gd-footmerge .elementor-element-f752065.e-con{min-height:0 !important;--min-height:0px}
.gd-footmerge .gd-fcol,.gd-footmerge .elementor-element-f752065.e-con{flex:none !important;width:100% !important}
.gd-footmerge .elementor-element-f752065{order:0}
}

/* Services dropdown: no arrow on the desktop menu, dark panel to match the header */
.elementor-nav-menu--main .menu-item-368 > a .sub-arrow{display:none !important}
.elementor-nav-menu--main .menu-item-368 > ul.sub-menu{background:linear-gradient(160deg,#0A0A0A 0%,#0d2438 100%) !important;border:1px solid rgba(255,255,255,.1) !important;box-shadow:0 18px 40px rgba(0,0,0,.35);padding:10px 0 !important;min-width:270px !important}
.elementor-nav-menu--main .menu-item-368 > ul.sub-menu a.elementor-sub-item{font-family:"Space Grotesk",sans-serif !important;font-weight:600 !important;font-size:15px !important;line-height:1.3;color:#fff !important;background:transparent !important;padding:12px 26px !important;border:0 !important}
.elementor-nav-menu--main .menu-item-368 > ul.sub-menu a.elementor-sub-item:hover,
.elementor-nav-menu--main .menu-item-368 > ul.sub-menu a.elementor-sub-item:focus,
.elementor-nav-menu--main .menu-item-368 > ul.sub-menu a.elementor-sub-item.elementor-item-active{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
/* Phone and tablet menu: service links styled like the other menu items, indented */
.elementor-nav-menu--dropdown .menu-item-368 > ul.sub-menu a.elementor-sub-item{font-family:"Space Grotesk",sans-serif !important;font-weight:600 !important;font-size:15px !important;padding-left:40px !important}

@media (max-width:767px){
.gd-page{padding:40px 16px 80px}
.gd-lead{font-size:18px}
.gd-sec{margin-top:44px;padding-top:36px}
.gd-sec p,.gd-article p,.gd-sec ul.gd-list li{font-size:16px;line-height:26px}
/* Phone columns are too narrow for justified text (big gaps between words), so align left there */
.gd-lead,.gd-sec p,.gd-article p{text-align:left}
.elementor-element-3b7952f p,.elementor-element-86accc5 p,.elementor-element-622dfa6 p,.elementor-element-c30bbb5 p{text-align:left}
.gd-sec ul.gd-list li:before{line-height:26px}
.gd-ilist .gd-q{font-size:19px}
.gd-faq summary{font-size:17px}
}
