/* Service page styles */

:root{
  --nav-offset:72px; /* approximate nav height */
  --footer-offset:90px; /* space for footer */
  --service-section-bottom-space:48px;
}

body {
  background: #050505;
  color: #fff;
}

.service-auto-video-modal{
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.86);
}

.service-auto-video-modal.open,
.service-auto-video-modal[aria-hidden="false"]{
  display: flex;
}

.service-auto-video-inner{
  position: relative;
  width: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  background: #000;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0,0,0,0.64);
}

.service-auto-video-player{
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  border-radius: 8px;
  background: #000;
}

.service-auto-video-close{
  position: absolute;
  top: -12px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid #ef4444;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

body.service-auto-video-open{
  overflow: hidden;
}

.service-page {
  position: relative;
  padding: var(--nav-offset) 0 0;
}

.service-sidebar{
  display: none !important;
}

.service-content{
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.svc-section{
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 42px clamp(18px, 5vw, 76px) var(--service-section-bottom-space);
  border-bottom: 0;
  width: 100%;
}

/* Soft horizontal divider between sections: subtle white line that fades toward center */
.svc-section{ position: relative; }
.svc-section:not(:first-child)::before{
  content: '';
  position: absolute;
  top: 0; /* placed at top edge between sections */
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 82%, rgba(255,255,255,0) 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px){
  .svc-section:not(:first-child)::before{ left: 12px; right: 12px; }
}

@media (max-width: 480px){
  .svc-section:not(:first-child)::before{ left: 10px; right: 10px; }
}

/* Lift Motion Graphic section content slightly */
#section-motion {
  position: relative;
  min-height: auto;
  padding-top: clamp(38px, 5vw, 72px);
  padding-bottom: var(--service-section-bottom-space);
  overflow: hidden;
  background: #050505;
}

#section-motion::before{
  display: none;
}

#section-motion .svc-inner {
  max-width: 1320px;
  margin-top: 0;
}

#section-motion p{
  margin-bottom: 0;
}

.svc-inner{ position: relative; z-index: 2; }

.svc-inner{
  max-width: 900px;
}

/* Allow inner to show overflowing horizontal scrollers (thumbnails) */
#section-motion .svc-inner{ overflow: visible; }

/* On desktop, make every service section use the same wider text/content space */
@media (min-width: 901px){
  .svc-inner{
    max-width: 1120px;
    width: 100%;
    padding-right: 20px;
    margin: 0 auto;
  }
}

@media (max-width: 900px){
  .svc-inner{ max-width: 900px; width: 100%; }
}

.svc-section h2{
  font-size: 28px;
  margin: 0 0 6px 0; /* tightened gap to explanation */
  color: #fff;
}

/* Section title logos (black & white) */
.svc-section h2{ display: inline-flex; align-items: center; gap: 12px; }
.section-logo{ width: 48px; height: auto; display: block; filter: grayscale(100%) contrast(90%); opacity: 0.95; }
@media (max-width:900px){ .section-logo{ width:36px; } }


.svc-section p{
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 14px 0; /* add bottom gap so video row sits further from the explanation */
}

.offer-heading{
  margin-bottom: clamp(26px, 4vw, 54px);
}

.offer-heading h2{
  display: block;
  margin: 0;
  font-family: 'Poppins', var(--font);
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(0,0,0,0.65);
}

