.ab-hero { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; background: #111; }
.ab-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.ab-hero .tb-container { position: relative; }
.ab-hero h1 { font-size: clamp(36px,5vw,60px); line-height: 1; font-weight: 700; color: #fff; }

.ab-intro { padding: 70px 0; }
.ab-intro .tb-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,440px),1fr)); gap: 48px; align-items: center; }
.ab-intro-text { display: flex; flex-direction: column; gap: 18px; }
.ab-intro h2 { font-size: clamp(28px,3.4vw,40px); line-height: 1.25; font-weight: 700; color: #111; }
.ab-intro h2 span { display: block; color: var(--primary); }
.ab-intro p { font-size: 20px; line-height: 1.5; color: var(--text); }
.ab-intro-img { width: 100%; height: auto; display: block; border-radius: 19px; }

.ab-reasons { padding: 20px 0 70px; }
.ab-reasons .tb-container { display: flex; flex-direction: column; gap: 40px; }
.ab-reasons h2 { text-align: center; font-size: clamp(32px,4vw,48px); line-height: 1.4; font-weight: 700; color: #111; }
.ab-reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: 12px; }
.ab-reason { padding: 28px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ab-reason-icon { width: 121px; height: 121px; margin-bottom: 20px; display: block; object-fit: cover; }
.ab-reason h3 { font-size: 25px; line-height: 1.4; font-weight: 700; color: #111; margin-bottom: 8px; }
.ab-reason p { font-size: 20px; line-height: 1.4; font-weight: 500; color: #767676; }

.ab-stats { background: var(--ink); padding: 40px 0; color: #fff; }
.ab-stats .tb-container { display: flex; flex-direction: column; gap: 40px; }
.ab-stats h2 { text-align: center; font-size: 35px; line-height: 1.4; font-weight: 700; color: #fff; }
.ab-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: 30px; }
.ab-stat { text-align: center; }
.ab-stat .ab-stat-num { font-size: 40px; line-height: 1.4; font-weight: 700; color: #fff; }
.ab-stat p { margin-top: 10px; font-size: 20px; line-height: 1.1; font-weight: 700; color: #fff; }

.ab-vision { padding: 70px 0; background: var(--accent-tint); }
.ab-vision .tb-container { display: flex; flex-direction: column; gap: 36px; }
.ab-vision h2 { text-align: center; font-size: 40px; line-height: 1.4; font-weight: 700; color: #111; }
.ab-vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px),1fr)); gap: 24px; }
.ab-vcard { background: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ab-vcard.is-values { gap: 18px; }
.ab-vcard h3 { font-size: 24px; font-weight: 700; color: var(--primary); }
.ab-vcard p { font-size: 20px; line-height: 1.5; color: var(--text); }
.ab-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-value { border: 1px solid var(--accent-line); border-radius: 10px; padding: 14px; display: flex; gap: 10px; align-items: center; }
.ab-value span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.ab-value h4 { font-size: 18px; font-weight: 700; color: #111; }

.ab-history { padding: 70px 0; }
.ab-history .tb-container { max-width: 1200px; display: flex; flex-direction: column; gap: 30px; }
.ab-history h2 { text-align: center; font-size: 40px; line-height: 1.4; font-weight: 700; color: #111; }
.ab-era { border-radius: 16px; overflow: hidden; background: var(--primary); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,380px),1fr)); }
.ab-era-img { width: 100%; height: 100%; min-height: 300px; display: block; object-fit: cover; contain: size; aspect-ratio: auto; } /* size from the grid row (text side), not from the image */
.ab-era-img.is-empty { visibility: hidden; }
.ab-era-body { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ab-era-body h3 { font-size: 36px; font-weight: 700; color: #fff; }
.ab-era-body p { font-size: 17px; line-height: 1.6; color: #fff; white-space: pre-line; }
.ab-timeline { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px,1fr)); gap: 8px; padding-top: 14px; border-top: 3px solid var(--line); }
.ab-timeline button { border: 0; background: transparent; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px; }
.ab-timeline .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--input-border); margin-top: -23px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--input-border); }
.ab-timeline .yr { font-size: 15px; font-weight: 700; color: var(--muted); }
.ab-timeline button.is-on .dot { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ab-timeline button.is-on .yr { color: var(--accent); }

.ab-clients { padding: 60px 0 70px; background: var(--page-alt); }
.ab-clients .tb-container { display: flex; flex-direction: column; gap: 28px; }
.ab-clients h2 { text-align: center; font-size: 40px; line-height: 1.4; font-weight: 700; color: #111; }
.ab-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ab-tab { white-space: nowrap; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(11,111,232,.35); background: #fff; color: var(--primary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ab-tab.is-on { border-color: var(--primary); background: var(--primary); color: #fff; }
.ab-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 16px; }
.ab-logo { background: #fff; border-radius: 12px; height: 100px; padding: 16px 20px; display: flex; align-items: center; justify-content: center; }
.ab-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Intro, mission/vision cards and timeline = rich text from "Nội dung trang" (CKEditor):
   <p>s keep the rules above; lists, links, images */
.ab-intro-text :is(ul, ol) { font-size: 20px; line-height: 1.5; color: var(--text); padding-left: 1.4em; }
.ab-vcard :is(ul, ol) { font-size: 20px; line-height: 1.5; color: var(--text); padding-left: 1.4em; }
.ab-era-text :is(ul, ol) { font-size: 17px; line-height: 1.6; color: #fff; padding-left: 1.4em; }
.ab-intro-text ul, .ab-vcard ul, .ab-era-text ul { list-style: disc; }
.ab-intro-text li + li, .ab-vcard li + li, .ab-era-text li + li { margin-top: 4px; }
.ab-intro-text :is(p, li) a, .ab-vcard :is(p, li) a { text-decoration: underline; }
.ab-era-text a { color: #fff; text-decoration: underline; }
.ab-intro-text img, .ab-vcard img, .ab-era-text img { height: auto; border-radius: 8px; }
/* Timeline text: line breaks come from <br>/<p> now (CKEditor puts a newline after each <br>) */
.ab-era-text p { white-space: normal; }
.ab-era-rich > * + * { margin-top: 10px; }
