:root {
    --primary: #ad1457;
    --primary-dark: #880e4f;
    --primary-light: #f8bbd9;
    --primary-bg: linear-gradient(135deg, #fff5f7 0%, #fce4ec 100%);
    --text-primary: #880e4f;
    --text-secondary: #ad1457;
    --text-light: #f8bbd9;
    --text-white: #ffffff;
    --text-error: #d32f2f;
    --text-success: #388e3c;
    --text-disabled: #9e9e9e;
    --bg-white: #ffffff;
    --bg-light: #fffbfc;
    --bg-error: #ffebee;
    --bg-success: #e8f5e8;
    --bg-disabled: #f5f5f5;
    --border-light: #f8bbd9;
    --border-primary: #ad1457;
    --border-error: #d32f2f;
    --border-success: #388e3c;
    --border-disabled: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(173, 20, 87, 0.1);
    --shadow-md: 0 4px 15px rgba(173, 20, 87, 0.1);
    --shadow-lg: 0 8px 25px rgba(173, 20, 87, 0.15);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    --space-3xl: 30px;
    --space-4xl: 40px;
    --font-family: 'Roboto', sans-serif;
    --text-xs: 11px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-lg: 15px;
    --text-xl: 16px;
    --text-2xl: 22px;
    --text-3xl: 30px;
    --text-4xl: 35px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: var(--text-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover { color: var(--primary-dark); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-error { color: var(--text-error); }
.text-success { color: var(--text-success); }
.text-disabled { color: var(--text-disabled); }

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    background: var(--bg-light);
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: var(--font-family);
}



select.form-control {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    padding-right: var(--space-4xl);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-control:focus {
    outline: none;
    border-color: var(--border-primary);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-control:disabled {
    background: var(--bg-disabled);
    border-color: var(--border-disabled);
    color: var(--text-disabled);
    cursor: not-allowed;
    opacity: 0.7;
}

.error .form-control {
    border-color: var(--border-error);
    background: var(--bg-error);
}

.success .form-control {
    border-color: var(--border-success);
    background: var(--bg-success);
}

.error-text {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-error);
}

.helper-text {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    opacity: 0.7;
}

.input-group {
    position: relative;
}

.input-number {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: var(--text-xs);
    z-index: 2;
    line-height: 1;
}

.checkbox, .radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--text-base);
    color: var(--text-primary);
}

.checkbox input[type="checkbox"],
.radio input[type="radio"] {
    margin-right: var(--space-md);
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn--primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn--primary:hover { background: var(--primary-dark); }

.btn--outline {
    background: var(--bg-light);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.btn--outline:hover { border-color: var(--border-primary); }

.btn--outline.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn:disabled {
    background: var(--bg-disabled);
    border-color: var(--border-disabled);
    color: var(--text-disabled);
    cursor: not-allowed;
}

.btn-group {
    display: flex;
    gap: var(--space-sm);
}

.btn-group .btn {
    flex: 1;
    padding: var(--space-md) var(--space-sm);
    font-size: var(--text-sm);
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.container {
    max-width: 35vw; /* Было 33.333vw */
    min-width: 500px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.header {
    background: var(--primary);
    padding: var(--space-md) 0;
    text-align: center;
    margin-bottom: var(--space-md);
    width: 100%; /* Только это добавляем */
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    height: 32px;
}

.logo-badge {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--text-white);
}

.logo-row h1 {
    font-size: 32px; /* Было var(--text-3xl) */
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin: 0;
}

.tagline {
    font-size: var(--text-xs);
    color: var(--text-light);
    font-weight: 400;
    line-height: 1;
    margin: 0;
    display: inline-block;
    width: fit-content;
    margin-left: 28px; /* ширина PT + отступ */
}

.hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.hero h2 {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.form-group { margin-bottom: var(--space-xl); }
label { margin-bottom: var(--space-sm); }
.error-text { margin-top: var(--space-xs); }
.helper-text { margin-top: var(--space-xs); }
.input-group { margin-bottom: var(--space-xl); }
.checkbox, .radio { margin-bottom: var(--space-md); }
.btn-group { margin-bottom: var(--space-2xl); }
.card { margin-bottom: var(--space-xl); }

