.btn-atjoin-primary, .btn-atjoin-secondary { border-radius: 999px; padding: 0.72rem 1.2rem; font-weight: 700; }
.btn-atjoin-primary { border-color: var(--atjoin-primary); background: var(--atjoin-primary); color: white; }
.btn-atjoin-primary:hover { border-color: #072a4b; background: #072a4b; color: white; }
.btn-atjoin-secondary { border-color: var(--atjoin-primary); background: transparent; color: var(--atjoin-primary); }
.btn-atjoin-secondary:hover { background: var(--atjoin-primary); color: white; }

.atjoin-card {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--atjoin-border);
  border-radius: var(--atjoin-radius);
  background: var(--atjoin-surface);
  box-shadow: var(--atjoin-shadow-sm);
}
.atjoin-card h3 { font-size: 1.2rem; font-weight: 700; }
.service-card, .industry-card { transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover, .industry-card:hover { transform: translateY(-3px); border-color: #b6c9d9; box-shadow: var(--atjoin-shadow); }
.card-icon { display: inline-grid; width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; place-items: center; border-radius: var(--atjoin-radius-sm); background: #e7f1f8; color: var(--atjoin-secondary); font-size: 1.2rem; }

.badge-atjoin { padding: 0.45rem 0.7rem; border: 1px solid #bdd7e9; border-radius: 999px; background: #edf6fb; color: var(--atjoin-primary); font-weight: 700; }
.cta-panel { padding: clamp(2rem, 5vw, 4rem); border-radius: var(--atjoin-radius-lg); background: var(--atjoin-primary); color: white; }
.cta-panel h2 { color: white; font-size: var(--atjoin-text-xl); letter-spacing: -0.035em; }
.cta-panel p { color: #d8e6f0; }
.cta-panel .btn-light { border-radius: 999px; font-weight: 700; }

/* Contact page */
.contact-page .page-hero { padding-block: clamp(4.5rem, 8vw, 7rem); }
.contact-page .page-hero .lead { margin-bottom: 1.75rem; }
.contact-hero__button { display: inline-flex; align-items: center; gap: 0.65rem; }
.contact-details .section-heading > p:last-child { max-width: 42rem; margin: 1rem 0 0; color: var(--atjoin-muted); }
.contact-details__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card { position: relative; min-height: 20rem; padding: clamp(1.75rem, 3vw, 2.6rem); border: 1px solid var(--atjoin-border); border-radius: var(--atjoin-radius-lg); background: var(--atjoin-surface); box-shadow: var(--atjoin-shadow-sm); }
.contact-card--primary { background: linear-gradient(145deg, #0b3a67, #07518f); color: white; }
.contact-card__icon { width: 3rem; height: 3rem; display: inline-grid; place-items: center; margin-bottom: 2.5rem; border-radius: 0.8rem; background: #edf5ff; color: #0767d8; font-size: 1.25rem; }
.contact-card--primary .contact-card__icon { background: rgba(255, 255, 255, 0.12); color: white; }
.contact-card__label { margin: 0 0 0.5rem; color: #74869a; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-card--primary .contact-card__label { color: #a9cae8; }
.contact-card h3 { margin: 0 0 1rem; color: #082e56; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.2; }
.contact-card h3 a { color: inherit; text-decoration: none; }
.contact-card--primary h3, .contact-card--primary h3 a { color: white; }
.contact-card > p:last-of-type, .contact-card address { max-width: 31rem; margin: 0; color: var(--atjoin-muted); font-style: normal; line-height: 1.8; }
.contact-card--primary > p:last-of-type { color: #d4e5f4; }
.contact-card__action { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; color: white; font-weight: 700; text-decoration: none; }
.contact-card__action:hover { color: #bfe0ff; }
@media (max-width: 767.98px) {
  .contact-details__grid { grid-template-columns: 1fr; }
  .contact-card { min-height: auto; }
  .contact-card__icon { margin-bottom: 2rem; }
}

.form-label { color: var(--atjoin-text); font-weight: 650; }
.form-control, .form-select { min-height: 3rem; border-color: var(--atjoin-border); border-radius: var(--atjoin-radius-sm); }
.form-control:focus, .form-select:focus { border-color: var(--atjoin-secondary); box-shadow: 0 0 0 0.25rem rgba(23, 105, 166, 0.15); }

/* Cookie consent */
.cookie-consent { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 50; max-width: 1180px; margin-inline: auto; padding: 20px; border: 1px solid #c8d9e9; border-radius: 13px; background: rgba(255,255,255,.98); box-shadow: 0 18px 55px rgba(7,38,72,.2); color: #38516a; }
.cookie-consent[hidden] { display: none; }
.cookie-consent__layout { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; }
.cookie-consent h2 { margin: 0; color: #082b52; font-size: 18px; font-weight: 750; letter-spacing: -.015em; }
.cookie-consent p { max-width: 720px; margin: 7px 0 0; font-size: 12.5px; line-height: 1.58; }
.cookie-consent p a { color: #075dcc; font-weight: 700; }
.cookie-consent__actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.cookie-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid #9bb8d4; border-radius: 7px; background: #fff; color: #0b477f; font-size: 12px; font-weight: 720; transition: border-color 160ms ease,background-color 160ms ease,color 160ms ease; }
.cookie-button:hover { border-color: #3379bc; background: #f1f7fd; }
.cookie-button--primary { border-color: #0c5db4; background: #0c5db4; color: #fff; }
.cookie-button--primary:hover { border-color: #08498e; background: #08498e; color: #fff; }
.cookie-button:focus-visible,.cookie-preferences__close:focus-visible,.cookie-toggle input:focus-visible + span,.footer-legal button:focus-visible { outline: 3px solid rgba(35,126,222,.36); outline-offset: 3px; }

.cookie-preferences { width: min(calc(100% - 32px),680px); max-height: min(88vh,760px); margin: auto; padding: 0; border: 0; border-radius: 15px; background: #fff; box-shadow: 0 26px 80px rgba(4,31,60,.32); color: #38516a; overflow: hidden; }
.cookie-preferences::backdrop { background: rgba(3,22,43,.58); backdrop-filter: blur(2px); }
.cookie-preferences__inner { display: flex; max-height: min(88vh,760px); flex-direction: column; }
.cookie-preferences__header { position: relative; padding: 27px 66px 21px 27px; border-bottom: 1px solid #dce7f1; }
.cookie-preferences__header h2 { margin: 0; color: #082b52; font-size: 25px; font-weight: 750; letter-spacing: -.025em; }
.cookie-preferences__header p { margin: 9px 0 0; color: #5c7084; font-size: 13px; line-height: 1.58; }
.cookie-preferences__close { position: absolute; top: 19px; right: 19px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d2dfeb; border-radius: 50%; background: #fff; color: #234a70; font-size: 22px; line-height: 1; }
.cookie-preferences__body { display: grid; gap: 0; padding: 0 27px; overflow-y: auto; }
.cookie-category { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 22px; padding-block: 20px; border-bottom: 1px solid #e2ebf3; }
.cookie-category:last-child { border-bottom: 0; }
.cookie-category h3 { margin: 0; color: #123b64; font-size: 13px; font-weight: 770; letter-spacing: .07em; text-transform: uppercase; }
.cookie-category p { margin: 7px 0 0; color: #64778a; font-size: 12px; line-height: 1.55; }
.cookie-category__state { display: block; margin-top: 5px; color: #71869a; font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; }
.cookie-toggle { display: grid; justify-items: center; cursor: pointer; }
.cookie-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cookie-toggle span { position: relative; width: 45px; height: 25px; border-radius: 999px; background: #b6c5d3; transition: background-color 160ms ease; }
.cookie-toggle span::after { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(10,49,95,.22); content: ""; transition: transform 160ms ease; }
.cookie-toggle input:checked + span { background: #176bd1; }
.cookie-toggle input:checked + span::after { transform: translateX(20px); }
.cookie-toggle input:disabled + span { background: #176bd1; opacity: .76; }
.cookie-toggle input:disabled ~ .cookie-category__state { color: #1761ad; }
.cookie-preferences__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding: 20px 27px 25px; border-top: 1px solid #dce7f1; background: #f8fbfe; }
.footer-legal { flex-wrap: wrap; }
.footer-legal button { padding: 0; border: 0; background: transparent; color: #b9cbd9; font: inherit; cursor: pointer; }
.footer-legal button:hover { color: #75b8ff; }

@media (max-width: 767.98px) {
  .cookie-consent__layout { grid-template-columns: 1fr; gap: 16px; }
  .cookie-consent__actions { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
  .cookie-consent { right: 10px; bottom: 10px; left: 10px; padding: 17px; }
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .cookie-preferences { width: min(calc(100% - 20px),680px); max-height: calc(100dvh - 20px); }
  .cookie-preferences__inner { max-height: calc(100dvh - 20px); }
  .cookie-preferences__header { padding: 22px 58px 18px 20px; }
  .cookie-preferences__header h2 { font-size: 22px; }
  .cookie-preferences__body { padding-inline: 20px; }
  .cookie-category { gap: 14px; }
  .cookie-preferences__actions { display: grid; grid-template-columns: 1fr; padding: 17px 20px 20px; }
}


/* ISO certification & accreditation disclaimer (global footer) */
.footer-disclaimer {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-disclaimer h3 {
  margin: 0 0 0.4rem;
  color: #c7d5e0;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.footer-disclaimer p {
  max-width: 72rem;
  margin: 0;
  color: #8fa6b8;
  font-size: 0.72rem;
  line-height: 1.6;
}

.site-footer .footer-disclaimer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  color: #b9cbd9;
  font-size: 0.72rem;
  font-weight: 600;
}

.site-footer .footer-disclaimer__link:hover {
  color: #75b8ff;
}

.footer-disclaimer__link:focus-visible {
  outline: 3px solid rgba(35, 126, 222, 0.36);
  outline-offset: 3px;
}

.footer-disclaimer + .footer-bottom {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
}

@media (max-width: 575.98px) {
  .footer-disclaimer p,
  .site-footer .footer-disclaimer__link {
    font-size: 0.7rem;
  }
}
