/* B.W. Painting: contact and free quote */

.cq { position: relative; background: var(--ink); color: var(--white); overflow: clip; padding: calc(var(--head-h) + clamp(12px, 2.4vh, 48px)) 0 clamp(40px, 6vh, 88px); }
.cq__bg { position: absolute; inset: 0; }
.cq__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: grayscale(.2); }
.cq__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.4) 100%); }
.cq__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.cq__copy { padding-top: clamp(0px, 4vh, 48px); }
.cq__h { font-size: clamp(2.6rem, 4.6vw, 5rem); line-height: 1.06; margin-bottom: 22px; }
.cq__copy .lede { color: #ececea; margin-bottom: 26px; }
.cq__points { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
.cq__points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #e4e4e0; }
.cq__points li::before { content: ""; width: 22px; height: 7px; background: var(--white); -webkit-mask: url("../img/edge.svg") 0 0 / 100% 100%; mask: url("../img/edge.svg") 0 0 / 100% 100%; }
.cq__calc { margin: 0; color: #e4e4e0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }

.cq__card { background: var(--white); color: var(--ink); padding: clamp(18px, 3vh, 38px) clamp(20px, 2.4vw, 38px); box-shadow: 14px 14px 0 rgba(255,255,255,.14); }
.qform__h { font-size: clamp(1.4rem, 1.8vw, 1.9rem); margin-bottom: clamp(10px, 1.6vh, 18px); }
.qform__alert { background: #fbeaea; border-left: 4px solid #a4161a; padding: 12px 16px; font-weight: 500; margin-bottom: 18px; }
.qform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vh, 14px) 16px; }
.field--full { grid-column: 1 / -1; }
.qform .field { gap: 6px; }
.qform .textarea { min-height: clamp(72px, 10vh, 120px); }
.qform__lab { font-weight: 600; font-size: .98rem; }
.qform__file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.qform__drop { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; border: 1.5px dashed #8d8d88; cursor: pointer; font-weight: 400; transition: border-color .3s, background-color .3s; }
.qform__drop:hover { border-color: var(--ink); background: var(--chalk); }
.qform__file:focus-visible + .qform__names, .qform__files:focus-within .qform__drop { outline: 2px solid var(--ink); outline-offset: 3px; }
.qform__drop-icon svg { width: 24px; height: 24px; }
.qform__names { margin: 0; font-size: .95rem; color: var(--graphite); }
.qform__names:empty { display: none; }
.qform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(12px, 2vh, 20px); }
.qform__legal { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--graphite); flex: 1 1 180px; }
.qform__legal a { color: var(--ink); }

.cq__done { padding: 12px 0; outline: none; }
.cq__done-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); margin-bottom: 20px; }
.cq__done-mark svg { width: 30px; height: 24px; }
.cq__done-mark path { fill: none; stroke: var(--white); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cq__done h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 14px; }

@media (max-width: 1000px) {
  .cq__inner { grid-template-columns: 1fr; }
  .cq__bg::after { background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.9) 60%); }
}
@media (max-width: 560px) {
  .qform__grid { grid-template-columns: 1fr; }
  .cq__card { box-shadow: 8px 8px 0 rgba(255,255,255,.14); }
  .qform__foot .btn { width: 100%; justify-content: space-between; }
}

/* ---------------- what helps us quote ---------------- */
.helps { overflow: clip; }
.helps__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.helps__pics { position: relative; height: min(64vh, 640px); }
.helps__pic { position: absolute; }
.helps__pic--a { left: 0; top: 0; height: 88%; aspect-ratio: 3 / 4; }
.helps__pic--a .frame { height: 100%; }
.helps__pic--b { right: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; border: 10px solid var(--white); z-index: 2; }
.helps__pic--b .frame { height: 100%; }
.helps__copy .h2 { margin-bottom: 16px; }
.helps__copy .lede { color: var(--graphite); margin-bottom: 24px; }
.helps__list { margin: 0; border-top: 1px solid var(--rule); }
.helps__list > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.helps__list dt { font-family: var(--serif); font-size: clamp(1.2rem, 1.4vw, 1.4rem); line-height: 1.25; margin-bottom: 4px; }
.helps__list dd { margin: 0; color: var(--graphite); }
@media (max-width: 900px) {
  .helps__grid { grid-template-columns: 1fr; }
  .helps__pics { height: auto; aspect-ratio: 5 / 4; }
}
