/* =========================================================
   QUANTAPS PLATFORM SERVICE HUB V2
   Shared EN/TR visual system
   Compact / modern / responsive / accessible
========================================================= */

.qt-plat{
  --qt-plat-accent:#6573dc;
  --qt-plat-ink:#151d38;
  --qt-plat-ink-2:#293752;
  --qt-plat-muted:#657187;
  --qt-plat-muted-2:#818ba0;
  --qt-plat-line:rgba(69,82,139,.11);
  --qt-plat-line-soft:rgba(69,82,139,.075);
  --qt-plat-surface:rgba(255,255,255,.95);
  --qt-plat-surface-soft:rgba(248,250,254,.94);
  --qt-plat-shadow:0 12px 30px rgba(37,49,94,.055);
  --qt-plat-shadow-soft:0 7px 19px rgba(37,49,94,.04);

  position:relative;
  width:100%;
  padding:12px 0 42px;
  color:var(--qt-plat-ink);
  background:
    radial-gradient(760px 230px at 8% 0%,color-mix(in srgb,var(--qt-plat-accent) 7%,transparent),transparent 68%),
    radial-gradient(620px 220px at 96% 8%,rgba(98,199,191,.045),transparent 70%),
    linear-gradient(180deg,#f5f6fb 0%,#f8f9fc 36%,#edf1f8 100%);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.qt-plat,
.qt-plat *,
.qt-plat *::before,
.qt-plat *::after{
  box-sizing:border-box;
}

.qt-plat :where(h1,h2,h3,p,ul,li){
  margin:0;
  padding:0;
}

.qt-plat :where(ul){
  list-style:none;
}

.qt-plat :where(a){
  color:inherit;
  text-decoration:none;
}

.qt-plat :where(button,input){
  font:inherit;
}

.qt-plat [hidden]{
  display:none !important;
}

.qt-plat__shell{
  display:grid;
  gap:12px;
  width:min(1260px,calc(100% - 24px));
  margin:0 auto;
}

.qt-plat__breadcrumb{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:0 5px;
  color:var(--qt-plat-muted-2);
  font-size:11.5px;
  line-height:1.35;
}

.qt-plat__breadcrumb a{
  color:var(--qt-plat-muted);
  font-weight:650;
  transition:color .15s ease;
}

.qt-plat__breadcrumb a:hover,
.qt-plat__breadcrumb a:focus-visible{
  color:color-mix(in srgb,var(--qt-plat-accent) 78%,#17203d);
}

.qt-plat__breadcrumb span[aria-current="page"]{
  min-width:0;
  overflow:hidden;
  color:color-mix(in srgb,var(--qt-plat-accent) 74%,#17203d);
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qt-plat__panel{
  position:relative;
  overflow:hidden;
  border:1px solid var(--qt-plat-line);
  border-radius:22px;
  background:
    radial-gradient(620px 180px at 0 0,color-mix(in srgb,var(--qt-plat-accent) 6%,transparent),transparent 72%),
    linear-gradient(180deg,var(--qt-plat-surface),var(--qt-plat-surface-soft));
  box-shadow:var(--qt-plat-shadow),inset 0 1px 0 rgba(255,255,255,.9);
}

.qt-plat__hero,
.qt-plat__catalog{
  overflow:hidden;
  border:0;
  background:transparent;
  box-shadow:none;
}

.qt-plat__hero{
  position:relative;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  align-items:center;
  gap:15px;
  padding:18px 20px 17px;
  border-bottom:1px solid var(--qt-plat-line-soft);
  border-radius:0;
}

.qt-plat__hero::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--qt-plat-accent) 32%,transparent),rgba(98,199,191,.20),transparent);
}

.qt-plat__hero::after{
  content:"";
  position:absolute;
  top:-72px;
  right:-44px;
  width:180px;
  height:180px;
  border-radius:50%;
  pointer-events:none;
  background:
    radial-gradient(circle at 38% 36%,rgba(255,255,255,.76),transparent 29%),
    color-mix(in srgb,var(--qt-plat-accent) 8%,transparent);
}

.qt-plat__heroIcon{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid color-mix(in srgb,var(--qt-plat-accent) 17%,transparent);
  border-radius:18px;
  color:#fff;
  background:
    radial-gradient(100% 100% at 26% 18%,rgba(255,255,255,.28),transparent 43%),
    linear-gradient(145deg,color-mix(in srgb,var(--qt-plat-accent) 82%,#fff),var(--qt-plat-accent));
  box-shadow:
    0 11px 22px color-mix(in srgb,var(--qt-plat-accent) 18%,transparent),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.qt-plat__heroIcon .qt-ic{
  display:block;
  width:27px;
  height:27px;
  fill:currentColor;
}

.qt-plat__heroBody{
  position:relative;
  z-index:1;
  min-width:0;
}


.qt-plat__heroBody h1{
  max-width:920px;
  color:var(--qt-plat-ink);
  font-size:clamp(1.75rem,2.6vw,2.45rem);
  font-weight:1000;
  line-height:1.02;
  letter-spacing:-.05em;
  text-wrap:balance;
}

.qt-plat__heroBody > p{
  max-width:900px;
  margin-top:7px;
  color:var(--qt-plat-muted);
  font-size:13.2px;
  font-weight:520;
  line-height:1.58;
  text-wrap:pretty;
}


.qt-plat__catalog{
  padding:13px 16px 16px;
  border-radius:0;
  background:
    linear-gradient(
      180deg,
      rgba(248,250,254,.62),
      rgba(255,255,255,.36)
    );
}

.qt-plat__catalogTools{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.qt-plat__catalogTools .qt-plat__filters{
  flex:1 1 auto;
  min-width:0;
  margin-top:0;
  padding-bottom:0;
}

.qt-plat__catalogTools .qt-plat__search{
  width:min(360px,32vw);
  max-width:360px;
  flex:0 0 min(360px,32vw);
  margin-left:auto;
}

.qt-plat__search{
  position:relative;
  min-width:0;
}

.qt-plat__search > svg{
  position:absolute;
  top:50%;
  left:13px;
  width:17px;
  height:17px;
  fill:none;
  stroke:var(--qt-plat-muted-2);
  stroke-width:2;
  pointer-events:none;
  transform:translateY(-50%);
}

.qt-plat__search input{
  display:block;
  width:100%;
  min-height:43px;
  padding:0 13px 0 40px;
  border:1px solid rgba(69,82,139,.15);
  border-radius:12px;
  outline:none;
  color:var(--qt-plat-ink);
  background:rgba(255,255,255,.96);
  font-size:12px;
  font-weight:550;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}

.qt-plat__search input::placeholder{
  color:#98a2b4;
  opacity:1;
}

.qt-plat__search input:focus{
  border-color:color-mix(in srgb,var(--qt-plat-accent) 38%,rgba(69,82,139,.15));
  background:#fff;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--qt-plat-accent) 9%,transparent);
}

.qt-plat__filters{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:10px;
  padding-bottom:2px;
  overflow-x:auto;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb,var(--qt-plat-accent) 18%,transparent) transparent;
}

.qt-plat__filters button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex:0 0 auto;
  min-height:36px;
  padding:0 10px;
  border:1px solid var(--qt-plat-line);
  border-radius:999px;
  color:var(--qt-plat-ink-2);
  background:rgba(255,255,255,.76);
  cursor:pointer;
  font-size:10.5px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
  transition:border-color .15s ease,color .15s ease,background .15s ease,transform .15s ease;
}

.qt-plat__filters button span{
  color:var(--qt-plat-muted-2);
  font-size:9px;
}

.qt-plat__filters button:hover{
  border-color:color-mix(in srgb,var(--qt-plat-accent) 22%,var(--qt-plat-line));
  color:color-mix(in srgb,var(--qt-plat-accent) 78%,#17203d);
  background:#fff;
  transform:translateY(-1px);
}

.qt-plat__filters button[aria-pressed="true"]{
  border-color:color-mix(in srgb,var(--qt-plat-accent) 26%,transparent);
  color:color-mix(in srgb,var(--qt-plat-accent) 78%,#17203d);
  background:color-mix(in srgb,var(--qt-plat-accent) 7%,#fff);
  box-shadow:0 5px 13px color-mix(in srgb,var(--qt-plat-accent) 9%,transparent);
}

.qt-plat__resultBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:0;
  padding:0 2px;
  color:var(--qt-plat-muted);
  font-size:10.5px;
  font-weight:650;
  line-height:1.35;
}

.qt-plat__resultBar strong{
  color:var(--qt-plat-ink-2);
  font-weight:850;
}

.qt-plat__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}

.qt-plat__card{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 19px;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:78px;
  padding:9px 10px;
  overflow:hidden;
  border:1px solid var(--qt-plat-line-soft);
  border-radius:13px;
  color:var(--qt-plat-ink-2);
  background:
    radial-gradient(220px 76px at 0 0,color-mix(in srgb,var(--qt-plat-accent) 4.5%,transparent),transparent 72%),
    rgba(255,255,255,.78);
  box-shadow:0 3px 10px rgba(37,49,94,.022);
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background .15s ease;
}

.qt-plat__card::before{
  content:"";
  position:absolute;
  top:13px;
  bottom:13px;
  left:0;
  width:3px;
  border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,color-mix(in srgb,var(--qt-plat-accent) 88%,#fff),color-mix(in srgb,var(--qt-plat-accent) 54%,#fff));
  opacity:.62;
}

.qt-plat__card:hover{
  border-color:color-mix(in srgb,var(--qt-plat-accent) 22%,var(--qt-plat-line));
  background:#fff;
  box-shadow:0 9px 20px rgba(37,49,94,.052);
  transform:translateY(-1px);
}

.qt-plat__metricIcon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid color-mix(in srgb,var(--qt-plat-accent) 15%,transparent);
  border-radius:11px;
  color:color-mix(in srgb,var(--qt-plat-accent) 80%,#17203d);
  background:color-mix(in srgb,var(--qt-plat-accent) 7%,#fff);
}

.qt-plat__metricIcon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.qt-plat__cardBody{
  min-width:0;
}

.qt-plat__cardTop{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}

.qt-plat__cardTop strong{
  min-width:0;
  overflow:hidden;
  color:var(--qt-plat-ink-2);
  font-size:12px;
  font-weight:880;
  line-height:1.28;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qt-plat__cardTop small{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:19px;
  padding:0 6px;
  border:1px solid var(--qt-plat-line-soft);
  border-radius:999px;
  color:var(--qt-plat-muted-2);
  background:rgba(255,255,255,.66);
  font-size:8px;
  font-weight:850;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
}

.qt-plat__cardDesc{
  display:-webkit-box;
  margin-top:4px;
  overflow:hidden;
  color:var(--qt-plat-muted);
  font-size:9.8px;
  font-weight:520;
  line-height:1.38;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.qt-plat__arrow{
  color:var(--qt-plat-accent);
  opacity:.68;
  transition:transform .15s ease,opacity .15s ease;
}

.qt-plat__arrow svg{
  display:block;
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}

.qt-plat__card:hover .qt-plat__arrow{
  opacity:1;
  transform:translateX(2px);
}

.qt-plat__empty{
  margin-top:10px;
  padding:14px;
  border:1px dashed color-mix(in srgb,var(--qt-plat-accent) 22%,transparent);
  border-radius:12px;
  color:var(--qt-plat-muted);
  background:color-mix(in srgb,var(--qt-plat-accent) 3.5%,#fff);
  font-size:12px;
  line-height:1.5;
  text-align:center;
}

.qt-plat__srOnly{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.qt-plat :where(a,button,input):focus-visible{
  outline:none;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--qt-plat-accent) 11%,transparent);
}

@media (max-width:1160px){
  .qt-plat__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:860px){
  .qt-plat__catalogTools{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .qt-plat__catalogTools .qt-plat__search{
    order:1;
    width:100%;
    max-width:none;
    flex:0 0 auto;
    margin-left:0;
  }

  .qt-plat__catalogTools .qt-plat__filters{
    order:2;
    width:100%;
  }

  .qt-plat__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:600px){
  .qt-plat{
    padding:8px 0 30px;
  }

  .qt-plat__shell{
    gap:9px;
    width:min(100% - 14px,1260px);
  }

  .qt-plat__breadcrumb{
    min-height:24px;
    padding:0 3px;
    font-size:10.5px;
  }

  .qt-plat__panel{
    border-radius:17px;
  }

  .qt-plat__hero{
    grid-template-columns:44px minmax(0,1fr);
    gap:10px;
    padding:14px 13px 13px;
    border-radius:0;
  }

  .qt-plat__heroIcon{
    width:44px;
    height:44px;
    border-radius:14px;
  }

  .qt-plat__heroIcon .qt-ic{
    width:21px;
    height:21px;
  }

  .qt-plat__eyebrow{
    margin-bottom:4px;
    font-size:8px;
  }

  .qt-plat__heroBody h1{
    font-size:1.55rem;
    line-height:1.04;
  }

  .qt-plat__heroBody > p{
    margin-top:5px;
    font-size:11.4px;
    line-height:1.48;
  }


  .qt-plat__catalog{
    padding:10px 10px 12px;
    border-radius:0;
  }

  .qt-plat__catalogTools{
    gap:7px;
  }

  .qt-plat__search input{
    min-height:41px;
    font-size:11.5px;
  }

  .qt-plat__filters{
    width:calc(100% + 10px);
    margin-right:-10px;
    padding-right:10px;
    scrollbar-width:none;
  }

  .qt-plat__filters::-webkit-scrollbar{
    display:none;
  }

  .qt-plat__filters button{
    min-height:34px;
    padding:0 9px;
    font-size:10px;
  }

  .qt-plat__resultBar{
    align-items:flex-start;
    font-size:9.5px;
  }

  .qt-plat__resultBar > span:last-child{
    display:none;
  }

  .qt-plat__grid{
    grid-template-columns:1fr;
    gap:6px;
    margin-top:8px;
  }

  .qt-plat__card{
    grid-template-columns:34px minmax(0,1fr) 18px;
    min-height:68px;
    padding:8px 9px;
    border-radius:11px;
  }

  .qt-plat__metricIcon{
    width:34px;
    height:34px;
    border-radius:10px;
  }

  .qt-plat__metricIcon svg{
    width:16px;
    height:16px;
  }

  .qt-plat__cardTop strong{
    font-size:11.5px;
  }

  .qt-plat__cardTop small{
    min-height:18px;
    font-size:7.5px;
  }

  .qt-plat__cardDesc{
    font-size:9.3px;
    line-height:1.34;
    -webkit-line-clamp:1;
  }
}

@media (max-width:390px){
  .qt-plat__heroMeta span:nth-child(2){
    display:none;
  }

  .qt-plat__cardTop small{
    display:none;
  }
}

@media (prefers-reduced-motion:reduce){
  .qt-plat *,
  .qt-plat *::before,
  .qt-plat *::after{
    scroll-behavior:auto !important;
    transition:none !important;
    animation:none !important;
  }
}

/* =========================================================
   FINAL COMPACT DIRECTORY
   Categories stay in the top filter bar.
   Cards contain only icon, service name and arrow.
========================================================= */

.qt-plat__heroMeta span:nth-child(n+2),
.qt-plat__resultBar > span:last-child{
  display:none;
}

.qt-plat__filters{
  gap:6px;
  margin-top:0;
}

.qt-plat__filters button{
  --qt-plat-filter-tone:var(--qt-plat-accent);

  min-height:34px;
  padding:0 9px;
  gap:6px;
  font-size:10.2px;
}

.qt-plat__filters button > span{
  min-width:16px;
  text-align:center;
}

.qt-plat__filterIcon{
  display:block;
  width:13px;
  height:13px;
  flex:0 0 13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.qt-plat__filters button:hover{
  border-color:color-mix(in srgb,var(--qt-plat-filter-tone) 28%,var(--qt-plat-line));
  color:color-mix(in srgb,var(--qt-plat-filter-tone) 82%,#17203d);
  background:color-mix(in srgb,var(--qt-plat-filter-tone) 4%,#fff);
}

.qt-plat__filters button[aria-pressed="true"]{
  border-color:color-mix(in srgb,var(--qt-plat-filter-tone) 34%,transparent);
  color:color-mix(in srgb,var(--qt-plat-filter-tone) 82%,#17203d);
  background:color-mix(in srgb,var(--qt-plat-filter-tone) 8%,#fff);
  box-shadow:0 5px 13px color-mix(in srgb,var(--qt-plat-filter-tone) 10%,transparent);
}

.qt-plat__resultBar{
  margin-top:0;
}

.qt-plat__grid{
  gap:7px;
  margin-top:8px;
}

.qt-plat__card{
  --qt-plat-card-tone:var(--qt-plat-accent);

  grid-template-columns:34px minmax(0,1fr) 17px;
  gap:8px;
  min-height:56px;
  padding:7px 9px;
  border-radius:12px;
  background:
    radial-gradient(
      210px 68px at 0 0,
      color-mix(in srgb,var(--qt-plat-card-tone) 5%,transparent),
      transparent 72%
    ),
    rgba(255,255,255,.82);
}

.qt-plat__card::before{
  top:11px;
  bottom:11px;
  width:2px;
}

.qt-plat__card:hover{
  border-color:color-mix(in srgb,var(--qt-plat-card-tone) 24%,var(--qt-plat-line));
  background:
    radial-gradient(
      225px 72px at 0 0,
      color-mix(in srgb,var(--qt-plat-card-tone) 7%,transparent),
      transparent 72%
    ),
    #fff;
}

.qt-plat__metricIcon{
  width:34px;
  height:34px;
  border-color:color-mix(in srgb,var(--qt-plat-card-tone) 18%,transparent);
  border-radius:10px;
  color:color-mix(in srgb,var(--qt-plat-card-tone) 84%,#17203d);
  background:color-mix(in srgb,var(--qt-plat-card-tone) 8%,#fff);
  box-shadow:
    0 4px 10px color-mix(in srgb,var(--qt-plat-card-tone) 7%,transparent),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.qt-plat__metricIcon svg{
  width:16px;
  height:16px;
}

.qt-plat__cardBody{
  display:flex;
  align-items:center;
  min-width:0;
  min-height:34px;
}

.qt-plat__cardTitle,
.qt-plat__cardTop strong{
  display:block;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  color:var(--qt-plat-ink-2);
  font-size:12px;
  font-weight:900;
  line-height:1.28;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* EN engine may still output these legacy elements. */
.qt-plat__cardTop{
  display:block;
  min-width:0;
  width:100%;
}

.qt-plat__cardTop small,
.qt-plat__cardBadges,
.qt-plat__cardDesc{
  display:none !important;
}

.qt-plat__arrow{
  color:var(--qt-plat-card-tone);
}

@media (max-width:600px){
  .qt-plat__filters button{
    min-height:33px;
    padding:0 8px;
    font-size:9.8px;
  }

  .qt-plat__grid{
    gap:6px;
  }

  .qt-plat__card{
    grid-template-columns:31px minmax(0,1fr) 16px;
    min-height:51px;
    padding:6px 8px;
    gap:8px;
    border-radius:10px;
  }

  .qt-plat__card::before{
    top:10px;
    bottom:10px;
  }

  .qt-plat__metricIcon{
    width:31px;
    height:31px;
    border-radius:9px;
  }

  .qt-plat__metricIcon svg{
    width:15px;
    height:15px;
  }

  .qt-plat__cardBody{
    min-height:31px;
  }

  .qt-plat__cardTitle,
  .qt-plat__cardTop strong{
    font-size:11.5px;
  }
}

@media (max-width:390px){
  .qt-plat__filterIcon{
    width:12px;
    height:12px;
    flex-basis:12px;
  }

  .qt-plat__card{
    min-height:49px;
  }
}


/* =========================================================
   FINAL PLATFORM IDENTITY
========================================================= */
.qt-plat__filters button{
  --qt-plat-filter-tone:var(--qt-plat-accent)!important;
}

.qt-plat__card{
  --qt-plat-card-tone:var(--qt-plat-accent)!important;
}