/* ==========================================================================
   ABM International — Custom Stylesheet
   Layered on top of Bootstrap 5.3. Organised as:
   1. Tokens  2. Base  3. Utilities  4. Header/Nav  5. Hero  6. Sections
   7. Cards   8. Timeline  9. Forms  10. Footer  11. Misc  12. Motion/Print
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --abm-navy: #14263D;
  --abm-navy-deep: #0D1A2B;
  --abm-blue: #1E4568;
  --abm-blue-bright: #2B6CA3;
  --abm-warm: #FAF9F6;
  --abm-sand: #F1EDE4;
  --abm-white: #FFFFFF;
  --abm-gold: #C4A46A;
  --abm-gold-dark: #8A6D35;   /* gold for text on light backgrounds (AA) */
  --abm-text: #525D68;
  --abm-muted: #6B7580;
  --abm-line: #E4E0D7;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 38, 61, .06);
  --shadow-md: 0 14px 40px rgba(20, 38, 61, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
  --section-y: clamp(4rem, 8vw, 7.5rem);

  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--abm-text);
  --bs-link-color-rgb: 30, 69, 104;
  --bs-link-hover-color-rgb: 20, 38, 61;
}

/* 2. Base ---------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--abm-text);
  background: var(--abm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--abm-navy); font-weight: 600; line-height: 1.2; }
.display-heading, h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1.1rem; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
::selection { background: var(--abm-gold); color: var(--abm-navy); }

:focus-visible {
  outline: 3px solid var(--abm-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--abm-navy); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* 3. Utilities ----------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: clamp(3rem, 5vw, 4.5rem); }
.bg-warm { background: var(--abm-warm); }
.bg-sand { background: var(--abm-sand); }
.bg-navy { background: var(--abm-navy); color: rgba(255, 255, 255, .78); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--abm-gold-dark); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.bg-navy .eyebrow, .on-dark .eyebrow { color: var(--abm-gold); }
.eyebrow.no-rule::before { display: none; }

.lead-lg { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; }
.text-navy { color: var(--abm-navy) !important; }
.text-gold { color: var(--abm-gold-dark) !important; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.05rem; }

.gold-rule { width: 64px; height: 2px; background: var(--abm-gold); border: 0; opacity: 1; margin: 1.5rem 0; }

/* Buttons */
.btn {
  --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .85rem;
  --bs-btn-font-size: .9rem; --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--radius);
  letter-spacing: .03em;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .bi { transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn-abm {
  --bs-btn-bg: var(--abm-navy); --bs-btn-color: #fff; --bs-btn-border-color: var(--abm-navy);
  --bs-btn-hover-bg: var(--abm-blue); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--abm-blue);
  --bs-btn-active-bg: var(--abm-navy-deep); --bs-btn-active-color: #fff;
}
.btn-gold {
  --bs-btn-bg: var(--abm-gold); --bs-btn-color: var(--abm-navy); --bs-btn-border-color: var(--abm-gold);
  --bs-btn-hover-bg: #D5BA86; --bs-btn-hover-color: var(--abm-navy); --bs-btn-hover-border-color: #D5BA86;
  --bs-btn-active-bg: #B3925A; --bs-btn-active-color: var(--abm-navy);
}
.btn-outline-light-abm {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .55);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--abm-navy); --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--abm-navy);
}
.btn-outline-abm {
  --bs-btn-color: var(--abm-navy); --bs-btn-border-color: var(--abm-navy);
  --bs-btn-hover-bg: var(--abm-navy); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--abm-navy);
  --bs-btn-active-bg: var(--abm-navy-deep); --bs-btn-active-color: #fff;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  color: var(--abm-navy); text-decoration: none;
}
.link-arrow .bi { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--abm-blue); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* 4. Announcement bar, header & navigation ------------------------------- */
.announce {
  background: var(--abm-navy-deep); color: rgba(255, 255, 255, .8);
  font-size: .8rem; letter-spacing: .02em; padding: .55rem 0;
}
.announce a { color: var(--abm-gold); text-decoration: none; font-weight: 500; white-space: nowrap; }
.announce a:hover { color: #fff; text-decoration: underline; }
.announce .sep { color: var(--abm-gold); margin-inline: .5rem; }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--abm-line); }
.site-header .navbar { min-height: var(--header-h); padding-block: .5rem; transition: min-height .3s var(--ease); }
.site-header.is-scrolled .navbar { min-height: 70px; }

