/* ══════════════════════════════
   About page — prefix: ab-
   Root: #redia-about
   ══════════════════════════════ */

:root {
  --ab-dark: #121c27;
  --ab-dark2: #16202b;
  --ab-dark3: #131b24;
  --ab-light: #f5f5f5;
  --ab-white: #fff;
  --ab-head: #121c27;
  --ab-sub: #4b535d;
  --ab-w-head: #fff;
  --ab-w-sub: #b8bfc5;
  --ab-brd-d: rgba(255,255,255,.10);
  --ab-brd-l: rgba(0,0,0,.10);
  --ab-ft-t: 'Urbanist', sans-serif;
  --ab-ft-b: 'Mulish', sans-serif;
  --ab-tr: all .35s ease;
}

#redia-about { background: #ffffff; }

/* section utility */
.ab-sec { padding: 110px 0; }
@media (max-width: 991px) { .ab-sec { padding: 80px 0; } }
@media (max-width: 767px) { .ab-sec { padding: 60px 0; } }
.ab-sec--light  { background: var(--ab-light); }
.ab-sec--white  { background: var(--ab-white); }
.ab-sec--dark   { background: var(--ab-dark3); }
.ab-sec--dark2  { background: var(--ab-dark);  }

/* eyebrow */
.ab-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ab-ft-t); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px;
}
.ab-eyebrow--dark  { color: var(--ab-sub); }
.ab-eyebrow--light { color: var(--ab-w-sub); }
.ab-eyebrow::before { content: ''; width: 36px; height: 1px; flex-shrink: 0; }
.ab-eyebrow--dark::before  { background: var(--ab-sub); }
.ab-eyebrow--light::before { background: var(--ab-w-sub); }

/* headings & text */
.ab-h2--dark  { font-family: var(--ab-ft-t); font-size: clamp(28px,3.2vw,52px); font-weight: 700; color: var(--ab-head); line-height: 1.2; margin: 0 0 24px; }
.ab-h2--light { font-family: var(--ab-ft-t); font-size: clamp(28px,3.2vw,52px); font-weight: 700; color: var(--ab-w-head); line-height: 1.2; margin: 0 0 24px; }
.ab-p--dark   { font-family: var(--ab-ft-b); font-size: 16px; line-height: 1.8; color: var(--ab-sub); }
.ab-p--light  { font-family: var(--ab-ft-b); font-size: 16px; line-height: 1.8; color: var(--ab-w-sub); }

/* buttons */
.ab-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ab-ft-t); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 14px 40px; border-radius: 30px; border: none;
  cursor: pointer; transition: var(--ab-tr); text-decoration: none;
}
.ab-btn--dark  { background: var(--ab-dark);  color: #fff; }
.ab-btn--dark:hover  { background: #1e2d3d; color: #fff; }
.ab-btn--light { background: #fff; color: var(--ab-dark); }
.ab-btn--light:hover { background: rgba(255,255,255,.85); color: var(--ab-dark); }
.ab-btn i { transition: transform .35s ease; }
.ab-btn:hover i { transform: rotate(45deg); }

/* about split */
.ab-about__img-col { align-self: flex-start; }

/* DNA section image */
.ab-dna__img-col { position: sticky; top: 100px; height: fit-content; align-self: flex-start; }
@media (max-width: 991px) { .ab-dna__img-col { position: static; margin-top: 40px; } }
.ab-dna__img { overflow: hidden; box-shadow: 0 32px 80px rgba(18,28,39,.13); }
.ab-dna__img img { width: 100%; height: 560px; object-fit: cover; display: block; transition: transform .7s ease; }
.ab-dna__img:hover img { transform: scale(1.04); }
@media (max-width: 991px) { .ab-dna__img img { height: 360px; } }
.ab-about__img { position: relative; z-index: 1; height: 580px; }
@media (max-width: 991px) { .ab-about__img { height: 480px; } }
@media (max-width: 767px)  { .ab-about__img { height: 320px; } }
.ab-about__parallax { position: absolute; inset: 0; }
/* .gsap__parallax > img (global) handles height:100%, object-fit:cover */
.ab-about__rect { position: absolute; bottom: -25px; right: -25px; width: 120px; height: 120px; z-index: 2; }
.ab-about__rect .r1 { position: absolute; top: 0; right: 0; width: 0; height: 60px; background: var(--ab-dark); transition: width .6s ease .2s; }
.ab-about__rect .r2 { position: absolute; bottom: 0; left: 0; width: 60px; height: 0; background: rgba(18,28,39,.3); transition: height .6s ease .5s; }
.ab-about__img:hover .ab-about__rect .r1 { width: 60px; }
.ab-about__img:hover .ab-about__rect .r2 { height: 60px; }
.ab-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; list-style: none; margin: 28px 0 40px; padding: 0; }
@media (max-width: 575px) { .ab-checklist { grid-template-columns: 1fr; } }
.ab-checklist li { display: flex; align-items: center; gap: 10px; font-family: var(--ab-ft-b); font-size: 15px; color: var(--ab-sub); }
.ab-checklist li i { color: var(--ab-dark); font-size: 12px; flex-shrink: 0; }

/* stats strip */
.ab-stats__grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--ab-brd-d); border-bottom: 1px solid var(--ab-brd-d); }
@media (max-width: 767px) { .ab-stats__grid { grid-template-columns: repeat(2,1fr); } }
.ab-stat { padding: 60px 40px; text-align: center; border-right: 1px solid var(--ab-brd-d); transition: var(--ab-tr); }
.ab-stat:last-child { border-right: none; }
@media (max-width: 767px) { .ab-stat:nth-child(2) { border-right: none; } .ab-stat:nth-child(3) { border-right: 1px solid var(--ab-brd-d); } }
.ab-stat:hover { background: var(--ab-dark2); }
.ab-stat__num { font-family: var(--ab-ft-t); font-size: clamp(48px,5vw,80px); font-weight: 700; color: #fff; line-height: 1; display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.ab-stat__num sup { font-size: .45em; margin-top: .15em; }
.ab-stat__label { font-family: var(--ab-ft-t); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--ab-w-sub); margin-top: 12px; }

