/* V2.3.0 - Armut-inspired service marketplace UX, preserving Kapinda Hizmet colors and structure */

/* ---------- Global density / typography ---------- */
body{background:#fff;color:var(--text);font-size:15px}
.container{width:min(1120px,calc(100% - 32px))}
.section{padding:54px 0}
.section.alt{background:#f7f9fb}
.eyebrow{font-size:11px;letter-spacing:1.3px;margin-bottom:7px}
.section-head,.dash-head,.panel-head,.admin-heading{margin-bottom:20px;align-items:center}
.section-head h2,.center-head h2,.provider-cta h2,.seo-content h2{font-size:30px;letter-spacing:-1px;margin:2px 0}
.section-head-actions{display:flex;align-items:center;gap:14px}.slider-actions{display:flex;gap:6px}.slider-actions button{width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:10px;cursor:pointer;color:var(--navy)}

/* ---------- Desktop header: lighter marketplace bar ---------- */
.site-header.kh-header{background:rgba(255,255,255,.98);box-shadow:0 1px 0 rgba(16,36,71,.06);border:0}
.header-inner{height:66px;gap:22px}
.logo{font-size:21px}.logo span{width:34px;height:34px;border-radius:10px}.brand-picture img{max-height:44px;width:auto}
.desktop-nav{gap:20px;font-size:13px}.desktop-nav>a,.kh-category-menu summary{padding:8px 0}
.kh-header-actions{gap:8px}.kh-login{font-size:13px;font-weight:750}.nav-btn{padding:10px 15px;border-radius:10px;font-size:13px}
.kh-category-panel{top:calc(100% + 8px)}

/* ---------- Home hero: one strong task instead of decorative split ---------- */
.kh-home-hero{padding:50px 0 42px;background:linear-gradient(180deg,#f7fbff 0,#fff 100%);border-bottom:1px solid #edf1f6}
.kh-home-hero-grid{display:block!important;max-width:860px;margin:auto;text-align:center}
.kh-home-hero-copy{max-width:780px;margin:auto}
.kh-home-hero-visual{display:none!important}
.kh-trust-badge{display:inline-flex!important;align-items:center;gap:6px;margin-bottom:9px;padding:6px 10px;border:1px solid #dfe9f3;border-radius:999px;background:#fff;color:#52657c;font-size:11px;font-weight:750}
.kh-home-hero .eyebrow{display:block;margin:4px 0 8px}
.kh-home-hero h1{max-width:760px;margin:0 auto 12px;font-size:clamp(36px,5vw,54px);line-height:1.04;letter-spacing:-2.2px;color:var(--navy)}
.kh-home-hero h1 em{color:var(--blue);font-style:normal}
.kh-home-hero-copy>p{max-width:650px;margin:0 auto 22px;color:var(--muted);font-size:15px}
.smart-search{max-width:720px;margin:0 auto;position:relative;text-align:left}
.smart-search-box{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:6px;padding:7px 7px 7px 14px;background:#fff;border:1px solid #dce4ed;border-radius:14px;box-shadow:0 8px 26px rgba(16,36,71,.08)}
.smart-search-box>span{font-size:22px;color:var(--blue)}
.smart-search-box input{min-width:0;height:46px;border:0;outline:0;font-size:15px;background:transparent}
.smart-search-box button{height:44px;border:0;border-radius:10px;padding:0 20px;background:var(--blue);color:#fff;font-weight:850;cursor:pointer}
.smart-suggestions{border-radius:0 0 14px 14px;box-shadow:0 16px 34px rgba(16,36,71,.12)}
.kh-popular-tags{justify-content:center;margin:13px auto 0;gap:6px}.kh-popular-tags small{font-size:11px;color:var(--muted)}.kh-popular-tags button{padding:5px 9px;border-radius:999px;border:1px solid #e1e7ef;background:#fff;color:#4e5f74;font-size:10.5px;font-weight:700;cursor:pointer}
.hero-trust{justify-content:center;margin-top:13px;gap:14px;font-size:11px;color:#596b7f}.hero-trust span{padding:0!important;border:0!important;background:transparent!important}

/* ---------- Home categories: compact visual marketplace tiles ---------- */
.home-category-slider.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-category-slider .category-card{display:block;padding:0;overflow:hidden;border:1px solid #e3e8ef;border-radius:14px;background:#fff;box-shadow:none;transform:none}
.home-category-slider .category-card:hover{transform:translateY(-2px);border-color:#cbd7e5;box-shadow:0 8px 22px rgba(16,36,71,.07)}
.home-category-cover{aspect-ratio:16/9!important;background:#f4f7fa!important;border-bottom:1px solid #edf1f5}
.home-category-cover img{object-fit:contain!important;padding:0!important}
.home-category-cover>span{display:grid;place-items:center;width:100%;height:100%;font-size:34px;font-weight:900;color:var(--blue)}
.home-category-content{display:flex!important;align-items:center;gap:8px;padding:10px 11px!important}
.home-category-content>div{display:flex;flex:1;min-width:0;flex-direction:column}.home-category-content b{font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-category-content small{font-size:10px;color:var(--muted)}.home-category-content i{font-style:normal;color:#9aa8b8;font-size:13px}

/* ---------- How it works: flat, numbered strip ---------- */
.center-head{max-width:640px;margin:0 auto 24px}.center-head p{margin:8px 0 0;font-size:14px}
.steps{gap:12px}.steps article{position:relative;padding:20px 18px;border:1px solid #e4e9ef;border-radius:14px;box-shadow:none}.steps article>span{width:32px;height:32px;border-radius:50%;font-size:12px}.steps h3{font-size:16px;margin:12px 0 5px}.steps p{font-size:12.5px;line-height:1.55}

/* ---------- Services: content-first cards ---------- */
.home-service-slider.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-service-slider .service-card{border-radius:14px;border:1px solid #e4e9ef;box-shadow:none}.home-service-slider .service-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(16,36,71,.07)}
.home-service-slider .service-cover{height:102px;background:linear-gradient(145deg,#f0f6ff,#f8fafc)}.home-service-slider .service-cover span{font-size:28px}
.home-service-slider .service-body{padding:13px}.home-service-slider .service-body small{font-size:9.5px}.home-service-slider .service-body h3{font-size:15px;margin:3px 0 5px}.home-service-slider .service-body p{font-size:11.5px;line-height:1.45;min-height:34px;margin:0 0 9px}.home-service-slider .service-body b{font-size:11.5px}

/* ---------- Providers: compact proof cards ---------- */
.home-provider-slider{gap:12px}.home-provider-card{border-radius:14px!important;padding:15px!important;box-shadow:none!important;border:1px solid #e4e9ef!important}.home-provider-card>span{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:11px!important}.home-provider-card h3{font-size:15px!important;margin:2px 0!important}.home-provider-card p{font-size:11px!important;margin:3px 0 5px!important}.home-provider-card b{font-size:11px!important}

/* ---------- Provider CTA: clean band, same colors ---------- */
.provider-cta{padding:52px 0;background:linear-gradient(135deg,var(--navy),var(--blue))}.provider-cta-grid{gap:46px}.provider-cta h2{font-size:34px}.provider-cta p{font-size:14px;max-width:620px}.provider-cta li{font-size:13px;margin:5px 0}.provider-stats{gap:9px}.provider-stats div{padding:17px;border-radius:13px}.provider-stats strong{font-size:21px}.provider-stats span{font-size:11px}

/* ---------- Interior pages: marketplace density ---------- */
.page-hero,.page-hero.compact{padding:36px 0;background:#f8fafc;border-bottom:1px solid #edf1f4}.page-hero h1{font-size:38px;letter-spacing:-1.5px}.page-hero p{font-size:14px}.quick-card,.sticky-card,.panel,.form-card,.price-box{border-radius:14px;box-shadow:0 5px 20px rgba(16,36,71,.05)}
.provider-row{border-radius:14px;padding:16px}.provider-info h3{font-size:17px}

/* ---------- Footer ---------- */
.site-footer{padding-top:42px}.footer-grid{gap:34px}.footer-grid h4{font-size:13px}.footer-grid a,.footer-grid p{font-size:12px}.footer-bottom{margin-top:28px}

/* ---------- Mobile: native-app feeling, first-screen conversion ---------- */
@media(max-width:760px){
  body{font-size:14px;padding-bottom:74px}
  .container{width:calc(100% - 24px)}
  .site-header.kh-header{position:sticky;top:0}.header-inner{height:56px}.logo{font-size:18px}.logo span{width:31px;height:31px}.brand-picture img{max-height:36px}.kh-login{font-size:0!important}.kh-login:before{content:'○';font-size:22px}.nav-btn.header-request-btn{display:none!important}.menu-toggle{width:38px;height:38px;border-radius:10px;background:#f4f6f8;font-size:20px}

  .kh-home-hero{padding:20px 0 19px;background:#fff}
  .kh-home-hero-grid{width:100%;text-align:left}
  .kh-trust-badge{font-size:9.5px;margin-bottom:8px;padding:5px 8px}
  .kh-home-hero .eyebrow{font-size:9px;margin:0 0 5px}
  .kh-home-hero h1{font-size:29px;line-height:1.08;letter-spacing:-1.3px;margin:0 0 8px;text-align:left}
  .kh-home-hero-copy>p{font-size:12.5px;line-height:1.45;margin:0 0 14px;text-align:left}
  .smart-search{margin:0}
  .smart-search-box{grid-template-columns:27px 1fr;padding:5px 9px;border-radius:13px;box-shadow:0 5px 18px rgba(16,36,71,.08)}
  .smart-search-box>span{font-size:19px}.smart-search-box input{height:43px;font-size:16px}.smart-search-box button{grid-column:1/-1;width:100%;height:44px;margin-top:1px;border-radius:10px}
  .kh-popular-tags{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;margin-top:9px;padding-bottom:2px;scrollbar-width:none}.kh-popular-tags::-webkit-scrollbar{display:none}.kh-popular-tags small{flex:0 0 auto}.kh-popular-tags button{flex:0 0 auto}
  .hero-trust{display:flex!important;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;gap:10px;margin-top:10px;scrollbar-width:none}.hero-trust span{white-space:nowrap;font-size:9.5px}

  .section{padding:23px 0}.section.alt{background:#f7f9fb}
  .section-head{margin-bottom:11px;align-items:flex-end}.section-head h2,.center-head h2{font-size:20px;letter-spacing:-.6px}.section-head .eyebrow,.center-head .eyebrow{font-size:9px}.section-head-actions>a{font-size:10px}.slider-actions{display:none!important}

  .home-category-slider.category-grid{display:flex!important;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;padding:1px 12px 8px 0;margin-right:-12px;scrollbar-width:none}.home-category-slider::-webkit-scrollbar{display:none}
  .home-category-slider .category-card{flex:0 0 148px;scroll-snap-align:start;border-radius:13px;min-height:0!important;display:block!important}
  .home-category-cover{aspect-ratio:16/10!important}.home-category-content{padding:9px 9px!important}.home-category-content b{font-size:11.5px}.home-category-content small{font-size:9px}.home-category-content i{display:none}

  .center-head{text-align:left;margin:0 0 13px}.center-head p{font-size:11.5px;margin-top:5px}
  .steps{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.steps article{display:grid;grid-template-columns:34px 1fr;gap:0 10px;padding:12px 13px}.steps article>span{grid-row:1/3;width:32px;height:32px}.steps h3{margin:0;font-size:13.5px}.steps p{margin:3px 0 0;font-size:10.5px;line-height:1.45}

  .home-service-slider.service-grid{display:flex!important;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:-12px;padding:1px 12px 8px 0;scrollbar-width:none}.home-service-slider::-webkit-scrollbar{display:none}.home-service-slider .service-card{flex:0 0 172px;scroll-snap-align:start;border-radius:13px}.home-service-slider .service-cover{height:84px}.home-service-slider .service-body{padding:10px}.home-service-slider .service-body h3{font-size:12.5px}.home-service-slider .service-body p{font-size:10px;min-height:30px}.home-service-slider .service-body b{font-size:10.5px}

  .home-provider-slider{display:flex!important;overflow-x:auto!important;gap:9px!important;margin-right:-12px;padding-right:12px;scroll-snap-type:x mandatory;scrollbar-width:none}.home-provider-slider::-webkit-scrollbar{display:none}.home-provider-card{flex:0 0 260px!important;scroll-snap-align:start;padding:12px!important}.home-provider-card h3{font-size:13px!important}

  .provider-cta{padding:26px 0}.provider-cta h2{font-size:23px}.provider-cta p{font-size:12px}.provider-cta ul{margin:14px 0;padding-left:18px}.provider-cta li{font-size:11px}.provider-stats{grid-template-columns:1fr 1fr!important}.provider-stats div{padding:12px}.provider-stats strong{font-size:17px}.provider-stats span{font-size:9.5px}

  .page-hero,.page-hero.compact{padding:18px 0}.page-hero h1{font-size:27px}.page-hero p{font-size:12px}

  .request-quick-dialog{border-radius:20px 20px 0 0!important}.request-quick-head{position:sticky;top:-20px;background:#fff;z-index:2;padding-top:3px}.request-quick-head h2{font-size:21px!important}.request-quick-grid a{min-height:54px!important;padding:10px!important}.request-quick-grid a span{width:34px!important;height:34px!important}.request-quick-grid b{font-size:12px}.request-quick-grid small{font-size:9.5px}

  .kh-mobile-bottom{height:66px;padding-bottom:max(5px,env(safe-area-inset-bottom));border-top:1px solid #e4e9ef;box-shadow:0 -6px 20px rgba(16,36,71,.06)}
  .kh-mobile-bottom>a,.kh-mobile-bottom>button{font-size:9.5px}.kh-mobile-bottom span{font-size:18px}.kh-mobile-request{transform:translateY(-7px)!important}.kh-mobile-request span{width:43px!important;height:43px!important;box-shadow:0 5px 14px color-mix(in srgb,var(--blue) 28%,transparent)}

  .site-footer{padding:24px 0 0}.footer-grid{gap:12px}.footer-bottom{margin-top:14px}
}

@media(max-width:380px){
  .kh-home-hero h1{font-size:26px}.home-category-slider .category-card{flex-basis:138px}.home-service-slider .service-card{flex-basis:164px}
}