/* Brand / logo */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--abm-navy); }
.brand img { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-sans); font-weight: 800; font-size: 1.45rem; letter-spacing: .06em; color: var(--abm-navy); }
.brand-sub { font-size: .62rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--abm-blue-bright); margin-top: .3rem; }
.brand:hover .brand-name { color: var(--abm-blue); }

.site-header .nav-link {
  font-size: .86rem; font-weight: 500; color: var(--abm-navy);
  padding: .6rem .7rem !important; position: relative;
}
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { color: var(--abm-blue-bright); }
.site-header .nav-link.active { color: var(--abm-navy); font-weight: 600; }
@media (min-width: 1200px) {
  .site-header .nav-link::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem;
    height: 2px; background: var(--abm-gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
  .site-header .dropdown-toggle::after { display: none; }
}
.site-header .dropdown-toggle .bi-chevron-down { font-size: .65rem; margin-left: .25rem; transition: transform .25s var(--ease); }
.site-header .dropdown-toggle.show .bi-chevron-down { transform: rotate(180deg); }
.site-header .dropdown-menu {
  border: 1px solid var(--abm-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: .6rem; min-width: 250px; margin-top: .5rem !important;
}
.site-header .dropdown-item {
  font-size: .88rem; padding: .55rem .85rem; border-radius: var(--radius); color: var(--abm-navy);
}
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--abm-warm); color: var(--abm-blue-bright); }
.site-header .dropdown-item.active, .site-header .dropdown-item:active { background: var(--abm-navy); color: #fff; }
.site-header .dropdown-divider { border-color: var(--abm-line); }

.navbar-toggler {
  border: 1px solid var(--abm-line); border-radius: var(--radius);
  width: 48px; height: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bars { position: relative; width: 22px; height: 14px; display: block; }
.toggler-bars span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--abm-navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.toggler-bars span:nth-child(1) { top: 0; }
.toggler-bars span:nth-child(2) { top: 6px; }
.toggler-bars span:nth-child(3) { top: 12px; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    max-height: calc(100vh - 80px); overflow-y: auto;
    padding: .75rem 0 1.5rem; border-top: 1px solid var(--abm-line); margin-top: .5rem;
  }
  .site-header .nav-link { font-size: 1rem; padding: .85rem .25rem !important; border-bottom: 1px solid var(--abm-line); display: flex; justify-content: space-between; align-items: center; }
  .site-header .nav-link.active { color: var(--abm-blue-bright); }
  .site-header .dropdown-menu { border: 0; box-shadow: none; background: var(--abm-warm); margin: 0 0 .5rem !important; }
  .nav-cta { width: 100%; margin-top: 1.25rem; }
}
@media (max-width: 400px) {

  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .55rem; letter-spacing: .26em; }
}

/* 5. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: clamp(560px, 88vh, 860px);
  display: flex; align-items: center;
  padding-block: clamp(5rem, 10vw, 8rem) clamp(7rem, 12vw, 10rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(13, 26, 43, .94) 0%, rgba(13, 26, 43, .82) 38%, rgba(20, 38, 61, .45) 75%, rgba(20, 38, 61, .35) 100%),
    linear-gradient(0deg, rgba(13, 26, 43, .6) 0%, rgba(13, 26, 43, 0) 35%);
}
.hero h1 { color: #fff; max-width: 19ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--abm-gold); font-weight: 500; }
.hero-lead { font-size: clamp(1rem, 1.35vw, 1.18rem); color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 2.25rem; }
.hero-location {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--abm-gold); margin-bottom: 1.5rem;
}
.hero-location .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--abm-gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(13, 26, 43, .55);
}
@supports (backdrop-filter: blur(6px)) { .hero-strip { backdrop-filter: blur(6px); } }
.hero-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip li {
  padding: 1.35rem 1rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
  color: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: .65rem;
}
.hero-strip li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-strip .bi { color: var(--abm-gold); font-size: 1.05rem; }
@media (max-width: 767.98px) {
  .hero { min-height: auto; padding-bottom: 9.5rem; }
  .hero-strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero-strip li { padding: .9rem .75rem; font-size: .7rem; letter-spacing: .05em; }
  .hero-strip li:nth-child(3) { border-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Inner page hero + breadcrumb */