/* process steps */
.ab-steps__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 60px; }
@media (max-width: 991px) { .ab-steps__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px) { .ab-steps__grid { grid-template-columns: 1fr; } }
.ab-step { background: #fff; padding: 48px 36px; position: relative; overflow: hidden; transition: var(--ab-tr); border: 1px solid var(--ab-brd-l); }
.ab-step:hover { background: var(--ab-dark); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.ab-step .bg-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90%; z-index: 0; opacity: 0; visibility: hidden; transition: var(--ab-tr); pointer-events: none; }
.ab-step .bg-line img { width: 100%; height: 100%; }
.ab-step:hover .bg-line { opacity: 1; visibility: visible; }
.ab-step__num, .ab-step__icon, .ab-step h4, .ab-step p { position: relative; z-index: 1; }
.ab-step__num { font-family: var(--ab-ft-t); font-size: 72px; font-weight: 800; color: rgba(18,28,39,.06); line-height: 1; position: absolute; top: 16px; right: 24px; transition: var(--ab-tr); user-select: none; }
.ab-step:hover .ab-step__num { color: rgba(255,255,255,.08); }
.ab-step__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--ab-light); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; font-size: 22px; color: var(--ab-dark); transition: var(--ab-tr); }
.ab-step:hover .ab-step__icon { background: rgba(255,255,255,.12); color: #fff; }
.ab-step h4 { font-family: var(--ab-ft-t); font-size: 19px; font-weight: 700; color: var(--ab-head); margin: 0 0 14px; transition: var(--ab-tr); }
.ab-step:hover h4 { color: #fff; }
.ab-step p { font-family: var(--ab-ft-b); font-size: 14px; line-height: 1.75; color: var(--ab-sub); transition: var(--ab-tr); margin: 0; }
.ab-step:hover p { color: rgba(255,255,255,.65); }

/* expertise cards — connected grid, no images, pure site card pattern */
.ab-exp__grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: rgba(18,28,39,.1);
  margin-top: 60px;
}
@media (max-width: 991px) { .ab-exp__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px)  { .ab-exp__grid { grid-template-columns: 1fr; } }

.ab-exp__card {
  background: #ffffff;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: background .4s ease;
}
.ab-exp__card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: #121c27;
  transition: width .4s ease; z-index: 3;
}
.ab-exp__card:hover::before { width: 100%; }
.ab-exp__card:hover { background: #121c27; }

/* bg line shape — overlays image area on hover */
.ab-exp__card .ab-bg-line {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 110%; z-index: 2; opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease; pointer-events: none;
}
.ab-exp__card .ab-bg-line img { width: 100%; }
.ab-exp__card:hover .ab-bg-line { opacity: .45; visibility: visible; }

/* text body — grows to fill available space */
.ab-exp__body {
  flex: 1;
  padding: 40px 34px 28px;
  position: relative; z-index: 3;
}

.ab-exp__num {
  font-family: var(--ab-ft-t); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(18,28,39,.2); margin-bottom: 22px;
  transition: color .4s ease;
}
.ab-exp__card:hover .ab-exp__num { color: rgba(255,255,255,.28); }

.ab-exp__icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: #121c27;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #ffffff;
  margin-bottom: 22px;
  transition: background .4s ease, box-shadow .4s ease, transform .35s ease;
}
.ab-exp__card:hover .ab-exp__icon {
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
  transform: scale(1.06);
}

