/* Protokol o čištění – úvodní stránka a Pro servisy */
.prot { width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.prot-badge { display: inline-flex; align-items: center; gap: 8px; background: #edf6ee; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 8px 14px 8px 12px; border-radius: 999px; margin-bottom: 14px; }
.prot-lead { color: var(--dark-gray); font-size: 17px; line-height: 1.6; margin: 10px 0 26px; max-width: 600px; }

.prot-card { background: #fff; border: 1px solid var(--medium-gray); border-radius: 20px; padding: 22px 26px; box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.prot-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--secondary); padding-bottom: 14px; border-bottom: 1px dashed var(--frame-line); }
.prot-card-head span { color: var(--dark-gray); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 14px; }

.prot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 6px; }
.prot-row--last { padding-top: 18px; margin-top: 10px; border-top: 1px dashed var(--frame-line); }
.prot-row-label { font-weight: 700; font-size: 17px; }
.prot-values { display: flex; align-items: center; gap: 10px; }
.prot-val { display: flex; flex-direction: column; align-items: center; min-width: 108px; padding: 7px 12px; border-radius: 12px; font-weight: 700; font-size: 20px; line-height: 1.15; white-space: nowrap; }
.prot-val small { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.prot-val--before { background: #fdecec; color: var(--red); }
.prot-val--after { background: #edf6ee; color: var(--primary); }
.prot-arrow { color: var(--frame-line); font-size: 22px; font-weight: 700; }

.prot-gauge { padding: 30px 4px 4px; }
.prot-gauge-bar { position: relative; display: flex; height: 12px; border-radius: 999px; }
.prot-gauge-bar .seg:first-child { border-radius: 999px 0 0 999px; }
.prot-gauge-bar .seg:nth-child(3) { border-radius: 0 999px 999px 0; }
.seg--green { width: 30%; background: #5aa33a; }
.seg--yellow { width: 25%; background: #f2c230; }
.seg--red { width: 45%; background: #e2484c; }
.mark { position: absolute; top: 50%; width: 22px; height: 22px; margin-left: -11px; transform: translateY(-50%); border-radius: 50%; background: #fff; border: 5px solid; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.mark i { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.mark--before { border-color: var(--red); }
.mark--before i { background: var(--red); }
.mark--after { border-color: var(--primary); }
.mark--after i { background: var(--primary); }
.prot-gauge-scale { position: relative; height: 18px; margin-top: 6px; font-size: 12px; color: var(--dark-gray); }
.prot-gauge-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.prot-gauge-scale span:first-child { transform: none; }
.prot-gauge-scale span:last-child { transform: translateX(-100%); }
.prot-gauge-legend { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--dark-gray); }
.prot-gauge-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.l--green::before { background: #5aa33a; }
.l--yellow::before { background: #f2c230; }
.l--red::before { background: #e2484c; }

.prot-list { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.prot-list li { position: relative; padding-left: 30px; font-weight: 700; font-size: 16px; }
.prot-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }

.prot-doc { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.prot-paper { position: relative; display: block; width: 100%; max-width: 420px; padding: 0; border: 0; background: #fff; cursor: zoom-in; border-radius: 6px; transform: rotate(2deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 18px 40px rgba(0, 0, 0, .18); transition: transform .4s, box-shadow .4s; }
.prot-paper::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; background: #f1f1f1; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.prot-paper img { display: block; width: 100%; height: auto; border-radius: 6px; }
.prot-paper:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 26px 50px rgba(0, 0, 0, .22); }
.prot-open { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border: 2px solid var(--primary); border-radius: 8px; background: #fff; color: var(--primary); font-weight: 700; font-size: 16px; cursor: pointer; transition: all .3s; }
.prot-open:hover { background: var(--primary); color: #fff; }
.prot-doc-note { color: var(--dark-gray); font-size: 13px; text-align: center; }

.prot-dialog { padding: 0; border: 0; background: transparent; max-width: min(92vw, 820px); max-height: 92vh; overflow: visible; }
.prot-dialog::backdrop { background: rgba(15, 15, 15, .9); }
.prot-dialog img { display: block; max-width: 100%; max-height: 92vh; border-radius: 10px; }
.prot-dialog-close { position: fixed; top: 16px; right: 20px; width: 48px; height: 48px; color: #fff; font-size: 40px; line-height: 1; background: none; border: 0; cursor: pointer; }

@media (max-width: 1023px) {
    .prot { grid-template-columns: 1fr; gap: 40px; }
    .prot-doc { order: 2; }
}
@media (max-width: 767px) {
    .prot-badge { font-size: 11px; }
    .prot-lead { font-size: 15px; margin-bottom: 20px; }
    .prot-card { padding: 18px 16px; }
    .prot-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .prot-row-label { font-size: 15px; }
    .prot-val { min-width: 96px; font-size: 18px; }
    .prot-list li { font-size: 14px; }
    .prot-paper { max-width: 300px; }
    .prot-open { font-size: 15px; }
}
