/* Integrated damp survey pricing and diagnostic enquiry: Bespoke Damp Proofing. */
.bdp-main{--ink:#17191e;--text:#22252a;--muted:#626a75;--red:#c20b17;--reddeep:#a20a13;--border:#dfe2e6;--cream:#f7f8fa;--white:#fff;--r:15px;box-sizing:border-box}
.bdp-main *{box-sizing:border-box}
.bdp-main .bdp-wrap{max-width:1130px;margin:auto;padding:0 22px}
.bdp-wrap{max-width:1100px;margin:auto;padding:0 22px}
    .bdp-top{background:#111318;color:white;border-bottom:4px solid var(--red)}
    .bdp-bar{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 0}
    .bdp-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
    .bdp-brand-mark{display:grid;place-items:center;width:45px;height:45px;flex:none;border:2px solid #db2e3e;border-radius:10px;color:#fff;font-weight:900;letter-spacing:-.08em;font-size:20px}
    .bdp-brand strong{display:block;font-size:18px;line-height:1.08;letter-spacing:.035em}
    .bdp-brand small{color:#d4d8df;font-size:11px;letter-spacing:.13em;font-weight:750}
    .bdp-call{text-decoration:none;color:#fff;border:1px solid #4a5057;border-radius:100px;padding:10px 18px;font-weight:850;white-space:nowrap}
    .bdp-call:hover,.bdp-call:focus-visible{border-color:#fff;background:#262b31}
    .bdp-hero{background:linear-gradient(130deg,#1c2026 0%,#15171c 65%,#621923 100%);color:#fff;padding:49px 0 43px}
    .bdp-kicker{margin:0 0 12px;font-size:12px;font-weight:850;letter-spacing:.16em;color:#ff8290}
    h1,h2,h3,p{margin-top:0}
    .bdp-hero h1{font-size:clamp(31px,5.3vw,52px);line-height:1.07;letter-spacing:-.035em;margin-bottom:16px;max-width:840px}
    .bdp-hero p.bdp-sub{max-width:780px;font-size:17px;color:#d9dce1;margin-bottom:0}
    .bdp-highlight{color:#ff8794}
    .bdp-main{padding:38px 0 64px}
    .bdp-heading{font-size:27px;letter-spacing:-.025em;margin-bottom:6px}
    .bdp-note{color:var(--muted);font-size:14px;margin-bottom:21px}
    .bdp-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 31px;padding:0;border:0}
    .bdp-package{position:relative;cursor:pointer;border:2px solid #d9dde3;border-radius:16px;background:#fff;min-height:225px;padding:18px 17px;transition:box-shadow .15s,border-color .15s,transform .15s;display:flex;flex-direction:column;gap:10px}
    .bdp-package:hover{border-color:#bc7f86;transform:translateY(-2px)}
    .bdp-package:has(input:checked){border-color:var(--red);box-shadow:0 0 0 4px rgba(198,40,54,.11)}
    .bdp-package input{position:absolute;right:14px;top:16px;width:20px;height:20px;accent-color:var(--red);cursor:pointer}
    .bdp-level{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:850;color:var(--reddeep);padding-right:25px}
    .bdp-package-title{font-size:19px;line-height:1.2;font-weight:800;padding-right:22px}
    .bdp-price{font-size:34px;line-height:1.1;font-weight:900;letter-spacing:-.035em}
    .bdp-price small{font-size:12px;font-weight:650;color:var(--muted);letter-spacing:0}
    .bdp-package-copy{font-size:13px;color:#555d66;line-height:1.48;margin:0}
    .bdp-panel{background:#fff;border:1px solid #e0e3e7;box-shadow:0 12px 35px rgba(16,19,27,.045);border-radius:18px;margin:0 0 18px;overflow:hidden}
    .bdp-panel-title{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #eceef1;background:#fafbfc}
    .bdp-number{background:var(--ink);color:white;border-radius:9px;min-width:32px;height:32px;display:grid;place-items:center;font-weight:850;font-size:13px}
    .bdp-panel-title h2{font-size:20px;margin:0;letter-spacing:-.02em}
    .bdp-panel-body{padding:24px}
    .bdp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
    .bdp-field{display:flex;flex-direction:column;gap:7px}
    .bdp-field.full{grid-column:1/-1}
    .bdp-field label,.bdp-label{font-size:13px;font-weight:800;color:#242831}
    .bdp-opt{font-weight:600!important}
    .bdp-field input:not([type=checkbox]):not([type=radio]):not([type=file]),.bdp-field select,.bdp-field textarea{width:100%;font:inherit;border-radius:10px;border:1px solid #c9cfd6;background:white;color:var(--ink);padding:12px 13px;min-height:47px;outline:none}
    .bdp-field input:focus-visible,.bdp-field select:focus-visible,.bdp-field textarea:focus-visible{border-color:var(--red);box-shadow:0 0 0 3px rgba(198,40,54,.13)}
    .bdp-field textarea{resize:vertical;min-height:110px}
    .bdp-checkgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
    .bdp-check{display:flex;align-items:center;gap:10px;border:1px solid #e0e4e8;border-radius:9px;padding:10px 11px;min-height:46px;background:#fff;font-size:13px;line-height:1.25;cursor:pointer}
    .bdp-check input{accent-color:var(--red);width:17px;height:17px;margin:0;flex:none}
    .bdp-check:has(input:checked){border-color:#d34b56;background:#fff6f7}
    .bdp-help{font-size:12px;color:var(--muted);margin:0}
    .bdp-photos{display:grid;grid-template-columns:1fr 1fr;gap:17px}
    .bdp-upload{position:relative;border:2px dashed #bec4cc;background:#fafbfc;border-radius:12px;padding:23px 15px;text-align:center;min-height:155px}
    .bdp-upload:hover{border-color:var(--red);background:#fff8f9}
    .bdp-upload strong{display:block;font-size:15px}
    .bdp-upload small{display:block;color:var(--muted);line-height:1.5;margin-top:5px;font-size:12px}
    .bdp-upload input{margin-top:12px;max-width:100%;font-size:12px}
    .bdp-filelist{font-size:12px;color:#4a5561;word-break:break-word;margin:6px 0 0;line-height:1.6}
    .bdp-warning{color:#a52130;min-height:18px;font-size:12px;margin:3px 0 0}
    .bdp-policy{border:1px solid #dfe6e2;border-radius:10px;background:#f6faf8;padding:13px;font-size:13px;color:#46534d}
    .bdp-submitline{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:21px}
    .bdp-submit{appearance:none;border:0;background:var(--red);color:#fff;font-weight:850;font-size:15px;padding:16px 28px;border-radius:11px;cursor:pointer;box-shadow:0 7px 17px rgba(198,40,54,.22)}
    .bdp-submit:hover{background:var(--reddeep)}
    .bdp-submit:disabled{opacity:.65;cursor:wait}
    .bdp-status{font-size:13px;font-weight:750;min-height:20px;flex:1}
    .bdp-status.error{color:#a52130}.bdp-status.ok{color:#126533}
    .bdp-after{font-size:12px;color:var(--muted);margin-top:13px}
    .bdp-succ{background:#eaf8ef;border:2px solid #8bcc9e;border-radius:14px;padding:25px;margin:22px 0;outline:none}
    .bdp-succ h2{margin-bottom:8px;color:#105b31}
    .bdp-questions{background:#1b2026;color:#fff;padding:20px 22px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px}
    .bdp-questions p{margin:3px 0 0;color:#c6cbd1;font-size:13px}
    .bdp-questions a{white-space:nowrap;border-radius:8px;background:#fff;color:#1b2026;padding:11px 15px;font-weight:850;text-decoration:none}
    .bdp-foot{background:#111318;color:#bec5cd;padding:21px 0;font-size:12px;text-align:center}
    .bdp-required{color:var(--red);font-weight:900}
    @media(max-width:790px){.bdp-packages{grid-template-columns:1fr}.bdp-package{min-height:0}.bdp-grid{grid-template-columns:1fr}.bdp-checkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.bdp-photos{grid-template-columns:1fr}.bdp-panel-body{padding:18px}.bdp-panel-title{padding:15px 18px}}
    @media(max-width:510px){.bdp-wrap{padding:0 14px}.bdp-bar{padding:12px 0}.bdp-brand strong{font-size:13px}.bdp-brand small{font-size:9px}.bdp-brand-mark{width:37px;height:37px;font-size:16px}.bdp-call{font-size:12px;padding:9px 10px}.bdp-hero{padding:34px 0}.bdp-hero p.bdp-sub{font-size:15px}.bdp-main{padding-top:26px}.bdp-heading{font-size:24px}.bdp-checkgrid{grid-template-columns:1fr 1fr}.bdp-check{font-size:12px;padding:8px}.bdp-questions{flex-direction:column;align-items:flex-start}.bdp-questions a{width:100%;text-align:center}}
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bdp-package{transition:none}}
  
/* Preserve the red, white and black theme of the original website. */
.bdp-main .bdp-submit{background:#c20b17}
.bdp-main .bdp-submit:hover{background:#a20a13}
.bdp-main .bdp-package:has(input:checked){border-color:#c20b17}
.bdp-main .bdp-panel-title h2{font-size:20px}
@media(max-width:580px){.bdp-main .bdp-wrap{padding:0 20px}}

/* 21-Nov-2026: Photo-picker list and individual removal controls */
.bdp-main .bdp-submission-files{display:none!important}
.bdp-main .bdp-picker-status{display:block;font-weight:750;color:#4b5561;margin-top:8px;font-size:12px}
.bdp-main .bdp-upload input[type=file]:disabled{opacity:.48;cursor:not-allowed}
.bdp-main .bdp-selected-files{padding:0;list-style:none;margin:9px 0 5px;display:grid;gap:7px}
.bdp-main .bdp-selected-photo{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;background:#f8f8f9;border:1px solid #e0e3e7;border-radius:9px;padding:8px 10px;text-align:left}
.bdp-main .bdp-selected-photo span{font-size:12px;line-height:1.35;overflow-wrap:anywhere;min-width:0;flex:1}
.bdp-main .bdp-remove-photo,.bdp-main .bdp-clear-files{border:1px solid #b32232;background:#fff;color:#a20a13;font-weight:800;cursor:pointer;border-radius:7px;white-space:nowrap}
.bdp-main .bdp-remove-photo{padding:8px 10px;font-size:12px;min-height:35px}
.bdp-main .bdp-clear-files{padding:9px 12px;font-size:12px;min-height:38px;align-self:flex-start}
.bdp-main .bdp-clear-files[hidden]{display:none!important}
.bdp-main .bdp-remove-photo:hover,.bdp-main .bdp-clear-files:hover{background:#fff2f4}
.bdp-main .bdp-remove-photo:focus-visible,.bdp-main .bdp-clear-files:focus-visible{outline:3px solid #c20b17;outline-offset:2px}
.bdp-main .bdp-empty-files{font-style:italic;color:#69717b;line-height:1.5}
.bdp-main .bdp-warning:not(:empty){font-weight:700;min-height:0}

/* Visual feedback while the browser uploads the enquiry and photographs. */
.bdp-send-overlay[hidden]{display:none!important}
.bdp-send-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(13,18,24,.88);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);overflow-y:auto}
.bdp-send-card{width:min(100%,460px);padding:clamp(25px,5vw,42px);background:#fff;color:#1b2026;text-align:center;border-radius:20px;border-top:6px solid #c20b17;box-shadow:0 20px 70px rgba(0,0,0,.26)}
.bdp-send-spinner{width:58px;height:58px;border-radius:50%;border:5px solid #f5dce0;border-top-color:#c20b17;animation:bdp-send-spin 900ms linear infinite;margin:0 auto 20px}
.bdp-send-eyebrow{font-weight:900;font-size:11px;color:#ac1522;letter-spacing:.13em;margin-bottom:7px}
.bdp-send-card h2{font-size:clamp(23px,4vw,29px);margin:0 0 10px;color:#17191e;line-height:1.15}
.bdp-send-card p{font-size:14px;line-height:1.55;color:#505964;margin:0 0 15px}
.bdp-send-progress{position:relative;height:11px;border-radius:100px;background:#e6e8ec;overflow:hidden;margin:19px 0 14px}
.bdp-send-progress>span{position:absolute;inset:0 auto 0 0;width:38%;border-radius:100px;background:linear-gradient(90deg,#8e0913,#df3142,#f78b95);animation:bdp-send-slide 1.65s ease-in-out infinite alternate}
.bdp-send-photo-count{display:inline-block;border:1px solid #e4e7ec;border-radius:8px;padding:8px 12px;background:#f7f8fa;color:#303843;font-size:12px;font-weight:800;margin-bottom:17px}
.bdp-send-card p.bdp-send-instruction{color:#a40d19;font-weight:800;margin-bottom:8px}
.bdp-send-card p.bdp-send-patience{font-size:12px;color:#69717a;margin:0}
@keyframes bdp-send-spin{to{transform:rotate(360deg)}}
@keyframes bdp-send-slide{from{transform:translateX(-12%)}to{transform:translateX(188%)}}
@media(prefers-reduced-motion:reduce){.bdp-send-spinner{animation-duration:3s}.bdp-send-progress>span{animation-duration:5s}}