.page-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(3.5rem, 7vw, 5.5rem);
  background: var(--abm-navy);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13, 26, 43, .95) 0%, rgba(13, 26, 43, .8) 50%, rgba(20, 38, 61, .55) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 620px; font-size: 1.08rem; margin: 0; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45); --bs-breadcrumb-item-active-color: var(--abm-gold); font-size: .82rem; letter-spacing: .04em; margin-bottom: 1.5rem; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* 6. Section components -------------------------------------------------- */
/* Split image + text */
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.split-media::after {
  content: ""; position: absolute; z-index: -1;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem; border: 1px solid var(--abm-gold); border-radius: var(--radius-lg);
}
.split-media.flip::after { inset: 1.5rem 1.5rem -1.5rem -1.5rem; }
.split-media-wrap { position: relative; z-index: 0; padding: 0 1.5rem 1.5rem 0; }
.split-media-wrap.flip { padding: 0 0 1.5rem 1.5rem; }
.media-caption {
  position: absolute; left: 1.25rem; bottom: 2.75rem;
  background: rgba(13, 26, 43, .85); color: #fff; font-size: .78rem; letter-spacing: .05em;
  padding: .5rem .85rem; border-radius: var(--radius);
}
.split-media-wrap.flip .media-caption { left: 2.75rem; }
@media (max-width: 575.98px) {
  .split-media::after { inset: 1rem -1rem -1rem 1rem; }
  .split-media.flip::after { inset: 1rem 1rem -1rem -1rem; }
  .split-media-wrap { padding: 0 1rem 1rem 0; }
  .split-media-wrap.flip { padding: 0 0 1rem 1rem; }
  .media-caption { bottom: 2rem; }
}

.check-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--abm-navy); font-weight: 500; }
.check-list .bi {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--abm-warm); border: 1px solid var(--abm-line);
  color: var(--abm-gold-dark); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem;
}
.bg-warm .check-list .bi { background: #fff; }
@media (min-width: 576px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; } }

/* Feature (why choose) */
.feature {
  height: 100%; padding: 2.25rem 2rem; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.feature:hover { background: rgba(255, 255, 255, .04); border-color: rgba(196, 164, 106, .5); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196, 164, 106, .55); color: var(--abm-gold); font-size: 1.4rem; margin-bottom: 1.5rem;
}
.feature h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.feature p { font-size: .95rem; margin: 0; color: rgba(255, 255, 255, .72); }

/* Light feature variant */
.feature-light { border-color: var(--abm-line); background: #fff; }
.feature-light:hover { background: #fff; border-color: var(--abm-gold); box-shadow: var(--shadow-md); }
.feature-light .feature-icon { color: var(--abm-gold-dark); border-color: var(--abm-gold); background: var(--abm-warm); }
.feature-light p { color: var(--abm-text); }

/* Numbered services list */
.service-list { list-style: none; padding: 0; margin: 0; counter-reset: svc; display: grid; }
@media (min-width: 768px) { .service-list { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; } }
.service-list li { counter-increment: svc; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--abm-line); }
.service-list li::before {
  content: counter(svc, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--abm-gold-dark);
}
.service-list h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.service-list p { margin: 0; font-size: .95rem; }

/* Info card (terms summary etc.) */
.info-card {
  height: 100%; background: #fff; border: 1px solid var(--abm-line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; position: relative; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { border-color: var(--abm-gold); box-shadow: var(--shadow-md); }
.info-card .bi { font-size: 1.6rem; color: var(--abm-gold-dark); display: block; margin-bottom: 1.1rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.info-card p { font-size: .94rem; margin: 0; }
.info-card .tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--abm-blue); background: var(--abm-warm); border: 1px solid var(--abm-line);
  padding: .2rem .6rem; border-radius: 99px; margin-bottom: .75rem;
}

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; }
.cta-band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13, 26, 43, .88); }
.cta-band h2 { color: #fff; max-width: 20ch; margin: 0 auto 1.25rem; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 600px; margin: 0 auto 2.25rem; font-size: 1.08rem; }
.cta-band .hero-actions { justify-content: center; }
@media (max-width: 575.98px) { .cta-band .hero-actions .btn { flex: 1 1 100%; } }

/* Contact blocks */
.contact-card {
  display: flex; gap: 1.1rem; padding: 1.75rem; background: #fff;
  border: 1px solid var(--abm-line); border-radius: var(--radius-lg);
}
.contact-card .icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--abm-navy); color: var(--abm-gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.contact-card h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--abm-muted); font-family: var(--font-sans); font-weight: 600; margin-bottom: .45rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--abm-navy); font-weight: 500; overflow-wrap: anywhere; }
.contact-card a { text-decoration: none; display: block; }
.contact-card a:hover { color: var(--abm-blue-bright); text-decoration: underline; }
.contact-card small { color: var(--abm-muted); }

