/* EGSsystem responsive refinements – scoped to tablet and phone to preserve desktop. */
@media (max-width: 920px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: clip; }
  .container { width: min(100% - 32px, 760px) !important; margin-inline: auto; }
  .topbar__wrap { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding: 5px 0 !important; }
  .topbar__notice { padding: 0 !important; margin: 0 !important; max-width: none !important; white-space: normal !important; font-size: 11px; text-align: left !important; line-height: 1.35; }
  .topbar__info { margin-left: auto; font-size: 12px; flex-shrink: 0; }
  .topbar__info a[href^="mailto:"] { overflow-wrap: anywhere; }
  .nav-shell { position: relative; overflow: visible !important; }
  .nav-shell__wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto !important; gap: 10px !important; min-height: 70px; padding: 9px 0; align-items: center; }
  .site-branding { width: auto !important; min-width: 0; max-width: 100%; height: auto !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
  .site-logo { max-width: 100%; }
  .site-logo a, .site-logo--default, .custom-logo-link { padding: 0 !important; background: transparent !important; }
  .site-logo img, .custom-logo { height: auto !important; max-height: 44px !important; max-width: min(100%, 240px) !important; width: auto !important; object-fit: contain; }
  .menu-toggle { display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 8px 11px !important; font-weight: 700; cursor: pointer; grid-column: 3; grid-row: 1; }
  .menu-toggle__icon { font-size: 22px; line-height: 1; }
  .menu-toggle__text { font-size: 12px; }
  .header-tools { display: flex !important; justify-self: end !important; grid-column: 2; grid-row: 1; min-width: 0; margin: 0 !important; gap: 4px; }
  .lang-switcher { font-size: 13px; gap: 5px; }
  .lang-switcher a { display: inline-flex; min-width: 23px; min-height: 40px; align-items: center; justify-content: center; }
  .header-search { display: none !important; }
  .main-nav { position: absolute !important; z-index: 200 !important; top: 100% !important; left: 0 !important; right: 0 !important; max-height: min(74dvh, 610px); overflow-y: auto !important; overscroll-behavior: contain; display: none !important; padding: 10px 16px 18px !important; background: #0d1b3d !important; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 15px 25px rgba(9,22,45,.3); }
  .main-nav.is-open { display: block !important; }
  .main-nav .menu { display: flex !important; flex-direction: column !important; align-items: stretch !important; flex-wrap: nowrap !important; gap: 3px !important; }
  .main-nav li { width: 100%; }
  .main-nav a { display: flex !important; width: 100% !important; white-space: normal !important; overflow-wrap: anywhere !important; min-height: 46px !important; font-size: 15px !important; padding: 11px 12px !important; }
  .main-nav .sub-menu { position: static !important; min-width: 0 !important; max-width: 100% !important; padding: 5px 0 5px 12px !important; margin: 2px 0 8px !important; border: 0 !important; background: rgba(255,255,255,.07) !important; box-shadow: none !important; border-radius: 12px !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
  .main-nav .sub-menu a { color: #fff !important; font-weight: 600 !important; }
  .main-nav .menu-item-has-children:not(.is-open) > .sub-menu { display: none !important; }
  .main-nav .menu-item-has-children.is-open > .sub-menu { display: block !important; }
  .hero-section { padding: 28px 0 40px !important; }
  .hero-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 23px !important; }
  .hero-copy, .hero-panel { min-width: 0; }
  .hero-copy h1 { max-width: 100% !important; font-size: clamp(28px, 5.7vw, 37px) !important; line-height: 1.13 !important; margin: 12px 0 13px; overflow-wrap: anywhere; }
  .hero-copy .hero-eyebrow { font-size: 12px !important; line-height: 1.5; letter-spacing: .08em !important; }
  .hero-copy p { font-size: 15px !important; line-height: 1.6 !important; }
  .hero-summary-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 17px; }
  .hero-summary-list span { width: 100% !important; display: flex; justify-content: center; text-align: center; min-height: 43px; padding: 7px 10px !important; font-size: 12px !important; line-height: 1.35; }
  .hero-slider, .hero-showcase { width: 100%; min-width: 0; }
  .hero-image-card { aspect-ratio: 16/10 !important; }
  .hero-showcase__meta { padding: 12px 16px 14px !important; }
  .hero-showcase__meta h3 { font-size: clamp(18px, 4.6vw, 24px) !important; line-height: 1.25 !important; }
  .hero-slider__nav { width: 38px !important; height: 38px !important; opacity: 1 !important; top: 38%; }
  .hero-slider__nav--prev { left: 8px !important; }
  .hero-slider__nav--next { right: 8px !important; }
  .trust-strip { margin-top: -10px; }
  .trust-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .trust-strip__grid > div { padding: 14px 10px; }
  .trust-strip strong { font-size: 15px !important; line-height: 1.25; }
  .trust-strip span { font-size: 12px !important; line-height: 1.4; display: block; }
  .services-grid, .sector-grid, .steps-grid, .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
  .section-block { padding: 46px 0 !important; }
  .section-head h2 { font-size: clamp(24px, 4.7vw, 30px) !important; }
  .section-head p { font-size: 15px; }
  .service-card__inner, .sector-card, .step-item, .post-card, .content-surface { padding: 19px; }
  .service-card h3, .sector-card h3 { font-size: 19px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px; padding: 38px 0; }
  .footer-brand h2 { max-width: 100% !important; }
  .footer-col, .footer-brand { min-width: 0; overflow-wrap: anywhere; }
  .cta-band__wrap { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 18px; }
  .cta-band__copy h2 { max-width: 100%; font-size: clamp(24px, 4vw, 30px) !important; }
  .egs-local-links a { color:#133566; font-weight:700; text-decoration: underline; text-underline-offset: 3px; }
  .page-hero { padding: 36px 0 25px !important; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 28px) !important; }
  .topbar__notice { font-size: 10px; }
  .topbar__info { display: none; }
  .nav-shell__wrap { gap: 7px !important; min-height: 66px; }
  .site-logo img, .custom-logo { max-width: min(100%, 190px) !important; max-height: 40px !important; }
  .menu-toggle__text { display: none; }
  .menu-toggle { min-width: 43px; }
  .hero-section { padding: 25px 0 36px !important; }
  .hero-copy h1 { font-size: clamp(27px, 7.1vw, 34px) !important; }
  .hero-summary-list span { min-height: 40px; font-size: 11px !important; }
  .trust-strip__grid { grid-template-columns: 1fr !important; }
  .trust-strip__grid > div { padding: 12px 17px; }
  .trust-strip strong { display: inline; font-size: 15px !important; margin: 0 8px 0 0; }
  .trust-strip span { display: inline; font-size: 13px !important; }
  .trust-strip__grid > div + div { border-top: 1px solid rgba(15,23,42,.08); }
  .services-grid, .sector-grid, .steps-grid, .posts-grid { grid-template-columns: minmax(0,1fr) !important; gap: 16px; }
  .service-card__inner, .sector-card, .step-item, .post-card, .content-surface { padding: 17px; }
  .service-card h3, .sector-card h3 { font-size: 21px; }
  .footer-top { grid-template-columns: minmax(0,1fr) !important; gap: 27px; }
  .footer-bottom__wrap { justify-content: center !important; text-align: center; align-items: center !important; }
  .footer-bottom__logo { justify-content: center; }
  .cta-band__copy h2 { font-size: 25px !important; }
  .section-block { padding: 39px 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__nav, .main-nav .sub-menu { transition: none !important; }
}
