:root{
  --max: 1300px;
  --pad: 24px;
--h1:clamp(40px, 5.6vw, 74px);
  --textb: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.14);
--h_colour:rgba(255,255,255,.94);
  --white: #ffffff;
  --dark: #0d0f12;
--btn_ghost:rgba(255,255,255,.95);
  --glass: rgba(255,255,255,.06);
  --glassHover: rgba(255,255,255,.12);
  --textl:rgba(255,255,255,.78);
  --tagh:rgba(0,0,0,.65);
  --black_h:#101214;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:#05070a;
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }

/* =========================
   HERO WRAP / BACKGROUND
========================= */

.hero{
  position: relative;
  height: 100vh;          /* ✅ full screen */
  min-height: 100vh;      /* ✅ enforce */
  display: flex;
  overflow: hidden;
}

.hero__bg{
  position:absolute;
  inset:0;
    will-change: transform;
  /* ✅ Put your logistics image URL or local image here */
  background:
    url("background.jpg")
    center/cover no-repeat;
  transform: scale(1.02);
  filter: contrast(1.02) saturate(.95);
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 700px at 15% 75%, rgba(0,0,0,.78), rgba(0,0,0,.25) 55%, rgba(0,0,0,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.55));
     z-index: 1;
     pointer-events: none;
}

.hero__wrap{
  position:relative;
  width:min(var(--max), 100%);
  margin:0 auto;
  padding: 18px var(--pad) 22px;
  display:flex;
  flex-direction:column;
  gap: 18px;
  z-index: 2;
}
@media (min-width: 981px){
  .parallax-bg{
    background-attachment: fixed;
  }
}

@media (max-width: 980px){
  .parallax-bg{
    background-attachment: scroll; /* disable on mobile */
  }
}

/* =========================
   NAV
========================= */
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 6px 0;
  position: relative;
  z-index: 1000; 
}


.brand{
  display: flex;
  align-items: center;
  min-width: 170px;
}

.brand__logo{
  height: 34px;          /* desktop size */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 980px){
  .brand__logo{
    height: 30px;
  }
  .nav__links{
    z-index: 1100;
  }
}

/* Mobile */
@media (max-width: 520px){
  .brand__logo{
    height: 28px;
  }
}




.nav__links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 26px;
  flex: 1;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.nav__links a{
  opacity:.95;
  transition: opacity .2s ease;
}
.nav__links a:hover{ opacity:1; }
.chev{ font-size: 12px; opacity:.8; margin-left: 4px; }

/* Hamburger (hidden on desktop) */
.nav__toggle{
  display:none;
  margin-left:auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
  cursor:pointer;

}
.nav__toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.92);
  margin: 4px auto;
  border-radius: 2px;
  
}


/* =========================
   COMMON BUTTON SYSTEM
   (nav__cta + hero buttons)
========================= */
.btn,
.nav__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;

  border-radius: 0px;
  border: 1px solid var(--line);

  background: var(--glass);
  color: rgba(255,255,255,.95);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn:hover,
.nav__cta:hover{
  background: var(--glassHover);
  transform: translateY(-1px);
}

.btn--primary{
  background: var(--white);
  color: var(--dark);
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn--primary:hover{
  background: var(--textb);
}

.btn--ghost{
  background: var(--glass);
  color: var(--btn_ghost);
}



/* =========================
   DIVIDERS
========================= */
.divider{
  height: 1px;
  background: var(--line);
}
.divider--bottom{
  margin-top: auto; /* keeps footer line near bottom */
}

/* =========================
   CONTENT
========================= */
.hero__content{
  padding-top: 0;
  /* your working responsive position */
  margin-top: clamp(140px, 20vh, 340px);
  /* gap between content and bottom divider line */
  margin-bottom: clamp(30px, 6vh, 70px);
  max-width: 820px;
}

.hero__content h1{
  margin:0 0 18px;
  font-size: var(--h1);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--h_colour);
}

.hero__content p{
  margin:0 0 26px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  max-width: 680px;
}

.hero__actions{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}

