.service-sheet.is-active .sheet-body small {
  color: var(--secondary)!important;
}

.service-sheet.is-active footer a {
  transform: scale(1.04);
}

/* Better visual balance at wide desktop */
@media(min-width:1200px) {
  .services-jl .container {
    max-width: 1260px
  }
}

@media(max-width:900px) {
  .services-jl {
    min-height: 720px!important
  }
  .services-jl-stage {
    height: 440px!important
  }
  .service-sheet {
    width: 320px!important;
    height: 370px!important;
    margin-left: -160px!important;
    margin-top: -185px!important;
  }
  .services-jl-stage::before,
  .services-jl-stage::after {
    width: 6vw
  }
}

/* ===== Service card footer isolation =====
   Keep global page-footer styles from affecting service-card footers.
*/
.services-jl .service-sheet > footer {
  position: relative!important;
  z-index: 2!important;
  display: flex!important;
  align-items: center!important;
  justify-content: space-between!important;
  gap: 18px!important;
  margin: 0!important;
  padding: 17px 0 0!important;
  min-height: auto!important;
  width: 100%!important;
  background: transparent!important;
  background-image: none!important;
  border: 0!important;
  border-top: 1px solid rgba(255,255,255,.085)!important;
  border-radius: 0!important;
  box-shadow: none!important;
  color: inherit!important;
}

.services-jl .service-sheet.is-active > footer {
  border-top-color: rgba(var(--secondary-rgb),.18)!important;
}

.services-jl .service-sheet > footer strong {
  margin: 0!important;
  padding: 0!important;
  color: #edf5f2!important;
  font: 800 12px/1.2 "DM Sans",sans-serif!important;
  letter-spacing: 0!important;
}

.services-jl .service-sheet > footer a {
  flex: 0 0 36px!important;
  width: 36px!important;
  height: 36px!important;
  margin: 0!important;
  padding: 0!important;
  display: grid!important;
  place-items: center!important;
  border-radius: 50%!important;
  border: 1px solid rgba(255,255,255,.13)!important;
  background: rgba(255,255,255,.035)!important;
  color: #d6e4df!important;
  font-size: 15px!important;
  line-height: 1!important;
  box-shadow: none!important;
  transition: transform .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease!important;
}

.services-jl .service-sheet.is-active > footer a {
  color: var(--primary)!important;
  border-color: transparent!important;
  background: linear-gradient(135deg,var(--secondary),var(--accent2))!important;
  box-shadow: 0 8px 24px rgba(var(--secondary-rgb),.13)!important;
}

.services-jl .service-sheet > footer a:hover {
  transform: translateX(3px)!important;
}

/* Keep the actual website footer styling limited to the top-level footer. */
body > footer {
  background: radial-gradient(circle at 12% 0%,rgba(var(--secondary-rgb),.09),transparent 25%),
    linear-gradient(145deg,var(--primary),color-mix(in srgb,var(--accent3) 10%,var(--primary)));
}

html {
  scroll-behavior: smooth
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

::selection {
  background: rgba(var(--secondary-rgb),.3);
  color: var(--primary)
}

.site-header {
  backdrop-filter: saturate(1.25) blur(16px);
  -webkit-backdrop-filter: saturate(1.25) blur(16px)
}

.btn,.nav-link,.mega-service,.service-sheet,.promo-card,.wh-card,.case-card,.guide-card {
  transition-timing-function: cubic-bezier(.2,.75,.25,1)
}

.btn {
  box-shadow: 0 9px 24px rgba(var(--primary-rgb),.14)
}

.btn:hover {
  box-shadow: 0 15px 34px rgba(var(--primary-rgb),.22)
}

.service-sheet,.promo-card,.wh-card,.case-card,.guide-card,.contact-form {
  border-color: rgba(var(--primary-rgb),.11)
}

.service-sheet:hover,.service-sheet.is-active {
  border-color: rgba(var(--secondary-rgb),.48)
}

.services-mega-menu,.contact-form {
  box-shadow: 0 28px 80px rgba(var(--primary-rgb),.2)
}

input:focus,select:focus,textarea:focus {
  outline: 3px solid rgba(var(--secondary-rgb),.22);
  outline-offset: 1px;
  border-color: var(--secondary)
}

a:focus-visible,button:focus-visible {
  outline: 3px solid rgba(var(--secondary-rgb),.48);
  outline-offset: 4px
}

.service-sheet footer a,.jl-arrows button {
  box-shadow: 0 8px 20px rgba(var(--primary-rgb),.2)
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,*::before,*::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important
  }
}

