*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family: Arial, sans-serif;
background:#f5f7fb;
color:#222;
}

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

a{
text-decoration:none;
color:inherit;
}

.main{
padding-top:40px;
}

.btn-primary{
background:#1d4ed8;
color:white;
border:none;
padding:12px 18px;
border-radius:8px;
cursor:pointer;
font-weight:600;
}

.btn-primary:hover{
background:#153bb0;
}

select{
padding:10px;
border-radius:8px;
border:1px solid #ccc;
}

html {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}

.rd-header {
background: #ffffff;
border-bottom: 1px solid #e5e7eb;
position: relative;
z-index: 50;
}

.rd-header__inner {
max-width: 1280px;
margin: 0 auto;
padding: 14px 20px;
display: flex;
align-items: center;
gap: 18px;
}

.rd-header__logo {
display: inline-flex;
align-items: center;
gap: 12px;
text-decoration: none;
flex-shrink: 0;
}

.rd-header__logo img {
width: 36px;
height: 36px;
border-radius: 10px;
display: block;
}

.rd-header__logo span {
font-size: 24px;
line-height: 1;
font-weight: 800;
color: #1e3a8a;
}

.rd-header-nav {
display: flex;
flex: 1;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 10px;
min-width: 0;
}

.rd-header-nav a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 0 14px;
border-radius: 12px;
background: #f3f6fb;
color: #374151;
text-decoration: none;
font-size: 14px;
font-weight: 700;
white-space: nowrap;
transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rd-header-nav a:hover {
background: #e8eefc;
color: #1d4ed8;
transform: translateY(-1px);
}

.rd-header__actions {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}

.rd-header__submit {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0 18px;
border-radius: 12px;
background: #1e40af;
color: #ffffff;
text-decoration: none;
font-size: 15px;
font-weight: 800;
white-space: nowrap;
box-shadow: 0 8px 18px rgba(30, 64, 175, 0.18);
}

.rd-header__submit:hover {
background: #1d4ed8;
}

.rd-mobile-toggle {
display: none;
width: 48px;
height: 48px;
border: 0;
border-radius: 14px;
background: #eef2ff;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 5px;
cursor: pointer;
flex-shrink: 0;
}

.rd-mobile-toggle span {
display: block;
width: 22px;
height: 3px;
border-radius: 2px;
background: #1e3a8a;
}

.rd-mobile-menu {
display: none;
max-width: 1280px;
margin: 0 auto;
padding: 0 20px 16px;
}

.rd-mobile-menu.is-open {
display: flex;
flex-direction: column;
gap: 12px;
}

.rd-mobile-menu a {
display: flex;
align-items: center;
justify-content: center;
min-height: 56px;
padding: 0 16px;
border-radius: 18px;
background: #f3f6fb;
color: #243b63;
text-decoration: none;
font-size: 17px;
font-weight: 700;
}

.rd-mobile-menu__submit {
background: #1e40af !important;
color: #ffffff !important;
}

@media (max-width: 980px) {
.rd-header-nav,
.rd-header__submit {
display: none;
}

.rd-mobile-toggle {
display: inline-flex;
}

.rd-header__inner {
padding: 16px 20px;
justify-content: space-between;
}

.rd-header__logo span {
font-size: 22px;
}
}

@media (max-width: 640px) {
.rd-header__inner {
padding: 14px 16px;
}

.rd-mobile-menu {
padding: 0 16px 14px;
}

.rd-header__logo span {
font-size: 20px;
}

.rd-header__logo img {
width: 34px;
height: 34px;
}

.rd-mobile-toggle {
width: 46px;
height: 46px;
}
}