/* ACE Website Credibility v1.1.0
 * Scoped to our replacement footer and About page; existing Elementor/ACE widgets stay intact.
 */

.acecred-footer, .acecred-footer *, .acecred-about, .acecred-about * { box-sizing:border-box; }
.acecred-footer { background:#102536; color:#e9f3f5; border-top:5px solid #1aa19c; font-family:inherit; position:relative; z-index:1; }
.acecred-footer__inner { width:min(1180px,calc(100% - 40px)); margin:0 auto; padding:54px 0 20px; }
.acecred-footer__grid { display:grid; grid-template-columns:minmax(270px,1.7fr) repeat(3,minmax(130px,1fr)); gap:clamp(18px,3vw,48px); }
.acecred-footer h2 { font-size:1rem; font-weight:750; color:#fff; line-height:1.4; margin:0 0 16px; letter-spacing:0; }
.acecred-footer__intro h2 { font-size:1.22rem; }
.acecred-footer__intro p { font-size:.91rem; line-height:1.65; color:#c8d9df; margin:0 0 14px; }
.acecred-footer__intro .acecred-footer__eyebrow { text-transform:uppercase; font-weight:800; letter-spacing:.11em; font-size:.74rem; color:#67d6d0; margin-bottom:10px; }
.acecred-footer__intro .acecred-footer__email, .acecred-footer__intro .acecred-footer__phone { display:block; margin:9px 0; width:fit-content; color:#b7f5eb; text-decoration:none; overflow-wrap:anywhere; font-weight:600; font-size:.9rem; }
.acecred-footer__intro .acecred-footer__email:hover, .acecred-footer__intro .acecred-footer__phone:hover { color:#fff; text-decoration:underline; }
.acecred-footer__nav ul { list-style:none; padding:0; margin:0; display:grid; gap:11px; }
.acecred-footer__nav li { margin:0; padding:0; }
.acecred-footer__nav a { color:#c8d9df; font-size:.92rem; line-height:1.45; text-decoration:none; }
.acecred-footer__nav a:hover, .acecred-footer__nav a:focus-visible { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.acecred-footer__bottom { border-top:1px solid rgba(224,245,247,.2); margin-top:36px; padding-top:18px; display:flex; gap:12px 32px; flex-wrap:wrap; justify-content:space-between; font-size:.8rem; color:#adbec8; }
.acecred-footer a:focus-visible, .acecred-about a:focus-visible { outline:3px solid #14a89a; outline-offset:4px; border-radius:2px; }

.acecred-about { color:#243746; background:#fff; font-size:16px; line-height:1.66; max-width:100%; overflow-wrap:break-word; }
.acecred-about__wrap { width:min(1160px,calc(100% - 40px)); margin:0 auto; }
.acecred-about__hero { background:linear-gradient(115deg,#102b3d 0%,#124253 63%,#135e5b 100%); color:#fff; padding:clamp(46px,7vw,94px) 0 50px; }
.acecred-about__eyebrow, .acecred-about__overline { font-weight:850; text-transform:uppercase; letter-spacing:.15em; font-size:.75rem; line-height:1.5; margin:0 0 14px; }
.acecred-about__eyebrow { color:#76e2d9; }
.acecred-about__overline { color:#087b7c; }
.acecred-about h1, .acecred-about h2, .acecred-about h3 { font-family:inherit; letter-spacing:-.025em; }
.acecred-about h1 { max-width:880px; font-size:clamp(2.15rem,5vw,3.8rem); line-height:1.1; color:#fff; margin:0 0 24px; font-weight:800; }
.acecred-about__lead { font-size:clamp(1.08rem,1.8vw,1.26rem); max-width:880px; line-height:1.66; color:#ebf6f6; margin:0 0 14px; }
.acecred-about__small { font-size:.9rem; max-width:890px; color:#cee1e3; line-height:1.6; margin:0 0 24px; }
.acecred-about__actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:20px 0 33px; }
.acecred-btn, .acecred-about .acecred-btn { display:inline-flex; justify-content:center; align-items:center; border:1.5px solid transparent; text-align:center; min-height:48px; padding:12px 22px; border-radius:7px; font-weight:760; font-size:.94rem; line-height:1.35; text-decoration:none; transition:background-color .15s ease, color .15s ease, border-color .15s ease; }
.acecred-about .acecred-btn--primary { background:#1fc1b5; color:#082a35; border-color:#1fc1b5; }
.acecred-about .acecred-btn--primary:hover { background:#9af4df; border-color:#9af4df; color:#082a35; text-decoration:none; }
.acecred-about .acecred-btn--ghost { background:transparent; border-color:rgba(255,255,255,.7); color:#fff; }
.acecred-about .acecred-btn--ghost:hover { background:rgba(255,255,255,.1); color:#fff; text-decoration:none; }
.acecred-about__stats { display:flex; flex-wrap:wrap; gap:15px; }
.acecred-about__stats>div { padding:13px 18px 11px; border:1px solid rgba(255,255,255,.22); border-radius:10px; background:rgba(255,255,255,.06); min-width:170px; flex:1 1 180px; max-width:320px; }
.acecred-about__stats strong { display:block; color:#fff; font-size:1.15rem; line-height:1.35; }
.acecred-about__stats span { display:block; color:#cfe5e5; font-size:.8rem; line-height:1.5; margin-top:3px; }
.acecred-about__section { padding:clamp(52px,6vw,86px) 0; }
.acecred-about__section--mist { background:#f3f8f9; }
.acecred-about h2 { max-width:950px; color:#183345; font-size:clamp(1.68rem,3vw,2.45rem); line-height:1.24; font-weight:800; margin:0 0 18px; }
.acecred-about h3 { color:#19384a; font-size:1.05rem; line-height:1.36; font-weight:780; margin:0 0 10px; }
.acecred-about p { line-height:1.67; }
.acecred-about__intro { max-width:940px; margin:0 0 28px; color:#4a5e69; font-size:1.04rem; }
.acecred-timeline { list-style:none; margin:25px 0 0; padding:0; display:grid; gap:0; max-width:990px; }
.acecred-timeline li { display:grid; grid-template-columns:155px minmax(0,1fr); gap:26px; border-bottom:1px solid #d7e3e6; padding:19px 0 21px; }
.acecred-timeline li:first-child { border-top:1px solid #d7e3e6; }
.acecred-timeline__year { font-weight:850; color:#097b77; letter-spacing:.02em; font-size:1rem; padding-top:2px; }
.acecred-timeline h3 { margin:0 0 6px; }
.acecred-timeline p { margin:0; color:#556873; font-size:.95rem; }
.acecred-card-grid { display:grid; gap:18px; margin-top:24px; }
.acecred-card-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.acecred-card-grid--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.acecred-card { border:1px solid #d9e5e7; border-radius:13px; padding:23px 22px 20px; background:#fff; box-shadow:0 6px 22px rgba(13,56,67,.045); }
.acecred-card h3 { margin:0 0 9px; }
.acecred-card p { font-size:.95rem; color:#526771; margin:0; }
.acecred-tags { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 18px; }
.acecred-tags span { padding:7px 11px; border:1px solid #cfe2e2; color:#1e5562; border-radius:6px; font-size:.85rem; background:#f1f8f9; font-weight:650; }
.acecred-about__disclaimer { color:#5b707b; font-size:.83rem; margin:14px 0 17px; }
.acecred-about .acecred-inline-link { font-weight:780; color:#087c77; text-decoration:underline; text-underline-offset:4px; }
.acecred-about .acecred-inline-link:hover { color:#07514f; }
.acecred-highlight { background:#f3f8f9; border:1px solid #d5e6e4; border-left:5px solid #0b948b; border-radius:8px; padding:22px 24px; }
.acecred-highlight p { margin:0 0 10px; }
.acecred-highlight p:last-child { margin-bottom:0; }
.acecred-about__contact { padding:clamp(48px,6vw,80px) 0; color:#fff; background:#153a4b; }
.acecred-about__contact-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr); gap:40px; }
.acecred-about__contact .acecred-about__overline { color:#79e1db; }
.acecred-about__contact h2, .acecred-about__contact h3 { color:#fff; }
.acecred-about__contact p { color:#e0f0f1; max-width:730px; }
.acecred-about__contact a:not(.acecred-btn) { color:#9ff0e4; overflow-wrap:anywhere; }
.acecred-about__contact a:not(.acecred-btn):hover { color:#fff; }
.acecred-about__contact .acecred-btn { margin:9px 0 6px; }
.acecred-about__offices { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.2); padding:23px 25px; border-radius:12px; }
.acecred-about__offices h3 { margin:0 0 14px; }
.acecred-about__offices address { font-style:normal; color:#e1f1f2; font-size:.92rem; line-height:1.65; margin:0 0 17px; }
.acecred-about__offices address strong { color:#fff; }
.acecred-about__offices address span { color:#bed7da; }

@media (max-width:950px) {
  .acecred-footer__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .acecred-footer__intro { grid-column:1/-1; max-width:720px; }
  .acecred-card-grid--three { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .acecred-footer__inner { padding-top:36px; width:min(100% - 30px,1180px); }
  .acecred-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 20px; }
  .acecred-footer__intro { grid-column:1/-1; }
  .acecred-footer__bottom { margin-top:26px; }
  .acecred-about__wrap { width:min(100% - 30px,1160px); }
  .acecred-about__hero { padding:42px 0; }
  .acecred-about__stats>div { min-width:130px; }
  .acecred-timeline li { grid-template-columns:1fr; gap:6px; padding:16px 0; }
  .acecred-card-grid--two, .acecred-card-grid--three { grid-template-columns:1fr; }
  .acecred-about__contact-grid { grid-template-columns:1fr; gap:25px; }
}
@media (max-width:420px) {
  .acecred-footer__grid { grid-template-columns:1fr; }
  .acecred-about__actions a { width:100%; }
  .acecred-about__stats>div { max-width:none; }
}

/* v1.1.0: comfortable touch targets and clear alternate RFQ link on small screens. */
.acecred-about__contact .acecred-about__rfq-option { color:#e0f0f1; font-size:.91rem; margin:0 0 16px; }
.acecred-about__contact .acecred-about__rfq-option a { font-weight:750; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:680px) {
  .acecred-footer__nav a { display:inline-flex; align-items:center; min-height:36px; overflow-wrap:anywhere; }
}
@media (prefers-reduced-motion:reduce) {
  .acecred-about .acecred-btn { transition:none; }
}