/* Centred premium navigation */
.site-header {
  height: 98px;
  background: radial-gradient(circle at 14% -25%,rgba(var(--secondary-rgb),.18),transparent 32%),
    radial-gradient(circle at 88% -30%,rgba(103,232,255,.13),transparent 30%),
    linear-gradient(108deg,rgba(var(--primary-rgb),.99),rgba(var(--primary-rgb),.94));
  box-shadow: 0 18px 55px rgba(var(--primary-rgb),.2);
}

.site-header .nav {
  position: relative;
  justify-content: center;
  gap: 0;
}

.site-header .premium-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px 4px 4px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.site-header .nav-links {
  margin: 0 auto;
  min-width: 820px;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 14px 34px rgba(0,0,0,.1);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.site-header .nav-link,.site-header .services-trigger {
  min-height: 44px;
  padding: 0 16px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  letter-spacing: .005em;
}

.site-header .nav-link:hover,.site-header .services-trigger:hover,
.site-header .nav-services:focus-within .services-trigger {
  color: #fff;
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.site-header .services-chevron {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 4px;
  border-right: 1.7px solid var(--secondary);
  border-bottom: 1.7px solid var(--secondary);
  transform: rotate(45deg);
  transition: transform .25s ease,margin .25s ease;
}

.site-header .nav-services:hover .services-chevron,
.site-header .nav-services:focus-within .services-chevron,
.site-header .nav-services.mega-open .services-chevron {
  transform: rotate(225deg);
  margin-top: 4px
}

.site-header .header-consultation {
  min-height: 46px;
  padding: 0 23px;
  margin-left: 5px;
  border: 1px solid rgba(255,255,255,.52);
  font-size: 13px;
  letter-spacing: .005em;
  background: linear-gradient(112deg,var(--secondary),var(--accent2));
  box-shadow: 0 10px 30px rgba(var(--secondary-rgb),.2),inset 0 1px 0 rgba(255,255,255,.78);
  position: relative;
  overflow: hidden;
}

.site-header .header-consultation::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -35%;
  width: 42%;
  height: 250%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.36),transparent);
  transform: rotate(20deg);
  transition: left .45s ease;
}

.site-header .header-consultation:hover::after {
  left: 110%
}

.site-header .header-cta-icon {
  display: none;
}

@media(max-width:1240px) {
  .site-header .nav-links {
    min-width: 720px;
    transform: translateX(40px)
  }
  .site-header .nav-link,.site-header .services-trigger {
    padding: 0 12px
  }
}

@media(max-width:1100px) {
  .site-header .nav-links {
    min-width: 590px;
    transform: translateX(90px)
  }
}

@media(max-width:1000px) {
  .site-header {
    height: 88px
  }
  .site-header .nav {
    justify-content: space-between
  }
  .site-header .premium-logo {
    position: static;
    transform: none
  }
  .site-header .mobile {
    margin-left: auto
  }
}

.hero-support-action {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

.hero-support-action .btn-action {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.hero-support-action .btn-action .ico {
  display: none
}

.hero-support-action .btn-action .txt {
  height: 48px;
  margin-left: 0;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(112deg,var(--secondary),var(--accent2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

/* Only section canvases are unified; cards, tabs and buttons retain their design. */
body,main,
main > .promo-wrap,
main > .section,
#about,.why,.services,.services-jl,.service-index-reel,
.cases,.trust,#guides,.contact,
body > footer {
  background-color: #071219!important;
  background-image: none!important;
}

/* Footer theme accents remain driven by the active DeltyWeb theme. */
body > .site-footer .footer-heading {
  color: var(--secondary)
}

body > .site-footer .footer-cta {
  background: linear-gradient(112deg,var(--secondary),var(--accent2));
  color: var(--primary)
}

body > .site-footer .footer-badges span {
  border-color: rgba(var(--secondary-rgb),.3)
}

.footer-deltyweb-link {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color .2s ease,opacity .2s ease;
}

.footer-deltyweb-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg,var(--secondary),var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.footer-deltyweb-link:hover,
.footer-deltyweb-link:focus-visible {
  color: #fff;
}

.footer-deltyweb-link:hover::after,
.footer-deltyweb-link:focus-visible::after {
  transform: scaleX(1);
}

.footer-deltyweb-link:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
  border-radius: 3px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 8495;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--secondary-rgb),.42);
  background: rgba(var(--primary-rgb),.92);
  color: var(--secondary);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.24),
    inset 0 0 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.94);
  pointer-events: none;
  transition: opacity .24s ease,
    visibility .24s ease,
    transform .24s cubic-bezier(.2,.8,.2,1),
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.back-to-top::before {
  content: none;
}

.back-to-top svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.back-to-top:hover {
  color: var(--primary);
  border-color: var(--secondary);
  background: linear-gradient(135deg,var(--secondary),var(--accent2));
  box-shadow: 0 16px 34px rgba(var(--secondary-rgb),.22),
    inset 0 1px 0 rgba(255,255,255,.38);
  transform: translateY(-3px);
}

.back-to-top:hover svg {
  transform: translateY(-2px)
}

.back-to-top:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}