/* =========================
   FOOTER
========================= */
.hero__footer,.muted{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top: 8px;
  color: var(--textl);
  font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .brand{ min-width: 140px; }

  .nav__toggle{ display:block; }

  /* hide desktop CTA on tablet (optional like your original) */
  .nav__cta{ display:none; }

  .nav__links{
    position:absolute;
    top: 74px;
    left: var(--pad);
    right: var(--pad);
    display:none;

    flex-direction:column;
    gap: 14px;
    padding: 14px;

    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .nav__links.open{ display:flex; }

  .hero__content{
   margin-top: clamp(140px, 20vh, 340px);
    margin-bottom: 60px;
  }
}

@media (max-width: 520px){
  :root{ --pad: 16px; }

  .hero{ min-height: 94vh; }

  .hero__content h1{ font-size: 40px; 
  max-width: 400px;}

  .hero__content p br{ display:none; }

  .btn{
    width: 100%;
    justify-content:center;
    max-width: 260px;
  }

  .hero__footer{
    flex-direction:column;
    gap: 8px;
    align-items:flex-start;
  }

  .hero__content{
    margin-top: 70px;
    margin-bottom: 50px;
  }
}





/* =========================
   SECTION 1
========================= */

.clients-section{
  background: var(--white);      /* light grey like screenshot */
  padding: 10px 0;
  
}

/* One-row logo layout */
.clients-row{
  width: 100%;
  overflow: hidden;
  position: relative;
  
}

.logo-track{
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 35s linear infinite;
  padding-top: 0px;
}

.logo-track img{
  height: 150px;
  width: auto;
  object-fit: contain;
  opacity: .9;
  flex-shrink: 0;
  max-width: var(--max);
}

/* Logos */
.client-logo{
  height: 74to;
  object-fit: contain;
  opacity: .95;
 
}

/* Animation */
@keyframes marquee{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}



.clients-row::before,
.clients-row::after{
  content:"";
  position:absolute;
  top:0;
  width:120px;
  height:100%;
  z-index:2;
  pointer-events:none;
}

.clients-row::before{
  left:0;
 
}
.clients-row::after{
  right:0;
}
.clients-row:hover .logo-track{
  animation-play-state: paused;
}




/** section 2**/

/* =========================
   PILLARS SECTION
========================= */
.pillars{
  background: var(--white);
  color: #111;
  padding: 86px 0;
}

.pillars__wrap{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

/* LEFT */
.pillars__kicker{
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--tagh);
  margin-bottom: 18px;
}

.pillars__title{
  margin: 0 0 32px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--black_h);
  max-width: 100%;
}

.pillars__list{
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 560px;
}

.pillar{
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
}

.pillar__badge{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.18);
  color: rgba(0,0,0,.7);
  font-size: 12px;
  font-weight: 600;
}

.pillar__text h3{
  margin: 4px 0 6px;
  font-size: 20px;
  font-weight: 500;
  color: #111;
}

.pillar__text p{
  margin: 0;
  color: rgba(0,0,0,.6);
  line-height: 1.6;
  font-size: 15px;
}

/* RIGHT CARD */
.pillars__card{
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  background: #e9e9e9;
}

.pillars__img{
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;

  filter: brightness(.78) saturate(.95) contrast(1.02);
  transition: filter .35s ease;
}
.pillars__card{
  position: relative;
}

.pillars__card::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.18); /* tweak 0.12–0.25 */
  pointer-events:none;
}
.pillars__card:hover .pillars__img{
  filter: brightness(.9) saturate(1) contrast(1.05);
}








/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .pillars{
    padding: 64px 0;
  }
  .pillars__wrap{
    grid-template-columns: 1fr;
  }
  .pillars__img{
    height: 420px;
  }
  .pillars__list{
    max-width: 100%;
  }
}

@media (max-width: 520px){
  .pillars__img{
    height: 360px;
  }
  .pillars__bar{
    padding: 14px 14px;
  }
  .pillars__cta{
    padding: 10px 12px;
    border-radius: 10px;
  }
}


/*** SECTION 3 SERVICES **/

/* =========================
   SERVICES (4 BOXES)
========================= */
.services{
  background: rgb(250, 249, 249);
  color: #111;
  padding: 86px 0;
}

.services__wrap{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.services__title{
  margin: 0 0 32px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #101214;
  max-width: 100%;
}
.services__kicker{
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 600;
  color: rgba(0,0,0,.65);
  margin-bottom: 18px;
}

/* Service title uses COMMON button system */

.service__title{
  position: absolute;
               /* 👈 center horizontally */
  bottom: 16px;
 
  z-index: 2;
  display: flex;
  align-items: right;
  justify-content: center;

  font-size: 18px;
  padding: 14px 20px;
}


.services__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* card */
.service{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service__media{
  position: relative;
  display: block;
  height: 420px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  background: #e9e9e9;
  text-decoration: none;
}

.service__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: brightness(.78) saturate(.95) contrast(1.02);
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

/* Optional: slightly lift on hover */
.service__media:hover img{
  filter: brightness(.9) saturate(1) contrast(1.05);
}
.service__media{
  position: relative;
}

.service__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18); /* adjust 0.12–0.25 */
  pointer-events: none;
}





