:root{--bhpd-primary:#14685e;--bhpd-ink:#193b48;--bhpd-canvas:#f4f7f6;--bhpd-soft:#e8f3ee;--bhpd-line:#e2e9e8;--bhpd-muted:#586970;--bhpd-warning:#875408;--bhpd-warning-surface:#fff3dc}
.bhpd-page{margin:0;background:var(--bhpd-canvas);color:var(--bhpd-ink);font:16px/1.8 BHPDesignVazirmatn,Vazirmatn,Tahoma,system-ui,sans-serif;direction:rtl}
.bhpd-shell{box-sizing:border-box;max-width:1080px;margin:0 auto;padding:24px 20px 48px}
.bhpd-shell *{box-sizing:border-box}
.bhpd-header{padding:24px 28px;margin:0 0 24px;border-radius:24px;background:linear-gradient(125deg,#1b7b6d,#0c4e48);color:white;box-shadow:0 10px 26px #193b4810}
.bhpd-header h1{margin:12px 0 0;font-size:30px;line-height:1.5;color:inherit}
.bhpd-header p{margin:0;color:#e3f2ee}
.bhpd-back{color:white;text-decoration:none;display:inline-flex;min-height:44px;align-items:center;opacity:.9;font-size:14px}
.bhpd-shell h2,.bhpd-shell h3{overflow-wrap:anywhere;line-height:1.6;margin:0 0 12px;color:var(--bhpd-ink)}
.bhpd-shell h2{font-size:23px}.bhpd-shell h3{font-size:19px}.bhpd-shell p{margin:8px 0 14px;overflow-wrap:anywhere}.bhpd-shell a{color:var(--bhpd-primary)}.bhpd-header a{color:white}
#bhpd-app button,.bhpd-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:10px 18px;border:1px solid transparent;border-radius:12px;background:var(--bhpd-primary);color:#fff;font:inherit;font-weight:700;line-height:1.6;text-decoration:none;cursor:pointer;transition:background .15s,box-shadow .15s;max-width:100%;text-align:center}
#bhpd-app button:hover:not(:disabled){background:#0d564d}#bhpd-app button:disabled{opacity:.55;cursor:not-allowed}#bhpd-app button:focus-visible,#bhpd-app a:focus-visible,#bhpd-app input:focus-visible,#bhpd-app textarea:focus-visible,#bhpd-app summary:focus-visible{outline:3px solid #7bbcaf;outline-offset:3px}
#bhpd-app .bhpd-secondary{background:white;border-color:#9fc4ba;color:var(--bhpd-primary);box-shadow:none}#bhpd-app .bhpd-secondary:hover:not(:disabled){background:var(--bhpd-soft)}
.bhpd-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:5px;gap:5px;background:#e8f2ef;border:1px solid #d8e9e3;border-radius:16px;margin-bottom:20px;position:sticky;top:8px;z-index:5;box-shadow:0 6px 16px #193b4808}
#bhpd-app .bhpd-tabs button{border:0;background:transparent;color:var(--bhpd-ink);font-size:15px;padding-inline:6px;min-width:0;white-space:normal}
#bhpd-app .bhpd-tabs button[aria-selected=true]{background:var(--bhpd-primary);color:white;box-shadow:0 4px 10px #14685e20}
.bhpd-notice{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:var(--bhpd-soft);color:var(--bhpd-ink);margin:14px 0 20px;font-size:14px;line-height:1.9}.bhpd-notice p{margin:0}.bhpd-notice-icon{border:1.8px solid currentColor;min-width:23px;height:23px;border-radius:50%;font:700 16px/21px system-ui;text-align:center;margin-top:4px;color:var(--bhpd-primary)}.bhpd-notice-warning{background:var(--bhpd-warning-surface);color:var(--bhpd-warning)}.bhpd-notice-warning .bhpd-notice-icon{color:var(--bhpd-warning)}
.bhpd-section-heading{margin:26px 0 18px}.bhpd-section-heading h2{margin-bottom:4px}.bhpd-section-heading p,.bhpd-muted,.bhpd-description{color:var(--bhpd-muted)}
.bhpd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.bhpd-services{grid-template-columns:1fr}
.bhpd-card,.bhpd-panel,.bhpd-service-card{background:white;border:1px solid var(--bhpd-line);border-radius:18px;box-shadow:0 3px 10px #193b4805}
.bhpd-card{padding:20px;margin:0 0 16px}.bhpd-panel{padding:26px;margin:18px 0}.bhpd-service-card{display:grid;grid-template-columns:116px minmax(0,1fr);gap:20px;padding:16px;align-items:center}
.bhpd-service-copy h3{font-size:23px;margin:0 0 6px}.bhpd-service-copy p{margin:0 0 8px;font-size:14px}.bhpd-service-copy .bhpd-price{display:block;margin:0 0 14px}.bhpd-service-copy button{width:100%;min-height:44px!important}.bhpd-service-art{width:116px;min-height:144px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:var(--bhpd-primary);background:linear-gradient(140deg,#edf5ec,#e4ded0);overflow:hidden}.bhpd-service-art svg{width:82px;height:100px}.bhpd-art-story{background:linear-gradient(135deg,#ffe9e1,#f1e3e9);color:#a35d79}.bhpd-art-product{background:linear-gradient(135deg,#e9f2e7,#f0e5d9);color:#687c4a}
.bhpd-price{color:var(--bhpd-primary);font-size:21px;font-weight:800;line-height:1.65}.bhpd-section-footer{margin:24px 0;text-align:center}.bhpd-section-footer button{width:100%}.bhpd-service-intro{text-align:center}.bhpd-service-intro .bhpd-service-art{margin:0 auto 18px;min-height:110px;width:110px}.bhpd-service-intro .bhpd-price{display:block;margin-bottom:20px}.bhpd-service-detail>button{width:100%;margin-top:12px}
.bhpd-terms{padding:18px;margin:22px 0;background:#f7faf8;border:1px solid var(--bhpd-line);border-radius:14px}.bhpd-term-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.bhpd-term-stats>div{padding:14px;background:white;border:1px solid var(--bhpd-line);border-radius:12px;display:flex;flex-direction:column;text-align:center}.bhpd-term-stats strong{font-size:26px;color:var(--bhpd-primary)}.bhpd-term-stats span{font-size:13px;color:var(--bhpd-muted)}.bhpd-term-row{border-top:1px solid var(--bhpd-line);padding-top:12px;margin-top:12px;font-size:14px}.bhpd-term-row p{margin:4px 0 0}
.bhpd-filters,.bhpd-row{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.bhpd-filters button{font-size:14px!important;min-height:44px!important;padding:8px 16px!important}.bhpd-kind{color:var(--bhpd-muted);font-size:14px}.bhpd-portfolio .bhpd-card{margin:0}.bhpd-portfolio-images{display:flex;gap:10px;margin-bottom:16px}.bhpd-portfolio-images figure{margin:0;flex:1;min-width:0}.bhpd-portfolio-images img{display:block;object-fit:contain;width:100%;height:230px;border-radius:12px;background:var(--bhpd-canvas)}.bhpd-portfolio-images figcaption{font-size:12px;text-align:center;color:var(--bhpd-muted);margin-top:8px}
.bhpd-empty{text-align:center;background:white;border:1px dashed #bad2ca;border-radius:18px;padding:34px 24px;margin:20px 0;color:var(--bhpd-muted)}.bhpd-empty-icon{display:block;font-size:48px;line-height:1.4;color:var(--bhpd-primary)}.bhpd-empty h3{margin:12px 0 8px}.bhpd-empty p{margin:0}.bhpd-action-heading{font-size:16px!important;color:var(--bhpd-warning)!important;margin:24px 0 12px!important}
.bhpd-order-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.bhpd-order-number{background:var(--bhpd-soft);color:var(--bhpd-primary);font-weight:700;font-size:14px;padding:4px 12px;border-radius:20px;unicode-bidi:plaintext}.bhpd-status{display:inline-flex;padding:5px 12px;border-radius:20px;font-size:12px;font-weight:700;background:#e9eef0;color:#425a67}.bhpd-status-ready_for_review,.bhpd-status-receipt_revision,.bhpd-status-awaiting_payment{background:var(--bhpd-warning-surface);color:var(--bhpd-warning)}.bhpd-status-delivered,.bhpd-status-paid{background:var(--bhpd-soft);color:var(--bhpd-primary)}.bhpd-status-cancelled,.bhpd-status-refund_pending,.bhpd-status-refunded{background:#f1e9e8;color:#86554b}.bhpd-order-card>button{width:100%}.bhpd-order-card .bhpd-price{font-size:17px}.bhpd-order-card h3{margin-bottom:8px}
.bhpd-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:28px 0 30px;list-style:none}.bhpd-progress li{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:#718482;font-size:12px}.bhpd-progress li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:50%;top:16px;width:100%;height:2px;background:#dce5e2;z-index:0}.bhpd-progress li span{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px solid #d2ded9;border-radius:50%;background:white;color:#758983;font:700 15px/1 system-ui}.bhpd-progress .bhpd-progress-done span{background:var(--bhpd-primary);border-color:var(--bhpd-primary);color:white}.bhpd-progress .bhpd-progress-done::after{background:var(--bhpd-primary)!important}.bhpd-progress .bhpd-progress-current span{border-color:var(--bhpd-primary);color:var(--bhpd-primary);box-shadow:0 0 0 4px var(--bhpd-soft)}.bhpd-progress-current strong{color:var(--bhpd-ink)}
.bhpd-manager-note{padding:16px;border:1px solid var(--bhpd-line);border-radius:14px;margin-bottom:20px;background:#fcfdfc}.bhpd-manager-note h3{font-size:15px}.bhpd-manager-note p{margin:4px 0}.bhpd-manager-note time{font-size:12px;color:var(--bhpd-muted)}.bhpd-deliverables{margin:22px 0}.bhpd-deliverables>button{width:100%;margin-top:10px}.bhpd-private-preview img{width:100%;max-height:440px;object-fit:contain;display:block;border-radius:14px;background:var(--bhpd-canvas);margin:16px 0}.bhpd-review-actions{padding:18px;border:1px solid #bcd8cd;background:#f7fbf8;border-radius:16px;margin:24px 0}.bhpd-review-actions>button{margin-top:12px;width:100%}
#bhpd-app label{display:block;font-size:14px;font-weight:600;margin:18px 0 8px}#bhpd-app input:not([type=checkbox]),#bhpd-app textarea,#bhpd-app select{width:100%;padding:13px 14px;border:1px solid #b5c9c2;border-radius:10px;font:inherit;background:white;color:var(--bhpd-ink);margin-top:8px;min-height:48px}#bhpd-app textarea{resize:vertical;min-height:112px}#bhpd-app input[type=file]{font-size:13px}#bhpd-app .bhpd-check{display:flex;align-items:flex-start;gap:10px;line-height:1.9}#bhpd-app input[type=checkbox]{width:22px;height:22px;flex-shrink:0;accent-color:var(--bhpd-primary);margin-top:3px}.bhpd-preview{display:block;max-width:100%;max-height:220px;object-fit:contain;border-radius:12px;margin:12px 0}.bhpd-preview[hidden]{display:none}
.bhpd-form-actions{position:sticky;bottom:0;margin:20px -8px -8px;padding:14px 8px;background:white;border-top:1px solid var(--bhpd-line);z-index:4}.bhpd-form-actions button{width:100%}.bhpd-panel>button{margin:6px 0 6px 8px}.bhpd-error:not(:empty){background:#fff0ed;border:1px solid #f1cfc8;color:#993f32;border-radius:12px;padding:12px 14px;margin:16px 0;font-size:14px}.bhpd-success{background:var(--bhpd-soft);padding:12px 14px;border-radius:12px;color:var(--bhpd-primary)}.bhpd-error:empty{display:none}
.bhpd-history-panel{margin-top:26px;border-top:1px solid var(--bhpd-line);padding-top:16px}.bhpd-history-panel summary{cursor:pointer;font-weight:700;min-height:48px;display:list-item}.bhpd-history{padding:0 20px 0 0;color:var(--bhpd-muted)}.bhpd-history li{padding:12px 0;border-bottom:1px solid var(--bhpd-line)}.bhpd-history strong{display:block;color:var(--bhpd-ink);font-size:14px}.bhpd-history time{font-size:12px}.bhpd-history p{margin:4px 0;font-size:14px}
.bhpd-dialog{max-width:min(440px,calc(100vw - 32px));padding:24px;border:1px solid var(--bhpd-line);border-radius:18px;color:var(--bhpd-ink);font:inherit;direction:rtl;box-shadow:0 16px 64px #193b4830}.bhpd-dialog::backdrop{background:#193b4866}.bhpd-dialog .bhpd-row{justify-content:flex-end;margin-bottom:0}
@media(min-width:760px){.bhpd-services{grid-template-columns:repeat(3,minmax(0,1fr))}.bhpd-service-card{display:flex;flex-direction:column;align-items:stretch;padding:20px}.bhpd-service-art{width:100%;min-height:160px}.bhpd-service-copy h3{font-size:21px}.bhpd-tabs{max-width:660px;margin-inline:auto}.bhpd-order-form,.bhpd-service-detail{max-width:720px;margin-inline:auto}}
@media(max-width:480px){.bhpd-shell{padding:12px 12px 30px}.bhpd-header{border-radius:18px;padding:18px 20px;margin-bottom:16px}.bhpd-header h1{font-size:26px}.bhpd-header p{font-size:14px}.bhpd-tabs{top:5px;gap:2px;margin-bottom:14px}.bhpd-tabs button{font-size:13px!important}.bhpd-section-heading h2{font-size:19px}.bhpd-section-heading p{font-size:13px}.bhpd-service-card{grid-template-columns:92px minmax(0,1fr);gap:14px;padding:12px;border-radius:16px}.bhpd-service-art{width:92px;min-height:136px}.bhpd-service-art svg{width:68px}.bhpd-service-copy h3{font-size:20px}.bhpd-service-copy p{font-size:12px}.bhpd-service-copy .bhpd-price{font-size:18px;margin-bottom:8px}.bhpd-panel{padding:18px 16px;border-radius:16px}.bhpd-panel h2{font-size:22px}.bhpd-grid{grid-template-columns:minmax(0,1fr)}.bhpd-portfolio-images img{height:200px}.bhpd-notice{padding:12px;font-size:13px}.bhpd-order-top{gap:8px}.bhpd-status{font-size:11px}.bhpd-terms{padding:14px}.bhpd-term-row{font-size:13px}.bhpd-panel>button{width:100%;margin-inline:0}.bhpd-progress{margin:24px 0}.bhpd-progress li{font-size:11px}.bhpd-review-actions{padding:14px}}
@media(prefers-reduced-motion:reduce){#bhpd-app button,.bhpd-button{transition:none}}

@media(max-width:360px){#bhpd-app .bhpd-tabs button{padding-inline:4px}}

/* Studio Pro / Stage 2 — presentation only; existing API and orders unchanged. */
:root{--bhpd-primary:#12665b;--bhpd-ink:#182f32;--bhpd-canvas:#f7f8f5;--bhpd-soft:#e7f1eb;--bhpd-line:#dce5df;--bhpd-muted:#526561}
.bhpd-shell{max-width:1040px;padding:16px 20px 48px}.bhpd-header{background:white;color:var(--bhpd-ink);border:1px solid var(--bhpd-line);box-shadow:none;border-radius:18px;padding:12px 18px;margin-bottom:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.bhpd-header a{color:var(--bhpd-primary);font-size:12px;order:2}.bhpd-brand{display:grid;grid-template-columns:42px 1fr;gap:0 10px;align-items:center;order:1}.bhpd-brand-mark{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#12665b;color:#fff;font-size:24px}.bhpd-header h1{font-size:21px;margin:0;line-height:1.5}.bhpd-header p{color:var(--bhpd-muted);font-size:11px;margin:0}.bhpd-tabs{max-width:none;background:#eef3ef;margin-bottom:12px;border-radius:14px;box-shadow:none}.bhpd-tabs button{min-height:44px!important}.bhpd-notice{margin:10px 0 14px}.bhpd-hero{overflow:hidden;border-radius:24px;position:relative;background:linear-gradient(145deg,#154a43 0%,#0b3837 70%,#514474 150%);padding:24px 24px 12px;color:#fff;isolation:isolate;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:12px}.bhpd-hero-copy{z-index:1}.bhpd-hero .bhpd-kicker{font:600 10px/1.5 system-ui;letter-spacing:2.2px;color:#e9d6a4;display:block;direction:ltr;text-align:right}.bhpd-hero h2{font-size:clamp(22px,3.5vw,35px);line-height:1.6;margin:10px 0 6px;color:#fff}.bhpd-hero p{color:#dbede6;font-size:14px;margin:0 0 16px}.bhpd-hero button{background:#f0dfb5!important;color:#164b43!important;min-height:46px!important}.bhpd-hero-art{display:flex;align-items:center;justify-content:center;min-width:0;gap:0;direction:ltr;overflow:hidden;padding:12px 0}.bhpd-hero-art .bhpd-service-art{min-height:0;width:35%;aspect-ratio:1.05;box-shadow:0 6px 24px #0003;border-radius:12px;flex:none;transform:rotate(-9deg)}.bhpd-hero-art .bhpd-service-art:nth-child(2){transform:translateY(-6px);z-index:1}.bhpd-hero-art .bhpd-service-art:nth-child(3){transform:rotate(9deg)}.bhpd-hero-art svg{width:100%;height:auto}.bhpd-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;padding:14px 6px;color:var(--bhpd-muted);font-size:12px}.bhpd-trust>span{display:flex;align-items:center;gap:5px}.bhpd-trust b{color:var(--bhpd-primary)}.bhpd-section-heading{margin:12px 0}.bhpd-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bhpd-service-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:10px;border-radius:18px;gap:10px;box-shadow:0 5px 18px #17362e08}.bhpd-service-card .bhpd-service-art,.bhpd-service-real{width:100%;min-height:0;aspect-ratio:1.6;position:relative;overflow:hidden;border-radius:12px;background:#e9ede6}.bhpd-art-logo{background:linear-gradient(140deg,#ece7d9,#d8e7dc)!important}.bhpd-art-product{background:linear-gradient(135deg,#f9ebd9,#e5c8aa)!important}.bhpd-art-story{background:linear-gradient(130deg,#eee7ff,#d8c6ed)!important}.bhpd-service-art svg{width:100%;height:100%;max-width:100%;max-height:100%}.bhpd-service-real img{width:100%;height:100%;object-fit:cover;display:block}.bhpd-art-label{position:absolute;bottom:7px;right:7px;background:#ffffffef;border-radius:6px;padding:2px 7px;font-size:10px;color:#243932}.bhpd-service-copy{display:flex;flex-direction:column;flex:1}.bhpd-service-copy h3{font-size:17px;line-height:1.6}.bhpd-service-copy p{font-size:12px;line-height:1.8;min-height:36px}.bhpd-service-copy .bhpd-price{font-size:17px;margin-top:auto;margin-bottom:8px}.bhpd-service-copy button{font-size:13px!important;padding:8px 6px!important;background:var(--bhpd-primary)!important;color:white!important;border:0!important}.bhpd-service-detail .bhpd-service-art,.bhpd-service-detail .bhpd-service-real{width:min(100%,340px);aspect-ratio:1.7;min-height:0;margin:0 auto 16px}.bhpd-how{margin:18px 0;padding:18px;border-radius:16px;border:1px solid var(--bhpd-line);background:#fff}.bhpd-how h3{font-size:16px;margin:0}.bhpd-how p{margin:4px 0;font-size:13px;color:var(--bhpd-muted)}.bhpd-portfolio{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}.bhpd-work{min-width:0;padding:12px}.bhpd-work button{width:100%;font-size:13px!important}.bhpd-work h3{margin:4px 0;font-size:18px}.bhpd-work p{font-size:13px;color:var(--bhpd-muted)}.bhpd-single-work{margin:0 0 10px}.bhpd-single-work img{display:block;width:100%;aspect-ratio:1.45;object-fit:contain;background:#edf0eb;border-radius:12px}.bhpd-single-work figcaption{font-size:12px;color:var(--bhpd-muted);padding-top:5px}.bhpd-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}.bhpd-compare img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:10px}.bhpd-compare figcaption{font-weight:700;font-size:12px}.bhpd-style-options{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.bhpd-style-options h3{width:100%;font-size:14px;margin:0}.bhpd-style-options button{font-size:13px!important;min-height:44px!important}.bhpd-style-options button[aria-pressed=true]{background:#12665b!important;color:white!important}
@media(max-width:700px){.bhpd-shell{padding:10px 12px 36px}.bhpd-hero{grid-template-columns:1fr;padding:18px 16px 12px;gap:0}.bhpd-hero-copy{text-align:right}.bhpd-hero h2{font-size:25px}.bhpd-hero-art{max-width:290px;width:100%;margin:auto;padding:10px 0 5px}.bhpd-hero-art .bhpd-service-art{width:31%;aspect-ratio:1.4}.bhpd-services{grid-template-columns:repeat(2,minmax(0,1fr))}.bhpd-service-card .bhpd-service-art{width:100%;min-height:0}.bhpd-service-copy h3{font-size:16px}.bhpd-service-copy .bhpd-price{font-size:15px}.bhpd-service-copy p{font-size:11px}.bhpd-trust{gap:5px 10px;font-size:11px}.bhpd-header{padding:8px 12px}.bhpd-header h1{font-size:19px}.bhpd-header p{font-size:10px}.bhpd-brand-mark{width:36px;height:36px}.bhpd-brand{grid-template-columns:36px 1fr}}
@media(max-width:340px){.bhpd-services{grid-template-columns:1fr}.bhpd-service-copy p{min-height:0}.bhpd-hero h2{font-size:21px}}

/* Portfolio video controls: media bytes load only after an intentional play. */
.bhpd-video-stage{position:relative;width:100%}.bhpd-video-cover{display:block!important;position:relative;width:100%;padding:0!important;overflow:hidden;border:0!important;background:#10283f!important;border-radius:12px!important;cursor:pointer}.bhpd-video-cover img{display:block;width:100%;height:230px;object-fit:contain}.bhpd-video-play{position:absolute;inset:auto 12px 12px auto;padding:8px 12px;border-radius:999px;background:rgba(16,40,63,.92);color:#fff;font-size:14px}.bhpd-portfolio-video{display:block;width:100%;max-height:70vh;background:#10283f;border-radius:12px}.bhpd-video-stage>button:not(.bhpd-video-cover){margin-top:8px}.bhpd-portfolio-categories button{font-size:13px!important}.bhpd-card>button:disabled{opacity:.6;cursor:not-allowed}
