:root {
    --navy: #2c4a64;
    --navy-2: #34526e;
    --ink: #1a2433;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f3f4f6;
    --card: #ffffff;
    --blue: #4aa8de;
    --blue-2: #3b8fc4;
    --success-bg: #ecfdf5;
    --success-bd: #10b981;
    --error-bg: #fef2f2;
    --error-bd: #ef4444;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 10px 24px rgba(20,40,60,.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--navy);
    color: #fff;
    padding: 16px 0;
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.site-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-nav a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 4px;
    transition: color .15s;
}
.site-nav a:hover { color: #fff; }
.site-nav a.active {
    color: #fff;
    background: rgba(255,255,255,.08);
    padding: 8px 14px;
    border-radius: 6px;
}

/* Page */
.page { padding: 36px 0 56px; }

/* Alerts */
.alert {
    border-left: 4px solid;
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.alert-success { background: var(--success-bg); border-color: var(--success-bd); color: #064e3b; }
.alert-error   { background: var(--error-bg);   border-color: var(--error-bd);   color: #7f1d1d; }

/* Form card */
.form-card {
    background: var(--card);
    border-radius: 12px;
    padding: 36px 36px 28px;
    box-shadow: var(--shadow);
}
.form-title {
    text-align: center;
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 28px;
    font-weight: 700;
}

/* Sections */
.section {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px 22px 18px;
    margin-bottom: 24px;
}
.section-title {
    font-size: 17px;
    color: var(--navy);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--blue);
    font-weight: 600;
}

/* Fields */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.req { color: var(--error-bd); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(74,168,222,.15);
}

/* Dropzone */
.dropzone {
    border: 2px dashed #cbd5e0;
    background: #f9fafb;
    border-radius: 8px;
    padding: 26px 16px;
    text-align: center;
    transition: border-color .15s, background .15s;
}
.dropzone.dragover { border-color: var(--blue); background: #eff8fd; }
.dz-icon { font-size: 22px; margin-bottom: 6px; color: #d97706; }
.dz-text { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.dz-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.dz-selected { font-size: 13px; color: var(--navy); font-weight: 600; margin-top: 8px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: background .15s, transform .05s;
}
.btn-blue {
    background: var(--blue);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
}
.btn-blue:hover { background: var(--blue-2); }
.btn-submit {
    width: 100%;
    background: var(--blue);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    margin-top: 8px;
}
.btn-submit:hover { background: var(--blue-2); }
.btn-submit:disabled { background: #9ca3af; cursor: not-allowed; }

/* Consent */
.consent { margin: 18px 0 22px; }
.check-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #374151;
}
.check-line input { margin-top: 3px; }

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.85);
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
}
.footer-tag { max-width: 720px; margin: 0 auto 14px; line-height: 1.6; }
.footer-contact { margin-bottom: 12px; }
.footer-copy { color: rgba(255,255,255,.55); font-size: 12px; }