/* title inside image */
.service__name{
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,.95);
  letter-spacing: -0.01em;
}

/* description under image */
.service__desc{
  margin: 0;
  color: rgba(0,0,0,.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 95%;
}

/* hover polish */
.service__media:hover img{
  transform: scale(1.05);
}
.service__media:hover .service__fade{
  opacity: .88;
}
.service__media:hover .service__btn{
  transform: translateY(-1px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .services__grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .service__media{ height: 380px; }
}

@media (max-width: 520px){
  .services{
    padding: 64px 0;
  }
  .services__grid{
    grid-template-columns: 1fr;
  }
  .service__media{ height: 330px; }
}

/*** SECTION 4***/

/* =========================
   SECTION: FRAMEWORK (6 STEPS)
   Light background like screenshot
========================= */
.framework{
  background:var(--white);
  color: #111;
  padding: 86px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.framework__wrap{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.framework__kicker{
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 600;
  color: rgba(0,0,0,.65);
  margin-bottom: 18px;
}

.framework__title{
  margin: 0 0 46px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #101214;
  max-width: 980px;
}

.framework__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3vw, 56px);
  row-gap: clamp(38px, 4vw, 64px);
}

.fw-item{
  max-width: 360px;
}

.fw-icon{
  width: 28px;
  height: 28px;
  color: rgba(0,0,0,.85);
  margin-bottom: 14px;
}

.fw-icon svg{
  width: 100%;
  height: 100%;
  display: block;
}

.fw-title{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 500;
  color: #111;
}

.fw-desc{
  margin: 0;
  color: rgba(0,0,0,.6);
  line-height: 1.7;
  font-size: 15px;
  max-width: 340px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .framework__grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .fw-item{ max-width: 100%; }
}

@media (max-width: 520px){
  .framework{
    padding: 64px 0;
  }
  .framework__grid{
    grid-template-columns: 1fr;
  }
  .framework__title br{ display:none; }
  .fw-desc{ font-size: 14px; }
}


/*** SECTION 5***/

/* =========================
   CASE STUDIES
========================= */
.cases{
  background: var(--white);
  color: #111;
  padding: 86px 0;
}

.cases__wrap{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* LEFT aligned heading */
.cases__kicker{
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 600;
  color: rgba(0,0,0,.65);
  margin-bottom: 18px;
}

.cases__title{
  margin: 0 0 46px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--black_h);
  max-width: 980px;
}

/* big image card */
.cases__card{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  background: #e9e9e9;
  min-height: clamp(560px, 72vh, 760px);
   margin-bottom: 14px;
   display: flex;
  align-items: stretch;
}

/* image */
.cases__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(1.03);
  transform: scale(1.01);
  z-index: 0;
}

/* dark gradient for readability */
.cases__card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 55%, rgba(0,0,0,.72), rgba(0,0,0,.25) 60%, rgba(0,0,0,.12)),
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.10));
  pointer-events:none;
  z-index: 1;
}

