/* ==========================================================================
   ABOUT PAGE — additional styles only
   Loaded after style.css
   ========================================================================== */

/* ---------- PAGE HERO (dark banner at top of inner pages) ---------- */
.page-hero{
  position:relative;
  padding:96px 0 84px;
  background:linear-gradient(120deg,var(--navy) 0%,var(--navy-2) 100%);
  overflow:hidden;
}
.page-hero::after{
  content:'';
  position:absolute;
  right:-120px; top:-120px;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(230,57,70,.22),transparent 68%);
  pointer-events:none;
}
.page-hero__inner{
  position:relative;
  z-index:1;
  max-width:780px;
}
.page-hero h1{
  color:#fff;
  margin-bottom:16px;
  font-size:clamp(2rem,4.4vw,3.4rem);
  font-weight:800;
  line-height:1.15;
}
.page-hero p{
  color:rgba(255,255,255,.80);
  font-size:1.06rem;
  margin:0;
  max-width:62ch;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.82rem;
  color:rgba(255,255,255,.62);
  margin-bottom:18px;
}
.breadcrumb a{
  color:rgba(255,255,255,.78);
  transition:color var(--t-fast);
}
.breadcrumb a:hover{ color:#fff; }
.breadcrumb span[aria-hidden]{
  color:var(--accent);
  font-size:1.05rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  .page-hero{ padding:84px 0 72px; }
}
@media (max-width:768px){
  .page-hero{ padding:72px 0 62px; }
  .page-hero h1{ font-size:clamp(1.6rem,6vw,2.2rem); }
  .page-hero p{ font-size:.96rem; }
}
@media (max-width:560px){
  .page-hero{ padding:62px 0 54px; }
  .breadcrumb{ font-size:.76rem; margin-bottom:14px; }
}
/* =========================================================
   LEADING BRANDS MARQUEE
   ========================================================= */
.brands-marquee{
  position:relative;
  overflow:hidden;
  padding:20px 0;
  margin-top:20px;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);
}

.brands-marquee__track{
  display:flex;
  align-items:center;
  gap:40px;
  width:max-content;
  animation:brandsScroll 38s linear infinite;
  will-change:transform;
}

/* Pause on hover */
.brands-marquee:hover .brands-marquee__track{
  animation-play-state:paused;
}

/* Each brand tile */
.brand-logo{
  flex:none;
  display:grid;
  place-items:center;
  width:170px;
  height:110px;
  padding:24px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow:0 2px 8px rgba(11,31,51,.04);
  transition:transform var(--t), box-shadow var(--t), border-color var(--t);
}

.brand-logo img{
  max-width:100%;
  max-height:52px;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  filter:grayscale(.65);
  opacity:.78;
  transition:filter var(--t), opacity var(--t), transform var(--t);
}

/* Hover effect — colour + lift + zoom */
.brand-logo:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 38px rgba(11,31,51,.14);
  border-color:transparent;
}
.brand-logo:hover img{
  filter:grayscale(0);
  opacity:1;
  transform:scale(1.08);
}

/* Infinite scroll animation */
@keyframes brandsScroll{
  from{ transform:translateX(0); }
  to  { transform:translateX(-50%); }
}

/* Responsive */
@media (max-width:1200px){
  .brands-marquee__track{ gap:32px; }
  .brand-logo{ width:150px; height:96px; padding:20px; }
  .brand-logo img{ max-height:44px; }
}

@media (max-width:768px){
  .brands-marquee__track{ gap:24px; animation-duration:30s; }
  .brand-logo{ width:130px; height:84px; padding:18px; border-radius:var(--r-sm); }
  .brand-logo img{ max-height:38px; }
}

