/* Upholstery service page. All content styles stay inside .upholstery. */
.chair-refresh { --upholstery-ink: #333; --upholstery-green: #334d45; --upholstery-muted: #626b66; --upholstery-line: #dce3e1; --upholstery-paper: #f5f7f5; }
.upholstery { color: var(--upholstery-ink); font-family: inherit; font-size: 16px; line-height: 1.9; }
.upholstery *, .upholstery *::before, .upholstery *::after { box-sizing: border-box; }
.upholstery h1, .upholstery h2, .upholstery h3, .upholstery p, .upholstery figure, .upholstery ol, .upholstery ul { margin: 0; }
.upholstery h1, .upholstery h2 { font-family: inherit; font-weight: 700; }
.upholstery h2 { font-size: 32px; line-height: 1.6; letter-spacing: normal; }
.upholstery h3 { font-size: 17px; font-weight: 700; line-height: 1.7; }
.upholstery a { color: inherit; text-decoration: none; }
.upholstery img { display: block; max-width: 100%; }
.upholstery a:focus-visible, .upholstery summary:focus-visible { outline: 2px solid #567b67; outline-offset: 5px; }
.upholstery-shell { width: min(1000px, calc(100% - 40px)); margin-inline: auto; }
.upholstery-section { padding-block: 60px; }
.upholstery [id] { scroll-margin-top: 96px; }
.upholstery-eyebrow { margin-bottom: 14px !important; color: #526d62; font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: normal; }
.upholstery-mobile-break { display: none; }

/* Match the full-width photo banners on service, carpet, and wallpaper pages. */
.upholstery-hero { position: relative; width: 100%; height: 400px; margin-bottom: 10px; }
.upholstery-hero__image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.upholstery-hero .overlay-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 40px); padding: 10px 20px; background: #fff; color: #000; box-shadow: 0 2px 5px rgba(0, 0, 0, .1); font-size: 22px; font-weight: 700; line-height: 1.6; text-align: center; white-space: nowrap; }
.upholstery-breadcrumb { padding-block: 15px; border-bottom: 1px solid #e9ecef; background: #f8f9fa; color: #6c757d; font-size: 14px; line-height: 1.6; }
.upholstery-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; margin-inline: auto; padding: 0; list-style: none; }
.upholstery-breadcrumb li + li::before { content: '>'; margin-right: 10px; color: #6c757d; }
.upholstery-breadcrumb a { color: #005c7b; }
.upholstery-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.upholstery-intro { padding-block: 30px; text-align: center; }
.upholstery-intro h1 { margin-bottom: 24px; font-size: 28px; font-weight: 700; line-height: 1.6; color: #005c7b; }
.upholstery-intro h1 span { display: inline-block; }
.upholstery-intro > p { max-width: 900px; margin-inline: auto; font-size: 16px; line-height: 1.9; }
.upholstery-intro__actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 24px; }


.upholstery-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; min-height: 52px; padding: 14px 26px; border: 1px solid #70877f; border-radius: 28px; background: #f1f5f2; color: #334d45 !important; box-shadow: 0 2px 4px rgba(38, 60, 50, .06); font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; transition: background-color .2s ease, border-color .2s ease; }
.upholstery-button > span { font-size: 20px; font-weight: 400; line-height: 1; }
.upholstery-arrow { position: relative; display: inline-block; flex: 0 0 18px; width: 18px; height: 14px; }
.upholstery-arrow::before { content: ''; position: absolute; top: 50%; left: 0; width: 16px; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.upholstery-arrow::after { content: ''; position: absolute; top: 50%; right: 2px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.upholstery-button:hover { background: #e7eee9; border-color: #526d62; }
.upholstery-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 5px; border-bottom: 1px solid #aab9aa; font-size: 13px; font-weight: 600; line-height: 1.8; }
.upholstery-text-link:hover { border-color: var(--upholstery-green); }

.upholstery-section-nav { display: flex; justify-content: center; gap: 30px; padding-block: 22px; border-bottom: 1px solid var(--upholstery-line); }
.upholstery-section-nav a { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.upholstery-section-nav a:hover { color: #738570; }
.upholstery-section-nav span { color: #8d9e8a; }
.upholstery-section-heading { margin-bottom: 32px; text-align: center; }
.upholstery-section-heading > p { max-width: 760px; margin: 16px auto 0; color: var(--upholstery-muted); font-size: 15px; line-height: 1.9; }

.upholstery-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.upholstery-case { min-width: 0; padding: 24px; border: 1px solid var(--upholstery-line); border-radius: 12px; background: #fff; }
.upholstery-case__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.upholstery-case__number { color: #526d62; font-family: Arial, sans-serif; font-size: 25px; line-height: 1; }
.upholstery-case__heading h3 { font-size: 15px; }
.upholstery-case--featured { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; grid-column: 1 / -1; padding: 32px; background: #f5f7f5; }
.upholstery-case--featured .upholstery-case__heading { display: block; align-self: center; margin: 0; }
.upholstery-case--featured .upholstery-case__number { display: block; margin-bottom: 26px; font-size: 40px; }
.upholstery-case--featured h3 { margin-bottom: 20px; font-family: inherit; font-size: 22px; font-weight: 700; }
.upholstery-case--featured .upholstery-case__heading p { color: var(--upholstery-muted); font-size: 13px; line-height: 2; }
.upholstery-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.upholstery-pair__figure { min-width: 0; }
.upholstery-pair__photo { position: relative; display: block; height: 0; padding-bottom: 100%; overflow: hidden; background: #edf0f2; border-radius: 8px; }
.upholstery-pair__photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.upholstery-pair figcaption { margin-top: 12px; text-align: center; font-size: 12px; font-weight: 600; color: #80877e; }
.upholstery-pair__figure--after figcaption { color: var(--upholstery-green); }

.upholstery-types-band { background: var(--upholstery-paper); }
.upholstery-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.upholstery-category { display: block; min-width: 0; background: #fff; border: 1px solid #e1e6e3; border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease; }
.upholstery-category:hover { border-color: #9faf9c; box-shadow: 0 5px 16px rgba(49, 71, 53, .06); }
.upholstery-category__photo { padding: 18px 20px 8px; }
.upholstery-category__image { width: 100%; height: 205px; object-fit: contain; }
.upholstery-category__label { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 24px; padding: 18px 0 22px; border-top: 1px solid #eceee7; }
.upholstery-category__label h3 { font-size: 16px; }
.upholstery-category__label p { margin-top: 2px; color: var(--upholstery-muted); font-size: 12px; }
.upholstery-category__label > span { color: #82917d; font-size: 20px; }
.upholstery-other-title { margin-top: 38px !important; margin-bottom: 18px !important; font-size: 15px !important; }
.upholstery-other-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.upholstery-other { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 90px; padding: 10px 14px; border: 1px solid #e1e6e3; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; }
.upholstery-other img { flex: 0 0 45px; width: 45px; height: 62px; object-fit: contain; }
.upholstery-other span:last-child { margin-left: auto; color: #82917d; font-size: 18px; }
.upholstery-other:hover { border-color: #9faf9c; }

.upholstery-editorial { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.upholstery-editorial__photo img { width: 100%; height: auto; }
.upholstery-editorial__photo figcaption { margin-top: 14px; color: var(--upholstery-muted); font-size: 12px; }
.upholstery-editorial__copy h2 { margin-bottom: 24px; }
.upholstery-editorial__copy > p:not(.upholstery-eyebrow) { margin-bottom: 20px; color: #57645a; font-size: 15px; line-height: 2; }
.upholstery-editorial__copy strong { color: var(--upholstery-ink); font-weight: 600; }
.upholstery-repair { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px; align-items: center; gap: 32px; margin-top: 52px; padding: 28px; border: 1px solid var(--upholstery-line); border-radius: 12px; }
.upholstery-repair > img { width: 150px; height: 160px; object-fit: cover; }
.upholstery-repair .upholstery-eyebrow { margin-bottom: 8px !important; font-size: 12px; }
.upholstery-repair h3 { margin-bottom: 10px; font-size: 20px; }
.upholstery-repair p:not(.upholstery-eyebrow) { color: var(--upholstery-muted); font-size: 13px; line-height: 1.95; }
.upholstery-repair ul { padding: 0 0 0 24px; border-left: 1px solid var(--upholstery-line); list-style: none; font-size: 13px; }
.upholstery-repair li + li { margin-top: 10px; }
.upholstery-repair li::before { content: '✓'; margin-right: 8px; color: #7a9072; }

.upholstery-consult-band { background: #f5f7f5; color: #333; }
.upholstery-consult-band .upholstery-eyebrow { color: #526d62; }
.upholstery-consult-band .upholstery-section-heading > p { color: var(--upholstery-muted); }
.upholstery-preparation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.upholstery-preparation__item { display: flex; gap: 18px; padding: 26px 22px; border: 1px solid #dce3e1; border-radius: 12px; background: #fff; }
.upholstery-preparation__item > span { color: #526d62; font-family: Arial, sans-serif; font-size: 23px; line-height: 1.4; }
.upholstery-preparation__item h3 { margin-bottom: 10px; font-size: 16px; }
.upholstery-preparation__item p { color: var(--upholstery-muted); font-size: 14px; line-height: 1.9; }
.upholstery-consult-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.upholstery-button--light { background: #fff; }
.upholstery-button--light:hover { background: #e7eee9; }
.upholstery-button--outline { background: #f1f5f2; }
.upholstery-button--outline:hover { background: #e7eee9; }
.upholstery-consult-phone { margin-left: 24px; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.5; }
.upholstery-consult-phone small { display: block; font-size: 11px; letter-spacing: .05em; }

.upholstery-faq-heading { margin-bottom: 32px; text-align: center; }
.upholstery-faq-heading > p:last-child { margin-top: 18px; color: var(--upholstery-muted); font-size: 14px; }
.upholstery-faq { max-width: 850px; margin-inline: auto; min-width: 0; border-top: 1px solid var(--upholstery-line); }
.upholstery-faq__item { border-bottom: 1px solid var(--upholstery-line); }
.upholstery-faq__item summary { display: flex; align-items: center; gap: 18px; padding: 24px 0; cursor: pointer; list-style: none; }
.upholstery summary::-webkit-details-marker { display: none; }
.upholstery-faq__q { flex: 0 0 20px; color: #839775; font-family: Georgia, serif; font-size: 24px; line-height: 1; }
.upholstery-faq__item h3 { flex: 1; font-size: 15px; }
.upholstery-faq__toggle { position: relative; flex: 0 0 20px; width: 20px; height: 20px; margin-left: auto; }
.upholstery-faq__toggle::before, .upholstery-faq__toggle::after { content: ''; position: absolute; top: 9px; left: 4px; width: 12px; height: 1px; background: #5b7256; }
.upholstery-faq__toggle::after { transform: rotate(90deg); }
.upholstery details[open] > summary .upholstery-faq__toggle::after { transform: rotate(0deg); }
.upholstery-faq__answer { display: flex; gap: 18px; padding: 0 38px 24px 0; color: #626e64; font-size: 14px; line-height: 1.95; }
.upholstery-faq__answer > span { flex: 0 0 20px; color: #95a38b; font-family: Georgia, serif; font-size: 20px; line-height: 1.5; }
.upholstery-glossary-section { padding-bottom: 60px; }
.upholstery-glossary { padding: 28px 32px; border-radius: 12px; background: var(--upholstery-paper); }
.upholstery-glossary > summary { display: flex; align-items: center; gap: 24px; cursor: pointer; list-style: none; }
.upholstery-glossary .upholstery-eyebrow { margin-bottom: 6px !important; font-size: 12px; }
.upholstery-glossary h2 { font-size: 22px; }
.upholstery-glossary__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin-top: 30px; padding-top: 30px; border-top: 1px solid #d9ddd0; }
.upholstery-glossary__grid img { width: 100%; height: 150px; object-fit: contain; background: #fff; }
.upholstery-glossary__grid h3 { margin-top: 12px; font-size: 13px; }
.upholstery-glossary__grid p { margin-top: 5px; color: var(--upholstery-muted); font-size: 12px; line-height: 1.8; }
.upholstery-closing { margin-bottom: 40px; padding: 40px 32px; border-top: 1px solid var(--upholstery-line); text-align: center; }
.upholstery-closing h2 { margin-bottom: 20px; }
.upholstery-closing > p:not(.upholstery-eyebrow) { margin-bottom: 26px; color: var(--upholstery-muted); font-size: 14px; }

@media (max-width: 1099px) {
  .upholstery { padding-top: 68px; }
  .upholstery-hero { height: 300px; }
  .upholstery-hero .overlay-text { top: 60%; }
  .upholstery-shell { width: min(1000px, calc(100% - 40px)); }
  .upholstery-section-nav { gap: 24px; }
  .upholstery-section-heading { display: block; }
  .upholstery-section-heading > p { margin-top: 18px; }
  .upholstery-case--featured { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 24px; }
  .upholstery-other-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .upholstery-editorial { gap: 32px; }
  .upholstery-repair { grid-template-columns: 130px minmax(0, 1fr); gap: 24px; }
  .upholstery-repair > img { width: 130px; }
  .upholstery-repair ul { display: flex; flex-wrap: wrap; gap: 8px 18px; grid-column: 1 / -1; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--upholstery-line); }
  .upholstery-repair li + li { margin: 0; }
  .upholstery-preparation { gap: 12px; }
  .upholstery-preparation__item { display: block; padding: 20px; }
  .upholstery-preparation__item > span { display: block; margin-bottom: 10px; }
  .upholstery h2 { font-size: 24px; }
  .upholstery-glossary__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .upholstery { font-size: 15px; }
  .upholstery-hero .overlay-text { font-size: 20px; }
  .upholstery-breadcrumb { font-size: 12px; }
  .upholstery-intro { padding-block: 24px; }
  .upholstery-intro h1 { font-size: 24px; }
  .upholstery-intro > p { font-size: 15px; }
  .upholstery-intro__actions { gap: 18px; }
  .upholstery-intro__actions .upholstery-button { width: 100%; max-width: 360px; }
  .upholstery-shell { width: calc(100% - 40px); }
  .upholstery-section { padding-block: 40px; }
  .upholstery h2 { font-size: 24px; line-height: 1.6; }
  .upholstery-eyebrow { font-size: 11px; margin-bottom: 10px !important; }
  .upholstery-mobile-break { display: inline; }
  .upholstery-button { min-height: 52px; padding: 13px 18px; font-size: 15px; }
  .upholstery-section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; padding-block: 20px; }
  .upholstery-section-nav a { justify-content: space-between; font-size: 12px; }
  .upholstery-section-heading { margin-bottom: 24px; }
  .upholstery-section-heading > p { margin-top: 14px; font-size: 14px; }
  .upholstery-cases { grid-template-columns: 1fr; gap: 18px; }
  .upholstery-case { padding: 16px; }
  .upholstery-case__heading { margin-bottom: 16px; }
  .upholstery-case__number { font-size: 22px; }
  .upholstery-case__heading h3 { font-size: 13px; }
  .upholstery-case--featured { display: block; padding: 20px 16px; }
  .upholstery-case--featured .upholstery-case__heading { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; margin-bottom: 20px; }
  .upholstery-case--featured .upholstery-case__number { align-self: start; margin: 4px 0 0; font-size: 26px; }
  .upholstery-case--featured h3 { margin: 0; font-size: 21px; }
  .upholstery-case--featured .upholstery-case__heading p { grid-column: 2; font-size: 11px; }
  .upholstery-pair { gap: 10px; }
  .upholstery-pair figcaption { margin-top: 10px; font-size: 11px; }
  .upholstery-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .upholstery-category__photo { padding: 12px 10px 6px; }
  .upholstery-category__image { height: 145px; }
  .upholstery-category__label { align-items: flex-start; margin-inline: 12px; padding-block: 12px 16px; gap: 4px; }
  .upholstery-category__label h3 { font-size: 14px; }
  .upholstery-category__label p { font-size: 11px; }
  .upholstery-category__label > span { font-size: 16px; }
  .upholstery-other-title { margin-top: 28px !important; font-size: 13px !important; }
  .upholstery-other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .upholstery-other { gap: 7px; padding: 8px; min-height: 76px; font-size: 12px; }
  .upholstery-other img { flex-basis: 30px; width: 30px; height: 48px; }
  .upholstery-other span:last-child { font-size: 14px; }
  .upholstery-editorial { grid-template-columns: 1fr; gap: 30px; }
  .upholstery-editorial__copy { grid-row: 1; }
  .upholstery-editorial__copy h2 { margin-bottom: 18px; }
  .upholstery-editorial__copy > p:not(.upholstery-eyebrow) { font-size: 14px; margin-bottom: 16px; }
  .upholstery-editorial__photo figcaption { font-size: 11px; }
  .upholstery-repair { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; padding: 20px; }
  .upholstery-repair > img { width: 100%; height: 180px; }
  .upholstery-repair h3 { font-size: 18px; }
  .upholstery-repair p:not(.upholstery-eyebrow) { font-size: 14px; }
  .upholstery-repair ul { font-size: 12px; }
  .upholstery-preparation { grid-template-columns: 1fr; gap: 12px; }
  .upholstery-preparation__item { display: flex; gap: 18px; padding: 20px; }
  .upholstery-preparation__item > span { margin-bottom: 0; }
  .upholstery-preparation__item h3 { font-size: 14px; margin-bottom: 6px; }
  .upholstery-preparation__item p { font-size: 14px; }
  .upholstery-consult-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
  .upholstery-consult-phone { margin: 12px 0 0; text-align: center; font-size: 25px; }
  .upholstery-faq-heading { margin-bottom: 28px; }
  .upholstery-faq-heading > p:last-child { margin-top: 12px; font-size: 14px; }
  .upholstery-faq-heading > p:last-child br { display: none; }
  .upholstery-faq__item summary { gap: 12px; padding-block: 20px; }
  .upholstery-faq__item h3 { font-size: 14px; }
  .upholstery-faq__q { font-size: 22px; }
  .upholstery-faq__answer { gap: 12px; padding-right: 20px; font-size: 14px; }
  .upholstery-glossary-section { padding-bottom: 40px; }
  .upholstery-glossary { padding: 22px 18px; }
  .upholstery-glossary > summary { gap: 12px; }
  .upholstery-glossary h2 { font-size: 17px; }
  .upholstery-glossary .upholstery-eyebrow { font-size: 10px; }
  .upholstery-glossary__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 24px; padding-top: 24px; }
  .upholstery-glossary__grid img { height: 105px; }
  .upholstery-glossary__grid h3 { font-size: 12px; }
  .upholstery-glossary__grid p { font-size: 12px; }
  .upholstery-closing { margin-bottom: 24px; padding: 40px 0; }
  .upholstery-closing > p:not(.upholstery-eyebrow) { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .upholstery a { transition: none; }
}
