/* Compact layout scoped to About; shared inner pages keep their own spacing. */
#about-us .ags-image-hero { min-height: 0; padding: 22px 0 56px; }
#about-us .ags-about-breadcrumb { margin-bottom: 22px; }
#about-us .ags-about-hero-grid { padding-top: 0; max-width: 820px; }
#about-us .ags-about-hero h1 { font-size: clamp(34px, 3.5vw, 50px); margin-bottom: 16px; }
#about-us p { line-height: 1.65; }
#about-us .ags-about-eyebrow { margin-bottom: 10px; }
#about-us .ags-about-lead { margin-bottom: 18px; font-size: 16px; }
#about-us .ags-about-explore { padding-bottom: 7px; gap: 18px; }
#about-us .ags-about-content { padding-bottom: 36px; }
.ags-home #about-us .ags-service-tabs.ags-about-tabs { margin: -22px 0 28px; box-shadow: 0 8px 24px rgb(21 39 66 / 7%); }
.ags-home #about-us .ags-about-tabs .ags-service-tab { padding: 16px 22px; gap: 14px; font-size: 18px; }
#about-us .ags-about-tab-number { font-size: 26px; }
#about-us h2, #about-us .ags-about-section>h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 18px; letter-spacing: -.6px; }
#about-us h3 { margin-bottom: 10px; }
#about-us h4 { margin: 16px 0 8px; }
#about-us .ags-about-intro .col-lg-7 { padding-right: 32px; }
#about-us .ags-about-intro p:not(.ags-about-eyebrow) { margin-bottom: 12px; }
#about-us .ags-about-intro-image { aspect-ratio: 1.55; max-height: 290px; border-radius: 8px 40px 8px 8px; box-shadow: 8px 8px 0 #f3eee4; }
#about-us .btn-brand-1 { padding: 12px 18px; margin-top: 4px; }
#about-us .ags-about-section { margin-top: 32px; }
#about-us .ags-about-section>p:not(.ags-about-eyebrow) { margin-bottom: 18px; }
#about-us .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
#about-us .ags-about-profile { padding: 22px; border-radius: 10px; }
#about-us .ags-about-monogram { width: 44px; height: 44px; font-size: 19px; margin-bottom: 12px; }
#about-us .ags-about-profile h3 { font-size: 23px; }
#about-us .ags-about-profile h4 { padding-top: 0; }
#about-us .ags-about-profile p { margin-bottom: 10px; }
#about-us .ags-about-profile .ags-about-role { padding-bottom: 12px; }
#about-us .ags-about-profile p:last-child { margin-bottom: 0; }
#about-us .ags-about-focus { margin-bottom: 0; }
#about-us .ags-about-focus li { padding: 12px 14px; gap: 12px; }
#about-us .ags-about-strengths { gap: 14px; }
#about-us .ags-about-strengths article { padding: 18px; }
#about-us .ags-about-strengths article::before { font-size: 22px; margin-bottom: 8px; }
#about-us .ags-about-strengths h3 { font-size: 18px; }
#about-us .ags-about-strengths p { margin-bottom: 0; }
#about-us section[aria-labelledby="customer-heading"] .ags-about-strengths { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#about-us section[aria-labelledby="featured-heading"]>.row { row-gap: 16px !important; }
#about-us section[aria-labelledby="featured-heading"]>.row>.col-lg-4 { width: 33.333333%; }
#about-us .ags-about-product,
#about-us section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product { display: flex; flex-direction: column; border-radius: 10px; }
#about-us .ags-about-product>img,
#about-us section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product>img { order: 0; height: 180px; min-height: 0; aspect-ratio: auto; }
#about-us .ags-about-product>div { padding: 20px; flex: 1; }
#about-us .ags-about-product h3 { font-size: 22px; margin-bottom: 12px; }
#about-us .product-category-label { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 8px; }
#about-us .ags-about-product ul { grid-template-columns: 1fr; gap: 4px; line-height: 1.6; margin-bottom: 12px; }
#about-us .ags-about-product p { margin-bottom: 12px; }
#about-us .product-enquiry-link { padding-top: 14px; padding-bottom: 6px; gap: 12px; }
#about-us .ags-about-requirements { padding: 20px; border-radius: 10px; }
#about-us .ags-about-requirements h3 { font-size: 20px; padding-bottom: 12px; }
#about-us .ags-about-requirements ul { line-height: 1.6; margin-bottom: 0; }
#about-us .ags-about-requirements li { padding: 0; margin-bottom: 6px; }
#about-us .ags-about-contact { margin-top: 32px; padding: 26px; gap: 20px; border-radius: 10px; }
#about-us .ags-about-contact h2 { font-size: 28px; margin-bottom: 6px; }
#about-us .ags-about-contact p { margin-bottom: 0; }
@media (max-width: 991.98px) {
  #about-us .ags-about-intro .col-lg-7 { padding-right: 12px; margin-bottom: 18px; }
  #about-us .ags-about-intro-image { max-height: 250px; box-shadow: none; }
  #about-us section[aria-labelledby="featured-heading"]>.row>.col-lg-4 { width: 100%; }
  #about-us .ags-about-product,
  #about-us section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product { display: grid; grid-template-columns: 30% minmax(0, 1fr); }
  #about-us .ags-about-product>img { height: 100%; }
  #about-us section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product>img { height: 100%; }
  #about-us section[aria-labelledby="customer-heading"] .ags-about-strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  #about-us .ags-image-hero { padding: 20px 0 44px; }
  #about-us .ags-about-breadcrumb { margin-bottom: 18px; }
  .ags-home #about-us .ags-about-tabs .ags-service-tab { padding: 14px 12px; font-size: 16px; gap: 8px; }
  .ags-home #about-us .ags-service-tabs.ags-about-tabs { margin-bottom: 22px; }
  #about-us .ags-about-section { margin-top: 26px; }
  #about-us .ags-about-profile, #about-us .ags-about-requirements { padding: 18px; }
  #about-us .ags-about-contact { margin-top: 26px; padding: 22px; }
  #about-us .ags-about-contact h2 { font-size: 25px; }
}
@media (max-width: 575.98px) {
  #about-us .ags-about-product,
  #about-us section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product { display: flex; }
  #about-us .ags-about-product>img,
  #about-us section[aria-labelledby="featured-heading"]>.row> :nth-child(2) .ags-about-product>img { height: 160px; }
  #about-us .ags-about-product>div { padding: 18px; }
  #about-us .ags-about-strengths,
  #about-us section[aria-labelledby="customer-heading"] .ags-about-strengths { grid-template-columns: 1fr; }
  #about-us .ags-about-strengths article { padding: 16px; }
}

/* Profiles lead the content before the business tabs. */
#about-us .ags-about-content > .container > section[aria-labelledby="profiles-heading"] { margin-top: 0; padding-top: 28px; }
.ags-home #about-us .ags-about-content > .container > .ags-about-tabs { margin: 28px 0; }