.offer-heading h2 span{
  color: var(--brand-blue, #4da8e6);
  text-shadow: 0 0 22px rgba(77, 168, 230, 0.35);
}

.offer-heading p{
  max-width: 900px;
  margin-top: clamp(12px, 1.8vw, 22px);
  font-family: var(--font);
  font-size: clamp(15px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
}

.video-showcase{
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: clamp(22px, 3.5vw, 48px);
  align-items: start;
  margin-top: 0;
}

.video-featured,
.video-thumb{
  color: inherit;
  text-decoration: none;
}

.video-featured{
  display: grid;
  gap: 18px;
  cursor: pointer;
}

.video-featured-media{
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #05070b;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 22px 60px rgba(0,0,0,0.38);
}

.video-featured-player{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-featured:hover video,
.video-featured:focus-visible video{
  filter: brightness(1.08);
}

.video-featured-copy{
  display: grid;
  gap: 8px;
  max-width: 680px;
}

.video-featured-copy > span{
  font-family: 'Poppins', var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--brand-blue, #4da8e6);
}

.video-featured-copy strong{
  font-family: 'Poppins', var(--font);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.video-featured-copy em{
  max-width: 60ch;
  font-style: normal;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.5;
  color: rgba(255,255,255,0.76);
}

.video-playlist{
  display: grid;
  gap: 12px;
  max-height: min(680px, 72vh);
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(77, 168, 230, 0.5) rgba(255,255,255,0.08);
}

.video-playlist::-webkit-scrollbar{
  width: 6px;
}

.video-playlist::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

.video-playlist::-webkit-scrollbar-thumb{
  background: rgba(77, 168, 230, 0.55);
  border-radius: 999px;
}

.video-thumb{
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.video-thumb:hover,
.video-thumb:focus-visible,
.video-thumb.is-active{
  border-color: rgba(77, 168, 230, 0.45);
  background: rgba(77, 168, 230, 0.12);
  transform: translateX(-2px);
}

.video-thumb-media{
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #05070b;
}

.video-thumb-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.video-thumb:hover img,
.video-thumb:focus-visible img{
  transform: scale(1.035);
  filter: brightness(1.08);
}

.video-play-marker{
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(34px, 4vw, 46px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 50%;
  background: rgba(0,0,0,0.68);
  border: 1px solid rgba(255,255,255,0.34);
  color: #ffffff;
  font-size: clamp(13px, 1.7vw, 18px);
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.video-featured.is-playing .video-play-marker{
  opacity: 0;
}

.video-thumb-copy{
  min-width: 0;
  display: block;
}

.video-thumb-copy strong{
  display: block;
  margin-bottom: 5px;
  font-family: 'Poppins', var(--font);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 800;
  line-height: 1.14;
  text-transform: uppercase;
  color: #ffffff;
}

.video-thumb-copy span{
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,0.68);
}

.video-more-btn{
  display: none;
}

@media (max-width: 900px){
  .offer-heading h2{
    font-size: clamp(32px, 9vw, 58px);
  }

  .offer-heading p{
    font-size: clamp(14px, 3.4vw, 19px);
  }

  .video-showcase{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .video-featured{
    gap: 12px;
  }

  .video-featured-media{
    border-radius: 10px;
  }

  .video-featured-copy strong{
    font-size: clamp(22px, 6.8vw, 34px);
  }

  .video-featured-copy em{
    font-size: 13px;
    line-height: 1.45;
  }

  .video-playlist{
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .video-playlist .video-thumb:nth-child(n+4){
    display: none;
  }

  .video-playlist.is-expanded .video-thumb{
    display: grid;
  }

  .video-more-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    font-family: 'Poppins', var(--font);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
  }
}

@media (max-width: 520px){
  .offer-heading{
    margin-bottom: 18px;
  }

  .video-thumb{
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    min-height: 78px;
    padding: 7px;
  }

  .video-thumb-copy strong{
    font-size: 13px;
    line-height: 1.15;
  }

  .video-thumb-copy span{
    font-size: 11px;
    line-height: 1.25;
  }

  .video-play-marker{
    width: 32px;
    font-size: 12px;
  }
}

.motion-types-section{
  overflow: hidden;
  padding-top: clamp(32px, 4.2vw, 64px);
  padding-bottom: clamp(34px, 4.4vw, 68px);
  background:
    linear-gradient(135deg, rgba(66,168,255,0.12), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(102,217,255,0.12), transparent 30%),
    #050505;
}

.motion-types-inner{
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 46px);
  align-items: start;
}

.motion-types-heading{
  position: sticky;
  top: calc(var(--nav-offset, 80px) + 18px);
  display: grid;
  gap: clamp(10px, 1.2vw, 16px);
  padding: clamp(18px, 2vw, 28px);
  border-left: 4px solid var(--brand-blue, #4da8e6);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}

.motion-types-heading span{
  font-family: 'Poppins', var(--font);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #82d1ff;
}

.motion-types-heading h2{
  display: block;
  margin: 0;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(34px, 4.1vw, 62px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 14px 34px rgba(0,0,0,0.6);
}

.motion-types-section .motion-types-heading p{
  max-width: 38ch;
  margin: 0;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

.motion-types-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.motion-type-card{
  position: relative;
  min-height: clamp(142px, 13vw, 188px);
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(14px, 1.45vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.052);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
}

.motion-type-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: brightness(0.94) saturate(0.96) blur(0.15px);
  transform: scale(1.025);
}

.motion-type-card::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.24), rgba(0,0,0,0.1) 42%, rgba(0,0,0,0.58)),
    linear-gradient(135deg, rgba(3,10,20,0.44), rgba(18,105,255,0.08));
}

.motion-type-card::after{
  content: '';
  position: absolute;
  inset: auto -22% -48% auto;
  z-index: 1;
  width: 150px;
  aspect-ratio: 1;
  border: 28px solid rgba(77,168,230,0.14);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  pointer-events: none;
}

.motion-type-icon{
  position: relative;
  z-index: 2;
  width: clamp(40px, 3.3vw, 54px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(130,209,255,0.48);
  background: rgba(0,0,0,0.24);
  color: #9fd8ff;
}

.motion-type-icon svg{
  width: 72%;
  height: 72%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.motion-type-card div{
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
}

.motion-type-card div > span{
  font-family: 'Poppins', var(--font);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  color: rgba(159,216,255,0.85);
}

.motion-type-card h3{
  margin: 0;
  font-family: 'Poppins', var(--font);
  font-size: clamp(15px, 1.35vw, 24px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  color: #ffffff;
}

.motion-types-section .motion-type-card p{
  margin: 0;
  max-width: 35ch;
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.42;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 1100px){
  .motion-types-inner{
    grid-template-columns: 1fr;
  }

  .motion-types-heading{
    position: relative;
    top: auto;
    grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
    align-items: end;
  }

  .motion-types-heading span,
  .motion-types-heading h2{
    grid-column: 1;
  }

  .motion-types-section .motion-types-heading p{
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px){
  .motion-types-section{
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .motion-types-inner{
    gap: 16px;
  }

  .motion-types-heading{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .motion-types-heading span,
  .motion-types-heading h2,
  .motion-types-section .motion-types-heading p{
    grid-column: auto;
    grid-row: auto;
  }

  .motion-types-heading h2{
    font-size: clamp(31px, 9vw, 48px);
  }

  .motion-types-heading p{
    max-width: none;
    font-size: 14px;
  }

  .motion-types-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .motion-type-card{
    min-height: 154px;
  }
}

@media (max-width: 430px){
  .motion-types-grid{
    gap: 8px;
  }

  .motion-type-card{
    min-height: 138px;
    padding: 12px;
  }

  .motion-type-icon{
    width: 36px;
  }

  .motion-type-card h3{
    font-size: 13px;
    line-height: 1.08;
  }

  .motion-types-section .motion-type-card p{
    font-size: 12px;
    line-height: 1.35;
  }
}

.integration-services-section{
  position: relative;
  overflow: hidden;
  padding-top: clamp(34px, 4.5vw, 70px);
  padding-bottom: clamp(34px, 4.5vw, 70px);
  background:
    linear-gradient(90deg, rgba(2,5,11,0.94) 0%, rgba(2,5,11,0.82) 42%, rgba(2,5,11,0.52) 100%),
    linear-gradient(120deg, rgba(6,17,31,0.92) 0%, rgba(3,7,13,0.82) 52%, rgba(13,36,58,0.62) 100%),
    url('Images/integration-services-bg.webp') center center / cover no-repeat,
    #050505;
}

.integration-services-section::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(66,168,255,0.12) 42% 43%, transparent 43% 100%),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 44px 44px;
  opacity: 0.72;
}

.integration-services-inner{
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
}

.integration-services-copy{
  display: grid;
  gap: clamp(10px, 1.2vw, 16px);
  min-width: 0;
}

.integration-services-copy span{
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(130,209,255,0.4);
  color: #9fd8ff;
  background: rgba(66,168,255,0.08);
  font-family: 'Poppins', var(--font);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.integration-services-copy h2{
  display: block;
  max-width: 650px;
  margin: 0;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(34px, 4.6vw, 70px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 16px 36px rgba(0,0,0,0.62);
}

.integration-services-copy p{
  max-width: 58ch;
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
}

.integration-services-panel{
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-left: clamp(16px, 2vw, 28px);
}

.integration-services-panel::before{
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, #42a8ff, rgba(66,168,255,0.08));
  box-shadow: 0 0 22px rgba(66,168,255,0.52);
}

.integration-service-item{
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  min-height: clamp(58px, 5.2vw, 78px);
  padding: clamp(12px, 1.2vw, 18px);
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(90deg, rgba(3,10,20,0.72), rgba(3,10,20,0.38));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.22);
  isolation: isolate;
}

.integration-service-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: brightness(0.9) saturate(0.95) blur(0.12px);
}

.integration-service-item::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,5,11,0.78), rgba(2,5,11,0.46) 58%, rgba(2,5,11,0.36)),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.38));
}

.integration-service-item::before{
  content: '';
  position: absolute;
  left: -34px;
  top: 50%;
  z-index: 3;
  width: 13px;
  aspect-ratio: 1;
  border: 2px solid #82d1ff;
  background: #06111f;
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(66,168,255,0.55);
}

.integration-service-item span{
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(130,209,255,0.4);
  color: #82d1ff;
  background: rgba(66,168,255,0.08);
  font-family: 'Poppins', var(--font);
  font-size: 12px;
  font-weight: 900;
}

.integration-service-item strong{
  position: relative;
  z-index: 2;
  min-width: 0;
  color: #ffffff;
  font-family: 'Poppins', var(--font);
  font-size: clamp(15px, 1.25vw, 22px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.integration-service-item:nth-child(even){
  margin-left: clamp(16px, 2vw, 34px);
}

@media (max-width: 900px){
  .integration-services-section{
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .integration-services-inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .integration-services-copy h2{
    font-size: clamp(32px, 9vw, 50px);
  }

  .integration-services-copy p{
    max-width: none;
    font-size: 14px;
  }

  .integration-services-panel{
    gap: 8px;
  }
}

@media (max-width: 520px){
  .integration-service-item,
  .integration-service-item:nth-child(even){
    margin-left: 0;
  }

  .integration-service-item{
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    min-height: 58px;
    padding: 10px;
  }

  .integration-service-item span{
    width: 40px;
    font-size: 11px;
  }

  .integration-service-item strong{
    font-size: 13px;
  }

  .integration-service-item::before{
    left: -26px;
  }
}

.product-mockup-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 34px);
  align-items: stretch;
  margin-top: 0;
  overflow: hidden;
}

#section-product-mockup{
  padding-top: clamp(34px, 4vw, 72px);
  padding-bottom: clamp(34px, 4vw, 72px);
  padding-left: clamp(20px, 2.4vw, 42px);
  padding-right: clamp(20px, 2.4vw, 42px);
}

#section-product-mockup .svc-inner{
  max-width: min(100%, 1580px);
  width: 100%;
  padding-right: 0;
}

.mockup-portfolio-intro{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  min-width: 0;
}

.mockup-portfolio-heading{
  display: grid;
  gap: clamp(10px, 1.05vw, 18px);
  margin-bottom: clamp(18px, 2.4vw, 34px);
  min-width: 0;
}

.mockup-portfolio-heading span{
  font-family: 'Poppins', var(--font);
  font-size: clamp(14px, 1vw, 22px);
  font-weight: 900;
  line-height: 1;
  color: #42a8ff;
  text-transform: uppercase;
}

.mockup-portfolio-heading h2{
  display: block;
  margin: 0;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(34px, 3.55vw, 64px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  color: #ffffff;
  text-transform: uppercase;
}

.mockup-portfolio-card{
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 0;
  background: #06111f;
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
}

.mockup-carousel{
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
}

.mockup-carousel-track{
  --mockup-slide-gap: clamp(18px, 1.8vw, 34px);
  display: flex;
  gap: var(--mockup-slide-gap);
  min-width: 0;
  will-change: transform;
}

.mockup-carousel-track .mockup-portfolio-card{
  flex: 0 0 calc((100% - var(--mockup-slide-gap)) / 2);
}

.mockup-carousel-track.is-moving{
  transition: transform 0.62s ease;
}

.mockup-portfolio-media{
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #090a0c;
}

.mockup-portfolio-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mockup-portfolio-copy{
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: clamp(11px, 1vw, 16px);
  align-content: start;
  min-height: clamp(230px, 19vw, 330px);
  padding: clamp(24px, 2vw, 38px);
  background: linear-gradient(135deg, #42a8ff 0%, #1269ff 100%);
  color: #ffffff;
  overflow: hidden;
}

.mockup-portfolio-copy span,
.mockup-portfolio-copy h2,
.mockup-portfolio-copy p{
  margin: 0;
}

.mockup-portfolio-copy span{
  font-family: 'Poppins', var(--font);
  font-size: clamp(15px, 1.08vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
}

.mockup-portfolio-copy h2{
  display: none;
  font-family: 'Poppins', var(--font);
  font-size: clamp(19px, 1.25vw, 26px);
  font-weight: 900;
  line-height: 1.05;
}

.mockup-portfolio-copy p{
  max-width: 35ch;
  font-size: clamp(15px, 1.08vw, 20px);
  font-weight: 600;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.mockup-controls{
  display: flex;
  gap: clamp(12px, 1.1vw, 18px);
  margin-top: clamp(18px, 1.6vw, 28px);
}

.mockup-nav{
  width: clamp(42px, 2.75vw, 54px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #06111f;
  color: #42a8ff;
  font-size: clamp(25px, 1.9vw, 34px);
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mockup-nav:hover,
.mockup-nav:focus-visible{
  background: #ffffff;
  color: #1269ff;
  transform: translateY(-2px);
}

@media (max-width: 1200px){
  .product-mockup-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .mockup-carousel-track{
    --mockup-slide-gap: 18px;
  }

  .mockup-portfolio-heading h2{
    font-size: clamp(34px, 4vw, 52px);
  }

  .mockup-portfolio-copy{
    min-height: 220px;
    padding: 18px;
  }

  .mockup-portfolio-copy p{
    font-size: 16px;
  }
}

@media (max-width: 900px){
  .product-mockup-grid{
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
  }

  .mockup-portfolio-intro{
    grid-column: 1 / -1;
    min-height: auto;
  }

  .mockup-carousel{
    grid-column: 1 / -1;
  }

  .mockup-portfolio-heading{
    gap: 16px;
    margin-bottom: 24px;
  }

  .mockup-portfolio-heading span{
    font-size: 14px;
  }

  .mockup-portfolio-heading h2{
    font-size: clamp(34px, 10vw, 52px);
  }

  .mockup-portfolio-copy{
    min-height: 190px;
    padding: 22px;
  }
}

@media (max-width: 520px){
  .product-mockup-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mockup-portfolio-intro{
    grid-column: 1 / -1;
  }

  .mockup-carousel{
    grid-column: 1 / -1;
  }

  .mockup-carousel-track{
    --mockup-slide-gap: 12px;
  }

  .mockup-portfolio-card{
    box-shadow: 0 14px 38px rgba(0,0,0,0.28);
  }

  .mockup-portfolio-copy{
    gap: 9px;
    min-height: auto;
    padding: 20px;
  }

  .mockup-portfolio-heading h2{
    font-size: clamp(38px, 13vw, 54px);
  }

  .mockup-portfolio-copy h2{
    font-size: clamp(21px, 7vw, 30px);
  }

  .mockup-portfolio-copy p{
    font-size: 14px;
  }
}

/* Responsive tweaks: ensure sections fill right edge and overlay remains readable */
@media (max-width: 900px){
  :root{
    --service-section-bottom-space:38px;
  }

  .service-page{
    padding: var(--nav-offset) 0 0;
  }

  #section-motion{
    min-height: auto;
    padding-top: 34px;
    padding-bottom: var(--service-section-bottom-space);
  }
  #section-motion::before{
    display: none;
  }
  .svc-section{ padding: 30px 18px var(--service-section-bottom-space); }
}

@media (max-width: 480px){
  :root{
    --service-section-bottom-space:32px;
  }

  #section-motion{
    padding-top: 28px;
    padding-bottom: var(--service-section-bottom-space);
  }

  #section-motion::before{
    display: none;
  }
  .svc-section{ padding: 24px 14px var(--service-section-bottom-space); }
}

/* Service page hero (above Motion) */
.service-hero{
  position: relative;
  min-height: auto !important;
  padding: clamp(26px, 3.6vw, 46px) clamp(18px, 5vw, 76px) clamp(24px, 3vw, 38px);
  background-image: url('Images/servisherowebp.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.service-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at -8% 108%, rgba(77, 168, 230, 0.42) 0%, rgba(77, 168, 230, 0.12) 22%, transparent 38%),
    radial-gradient(ellipse at 92% 84%, rgba(77, 168, 230, 0.3) 0%, rgba(77, 168, 230, 0.08) 22%, transparent 36%),
    radial-gradient(ellipse at 80% 18%, rgba(90, 158, 255, 0.14) 0%, transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.56) 46%, rgba(0,0,0,0.3) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.38));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.service-hero::after{
  content: '';
  position: absolute;
  inset: -22% -10% auto auto;
  width: min(56vw, 820px);
  aspect-ratio: 1;
  border: 34px solid rgba(104, 166, 255, 0.22);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 26px rgba(77, 168, 230, 0.34));
  z-index: 1;
  pointer-events: none;
}
.service-hero .svc-inner{ z-index: 2; position: relative; }
.service-hero-inner{
  max-width: 1480px;
  padding-right: 0;
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(18px, 2.6vw, 38px);
}
.service-hero-text{
  display: grid;
  gap: clamp(12px, 1.55vw, 22px);
  min-width: 0;
  width: min(100%, 1180px);
  justify-self: center;
}
.service-hero-media{
  position: relative;
  width: 100%;
  max-width: min(100%, 320px);
  justify-self: center;
  align-self: stretch;
  border-radius: 14px;
  overflow: hidden;
  background: #05070b;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45), 0 0 30px rgba(77,168,230,0.16);
}
.service-hero-media::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(77,168,230,0.18), inset 0 -80px 110px rgba(0,0,0,0.24);
}
.service-hero-video{
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  display: block;
  object-fit: cover;
  background: #000;
}
.service-hero-copy{
  max-width: 720px;
}
.service-hero-kicker{
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0,0,0,0.65);
}
.service-hero h1{
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.9vw, 54px);
  line-height: 1;
  color: var(--brand-blue, #4da8e6);
  margin: 0;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 8px 34px rgba(77, 168, 230, 0.26), 0 12px 34px rgba(0,0,0,0.7);
}
.service-hero-rule{
  display: block;
  width: clamp(56px, 5vw, 86px);
  height: 3px;
  margin: clamp(10px, 1.2vw, 16px) 0 12px;
  background: var(--brand-blue, #4da8e6);
  box-shadow: 0 0 18px rgba(77, 168, 230, 0.65);
}
.service-hero-desc{
  max-width: 700px;
  font-size: clamp(15px, 1.16vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.service-hero-desc span{
  color: var(--brand-blue, #4da8e6);
}
.service-hero-title{
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, max-content);
  align-items: end;
  gap: clamp(12px, 1.8vw, 24px);
  width: 100%;
  text-transform: uppercase;
}
.service-hero-title > span{
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(42px, 6.1vw, 94px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 18px 44px rgba(0,0,0,0.75);
}
.service-hero-title-blue{
  color: var(--brand-blue, #4da8e6);
}
.service-hero-title-white{
  color: #f5f7fb;
}
.service-hero-title small{
  grid-column: 1 / -1;
  justify-self: stretch;
  width: min(100%, 760px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  color: var(--brand-blue, #4da8e6);
  font-size: clamp(13px, 1.32vw, 22px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: clamp(3px, 0.72vw, 9px);
}
.service-hero-title small::before,
.service-hero-title small::after{
  content: '';
  height: 3px;
  flex: 1 1 auto;
  min-width: 54px;
  background: currentColor;
}
.service-hero-features{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  width: 100%;
}
.service-hero-feature{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 0;
  border-right: 0;
}
.service-hero-icon{
  width: clamp(40px, 3.7vw, 54px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--brand-blue, #4da8e6);
  border-radius: 8px;
  color: var(--brand-blue, #4da8e6);
  box-shadow: 0 0 20px rgba(77, 168, 230, 0.25);
}
.service-hero-icon svg{
  width: 72%;
  height: 72%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-hero-feature h2{
  display: block;
  margin: 0 0 4px;
  font-size: clamp(13px, 1vw, 18px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
}
.service-hero-feature p{
  margin: 0;
  font-size: clamp(12.5px, 0.86vw, 14px);
  line-height: 1.3;
  color: rgba(255,255,255,0.9);
}

.service-video-cta{
  position: relative;
  padding: clamp(44px, 6vw, 88px) clamp(18px, 5vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(77, 168, 230, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(4, 10, 18, 0.98), rgba(1, 4, 9, 0.96));
}

.service-video-cta::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(77,168,230,0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(77,168,230,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,0,0,0.9));
}

.service-video-cta-inner{
  max-width: 1480px;
  display: grid;
  grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}

.service-video-cta-copy{
  display: grid;
  gap: clamp(14px, 1.5vw, 22px);
  min-width: 0;
}

.service-video-cta-kicker{
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(77,168,230,0.52);
  color: #9fd8ff;
  background: rgba(77,168,230,0.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.service-video-cta h2{
  display: block;
  max-width: 830px;
  margin: 0;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(36px, 5vw, 82px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 18px 44px rgba(0,0,0,0.7);
}

.service-video-cta p{
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
}

.service-video-cta-points{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-video-cta-points span{
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.045);
  font-size: 13px;
  font-weight: 800;
}

.service-video-cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(4px, 0.6vw, 10px);
}

.service-video-cta-actions a{
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255,255,255,0.055);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-video-cta-actions a:first-child{
  border-color: var(--brand-blue, #4da8e6);
  color: #06101a;
  background: var(--brand-blue, #4da8e6);
}

.service-video-cta-actions a:hover,
.service-video-cta-actions a:focus-visible{
  border-color: rgba(102,217,255,0.72);
  background: rgba(66,168,255,0.16);
  transform: translateY(-2px);
}

.service-video-cta-actions a:first-child:hover,
.service-video-cta-actions a:first-child:focus-visible{
  color: #06101a;
  background: #82d1ff;
}

.service-video-cta-media{
  width: min(100%, 340px);
  max-width: min(100%, 340px);
  min-height: clamp(360px, 38vw, 520px);
  justify-self: start;
  align-self: center;
}

.other-service-item{
  position: relative;
  margin-top: 18px;
  width: 100%;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.other-service-item h3{
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  color: #ffffff;
}

.other-service-item p{
  position: relative;
  z-index: 2;
  max-width: none;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.94);
}

/* Final Cut Pro / Editing item background */
#section-others{
  position: relative;
  background-image: url('Images/fcpsection.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#section-others::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34));
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px){
  /* slightly lighter on tablet */
  .other-service-item{
    padding: 0;
  }

  #section-others::after{ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.42)); }
}

@media (max-width: 480px){
  /* slightly lighter on small phones */
  .other-service-item{
    padding: 0;
    border-radius: 0;
  }

  #section-others::after{ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.48)); }
}

/* Mobile: make hero heading and text larger/readable */
@media (max-width: 900px){
  .service-hero{
    min-height: auto !important;
    padding: 40px 18px 42px;
  }
  .service-hero-inner{
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }
  .service-hero-media{
    max-width: min(64vw, 300px);
    justify-self: center;
    align-self: auto;
  }
  .service-hero-video{
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 16;
  }
  .service-hero-text{
    justify-items: center;
    text-align: center;
  }
  .service-hero-copy{
    max-width: 760px;
  }
  .service-hero-title{
    grid-template-columns: max-content max-content;
    justify-content: center;
    gap: 0;
    width: 100%;
  }
  .service-hero-title > span{
    font-size: clamp(52px, 11.8vw, 98px);
    text-shadow:
      0 18px 44px rgba(0,0,0,0.75),
      0 0 0 currentColor;
  }
  .service-hero-title-blue,
  .service-hero-title-white{ justify-self: center; }
  .service-hero-title small{
    justify-self: center;
    font-size: clamp(14px, 2.45vw, 22px);
    letter-spacing: clamp(2px, 0.58vw, 5px);
  }
  .service-hero-features{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
    text-align: left;
    justify-items: stretch;
  }
  .service-hero-feature{
    align-items: start;
    text-align: left;
  }
  .service-hero-feature h2,
  .service-hero-feature p{
    text-align: left;
  }
  .service-hero-feature:nth-child(2){
    border-right: 0;
    padding-right: 0;
  }
  .service-hero-feature:nth-child(3){
    padding-left: 0;
  }
  .svc-section p,
  .service-hero p,
  .other-service-item p{ font-size: 17px; }
}

@media (max-width: 480px){
  .service-hero{
    min-height: auto !important;
    padding: 34px 30px 36px 18px;
  }
  .service-hero::after{
    width: 120vw;
    border-width: 22px;
  }
  .service-hero-inner{
    gap: 18px;
  }
  .service-hero-media{
    max-width: min(68vw, 260px);
    border-radius: 10px;
  }
  .service-hero-kicker{
    font-size: clamp(19px, 5.8vw, 27px);
  }
  .service-hero h1{
    font-size: clamp(26px, 7.8vw, 36px);
  }
  .service-hero-desc{
    font-size: 13.5px;
  }
  .service-hero-inner,
  .service-hero-text,
  .service-hero-copy,
  .service-hero-features{
    max-width: 100%;
    min-width: 0;
  }
  .service-hero-title{
    max-width: 100%;
    overflow: hidden;
  }
  .service-hero-title > span{
    font-size: clamp(39px, 10.5vw, 46px);
  }
  .service-hero-title small{
    gap: 10px;
    font-size: clamp(12px, 3.15vw, 16px);
    letter-spacing: 1.6px;
  }
  .service-hero-title small::before,
  .service-hero-title small::after{
    min-width: 28px;
  }
  .service-hero-features{
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }
  .service-hero-feature,
  .service-hero-feature:nth-child(2),
  .service-hero-feature:nth-child(3){
    padding: 0;
    border-right: 0;
    text-align: left;
  }
  .service-hero-feature h2,
  .service-hero-feature p{
    text-align: left;
  }
  .svc-section p,
  .service-hero p,
  .other-service-item p{ font-size: 16px; }
}

@media (max-width: 900px){
  .service-video-cta{
    padding: 42px 18px;
  }

  .service-video-cta-inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-video-cta-copy{
    justify-items: center;
    text-align: center;
  }

  .service-video-cta-points,
  .service-video-cta-actions{
    justify-content: center;
  }

  .service-video-cta-media{
    width: min(100%, 300px);
    max-width: min(100%, 300px);
    min-height: 0;
    justify-self: center;
  }

  .service-video-cta-media .service-hero-video{
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 16;
  }
}

@media (max-width: 480px){
  .service-video-cta{
    padding: 34px 14px;
  }

  .service-video-cta h2{
    font-size: clamp(32px, 10vw, 46px);
  }

  .service-video-cta-actions{
    width: 100%;
  }

  .service-video-cta-actions a{
    width: 100%;
  }

  .service-video-cta-media{
    width: min(100%, 250px);
    max-width: min(100%, 250px);
  }
}

@media (max-width: 360px){
  .service-hero-title > span{
    font-size: clamp(37px, 11.6vw, 42px);
  }
}

/* Video modal styles */
.video-modal{ position: fixed; inset: 0; background: rgba(0,0,0,0.82); display: none; align-items: center; justify-content: center; z-index: 10080; padding: 18px; }
.video-modal[aria-hidden="false"], .video-modal.open{ display: flex; }
.video-modal-inner{ max-width: 980px; width: min(100%, 980px); background: transparent; position: relative; }
.video-modal-content{ aspect-ratio: 16/9; width: 100%; background: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.55); }
.video-modal-content video, .video-modal-content iframe{ width: 100%; height: 100%; border-radius: 8px; display:block; object-fit: contain; }
.video-modal-close{ position: absolute; top: -52px; right: 0; background: rgba(0,0,0,0.72); color:#fff; border:1px solid rgba(255,255,255,0.22); font-size:22px; width:42px; height:42px; border-radius:50%; cursor:pointer; }
body.video-modal-open{ overflow: hidden; }

@media (max-width: 520px){
  .video-modal{
    padding: 14px;
  }

  .video-modal-close{
    top: -48px;
  }
}

/* Small screens */
@media (max-width: 900px){
  .service-content{ margin-left: auto; margin-right: auto; }
  .svc-section:not(.service-hero):not(#section-motion){ min-height: auto; }
}

/* Intro-style header and footer for service page */
:root {
  --service-blue: #42a8ff;
  --service-blue-2: #1269ff;
  --service-cyan: #66d9ff;
  --service-line: rgba(118, 183, 255, .18);
  --service-muted: rgba(226, 239, 255, .76);
}

.service-intro-navbar.navbar {
  position: fixed;
  z-index: 1000;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(2, 5, 11, .76);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.service-intro-navbar .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.service-intro-navbar .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 52px);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.service-intro-navbar .nav-link {
  position: relative;
  color: rgba(247, 251, 255, .9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-decoration: none;
  transition: color .24s ease;
}

.service-intro-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -16px;
  width: auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--service-cyan), var(--service-blue-2));
  transition: right .24s ease;
}

.service-intro-navbar .nav-link:hover,
.service-intro-navbar .nav-link.active {
  color: var(--service-cyan);
}

.service-intro-navbar .nav-link:hover::after,
.service-intro-navbar .nav-link.active::after {
  right: 0;
}

.service-intro-navbar .quote-btn,
.footer-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 8px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-decoration: none;
}

.service-intro-navbar .quote-btn,
.footer-btn.primary {
  color: #fff;
  border: 1px solid rgba(102, 217, 255, .28);
  background: linear-gradient(135deg, #42a8ff 0%, #1269ff 100%);
  box-shadow: 0 14px 35px rgba(18, 105, 255, .34);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(102, 217, 255, .26);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.nav-toggle-label {
  display: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

body.menu-open .nav-toggle span,
.service-intro-navbar.is-open .nav-toggle span {
  transform: rotate(45deg);
}

body.menu-open .nav-toggle span::before,
.service-intro-navbar.is-open .nav-toggle span::before {
  opacity: 0;
}

body.menu-open .nav-toggle span::after,
.service-intro-navbar.is-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-90deg);
}

@keyframes serviceMenuGlowMove {
  from { background-position: 0% 50%, 0 0, 0 0; }
  to { background-position: 100% 50%, 42px 42px, -42px 0; }
}

@keyframes serviceMenuPulse {
  0%, 100% { opacity: .38; transform: translateX(-18%) scale(.95); }
  50% { opacity: .7; transform: translateX(18%) scale(1.08); }
}

@keyframes serviceNavItemDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

.final-footer {
  position: relative;
  z-index: 2;
  padding: clamp(44px, 6vw, 82px) 5vw 54px;
  background:
    radial-gradient(circle at 14% 20%, rgba(18, 105, 255, .14), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(66, 168, 255, .1), transparent 28%),
    #02050b;
}

.footer-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(226, 239, 255, .18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(6, 16, 30, .86), rgba(2, 5, 11, .92)),
    rgba(2, 5, 11, .86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(420px, .95fr);
  gap: 62px;
  padding: clamp(34px, 5vw, 72px);
}

.footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--service-blue);
  font-family: Poppins, Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.footer-eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--service-blue);
}

.final-footer h2 {
  margin: 0;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.final-footer h2 span {
  display: block;
  color: var(--service-blue-2);
  text-shadow: 0 0 34px rgba(18, 105, 255, .42);
}

.footer-lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(247, 251, 255, .86);
  font-size: 19px;
  line-height: 1.6;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.footer-btn {
  min-height: 64px;
  padding: 0 28px;
  border: 1px solid rgba(102, 217, 255, .24);
  color: #fff;
}

.footer-btn.secondary {
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .28);
}

.footer-btn svg,
.footer-contact-icon svg,
.newsletter-submit svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-right {
  display: grid;
  grid-template-columns: 1.1fr .82fr .82fr;
  gap: 38px;
}

.footer-brand {
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #fff;
}

.footer-about {
  margin: 26px 0 20px;
  color: rgba(247, 251, 255, .82);
  font-size: 15px;
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0 0 22px;
  color: var(--service-blue);
  font-family: Poppins, Inter, sans-serif;
  font-size: 15px;
  white-space: nowrap;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(247, 251, 255, .86);
  font-size: 15px;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
}

.footer-support-news {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  margin-top: 30px;
}

.newsletter-copy {
  margin: 0 0 20px;
  color: rgba(247, 251, 255, .82);
  font-size: 15px;
  line-height: 1.7;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  max-width: 340px;
  min-height: 58px;
  border: 1px solid rgba(226, 239, 255, .14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
}

.newsletter-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #fff;
  background: transparent;
  font: inherit;
}

.newsletter-submit {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #42a8ff, #1269ff);
  cursor: pointer;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(226, 239, 255, .14);
  border-bottom: 1px solid rgba(226, 239, 255, .14);
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 28px clamp(14px, 2vw, 30px);
  border-right: 1px solid rgba(226, 239, 255, .14);
  color: #fff;
  text-decoration: none;
}

.footer-contact-item:last-child {
  border-right: 0;
}

.footer-contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(66, 168, 255, .34);
  border-radius: 50%;
  color: var(--service-blue);
  background: rgba(18, 105, 255, .1);
}

.footer-contact-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.footer-contact-item > span:not(.footer-contact-icon) > span {
  display: block;
  margin-top: 5px;
  color: rgba(247, 251, 255, .68);
  font-size: 12px;
  white-space: nowrap;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(226, 239, 255, .22);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.footer-contact-item.social-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-contact-item.social-follow > span {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(28px, 5vw, 72px);
  color: rgba(247, 251, 255, .7);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 860px) {
  .service-intro-navbar.navbar {
    align-items: center;
    flex-direction: row;
    padding: 14px 16px 14px 22px;
  }

  .service-intro-navbar .logo {
    font-size: 17px;
  }

  .nav-toggle {
    position: static;
    width: auto;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
    margin-left: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: Poppins, Inter, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
  }

  .nav-toggle-label {
    display: inline-block;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .5px;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    width: 18px;
  }

  .nav-toggle span::before {
    top: -6px;
  }

  .nav-toggle span::after {
    top: 6px;
  }

  .service-intro-navbar .nav-links {
    position: absolute;
    left: 22px;
    right: 22px;
    top: calc(100% + 10px);
    z-index: 30;
    display: grid;
    gap: 2px;
    padding: 8px 10px 10px;
    border: 0;
    border-radius: 0 0 18px 18px;
    background:
      linear-gradient(90deg, rgba(66, 168, 255, .72), rgba(102, 217, 255, .18), rgba(18, 105, 255, .72)) 0 0 / 100% 2px no-repeat,
      radial-gradient(circle at 88% 0%, rgba(66, 168, 255, .2), transparent 34%),
      linear-gradient(180deg, rgba(3, 9, 19, .98), rgba(2, 5, 11, .94));
    background-size: 100% 2px, 170% 170%, auto;
    box-shadow: 0 28px 58px rgba(0, 0, 0, .62), 0 12px 34px rgba(18, 105, 255, .1);
    backdrop-filter: blur(20px) saturate(130%);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .service-intro-navbar .nav-links::before {
    content: "";
    position: absolute;
    inset: -45% -25%;
    z-index: -1;
    background:
      radial-gradient(circle at 18% 50%, rgba(66, 168, 255, .55), transparent 24%),
      radial-gradient(circle at 78% 46%, rgba(102, 217, 255, .26), transparent 26%);
    filter: blur(18px);
    opacity: 0;
  }

  body.menu-open .service-intro-navbar .nav-links,
  .service-intro-navbar.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    animation: serviceMenuGlowMove 5s linear infinite;
  }

  body.menu-open .service-intro-navbar .nav-links::before,
  .service-intro-navbar.is-open .nav-links::before {
    animation: serviceMenuPulse 3.4s ease-in-out infinite;
  }

  .service-intro-navbar .nav-link {
    display: block;
    padding: 13px 12px;
    border-radius: 0;
    color: rgba(247, 251, 255, .82);
    background: transparent;
    text-align: center;
    font-size: 14px;
    letter-spacing: .65px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    opacity: 0;
    transform: translateY(-10px);
    clip-path: inset(0 0 100% 0);
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
  }

  body.menu-open .service-intro-navbar .nav-link,
  .service-intro-navbar.is-open .nav-link {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
    animation: serviceNavItemDrop .38s cubic-bezier(.2, .8, .2, 1) both;
  }

  body.menu-open .service-intro-navbar .nav-link:nth-child(1),
  .service-intro-navbar.is-open .nav-link:nth-child(1) { animation-delay: .04s; }

  body.menu-open .service-intro-navbar .nav-link:nth-child(2),
  .service-intro-navbar.is-open .nav-link:nth-child(2) { animation-delay: .1s; }

  body.menu-open .service-intro-navbar .nav-link:nth-child(3),
  .service-intro-navbar.is-open .nav-link:nth-child(3) { animation-delay: .16s; }

  body.menu-open .service-intro-navbar .nav-link:nth-child(4),
  .service-intro-navbar.is-open .nav-link:nth-child(4) { animation-delay: .22s; }

  body.menu-open .service-intro-navbar .nav-link:nth-child(5),
  .service-intro-navbar.is-open .nav-link:nth-child(5) { animation-delay: .28s; }

  .service-intro-navbar .nav-link::after {
    display: none;
  }

  .service-intro-navbar .nav-link:hover,
  .service-intro-navbar .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, transparent, rgba(66, 168, 255, .18) 18%, rgba(18, 105, 255, .2) 50%, rgba(66, 168, 255, .18) 82%, transparent);
    box-shadow: inset 3px 0 0 #42a8ff, inset -3px 0 0 #42a8ff;
  }

  .service-intro-navbar .quote-btn {
    display: none;
  }

  .final-footer {
    padding: 34px 22px 44px;
  }

  .footer-main,
  .footer-support-news,
  .footer-contact-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 34px;
    padding: 30px 22px;
  }

  .final-footer h2 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .footer-lead {
    font-size: 15px;
  }

  .footer-actions {
    flex-direction: column;
  }

  .footer-btn {
    width: 100%;
    min-height: 56px;
  }

  .footer-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-about-col,
  .footer-support-news {
    grid-column: 1 / -1;
  }

  .footer-support-news {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 0;
  }

  .newsletter-form {
    max-width: none;
  }

  .footer-contact-item {
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 239, 255, .14);
  }

  .footer-contact-item:last-child {
    border-bottom: 0;
  }

  .footer-contact-item strong,
  .footer-contact-item > span:not(.footer-contact-icon) > span {
    white-space: normal;
  }

  .footer-contact-item.social-follow strong,
  .footer-contact-item.social-follow > span:not(.footer-contact-icon) > span,
  .footer-contact-socials {
    white-space: nowrap !important;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.menu-open .service-intro-navbar .nav-links,
  body.menu-open .service-intro-navbar .nav-links::before,
  .service-intro-navbar.is-open .nav-links,
  .service-intro-navbar.is-open .nav-links::before {
    animation: none;
  }
}

.service-mini-footer {
  padding: 34px 5vw;
  border-top: 1px solid rgba(226, 239, 255, .12);
  background:
    radial-gradient(circle at 20% 10%, rgba(18, 105, 255, .12), transparent 28%),
    #02050b;
  color: #fff;
}

.service-mini-footer-shell {
  width: min(100%, 1320px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-mini-brand strong {
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 5px;
}

.service-mini-brand span {
  display: block;
  max-width: 560px;
  margin-top: 10px;
  color: rgba(247, 251, 255, .72);
  font-size: 14px;
  line-height: 1.55;
}

.service-mini-follow,
.service-mini-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.service-mini-follow {
  flex: 1 1 560px;
  justify-content: flex-end;
  padding-top: 0;
  border-top: 0;
  color: rgba(247, 251, 255, .86);
  font-family: Poppins, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.service-mini-follow a,
.service-mini-bottom a {
  color: inherit;
  text-decoration: none;
}

.service-mini-bottom {
  flex: 1 1 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 239, 255, .12);
  justify-content: space-between;
  color: rgba(247, 251, 255, .62);
  font-size: 13px;
}

.service-mini-socials {
  display: inline-flex;
  gap: 8px;
}

.service-mini-bottom-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.service-mini-policies {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.service-mini-policies a {
  color: rgba(247, 251, 255, .68);
  font-size: 12px;
}

.service-mini-socials a {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(226, 239, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .035);
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.service-mini-socials a:hover,
.service-mini-socials a:focus-visible {
  border-color: rgba(102, 217, 255, .72);
  background: rgba(66, 168, 255, .16);
  transform: translateY(-2px);
}

.service-mini-socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 860px) {
  .service-mini-footer {
    padding: 28px 22px;
  }

  .service-mini-footer-shell {
    padding: 24px 20px;
    align-items: flex-start;
  }

  .service-mini-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-mini-bottom-right {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .service-mini-follow {
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
  }
}
