/* Independent compact search banner. No selectors affect hero or other sections. */
.mm-smart-search{position:relative;direction:rtl;padding:8px 0;color:#062b58}
.mm-smart-search__shell{padding:12px;border:1px solid #e0e6ee;border-radius:14px;background:linear-gradient(180deg,#fafcff,#fff 60%);box-shadow:0 5px 22px #062b5810}
.mm-smart-search__form{margin:0}
.mm-smart-search svg{width:21px;height:21px;flex:none}
.mm-smart-search__tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 12px;padding:0;border:0;min-width:0}
.mm-smart-search__tabs label{position:relative;cursor:pointer;min-width:0}
.mm-smart-search__tabs input,.mm-smart-search__sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.mm-smart-search__tabs label>span{display:flex;align-items:center;justify-content:center;gap:9px;height:48px;padding:5px 8px;box-sizing:border-box;border:1px solid #e3e8f0;border-radius:9px;background:#fff;color:#062b58;font-size:13px;font-weight:850;box-shadow:0 2px 5px #062b5806;transition:background .15s,border-color .15s}
.mm-smart-search__tabs input:checked+span{background:linear-gradient(135deg,#0b3c70,#062b58);color:#fff;border-color:#062b58;box-shadow:0 3px 8px #062b5820}
.mm-smart-search__tabs input:focus-visible+span{outline:3px solid #d4af60;outline-offset:2px}
.mm-smart-search__fields{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.35fr) minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.25fr);gap:10px;align-items:center}
.mm-smart-search__field{height:100px;box-sizing:border-box;min-width:0;padding:10px 12px;background:#fff;border:1px solid #e6ebf2;border-radius:10px;display:flex;flex-direction:column;justify-content:center;gap:5px}
.mm-smart-search__field>label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:800;line-height:1.5;color:#062b58}
.mm-smart-search__field>label svg{width:18px;height:18px}
.mm-smart-search__field:focus-within{border-color:#c99635;box-shadow:0 0 0 2px #c9963515}
.mm-smart-search__field select{width:100%;min-width:0;min-height:40px;border:1px solid #e0e7f0;border-radius:8px;background:#fff;color:#062b58;padding:5px 10px;font:inherit;font-size:12px;font-weight:700;text-align:center;text-align-last:center;cursor:pointer}
.mm-smart-search__field select:focus-visible,.mm-smart-search__amount input:focus-visible{outline:2px solid #c99635;outline-offset:2px}
.mm-smart-search__amount{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}
.mm-smart-search__amount input{width:100%;min-width:0;height:25px;padding:0 2px;border:0;border-radius:3px;background:transparent;font:inherit;font-size:13px;font-weight:800;color:#062b58;text-align:center}
.mm-smart-search__amount input::placeholder{color:#7b8ba0;font-size:11px;font-weight:500}
.mm-smart-search__amount>span{font-size:9px;color:#728199}
.mm-smart-search__range{direction:ltr;appearance:none;-webkit-appearance:none;width:100%;height:6px;margin:4px 0;border:0;border-radius:10px;background:linear-gradient(90deg,var(--range-color,#062b58) var(--fill,100%),#e1e7f0 var(--fill,100%));cursor:pointer;touch-action:pan-y}
.mm-smart-search__range::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;border:2px solid #fff;background:var(--range-color,#062b58);box-shadow:0 0 0 1px var(--range-color,#062b58)}
.mm-smart-search__range::-moz-range-thumb{width:13px;height:13px;border-radius:50%;border:2px solid #fff;background:var(--range-color,#062b58)}
.mm-smart-search__range:focus-visible{outline:2px solid #c99635;outline-offset:5px}
.mm-smart-search__range:disabled{opacity:.4;cursor:default}
.mm-smart-search__money[data-money=monthly]{--range-color:#c99635}
.mm-smart-search__money output{display:block;min-height:14px;font-size:10px;color:#718099;text-align:center;line-height:1.5}
.mm-smart-search__form[data-mode=installment] .mm-smart-search__money[data-money=monthly]{border-color:#c99635;background:#fffaf0;box-shadow:inset 0 2px #dfbd70}
.mm-smart-search__form[data-mode=investment] .mm-smart-search__money[data-money=budget]{border-color:#b2c3d8;background:#f6f9fd}
.mm-smart-search__submit{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;width:100%;height:52px;padding:7px 9px;border:1px solid #dbb464;border-radius:10px;background:linear-gradient(125deg,#f8d985,#c99635);color:#062b58;font:inherit;font-size:12px;font-weight:900;line-height:1.5;box-shadow:0 5px 11px #c9963524;cursor:pointer;transition:filter .15s,box-shadow .15s}
.mm-smart-search__submit:hover{filter:brightness(1.05);box-shadow:0 6px 14px #c9963538}
.mm-smart-search__submit:focus-visible{outline:3px solid #062b58;outline-offset:3px}
.mm-smart-search__quick{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:28px;margin-top:8px}
.mm-smart-search__quick>span{font-size:10px;color:#748399;margin-inline-end:3px}
.mm-smart-search__quick button{height:28px;padding:3px 11px;border:1px solid #e1e5ec;border-radius:999px;background:#fff;color:#062b58;font:inherit;font-size:10px;font-weight:750;cursor:pointer}
.mm-smart-search__quick button:hover,.mm-smart-search__quick button[aria-pressed=true]{background:#faf6ee;border-color:#c99635}
.mm-smart-search__quick button:focus-visible{outline:2px solid #c99635;outline-offset:2px}
@media(max-width:1024px){
.mm-smart-search__fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.mm-smart-search__submit{grid-column:1/-1;max-width:360px;justify-self:center}
.mm-smart-search__tabs label>span{font-size:11px;gap:6px}
}
@media(max-width:600px){
.mm-smart-search{padding:12px 0}
.mm-smart-search__shell{padding:12px}
.mm-smart-search__tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.mm-smart-search__tabs label>span{height:44px;font-size:11px}
.mm-smart-search__fields{grid-template-columns:minmax(0,1fr);gap:9px}
.mm-smart-search__field{height:96px;padding:10px 14px}
.mm-smart-search__field>label{font-size:12px}
.mm-smart-search__amount input{font-size:15px}
.mm-smart-search__money output{font-size:11px}
.mm-smart-search__submit{grid-column:auto;max-width:none;font-size:13px}
.mm-smart-search__quick{gap:6px}
}
@media(prefers-reduced-motion:reduce){.mm-smart-search *{transition:none!important}}

/* Visual match to the approved sketch: frosted panel and separate quick chips. */
.mm-smart-search{isolation:isolate;padding:6px 0;background:#f4f5f3}
.mm-smart-search::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(247,245,238,.45) 55%,rgba(255,255,255,.94)),url("../images/project-signature/tehran-dossier.webp") center 58%/cover no-repeat}
.mm-smart-search__shell{position:relative;isolation:isolate;border:0;background:transparent;padding:12px 12px 0;box-shadow:none}
.mm-smart-search__shell::before{content:"";position:absolute;inset:0 0 44px;z-index:-1;border:1px solid rgba(196,210,226,.85);border-radius:14px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,251,255,.94));box-shadow:0 9px 26px rgba(6,43,88,.12),inset 0 1px 0 #fff;backdrop-filter:blur(10px);pointer-events:none}
.mm-smart-search__tabs{gap:9px}
.mm-smart-search__tabs label>span{font-size:14px;border-color:#e3e9f1;background:linear-gradient(180deg,#fff,#f8faff);box-shadow:0 4px 9px rgba(6,43,88,.09),inset 0 1px 0 #fff;border-radius:9px;gap:10px}
.mm-smart-search__tabs svg{width:24px;height:24px;stroke-width:1.9}
.mm-smart-search__tabs input:checked+span{background:linear-gradient(145deg,#114574,#031d3b);box-shadow:0 5px 12px rgba(6,43,88,.2),inset 0 1px 0 rgba(255,255,255,.18);border-color:#284e77}
.mm-smart-search__fields{gap:10px}
.mm-smart-search__field{padding:7px 12px;gap:4px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(249,251,255,.95));border-color:#e8edf4;border-radius:10px;box-shadow:inset 0 1px 0 #fff}
.mm-smart-search__field>label{font-size:12px;gap:7px;font-weight:850}
.mm-smart-search__field>label svg{width:21px;height:21px}
.mm-smart-search__field select{min-height:44px;font-size:13px;border-color:#e5ebf4;box-shadow:0 2px 5px rgba(6,43,88,.04);background:#fff}
.mm-smart-search__amount input{font-size:15px;height:25px;font-weight:850}
.mm-smart-search__amount>span{font-size:10px}
.mm-smart-search__range{height:7px;margin:4px 0;background:linear-gradient(90deg,var(--range-color,#062b58) var(--fill,100%),#dce4ef var(--fill,100%))}
.mm-smart-search__range::-webkit-slider-thumb{width:18px;height:18px;box-shadow:0 1px 4px rgba(6,43,88,.15),0 0 0 1px var(--range-color,#062b58)}
.mm-smart-search__range::-moz-range-thumb{width:15px;height:15px;box-shadow:0 1px 4px rgba(6,43,88,.15)}
.mm-smart-search__money output{color:#7b8ba2;font-size:10px}
.mm-smart-search__submit{background:linear-gradient(135deg,#ffe4a0 0,#e7b650 45%,#c99635 100%);border-color:#e7b85a;box-shadow:0 5px 12px rgba(185,132,35,.22),inset 0 1px 0 rgba(255,255,255,.75);font-size:13px;font-weight:900;border-radius:12px}
.mm-smart-search__submit svg{width:25px;height:25px;stroke-width:2.1}
.mm-smart-search__quick{margin-top:24px;gap:8px;min-height:32px}
.mm-smart-search__quick>span{font-size:11px;color:#536b85}
.mm-smart-search__quick button{height:32px;display:inline-flex;align-items:center;gap:6px;padding:3px 11px;background:linear-gradient(180deg,#fff,#f8fbff);border-color:rgba(189,204,223,.8);font-size:11px;font-weight:800;box-shadow:0 3px 8px rgba(6,43,88,.065)}
.mm-smart-search__quick button svg{width:21px;height:21px;padding:2px;box-sizing:border-box;border-radius:5px;color:#9d702a;background:linear-gradient(135deg,#f7eacc,#fff5dc);filter:drop-shadow(0 1px 1px rgba(174,132,61,.12))}
.mm-smart-search__quick button:first-of-type svg{color:#174e7b;background:linear-gradient(135deg,#d1e6f3,#f3f8fb)}
.mm-smart-search__quick button:hover,.mm-smart-search__quick button[aria-pressed=true]{background:#fff7e6;border-color:#c99635;box-shadow:0 3px 9px rgba(174,132,61,.13)}
@media(min-width:1025px) and (max-width:1199px){
.mm-smart-search__tabs label>span{font-size:12px;gap:7px}
.mm-smart-search__field>label{font-size:11px}
.mm-smart-search__submit{font-size:11px;gap:5px}
.mm-smart-search__submit svg{width:22px;height:22px}
}
@media(max-width:1024px){
.mm-smart-search{padding:12px 0}
.mm-smart-search__shell{padding:12px;border:1px solid #dde5ef;background:rgba(255,255,255,.95);box-shadow:0 6px 20px rgba(6,43,88,.08)}
.mm-smart-search__shell::before{display:none}
.mm-smart-search__tabs label>span{font-size:11px;gap:6px}
.mm-smart-search__tabs svg{width:21px;height:21px}
.mm-smart-search__quick{margin-top:12px}
}
@media(max-width:600px){
.mm-smart-search__field{padding:8px 14px}
.mm-smart-search__field>label{font-size:12px}
.mm-smart-search__tabs label>span{font-size:11px}
.mm-smart-search__quick{gap:7px}
.mm-smart-search__quick button{font-size:10px;padding-inline:9px}
}

/* Quiet architectural wash: the hero remains the dominant photograph. */
.mm-smart-search{background:#faf8f3}
.mm-smart-search::before{background:url("../images/tehran-milad-lake-search.webp") center bottom/cover no-repeat;opacity:.09;filter:saturate(.35);mask-image:linear-gradient(180deg,transparent,#000 20%,#000 75%,transparent)}
.mm-smart-search::after{display:none}
.mm-smart-search__shell::before{background:linear-gradient(135deg,rgba(255,255,255,.99),rgba(248,251,255,.98));box-shadow:0 6px 20px rgba(6,43,88,.09),inset 0 1px #fff}
.mm-smart-search__quick>span{color:#536b85;text-shadow:none;font-weight:800}
@media(min-width:1280px){.mm-smart-search>.mmh-container{max-width:1120px;width:calc(100% - 240px)}}
@media(max-width:1024px){.mm-smart-search__shell{background:rgba(255,255,255,.98)}}
