*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: 'PT Sans', 'Open Sans', system-ui, sans-serif;
}
.head-logo.head-text {
  letter-spacing: 1px;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap; 
  font-family: 'Open Sans',sans-serif;
  text-decoration: none;
  margin: 0;
  
}

@media (max-width: 800px) {
    .head-logo.head-text {
        display: none;
    }
}
@media (max-width: 1100px) {
    .head-logo.head-text.earlyhide {
        display: none;
    }
}
.accent {
    color: #00386e; /* Тёмно-синий */
}
.accent2 {
    color: #000000; 
}
.background-site {
    min-height: calc(100vh - 200px);
      padding: 60px 20px;
      background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('images/4_traced.png');
      background-position: 50% 50%;
      background-repeat: no-repeat;
      background-size: cover;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: #ffffff;
    color: #000000 !important;
    display: flex;              
    align-items: center;        
    justify-content: space-between;
    padding: 3px 5px;
    
    flex-wrap: nowrap;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;     
    width: 100%;
    border-bottom: 2px dashed #d1d5db;
}
.header-left { display: flex; align-items: center; gap: 16px;line-height: 1; }
.header-right { display: flex; align-items: center; gap: 16px;line-height: 1; }
.logo { height: 48px; width: auto; display: block;padding-top: 10px 0px;
padding-bottom: 10px 10px;}

.profile-dropdown { position: relative; }

.user-avatar {
    cursor: pointer;
    background: #0659b8;
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
    padding: 0;
    transition: opacity 0.15s;
}
.user-avatar:hover { opacity: 0.85; }

.dropdown-menu {
    position: absolute;
    top: 120%; right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1001;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    width: 100%;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
    border: none;
    background: none;
    cursor: pointer;
}
.dropdown-item:hover { background: #f3f4f6; }
.dropdown-item.logout-link {
    color: #dc2626;
    border: none;
    background: none;
    cursor: pointer;
}
.dropdown-item.dropdown-item.logout-link:hover { background: #f3f4f6; }
.header-btn-primary {
    background-color: #00386e; /* Синий фон */
    color: #ffffff;            /* Белый текст */
    border: none;
    padding: 12px 24px;
    padding-top: 10px 0px;
    padding-bottom: 10px 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0;          /* Строгий прямоугольник. Поставь 4px, если нужны скругления */
    transition: background-color 0.2s;
    white-space: nowrap;
    font-family: 'Open Sans',sans-serif; 
}

.header-btn-primary:hover {
    background-color: #044794; /* Темнее при наведении */
}

a {
    text-decoration: none;
}
.heading-text {
    font-size: 50px;
    font-weight: 500;
    display: inline-block;
    margin: 30px 0;
}
.heading-text2 {
    font-size: 30px;
    font-weight: 500;
    display: inline-block;
    margin: 20px 0;
}

.heading-text-hard {
    font-size: 30px;
    font-weight: 500;
    display: inline-block;
    margin: 20px 0;
    padding-bottom: 50px;
}
@media (min-width: 800px) {
    .heading-text {
        display: none;
    }
    
}
@media (min-width: 1100px) {
    
    .heading-text2 {
        display: none;
    }
}

.site-footer {
    background-color: rgb(0, 56, 110);
    color: #ffffff;
    text-align: center;
    padding: 28px 20px;
    font-family: 'PT Sans', 'Open Sans', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
.site-footer p { margin: 0; }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.site-footer { margin-top: auto; }

.privacy-box { text-align: left !important; max-width: 700px; padding: 40px; }
.privacy-box h1 { margin-bottom: 24px; }
.privacy-box h2 { margin-top: 24px; margin-bottom: 12px; font-size: 1.2rem; }
.privacy-box ul { margin-left: 20px; margin-bottom: 16px; }
.privacy-box p { margin-bottom: 12px; line-height: 1.6; }
.text-muted { font-size: 0.85rem; color: #6b7280; }

.privacy-box h2 {
    text-align: center;
    margin-bottom: 24px;
}