/* =====================================================================
   NoticeFix — contact page + upload wizard
   Tokens only (see css/style.css :root).
   ===================================================================== */

/* ===== Contact methods ===== */
.ch .nh-title { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
.c-methods { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.c-method { --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; color: var(--body); transition: transform .35s var(--ease-out), box-shadow .35s; }
.c-method:hover { transform: translateX(6px); box-shadow: var(--sh-high); color: var(--body); }
.cm-link { display: flex; align-items: center; gap: 14px; flex: 1; color: var(--body); }
.cm-link:hover { color: var(--body); }
.cm-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--primary-tint); color: var(--action-color); transition: transform .4s var(--ease-out), background .3s, color .3s; }
.cm-icon svg { width: 22px; height: 22px; }
.cm-wa { background: var(--accent-tint); color: var(--accent-color); }
.c-method:hover .cm-icon { transform: rotate(-8deg) scale(1.08); }
.c-method strong { display: block; font-family: var(--font-head); color: var(--secondary-color); }
.c-method small { color: var(--muted); font-size: .86rem; }
.cm-go { margin-left: auto; width: 18px; height: 18px; color: var(--action-color); transition: transform .35s var(--ease-out); }
.c-method:hover .cm-go { transform: translate(3px, -3px); }
.cm-copy { background: var(--primary-tint); color: var(--action-color); }
.cm-copy:hover { background: var(--action-color); color: var(--on-primary); }
.c-hours { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: .88rem; color: var(--muted); }
.open-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.open-dot.open { background: var(--accent-color); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5); animation: dotPulse 2s infinite; }

/* ===== Wizard shell ===== */
.wiz { position: relative; padding: 28px; border-radius: 30px; scroll-margin-top: 100px; }
.wiz:target, .wiz.flash { animation: flash 1.4s var(--ease-out); }
@keyframes flash { 30% { box-shadow: var(--sh-high), 0 0 0 6px rgba(var(--primary-rgb), .25); } }
.wiz-steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; }
.wiz-steps li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--muted); transition: color .3s; }
.wiz-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; background: var(--white); border: 2px solid var(--line); transition: all .35s var(--ease-out); }
.wiz-steps li.on { color: var(--secondary-color); }
.wiz-steps li.on span { background: var(--action-color); border-color: var(--action-color); color: var(--on-primary); box-shadow: var(--glow); }
.wiz-steps li.done span { background: var(--accent-color); border-color: var(--accent-color); color: var(--on-primary); }
.wiz-bar { height: 4px; border-radius: 4px; background: var(--line); margin: 14px 0 22px; overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 33.33%; border-radius: 4px; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); transition: width .5s var(--ease-out); }
.wiz-pane { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz-pane.on { display: block; animation: qIn .45s var(--ease-out); }
.wiz-pane.back { animation: qBack .45s var(--ease-out); }
@keyframes qBack { from { opacity: 0; transform: translateX(-24px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.wiz-pane legend { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 16px; padding: 0; }
.wiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.link-skip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 0; font-size: .9rem; color: var(--muted); }
.link-skip:hover { color: var(--action-color); }
.link-skip svg { width: 15px; height: 15px; }
.wiz-tip { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
.wiz-tip svg { flex: none; width: 17px; height: 17px; color: var(--accent-color); }
.wiz-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-size: .8rem; color: var(--muted); }
.wiz-secure svg { width: 14px; height: 14px; color: var(--accent-color); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* ===== Dropzone ===== */
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 34px 20px; border-radius: 22px; border: 2px dashed rgba(var(--primary-rgb), .35); background: rgba(var(--primary-rgb), .03); text-align: center; cursor: pointer; transition: border-color .25s, background .25s, transform .3s var(--ease-out); }
.drop:hover { border-color: var(--primary-color); background: rgba(var(--primary-rgb), .06); }
.drop.over { border-color: var(--primary-color); background: rgba(var(--primary-rgb), .1); transform: scale(1.015); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop input:focus-visible + .drop-icon { outline: 3px solid rgba(var(--primary-rgb), .4); outline-offset: 4px; }
.drop-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-color), var(--action-color)); color: var(--on-primary); box-shadow: var(--glow); margin-bottom: 6px; transition: transform .4s var(--ease-out); }
.drop:hover .drop-icon, .drop.over .drop-icon { transform: translateY(-4px); }
.drop.over .drop-icon { animation: bob .8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.drop-icon svg { width: 28px; height: 28px; }
.drop strong { color: var(--secondary-color); font-family: var(--font-head); }
.drop u { color: var(--action-color); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.drop small { color: var(--muted); font-size: .82rem; }

.file-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); animation: resultIn .35s var(--ease-out); }
.file-item.out { animation: fileOut .3s var(--ease) forwards; }
@keyframes fileOut { to { opacity: 0; transform: translateX(20px); height: 0; padding: 0; margin: 0; border-width: 0; } }
.file-thumb { width: 42px; height: 42px; flex: none; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--primary-tint); color: var(--action-color); }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb svg { width: 20px; height: 20px; }
.file-meta { flex: 1; min-width: 0; }
.file-meta strong { display: block; font-size: .88rem; color: var(--secondary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta small { font-size: .76rem; color: var(--muted); font-family: var(--font-mono); }
.file-rm { width: 32px; height: 32px; flex: none; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; transition: background .2s, color .2s; }
.file-rm:hover { background: var(--danger-tint); color: var(--danger); }
.file-rm svg { width: 16px; height: 16px; }

/* ===== Fields ===== */
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: .86rem; font-weight: 600; color: var(--secondary-color); }
.f em { font-style: normal; font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); font: inherit; font-weight: 400; font-size: .95rem; color: var(--secondary-color); transition: border-color .25s, box-shadow .25s; }
.f textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 104px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .15); }
.f .mono-in { font-family: var(--font-mono); text-transform: uppercase; }
.f .mono-in::placeholder { text-transform: none; }
.f.invalid input, .f.invalid select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(var(--danger-rgb), .12); }
.f.valid input, .f.valid select { border-color: rgba(var(--accent-rgb), .6); }
.field-err { min-height: 0; margin: 0; font-size: .8rem; font-weight: 500; color: var(--danger); }
.counter { align-self: flex-end; font-weight: 400; font-size: .75rem; color: var(--muted); font-family: var(--font-mono); }
.counter.near { color: var(--warning); }

