/* SERVICES-MOBILE-r1
   KARETA #services compact app-like design based on the provided reference.
   Scope: only .services-lite-page.
*/
.services-lite-page{
  min-height:calc(100dvh - var(--nav-h, 0px));
  background:#ffffff;
  color:#111827;
  padding:0 0 calc(88px + env(safe-area-inset-bottom));
}
.services-lite-shell{
  width:min(430px, 100%);
  margin:0 auto;
  padding:14px 16px 18px;
  box-sizing:border-box;
}
.services-lite-head{
  padding:4px 0 10px;
}
.services-lite-logo{
  font-family:Arial, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight:900;
  letter-spacing:.01em;
  font-size:20px;
  line-height:1;
  color:#111827;
  margin:0 0 18px;
}
.services-lite-logo span{
  color:#f5b400;
}
.services-lite-head h1{
  margin:0;
  color:#111827;
  font-family:Arial, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight:800;
  font-size:22px;
  line-height:1.08;
  letter-spacing:-.03em;
}
.services-lite-search{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  gap:8px;
  align-items:center;
  margin:8px 0 20px;
}
.services-lite-search input{
  width:100%;
  height:38px;
  border:0;
  border-radius:6px;
  background:#f1f1f1;
  color:#111827;
  padding:0 12px 0 34px;
  font-size:12px;
  font-weight:600;
  outline:none;
  box-shadow:none;
  background-image:linear-gradient(transparent,transparent);
  position:relative;
}
.services-lite-search::before{
  content:'⌕';
  position:absolute;
  z-index:1;
  margin-left:12px;
  margin-top:0;
  color:#9ca3af;
  font-size:17px;
  line-height:38px;
  pointer-events:none;
}
.services-lite-search input::placeholder{
  color:#9ca3af;
  opacity:1;
}
.services-lite-search button{
  width:42px;
  height:38px;
  border:0;
  border-radius:6px;
  background:#f5bf00;
  color:#111827;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:900;
  box-shadow:0 8px 16px rgba(245,191,0,.22);
  cursor:pointer;
}
.services-lite-search button:active{
  transform:translateY(1px);
}
.services-lite-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
.services-lite-card{
  position:relative;
  min-height:76px;
  border:0;
  border-radius:8px;
  background:#f4f4f4;
  color:#111827;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 6px 9px;
  text-align:center;
  box-shadow:0 6px 14px rgba(15,23,42,.055);
  cursor:pointer;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.services-lite-card:hover{
  transform:translateY(-1px);
  background:#eeeeee;
  box-shadow:0 10px 20px rgba(15,23,42,.08);
}
.services-lite-card:focus-visible{
  outline:2px solid #f5bf00;
  outline-offset:2px;
}
.services-lite-card__icon{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111827;
  font-size:22px;
  line-height:1;
  filter:grayscale(.15) contrast(1.05);
}
.services-lite-card__label{
  display:block;
  color:#111827;
  font-size:11px;
  line-height:1.1;
  font-weight:800;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.services-lite-card__count{
  position:absolute;
  top:5px;
  right:6px;
  min-width:16px;
  height:16px;
  border-radius:999px;
  background:#fff;
  color:#6b7280;
  border:1px solid #e5e7eb;
  font-size:9px;
  line-height:14px;
  font-weight:800;
}
.services-lite-empty{
  display:none;
  margin:16px 0 0;
  padding:12px;
  border-radius:10px;
  background:#f7f7f7;
  color:#6b7280;
  font-size:12px;
  font-weight:700;
  text-align:center;
}
[data-theme="dark"] .services-lite-page{
  background:#ffffff;
  color:#111827;
}
[data-theme="dark"] .services-lite-logo,
[data-theme="dark"] .services-lite-head h1,
[data-theme="dark"] .services-lite-card,
[data-theme="dark"] .services-lite-card__label,
[data-theme="dark"] .services-lite-card__icon,
[data-theme="dark"] .services-lite-search input{
  color:#111827;
}
@media (min-width:768px){
  .services-lite-page{
    background:linear-gradient(180deg,#ffffff 0%,#f7f7f7 100%);
    padding-top:18px;
  }
  .services-lite-shell{
    border-radius:24px;
    background:#ffffff;
    box-shadow:0 24px 70px rgba(15,23,42,.10);
    border:1px solid #f0f0f0;
    padding:22px 22px 24px;
  }
}
@media (max-width:360px){
  .services-lite-shell{padding-left:12px;padding-right:12px;}
  .services-lite-grid{gap:9px;}
  .services-lite-card{min-height:70px;}
  .services-lite-head h1{font-size:21px;}
}