.back-to-top .back-to-top-glow {
  display: none;
}

body:has(.back-to-top:hover) .cursor-dot,
body:has(.back-to-top:hover) .cursor-ring {
  opacity: 0!important
}

@media(max-width:680px) {
  .back-to-top {
    right: 12px;
    bottom: 76px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
  }
}

@media(prefers-reduced-motion:reduce) {
  .back-to-top,
  .back-to-top svg {
    transition: none!important
  }
}

@media(max-width:680px) {
  .footer-socials {
    margin-top: 19px
  }
  .footer-social-link {
    width: 42px;
    height: 42px;
    flex-basis: 42px
  }
}

.client-exp-card {
  overflow: visible;
  min-height: 350px;
  padding: 26px 26px 24px
}

.client-exp-card::after {
  border-radius: 20px;
  overflow: hidden
}

.client-exp-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 2px 0 18px
}

.client-exp-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: block;
  overflow: visible;
  position: relative;
  background: transparent!important;
  border: 0!important;
  box-shadow: none!important;
  margin-bottom: 15px
}

.client-exp-avatar::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  z-index: -1;
  background: conic-gradient(from 180deg,var(--secondary),var(--accent2),var(--accent3),var(--secondary));
  opacity: .42;
  filter: blur(9px);
}

.client-exp-avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  z-index: -1;
  background: linear-gradient(135deg,rgba(var(--secondary-rgb),.9),rgba(101,232,255,.8),rgba(177,122,255,.8));
}

.client-exp-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.03);
  border: 3px solid #0b1c24;
  display: block
}

.client-exp-card.light .client-exp-avatar img {
  border-color: #f1f3ef
}

.client-exp-profile strong {
  display: block;
  color: #eef4f5;
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 4px
}

.client-exp-profile>div>span {
  display: block;
  color: #7f929b;
  font-size: 9.5px
}

.client-exp-card.light .client-exp-profile strong {
  color: #17212b
}

.client-exp-card.light .client-exp-profile>div>span {
  color: #74837e
}

.client-exp-quote-mark {
  font-size: 38px;
  margin: 0 0 6px;
  opacity: .55;
  text-align: left
}

.client-exp-quote {
  font-size: 18px;
  line-height: 1.48;
  text-align: left;
  margin: 0
}

.client-exp-stars {
  order: 10;
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #f6c94c!important;
  font-size: 15px;
  letter-spacing: .12em;
  opacity: 1;
  justify-content: flex-start
}

.client-exp-card.light .client-exp-stars {
  border-top-color: #dce1df;
  color: #e0a900!important
}

.client-exp-foot {
  display: none
}

.client-exp-top {
  margin-bottom: 18px
}

.client-exp-card:hover .client-exp-avatar::before {
  opacity: .65;
  filter: blur(11px)
}

@media(max-width:680px) {
  .client-exp-avatar {
    width: 86px;
    height: 86px
  }
  .client-exp-card {
    min-height: 330px
  }
}

.nav-about {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%
}

.nav-about-trigger {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav-about-trigger::before {
  content: ""
}

.nav-about-trigger .nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform .22s ease;
  opacity: .65
}

.nav-about:hover .nav-chevron,.nav-about:focus-within .nav-chevron {
  transform: rotate(180deg)
}

.nav-about-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%,8px);
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(8,22,28,.96);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease,transform .2s ease,visibility .2s ease;
  z-index: 70
}

.nav-about:hover .nav-about-menu,.nav-about:focus-within .nav-about-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%,0)
}

.nav-about-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700
}

.nav-about-menu a:hover,.nav-about-menu a:focus-visible {
  background: rgba(77,228,240,.08);
  outline: none
}

.nav-about-menu small {
  font-size: 9px;
  font-weight: 500;
  color: rgba(210,229,233,.58);
  letter-spacing: .02em
}