/* left panel */
.cases__panel{
  position: relative;
  z-index: 2;
  width: min(520px, 92%);
  width: min(520px, 92%);
  margin: clamp(12px, 1.4vw, 20px);
  padding: clamp(18px, 2vw, 26px);
  color: rgba(255,255,255,.92);
 
  border: 1px solid rgba(255,255,255,.14);
  background: blur;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

/* typography */
.cases__brand{
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 160px; /* creates the big top spacing like screenshot */
}

.cases__name{
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.cases__desc{
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.65;
  font-size: 15px;
  max-width: 440px;
}

/* keep button inline (your global btn handles hover) */
.cases__panel .btn{
  width: fit-content;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .cases{ padding: 64px 0;
   }

  .cases__card{
    min-height: 560px;
  }

  .cases__panel{
    margin: 18px;
    width: min(410px, 100%);
    padding: 22px;
  }

  .cases__brand{
    margin-bottom: 120px;
  }
}
/* ✅ FIX: Under 900px show FULL content (no clipping) */
@media (max-width: 900px){

  /* stop sticky on small screens */
  .cases__card{ position: relative !important; top: auto !important; }

  .cases__card{
    display: flex;
    flex-direction: column;
    align-items: stretch;

    height: auto;
    min-height: 0;          /* important */
    overflow: hidden;       /* keep clean edges */
  }

  /* make image only in TOP area (not full card height) */
  .cases__bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: clamp(240px, 42vh, 360px);
    object-fit: cover;
    z-index: 0;
  }

  /* gradient should help readability */
  .cases__card::after{
    content:"";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(0,0,0,.08) 0%,
        rgba(0,0,0,.45) 55%,
        rgba(0,0,0,.88) 100%);
    pointer-events: none;
    z-index: 1;
  }

  /* ✅ panel becomes NORMAL flow, grows with content */
  .cases__panel{
    position: relative;     /* NOT absolute */
    z-index: 2;

    width: 100%;
    height: auto;           /* allow full paragraph */
    min-height: 0;
    max-height: none;

    margin: 0;
    padding: 22px 18px;

    /* push panel below image height */
    margin-top: clamp(240px, 42vh, 360px);

    border: 0;
    border-top: 1px solid rgba(255,255,255,.14);
/* ✅ FIX: Under 900px show FULL content (no clipping) */
@media (max-width: 900px){

  /* stop sticky on small screens */
  .cases__card{ position: relative !important; top: auto !important; }

  .cases__card{
    display: flex;
    flex-direction: column;
    align-items: stretch;

    height: auto;
    min-height: 0;          /* important */
    overflow: hidden;       /* keep clean edges */
  }

  /* make image only in TOP area (not full card height) */
  .cases__bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: clamp(240px, 42vh, 360px);
    object-fit: cover;
    z-index: 0;
  }

  /* gradient should help readability */
  .cases__card::after{
    content:"";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(0,0,0,.08) 0%,
        rgba(0,0,0,.45) 55%,
        rgba(0,0,0,.88) 100%);
    pointer-events: none;
    z-index: 1;
  }

  /* ✅ panel becomes NORMAL flow, grows with content */
  .cases__panel{
    position: relative;     /* NOT absolute */
    z-index: 2;

    width: 100%;
    height: auto;           /* allow full paragraph */
    min-height: 0;
    max-height: none;

    margin: 0;
    padding: 22px 18px;

    /* push panel below image height */
    margin-top: clamp(240px, 42vh, 360px);

    border: 0;
    border-top: 1px solid rgba(255,255,255,.14);

    background: rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .cases__brand{
    margin-bottom: 10px;    /* remove huge gap on mobile */
    font-size: 22px;
  }

  .cases__name{
    font-size: 18px;
  }

  .cases__desc{
    max-width: none;
    font-size: 14px;
    line-height: 1.6;
  }
}

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .cases__brand{
    margin-bottom: 10px;    /* remove huge gap on mobile */
    font-size: 22px;
  }

  .cases__name{
    font-size: 18px;
  }

  .cases__desc{
    max-width: none;
    font-size: 14px;
    line-height: 1.6;
  }
}

/* =========================
   STICKY CASE CARDS
========================= */

/* Desktop + Tablet */
@media (min-width: 768px){
  .cases{
    padding-top: 40px;     /* reduce top push */
  }

  .cases__wrap{
    overflow: visible;     /* required for sticky */
  }

  .cases__card{
    position: sticky;
    top: 88px;             /* 🔥 navbar height */
    z-index: 1;
  }

  /* subtle stacking depth */
  .cases__card:not(:first-child){
    margin-top: 24px;
  }
}


/*** SECTION 6***/

/* =========================
   TESTIMONIALS
========================= */
.testimonials{
  background:#f6f6f6;
  padding: 96px 0;
}

.testimonials__wrap{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.testimonials__kicker{
  font-size:12px;
  letter-spacing:.18em;
  font-weight:600;
  color:rgba(0,0,0,.6);
  margin-bottom:18px;
}

.testimonials__title{
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight:400;
  line-height:1.05;
  margin-bottom:56px;
  color: var(--black_h);
   letter-spacing: -0.02em;
}

/* GRID */
.testimonials__grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap:24px;
  height: 520px;
}

/* TEXT CARD */
.testimonial--text{
  background:#fff;
  padding:36px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.testimonial__logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:500;
}

.testimonial__logo img{
  width:34px;
  height:34px;
  border-radius:50%;
}

.testimonial__quote{
  font-size:20px;
  line-height:1.45;
  margin:32px 0;
  color: #000;
}

.testimonial__author strong{
  display:block;
  font-size:16px;
  color: #000;
}
.testimonial__author span{
  font-size:13px;
  color:rgba(0,0,0,.6);
}

/* VIDEO CARD */
.testimonial--video{
  position:relative;
  overflow:hidden;
  background:#000;
}

.testimonial--video video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* name overlay */
.testimonial__video-meta{
  position:absolute;
  left:24px;
  bottom:24px;
  color:#fff;
}

