﻿@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root{
  --kp-navy:#142c57;
  --kp-navy-2:#0d1e3d;
  --kp-gold:#ca8b0d;
  --kp-gold-soft:#fff4d6;
  --kp-bg:#f6f8fc;
  --kp-card:#ffffff;
  --kp-text:#172033;
  --kp-muted:#687386;
  --kp-line:#e4e9f2;
  --kp-success:#168a52;
  --kp-danger:#c93636;
  --kp-warning:#b36b00;
  --kp-info:#1769aa;
  --radius:18px;
  --shadow:0 10px 30px rgba(20,44,87,.09);
}
*{box-sizing:border-box}
html{direction:rtl;background:var(--kp-bg);-webkit-text-size-adjust:100%}
html,body,form{font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif !important}
body{margin:0;background:var(--kp-bg);color:var(--kp-text);font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif !important;line-height:1.65;min-height:100vh}
a{color:var(--kp-navy);text-decoration:none}
a:hover{text-decoration:none}
img{max-width:100%;height:auto}
button,input,select,textarea,option,optgroup{font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif !important;font-size:inherit}
button{cursor:pointer}
.safe-bottom{padding-bottom:max(90px,calc(80px + env(safe-area-inset-bottom)))}
.container{width:min(1180px,calc(100% - 28px));margin:0 auto}
.page{padding:18px 0 32px}
.app-shell{min-height:100vh}
.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--kp-line);padding-top:env(safe-area-inset-top)}
.topbar-row{height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand img{width:112px;max-height:56px;object-fit:contain}
.brand-text{display:none}
.user-chip{display:flex;align-items:center;gap:8px;color:var(--kp-muted);font-size:.9rem;max-width:52%}
.user-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--kp-gold-soft);color:var(--kp-navy);font-weight:800;flex:none}
.user-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.desktop-nav{display:none;gap:8px;align-items:center}
.desktop-nav a{padding:10px 13px;border-radius:12px;font-weight:700;color:var(--kp-navy)}
.desktop-nav a:hover{background:#eef3fa}
.bottom-nav{position:fixed;z-index:60;bottom:0;left:0;right:0;background:rgba(255,255,255,.98);border-top:1px solid var(--kp-line);display:grid;grid-template-columns:repeat(4,1fr);padding:7px 6px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(20,44,87,.06)}
.bottom-nav a{min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#6b7482;font-size:.74rem;font-weight:700;border-radius:12px}
.bottom-nav a.active,.bottom-nav a:hover{background:#eef4fb;color:var(--kp-navy)}
.nav-ico{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.public-shell{min-height:100vh;background:linear-gradient(180deg,#fff 0,#f8f9fc 35%,#eef3f9 100%)}
.public-header{padding:24px 0 12px;text-align:center}
.public-logo{width:185px;max-height:125px;object-fit:contain}
.auth-wrap{width:min(540px,calc(100% - 28px));margin:0 auto;padding:14px 0 40px}
.card{background:var(--kp-card);border:1px solid var(--kp-line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.card + .card{margin-top:14px}
.card-title{margin:0 0 4px;font-size:1.08rem;color:var(--kp-navy);font-weight:800}
.card-subtitle{margin:0;color:var(--kp-muted);font-size:.9rem}
.hero-card{background:linear-gradient(135deg,var(--kp-navy),var(--kp-navy-2));color:#fff;border:none;overflow:hidden;position:relative}
.hero-card:after{content:"+";position:absolute;left:18px;top:-20px;font-size:115px;font-weight:900;color:rgba(202,139,13,.22);line-height:1}
.hero-card .card-title{color:#fff;font-size:1.35rem}
.hero-card .card-subtitle{color:#dae4f4}
.grid{display:grid;gap:14px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
.stat{background:#fff;border:1px solid var(--kp-line);border-radius:16px;padding:14px;box-shadow:0 5px 20px rgba(20,44,87,.06)}
.stat-value{font-size:1.55rem;font-weight:900;color:var(--kp-navy);line-height:1.2}
.stat-label{font-size:.79rem;color:var(--kp-muted);margin-top:4px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 0 10px}
.section-head h1,.section-head h2{margin:0;color:var(--kp-navy)}
.section-head h1{font-size:1.35rem}.section-head h2{font-size:1.12rem}
.form-group{margin-bottom:14px}
.form-label{display:block;margin-bottom:6px;font-size:.88rem;font-weight:800;color:#32415b}
.required:after{content:" *";color:var(--kp-danger)}
.form-control{width:100%;min-height:48px;border:1px solid #cfd7e5;background:#fff;border-radius:13px;padding:10px 12px;color:var(--kp-text);outline:none;transition:.18s}
textarea.form-control{min-height:110px;resize:vertical}
.form-control:focus{border-color:var(--kp-navy);box-shadow:0 0 0 3px rgba(20,44,87,.10)}
input[type=file].form-control{padding:9px;background:#fbfcfe}
.check-row{display:flex;align-items:flex-start;gap:9px;padding:9px 0}
.check-row input{margin-top:5px;transform:scale(1.15);accent-color:var(--kp-navy)}
.btn{border:0;border-radius:13px;min-height:46px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;transition:.16s;cursor:pointer}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--kp-navy);color:#fff}.btn-primary:hover{background:var(--kp-navy-2);color:#fff}
.btn-gold{background:var(--kp-gold);color:#fff}.btn-gold:hover{filter:brightness(.95);color:#fff}
.btn-light{background:#eef3f9;color:var(--kp-navy)}
.btn-danger{background:#fff0f0;color:var(--kp-danger);border:1px solid #ffd2d2}
.btn-success{background:#e7f7ef;color:var(--kp-success);border:1px solid #bfead2}
.btn-outline{background:#fff;color:var(--kp-navy);border:1px solid #cbd6e6}
.btn-block{width:100%}
.actions{display:flex;flex-wrap:wrap;gap:8px}.actions .btn{flex:1 1 auto}
.alert{border-radius:13px;padding:11px 13px;margin:0 0 14px;font-weight:700;font-size:.9rem}
.alert-error{background:#fff0f0;color:#a32525;border:1px solid #ffd0d0}
.alert-success{background:#eaf8f0;color:#146b43;border:1px solid #bfe8d1}
.alert-info{background:#edf6fd;color:#165e91;border:1px solid #c7e4f7}
.alert-warning{background:#fff8e7;color:#8a5b00;border:1px solid #f5dda4}
.muted{color:var(--kp-muted)}
.small{font-size:.82rem}.tiny{font-size:.75rem}
.text-gold{color:var(--kp-gold)}.text-navy{color:var(--kp-navy)}
.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:800;white-space:nowrap}
.status-new{background:#edf6fd;color:#1769aa}.status-active{background:#edf4ff;color:#245aa8}.status-waiting{background:#fff5dc;color:#9a6200}.status-progress{background:#f1efff;color:#5d44a5}.status-done{background:#eaf8f0;color:#157549}.status-cancelled{background:#f2f2f2;color:#666}.status-complaint{background:#fff0f0;color:#b12d2d}.status-neutral{background:#f2f4f7;color:#697386}
.request-card{position:relative;padding:16px;background:#fff;border:1px solid var(--kp-line);border-radius:16px;box-shadow:0 5px 18px rgba(20,44,87,.05)}
.request-card + .request-card{margin-top:10px}
.request-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.request-no{font-weight:900;color:var(--kp-navy)}
.request-title{font-size:1rem;font-weight:800;margin:5px 0;color:#172033}
.request-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--kp-muted);font-size:.82rem}
.request-meta span{display:inline-flex;align-items:center;gap:5px}
.service-icon{width:48px;height:48px;border-radius:15px;background:#eef3fa;display:grid;place-items:center;color:var(--kp-navy);flex:none}
.service-svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tech-card{display:flex;gap:13px;align-items:flex-start}
.tech-avatar{width:54px;height:54px;border-radius:16px;background:linear-gradient(145deg,var(--kp-navy),#254f8a);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.25rem;flex:none}
.tech-info{min-width:0;flex:1}.tech-name{font-weight:900;color:var(--kp-navy);font-size:1rem}
.stars{color:var(--kp-gold);font-weight:900}
.pill-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.pill{padding:4px 8px;border-radius:999px;background:#f1f4f8;color:#526073;font-size:.73rem;font-weight:700}
.timeline{position:relative;padding-right:17px}.timeline:before{content:"";position:absolute;right:5px;top:8px;bottom:8px;width:2px;background:#d9e1ed}
.timeline-item{position:relative;padding:0 17px 14px 0}.timeline-item:before{content:"";position:absolute;right:-16px;top:6px;width:10px;height:10px;background:var(--kp-gold);border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #eed69f}
.timeline-title{font-weight:800;font-size:.9rem}.timeline-date{font-size:.76rem;color:var(--kp-muted)}
.comment{display:flex;gap:10px;margin-bottom:12px}.comment-avatar{width:35px;height:35px;border-radius:12px;background:#eef3fa;color:var(--kp-navy);display:grid;place-items:center;font-weight:900;flex:none}.comment-body{flex:1;background:#f8fafc;border:1px solid #e7ebf1;border-radius:14px;padding:10px 12px}.comment-head{display:flex;justify-content:space-between;gap:8px;font-size:.78rem}.comment-name{font-weight:900;color:var(--kp-navy)}.comment-text{margin-top:5px;white-space:pre-wrap}
.attachment{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--kp-line);border-radius:12px;background:#fff;margin-bottom:7px}.attachment-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.84rem}
.quote{border:1px solid #ead69f;background:#fffaf0;border-radius:16px;padding:14px}.quote-total{font-size:1.45rem;font-weight:900;color:var(--kp-navy)}
.detail-grid{display:grid;grid-template-columns:1fr;gap:9px}.detail-item{background:#f8fafc;border:1px solid #e9edf3;border-radius:13px;padding:10px}.detail-label{font-size:.73rem;color:var(--kp-muted)}.detail-value{font-weight:800;margin-top:2px}
.empty{padding:26px 12px;text-align:center;color:var(--kp-muted);background:#fff;border:1px dashed #ccd5e3;border-radius:16px}
.loader-overlay{display:none;position:fixed;z-index:999;inset:0;background:rgba(255,255,255,.74);backdrop-filter:blur(2px);align-items:center;justify-content:center}.loader-overlay.show{display:flex}.loader-card{background:#fff;border:1px solid var(--kp-line);border-radius:16px;padding:18px 22px;box-shadow:var(--shadow);display:flex;align-items:center;gap:12px;font-weight:800;color:var(--kp-navy)}.spinner{width:22px;height:22px;border:3px solid #dce4ef;border-top-color:var(--kp-gold);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.two-col-actions{display:grid;grid-template-columns:1fr;gap:10px}
.service-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.service-choice{position:relative}.service-choice input{position:absolute;opacity:0}.service-choice label{display:block;border:1px solid #d9e1ec;background:#fff;border-radius:14px;padding:11px;min-height:78px;cursor:pointer}.service-choice input:checked+label{border-color:var(--kp-gold);box-shadow:0 0 0 2px rgba(202,139,13,.16);background:#fffaf0}
.footer-note{text-align:center;color:#7d8795;font-size:.76rem;padding:16px 0 24px}
.site-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:22px 12px 28px;text-align:center;color:#778296;font-size:.76rem}
.app-footer{margin-top:12px;padding-bottom:24px;border-top:1px solid rgba(20,44,87,.09)}
.footer-terms-link{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:5px 2px;color:var(--kp-navy)!important;font-size:.8rem;font-weight:850;letter-spacing:-.01em;text-decoration:none!important;transition:color .18s ease,transform .18s ease}
.footer-terms-link::before{content:"";width:15px;height:18px;flex:none;border:1.6px solid currentColor;border-radius:3px;background:linear-gradient(currentColor,currentColor) center 6px/7px 1.4px no-repeat,linear-gradient(currentColor,currentColor) center 10px/7px 1.4px no-repeat;opacity:.82}
.footer-terms-link::after{content:"";position:absolute;right:23px;bottom:4px;left:1px;height:2px;border-radius:2px;background:var(--kp-gold);transform:scaleX(.38);transform-origin:right;opacity:.8;transition:transform .18s ease}
.footer-terms-link:hover,.footer-terms-link:focus{color:#0a3974!important;transform:translateY(-1px)}
.footer-terms-link:hover::after,.footer-terms-link:focus::after{transform:scaleX(1)}
.terms-consent-row{margin:6px 0 16px;padding:14px 15px;border:1px solid #dde4ee;border-radius:16px;background:linear-gradient(180deg,#fff,#f9fbfd);box-shadow:0 7px 22px rgba(20,44,87,.055);line-height:1.95;color:#354158}
.terms-consent-row input[type=checkbox]{width:20px;height:20px;flex:none;margin-top:7px;transform:none;accent-color:var(--kp-navy);cursor:pointer}
.terms-consent-row>span{font-size:.9rem}
.terms-consent-link{position:relative;display:inline;margin:0 2px;padding:0 1px;border:0;border-radius:2px;background:transparent;color:var(--kp-navy)!important;font-weight:950;text-decoration-line:underline!important;text-decoration-color:var(--kp-gold)!important;text-decoration-thickness:2px!important;text-underline-offset:4px;box-shadow:none;transition:color .18s ease,background-color .18s ease}
.terms-consent-link::after{content:"\203A";display:inline-block;margin-right:4px;color:var(--kp-gold);font-size:1.1em;font-weight:900;line-height:1;transition:transform .18s ease}
.terms-consent-link:hover,.terms-consent-link:focus{background:var(--kp-gold-soft);color:#092e61!important;outline:3px solid var(--kp-gold-soft);outline-offset:0}
.terms-consent-link:hover::after,.terms-consent-link:focus::after{transform:translateX(-2px)}
body.terms-modal-open{overflow:hidden}
.terms-modal{position:fixed;z-index:1500;inset:0;display:none;align-items:center;justify-content:center;padding:24px;direction:rtl}
.terms-modal.show{display:flex;animation:termsFadeIn .18s ease-out both}
.terms-modal-backdrop{position:absolute;inset:0;background:rgba(7,19,40,.68);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.terms-modal-panel{position:relative;z-index:1;width:min(980px,100%);height:min(90vh,860px);overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid rgba(255,255,255,.72);border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(5,17,39,.36);animation:termsPanelIn .24s cubic-bezier(.22,.8,.3,1) both}
.terms-modal-panel::after{content:"";position:absolute;z-index:3;top:0;right:26px;left:26px;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,transparent,var(--kp-gold),transparent);pointer-events:none}
.terms-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid #e8edf4;background:rgba(255,255,255,.98);color:var(--kp-navy)}
.terms-modal-header>div{position:relative;padding-right:49px}
.terms-modal-header>div::before{content:"";position:absolute;right:0;top:50%;width:35px;height:41px;border:1.8px solid var(--kp-navy);border-radius:8px;transform:translateY(-50%);background:linear-gradient(var(--kp-gold),var(--kp-gold)) center 13px/17px 2px no-repeat,linear-gradient(#aab5c6,#aab5c6) center 20px/17px 1.5px no-repeat,linear-gradient(#aab5c6,#aab5c6) center 26px/12px 1.5px no-repeat,#f8fafc;box-shadow:0 5px 13px rgba(20,44,87,.08)}
.terms-modal-header h2{margin:1px 0 0;color:var(--kp-navy);font-size:1.08rem;line-height:1.4}.terms-modal-kicker{display:block;color:#9b6905;font-size:.66rem;font-weight:900;letter-spacing:.03em}
.terms-modal-close{width:40px;height:40px;flex:none;display:grid;place-items:center;padding:0;border:1px solid #dfe5ee;border-radius:50%;background:#f5f7fa;color:#5e6a7d;font-size:1.55rem;line-height:1;box-shadow:none;transition:background .18s ease,color .18s ease,transform .18s ease}
.terms-modal-close:hover,.terms-modal-close:focus{background:var(--kp-navy);border-color:var(--kp-navy);color:#fff;transform:rotate(4deg)}
.terms-modal-body{min-height:0;overflow:hidden;background:#f3f6fa}.terms-modal-frame{display:block;width:100%;height:100%;border:0;background:#fff}
.terms-modal-footer{display:flex;align-items:center;justify-content:flex-start;gap:9px;padding:12px 16px;border-top:1px solid #e8edf4;background:#f8fafc}.terms-modal-footer .btn{min-width:126px;box-shadow:none}.terms-modal-footer .btn-primary{background:var(--kp-navy)}.terms-modal-footer .btn-outline{border-color:#d4dce8;background:#fff;color:var(--kp-navy)}
@keyframes termsFadeIn{from{opacity:0}to{opacity:1}}
@keyframes termsPanelIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:640px){
  .terms-modal{align-items:flex-end;padding:16px 0 0}.terms-modal-panel{width:100%;height:min(94vh,900px);height:min(94dvh,900px);border:0;border-radius:26px 26px 0 0;box-shadow:0 -22px 70px rgba(5,17,39,.32)}.terms-modal-panel::before{content:"";position:absolute;z-index:5;top:8px;left:50%;width:38px;height:4px;border-radius:999px;background:#cdd5e1;transform:translateX(-50%)}.terms-modal-panel::after{top:0;right:64px;left:64px}.terms-modal-header{padding:20px 13px 11px}.terms-modal-header>div{padding-right:41px}.terms-modal-header>div::before{width:30px;height:35px;border-radius:7px;background:linear-gradient(var(--kp-gold),var(--kp-gold)) center 11px/14px 2px no-repeat,linear-gradient(#aab5c6,#aab5c6) center 17px/14px 1.5px no-repeat,linear-gradient(#aab5c6,#aab5c6) center 23px/10px 1.5px no-repeat,#f8fafc}.terms-modal-header h2{font-size:.96rem}.terms-modal-close{width:38px;height:38px}.terms-modal-footer{padding:9px 10px calc(9px + env(safe-area-inset-bottom))}.terms-modal-footer .btn{min-width:0;flex:1;padding:9px 8px;font-size:.76rem}.terms-consent-row{padding:12px 13px}.terms-consent-row>span{font-size:.85rem}.site-footer{padding-bottom:22px}
}
hr.sep{border:0;border-top:1px solid var(--kp-line);margin:16px 0}
.nowrap{white-space:nowrap}.ltr{direction:ltr;text-align:left}
@media(min-width:700px){
  .container{width:min(1180px,calc(100% - 44px))}.page{padding-top:24px}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(4,1fr)}.detail-grid{grid-template-columns:repeat(2,1fr)}.two-col-actions{grid-template-columns:repeat(2,1fr)}.service-picker{grid-template-columns:repeat(3,1fr)}.card{padding:22px}.brand-text{display:block}.brand-text strong{display:block;color:var(--kp-navy)}.brand-text span{font-size:.75rem;color:var(--kp-muted)}
}
@media(min-width:980px){
  .bottom-nav{display:none}.safe-bottom{padding-bottom:30px}.desktop-nav{display:flex}.topbar-row{height:76px}.brand img{width:122px}.grid-3{grid-template-columns:repeat(3,1fr)}.detail-grid{grid-template-columns:repeat(3,1fr)}.auth-wrap{padding-top:28px}
}
@media(max-width:420px){.container,.auth-wrap{width:min(100% - 20px,1180px)}.card{padding:15px}.btn{padding-left:12px;padding-right:12px}.request-meta{gap:6px 10px}.public-logo{width:160px}}
.input-action-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}
.input-action-row .btn{min-width:82px}
.pill-remove{border:0;background:transparent;color:#7d8795;font-size:1rem;line-height:1;padding:0;cursor:pointer;font-weight:900}
.pill-remove:hover{color:var(--kp-danger)}
@media(max-width:420px){.input-action-row{grid-template-columns:minmax(0,1fr) auto}.input-action-row .btn{min-width:72px;padding-left:10px;padding-right:10px}}

/* v11 simplified customer/technician workflow */
.accept-quote-box{margin-top:14px;padding:13px;border:1px solid #d8e2ef;border-radius:15px;background:#f8fbff}
.accept-quote-title{font-weight:900;color:var(--kp-navy);margin-bottom:4px}
.accept-quote-box .form-group{margin-bottom:10px}
.accept-quote-box textarea.form-control{min-height:88px}
@media(max-width:699px){
  .accept-quote-box{margin-left:-4px;margin-right:-4px;padding:12px}
  .accept-quote-box .btn{min-height:50px}
}


/* v12 Option A: mobile-first public home + service catalog */
.public-main{width:min(1180px,calc(100% - 20px));margin:0 auto;padding:6px 0 38px}
.public-main .footer-note{padding-top:22px}
.home-landing{display:grid;gap:18px}
.home-hero{position:relative;overflow:hidden;min-height:235px;border-radius:26px;padding:24px 20px;background:linear-gradient(135deg,#102b59 0%,#173c73 58%,#0d1e3d 100%);box-shadow:0 18px 45px rgba(20,44,87,.18);display:flex;align-items:center;color:#fff}
.home-hero:before{content:"";position:absolute;width:210px;height:210px;border-radius:50%;background:rgba(255,255,255,.055);left:-72px;top:-72px}
.home-hero:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;border:24px solid rgba(202,139,13,.12);right:-68px;bottom:-82px}
.home-hero-copy{position:relative;z-index:2;max-width:610px}
.home-kicker,.home-eyebrow{display:inline-block;font-size:.76rem;font-weight:900;letter-spacing:.01em;color:var(--kp-gold);margin-bottom:5px}
.home-hero h1{margin:0;color:#fff;font-size:clamp(1.75rem,8.1vw,3.35rem);line-height:1.25;font-weight:950;letter-spacing:-.025em}
.home-hero h1 span{color:#ffc342}
.home-hero p{margin:10px 0 0;color:#dfe9f7;font-size:.92rem;max-width:520px}
.home-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}
.home-hero-actions .btn{min-width:132px;min-height:48px}
.btn-hero-light{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff}.btn-hero-light:hover{background:rgba(255,255,255,.18);color:#fff}
.home-hero-badge{display:none}
.home-section{scroll-margin-top:16px}
.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:3px 2px 11px}
.home-section-head h2{margin:0;color:var(--kp-navy);font-size:1.3rem;line-height:1.2;font-weight:950}
.home-swipe-hint{font-size:.72rem;font-weight:800;color:#8791a0;white-space:nowrap}
.home-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-service-card{--service-accent:#1d71bd;--service-accent-dark:#15538b;display:flex;min-width:0;flex-direction:column;background:#fff;border:1px solid rgba(20,44,87,.09);border-radius:20px;overflow:hidden;box-shadow:0 7px 20px rgba(20,44,87,.08);color:var(--kp-text);transition:transform .18s ease,box-shadow .18s ease;-webkit-tap-highlight-color:transparent}
.home-service-card:active{transform:scale(.985)}
.home-service-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(20,44,87,.12)}
.home-service-visual{height:95px;position:relative;display:grid;place-items:center;background:linear-gradient(150deg,var(--service-accent),var(--service-accent-dark));background:linear-gradient(150deg,color-mix(in srgb,var(--service-accent) 82%,white),var(--service-accent-dark));overflow:hidden}
.home-service-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.24),transparent 46%)}
.home-service-visual:after{content:"";position:absolute;width:85px;height:85px;border-radius:50%;background:rgba(255,255,255,.09);left:-28px;bottom:-46px}
.home-service-icon{position:relative;z-index:2;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.16);border:2px solid rgba(255,255,255,.74);box-shadow:0 6px 15px rgba(0,0,0,.13),inset 0 0 0 4px rgba(255,255,255,.08)}
.home-service-icon .service-svg{width:37px;height:37px;stroke-width:1.85;filter:drop-shadow(0 2px 2px rgba(0,0,0,.12))}
.home-service-content{display:flex;flex:1;flex-direction:column;padding:10px 10px 11px;text-align:center}
.home-service-content h3{margin:0;color:#172033;font-size:1rem;font-weight:950;line-height:1.35}
.home-service-content p{margin:4px 0 9px;color:#758093;font-size:.68rem;line-height:1.55;min-height:2.1em}
.home-service-cta{margin-top:auto;min-height:36px;border-radius:11px;background:var(--service-accent);color:#fff;display:flex;align-items:center;justify-content:center;gap:5px;font-size:.76rem;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}
.service-theme-electric{--service-accent:#f4ad19;--service-accent-dark:#d98500}
.service-theme-plumbing{--service-accent:#1499ec;--service-accent-dark:#0875c2}
.service-theme-welding{--service-accent:#596a78;--service-accent-dark:#34424d}
.service-theme-carpentry{--service-accent:#a96522;--service-accent-dark:#75420f}
.service-theme-aluminum{--service-accent:#16a0a4;--service-accent-dark:#08767b}
.service-theme-painting{--service-accent:#9452cb;--service-accent-dark:#6f2ca8}
.service-theme-ac{--service-accent:#159bd2;--service-accent-dark:#0874a4}
.service-theme-cleaning{--service-accent:#3ba666;--service-accent-dark:#237b48}
.service-theme-appliance{--service-accent:#e36d4d;--service-accent-dark:#b9462c}
.service-theme-tiling{--service-accent:#c8733e;--service-accent-dark:#9b4f27}
.service-theme-solar{--service-accent:#e4a515;--service-accent-dark:#b57a00}
.service-theme-security{--service-accent:#2f7f91;--service-accent-dark:#1c5968}
.service-theme-garden{--service-accent:#4f9a51;--service-accent-dark:#347039}
.service-theme-transport{--service-accent:#667085;--service-accent-dark:#3e4858}
.service-theme-general{--service-accent:#284f84;--service-accent-dark:#142c57}
.home-trust-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;overflow:visible;padding:2px 0 7px}.home-trust-strip::-webkit-scrollbar{display:none}
.home-trust-item{min-width:0;background:#fff;border:1px solid var(--kp-line);border-radius:16px;padding:10px;display:flex;align-items:center;gap:10px;box-shadow:0 5px 16px rgba(20,44,87,.05)}
.home-trust-item strong{display:block;color:#26334a;font-size:.8rem;font-weight:900;line-height:1.25}.home-trust-item small{display:block;color:#8a94a2;font-size:.66rem;margin-top:2px}
.home-trust-icon{width:42px;height:42px;flex:none;border-radius:13px;display:grid;place-items:center}.home-trust-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.trust-shield{background:#e8f7f2;color:#1d9a7a}.trust-clock{background:#fff4dd;color:#d5900f}.trust-price{background:#edf7e9;color:#5d9a36}.trust-support{background:#eaf2fb;color:#2673b8}
.home-how{background:#fff;border:1px solid var(--kp-line);border-radius:22px;padding:16px;box-shadow:0 7px 22px rgba(20,44,87,.055)}
.home-how-head{margin-top:0}.home-steps{display:grid;gap:8px}.home-step{display:flex;align-items:center;gap:11px;padding:10px;background:#f8fafc;border:1px solid #edf0f4;border-radius:14px}.home-step>span{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;background:var(--kp-navy);color:#fff;font-weight:950;flex:none}.home-step strong{display:block;color:#24334a;font-size:.82rem}.home-step small{display:block;color:#7b8696;font-size:.68rem;margin-top:1px}
.home-account-card{border-radius:23px;padding:18px;background:linear-gradient(135deg,#fff7e4,#fff);border:1px solid #f0dbac;display:grid;gap:14px}.home-account-card h2{margin:0;color:var(--kp-navy);font-size:1.22rem}.home-account-card p{margin:4px 0 0;color:#6f7785;font-size:.8rem}.home-account-actions{display:grid;gap:8px}.home-account-actions .btn{width:100%}
.catalog-page{display:grid;gap:15px}
.catalog-back{direction:rtl;display:inline-flex;align-items:center;gap:10px;width:max-content;max-width:100%;min-height:54px;padding:8px 10px 8px 15px;border-radius:16px;background:#fff;border:1px solid #dce4ee;box-shadow:0 6px 18px rgba(20,44,87,.08);color:var(--kp-navy);text-decoration:none;-webkit-tap-highlight-color:transparent;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.catalog-back:hover{color:var(--kp-navy);border-color:#c7d5e7;box-shadow:0 9px 24px rgba(20,44,87,.12);transform:translateY(-1px)}
.catalog-back:active{transform:scale(.985)}
.catalog-back-icon{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--kp-gold),#e5a51c);color:#fff;font-size:1.18rem;font-weight:950;box-shadow:0 5px 13px rgba(202,139,13,.23)}
.catalog-back-copy{display:grid;gap:1px;min-width:0;text-align:right;line-height:1.2}
.catalog-back-copy strong{display:block;color:var(--kp-navy);font-size:.82rem;font-weight:950;white-space:nowrap}
.catalog-back-copy small{display:block;color:#7a8697;font-size:.62rem;font-weight:700;white-space:nowrap}
@media(max-width:420px){.catalog-back{width:100%;justify-content:flex-start;min-height:56px}.catalog-back-copy strong{font-size:.84rem}.catalog-back-copy small{font-size:.64rem}}
.catalog-hero{--service-accent:#284f84;--service-accent-dark:#142c57;position:relative;overflow:hidden;border-radius:23px;padding:18px;background:linear-gradient(135deg,var(--service-accent-dark),var(--service-accent));color:#fff;display:flex;align-items:center;gap:14px;box-shadow:0 12px 30px rgba(20,44,87,.14)}
.catalog-hero:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.075);left:-54px;top:-60px}.catalog-hero>div{position:relative;z-index:1;min-width:0}.catalog-hero .home-eyebrow{color:#ffe2a0}.catalog-hero h1{margin:0;color:#fff;font-size:1.55rem;line-height:1.2;font-weight:950}.catalog-hero p{margin:5px 0 0;color:rgba(255,255,255,.84);font-size:.78rem}
.catalog-hero-icon{width:68px;height:68px;position:relative;z-index:1;flex:none;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.34)}.catalog-hero-icon .service-svg{width:39px;height:39px;stroke-width:1.8}
.catalog-section-head{margin-top:2px}.catalog-count{font-size:.7rem;background:#eef3f9;color:#5f6c80;border-radius:999px;padding:5px 9px;font-weight:900;white-space:nowrap}
.catalog-services-grid{display:grid;grid-template-columns:1fr;gap:9px}.catalog-service-card{min-height:76px;background:#fff;border:1px solid var(--kp-line);border-radius:17px;padding:11px;display:flex;align-items:center;gap:11px;box-shadow:0 5px 17px rgba(20,44,87,.05);color:var(--kp-text);-webkit-tap-highlight-color:transparent}.catalog-service-card:active{transform:scale(.992)}.catalog-service-card:hover{border-color:#c7d5e7;box-shadow:0 9px 21px rgba(20,44,87,.085)}
.catalog-service-icon{width:49px;height:49px;flex:none;border-radius:14px;display:grid;place-items:center;background:#eef4fa;color:var(--kp-navy)}.catalog-service-icon .service-svg{width:27px;height:27px}.catalog-service-copy{flex:1;min-width:0}.catalog-service-copy strong{display:block;color:#20304a;font-size:.9rem;font-weight:950}.catalog-service-copy small{display:block;color:#8993a2;font-size:.68rem;margin-top:2px}.catalog-service-arrow{width:30px;height:30px;border-radius:10px;background:#f1f5fa;color:var(--kp-navy);display:grid;place-items:center;font-weight:900;flex:none}
.catalog-login-note{display:grid;gap:11px;background:#fff;border:1px solid var(--kp-line);border-radius:18px;padding:14px}.catalog-login-note strong{display:block;color:var(--kp-navy);font-size:.84rem}.catalog-login-note span{display:block;color:#7c8696;font-size:.7rem;margin-top:2px}.catalog-login-note .btn{width:100%}

@media(max-width:420px){
  .work-gov-trigger{grid-template-columns:38px minmax(0,1fr) 24px;min-height:56px;padding:8px 9px;gap:8px}
  .work-gov-trigger-icon{width:37px;height:37px;border-radius:11px}
  .work-gov-trigger-copy strong{font-size:.79rem}
  .work-gov-trigger-copy small{font-size:.63rem}
  .work-gov-panel{padding:8px;border-radius:14px}
  .multi-check-list{max-height:252px}
  .multi-check-item{min-height:44px;padding:7px 8px}
}
@media(min-width:560px){.home-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-service-visual{height:108px}.home-service-icon{width:70px;height:70px}.catalog-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-account-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-login-note{grid-template-columns:1fr auto;align-items:center}.catalog-login-note .btn{width:auto;min-width:140px}}
@media(min-width:760px){.public-main{width:min(1180px,calc(100% - 44px));padding-top:16px}.home-hero{min-height:285px;padding:34px 38px}.home-hero-badge{position:absolute;z-index:2;left:7%;top:50%;transform:translateY(-50%);width:145px;height:145px;border-radius:38px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);display:grid;place-items:center;color:#fff}.home-hero-badge svg{width:91px;height:91px;fill:none;stroke:currentColor;stroke-width:1.4}.home-badge-plus{position:absolute;right:-10px;top:-19px;font-size:70px;line-height:1;color:#ffc342;font-weight:950}.home-services-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.home-service-content{padding:12px}.home-service-content h3{font-size:1.05rem}.home-service-content p{font-size:.72rem}.home-trust-strip{display:grid;grid-template-columns:repeat(4,1fr);overflow:visible}.home-trust-item{flex:auto}.home-steps{grid-template-columns:repeat(3,1fr)}.home-step{align-items:flex-start;min-height:84px}.catalog-hero{padding:24px}.catalog-hero-icon{width:82px;height:82px}.catalog-hero-icon .service-svg{width:45px;height:45px}}
@media(min-width:1050px){.home-services-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.home-service-visual{height:118px}.home-service-card{border-radius:22px}.home-trust-strip{grid-template-columns:repeat(4,1fr)}.catalog-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.home-trust-item{padding:9px 8px;gap:8px}.home-trust-icon{width:38px;height:38px;border-radius:11px}.home-trust-icon svg{width:21px;height:21px}.home-trust-item strong{font-size:.72rem}.home-trust-item small{font-size:.60rem}.customer-quick-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.home-services-grid{gap:8px}.home-service-visual{height:86px}.home-service-icon{width:58px;height:58px}.home-service-icon .service-svg{width:33px;height:33px}.home-service-content{padding:9px 8px 10px}.home-service-content h3{font-size:.92rem}.home-service-content p{font-size:.63rem}.home-hero{padding:21px 16px}.home-hero-actions .btn{flex:1;min-width:0;padding-left:10px;padding-right:10px}.home-trust-item{padding:8px 7px}}

/* v14: self-service account closure */
.account-settings-page{display:grid;gap:14px;max-width:820px;margin:0 auto}.account-settings-head{margin:0 0 2px}.account-settings-head p{margin:3px 0 0}.account-summary-card{box-shadow:0 7px 24px rgba(20,44,87,.055)}
.account-summary-grid{display:grid;grid-template-columns:1fr;gap:9px;margin-top:14px}.account-summary-grid>div{background:#f8fafc;border:1px solid #e9edf3;border-radius:13px;padding:11px 12px;min-width:0}.account-summary-grid span{display:block;color:var(--kp-muted);font-size:.73rem}.account-summary-grid strong{display:block;color:var(--kp-navy);font-size:.9rem;margin-top:2px;overflow-wrap:anywhere}
.account-danger-card{border-color:#f3cccc;box-shadow:0 8px 25px rgba(201,54,54,.07)}.account-danger-title{display:flex;align-items:flex-start;gap:11px}.account-danger-title h2{margin:0;color:#a32525;font-size:1.08rem}.account-danger-title p{margin:4px 0 0;color:#6e7684;font-size:.82rem}.account-danger-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#fff0f0;color:var(--kp-danger);font-weight:950;flex:none;border:1px solid #ffd2d2}
.account-retained-list{margin:16px 0;background:#fff8f8;border:1px solid #f6dada;border-radius:14px;padding:12px 14px;color:#6a3a3a;font-size:.82rem}.account-retained-list ul{margin:7px 0 0;padding-right:20px}.account-retained-list li+li{margin-top:4px}.account-delete-check{background:#fff8f8;border:1px solid #f4d5d5;border-radius:13px;padding:11px;margin:4px 0 13px}.account-block-message{margin-top:16px}.account-block-message .btn{width:100%;margin-top:10px}
@media(min-width:620px){.account-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-block-message{display:flex;align-items:center;justify-content:space-between;gap:14px}.account-block-message .btn{width:auto;margin-top:0;flex:none}}


/* v13: logged-in customer mobile home */
.customer-mobile-home{display:grid;gap:18px}
.customer-home-hero{position:relative;overflow:hidden;border-radius:24px;padding:20px;background:linear-gradient(135deg,#102b59 0%,#173c73 62%,#0d1e3d 100%);box-shadow:0 14px 34px rgba(20,44,87,.16);color:#fff}
.customer-home-hero:after{content:"";position:absolute;width:145px;height:145px;border-radius:50%;border:24px solid rgba(202,139,13,.13);left:-70px;bottom:-83px}
.customer-home-hero>div{position:relative;z-index:1}
.customer-home-hero .home-eyebrow{color:#ffc342}
.customer-home-hero h1{margin:0;color:#fff;font-size:clamp(1.45rem,7vw,2.45rem);line-height:1.3;font-weight:950}
.customer-home-hero p{margin:7px 0 0;color:#dfe8f5;font-size:.8rem;line-height:1.7}
.customer-home-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}
.customer-home-actions .btn{width:100%;min-width:0;min-height:46px;padding-left:10px;padding-right:10px}
.btn-light-mobile{background:#fff;color:var(--kp-navy);border:1px solid rgba(255,255,255,.85)}
.btn-light-mobile:hover{background:#f7f9fc;color:var(--kp-navy)}
.customer-services-section{background:#fff;border:1px solid var(--kp-line);border-radius:22px;padding:14px 12px 15px;box-shadow:0 7px 22px rgba(20,44,87,.055)}
.customer-services-section .home-section-head{margin-top:0}
.customer-quick-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.customer-quick-trust>div{min-height:58px;background:#fff;border:1px solid var(--kp-line);border-radius:15px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;box-shadow:0 4px 13px rgba(20,44,87,.045)}
.customer-quick-trust strong{font-size:.67rem;line-height:1.3;color:#2c3950}
.trust-dot{width:22px;height:22px;border-radius:8px;display:block;position:relative}
.trust-dot:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:.72rem;font-weight:950}
.trust-dot-blue{background:#2785cf}.trust-dot-gold{background:#d99b21}.trust-dot-green{background:#3d9c68}
.customer-dashboard-section-head{margin-top:2px}
.customer-home-stats{margin-top:-6px}
@media(min-width:700px){
  .customer-home-hero{padding:26px 28px}
  .customer-home-actions{display:flex;max-width:420px}
  .customer-home-actions .btn{width:auto;min-width:165px}
  .customer-services-section{padding:18px}
}
@media(max-width:420px){.home-trust-item{padding:9px 8px;gap:8px}.home-trust-icon{width:38px;height:38px;border-radius:11px}.home-trust-icon svg{width:21px;height:21px}.home-trust-item strong{font-size:.72rem}.home-trust-item small{font-size:.60rem}.customer-quick-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){
  .customer-home-actions{grid-template-columns:1fr}
  .customer-quick-trust strong{font-size:.62rem}
}


/* =========================================================
   v20 - Mobile restructuring: stronger category visuals,
         category -> subcategory hierarchy, technician signup
         and inspection-fee controls.
   ========================================================= */

/* Stronger, more visible service category "logos" */
.home-service-visual{height:112px}
.home-service-icon{
  width:82px;
  height:82px;
  border-radius:23px;
  color:var(--service-accent-dark);
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 10px 22px rgba(0,0,0,.16),inset 0 0 0 3px rgba(255,255,255,.65);
}
.home-service-icon .service-svg{
  width:51px;
  height:51px;
  stroke-width:2.45;
  filter:none;
}
.home-service-content h3{font-size:1.02rem}
.home-service-cta{min-height:39px;font-size:.78rem}

/* Mobile service/subcategory list inspired by the supplied reference UI */
.catalog-services-list{grid-template-columns:1fr!important;gap:11px}
.catalog-service-card-v20{
  --service-accent:#284f84;
  --service-accent-dark:#142c57;
  min-height:112px;
  padding:12px;
  border-radius:20px;
  align-items:center;
  background:#fff;
  border:1px solid #e7ebf1;
  box-shadow:0 7px 20px rgba(20,44,87,.065);
}
.catalog-service-icon-v20{
  width:78px;
  height:78px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(145deg,var(--service-accent),var(--service-accent-dark));
  box-shadow:0 6px 16px rgba(20,44,87,.12);
}
.catalog-service-icon-v20 .service-svg{width:46px;height:46px;stroke-width:2.35}
.catalog-service-card-v20 .catalog-service-copy strong{font-size:1rem}
.catalog-service-card-v20 .catalog-service-copy small{font-size:.69rem;line-height:1.55;margin-top:3px}
.catalog-service-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  margin-top:8px;
  padding:4px 12px;
  border-radius:10px;
  background:var(--service-accent);
  color:#fff;
  font-size:.7rem;
  font-weight:900;
}
.catalog-service-card-v20 .catalog-service-arrow{background:#f5f7fa}
.catalog-hero-icon{width:78px;height:78px}
.catalog-hero-icon .service-svg{width:48px;height:48px;stroke-width:2.35}

/* Technician registration: mobile-first structured steps */
.technician-register-card{padding:16px}
.registration-head{display:flex;align-items:flex-start;gap:12px}
.registration-head .card-title{font-size:1.18rem}
.registration-icon{
  width:48px;height:48px;flex:none;border-radius:15px;
  display:grid;place-items:center;background:var(--kp-gold);
  color:#fff;font-size:2rem;line-height:1;font-weight:900;
  box-shadow:0 7px 18px rgba(202,139,13,.24)
}
.registration-section{padding:17px 0;border-top:1px solid var(--kp-line)}
.registration-section:first-of-type{border-top:0;padding-top:4px}
.registration-section-last{padding-bottom:0}
.registration-section-title{
  display:flex;align-items:center;gap:10px;margin-bottom:14px;
  color:var(--kp-navy)
}
.registration-section-title>span{
  width:34px;height:34px;flex:none;border-radius:11px;
  display:grid;place-items:center;background:#eef3f9;color:var(--kp-navy);
  font-weight:950
}
.registration-section-title strong{display:block;font-size:.96rem}
.registration-section-title small{display:block;color:var(--kp-muted);font-size:.68rem;margin-top:1px}

.expertise-help{margin:-2px 0 9px}
.expertise-grid{display:grid;grid-template-columns:1fr;gap:8px}
.expertise-option{
  display:flex;align-items:center;gap:10px;min-height:57px;
  border:1px solid #dfe5ee;border-radius:14px;background:#fff;
  padding:9px 11px;cursor:pointer;transition:.16s
}
.expertise-option:hover{border-color:#c4d1e2;background:#fbfdff}
.expertise-option input[type=checkbox]{width:19px;height:19px;flex:none;accent-color:var(--kp-gold)}
.expertise-option-copy{min-width:0}
.expertise-option-copy strong{display:block;font-size:.85rem;color:#24334a}
.expertise-option-copy small{display:block;font-size:.65rem;color:#8993a2}
.selection-summary{
  margin-top:9px;padding:8px 10px;border-radius:11px;
  background:#f5f7fa;color:#758093;font-size:.7rem;font-weight:800
}
.selection-summary.has-selection{background:#edf7f1;color:#19704c}

/* Professional mobile multi-select for work governorates */
.work-gov-select{position:relative;width:100%}
.work-gov-trigger{
  width:100%;min-height:58px;border:1px solid #cfd8e6;border-radius:15px;background:#fff;
  display:grid;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:10px;
  padding:8px 11px;color:#263954;text-align:right;cursor:pointer;font-family:'Cairo',sans-serif;
  box-shadow:0 2px 7px rgba(20,44,87,.035);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.work-gov-trigger:hover{border-color:#aebed2;background:#fcfdff}
.work-gov-trigger:focus-visible{outline:none;border-color:var(--kp-navy);box-shadow:0 0 0 3px rgba(20,44,87,.10)}
.work-gov-select.is-open .work-gov-trigger{border-color:var(--kp-navy);box-shadow:0 0 0 3px rgba(20,44,87,.08)}
.work-gov-trigger-icon{
  width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  color:var(--kp-navy);background:#eef4fb
}
.work-gov-trigger-icon svg{width:23px;height:23px}
.work-gov-trigger-copy{min-width:0;display:block}
.work-gov-trigger-copy strong{display:block;font-size:.84rem;font-weight:900;color:#253650;line-height:1.45}
.work-gov-trigger-copy small{display:block;margin-top:2px;font-size:.67rem;font-weight:700;color:#7b8798;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.work-gov-chevron{width:28px;height:28px;display:grid;place-items:center;color:#758196;transition:transform .18s ease}
.work-gov-chevron svg{width:20px;height:20px}
.work-gov-select.is-open .work-gov-chevron{transform:rotate(180deg);color:var(--kp-navy)}
.work-gov-chips{display:none;gap:6px;flex-wrap:wrap;margin-top:8px}
.work-gov-chips.has-selection{display:flex}
.work-gov-chip{
  border:1px solid #d9e3ef;background:#f4f8fc;color:#294260;border-radius:999px;
  min-height:31px;padding:4px 10px;display:inline-flex;align-items:center;gap:6px;
  font-family:'Cairo',sans-serif;font-size:.68rem;font-weight:850;cursor:pointer
}
.work-gov-chip:hover{background:#edf4fb;border-color:#c6d7e8}
.work-gov-chip-x{font-size:1rem;line-height:1;color:#8a96a7;font-weight:500}
.work-gov-panel{
  margin-top:8px;border:1px solid #dce4ef;border-radius:16px;background:#fff;
  box-shadow:0 15px 35px rgba(20,44,87,.13);padding:10px;overflow:hidden
}
.work-gov-panel[hidden]{display:none!important}
.work-gov-search-wrap{position:relative;margin-bottom:8px}
.work-gov-search{
  width:100%;height:43px;border:1px solid #d7e0eb;border-radius:12px;background:#f8fafc;
  padding:7px 39px 7px 11px;font-family:'Cairo',sans-serif;font-size:.78rem;color:#263954;outline:none
}
.work-gov-search:focus{border-color:#a9bbd1;background:#fff;box-shadow:0 0 0 3px rgba(20,44,87,.07)}
.work-gov-search-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:#7b8798;pointer-events:none}
.work-gov-actions{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:1px 2px 8px;border-bottom:1px solid #edf1f6}
.work-gov-actions span{height:1px;background:#edf1f6}
.work-gov-actions button{border:0;background:transparent;padding:5px 2px;color:var(--kp-navy);font-family:'Cairo',sans-serif;font-size:.68rem;font-weight:900;cursor:pointer}
.work-gov-actions button.clear{color:#8b5b5b}
.multi-check-list{display:block!important;max-height:280px;overflow-y:auto;overflow-x:hidden;padding:5px 1px;margin:0;scrollbar-width:thin;scrollbar-color:#adb6c2 transparent}
.multi-check-list br{display:none!important}
.multi-check-item{
  direction:rtl;width:100%;min-height:46px;display:flex;align-items:center;gap:11px;
  padding:8px 9px;border-radius:11px;border-bottom:1px solid #f0f3f7;color:#2d3d55;cursor:pointer
}
.multi-check-item:last-child{border-bottom:0}
.multi-check-item:hover{background:#f7faff}
.multi-check-item:has(input:checked){background:#f0f6fc;color:#173760}
.multi-check-item input[type=checkbox]{
  appearance:none;-webkit-appearance:none;width:21px;height:21px;min-width:21px;margin:0;
  border:1.7px solid #aeb9c7;border-radius:6px;background:#fff;display:grid;place-content:center;cursor:pointer
}
.multi-check-item input[type=checkbox]::before{
  content:'';width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;
  transform:rotate(-45deg) scale(0);transform-origin:center;transition:transform .1s ease;margin-top:-2px
}
.multi-check-item input[type=checkbox]:checked{background:var(--kp-navy);border-color:var(--kp-navy)}
.multi-check-item input[type=checkbox]:checked::before{transform:rotate(-45deg) scale(1)}
.multi-check-item input[type=checkbox]:focus-visible{outline:3px solid rgba(20,44,87,.12);outline-offset:2px}
.multi-check-item label{display:block!important;flex:1!important;min-width:0!important;margin:0!important;padding:0!important;font-size:.78rem!important;font-weight:850!important;line-height:1.6!important;color:inherit!important;cursor:pointer!important;text-align:right!important}
.work-gov-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 3px 1px;border-top:1px solid #edf1f6;color:#788495;font-size:.67rem;font-weight:800}
.work-gov-footer .btn{min-width:70px}

/* Inspection / call-out fee */
.inspection-fee-box{
  margin:14px 0;padding:12px 13px;border:1px solid #eadfbf;border-radius:16px;
  background:linear-gradient(180deg,#fffdf6,#fff)
}
.inspection-fee-toggle{padding-top:0}
.inspection-fee-amount{margin-top:7px}
.inspection-fee-nocharge{
  display:none;margin-top:7px;padding:8px 10px;border-radius:10px;
  background:#edf7f1;color:#1a7751;font-size:.76rem;font-weight:900
}
.availability-options{display:grid;gap:2px}
.technician-fee-settings{background:linear-gradient(180deg,#fff,#fffcf4)}
.inspection-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:29px;padding:4px 9px;border-radius:999px;
  font-size:.67rem;font-weight:950;white-space:nowrap
}
.inspection-badge.no-fee{background:#eaf8f0;color:#157549}
.inspection-badge.has-fee{background:#fff4dc;color:#986300}

/* Technician search cards */
.tech-card-mobile{align-items:flex-start}
.tech-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.tech-field-line{margin-top:8px;font-size:.72rem;color:#687386;line-height:1.65}
.tech-field-line strong{color:#33445e}

/* Request hierarchy selector */
.request-service-pair{
  display:grid;grid-template-columns:1fr;gap:2px;
  margin-bottom:3px;padding:12px;border:1px solid #e0e7f0;
  border-radius:16px;background:#f8fbff
}
.request-service-pair .form-group:last-child{margin-bottom:0}

/* Make the hero promise highly visible */
.home-kicker,.customer-home-hero .home-eyebrow{
  padding:5px 10px;border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#ffd268!important
}

/* Touch targets and compact mobile rhythm */
@media(max-width:559px){
  .home-services-grid{gap:9px}
  .home-service-visual{height:104px}
  .home-service-icon{width:74px;height:74px;border-radius:21px}
  .home-service-icon .service-svg{width:45px;height:45px}
  .home-service-content{padding:9px 8px 10px}
  .catalog-service-card-v20{min-height:104px;padding:10px}
  .catalog-service-icon-v20{width:70px;height:70px;border-radius:17px}
  .catalog-service-icon-v20 .service-svg{width:41px;height:41px}
  .technician-register-card{padding:14px}
  .registration-section{padding:15px 0}
  .tech-card-head{align-items:center}
}

@media(min-width:560px){
  .expertise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .request-service-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

@media(min-width:760px){
  .home-service-visual{height:125px}
  .home-service-icon{width:88px;height:88px}
  .home-service-icon .service-svg{width:55px;height:55px}
  .catalog-services-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .technician-register-card{padding:22px}
}
/* v20 brand visibility */
.brand img{width:124px;max-height:62px}.public-logo{width:205px;max-height:135px}@media(max-width:420px){.home-trust-item{padding:9px 8px;gap:8px}.home-trust-icon{width:38px;height:38px;border-radius:11px}.home-trust-icon svg{width:21px;height:21px}.home-trust-item strong{font-size:.72rem}.home-trust-item small{font-size:.60rem}.customer-quick-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.brand img{width:114px}.public-logo{width:185px}}
.expertise-prompt{padding:12px;border:1px dashed #cdd7e4;border-radius:13px;background:#f8fafc;color:#778397;font-size:.74rem;text-align:center;margin-bottom:8px}


/* =========================================================
   v21.3 - Landing hero: use the real Khadamat Plus logo
           inside the hero card, on the right side.
   ========================================================= */
.home-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 112px;
  gap:18px;
  direction:rtl;
}
.home-hero-copy{
  grid-column:1;
  min-width:0;
}
.home-hero-brand{
  grid-column:2;
  position:relative;
  z-index:2;
  width:112px;
  height:112px;
  border-radius:26px;
  display:grid;
  place-items:center;
  padding:12px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.88);
  box-shadow:0 12px 28px rgba(2,15,39,.22);
}
.home-hero-brand img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
/* Retire the old decorative hero badge if cached markup ever appears. */
.home-hero-badge{display:none!important}

@media(max-width:560px){
  .home-hero{
    grid-template-columns:minmax(0,1fr) 82px;
    gap:10px;
    align-items:start;
  }
  .home-hero-brand{
    width:82px;
    height:82px;
    padding:9px;
    border-radius:20px;
    align-self:start;
  }
  .home-hero h1{font-size:clamp(1.55rem,8vw,2.35rem)}
}

@media(max-width:380px){
  .home-hero{
    grid-template-columns:minmax(0,1fr) 70px;
    gap:8px;
  }
  .home-hero-brand{
    width:70px;
    height:70px;
    padding:8px;
    border-radius:17px;
  }
}

@media(min-width:760px){
  .home-hero{
    grid-template-columns:minmax(0,1fr) 170px;
    gap:34px;
  }
  .home-hero-brand{
    width:170px;
    height:170px;
    padding:18px;
    border-radius:34px;
  }
}

.footer-policy-links{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.footer-policy-links>span{color:#9aa6b6}