/* Notice box */
.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--abm-warm); border: 1px solid var(--abm-line); border-left: 3px solid var(--abm-gold);
  border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .92rem; color: var(--abm-text);
}
.notice .bi { color: var(--abm-gold-dark); font-size: 1.15rem; line-height: 1.5; }
.notice p { margin: 0; }
.notice.on-dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); border-left-color: var(--abm-gold); color: rgba(255, 255, 255, .8); }
.notice.on-dark .bi { color: var(--abm-gold); }

/* 7. Product cards & filter ---------------------------------------------- */
.product-card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--abm-line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 4 / 4.4; background: #fff; overflow: hidden; border-bottom: 1px solid var(--abm-line); }
.product-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 1.25rem;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 1;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--abm-warm); color: var(--abm-blue); border: 1px solid var(--abm-line);
  padding: .25rem .6rem; border-radius: 99px;
}
.product-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.product-body h3 a { color: inherit; text-decoration: none; }
.product-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.product-body p { font-size: .9rem; line-height: 1.6; margin-bottom: 1.1rem; flex: 1; }
.product-body .link-arrow { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.product-card:hover .link-arrow .bi { transform: translateX(4px); }
.product-card:focus-within { outline: 3px solid var(--abm-gold); outline-offset: 3px; }
.product-card:focus-within a:focus-visible { outline: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  border: 1px solid var(--abm-line); background: #fff; color: var(--abm-navy);
  font-size: .85rem; font-weight: 500; padding: .6rem 1.15rem; border-radius: 99px; min-height: 44px;
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--abm-navy); }
.filter-btn[aria-pressed="true"] { background: var(--abm-navy); border-color: var(--abm-navy); color: #fff; }
.product-item.is-hidden { display: none; }
.filter-status { text-align: center; font-size: .88rem; color: var(--abm-muted); margin-top: -1.75rem; margin-bottom: 2rem; }

/* Product detail */
.gallery-main {
  background: #fff; border: 1px solid var(--abm-line); border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: .75rem; }
.gallery-thumb {
  background: #fff; border: 1px solid var(--abm-line); border-radius: var(--radius); aspect-ratio: 1 / 1;
  padding: .4rem; overflow: hidden; transition: border-color .2s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb:hover { border-color: var(--abm-navy); }
.gallery-thumb[aria-current="true"] { border: 2px solid var(--abm-gold); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { padding: .9rem 0; border-bottom: 1px solid var(--abm-line); vertical-align: top; text-align: left; }
.spec-table th { width: 42%; color: var(--abm-navy); font-weight: 600; padding-right: 1rem; }
.spec-table td { color: var(--abm-text); }
.spec-table .tbc { color: var(--abm-muted); font-style: italic; }

/* 8. Process timeline ---------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.timeline-step { position: relative; padding: 0 0 2rem 4.5rem; }
.timeline-step::before { /* connector line (mobile: vertical) */
  content: ""; position: absolute; left: 1.55rem; top: 3.2rem; bottom: 0; width: 1px; background: var(--abm-line);
}
.timeline-step:last-child::before { display: none; }
.timeline-num {
  position: absolute; left: 0; top: 0; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--abm-gold); color: var(--abm-navy);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.timeline-step:hover .timeline-num { background: var(--abm-navy); color: #fff; }
.timeline-step h3 { font-size: 1.02rem; margin: .7rem 0 .4rem; }
.timeline-step p { font-size: .9rem; margin: 0; line-height: 1.6; }
.bg-warm .timeline-num { background: var(--abm-warm); }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .timeline { grid-template-columns: repeat(4, 1fr); column-gap: 1.5rem; row-gap: 2.5rem; }
  .timeline-step { padding: 4.5rem 0 0; }
  .timeline-step::before { left: 3.2rem; right: -1.5rem; top: 1.6rem; bottom: auto; width: auto; height: 1px; }
  .timeline-step:nth-child(4n)::before { display: none; }
}
@media (min-width: 1200px) {
  .timeline { grid-template-columns: repeat(8, 1fr); column-gap: 1.25rem; }
  .timeline-step { padding: 4.5rem 0 0; }
  .timeline-step::before { left: 3.2rem; right: -1.25rem; top: 1.6rem; bottom: auto; width: auto; height: 1px; }
}

/* QA checkpoints */
.qa-list { list-style: none; padding: 0; margin: 0; counter-reset: qa; }
.qa-list li {
  counter-increment: qa; display: flex; align-items: center; gap: 1.1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 500;
}
.qa-list li::before {
  content: counter(qa, decimal-leading-zero); font-size: .78rem; letter-spacing: .1em; color: var(--abm-gold); font-weight: 600; min-width: 1.6rem;
}
.qa-list li .bi { margin-left: auto; color: rgba(255, 255, 255, .35); }

/* Detailed QA blocks (quality page) */
.qa-block { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 2.25rem 0; border-top: 1px solid var(--abm-line); }
.qa-block:last-child { border-bottom: 1px solid var(--abm-line); }
.qa-block .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--abm-gold-dark); line-height: 1; font-weight: 600; min-width: 3.5rem; }
.qa-block h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.qa-block ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.qa-block li { margin-bottom: .3rem; }
.qa-block p:last-child { margin-bottom: 0; }

/* Management cards */
.team-card { height: 100%; background: #fff; border: 1px solid var(--abm-line); border-radius: var(--radius-lg); overflow: hidden; text-align: center; transition: box-shadow .3s var(--ease); }
.team-card:hover { box-shadow: var(--shadow-md); }
.team-photo {
  position: relative; aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--abm-navy), var(--abm-blue));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.team-photo .initials { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--abm-gold); letter-spacing: .04em; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-body { padding: 1.5rem 1.25rem 1.75rem; }
.team-body h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.team-body p { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--abm-gold-dark); font-weight: 600; }

