/* 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; }
.service-module--door .svc-hero__copy { background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(239,246,255,.94)); }
.service-module--door .svc-hero__media { clip-path: polygon(0 0, 100% 0, 100% 94%, 90% 100%, 0 100%); }
.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; }
}
