/* =========================================================
   Về chúng tôi (ve-chung-toi.html) — follows the approved design.
   Loaded after style.css + mockups.css.
   ========================================================= */

.page-about { --ab-ink: #0b1f4d; --ab-blue: #1467e6; --ab-muted: #55677f; --ab-line: #e2eaf5; --gutter: max(20px, calc((100% - 1240px) / 2)); background: #fff; }
.page-about h1, .page-about h2, .page-about h3 { color: var(--ab-ink); }
.page-about .pill.primary { background: linear-gradient(90deg, #1a6dff, #2b86ff); }
.ab-search-btn { border-color: #dbe5f1 !important; color: var(--ab-ink) !important; }
.ab-kicker, .ab-badge {
  display: inline-block; padding: 5px 14px; border-radius: 99px; margin-bottom: 12px;
  background: #e1edff; color: var(--ab-blue);
  font: 700 11.5px var(--display); letter-spacing: .18em; text-transform: uppercase;
}
.ab-kicker.dark { background: rgba(40,110,230,.28); color: #7cc4ff; border: 1px solid rgba(90,160,255,.35); }
.ab-section { padding: 56px var(--gutter) 10px; }
.ab-head { max-width: 760px; margin-bottom: 26px; position: relative; z-index: 2; }
.ab-head h2, .ab-who h2 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; margin: 0 0 10px; }
.ab-head h2 em { font-style: normal; background: linear-gradient(90deg, #0f5fe8, #1d8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-head p { margin: 0; color: var(--ab-muted); font-size: 15px; line-height: 1.65; }
.ab-head p b { color: var(--ab-ink); font-weight: 700; }

/* ---------- Hero ---------- */
.ab-hero {
  position: relative; overflow: hidden; min-height: 600px;
  display: flex; align-items: center;
  padding: 110px var(--gutter) 60px;
  background: linear-gradient(180deg, #eaf3ff, #f4f8ff);
}
.ab-hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  background: url('https://images.unsplash.com/photo-1560179707-f14e90ef3623?auto=format&fit=crop&w=2000&q=80') 60% 40% / cover;
  filter: brightness(1.12) saturate(.78) contrast(.95);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 14%, #000 34%);
}
.ab-hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(235,244,255,.45) 0%, rgba(235,244,255,0) 45%), linear-gradient(0deg, rgba(210,230,255,.35), rgba(210,230,255,0) 40%); }
.ab-hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #edf5ff 0%, #edf5ff 30%, rgba(237,245,255,.7) 40%, rgba(237,245,255,0) 56%),
    linear-gradient(0deg, rgba(244,248,255,.9) 0%, rgba(244,248,255,0) 22%);
}
.ab-sign {
  position: absolute; left: 34%; top: 20%; display: flex; align-items: center; gap: 12px;
  padding: 16px 22px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(20,70,170,.72), rgba(10,40,110,.55));
  border: 1px solid rgba(160,200,255,.45);
  box-shadow: 0 0 40px rgba(60,140,255,.35), inset 0 0 20px rgba(255,255,255,.08);
  transform: perspective(900px) rotateY(-18deg) rotateZ(-2deg);
  backdrop-filter: blur(2px);
}
.ab-sign img { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(120,190,255,.7)); }
.ab-sign span { font: 700 20px/1.1 var(--display); color: #fff; letter-spacing: -.01em; text-shadow: 0 0 14px rgba(120,190,255,.7); }
.ab-sign b { display: block; color: #7cd0ff; }
.ab-script { position: absolute; z-index: 2; right: 4%; top: 22%; font: 600 32px/1.12 var(--script); color: #fff; text-align: center; transform: rotate(-10deg); text-shadow: 0 2px 16px rgba(0,30,90,.45); }
.ab-hero-copy { position: relative; z-index: 3; max-width: 560px; }
.ab-hero h1 { margin: 6px 0 16px; font-weight: 800; letter-spacing: -.035em; }
.ab-hero h1 .ab-brand { display: block; font-size: clamp(48px, 5vw, 74px); line-height: 1.05; margin-bottom: 8px; }
.ab-hero h1 .ln { display: block; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.2; }
.ab-hero h1 em { font-style: normal; color: #1466ef; }
.ab-hero-copy > p { color: #3f526b; font-size: 15px; line-height: 1.7; margin: 0; max-width: 520px; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ab-actions .pill { min-height: 48px; font-size: 14px; }
.ab-ghost { background: #fff; border: 1.5px solid #9fc0f0; color: var(--ab-blue); }
.ab-ghost:hover { border-color: var(--ab-blue); transform: translateY(-2px); }
.ab-glass {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 44px;
  display: flex; gap: 0; padding: 16px 10px; border-radius: 18px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(20,70,150,.2);
}
.ab-glass > div { display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.ab-glass > div + div { border-left: 1px solid rgba(20,70,150,.14); }
.ab-glass-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 26px; color: var(--ab-blue); background: rgba(255,255,255,.8); }
.ab-glass p { margin: 0; font: 700 14px/1.3 var(--display); color: var(--ab-ink); }
.ab-glass small { font: 500 13px var(--sans); color: #52657e; }

/* ---------- Who we are ---------- */
.ab-who { display: grid; grid-template-columns: 1.12fr 1fr .8fr; gap: 34px; align-items: center; padding: 40px var(--gutter) 30px; }
.ab-who-copy > p { color: var(--ab-muted); font-size: 14.5px; line-height: 1.7; margin: 0 0 12px; }
.ab-quote { display: flex; gap: 16px; margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--ab-blue); }
.ab-quote svg { font-size: 30px; color: var(--ab-blue); flex-shrink: 0; }
.ab-quote p { margin: 0; font: 500 15.5px/1.6 var(--display); color: var(--ab-ink); }
.ab-who-art { position: relative; aspect-ratio: 1 / 1.08; border-radius: 6px; overflow: hidden; }
.ab-office { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=900&q=80') center / cover; }
.ab-office::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(225,238,255,.2), rgba(225,238,255,.35)); }
.ab-wall { position: absolute; right: 6%; top: 8%; width: 46%; aspect-ratio: 16 / 10; }
.ab-wall .dv-laptop { left: 0; right: 0; top: 0; }
.ab-wall .dv-base { display: none; }
.ab-desk { position: absolute; left: 8%; right: 6%; bottom: 10%; height: 50%; }
.ab-desk .dv-laptop { left: 4%; width: 66%; bottom: 0; }
.ab-desk .dv-tablet { right: 0; width: 34%; bottom: 0; }
.ab-desk .dv-tablet .dv-screen { aspect-ratio: 4 / 3; }
.ab-who-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.ab-who-list li { display: flex; align-items: center; gap: 14px; }
.ab-li-ic { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-size: 24px; color: var(--ab-blue); background: #eef5ff; transition: transform .4s, background .4s, color .4s; }
.ab-who-list li:hover .ab-li-ic { transform: rotate(-8deg) scale(1.06); background: var(--ab-blue); color: #fff; }
.ab-who-list strong { display: block; font: 700 14.5px var(--display); color: var(--ab-ink); }
.ab-who-list small { font-size: 13px; color: #5b6d85; }

/* ---------- Direction ---------- */
.ab-direction { position: relative; overflow: hidden; padding-top: 50px; padding-bottom: 20px; }
.ab-mountain {
  position: absolute; top: 0; right: 0; width: 60%; height: 100%; pointer-events: none;
  background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1600&q=70') center 40% / cover;
  opacity: .2; filter: saturate(.35) brightness(1.2);
  mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(0deg, transparent 10%, #000 60%);
  mask-composite: intersect; -webkit-mask-composite: source-in;
}
.ab-dir-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-dir {
  display: flex; gap: 18px; padding: 24px 24px 26px; border-radius: 14px;
  background: rgba(255,255,255,.94); border: 1px solid var(--ab-line); box-shadow: 0 14px 34px rgba(20,60,120,.07);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.ab-dir:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,90,170,.14); }
.ab-dir-ic { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 30px; color: var(--ab-blue); background: #eef5ff; }
.ab-dir h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 8px; }
.ab-dir p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ab-muted); }

/* ---------- Process ---------- */
.ab-process { padding-top: 56px; }
.ab-steps { list-style: none; padding: 14px 0 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ab-step {
  position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: visible;
  background: #fff; border: 1px solid var(--ab-line); box-shadow: 0 14px 34px rgba(20,60,120,.07);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.ab-step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,90,170,.14); }
.ab-num { position: absolute; left: 12px; top: -14px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2b86ff, #0b5ce8); color: #fff; font: 700 12px var(--display); box-shadow: 0 6px 14px rgba(20,103,230,.35); }
.ab-step-top { display: flex; gap: 10px; padding: 26px 16px 14px; }
.ab-dot { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: linear-gradient(135deg, #3aa0ff, #1467e6); }
.ab-step h3 { font-size: 15px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.ab-step p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ab-muted); }
.ab-step-img { position: relative; margin: auto 10px 10px; aspect-ratio: 16 / 9.4; border-radius: 10px; overflow: hidden; background: #e5eef9 center / cover; filter: saturate(.85); transition: filter .4s; }
.ab-step:hover .ab-step-img { filter: none; }
.ab-step-ui { background: linear-gradient(135deg, #eef5ff, #d9e8ff); filter: none; }
.ab-step-ui .dv-laptop { left: 8%; width: 70%; bottom: -6%; }
.ab-step-ui .dv-phone { right: 8%; width: 18%; bottom: 6%; }
.ab-step-dash { background: linear-gradient(135deg, #f1f6fd, #dde9f8); filter: none; }
.ab-step-dash .dv-laptop { left: 10%; width: 86%; bottom: -8%; transform: rotate(-6deg); }

/* ---------- Capabilities ---------- */
.ab-caps { padding-top: 56px; }
.ab-cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ab-cap { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--ab-line); box-shadow: 0 14px 34px rgba(20,60,120,.07); color: inherit; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.ab-cap:hover { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(20,90,170,.16); }
.ab-cap-img { position: relative; aspect-ratio: 16 / 7.6; overflow: hidden; background: center / cover; }
.ab-cap-img.c1 { background-image: linear-gradient(180deg, rgba(220,235,255,.2), rgba(220,235,255,.5)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=700&q=70'); }
.ab-cap-img.c2 { background-image: linear-gradient(180deg, rgba(235,242,250,.4), rgba(235,242,250,.6)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=700&q=70'); }
.ab-cap-img.c3 { background: radial-gradient(ellipse at 50% 60%, #d7e8ff, #eef5ff 70%); }
.ab-cap-img.c4 { background-image: linear-gradient(180deg, rgba(240,246,252,.5), rgba(240,246,252,.7)), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=700&q=70'); }
.ab-cap-img .dv-stage { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ab-cap:hover .ab-cap-img .dv-stage { transform: translateY(-4px) scale(1.04); }
.ab-cap-img.c1 .dv-laptop { left: 18%; width: 64%; bottom: -10%; }
.ab-cap-img.c2 .dv-laptop { left: 14%; width: 62%; bottom: -12%; transform: perspective(700px) rotateY(18deg) rotateX(6deg); }
.ab-cap-img.c4 .dv-laptop { left: 10%; width: 68%; bottom: -12%; }
.ab-apps { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ab-cap:hover .ab-apps { transform: translateY(-4px) scale(1.04); }
.ab-apps > i { position: absolute; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(20,70,150,.18); }
.ab-apps > i::before { content: ""; position: absolute; left: 12%; right: 12%; top: 12%; height: 42%; border-radius: 5px; background: linear-gradient(135deg, #cfe2ff, #8fb9ff); }
.ab-apps > i::after { content: ""; position: absolute; left: 12%; right: 30%; bottom: 14%; height: 10%; border-radius: 3px; background: #dbe6f3; }
.ab-apps .a1 { left: 30%; top: 16%; width: 20%; height: 66%; }
.ab-apps .a2 { left: 53%; top: 10%; width: 22%; height: 74%; }
.ab-apps .a3 { left: 12%; top: 34%; width: 15%; height: 46%; opacity: .9; }
.ab-app { position: absolute; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 17px; box-shadow: 0 8px 16px rgba(20,60,140,.25); }
.ab-app.fb { left: 22%; top: 12%; background: #1877f2; }
.ab-app.ig { right: 16%; top: 16%; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ab-app.yt { left: 40%; bottom: 10%; background: #1467e6; }
.ab-app.tt { right: 12%; bottom: 20%; background: #ef4444; }
.ab-cap-body { padding: 16px 18px 20px; }
.ab-cap h3 { font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.ab-cap p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ab-muted); }

/* ---------- Values ---------- */
.ab-values {
  margin-top: 56px; padding: 40px var(--gutter);
  background:
    radial-gradient(ellipse 40% 90% at 90% 50%, rgba(40,110,230,.3), transparent 70%),
    radial-gradient(ellipse 30% 80% at 10% 100%, rgba(20,80,200,.3), transparent 70%),
    linear-gradient(120deg, #0a2a62, #06214d 50%, #041a3e);
}
.ab-values-inner { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); align-items: start; }
.ab-values-head h2 { color: #fff; font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 10px; line-height: 1.2; }
.ab-values-head { padding-right: 34px; }
.ab-values-head p { margin: 0; color: #c1d1e8; font-size: 14px; line-height: 1.65; max-width: 380px; }
.ab-val { padding: 6px 22px 6px 26px; border-left: 1px solid rgba(120,170,255,.25); }
.ab-val-ic { display: grid; place-items: start; font-size: 40px; color: #5fb2ff; margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(80,160,255,.55)); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ab-val:hover .ab-val-ic { transform: perspective(300px) rotateY(360deg); }
.ab-val h3 { color: #5fb2ff; font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.ab-val p { margin: 0; color: #c8d6ea; font-size: 13.5px; line-height: 1.55; }

/* ---------- Future ---------- */
.ab-future { padding-top: 48px; padding-bottom: 44px; background: linear-gradient(180deg, #f7faff, #fff); }
.ab-fut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-fut { display: flex; align-items: center; gap: 22px; padding: 18px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--ab-line); box-shadow: 0 14px 34px rgba(20,60,120,.07); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.ab-fut:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,90,170,.14); }
.ab-fut h3 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.ab-fut p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ab-muted); }
.ab-3d { position: relative; width: 108px; height: 84px; flex-shrink: 0; perspective: 500px; }
/* Isometric cubes (SVG) */
.ab-cubes svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 12px rgba(20,90,220,.25)); }
.ab-cubes .cb-top { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ab-fut:hover .ab-cubes .cb-top { transform: translateY(-6px); }
/* Stacked layers */
.ab-layers i { position: absolute; left: 22px; width: 64px; height: 64px; border-radius: 10px; transform: rotateX(60deg) rotateZ(45deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); box-shadow: 0 8px 18px rgba(20,90,220,.25); }
.ab-layers i:nth-child(1) { top: 26px; background: linear-gradient(135deg, #1257e0, #0b3fb0); }
.ab-layers i:nth-child(2) { top: 12px; background: linear-gradient(135deg, #4a8fff, #1f63e8); opacity: .9; }
.ab-layers i:nth-child(3) { top: -2px; background: linear-gradient(135deg, #bcd8ff, #7fb2ff); opacity: .9; }
.ab-fut:hover .ab-layers i:nth-child(3) { transform: rotateX(60deg) rotateZ(45deg) translateZ(20px); }
.ab-fut:hover .ab-layers i:nth-child(2) { transform: rotateX(60deg) rotateZ(45deg) translateZ(10px); }
/* Rising bars + arrow */
.ab-bars i { position: absolute; bottom: 4px; width: 16px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #5aa2ff, #1257e0); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ab-bars i:nth-child(1) { left: 14px; height: 22px; opacity: .6; }
.ab-bars i:nth-child(2) { left: 36px; height: 36px; opacity: .75; }
.ab-bars i:nth-child(3) { left: 58px; height: 50px; }
.ab-bars i:nth-child(4) { left: 80px; height: 64px; }
.ab-bars svg { position: absolute; left: 0; top: -4px; width: 104px; height: auto; filter: drop-shadow(0 6px 10px rgba(20,103,230,.3)); }
.ab-fut:hover .ab-bars i { transform: scaleY(1.12); }

/* ---------- CTA ---------- */
.ab-cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 20px;
  min-height: 300px; padding: 40px var(--gutter); color: #fff;
  background:
    radial-gradient(ellipse 40% 90% at 72% 60%, rgba(40,120,255,.45), transparent 70%),
    linear-gradient(110deg, #051c46, #082a66 55%, #041637);
}
.ab-cta-wave {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 30% at 80% 90%, rgba(60,150,255,.55), transparent 60%),
    radial-gradient(ellipse 50% 20% at 70% 70%, rgba(120,200,255,.25), transparent 60%);
}
.ab-cta-copy { position: relative; z-index: 2; }
.ab-cta h2 { color: #fff; font-size: clamp(21px, 1.95vw, 28px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 10px; }
.ab-cta p { margin: 0; color: #c9d8f0; font-size: 15px; }
.ab-white { background: #fff; color: #0b2a6b; box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.ab-white:hover { transform: translateY(-2px); }
.ab-ghost-dark { border: 1.5px solid rgba(120,170,255,.6); color: #fff; background: rgba(20,60,140,.25); }
.ab-ghost-dark:hover { background: rgba(40,100,220,.4); transform: translateY(-2px); }
.ab-cta-art { position: relative; z-index: 2; height: 260px; }
.ab-cta-art .dv-laptop { left: 20%; width: 56%; bottom: 0; }
.ab-cta-art .dv-tablet { left: 4%; width: 18%; bottom: 6px; transform: perspective(600px) rotateY(18deg); }
.ab-cta-art .dv-phone { left: 70%; width: 11%; bottom: 4px; }
.ab-cta-art .dv-phone2 { left: 82%; width: 12%; bottom: 2px; }
.ab-cta-art .dv-stage { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ab-cta-script { position: absolute; z-index: 3; right: 3%; top: 18%; font: 600 30px/1.12 var(--script); color: #fff; text-align: center; transform: rotate(-10deg); opacity: .92; }

@media (min-width: 1181px) { .ab-cta h2 { white-space: nowrap; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .ab-hero { min-height: 560px; }
  .ab-hero-photo { width: 72%; }
  .ab-glass { left: var(--gutter); right: auto; }
  .ab-script { display: none; }
  .ab-who { grid-template-columns: 1fr 1fr; }
  .ab-who-list { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .ab-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .ab-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-values-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
  .ab-values-head { grid-column: 1 / -1; }
  .ab-val:nth-child(2) { border-left: 0; padding-left: 0; }
  .ab-fut-grid, .ab-dir-grid { grid-template-columns: 1fr; max-width: 640px; }
  .ab-cta { grid-template-columns: 1fr; }
  .ab-cta-script { display: none; }
}
@media (max-width: 860px) {
  .ab-who { grid-template-columns: 1fr; }
  .ab-who-list { grid-template-columns: 1fr 1fr; }
  .ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-values-inner { grid-template-columns: 1fr 1fr; }
  .ab-val:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .ab-hero { flex-direction: column; align-items: stretch; padding: 90px var(--gutter) 30px; min-height: 0; }
  .ab-hero-photo { position: relative; order: 2; width: auto; height: 240px; margin: 24px calc(var(--gutter) * -1) 0; }
  .ab-hero-fade { background: linear-gradient(180deg, #edf5ff 0%, #edf5ff 55%, rgba(237,245,255,0) 70%); }
  .ab-sign { left: 30%; top: 18%; padding: 10px 14px; }
  .ab-sign span { font-size: 14px; }
  .ab-sign img { width: 32px; }
  .ab-hero h1 .ab-brand { font-size: 46px; }
  .ab-hero h1 .ln { font-size: 25px; }
  .ab-actions .pill { flex: 1 1 100%; }
  .ab-glass { position: relative; order: 3; left: 0; bottom: 0; margin-top: -40px; padding: 12px 4px; }
  .ab-glass > div { flex-direction: column; text-align: center; gap: 6px; padding: 0 8px; flex: 1; }
  .ab-glass-ic { width: 40px; height: 40px; font-size: 21px; }
  .ab-glass p { font-size: 12.5px; }
  .ab-glass small { font-size: 12px; }
  .ab-who-list { grid-template-columns: 1fr; }
  .ab-steps, .ab-cap-grid { grid-template-columns: 1fr; }
  .ab-values-inner { grid-template-columns: 1fr 1fr; }
  .ab-val { padding: 0 0 0 14px; }
  .ab-val:nth-child(2), .ab-val:nth-child(4) { border-left: 0; padding-left: 0; }
  .ab-fut { padding: 16px; gap: 14px; }
  .ab-3d { transform: scale(.85); transform-origin: left center; width: 92px; }
  .ab-cta-art { height: 200px; }
}

/* =========================================================
   Premium 3D (html.fx3d is set by about.js; skipped for reduced motion)
   Start (hero) and end (CTA) get the big moments; the middle only reacts on hover.
   ========================================================= */
.fx3d .ab-hero-photo { transform: scale(calc(1.12 - var(--out, 0) * -.1)) translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px)); transition: transform 1.8s cubic-bezier(.16,.84,.24,1), opacity 1.2s; transform-origin: 70% 50%; }
.fx3d .ab-hero:not(.play) .ab-hero-photo { opacity: 0; transform: scale(1.3); }
.fx3d .ab-hero.play .ab-hero-photo { transform: scale(calc(1.04 + var(--out, 0) * .12)) translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px)); }
.fx3d .ab-hero.ready .ab-hero-photo { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.fx3d .ab-sign { transition: opacity .9s .7s, transform 1.4s .7s cubic-bezier(.16,.84,.24,1); }
.fx3d .ab-hero:not(.play) .ab-sign { opacity: 0; transform: perspective(900px) rotateY(-70deg) translateZ(-120px); }
.fx3d .ab-hero.play .ab-sign { animation: ab-glow 3.2s 2s ease-in-out infinite; }
@keyframes ab-glow { 50% { box-shadow: 0 0 70px rgba(80,160,255,.6), inset 0 0 26px rgba(255,255,255,.14); } }
.fx3d .ab-script { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s 1.2s ease-out, translate .6s cubic-bezier(.2,.8,.2,1); translate: calc(var(--px, 0) * 26px) calc(var(--py, 0) * 16px); }
.fx3d .play .ab-script { clip-path: inset(-10% -10% -10% -10%); }
.fx3d .ab-hero .ab-badge { opacity: 0; transform: translateY(-14px); transition: opacity .6s, transform .8s cubic-bezier(.16,.84,.24,1); }
.fx3d .ab-hero h1 > span, .fx3d .ab-hero h1 > em { transform-origin: 50% 100%; opacity: 0; transform: perspective(700px) translateY(34px) rotateX(-55deg); transition: opacity .8s, transform 1.1s cubic-bezier(.16,.84,.24,1); }
.fx3d .ab-hero h1 > :nth-child(1) { transition-delay: .1s; }
.fx3d .ab-hero h1 > :nth-child(2) { transition-delay: .22s; }
.fx3d .ab-hero h1 > :nth-child(3) { transition-delay: .34s; }
.fx3d .ab-hero h1 > :nth-child(4) { transition-delay: .46s; }
.fx3d .ab-hero-copy > p, .fx3d .ab-hero .ab-actions { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform 1s cubic-bezier(.16,.84,.24,1); }
.fx3d .ab-hero-copy > p { transition-delay: .6s; }
.fx3d .ab-hero .ab-actions { transition-delay: .72s; }
.fx3d .play .ab-badge, .fx3d .play h1 > span, .fx3d .play h1 > em, .fx3d .play .ab-hero-copy > p, .fx3d .play .ab-actions { opacity: 1; transform: none; }
.fx3d .ab-glass { transition: opacity .9s 1s, transform 1.2s 1s cubic-bezier(.16,.84,.24,1), translate .6s cubic-bezier(.2,.8,.2,1); translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -10px); }
.fx3d .ab-hero:not(.play) .ab-glass { opacity: 0; transform: perspective(1000px) rotateX(-60deg) translateY(60px); }
.fx3d .ab-glass > div { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.fx3d .ab-glass > div:hover { transform: translateY(-4px); }
.fx3d .ab-glass-ic { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.fx3d .ab-glass > div:hover .ab-glass-ic { transform: perspective(300px) rotateY(360deg); }

/* End: CTA — devices rise and swing in, light sweeps across */
.fx3d .ab-cta-art.reveal { transition: opacity .9s, transform 1.4s cubic-bezier(.16,.84,.24,1); }
.fx3d .ab-cta-art.reveal:not(.in) { opacity: 0; transform: perspective(1200px) rotateX(35deg) translateY(80px) scale(.9); }
.fx3d .ab-cta-art .dv { transition: opacity .8s, transform 1.2s cubic-bezier(.16,.84,.24,1); }
.fx3d .ab-cta-art:not(.in) .dv-tablet { opacity: 0; transform: perspective(600px) rotateY(70deg) translateX(-60px); }
.fx3d .ab-cta-art:not(.in) .dv-phone { opacity: 0; transform: translateY(60px) rotateY(-50deg); }
.fx3d .ab-cta-art.in .dv-tablet { transition-delay: .5s; }
.fx3d .ab-cta-art.in .dv-phone { transition-delay: .65s; }
.fx3d .ab-cta-art.in .dv-phone2 { transition-delay: .8s; }
.fx3d .ab-cta-script { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s 1s ease-out; }
.fx3d .ab-cta:has(.ab-cta-art.in) .ab-cta-script { clip-path: inset(-10% -10% -10% -10%); }
.fx3d .ab-cta-wave { animation: ab-wave 9s ease-in-out infinite alternate; }
@keyframes ab-wave { to { transform: translateX(-6%) scaleY(1.15); } }
.fx3d .ab-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(120,180,255,.18), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.fx3d .ab-cta:hover::after { opacity: 1; }

@media (max-width: 640px) {
  .fx3d .ab-sign { transform: perspective(900px) rotateY(-18deg) rotateZ(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ab-hero .ab-script, .ab-cta-script { clip-path: none; }
}
