:root {
    --cyan: #00a8e0;
    --cyan-dark: #007da8;
    --charcoal: #202228;
    --ink: #30343b;
    --muted: #68717d;
    --line: #dfe4e8;
    --surface: #ffffff;
    --soft: #f4f7f9;
    --danger: #a92727;
    --danger-soft: #fff0f0;
    --radius: 16px;
    --shadow: 0 14px 40px rgba(24, 38, 50, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--soft); line-height: 1.5; }
.survey-hero { position: relative; min-height: 310px; background: url('header-acero.jpg') center/cover no-repeat; display: flex; align-items: flex-end; }
.survey-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,19,23,.93), rgba(16,19,23,.66) 58%, rgba(16,19,23,.32)); }
.survey-hero__content { position: relative; width: min(1080px, calc(100% - 36px)); margin: 0 auto; padding: 44px 0 48px; display: flex; gap: 34px; align-items: center; color: #fff; }
.brand-logo { width: 250px; max-width: 34vw; background: #fff; border-radius: 8px; padding: 10px 14px; box-shadow: 0 8px 26px rgba(0,0,0,.22); }
.eyebrow { margin: 0 0 8px; color: #7cd8f7; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 50px); line-height: 1.04; max-width: 680px; }
.campaign-name { margin: 12px 0 0; font-size: 17px; color: #e3edf1; }
.survey-shell { width: min(980px, calc(100% - 28px)); margin: -24px auto 60px; position: relative; z-index: 2; }
.intro-card, .form-section, .thank-you, .notice { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-card { padding: 28px 32px; border-top: 5px solid var(--cyan); margin-bottom: 20px; font-size: 17px; }
.intro-card p { margin: 0; }
.intro-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 13px; }
.notice { padding: 20px 24px; margin: 18px 0; }
.notice--error { color: #701d1d; background: var(--danger-soft); border: 1px solid #f0baba; }
.notice ul { margin-bottom: 0; }
.survey-form { display: grid; gap: 20px; }
.form-section { padding: 30px 32px; }
.section-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.section-number { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: #fff; font-weight: 800; }
.section-heading h2 { margin: 0 0 3px; font-size: 24px; color: var(--charcoal); }
.section-heading p { margin: 0; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfd6dc; border-radius: 10px; padding: 13px 14px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 145px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,168,224,.15); }
.has-error { outline: 2px solid rgba(169,39,39,.55); outline-offset: 5px; border-radius: 8px; }
.scale-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 20px; }
.scale-legend span { background: #eef8fc; border: 1px solid #c8eaf6; border-radius: 999px; padding: 7px 11px; color: #31515f; font-size: 13px; }
.scale-legend b { color: var(--cyan-dark); margin-right: 3px; }
.aspect-list { display: grid; gap: 14px; }
.aspect-card, .choice-card { margin: 0; border: 1px solid var(--line); border-radius: 13px; padding: 18px; min-width: 0; }
.aspect-card legend, .choice-card legend { padding: 0 6px; font-weight: 700; color: var(--charcoal); }
.score-options { display: grid; grid-template-columns: repeat(5, minmax(70px, 1fr)); gap: 8px; margin-top: 8px; }
.score-options--with-na { grid-template-columns: repeat(5, minmax(62px, 1fr)) minmax(140px, 1.5fr); }
.score-option input, .choice-options input, .nps-options input { position: absolute; opacity: 0; pointer-events: none; }
.score-option span { min-height: 66px; display: grid; place-items: center; align-content: center; gap: 2px; border: 1px solid #d8e0e5; border-radius: 10px; background: #fff; cursor: pointer; text-align: center; transition: .18s; }
.score-option b { font-size: 18px; color: var(--charcoal); }
.score-option small { color: var(--muted); font-size: 11px; }
.score-option input:checked + span { background: var(--cyan); border-color: var(--cyan); color: #fff; box-shadow: 0 5px 16px rgba(0,168,224,.25); }
.score-option input:checked + span b, .score-option input:checked + span small { color: #fff; }
.score-option input:focus-visible + span, .choice-options input:focus-visible + span, .nps-options input:focus-visible + span { outline: 3px solid rgba(0,168,224,.28); outline-offset: 2px; }
.choice-card + .choice-card { margin-top: 18px; }
.choice-options { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.choice-options span { display: block; min-width: 110px; text-align: center; padding: 12px 18px; border: 1px solid #d8e0e5; border-radius: 10px; cursor: pointer; font-weight: 700; }
.choice-options input:checked + span { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.field-help { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 12px; color: var(--muted); font-size: 12px; }
.nps-options { display: grid; grid-template-columns: repeat(11, minmax(42px,1fr)); gap: 7px; }
.nps-options span { height: 46px; display: grid; place-items: center; border: 1px solid #d8e0e5; border-radius: 9px; cursor: pointer; font-weight: 700; }
.nps-options input:checked + span { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.ranking-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.ranking-field b { color: var(--cyan-dark); font-size: 18px; margin-right: 4px; }
.field--other { margin-top: 16px; }
.submit-row { background: var(--charcoal); color: #fff; border-radius: var(--radius); padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.submit-row p { margin: 0; color: #cfd4d8; font-size: 13px; max-width: 550px; }
.submit-row button { appearance: none; border: 0; border-radius: 10px; background: var(--cyan); color: #fff; font-size: 16px; font-weight: 800; padding: 14px 24px; cursor: pointer; min-width: 190px; }
.submit-row button:hover { background: #0094c5; }
.thank-you { padding: 54px 38px; text-align: center; border-top: 6px solid var(--cyan); }
.thank-you__icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #e6f8fd; color: var(--cyan-dark); font-size: 38px; font-weight: 800; }
.thank-you h2 { margin: 0 0 12px; font-size: 32px; }
.thank-you p:last-child { max-width: 580px; margin: 0 auto; color: var(--muted); }
.survey-footer { text-align: center; color: #7b838b; font-size: 12px; padding: 0 20px 32px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
    .survey-hero { min-height: 260px; }
    .survey-hero__content { align-items: flex-start; flex-direction: column; gap: 20px; padding-bottom: 42px; }
    .brand-logo { width: 210px; max-width: 75vw; }
    .survey-shell { margin-top: -18px; }
    .intro-card, .form-section { padding: 23px 20px; }
    .field-grid, .ranking-grid { grid-template-columns: 1fr; }
    .score-options, .score-options--with-na { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .score-option--na { grid-column: span 3; }
    .nps-options { grid-template-columns: repeat(6, minmax(0,1fr)); }
    .submit-row { align-items: stretch; flex-direction: column; }
    .submit-row button { width: 100%; }
}
@media (max-width: 430px) {
    .survey-hero__content { width: calc(100% - 26px); }
    h1 { font-size: 32px; }
    .section-heading h2 { font-size: 21px; }
    .section-number { flex-basis: 34px; height: 34px; }
    .score-options, .score-options--with-na { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .score-option--na { grid-column: span 2; }
    .nps-options { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .field-help { flex-direction: column; }
}
