/* DoorWin service-door — maintained cascade, stage 7.2.
 * Source order, selector scope, responsive rules and interaction states are intentional.
 * Historical declarations fully superseded in the same scope have been removed.
 * Do not append override patches; edit the responsible component rule. */
.door-v2-trust { margin-top: 24px; margin-bottom: 28px; }
.door-v2-trust__metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.door-v2-trust__metrics article { padding: 20px; border: 1px solid rgba(15,23,42,.08); border-radius: 20px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.06); }
.door-v2-trust__metrics strong { display: block; font-size: 1.45rem; line-height: 1.05; color: #0f172a; }
.door-v2-trust__metrics span { display: block; margin-top: 7px; font-weight: 800; color: #0f172a; }
.door-v2-trust__metrics small { display: block; margin-top: 7px; color: #64748b; line-height: 1.5; }
.door-v2-trust__badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.door-v2-trust__badges span { padding: 8px 12px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: .82rem; font-weight: 800; }
.door-v2-trust__note { margin: 12px 0 0; color: #64748b; font-size: .9rem; line-height: 1.55; }
.door-v2-details { margin-top: 30px; margin-bottom: 34px; }
.door-v2-details__head { max-width: 900px; margin-bottom: 20px; }
.door-v2-details__head h2 { margin: 8px 0 10px; color: #0f172a; font-size: clamp(1.7rem,3vw,2.35rem); letter-spacing: -.03em; }
.door-v2-details__head p { margin: 0; color: #64748b; line-height: 1.7; }
.door-v2-details__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.door-v2-detail-card { padding: 22px; border: 1px solid rgba(15,23,42,.08); border-radius: 22px; background: #fff; }
.door-v2-detail-card>span { display: inline-block; margin-bottom: 8px; color: #0284c7; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.door-v2-detail-card h3 { margin: 0 0 12px; color: #0f172a; font-size: 1.15rem; }
.door-v2-detail-card ul { margin: 0; padding-left: 19px; color: #475569; }
.door-v2-detail-card li { margin: 8px 0; line-height: 1.52; }
.door-v2-decision { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.door-v2-decision article { padding: 18px 20px; border-radius: 18px; background: #f8fafc; border: 1px solid rgba(15,23,42,.07); }
.door-v2-decision span { font-weight: 900; color: #0f172a; }
.door-v2-decision p { margin: 7px 0 0; color: #475569; line-height: 1.6; }
.door-v2-boundaries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.door-v2-boundaries>div { padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(14,165,233,.16); background: #f0f9ff; }
.door-v2-boundaries strong { color: #075985; }
.door-v2-boundaries p { margin: 7px 0 0; color: #475569; line-height: 1.6; }
.door-v2-context { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.door-v2-context>div { padding: 16px 18px; border-radius: 16px; background: #0f172a; color: #fff; }
.door-v2-context strong { display: block; margin-bottom: 7px; color: #fff; }
.door-v2-context p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.55; font-size: .92rem; }
.door-hub-v2 { padding: 10px 0 26px; }
.door-hub-v2__grid { display: grid; gap: 14px; }
.door-hub-v2__grid article { background: #fff; border: 1px solid rgba(15,23,42,.08); }
.door-hub-v2__grid strong { display: block; color: #0f172a; }
.door-hub-v2__grid span { display: block; font-weight: 800; color: #0f172a; }
.door-hub-v2__grid small { display: block; color: #64748b; }
.door-hub-v2__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.door-hub-v2__badges span { padding: 8px 11px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: .8rem; font-weight: 800; }
@media (max-width:980px) {
  .door-v2-trust__metrics,
  .door-hub-v2__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .door-v2-details__grid,
  .door-v2-context { grid-template-columns: 1fr; }
  .door-v2-decision,
  .door-v2-boundaries { grid-template-columns: 1fr; }
}
@media (max-width:620px) {
  .door-v2-trust__metrics,
  .door-hub-v2__grid { grid-template-columns: 1fr; }
  .door-v2-trust__metrics article,
  .door-v2-detail-card { padding: 18px; }
}
.door-v2-trust__metrics--compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
.door-v2-trust__metrics--compact article { padding: 15px 17px; border-radius: 16px; box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.door-v2-trust__metrics--compact strong { font-size: 1.02rem; }
.door-v2-trust__metrics--compact span { font-size: .92rem; margin-top: 4px; }
.door-v2-trust__metrics--compact small { margin-top: 5px; font-size: .86rem; line-height: 1.4; }
.door-v2-trust__extras,
.door-hub-v2__extras { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-top: 10px; color: #64748b; font-size: .86rem; }
.door-v2-trust__extras strong,
.door-hub-v2__extras strong { color: #334155; }
.door-v2-trust__extras span + span::before,
.door-hub-v2__extras span + span::before { content: "·"; margin-right: 12px; color: #94a3b8; }
.door-hub-v2__grid article { padding: 14px 16px; border-radius: 16px; box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.door-hub-v2__grid strong { font-size: 1.02rem; }
.door-hub-v2__grid span { font-size: .91rem; margin-top: 4px; }
.door-hub-v2__grid small { margin-top: 5px; font-size: .84rem; line-height: 1.4; }
@media (max-width:980px) {
  .door-v2-trust__metrics--compact { grid-template-columns: 1fr; }
}
.door-hub-v2__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-module--door { --svc-accent: #2563eb; --svc-accent-2: #0ea5e9; --svc-accent-dark: #1d4ed8; --svc-bg: #f7fbff; }
.door-system-map { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 18px; margin-top: 0; align-items: start; }
.door-system-map__main,
.door-system-map__parts { border-radius: 24px; border: 1px solid var(--svc-line); background: rgba(255,255,255,.93); box-shadow: var(--svc-shadow); padding: clamp(20px,2.6vw,30px); }
.door-system-map__main h2 { margin: 12px 0 10px; font-size: clamp(1.45rem,2.3vw,2rem); letter-spacing: -.035em; font-weight: 650; }
.door-system-map__main p { color: var(--svc-muted); line-height: 1.6; margin: 0; }
.door-system-map__parts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; background-image: linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px), linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px); background-size: 26px 26px; }
.door-system-map__parts span { display: grid; place-items: center; min-height: 68px; border-radius: 15px; background: rgba(255,255,255,.86); border: 1px dashed rgba(37,99,235,.25); font-weight: 650; color: #1e3a8a; text-align: center; font-size: .94rem; }
.door-service-fit .svc-card { border-left: 4px solid var(--svc-accent); }
@media (max-width: 1040px) {
  .door-system-map { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .door-system-map__parts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.door-photo-steps { overflow: hidden; }
.door-photo-steps .svc-section-head { max-width: 880px; }
.door-photo-steps__grid { display: grid; }
.door-photo-step { display: grid; gap: 0; border: 1px solid var(--svc-line); border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.72)); box-shadow: 0 18px 50px rgba(15,23,42,.07); }
.door-photo-step__media { grid-column: 1; grid-row: 1; margin: 0; min-height: 0; }
.door-photo-step__media img { display: block; width: 100%; height: 100%; min-height: 0; }
.door-photo-step__copy { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; }
.door-photo-step__copy span { width: max-content; border-radius: 999px; background: rgba(37,99,235,.1); color: #1d4ed8; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 7px 11px; }
.door-photo-step__copy h3 { margin: 0 0 10px; font-size: clamp(1.18rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.025em; color: #0f172a; }
.door-photo-step__copy p { margin: 0; color: var(--svc-muted); }
@media (min-width: 821px) {
  .door-photo-step:nth-child(odd) .door-photo-step__media,
  .door-photo-step:nth-child(even) .door-photo-step__media { grid-column: 1; grid-row: 1; }
  .door-photo-step:nth-child(odd) .door-photo-step__copy,
  .door-photo-step:nth-child(even) .door-photo-step__copy { grid-column: 2; grid-row: 1; }
}
@media (max-width: 820px) {
  .door-photo-step__media { grid-column: 1; grid-row: 1; }
  .door-photo-step__copy { grid-column: 1; grid-row: 2; }
}
.service-module--door[data-service="hollow-metal-doors"] .door-photo-step__media { background: #eef2f6; }
.service-module--door[data-service="hollow-metal-doors"] .door-photo-step__media img { object-fit: contain; background: #eef2f6; }
.door-photo-steps__grid { gap: 14px; }
.door-photo-step { grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); align-items: center; }
.door-photo-step__media { width: 100%; height: auto; aspect-ratio: 3 / 4; align-self: center; background: #eef2f6; }
.door-photo-step__media img { object-fit: contain; object-position: center; background: #eef2f6; }
.door-photo-step__copy { padding: clamp(18px, 2.4vw, 26px); }
.door-photo-step__copy span { margin-bottom: 10px; }
.door-photo-step__copy p { line-height: 1.56; }
.service-module--door[data-service="aluminum-storefront-doors"] .door-photo-step { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
.service-module--door[data-service="aluminum-storefront-doors"] .door-photo-step__media { aspect-ratio: 1 / 1; }
.service-module--door[data-service="hollow-metal-doors"] .door-photo-step { grid-template-columns: minmax(220px, 250px) minmax(0, 1fr); }
.service-module--door[data-service="hollow-metal-doors"] .door-photo-step__media { height: auto; aspect-ratio: 3 / 4; }
@media (max-width: 820px) {
  .door-photo-step,
  .service-module--door[data-service="aluminum-storefront-doors"] .door-photo-step,
  .service-module--door[data-service="hollow-metal-doors"] .door-photo-step { grid-template-columns: 1fr; }
  .door-photo-step__media,
  .service-module--door[data-service="hollow-metal-doors"] .door-photo-step__media { width: min(100%, 280px); height: auto; aspect-ratio: 3 / 4; justify-self: center; }
  .service-module--door[data-service="aluminum-storefront-doors"] .door-photo-step__media { width: min(100%, 320px); aspect-ratio: 1 / 1; }
}
.door-problem-summary .svc-client-box { min-width: 0; }
.door-problem-summary .svc-list { gap: 11px; }
.door-routing__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.door-routing__card { display: flex; min-width: 0; min-height: 190px; flex-direction: column; padding: 18px; border: 1px solid var(--svc-line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,246,255,.78)); color: #0f172a; text-decoration: none; box-shadow: 0 14px 36px rgba(15,23,42,.055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.door-routing__card > span { font-size: 1.02rem; line-height: 1.3; font-weight: 750; letter-spacing: -.02em; }
.door-routing__card p { margin: 10px 0 16px; color: var(--svc-muted); font-size: .93rem; line-height: 1.55; }
.door-routing__card strong { margin-top: auto; color: var(--svc-accent-dark); font-size: .84rem; line-height: 1.35; }
.door-routing__card:focus-visible { outline: 3px solid color-mix(in srgb, var(--svc-accent) 32%, transparent); outline-offset: 2px; }
@media (hover: hover) {
  .door-routing__card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--svc-accent) 35%, transparent); box-shadow: 0 18px 44px rgba(37,99,235,.12); }
}
@media (max-width: 1050px) {
  .door-routing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .door-routing__grid { grid-template-columns: 1fr; }
  .door-routing__card { min-height: 0; }
}


/* Commercial Door Repair: scoped content sections; shared site shell retained. */
.cd-page main [id^="commercial-"] { scroll-margin-top: 16px; }
.cd-page .cd-service-points { display:flex; flex-wrap:wrap; gap:10px 24px; list-style:none; padding:0; margin:26px 0 18px; color:#334155; font-size:.92rem; font-weight:650; }
.cd-page .cd-service-points li::before { content:"✓"; color:#047857; margin-right:8px; font-weight:800; }
.cd-page .cd-jump { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 0 30px; }
.cd-page .cd-jump a { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:52px; padding:12px 16px; background:#fff; border:1px solid #cbd5e1; border-radius:12px; color:#1e3a5f; text-decoration:none; font-size:.94rem; line-height:1.4; font-weight:700; }
.cd-page .cd-jump a:hover { border-color:#2563eb; background:#eff6ff; }
.cd-page .cd-jump a span { color:#2563eb; }
.cd-page .cd-scenarios { display:grid; gap:22px; }
.cd-page .cd-number { display:block; color:#1d4ed8; font-size:.78rem; font-weight:800; letter-spacing:.08em; margin-bottom:9px; }
.cd-page .cd-related { color:#1d4ed8; font-weight:700; font-size:.87rem; line-height:1.5; text-underline-offset:3px; }
.cd-page .cd-system-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.cd-page .cd-system-card { display:flex; flex-direction:column; padding:22px; border:1px solid #dbe4ee; border-radius:16px; background:#f8fbff; text-decoration:none; min-width:0; }
.cd-page .cd-system-card h3 { margin:0 0 12px; color:#0f172a; font-size:1.05rem; line-height:1.35; }
.cd-page .cd-system-card p { margin:0 0 18px; color:#475569; font-size:.9rem; line-height:1.6; }
.cd-page .cd-system-card > span { margin-top:auto; color:#1d4ed8; font-weight:750; font-size:.85rem; }
.cd-page .cd-system-card:hover { background:#eff6ff; border-color:#93c5fd; }
.cd-page .cd-decision-table { border-collapse:collapse; width:100%; table-layout:fixed; font-size:.92rem; line-height:1.6; }
.cd-page .cd-decision-table th, .cd-page .cd-decision-table td { padding:18px; text-align:left; vertical-align:top; border:1px solid #dbe4ee; overflow-wrap:break-word; }
.cd-page .cd-decision-table thead th { background:#eaf2fd; color:#1e3a5f; font-size:.86rem; }
.cd-page .cd-decision-table thead th:first-child { width:23%; }
.cd-page .cd-decision-table tbody th { background:#f8fafc; font-weight:700; color:#1e293b; }
.cd-page .cd-decision-table td { color:#475569; }
.cd-page .cd-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.cd-page .cd-info-grid article { padding:21px; border:1px solid #dbe4ee; border-radius:14px; background:#f8fbff; }
.cd-page .cd-info-grid h3 { margin:0 0 9px; font-size:1.04rem; line-height:1.35; color:#1e293b; }
.cd-page .cd-info-grid p { margin:0; font-size:.93rem; line-height:1.65; color:#475569; }
.cd-page .cd-note { margin:20px 0; color:#475569; font-size:.92rem; line-height:1.7; }
.cd-page .cd-timing-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:0; padding:0; list-style:none; }
.cd-page .cd-timing-steps li { border-top:2px solid #bfdbfe; padding-top:18px; }
.cd-page .cd-timing-steps li > span { display:inline-grid; place-items:center; width:30px; height:30px; margin-bottom:12px; border-radius:50%; background:#dbeafe; color:#1e40af; font-weight:800; font-size:.86rem; }
.cd-page .cd-timing-steps h3 { margin:0 0 10px; color:#1e293b; line-height:1.35; font-size:1.03rem; }
.cd-page .cd-timing-steps p { margin:0; color:#475569; font-size:.93rem; line-height:1.65; }
.cd-page .cd-property .svc-list { max-width:950px; }
.cd-page .cd-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.cd-page .cd-jump a:focus-visible,
.cd-page .cd-system-card:focus-visible { outline:3px solid #2563eb; outline-offset:4px; }
@media(max-width:1000px) {
  .cd-page .cd-system-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cd-page .cd-jump { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .cd-page .cd-service-points { gap:9px; flex-direction:column; font-size:.85rem; margin-top:22px; }
  .cd-page .cd-jump { gap:9px; margin-bottom:22px; }
  .cd-page .cd-jump a { padding:12px; font-size:.82rem; min-height:54px; border-radius:9px; }
  .cd-page .cd-system-grid, .cd-page .cd-info-grid, .cd-page .cd-timing-steps { grid-template-columns:1fr; }
  .cd-page .cd-system-card, .cd-page .cd-info-grid article { padding:19px; }
  .cd-page .cd-decision-table, .cd-page .cd-decision-table tbody, .cd-page .cd-decision-table tr, .cd-page .cd-decision-table th, .cd-page .cd-decision-table td { display:block; width:100%; box-sizing:border-box; }
  .cd-page .cd-decision-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .cd-page .cd-decision-table tr { border:1px solid #dbe4ee; border-radius:12px; overflow:hidden; margin-bottom:14px; }
  .cd-page .cd-decision-table th, .cd-page .cd-decision-table td { border:0; padding:16px; }
  .cd-page .cd-decision-table td + td { border-top:1px solid #e2e8f0; }
  .cd-page .cd-decision-table td::before { content:attr(data-label); display:block; margin-bottom:7px; color:#1e3a5f; font-size:.83rem; font-weight:750; }
  .cd-page .cd-timing-steps { gap:20px; }
}

