/* morgancityladrywallrepair.com: BEM with the qo- prefix, flexbox first */
:root {
  --qo-ink: #242119;
  --qo-paper: #FAF9F6;
  --qo-olive: #3E371B;
  --qo-tint: #EFEBDF;
  --qo-plum: #AC5C90;
  --qo-plum-deep: #8A4672;
  --qo-on-olive: #FFFFFF;
  --qo-rule: #D9D3C2;
  --qo-max: 1180px;
  --qo-gutter: clamp(16px, 4vw, 40px);
  --qo-head: "Merriweather Sans", "Trebuchet MS", Arial, sans-serif;
  --qo-body: "Sarabun", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.qo-page {
  margin: 0; background: var(--qo-paper); color: var(--qo-ink);
  font-family: var(--qo-body); font-size: 1.075rem; line-height: 1.68;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--qo-olive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--qo-plum-deep); }
h1, h2, h3 { font-family: var(--qo-head); line-height: 1.22; color: var(--qo-olive); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.qo-skip { position: absolute; left: -9999px; top: 0; background: var(--qo-olive); color: var(--qo-on-olive); padding: 8px 14px; z-index: 50; }
.qo-skip:focus { left: 8px; top: 8px; }

/* ---------- masthead and tabs */
.qo-masthead { background: var(--qo-paper); border-bottom: 1px solid var(--qo-rule); }
.qo-masthead__rail {
  max-width: var(--qo-max); margin: 0 auto; padding: 10px var(--qo-gutter) 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px;
}
.qo-masthead__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--qo-olive); padding-bottom: 10px; }
.qo-masthead__name { font-family: var(--qo-head); font-weight: 800; font-size: 1.05rem; line-height: 1.15; max-width: 12ch; }
.qo-logo { width: 38px; height: 38px; flex: 0 0 auto; }
.qo-logo__tile { fill: var(--qo-olive); }
.qo-logo__line { fill: none; stroke: var(--qo-paper); stroke-width: 3; }
.qo-logo__patch { fill: var(--qo-plum); }
.qo-tabs { flex: 1 1 auto; order: 2; min-width: 0; }
.qo-tabs__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.qo-tabs__item { flex: 0 0 auto; }
.qo-tabs__link {
  display: block; padding: 10px 11px 9px; font-size: .93rem; font-weight: 600; text-decoration: none; color: var(--qo-ink);
  border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; white-space: nowrap;
}
.qo-tabs__link:hover { background: var(--qo-tint); color: var(--qo-olive); }
.qo-tabs__link--current { border-bottom-color: var(--qo-plum); color: var(--qo-olive); background: var(--qo-tint); }
.qo-masthead__reach { order: 3; margin: 0 0 0 auto; padding-bottom: 10px; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.qo-masthead__phone { font-family: var(--qo-head); font-weight: 800; font-size: 1.1rem; color: var(--qo-olive); text-decoration: none; white-space: nowrap; }
.qo-masthead__hours { font-size: .8rem; color: #5a5443; white-space: nowrap; }
@media (max-width: 1080px) {
  .qo-masthead__reach { order: 1; }
  .qo-masthead__brand { order: 0; }
  .qo-tabs { order: 2; flex-basis: 100%; }
}
@media (max-width: 480px) {
  .qo-masthead__name { font-size: .95rem; }
  .qo-masthead__hours { display: none; }
}

/* ---------- buttons */
.qo-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 5px; font-weight: 600;
  text-decoration: none; font-size: 1rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; font-family: var(--qo-body);
}
.qo-btn__icon { width: 20px; height: 20px; }
.qo-btn--solid { background: var(--qo-olive); color: var(--qo-on-olive); }
.qo-btn--solid:hover { background: #2b2612; color: var(--qo-on-olive); }
.qo-btn--big { font-size: 1.15rem; padding: 15px 24px; }
.qo-btn--accent { background: var(--qo-plum); color: #fff; }
.qo-btn--accent:hover { background: var(--qo-plum-deep); color: #fff; }
.qo-btn--line { border-color: var(--qo-olive); color: var(--qo-olive); background: transparent; }
.qo-btn--light { background: var(--qo-paper); color: var(--qo-olive); }
.qo-btn--line-light { border-color: var(--qo-paper); color: var(--qo-paper); }
.qo-btn--line-light:hover, .qo-btn--light:hover { color: var(--qo-olive); background: var(--qo-tint); }

/* ---------- hero: photo bleeding off the left edge */
.qo-hero { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--qo-paper); }
.qo-hero__photo { flex: 0 0 40%; min-height: 560px; position: relative; }
.qo-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; display: block; }
.qo-hero__body {
  flex: 1 1 0; min-width: 0;
  padding: 44px max(var(--qo-gutter), calc((100vw - var(--qo-max)) / 2 + var(--qo-gutter))) 44px clamp(24px, 4vw, 56px);
}
.qo-hero__title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin-bottom: .35em; }
.qo-hero__lede { font-size: 1.18rem; max-width: 40ch; }
.qo-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.qo-hero__micro { font-size: .95rem; margin: 0 0 4px; max-width: 52ch; }
.qo-hero__hours { font-weight: 600; color: var(--qo-plum-deep); margin-bottom: 18px; }
@media (max-width: 899px) {
  .qo-hero__photo { flex: 0 0 100%; min-height: 0; height: 300px; }
  .qo-hero__img { object-position: 50% 45%; }
  .qo-hero__body { padding: 28px var(--qo-gutter) 34px; }
}

/* ---------- forms */
.qo-form { background: var(--qo-tint); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.qo-form--short { max-width: 560px; }
.qo-form__note { margin: 0; font-weight: 600; color: var(--qo-olive); }
.qo-form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.qo-form__row > .qo-form__field { flex: 1 1 200px; }
.qo-form__field { display: flex; flex-direction: column; gap: 4px; }
.qo-form__label { font-size: .9rem; font-weight: 600; }
.qo-form__input { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #b9b19a; border-radius: 4px; background: #fff; color: var(--qo-ink); width: 100%; }
.qo-form__input:focus { outline: 3px solid var(--qo-plum); outline-offset: 1px; }
.qo-form__input--area { resize: vertical; min-height: 120px; }
.qo-form .qo-btn { align-self: flex-start; }
.qo-form__consent { font-size: .88rem; margin: 10px 0 2px; max-width: 560px; }
.qo-form__micro { font-size: .95rem; margin: 0 0 6px; max-width: 560px; font-weight: 600; color: var(--qo-olive); }

/* ---------- numbered bands */
.qo-band { padding: clamp(44px, 7vw, 84px) 0; }
.qo-band--tint { background: var(--qo-tint); }
.qo-band--dark { background: var(--qo-olive); color: var(--qo-on-olive); }
.qo-band--dark .qo-band__title, .qo-band--dark .qo-num { color: var(--qo-on-olive); }
.qo-band__frame { max-width: var(--qo-max); margin: 0 auto; padding: 0 var(--qo-gutter); }
.qo-band__title { display: flex; align-items: baseline; gap: 16px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.qo-num { font-family: var(--qo-head); font-weight: 800; color: var(--qo-plum); font-size: 1.6em; line-height: 1; flex: 0 0 auto; letter-spacing: -.02em; }
.qo-band__intro { font-size: 1.12rem; max-width: 68ch; }
.qo-band p, .qo-band li { max-width: 74ch; }

.qo-steps { margin: 0 0 1.2em; padding-left: 1.4em; display: flex; flex-direction: column; gap: 10px; }
.qo-steps__item::marker { font-family: var(--qo-head); font-weight: 800; color: var(--qo-plum); }
.qo-steps__lead { color: var(--qo-olive); }

.qo-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.qo-split__main { flex: 1 1 420px; min-width: 0; }
.qo-split__fig { flex: 1 1 380px; min-width: 0; }
.qo-swatches { flex: 0 1 360px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.qo-swatches__item { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; background: var(--qo-paper); border-radius: 6px; padding: 12px; }
.qo-swatches__chip { width: 52px; height: 52px; border-radius: 4px; flex: 0 0 52px; background-color: #e6e1d3; }
.qo-swatches__chip--smooth { background: linear-gradient(135deg, #ece8dc, #e2ddcf); }
.qo-swatches__chip--peel { background-image: radial-gradient(#cfc8b4 1.2px, transparent 1.6px); background-size: 5px 5px; }
.qo-swatches__chip--knock { background-image: radial-gradient(ellipse 5px 3px, #d0c9b5 70%, transparent 75%); background-size: 11px 9px; }
.qo-swatches__chip--pop { background-image: radial-gradient(circle, #f6f3ea 2px, #d6cfbb 2.6px, transparent 3px); background-size: 7px 7px; }
.qo-swatches__name { font-family: var(--qo-head); font-weight: 700; color: var(--qo-olive); flex: 1 1 auto; }
.qo-swatches__note { flex: 1 1 100%; font-size: .93rem; }

/* ---------- flat tinted cards */
.qo-cards { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.qo-slab { background: var(--qo-tint); border-radius: 6px; padding: 22px; }
.qo-band--tint .qo-slab { background: var(--qo-paper); }
.qo-slab--svc { flex: 1 1 240px; display: flex; flex-direction: column; }
.qo-cards--one .qo-slab--svc { max-width: 560px; }
.qo-slab__icon { width: 34px; height: 34px; color: var(--qo-plum); margin-bottom: 8px; }
.qo-slab__title { font-size: 1.15rem; }
.qo-slab__text { flex: 1 1 auto; }
.qo-slab__link { font-weight: 600; }
.qo-slab__kicker { font-family: var(--qo-head); font-weight: 800; color: var(--qo-plum-deep); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .4em; }
.qo-tiers, .qo-sizes { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 1.2em; }
.qo-tiers > .qo-slab, .qo-sizes > .qo-slab { flex: 1 1 260px; }

.qo-pairs { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 1em; }
.qo-pairs__item { flex: 1 1 320px; border-top: 3px solid var(--qo-plum); padding-top: 14px; }
.qo-pairs__title { font-size: 1.1rem; }

/* ---------- full-bleed images */
.qo-bleed { margin: 28px calc(-1 * var(--qo-gutter)) 0; }
.qo-bleed__img { display: block; width: 100%; height: auto; border-radius: 0; }
.qo-bleed__cap { font-size: .9rem; padding: 8px var(--qo-gutter) 0; color: #4d4838; }
.qo-bleed--side { margin: 22px 0; }
.qo-bleed--side .qo-bleed__cap { padding-left: 0; padding-right: 0; }

/* ---------- table */
.qo-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; }
.qo-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .98rem; }
.qo-table th { text-align: left; font-family: var(--qo-head); color: var(--qo-olive); border-bottom: 2px solid var(--qo-olive); padding: 10px 12px; }
.qo-table td { padding: 11px 12px; border-bottom: 1px solid var(--qo-rule); vertical-align: top; }
.qo-table tbody tr:nth-child(odd) td { background: var(--qo-tint); }

/* ---------- timeline */
.qo-timeline { list-style: none; margin: 0 0 1.2em; padding: 0; counter-reset: qo-step; display: flex; flex-direction: column; gap: 0; }
.qo-timeline__step { counter-increment: qo-step; position: relative; padding: 0 0 18px 52px; border-left: 2px solid var(--qo-rule); margin-left: 16px; }
.qo-timeline__step:last-child { border-left-color: transparent; }
.qo-timeline__step::before {
  content: counter(qo-step); position: absolute; left: -17px; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--qo-olive); color: var(--qo-on-olive); font-family: var(--qo-head); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.qo-timeline__label { display: block; font-family: var(--qo-head); font-weight: 700; color: var(--qo-olive); }

/* ---------- FAQ */
.qo-faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.qo-faq__item { background: var(--qo-paper); border-radius: 6px; padding: 0 18px; }
.qo-band:not(.qo-band--tint) .qo-faq__item { background: var(--qo-tint); }
.qo-faq__q { cursor: pointer; font-family: var(--qo-head); font-weight: 700; color: var(--qo-olive); padding: 14px 0; list-style-position: outside; }
.qo-faq__a { padding-bottom: 14px; margin: 0; }

/* ---------- towns and map */
.qo-townlist { padding-left: 1.1em; }
.qo-townlist__item { margin-bottom: 6px; }
.qo-map { display: block; width: 100%; height: auto; }
.qo-map__ground { fill: var(--qo-tint); }
.qo-band--tint .qo-map__ground { fill: var(--qo-paper); }
.qo-map__spoke { stroke: #c4bca5; stroke-width: 1.5; stroke-dasharray: 4 5; }
.qo-map__dot { fill: var(--qo-paper); stroke: var(--qo-plum); stroke-width: 3; }
.qo-map__home { fill: var(--qo-olive); }
.qo-map__label { font-family: var(--qo-body); font-size: 21px; fill: var(--qo-ink); font-weight: 600; }
.qo-map__label--home { font-family: var(--qo-head); font-weight: 800; fill: var(--qo-olive); font-size: 23px; }
.qo-map__scale { stroke: var(--qo-ink); stroke-width: 3; }
.qo-map__small { font-family: var(--qo-body); font-size: 16px; fill: #4d4838; }
.qo-towns { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qo-towns__item { background: var(--qo-tint); border-radius: 6px; padding: 16px 18px; }
.qo-towns__name { font-size: 1.15rem; display: flex; align-items: baseline; gap: 10px; margin-bottom: .3em; }
.qo-towns__name .qo-num { font-size: 1.2em; }
.qo-towns__text { margin: 0; }

/* ---------- leak diagram */
.qo-figure { margin: 0 0 24px; }
.qo-figure__cap { font-size: .92rem; color: #4d4838; margin-top: 8px; }
.qo-leak { display: block; width: 100%; height: auto; }
.qo-leak__bg { fill: var(--qo-tint); }
.qo-leak__roof { fill: #ddd5c0; stroke: var(--qo-olive); stroke-width: 4; }
.qo-leak__joist { stroke: var(--qo-olive); stroke-width: 3; }
.qo-leak__board { fill: #f4f1e8; stroke: var(--qo-olive); stroke-width: 1.5; }
.qo-leak__insul { fill: #e9d9a6; opacity: .75; }
.qo-leak__wall { fill: #cfc6ad; }
.qo-leak__floor { stroke: var(--qo-olive); stroke-width: 3; }
.qo-leak__hole { fill: var(--qo-paper); stroke: var(--qo-plum); stroke-width: 3; }
.qo-leak__flow { fill: none; stroke: #2f6f9a; stroke-width: 4; stroke-dasharray: 9 6; stroke-linecap: round; }
.qo-leak__stain { fill: #a7865a; opacity: .7; }
.qo-leak__unit { fill: #b9b19a; stroke: var(--qo-olive); stroke-width: 2; }
.qo-leak__pan { fill: #8b8470; }
.qo-leak__num circle { fill: var(--qo-plum); }
.qo-leak__num text { fill: #fff; font-family: var(--qo-head); font-weight: 800; font-size: 15px; }
.qo-leak__label { font-family: var(--qo-body); font-size: 17px; fill: var(--qo-ink); font-weight: 600; }

/* ---------- inner page parts */
.qo-head { background: var(--qo-tint); padding: clamp(36px, 6vw, 64px) 0 clamp(26px, 4vw, 40px); border-bottom: 4px solid var(--qo-olive); }
.qo-head__frame { max-width: var(--qo-max); margin: 0 auto; padding: 0 var(--qo-gutter); }
.qo-head__kicker { font-weight: 600; color: var(--qo-plum-deep); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .5em; }
.qo-head__title { font-size: clamp(1.85rem, 4vw, 2.7rem); font-weight: 800; max-width: 24ch; }
.qo-head__intro { font-size: 1.15rem; max-width: 66ch; margin: 0; }
.qo-strip { padding: 26px 0; border-bottom: 1px solid var(--qo-rule); }
.qo-strip__frame { max-width: var(--qo-max); margin: 0 auto; padding: 0 var(--qo-gutter); }
.qo-strip__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.qo-strip__micro { font-size: .95rem; margin: 0; max-width: 60ch; }
.qo-alert { background: #f6e9f1; border-left: 6px solid var(--qo-plum); }
.qo-alert__frame { max-width: var(--qo-max); margin: 0 auto; padding: 18px var(--qo-gutter); display: flex; gap: 14px; align-items: flex-start; }
.qo-alert__icon { width: 32px; height: 32px; color: var(--qo-plum-deep); flex: 0 0 32px; }
.qo-alert__text { margin: 0; }
.qo-checks { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-direction: column; gap: 8px; }
.qo-checks__item { padding-left: 28px; position: relative; }
.qo-checks__item::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--qo-plum); border-bottom: 2px solid var(--qo-plum); transform: rotate(-45deg); }
.qo-rel { background: var(--qo-olive); color: var(--qo-on-olive); padding: 30px 0; }
.qo-rel a { color: #fff; }
.qo-rel__frame { max-width: var(--qo-max); margin: 0 auto; padding: 0 var(--qo-gutter); }
.qo-rel__head { font-family: var(--qo-head); font-weight: 800; font-size: 1.2rem; }
.qo-rel__list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.qo-rel__item { display: flex; align-items: center; gap: 8px; }
.qo-rel__icon { width: 24px; height: 24px; color: #e7c3db; }
.qo-rel__more { margin: 0; max-width: 80ch; }
.qo-prose { padding: clamp(34px, 5vw, 60px) 0; }
.qo-prose__frame { max-width: 820px; margin: 0 auto; padding: 0 var(--qo-gutter); }
.qo-prose__h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.45rem; margin-top: 1.4em; }
.qo-prose__h2 .qo-num { font-size: 1.25em; }

.qo-desk { padding: clamp(32px, 5vw, 56px) 0; }
.qo-desk__frame { max-width: var(--qo-max); margin: 0 auto; padding: 0 var(--qo-gutter); display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.qo-desk__form { flex: 1 1 460px; min-width: 0; }
.qo-desk__side { flex: 1 1 320px; min-width: 0; }
.qo-desk__phone { display: flex; align-items: center; gap: 10px; font-family: var(--qo-head); font-weight: 800; font-size: 1.5rem; margin: 0; }
.qo-desk__phone a { text-decoration: none; }
.qo-desk__icon { width: 28px; height: 28px; color: var(--qo-plum); }
.qo-desk__hours { font-weight: 600; color: var(--qo-plum-deep); }
.qo-desk__h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.3rem; }
.qo-desk__h2 .qo-num { font-size: 1.2em; }
.qo-snap { display: flex; gap: 10px; align-items: flex-start; background: var(--qo-tint); border-radius: 6px; padding: 14px; }
.qo-snap__icon { width: 26px; height: 26px; color: var(--qo-plum); flex: 0 0 26px; }
.qo-snap__link { font-weight: 600; white-space: nowrap; }

/* ---------- footer: centred stack */
.qo-foot { background: #2f2a14; color: #ece8dc; text-align: center; padding: 44px 0 30px; }
.qo-foot__stack { max-width: 760px; margin: 0 auto; padding: 0 var(--qo-gutter); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qo-foot a { color: #fff; }
.qo-foot__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--qo-head); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.qo-logo--foot .qo-logo__tile { fill: var(--qo-paper); }
.qo-logo--foot .qo-logo__line { stroke: var(--qo-olive); }
.qo-foot__tagline { margin: 0; font-style: italic; color: #d8d1bd; }
.qo-foot__reach { margin: 4px 0; }
.qo-foot__phone { font-family: var(--qo-head); font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.qo-foot__hours { font-size: .9rem; }
.qo-foot__row { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .92rem; }
.qo-foot__fine { font-size: .85rem; margin: 0; color: #d8d1bd; max-width: 70ch; }

/* ---------- mobile call bar */
.qo-callbar { display: none; }
@media (max-width: 767px) {
  .qo-callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--qo-olive);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .18);
  }
  .qo-callbar__btn {
    flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; color: #fff;
    text-decoration: none; font-weight: 600; font-size: 1rem;
  }
  .qo-callbar__btn--alt { background: var(--qo-plum-deep); }
  .qo-callbar__icon { width: 20px; height: 20px; }
  body.qo-page { padding-bottom: 60px; }
}