@media (max-width:560px){
  .brands-marquee__track{ gap:18px; animation-duration:26s; }
  .brand-logo{ width:110px; height:72px; padding:14px; }
  .brand-logo img{ max-height:32px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .brands-marquee__track{ animation:none; }
}
/* =========================================================
   MEET OUR TEAM — SHIFTING WINDOW (4 visible, slide every 1s)
   ========================================================= */
/* =========================================================
   MEET OUR TEAM — PAGE-BASED SLIDER (4 per page)
   ========================================================= */
.team-carousel{
  position:relative;
  max-width:1300px;
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Arrows ---------- */
.team-carousel__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid var(--line-strong);
  background:#fff;
  color:var(--navy);
  border-radius:50%;
  box-shadow:0 8px 24px rgba(11,31,51,.10);
  cursor:pointer;
  transition:background var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.team-carousel__arrow:hover{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  transform:translateY(-50%) scale(1.08);
}
.team-carousel__arrow svg{
  width:20px; height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.team-carousel__arrow--prev{ left:-8px; }
.team-carousel__arrow--next{ right:-8px; }

/* ---------- Viewport + track ---------- */
.team-carousel__viewport{
  position:relative;
  overflow:hidden;
  padding:14px 4px;
}
.team-carousel__track{
  display:flex;
  gap:24px;
  will-change:transform;
  transition:transform .7s cubic-bezier(.22,.7,.25,1);
}

/* ---------- One team card = 1/4 of the viewport ---------- */
.team-card{
  flex:0 0 calc((100% - 72px) / 4);   /* 4 visible · 3 gaps of 24px */
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  box-sizing:border-box;
}

/* Circular photo */
.team-card__photo{
  position:relative;
  width:180px;
  height:180px;
  border-radius:50%;
  margin-bottom:28px;
  flex:none;
  overflow:hidden;
  background:#f0f3f7;
}
.team-card__photo img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:transform .6s var(--ease);
}
.team-card:hover .team-card__photo img{
  transform:scale(1.06);
}

/* Name */
.team-card__name{
  font-family:var(--font-head);
  font-size:1.3rem;
  font-weight:800;
  color:#1a1a1a;
  margin:0 0 8px;
  line-height:1.2;
  letter-spacing:-.01em;
}

/* Role */
.team-card__role{
  font-family:var(--font-body);
  font-size:.95rem;
  font-weight:400;
  color:#5a6572;
  margin:0 0 20px;
  line-height:1.4;
}

/* Socials */
.team-card__socials{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.team-card__socials a{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#eef1f4;
  color:#1a1a1a;
  transition:background var(--t), transform var(--t), color var(--t);
}
.team-card__socials a:hover{
  background:var(--accent);
  color:#ffffff;
  transform:translateY(-3px);
}
.team-card__socials svg{
  width:16px;
  height:16px;
}

/* ---------- Dots ---------- */
.team-carousel__dots{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:44px;
}
.team-carousel__dots button{
  width:34px;
  height:4px;
  border:0;
  padding:0;
  border-radius:100px;
  background:rgba(11,31,51,.22);
  cursor:pointer;
  transition:background var(--t), width var(--t), transform var(--t);
}
.team-carousel__dots button:hover{
  background:rgba(11,31,51,.42);
  transform:scaleY(1.6);
}
.team-carousel__dots button.is-active{
  background:var(--accent);
  width:56px;
  box-shadow:0 0 14px rgba(230,57,70,.5);
}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .team-card{ flex-basis:calc((100% - 48px) / 3); }   /* 3 visible */
  .team-card__photo{ width:150px; height:150px; margin-bottom:22px; }
  .team-card__name{ font-size:1.15rem; }
  .team-card__role{ font-size:.88rem; margin-bottom:16px; }
  .team-card__socials a{ width:38px; height:38px; }
  .team-carousel__arrow{ width:46px; height:46px; }
  .team-carousel__arrow--prev{ left:-4px; }
  .team-carousel__arrow--next{ right:-4px; }
}

@media (max-width:768px){
  .team-carousel__track{ gap:16px; }
  .team-card{ flex-basis:calc((100% - 16px) / 2); }   /* 2 visible */
  .team-card__photo{ width:140px; height:140px; margin-bottom:20px; }
  .team-card__name{ font-size:1.05rem; }
  .team-card__role{ font-size:.84rem; }
  .team-carousel__arrow{ width:42px; height:42px; }
  .team-carousel__arrow--prev{ left:-6px; }
  .team-carousel__arrow--next{ right:-6px; }
}

@media (max-width:560px){
  .team-carousel{ padding:0 16px; }
  .team-card{ flex-basis:100%; }                      /* 1 visible */
  .team-card__photo{ width:170px; height:170px; }
  .team-card__name{ font-size:1.2rem; }
  .team-card__role{ font-size:.9rem; }
  .team-carousel__arrow{
    width:38px; height:38px;
    box-shadow:0 6px 16px rgba(11,31,51,.18);
  }
  .team-carousel__arrow--prev{ left:-8px; }
  .team-carousel__arrow--next{ right:-8px; }
}

@media (prefers-reduced-motion: reduce){
  .team-carousel__track{ transition:none; }
  .team-card:hover .team-card__photo img{ transform:none; }
}
/* =========================================================
   PAGE HERO — LIVE STATS
   ========================================================= */
.page-hero__stats{
  display:flex;
  align-items:center;
  gap:0;
  margin-top:46px;
  padding-top:34px;
  border-top:1px solid rgba(255,255,255,.14);
  flex-wrap:wrap;
}

.page-hero__stat{
  flex:1 1 0;
  min-width:140px;
  padding:0 32px;
  position:relative;
  text-align:left;
}
.page-hero__stat:first-child{ padding-left:0; }
.page-hero__stat + .page-hero__stat::before{
  content:'';
  position:absolute;
  left:0; top:6px; bottom:6px;
  width:1px;
  background:rgba(255,255,255,.14);
}

/* Big number */
.page-hero__stat-value{
  display:flex;
  align-items:baseline;
  gap:2px;
  font-family:var(--font-head);
  font-size:clamp(1.9rem,3.2vw,2.6rem);
  font-weight:800;
  color:#ffffff;
  line-height:1;
  letter-spacing:-.03em;
  margin-bottom:8px;
}
.page-hero__stat-value sup{
  font-size:.5em;
  color:var(--accent);
  font-weight:800;
  top:-.15em;
  position:relative;
}
.page-hero__stat-value--text{
  font-size:clamp(1.6rem,2.8vw,2.2rem);
  color:#ffffff;
}

/* Label */
.page-hero__stat-label{
  display:block;
  font-family:var(--font-head);
  font-size:.82rem;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
  line-height:1.4;
}

/* ---------- Responsive ---------- */
@media (max-width:768px){
  .page-hero__stats{
    margin-top:36px;
    padding-top:28px;
    gap:24px 0;
  }
  .page-hero__stat{
    flex:1 1 calc(50% - 16px);
    min-width:0;
    padding:0 20px;
  }
  .page-hero__stat:nth-child(3){
    flex-basis:100%;
    padding-left:0;
    margin-top:6px;
  }
  .page-hero__stat:nth-child(3)::before{ display:none; }
  .page-hero__stat:nth-child(2){ padding-right:0; }
}

@media (max-width:560px){
  .page-hero__stats{
    margin-top:30px;
    padding-top:24px;
    gap:22px 0;
  }
  .page-hero__stat{
    flex:1 1 100%;
    padding:0;
    text-align:left;
  }
  .page-hero__stat + .page-hero__stat::before{
    display:none;
  }
  .page-hero__stat + .page-hero__stat{
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.12);
  }
  .page-hero__stat-value{ font-size:1.9rem; }
  .page-hero__stat-value--text{ font-size:1.7rem; }
  .page-hero__stat-label{ font-size:.74rem; }
}
.about__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-xl);
}

.about__media .media--4x3 {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  background-image: var(--img);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: inherit;
}
/* ================================
   ABOUT MEDIA - RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 992px) {
  .about__media {
    width: 100%;
  }

  .about__media .media--4x3 {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}


/* Mobile */
@media (max-width: 768px) {
  .about__media {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .about__media .media--4x3 {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }
}


/* Small Mobile */
@media (max-width: 480px) {
  .about__media {
    width: 100%;
    overflow: hidden;
    border-radius: var(--r-xl);
  }

  .about__media .media--4x3 {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: inherit;
  }
}