/* Chips (multi-select) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-size: .85rem; font-weight: 500; color: var(--secondary-color); transition: all .25s var(--ease-out); }
.chip-opt:hover span { border-color: var(--primary-color); transform: translateY(-2px); }
.chip-opt input:checked + span { background: var(--action-color); border-color: var(--action-color); color: var(--on-primary); box-shadow: var(--glow); }
.chip-opt input:focus-visible + span { outline: 3px solid rgba(var(--primary-rgb), .35); outline-offset: 2px; }

/* Segmented radio */
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 16px; background: var(--secondary-tint); border: 1px solid var(--line); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg label span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; font-size: .86rem; font-weight: 500; color: var(--muted); transition: color .3s; }
.seg label span svg { width: 16px; height: 16px; }
.seg input:checked + span { color: var(--on-primary); }
.seg input:focus-visible + span { outline: 3px solid rgba(var(--primary-rgb), .35); border-radius: 12px; }
.seg-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 12px; background: var(--action-color); box-shadow: var(--glow); transition: transform .4s var(--ease-out); }

/* Consent */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; font-size: .86rem; color: var(--body); cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); background: var(--white); display: grid; place-items: center; margin-top: 1px; transition: all .25s; }
.consent .box svg { width: 15px; height: 15px; fill: none; stroke: var(--on-primary); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .3s var(--ease-out); }
.consent input:checked + .box { background: var(--accent-color); border-color: var(--accent-color); }
.consent input:checked + .box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .box { outline: 3px solid rgba(var(--primary-rgb), .35); outline-offset: 2px; }
.consent.invalid .box { border-color: var(--danger); }

.wiz-pane.shake { animation: shake .45s; }

/* Upload progress */
.up-progress { margin-top: 16px; }
.up-track { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.up-track span { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); transition: width .25s; position: relative; }
.up-track span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(var(--white-rgb), .5), transparent); animation: sheen 1.1s linear infinite; }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.up-progress small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* Done */
.wiz-done { text-align: center; padding: 20px 6px 6px; animation: resultIn .5s var(--ease-out); }
.done-check { width: 96px; height: 96px; margin-bottom: 12px; }
.done-check circle { fill: var(--accent-tint); stroke: var(--accent-color); stroke-width: 3; stroke-dasharray: 277; stroke-dashoffset: 277; animation: drawC .7s var(--ease-out) forwards; }
.done-check path { fill: none; stroke: var(--accent-color); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawC .45s var(--ease-out) .6s forwards; }
@keyframes drawC { to { stroke-dashoffset: 0; } }
.wiz-done h2 { font-size: 1.7rem; }
.wiz-done p { color: var(--body); max-width: 440px; margin: 0 auto; }
.wiz-done b { color: var(--action-color); }

/* ===== Office ===== */
.office { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: 30px; overflow: hidden; padding: 0; }
.office-info { padding: 40px; }
.office-nap { font-style: normal; margin: 0; }
.office-nap p { display: flex; gap: 12px; margin: 0 0 14px; color: var(--secondary-color); }
.office-nap svg { flex: none; width: 20px; height: 20px; color: var(--action-color); margin-top: 3px; }
.office-nap small { color: var(--muted); }
.office-map { position: relative; min-height: 380px; }
.office-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map-pin-badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: .85rem; font-weight: 600; color: var(--secondary-color); }

/* ===== Responsive ===== */
/* ===== What happens next: photo + 2x2 steps ===== */
.next-photo { margin: 0; aspect-ratio: 4 / 3.4; }
.proc.proc-2 { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
.proc.proc-2 .proc-line { display: none; }
.proc.proc-2 .proc-step { text-align: left; padding: 0; }

/* ===== Wizard summary: notice, timing and price before anything is sent ===== */
.wiz-sum { margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: rgba(var(--primary-rgb), .05); border: 1px solid rgba(var(--primary-rgb), .14); }
.ws-notice { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; font-weight: 600; color: var(--secondary-color); }
.wiz-sum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.wiz-sum li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--body); line-height: 1.4; }
.wiz-sum li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--action-color); }
.wiz-sum b { color: var(--secondary-color); }

@media (max-width: 991.98px) {
    .office { grid-template-columns: 1fr; }
    .office-map { min-height: 300px; }
}
@media (max-width: 575.98px) {
    .wiz { padding: 20px; border-radius: 24px; }
    .wiz-steps li { font-size: 0; gap: 0; }
    .wiz-steps li span { font-size: .8rem; }
    .f-grid { grid-template-columns: 1fr; gap: 0; }
    .office-info { padding: 26px; }
    .seg label span { font-size: .78rem; }
    .seg label span svg { display: none; }
}