.ab-exp__card h4 {
  font-family: var(--ab-ft-t); font-size: 17px; font-weight: 700;
  color: #121c27; margin: 0 0 10px; transition: color .4s ease;
}
.ab-exp__card:hover h4 { color: #ffffff; }

.ab-exp__card p {
  font-family: var(--ab-ft-b); font-size: 13.5px; line-height: 1.78;
  color: #4b535d; margin: 0; transition: color .4s ease;
}
.ab-exp__card:hover p { color: rgba(255,255,255,.60); }

/* image — flex child, always sits directly below body text */
.ab-exp__img {
  flex-shrink: 0;
  height: 360px; overflow: hidden;
  position: relative; z-index: 1;
}
@media (max-width: 1199px) { .ab-exp__img { height: 320px; } }
@media (max-width: 991px)  { .ab-exp__img { height: 300px; } }
@media (max-width: 575px)  { .ab-exp__img { height: 260px; } }
.ab-exp__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; transition: transform .55s ease;
}
.ab-exp__card:hover .ab-exp__img img { transform: scale(1.06); }

/* team */
.ab-team__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 60px; }
@media (max-width: 1199px) { .ab-team__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px) { .ab-team__grid { grid-template-columns: 1fr; } }
.ab-team__grid--3 { grid-template-columns: repeat(3,1fr); }
@media (max-width: 991px)  { .ab-team__grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px)  { .ab-team__grid--3 { grid-template-columns: 1fr; } }
.ab-team__card { position: relative; overflow: hidden; background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.ab-team__img { overflow: hidden; position: relative; }
.ab-team__img img { width: 100%; height: 320px; object-fit: cover; object-position: top center; transition: transform .5s ease; display: block; }
.ab-team__card:hover .ab-team__img img { transform: scale(1.05); }
.ab-team__socials { position: absolute; top: 18px; right: 18px; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transform: translateX(12px); transition: var(--ab-tr); }
.ab-team__card:hover .ab-team__socials { opacity: 1; visibility: visible; transform: translateX(0); }
.ab-team__socials a { width: 38px; height: 38px; border-radius: 50%; background: var(--ab-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; text-decoration: none; transition: background .3s; }
.ab-team__socials a:hover { background: #1e2d3d; }
.ab-team__info { padding: 26px 28px 32px; }
.ab-team__info h4 { font-family: var(--ab-ft-t); font-size: 18px; font-weight: 700; color: var(--ab-head); margin: 0 0 6px; }
.ab-team__info span { font-family: var(--ab-ft-b); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--ab-sub); display: block; margin-bottom: 14px; }
.ab-team__info p { font-family: var(--ab-ft-b); font-size: 13.5px; line-height: 1.75; color: #6b7480; margin: 0; }

/* testimonials */
.ab-testi__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--ab-brd-d); margin-top: 60px; }
@media (max-width: 991px) { .ab-testi__grid { grid-template-columns: 1fr; } }
.ab-testi__card { background: var(--ab-dark3); padding: 50px 42px; transition: var(--ab-tr); }
.ab-testi__card:hover { background: var(--ab-dark2); }
.ab-testi__quote { font-size: 52px; color: rgba(255,255,255,.15); font-family: Georgia,serif; line-height: 1; margin-bottom: 20px; }
.ab-testi__text { font-family: var(--ab-ft-b); font-size: 16px; line-height: 1.85; color: var(--ab-w-sub); margin: 0 0 32px; font-style: italic; }
.ab-testi__author { display: flex; align-items: center; gap: 14px; padding-top: 28px; border-top: 1px solid var(--ab-brd-d); }
.ab-testi__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.15); }
.ab-testi__author-info h5 { font-family: var(--ab-ft-t); font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.ab-testi__author-info span { font-family: var(--ab-ft-b); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ab-w-sub); }

/* CTA strip */
.ab-cta { background: #ffffff; padding: 100px 0; position: relative; overflow: hidden; border-top: 1px solid rgba(18,28,39,.07); }
.ab-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
@media (max-width: 991px) { .ab-cta__inner { flex-direction: column; align-items: flex-start; } }
@media (max-width: 767px)  { .ab-cta__inner { text-align: center; align-items: center; } }
.ab-cta h2 { font-family: var(--ab-ft-t); font-size: clamp(26px,3.2vw,50px); font-weight: 700; color: #121c27; margin: 0; line-height: 1.18; flex: 1; }
.ab-cta h2 span { color: rgba(18,28,39,.38); }
.ab-cta__shape { position: absolute; pointer-events: none; opacity: .04; }
.ab-cta__shape-1 { right: 0; top: 0; }
.ab-cta__shape-2 { left: 0; bottom: 0; }

/* ── MOBILE RESPONSIVE FIXES ── */
@media (max-width: 767px) {
  .ab-stat                    { padding: 40px 24px; }
  .ab-steps__grid             { grid-template-columns: 1fr; }
  .ab-step                    { padding: 36px 28px; }
  .ab-exp__grid               { grid-template-columns: 1fr; }
  .ab-exp__body               { padding: 28px 24px 22px; }
  .ab-team__grid--3           { grid-template-columns: 1fr; }
  .ab-testi__card             { padding: 36px 28px; }
  .ab-cta                     { padding: 64px 0; }
}
@media (max-width: 575px) {
  .ab-hero__content h1        { letter-spacing: -1px; }
  .ab-checklist               { grid-template-columns: 1fr; }
  .ab-stat__num               { font-size: clamp(36px,10vw,56px); }
}