/* Departments */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.dept-grid li {
  display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--abm-line);
  border-radius: var(--radius); padding: 1rem 1.1rem; font-weight: 500; color: var(--abm-navy); font-size: .94rem;
}
.dept-grid .bi { color: var(--abm-gold-dark); font-size: 1.1rem; }

/* Vision / mission quote blocks */
.vm-card { height: 100%; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--abm-line); position: relative; }
.vm-card.dark { background: var(--abm-navy); border-color: var(--abm-navy); }
.vm-card.dark h3, .vm-card.dark blockquote { color: #fff; }
.vm-card h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--abm-gold-dark); font-family: var(--font-sans); margin-bottom: 1.25rem; }
.vm-card.dark h3 { color: var(--abm-gold); }
.vm-card blockquote { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--abm-navy); margin: 0; font-weight: 500; }

/* Goal quote */
.goal-quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; color: var(--abm-navy); font-style: italic; font-weight: 500; margin: 0; }
.goal-quote::before { content: "\201C"; color: var(--abm-gold); }
.goal-quote::after { content: "\201D"; color: var(--abm-gold); }

/* Document placeholder gallery (compliance) */
.doc-slot {
  height: 100%; border: 1.5px dashed #CFC8B8; border-radius: var(--radius-lg); background: var(--abm-warm);
  aspect-ratio: 3 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 1.5rem; color: var(--abm-muted);
}
.doc-slot .bi { font-size: 2.2rem; color: var(--abm-gold-dark); margin-bottom: 1rem; }
.doc-slot h3 { font-size: 1rem; margin-bottom: .4rem; }
.doc-slot p { font-size: .82rem; margin: 0; }

/* Terms document */
.terms-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.terms-nav ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--abm-line); }
.terms-nav a { display: block; padding: .4rem 0 .4rem 1rem; font-size: .88rem; color: var(--abm-text); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; }
.terms-nav a:hover, .terms-nav a.is-active { color: var(--abm-navy); border-left-color: var(--abm-gold); font-weight: 500; }
.terms-section { padding: 2rem 0; border-bottom: 1px solid var(--abm-line); }
.terms-section:first-of-type { padding-top: 0; }
.terms-section h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1rem; display: flex; gap: .85rem; align-items: baseline; }
.terms-section h2 .n { font-size: .9em; color: var(--abm-gold-dark); }
.terms-section .status {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--abm-blue); background: var(--abm-warm); border: 1px solid var(--abm-line); padding: .25rem .65rem; border-radius: 99px; margin-bottom: .9rem;
}
.policy-box { background: var(--abm-warm); border: 1px solid var(--abm-gold); border-radius: var(--radius-lg); padding: 1.75rem; }