.about-section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap
}

.about-section-actions .about-section-cta {
  margin-top: 0
}

.about-team-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(125,218,229,.25);
  color: #d9eef2;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: .22s ease
}

.about-team-link-secondary:hover {
  border-color: rgba(125,218,229,.58);
  background: rgba(125,218,229,.07);
  transform: translateY(-2px)
}

@media(max-width:980px) {
  .nav-about {
    display: block
  }
  .nav-about-menu {
    display: none
  }
  .about-section-actions {
    gap: 9px
  }
}

.team-page main > :not(.team-showcase) {
  display: none!important
}

.team-showcase {
  min-height: 100vh;
  padding: 150px 0 100px;
  background: var(--bg,#07171d);
  color: #fff
}

.team-showcase .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px
}

.team-page-head {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px
}

.team-page-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  color: #55e5ef;
  text-transform: uppercase;
  margin-bottom: 15px
}

.team-page-head h1 {
  font-size: clamp(46px,5.5vw,78px);
  line-height: .96;
  letter-spacing: -.05em;
  margin: 0;
  max-width: 850px
}

.team-page-head h1 em {
  font-style: normal;
  background: linear-gradient(90deg,#91f6e4,#56dff1 45%,#8c74ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.team-page-head p {
  margin: 0;
  color: #9fb0b6;
  font-size: 16px;
  line-height: 1.65;
  max-width: 440px
}

.team-demo-note {
  margin: 0 0 28px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: #84979e;
  font-size: 11px;
  background: rgba(255,255,255,.025)
}

.team-profile-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px
}

.team-profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(112,218,229,.18);
  border-radius: 24px;
  background: linear-gradient(160deg,rgba(18,43,52,.96),rgba(8,22,29,.98));
  min-height: 560px;
  display: flex;
  flex-direction: column;
  transition: transform .26s ease,border-color .26s ease,box-shadow .26s ease
}

.team-profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(112,218,229,.44);
  box-shadow: 0 22px 58px rgba(0,0,0,.28)
}

.team-profile-photo {
  height: 310px;
  overflow: hidden;
  background: #10262e
}

.team-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.02);
  transition: transform .5s ease
}

.team-profile-card:hover .team-profile-photo img {
  transform: scale(1.035)
}

.team-profile-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1
}

.team-profile-role {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #57e7ef
}

.team-profile-body h2 {
  font-size: 28px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.025em
}

.team-profile-body p {
  margin: 0;
  color: #a6b5ba;
  font-size: 13px;
  line-height: 1.55
}

.team-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px
}

.team-profile-tags span {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 800;
  color: #c9d6da;
  background: rgba(255,255,255,.025)
}

.team-page-cta {
  margin-top: 24px;
  border: 1px solid rgba(112,218,229,.2);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg,rgba(43,212,226,.05),rgba(131,104,255,.045))
}

.team-page-cta strong {
  font-size: 24px;
  letter-spacing: -.02em
}

.team-page-cta p {
  margin: 5px 0 0;
  color: #91a4aa;
  font-size: 13px
}

.team-page-cta a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg,#5ee6ef,#8a75ff,#65eacb);
  color: #07141a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap
}

@media(max-width:980px) {
  .team-page-head {
    grid-template-columns: 1fr;
    gap: 18px
  }
  .team-profile-grid {
    grid-template-columns: 1fr
  }
  .team-profile-card {
    min-height: 0
  }
  .team-profile-photo {
    height: 390px
  }
  .team-page-cta {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(max-width:600px) {
  .team-showcase {
    padding: 120px 0 70px
  }
  .team-page-head h1 {
    font-size: 48px
  }
  .team-profile-photo {
    height: 320px
  }
  .team-page-cta strong {
    font-size: 20px
  }
}

.team-profile-grid {
  overflow: visible!important;
  padding: 14px 12px 22px;
  margin: -14px -12px -22px
}

.team-profile-card {
  overflow: visible!important;
  isolation: isolate;
}

.team-profile-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 34px;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  filter: blur(24px);
  background: radial-gradient(circle at 50% 20%,rgba(83,226,239,.20),rgba(126,105,255,.10) 45%,transparent 72%);
  transition: opacity .28s ease,transform .28s ease;
}

.team-profile-card:nth-child(2)::before {
  background: radial-gradient(circle at 50% 20%,rgba(126,105,255,.18),rgba(83,226,239,.10) 45%,transparent 72%)
}

.team-profile-card:nth-child(3)::before {
  background: radial-gradient(circle at 50% 20%,rgba(90,234,196,.16),rgba(83,226,239,.11) 45%,transparent 72%)
}

.team-profile-card:hover::before {
  opacity: .58;
  transform: scale(1.015)
}

.team-profile-photo {
  border-radius: 23px 23px 0 0;
  overflow: hidden!important;
  position: relative;
  z-index: 1;
}

.team-profile-body {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg,rgba(18,43,52,.96),rgba(8,22,29,.98));
  border-radius: 0 0 23px 23px;
}

