/* 1.0.9: full-width pages rebuilt from Elementor (template-full.php).
   Loaded only on that template. ASCII only. */
.dbps-full-content { padding: 0; }
.dbps-full-content > * { margin-top: 0; margin-bottom: 0; }
.dbps-full-content .dbps-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.dbps-full-content .page-title { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.dbps-full-content .page-title h1 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 500; color: var(--white); margin: 0; }
.dbps-full-content .page-title p { margin: 1rem 0 0; color: var(--navy); font-size: .9rem; }
.dbps-full-content .page-title p a { color: var(--navy); font-weight: 600; }
.dbps-full-content .page-title.bg-green h1 { color: var(--navy); }
.dbps-center { text-align: center; }
.dbps-full-content .dbps-book-btn { margin: 0 0 1rem; text-align: center; }
.dbps-full-content #instant-quote { max-width: 1100px; margin: 0 auto; }
.dbps-full-content .dbps-gf { max-width: 1100px; }

/* Gravity Forms on these pages: keep GF's own theme, just size inputs like live. */
.dbps-gf .gform_wrapper.gravity-theme input[type="text"],
.dbps-gf .gform_wrapper.gravity-theme input[type="tel"],
.dbps-gf .gform_wrapper.gravity-theme input[type="email"],
.dbps-gf .gform_wrapper.gravity-theme textarea { border: 1px solid #767676; border-radius: 2px; padding: .5rem; font: inherit; max-width: 600px; }
.dbps-gf .gform_wrapper.gravity-theme .gform_footer input[type="submit"] { background: var(--green); color: var(--navy); border: 0; border-radius: 3px; padding: .7rem 1.6rem; font: inherit; font-weight: 600; cursor: pointer; }
.dbps-gf .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover { background: var(--green-dark); color: var(--white); }

/* ===== /painting-decorating/ ===== */
.pd-ticks { list-style: none; margin: 0; padding: .9rem max(1rem, calc((100vw - var(--container)) / 2 + 1rem)); background: #F2F2F2; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; color: #333; font-size: .9rem; }
@media (min-width: 782px) { .pd-ticks { grid-template-columns: repeat(4, 1fr); } }
.pd-ticks li { display: flex; align-items: center; gap: .5rem; }
.pd-tick { width: 16px; height: 16px; flex: 0 0 16px; fill: var(--green-dark); }
/* Hero photo: the live page's street photo (uploads/2023/01/bcf71473-london-suburb-street-min...jpg) resized to 1200px WebP (16 KB, was 42 KB); it sits under a 62% white wash. Preloaded by inc/pages.php. */
.pd-hero { position: relative; background-color: #e9edf0; background-image: url(../img/painting-hero-bg-1200.webp); background-size: cover; background-position: center; }
.pd-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.62); }
.pd-hero > * { position: relative; }
.pd-hero h1 { text-align: center; color: var(--navy); font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.3; max-width: 900px; margin: 0 auto 1.25rem; }
.pd-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin: 0 0 2rem; }
.pd-btns .wp-block-button__link, .pd-btn { display: inline-block; min-width: 200px; text-align: center; border-radius: 30px; padding: .75rem 1.5rem; background: var(--green); color: var(--navy); font-weight: 500; text-decoration: none; }
.pd-btn:hover { background: var(--green-dark); color: var(--white); text-decoration: none; }
.pd-hero-grid { display: grid; gap: 2rem; align-items: start; max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .pd-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.pd-proof { position: relative; padding-top: 1.5rem; }
.pd-badge { position: absolute; top: 0; left: 30%; width: 128px; height: 128px; border-radius: 50%; background: var(--white); border: 4px solid #3090EF; color: #3090EF; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: .85rem; line-height: 1.3; padding: .75rem; z-index: 1; margin: 0; }
.pd-proof picture img, .pd-proof > img { display: block; width: 100%; height: auto; }
.pd-quote-card { background: var(--white); padding: 1rem 1.25rem; box-shadow: 0 2px 10px rgba(0,0,0,.12); margin: 0; font-size: .9rem; }
.pd-quote-card p { margin: 0 0 .75rem; }
.pd-quote-card footer { font-weight: 600; color: #222; }
.pd-rating { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin: 1rem 0 0; color: var(--navy); font-size: .85rem; font-weight: 600; text-align: center; }
.pd-rating img { width: 124px; height: 50px; }
.pd-form-card { background: var(--white); padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,.12); scroll-margin-top: 90px; }
.pd-form-head { background: var(--navy); color: var(--white); padding: 1rem 1.1rem; margin: 0 0 1.25rem; }
.pd-form-head h2 { color: var(--white); font-size: 1.15rem; font-weight: 600; margin: 0 0 .75rem; line-height: 1.4; }
.pd-form-head p { margin: 0; font-size: .85rem; }
.pd-guarantee { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 0; font-size: .85rem; color: var(--navy); font-weight: 500; }
.pd-guarantee img { width: 92px; height: auto; flex: 0 0 auto; }
.dbps-qf { display: grid; gap: .75rem; }
.dbps-qf label { display: block; font-size: .8rem; color: #333; margin: 0 0 .2rem; }
.dbps-qf .req { color: #d00; }
.dbps-qf input, .dbps-qf select, .dbps-qf textarea { width: 100%; box-sizing: border-box; border: 1px solid #69727d; border-radius: 3px; padding: .55rem .6rem; font: inherit; font-size: .9rem; background: var(--white); color: #222; min-height: 40px; }
.dbps-qf input:focus, .dbps-qf select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.dbps-qf [aria-invalid="true"] { border-color: #c00; box-shadow: 0 0 0 1px #c00; }
.dbps-qf button { background: var(--green); color: var(--navy); border: 0; border-radius: 3px; padding: .75rem 1rem; font: inherit; font-weight: 600; cursor: pointer; width: 100%; }
.dbps-qf button:hover { background: var(--green-dark); color: var(--white); }
.dbps-qf button[disabled] { opacity: .7; cursor: wait; }
.dbps-qf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dbps-qf-msg { margin: 0; font-size: .9rem; color: var(--navy); }
.dbps-qf-msg.dbps-qf-err { color: #b00; font-weight: 600; }
.dbps-qf-done { background: #F3F9EC; border-left: 4px solid var(--green); padding: 1rem; margin: 0; color: var(--navy); font-weight: 500; }
.pd-cta { background: var(--navy); color: var(--white); }
.pd-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; max-width: 1100px; margin: 0 auto; }
.pd-cta h2 { color: var(--white); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; margin: 0 0 .5rem; }
.pd-cta p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 2rem; }
.pd-cta .pd-call-label { font-weight: 300; font-size: 1.05rem; }
.pd-cta a.pd-tel { color: var(--white); font-size: 1.4rem; font-weight: 600; text-decoration: none; }
.pd-services { text-align: center; }
.pd-services h2 { color: var(--navy); font-weight: 600; font-size: 1.4rem; margin: 0 0 1.5rem; }
.pd-services h3 { color: var(--navy); font-weight: 600; font-size: 1.4rem; line-height: 1.4; max-width: 560px; margin: 0 auto 1.5rem; }
.pd-services p { max-width: 580px; margin: 0 auto 1rem; font-size: .9rem; }
.pd-table { width: 100%; max-width: 570px; margin: 0 auto 2.5rem; border-collapse: collapse; font-size: .85rem; text-align: left; }
.pd-table th { background: var(--navy); color: var(--white); font-weight: 600; padding: .55rem .5rem; text-align: center; }
.pd-table th + th, .pd-table td + td { width: 80px; text-align: center; }
.pd-table td { padding: .6rem .5rem; border-left: 1px solid #ddd; border-right: 1px solid #ddd; color: #333; }
.pd-table tbody tr:nth-child(even) td { background: #e6e6ea; }
.pd-table td svg { width: 18px; height: 18px; fill: var(--green); vertical-align: middle; }
.pd-table tfoot td { background: #282828; color: #E3E3E3; text-align: center; font-size: .8rem; }
.pd-gallery { display: grid; gap: 1rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 700px) { .pd-gallery { grid-template-columns: repeat(3, 1fr); } }
.pd-gallery img { display: block; width: 100%; height: auto; }
.pd-gallery figure { margin: 0; }
.pd-sec-h { text-align: center; color: var(--navy); font-weight: 600; font-size: 1.4rem; margin: 0 0 2rem; }
.pd-reviews { display: grid; gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 782px) { .pd-reviews { grid-template-columns: repeat(3, 1fr); } }
.pd-review { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: 1.5rem; margin: 0; display: flex; flex-direction: column; text-align: center; }
.pd-review h3 { color: var(--navy); font-size: 1.25rem; font-weight: 600; margin: 0 0 .75rem; }
.pd-review p { font-size: .9rem; margin: 0 0 1rem; flex: 1; }
.pd-review footer { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: #222; }
.pd-stars { display: inline-flex; gap: 2px; }
.pd-stars svg { width: 14px; height: 14px; fill: #F5B301; }
.pd-final { text-align: center; }
.pd-final h2 { color: var(--white); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; margin: 0 auto .75rem; max-width: 640px; }
.pd-final p { justify-content: center; }
.pd-final .pd-cta-in { flex-direction: column; justify-content: center; }
.pd-final .pd-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; }
/* Specificity fixes against main.css section/link rules. */
.dbps-section .pd-sec-h { color: var(--navy); font-weight: 600; font-size: 1.4rem; }
.entry-content.dbps-full-content a.pd-btn, .entry-content.dbps-full-content a.pd-tel,
.entry-content.dbps-full-content p a.pd-btn, .entry-content.dbps-full-content p a.pd-tel { text-decoration: none; }
.dbps-full-content blockquote.pd-review, .dbps-full-content blockquote.pd-quote-card { border: 0; }
/* main.css gives every .gform_wrapper input width:100%; radios/checkboxes must stay inline with their label. */
.dbps-gf .gform_wrapper input[type="radio"], .dbps-gf .gform_wrapper input[type="checkbox"] { width: auto; padding: 0; margin: 0 .35rem 0 0; border-radius: 0; }
.dbps-gf .gform_wrapper .gchoice { display: flex; align-items: center; }
.dbps-gf .gform_wrapper .gfield_radio, .dbps-gf .gform_wrapper .gfield_checkbox { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.dbps-gf .gform_wrapper .gchoice label { margin: 0; font-size: .85rem; }