/* 9. Forms --------------------------------------------------------------- */
.form-panel { background: #fff; border: 1px solid var(--abm-line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
.form-label { font-size: .85rem; font-weight: 600; color: var(--abm-navy); margin-bottom: .4rem; }
.form-label .req { color: #B42318; margin-left: .15rem; }
.form-label .opt { color: var(--abm-muted); font-weight: 400; font-size: .8rem; }
.form-control, .form-select {
  border-color: #D6D1C6; border-radius: var(--radius); padding: .75rem 1rem; font-size: .95rem; min-height: 50px; color: var(--abm-navy);
}
.form-control:focus, .form-select:focus { border-color: var(--abm-blue); box-shadow: 0 0 0 .2rem rgba(30, 69, 104, .15); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #B42318; }
.invalid-feedback { color: #B42318; font-size: .82rem; }
.form-status { display: none; border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .92rem; margin-top: 1.25rem; }
.form-status.is-visible { display: flex; gap: .75rem; align-items: flex-start; }
.form-status.is-error { background: #FEF3F2; border: 1px solid #FECDCA; color: #912018; }
.form-status.is-info { background: var(--abm-warm); border: 1px solid var(--abm-gold); color: var(--abm-navy); }
.form-status.is-success { background: #ECFDF3; border: 1px solid #ABEFC6; color: #085D3A; }
.form-status p { margin: 0; }
.form-status a { font-weight: 600; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* 10. Footer ------------------------------------------------------------- */
.site-footer { background: var(--abm-navy-deep); color: rgba(255, 255, 255, .68); font-size: .92rem; }
.footer-top { padding-block: clamp(3.5rem, 7vw, 5.5rem) 3rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--abm-gold); }
.footer-about { max-width: 330px; margin-top: 1.25rem; line-height: 1.75; }
.footer-title { font-family: var(--font-sans); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--abm-gold); text-decoration: underline; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.footer-contact .bi { color: var(--abm-gold); margin-top: .2rem; }
.footer-contact a, .footer-contact span { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; font-size: .82rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }

/* 11. Misc --------------------------------------------------------------- */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--abm-navy); color: #fff; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--abm-gold); color: var(--abm-navy); }

.error-page { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--abm-gold); font-weight: 600; }

.divider-ornament { display: flex; align-items: center; gap: 1rem; color: var(--abm-gold); }
.divider-ornament::before, .divider-ornament::after { content: ""; flex: 1; height: 1px; background: var(--abm-line); }

/* Scroll reveal: content is visible by default; only hidden once JS opts in */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-revealed { opacity: 1; transform: none; }
.js-reveal .reveal-delay-1 { transition-delay: .1s; }
.js-reveal .reveal-delay-2 { transition-delay: .2s; }
.js-reveal .reveal-delay-3 { transition-delay: .3s; }

/* 12. Reduced motion & print -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .product-card:hover, .feature:hover { transform: none; }
}

@media print {
  .announce, .site-header, .site-footer, .back-to-top, .cta-band, .terms-nav, .no-print, .page-hero-media { display: none !important; }
  body { color: #000; font-size: 11pt; line-height: 1.5; }
  .page-hero { background: none !important; color: #000; padding: 0 0 1rem; }
  .page-hero::before { display: none; }
  .page-hero h1, .page-hero p { color: #000 !important; }
  .page-hero .breadcrumb { display: none; }
  .section { padding: 0; }
  .terms-section { break-inside: avoid; padding: .75rem 0; }
  a { color: #000; text-decoration: none; }
  .col-lg-8 { width: 100% !important; }
}

/* Layout helpers */
.mw-760 { max-width: 760px; }
@media (min-width: 992px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); } }
.cta-band .eyebrow, .page-hero .eyebrow { color: var(--abm-gold); }
.vm-card.dark p { color: rgba(255, 255, 255, .75); }
.vm-card .qa-list li { color: #fff; }
/* Lining figures for numbered UI (Cormorant defaults to old-style numerals) */
.timeline-num, .service-list li::before, .qa-block .num, .terms-section .n, .error-code { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.timeline-num { font-family: var(--font-sans); font-size: 1.05rem; }
@media print { .js-reveal .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------------------------------------------------------------------------
   Responsive refinements (phones & tablets)
   --------------------------------------------------------------------------- */
/* contact cards: equal heights are opted into with .h-100 where they sit in a grid */

@media (max-width: 575.98px) {
  :root { --section-y: 3.5rem; }
  .announce { font-size: .74rem; padding: .45rem 0; }
  .announce .brand-prefix { display: none; }

  /* Two-up product cards */
  .product-media img { padding: .65rem; }
  .product-badge { top: .5rem; left: .5rem; font-size: .58rem; padding: .15rem .45rem; letter-spacing: .08em; }
  .product-body { padding: .9rem .85rem 1rem; }
  .product-body h3 { font-size: .95rem; margin-bottom: .3rem; }
  .product-body p { font-size: .8rem; line-height: 1.5; margin-bottom: .7rem; }
  .product-body .link-arrow { font-size: .68rem; letter-spacing: .06em; gap: .3rem; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -12px; padding: 0 12px .5rem; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }

  /* Compact cards */
  .feature { padding: 1.6rem 1.35rem; }
  .feature-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 1.1rem; }
  .info-card { padding: 1.4rem 1.25rem; }
  .info-card .bi { font-size: 1.35rem; margin-bottom: .75rem; }
  .contact-card { padding: 1.25rem; gap: .9rem; }
  .contact-card .icon { width: 42px; height: 42px; font-size: 1rem; }
  .vm-card { padding: 1.75rem 1.4rem; }
  .vm-card blockquote { font-size: 1.3rem; }
  .form-panel { padding: 1.25rem; }
  .qa-block { gap: 1rem; padding: 1.75rem 0; }

  /* Two-up team cards */
  .team-photo .initials { font-size: 2.4rem; }
  .team-body { padding: 1rem .6rem 1.2rem; }
  .team-body h3 { font-size: .98rem; }
  .team-body p { font-size: .66rem; letter-spacing: .06em; }

  .dept-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .dept-grid li { padding: .8rem .75rem; font-size: .85rem; gap: .5rem; }
  .split-media img { aspect-ratio: 4 / 3; }
  .page-hero p { font-size: 1rem; }
  .goal-quote { font-size: 1.5rem; }
}
@media (max-width: 359.98px) {
  .product-body .link-arrow .bi { display: none; }
  .dept-grid { grid-template-columns: 1fr; }
}
/* Tablet: keep the hamburger menu compact and the hero comfortable */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero { min-height: 640px; }
}

/* Official logo (logo.png has an opaque white background) */
.brand { gap: .85rem; }
.brand-logo { height: 60px; width: auto; display: block; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 50px; }
.brand-tag {
  font-size: .64rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--abm-blue); padding-left: .85rem; border-left: 1px solid var(--abm-line); line-height: 1.9;
}
.brand:hover .brand-tag { color: var(--abm-blue-bright); }
.brand-chip { background: #fff; border-radius: var(--radius-lg); padding: .35rem .75rem; display: inline-flex; }
.brand-chip .brand-logo { height: 56px; }
.site-footer .brand-tag { color: var(--abm-gold); border-left-color: rgba(255, 255, 255, .2); }
@media (max-width: 400px) {
  .brand-logo { height: 52px; }
  .site-header.is-scrolled .brand-logo { height: 46px; }
  .brand-tag { font-size: .56rem; letter-spacing: .24em; padding-left: .65rem; }
}

/* Desktop nav fit: keep every item on one line on 1200–1399px laptops */
.site-header .nav-link, .nav-cta { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .brand-tag { display: none; }
  .site-header .nav-link { font-size: .84rem; padding: .6rem .5rem !important; }
  .site-header .nav-link::after { left: .5rem; right: .5rem; }
  .site-header .nav-cta { --bs-btn-padding-x: 1.1rem; }
  .site-header .nav-item.ms-xl-3 { margin-left: .6rem !important; }
}
/* Hero strip: 2×2 on tablets as well as phones */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero { padding-bottom: 10rem; }
  .hero-strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero-strip li:nth-child(3) { border-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* Phones: Bootstrap's 3rem g-5 gutter is wider than the container padding and
   caused a 12px horizontal overflow at 320px. Use the standard gutter instead. */
@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
}
html { overflow-x: clip; }
