:root {
    --brand: #9b2c2c;
    --brand-dark: #7d1f1f;
    --brand-soft: rgba(155, 44, 44, 0.08);
    --brand-line: rgba(155, 44, 44, 0.16);

    --bg: #f2eee8;
    --surface: #fcfbf9;
    --surface-2: #f7f3ee;

    --text: #1f2430;
    --muted: #666d78;

    --success: #2f7d4a;
    --success-soft: rgba(47, 125, 74, 0.10);

    --warning: #b7791f;
    --warning-soft: rgba(183, 121, 31, 0.10);

    --danger: #b94a48;
    --danger-soft: rgba(185, 74, 72, 0.10);

    --shadow: 0 10px 24px rgba(31, 36, 48, 0.08);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f2eee8;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

.brand-header {
    padding: 12px 0 8px;
}

.brand-header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo img {
    height: 100px;
    width: auto;
    display: block;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.lang-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lang-switch a {
    border: 1px solid var(--brand-line);
    background: var(--surface);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.lang-switch a:hover,
.lang-switch a.is-active {
    background: var(--brand-soft);
    border-color: var(--brand);
}

.card {
    background: var(--surface);
    border: 1px solid rgba(31, 36, 48, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
}

.btn-primary:hover {
    opacity: .96;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge--new { background: var(--warning-soft); color: var(--warning); }
.badge--offer_sent { background: rgba(59,130,246,.10); color: #2563eb; }
.badge--confirmed { background: var(--success-soft); color: var(--success); }
.badge--rejected,
.badge--danger,
.badge--cancelled { background: var(--danger-soft); color: var(--danger); }

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(47, 125, 74, 0.10);
    color: var(--success);
    border-color: rgba(47, 125, 74, 0.22);
}

.alert-error {
    background: rgba(185, 74, 72, 0.10);
    color: var(--danger);
    border-color: rgba(185, 74, 72, 0.22);
}

.footer-brand {
    margin-top: 34px;
    padding: 18px 0 36px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 800px) {
    .brand-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo img {
        height: 72px;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image: url('/images/bg-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;

    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}