@media(max-width:980px) {
  .team-profile-grid {
    padding: 12px 10px 20px;
    margin: -12px -10px -20px
  }
}

/* ===== BrightLedger pre-footer CTA + single-file quote subpage ===== */
.quote-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: center;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(circle at 88% 50%,rgba(var(--secondary-rgb),.18),transparent 24%),
    radial-gradient(circle at 70% 5%,rgba(101,232,255,.13),transparent 25%),
    linear-gradient(105deg,#071219 0%,#082731 32%,#0b4854 67%,#0d5e66 100%);
}

.quote-cta::before,
.quote-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

.quote-cta::before {
  width: 360px;
  height: 360px;
  right: -82px;
  top: -175px;
  border: 38px solid rgba(97,255,181,.075);
  box-shadow: 0 0 0 38px rgba(101,232,255,.035);
}

.quote-cta::after {
  width: 245px;
  height: 245px;
  right: 52px;
  top: -56px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(97,255,181,.025);
}

.quote-cta-inner {
  width: min(1240px,calc(100% - 44px));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0,1.65fr) auto minmax(190px,.6fr);
  gap: clamp(30px,5vw,78px);
  align-items: center;
  padding: 34px 0;
}

.quote-cta-copy small {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.quote-cta-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(30px,3.2vw,46px);
  line-height: 1;
  letter-spacing: -.04em;
}

.quote-cta-copy p {
  color: #b7cbd0;
  font-size: 15px;
  line-height: 1.55;
}

.quote-cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: linear-gradient(112deg,var(--secondary),var(--accent2));
  color: #071219;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 17px 44px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.72);
  transition: transform .24s ease,box-shadow .24s ease,filter .24s ease;
  white-space: nowrap;
}

.quote-cta-button::after {
  content: "→";
  font-size: 18px;
  line-height: 1
}

.quote-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(0,0,0,.28),0 0 30px rgba(var(--secondary-rgb),.08),inset 0 1px 0 rgba(255,255,255,.72);
  filter: saturate(1.08);
}

.quote-cta-note {
  position: relative;
  z-index: 1;
  justify-self: start;
  max-width: 200px;
  color: #fff;
  font-family: "Comic Sans MS","Segoe Print",cursive;
  font-size: 25px;
  line-height: 1.08;
  transform: rotate(-4deg);
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.quote-cta-note span {
  display: block;
  color: var(--secondary)
}

/* Single-file quote route. It behaves like a separate page until split into its own template. */
.quote-route {
  position: fixed;
  inset: 0;
  z-index: 9700;
  overflow: auto;
  overscroll-behavior: contain;
  background: #071219;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .28s ease,transform .28s ease,visibility .28s ease;
}

.quote-route.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

body.quote-route-open {
  overflow: hidden!important
}

.quote-route-shell {
  min-height: 100%;
  background: radial-gradient(circle at 10% 10%,rgba(var(--secondary-rgb),.12),transparent 25%),
    radial-gradient(circle at 88% 16%,rgba(101,232,255,.12),transparent 27%),
    linear-gradient(180deg,#071219 0%,#081922 48%,#071219 100%);
}

.quote-route-topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,18,25,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.quote-route-topbar-inner {
  width: min(1180px,calc(100% - 40px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quote-route-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.025em;
}

.quote-route-brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #071219;
  font-size: 11px;
  font-weight: 950;
  background: linear-gradient(130deg,var(--secondary),var(--accent2));
  box-shadow: 0 8px 26px rgba(var(--secondary-rgb),.14),inset 0 1px 0 rgba(255,255,255,.7);
}

.quote-route-brand b {
  color: var(--secondary)
}

.quote-route-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: #d8e3e7;
  background: rgba(255,255,255,.035);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  transition: .2s ease;
}

.quote-route-back:hover {
  border-color: rgba(var(--secondary-rgb),.38);
  color: #fff;
  background: rgba(var(--secondary-rgb),.07)
}

.quote-route-back span {
  color: var(--secondary);
  font-size: 16px
}
