@font-face { font-family: "Saira"; src: url("/assets/fonts/saira-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira"; src: url("/assets/fonts/saira-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira"; src: url("/assets/fonts/saira-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("/assets/fonts/carlito-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("/assets/fonts/carlito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #2c314a;
  --navy-deep: #202439;
  --cyan: #00afef;
  --cyan-dark: #006d94;
  --cyan-soft: #dff6ff;
  --surface: #f7f8fa;
  --white: #fff;
  --ink: #202439;
  --muted: #596078;
  --line: #d8dae1;
  --brand-gray: #e6e7e8;
  --danger: #794500;
  --danger-soft: #fff3db;
  --success: #1fa463;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--surface); }
body { position: relative; min-height: 100vh; margin: 0; color: var(--ink); background: var(--surface); font-family: "Carlito", "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: 0; inset: 0 auto 0 0; width: 36%; background: var(--navy); content: ""; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
::selection { color: var(--navy); background: var(--cyan-soft); }

.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; color: var(--navy); background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.survey-header { position: relative; z-index: 1; display: flex; width: min(calc(100% - 64px), 1240px); min-height: 92px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 24px; color: var(--white); }
.survey-header img { width: min(278px, 58vw); height: auto; }
.survey-header a { display: block; }
.survey-header > span { color: var(--muted); font-family: "Saira", sans-serif; font-size: .86rem; font-weight: 600; }

.survey-main { position: relative; z-index: 1; display: grid; width: min(calc(100% - 64px), 1240px); min-height: calc(100vh - 166px); margin-inline: auto; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); }
.survey-intro { display: flex; padding: clamp(52px, 8vw, 112px) clamp(40px, 6vw, 92px) 64px 0; flex-direction: column; justify-content: center; color: var(--white); }
.survey-intro h1 { max-width: 9ch; margin: 0 0 26px; font-family: "Saira", sans-serif; font-size: clamp(3rem, 5.2vw, 5rem); font-weight: 400; letter-spacing: -.035em; line-height: .99; text-wrap: balance; }
.survey-intro > p { max-width: 38ch; margin: 0; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.survey-intro__promise { display: flex; max-width: 36ch; margin-top: 42px; padding-top: 20px; align-items: flex-start; gap: 13px; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; }
.survey-intro__promise svg { width: 22px; flex: 0 0 22px; fill: none; stroke: var(--cyan); stroke-linecap: round; stroke-width: 1.5; }

.survey-surface { align-self: center; min-height: 590px; margin: 32px 0 52px; padding: clamp(30px, 4.5vw, 62px); background: var(--white); border-radius: var(--radius-md); }
.survey-form { min-height: 470px; }
.survey-progress__meta { display: flex; margin-bottom: 9px; justify-content: space-between; color: var(--muted); font-size: .82rem; }
.survey-progress__track { overflow: hidden; height: 5px; background: var(--brand-gray); border-radius: var(--radius-xs); }
.survey-progress__track span { display: block; width: 100%; height: 100%; background: var(--cyan-dark); transform: scaleX(.25); transform-origin: left center; transition: transform .28s var(--ease-out); }

.survey-step { min-width: 0; margin: 0; padding: 42px 0 28px; border: 0; animation: step-in .25s var(--ease-out) both; }
.survey-step legend, .survey-step h2 { max-width: 24ch; margin: 0; padding: 0; color: var(--navy); font-family: "Saira", sans-serif; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.survey-step h2 { margin-top: 36px; font-size: 1.25rem; }
.survey-step__hint { margin: 9px 0 26px; color: var(--muted); }

.seller-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.seller-option { position: relative; display: flex; min-height: 92px; padding: 10px 14px 10px 10px; align-items: center; gap: 13px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .18s, background .18s, transform .18s var(--ease-out); }
.seller-option:hover { border-color: var(--cyan-dark); transform: translateY(-1px); }
.seller-option:has(input:checked) { background: var(--cyan-soft); border-color: var(--cyan-dark); }
.seller-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seller-option__photo { display: grid; overflow: hidden; width: 66px; height: 66px; flex: 0 0 66px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-family: "Saira", sans-serif; font-size: 1.2rem; font-weight: 700; }
.seller-option__photo img { width: 100%; height: 100%; object-fit: cover; }
.seller-option__name { font-weight: 700; line-height: 1.2; }
.seller-option__check { position: absolute; top: 8px; right: 8px; display: grid; width: 22px; height: 22px; place-items: center; color: var(--white); background: var(--cyan-dark); border-radius: 50%; opacity: 0; transform: scale(.7); transition: opacity .18s, transform .18s var(--ease-out); }
.seller-option:has(input:checked) .seller-option__check { opacity: 1; transform: scale(1); }

.rating-scale { display: grid; margin-top: 18px; grid-template-columns: repeat(5, minmax(70px, 1fr)); gap: 8px; }
.rating-option { position: relative; display: grid; min-height: 94px; padding: 10px 5px; place-items: center; align-content: center; gap: 4px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: color .18s, border-color .18s, background .18s, transform .18s var(--ease-out); }
.rating-option:hover { color: var(--navy); border-color: var(--cyan-dark); transform: translateY(-2px); }
.rating-option:has(input:checked) { color: var(--navy); background: var(--cyan-soft); border-color: var(--cyan-dark); }
.rating-option input, .nps-option input, .not-applicable input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rating-option svg { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.rating-option strong { font-size: .8rem; }

.not-applicable { position: relative; display: inline-flex; min-height: 46px; margin-top: 12px; padding: 9px 14px; align-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.not-applicable:has(input:checked) { color: var(--navy); background: var(--cyan-soft); border-color: var(--cyan-dark); }

.nps-scale { display: grid; margin-top: 32px; grid-template-columns: repeat(11, minmax(38px, 1fr)); gap: 6px; }
.nps-option { position: relative; display: grid; aspect-ratio: 1; min-height: 48px; place-items: center; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-family: "Saira", sans-serif; font-weight: 700; transition: color .18s, border-color .18s, background .18s, transform .18s var(--ease-out); }
.nps-option:hover { border-color: var(--cyan-dark); transform: translateY(-2px); }
.nps-option:has(input:checked) { color: var(--white); background: var(--navy); border-color: var(--navy); }
.nps-scale__labels { display: flex; margin-top: 9px; justify-content: space-between; color: var(--muted); font-size: .78rem; }

.field-error { min-height: 1.4em; margin: 10px 0 0; color: var(--danger); font-size: .88rem; font-weight: 700; }
.survey-actions { display: flex; margin-top: auto; justify-content: flex-end; gap: 10px; }
.survey-button { display: inline-flex; min-height: 50px; padding: 12px 22px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--radius-sm); font-family: "Saira", sans-serif; font-size: .86rem; font-weight: 700; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease-out); }
.survey-button:hover { transform: translateY(-1px); }
.survey-button:active { transform: scale(.98); }
.survey-button:disabled { cursor: wait; opacity: .65; transform: none; }
.survey-button--primary { color: var(--navy); background: var(--cyan); }
.survey-button--primary:hover { color: var(--white); background: var(--cyan-dark); }
.survey-button--secondary { color: var(--navy); background: var(--white); border-color: var(--line); }
.survey-button--dark { color: var(--white); background: var(--navy); }
.survey-button--dark:hover { background: var(--navy-deep); }
.survey-button:focus-visible, .seller-option:has(input:focus-visible), .rating-option:has(input:focus-visible), .nps-option:has(input:focus-visible), .not-applicable:has(input:focus-visible), a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.submit-error { margin: 16px 0 0; padding: 12px; color: var(--danger); background: var(--danger-soft); border-radius: var(--radius-xs); }

.loading-state { padding: 90px 0; color: var(--muted); }
.loading-state__bar { display: block; width: 72%; height: 18px; margin-bottom: 14px; background: var(--brand-gray); border-radius: var(--radius-xs); animation: pulse 1.4s ease-in-out infinite; }
.loading-state__bar--short { width: 44%; }
.loading-state p { margin-top: 28px; }
.message-state { display: flex; min-height: 470px; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.message-state__icon, .message-state__success { display: grid; width: 68px; height: 68px; margin-bottom: 24px; place-items: center; color: var(--white); background: var(--navy); border-radius: 50%; font-family: "Saira", sans-serif; font-size: 2rem; }
.message-state__success { background: var(--success); }
.message-state__success svg { width: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.message-state h2 { max-width: 18ch; margin: 0; color: var(--navy); font-family: "Saira", sans-serif; font-size: 2rem; line-height: 1.15; }
.message-state p { max-width: 42ch; margin: 13px 0 26px; color: var(--muted); }
.message-state .kiosk-countdown { margin: -12px 0 20px; font-size: .86rem; }

.survey-footer { position: relative; z-index: 1; display: flex; width: min(calc(100% - 64px), 1240px); min-height: 74px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.65); font-size: .82rem; }
.survey-footer a { color: var(--muted); }

@keyframes step-in { from { opacity: .55; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .48; } }

@media (max-width: 900px) {
  body::before { display: none; }
  .survey-header { width: min(calc(100% - 40px), 720px); min-height: 72px; color: var(--white); background: var(--navy); }
  .survey-header::before { position: absolute; z-index: -1; inset: 0 0 auto; height: 72px; background: var(--navy); content: ""; }
  .survey-header img { width: min(205px, 42vw); }
  .survey-header > span { color: rgba(255,255,255,.65); }
  .survey-main { width: min(calc(100% - 40px), 720px); grid-template-columns: 1fr; }
  .survey-intro { display: grid; padding: 24px 0; grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); grid-template-rows: auto auto; column-gap: 42px; align-items: center; color: var(--navy); }
  .survey-intro h1 { grid-column: 1; grid-row: 1 / span 2; max-width: 10ch; margin: 0; font-size: clamp(2.55rem, 6.2vw, 3.2rem); line-height: .98; }
  .survey-intro > p { grid-column: 2; grid-row: 1; align-self: end; max-width: none; color: var(--muted); font-size: 1rem; line-height: 1.45; }
  .survey-intro__promise { grid-column: 2; grid-row: 2; align-self: start; max-width: none; margin-top: 14px; padding-top: 14px; color: var(--muted); border-color: var(--line); }
  .survey-surface { width: 100%; min-height: auto; margin: 0 0 28px; padding: 32px; border: 1px solid var(--line); }
  .survey-form { min-height: 0; }
  .survey-step { padding: 30px 0 22px; }
  .survey-footer { width: min(calc(100% - 40px), 720px); color: var(--muted); }
}

@media (max-width: 620px) {
  html { min-width: 0; background: var(--white); }
  body { background: var(--white); }
  .survey-header, .survey-main, .survey-footer { width: 100%; }
  .survey-header { min-height: 68px; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .survey-header::before { display: none; }
  .survey-header > span { display: none; }
  .survey-header img { width: min(190px, 68vw); }
  .survey-main { min-height: 0; }
  .survey-intro { display: flex; padding: 18px max(16px, env(safe-area-inset-right)) 20px max(16px, env(safe-area-inset-left)); align-items: flex-start; }
  .survey-intro h1 { max-width: 12ch; margin-bottom: 8px; font-size: clamp(2.15rem, 10.2vw, 2.55rem); }
  .survey-intro > p { max-width: 100%; font-size: .94rem; line-height: 1.4; }
  .survey-intro__promise { width: 100%; max-width: none; margin-top: 12px; padding-top: 12px; gap: 9px; font-size: .84rem; line-height: 1.35; }
  .survey-intro__promise svg { width: 18px; flex-basis: 18px; }
  .survey-surface { margin: 0 0 12px; padding: 18px max(16px, env(safe-area-inset-right)) 22px max(16px, env(safe-area-inset-left)); border-inline: 0; border-radius: 0; }
  .survey-form { min-height: 0; }
  .survey-progress__meta { font-size: .78rem; }
  .survey-step { padding: 22px 0 16px; }
  .survey-step legend { font-size: clamp(1.45rem, 7vw, 1.75rem); }
  .survey-step__hint { margin: 8px 0 18px; }
  .seller-list { grid-template-columns: 1fr; }
  .seller-option { min-height: 68px; padding: 8px 12px 8px 8px; }
  .seller-option__photo { width: 48px; height: 48px; flex-basis: 48px; }
  .service-rating h2 { margin-top: 26px; font-size: 1.15rem; }
  .rating-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .rating-option { min-height: 72px; padding: 8px 2px; }
  .rating-option svg { width: 28px; height: 28px; }
  .rating-option strong { font-size: .72rem; line-height: 1.1; }
  .nps-scale { grid-template-columns: repeat(6, 1fr); }
  .nps-option { aspect-ratio: auto; }
  .survey-actions { gap: 8px; padding-top: 12px; }
  .survey-button { min-height: 48px; flex: 1; padding-inline: 14px; }
  .survey-footer { min-height: auto; padding: 14px max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
}

@media (pointer: coarse) {
  .seller-option:hover, .rating-option:hover, .nps-option:hover { transform: none; }
  .seller-option, .rating-option, .nps-option, .not-applicable, .survey-button { -webkit-tap-highlight-color: rgba(0, 175, 239, .18); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
