:root {
    --yellow: #f4c400;
    --yellow-dark: #dcae00;
    --black: #111111;
    --black-soft: #1d1d1d;
    --gray: #f4f4f4;
    --border: #dddddd;
    --text: #202020;
    --muted: #666666;
    --success: #1d6b3a;
    --danger: #9d2424;
    --white: #ffffff;
    --shadow: 0 12px 35px rgba(0, 0, 0, .10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ededed;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.topbar {
    background: var(--black);
    border-bottom: 7px solid var(--yellow);
    padding: 13px 20px;
}

.brand {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}

.brand-title {
    color: var(--yellow);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .8px;
}

.brand-subtitle {
    color: #fff;
    font-size: 13px;
    margin-top: 2px;
}

.container {
    width: min(1120px, calc(100% - 28px));
    margin: 28px auto 45px;
}

.hero {
    background: var(--black-soft);
    color: #fff;
    border-left: 8px solid var(--yellow);
    border-radius: 8px;
    padding: 32px 35px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.hero h1 {
    margin: 6px 0 5px;
    color: var(--yellow);
    font-size: clamp(28px, 4vw, 42px);
}

.hero p {
    max-width: 850px;
    margin: 0;
    color: #e7e7e7;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--black);
    background: var(--yellow);
    padding: 5px 10px;
    border-radius: 999px;
}

.complaint-form {
    display: grid;
    gap: 18px;
}

.form-section {
    background: var(--white);
    border-radius: 8px;
    padding: 26px 30px;
    box-shadow: var(--shadow);
}

.section-title {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.section-title .number {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: var(--yellow);
    color: var(--black);
    font-weight: 900;
    border-radius: 50%;
}

.section-title h2 {
    margin: 0;
    font-size: 21px;
}

.section-title p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field label {
    font-weight: 700;
    font-size: 14px;
}

.field label span {
    color: #bd8d00;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background: #fff;
    padding: 12px 13px;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.field textarea {
    resize: vertical;
    min-height: 180px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--yellow-dark);
    box-shadow: 0 0 0 3px rgba(244, 196, 0, .18);
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.choice-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 17px;
    border: 2px solid var(--border);
    border-radius: 7px;
    cursor: pointer;
    background: #fff;
    transition: .15s;
}

.choice-card:hover {
    border-color: var(--yellow-dark);
}

.choice-card input {
    margin-top: 4px;
    accent-color: var(--yellow-dark);
}

.choice-card strong {
    display: block;
}

.choice-card small {
    color: var(--muted);
}

.personal-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
    background: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 6px;
}

.upload-box {
    border: 2px dashed #c7c7c7;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
}

.upload-box input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.upload-label strong,
.upload-label small {
    display: block;
}

.upload-label small {
    color: var(--muted);
    margin-top: 2px;
}

.upload-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    font-size: 27px;
    font-weight: 900;
}

.file-name {
    margin-top: 13px;
    padding: 9px 12px;
    background: #fff;
    border-radius: 5px;
    color: var(--muted);
    font-size: 13px;
}

.counter {
    text-align: right;
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.privacy-note {
    background: var(--black);
    color: #fff;
    border-left: 6px solid var(--yellow);
    border-radius: 6px;
    padding: 17px 20px;
}

.privacy-note strong {
    color: var(--yellow);
}

.privacy-note p {
    margin: 4px 0 0;
    color: #e5e5e5;
    font-size: 13px;
}

.actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    border: 0;
    border-radius: 6px;
    padding: 13px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .1s, opacity .1s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
}

.btn-secondary {
    background: #d8d8d8;
    color: #222;
}

.alert {
    border-radius: 7px;
    padding: 15px 18px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

.alert-success {
    background: #e9f7ee;
    border-left: 5px solid var(--success);
    color: #1f4e31;
}

.alert-error {
    background: #fff0f0;
    border-left: 5px solid var(--danger);
    color: #792020;
}

.alert p {
    margin-bottom: 0;
}

.small {
    font-size: 13px;
}

.footer {
    background: var(--black);
    color: #cfcfcf;
    border-top: 5px solid var(--yellow);
    padding: 20px;
    text-align: center;
    font-size: 12px;
}

.hidden {
    display: none !important;
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 18px, 1120px);
        margin-top: 15px;
    }

    .brand img {
        width: 58px;
        height: 58px;
    }

    .brand-title {
        font-size: 16px;
    }

    .hero,
    .form-section {
        padding: 20px;
    }

    .radio-grid,
    .personal-data {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }
}
.alert-warning{background:#fff8d8;border-left:5px solid #dcae00;color:#5e4b00}