.testimonial__video-meta strong{
  display:block;
}
.testimonial__video-meta span{
  font-size:13px;
  opacity:.8;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){

  .testimonials__grid{
    grid-template-columns: 1fr;
    gap: 24px;
    height: auto;              /* ✅ remove fixed height */
  }

  .testimonial--video{
    height: 520px;             /* ✅ must have height */
    background: #111;          /* optional (not pure black) */
  }

  .testimonial--video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/**** FOOTER***/
/* =========================
   FOOTER (BLUR BACKGROUND)
========================= */
.site-footer{
  position: relative;
  color: rgba(255,255,255,.92);
  padding: 72px 0 26px; /* not too tall */
  overflow: hidden;
  background: #07090c;
}

.footer__bg{
  position: absolute;
  inset: 0;
  background: url("background.jpg") center/cover no-repeat; /* change image */
  filter: blur(14px) saturate(.9) contrast(1.02);
  transform: scale(1.08);
  opacity: .85;
}

.footer__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 20% 30%, rgba(0,0,0,.55), rgba(0,0,0,.20) 60%, rgba(0,0,0,.35)),
    linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.65));
}

.footer__wrap{
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* TOP */
.footer__top{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 26px;
}

.footer__kicker{
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  margin-bottom: 14px;
}

.footer__title{
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.footer__copy{
  margin: 44px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  max-width: 420px;
}

/* SUBSCRIBE BAR */
.footer__bar{
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 14px;
  align-items: center;

  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding: 14px 14px;
  margin-bottom: 18px;
}

.footer__bar-left{
  color: rgba(255,255,255,.85);
  font-size: 14px;
  padding-left: 10px;
}

.footer__form{
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.footer__input{
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  outline: none;
  border-radius: 0;
}

.footer__input::placeholder{
  color: rgba(255,255,255,.65);
}

/* use your global white button */
.footer__submit,
.footer__get{
  height: 46px;
  padding: 0 18px;
}

/* LINKS GRID */
.footer__grid{
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 18px;

  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 24px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 22px;
}

.footer__label{
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  margin-bottom: 12px;
}

.footer__text{
  margin: 0 0 14px;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
  font-size: 14px;
}

.footer__link{
  display: block;
  padding: 7px 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.footer__link:hover{ color: rgba(255,255,255,.92); }


.footer__social{
  display: flex;
  gap: 12px;
}

.footer__social a{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  transition: background .2s ease, transform .2s ease;
}

.footer__social a:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}

.footer__social svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* BOTTOM */
.footer__bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

.footer__brand{
  font-weight: 400;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
}
.footer__brand{
  display: flex;
  align-items: center;
}

.footer__logo{
  height: 28px;      /* footer size */
  width: auto;
  object-fit: contain;
  opacity: .9;
}

/* Tablet */
@media (max-width: 980px){
  .footer__logo{
    height: 26px;
  }
}

/* Mobile */
@media (max-width: 520px){
  .footer__logo{
    height: 24px;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .footer__top{
    grid-template-columns: 1fr;
  }
  .footer__copy{
    margin-top: 0;
    max-width: 620px;
  }

  .footer__bar{
    grid-template-columns: 1fr;
  }
  .footer__bar-left{
    padding-left: 0;
  }
  .footer__get{
    width: fit-content;
  }

  .footer__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .site-footer{ padding-top: 58px; }

  .footer__form{
    flex-direction: column;
    align-items: stretch;
  }
.footer__input{
  
}
  .footer__submit,
  .footer__get{
    width: 100%;
    justify-content: center;
  }

  .footer__bottom{
    flex-direction: column;
    align-items: flex-start;
  }



  .footer__input{
    height: 54px;                 /* 👈 key fix */
    padding: 14px 16px;           /* comfortable touch target */
    font-size: 16px;              /* prevents iOS zoom */
    border-radius: 6px;

    line-height: 1.2;
  }

  .footer__form{
    gap: 12px;                    /* spacing between input & button */
  }

  .footer__submit,
  .footer__get{
    height: 52px;                 /* match input visually */
    font-size: 16px;
  }
}





.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(.22,.61,.36,1);
}

.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1{ transition-delay: .20s; }
.reveal.d2{ transition-delay: .35s; }
.reveal.d3{ transition-delay: .50s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}



/* Card hover polish */
.service{
  transition: transform .35s ease, box-shadow .35s ease;
}

.service:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}

/* Image micro zoom */
.service__media img{
  transition: transform .6s ease, filter .6s ease;
}

.service:hover .service__media img{
  transform: scale(1.06);
  filter: brightness(.95) contrast(1.05);
}
.services__grid .service{
  transition-delay: calc(var(--i) * 0.12s);
}
