* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-light: #e6f0fa;
    --primary-soft: #b8d9f0;
    --primary-blue: #5f9fd0;
    --primary-dark: #1f4870;
    --white: #ffffff;
    --shadow-md: 0 12px 28px rgba(0, 80, 120, 0.12);
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #eef4fc 0%, #e2ecf5 100%);
    margin: 0;
    padding: 32px 20px;
    line-height: 1.5;
    color: #1a2f3f;
}

.partners-container {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 48px 48px 40px 40px;
    box-shadow: var(--shadow-md);
    padding: 40px 48px;
}

/* Якорная навигация (оглавление) */
.anchor-nav {
    background: #f0f6fe;
    border-radius: 60px;
    padding: 16px 28px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    border: 1px solid #d4e4f2;
}

.anchor-nav a {
    color: #1f5f8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: 40px;
    transition: all 0.2s;
}

.anchor-nav a:hover {
    background: #5f9fd0;
    color: white;
}

.breadcrumbs {
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: #7a9bc2;
    font-size: 1.2rem;
}

.breadcrumbs a {
    text-decoration: none;
    color: #2c628b;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: #1a4468;
    text-decoration: underline;
}

.breadcrumbs span {
    color: #1f4870;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(125deg, #1f4870, #2e6b9e, #4a8fc9);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    text-align: center;
}

.subhead-gradient {
    text-align: center;
    font-size: 1.2rem;
    color: #2f5b82;
    max-width: 750px;
    margin: 0 auto 30px auto;
    border-bottom: 2px solid #d4e3f0;
    display: inline-block;
    width: auto;
    padding-bottom: 12px;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 45px auto;
    font-size: 1.1rem;
    color: #2c4a6e;
    background: #f6faff;
    padding: 20px 28px;
    border-radius: 48px;
    border: 1px solid #e2eff9;
}

.partner-card {
    margin: 48px 0 40px;
    scroll-margin-top: 100px;
}

.partner-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #5f9fd0, #b8d9f0, #5f9fd0, transparent);
    width: 100%;
    margin: 20px 0 32px 0;
    border-radius: 4px;
}

.partner-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(145deg, #1f4870, #2a6088);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    border-left: 6px solid var(--primary-blue);
    padding-left: 22px;
    margin: 0;
}

.partner-badge {
    background: linear-gradient(135deg, #eef3fc, #e3edf7);
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f5f8a;
    border: 1px solid #caddf0;
}

.partner-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 20px 0 28px;
}

.partner-text {
    flex: 2;
    min-width: 260px;
}

.partner-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #1f3b4c;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #25658b;
    margin: 20px 0 12px 0;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 18px 0 10px;
}

.brand-tag {
    background: #ecf5fd;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1d6290;
    border: 1px solid #cde0ef;
}

.partner-address {
    background: #f2f8fe;
    padding: 12px 20px;
    border-radius: 28px;
    font-size: 0.95rem;
    margin: 16px 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #5f9fd0;
}

.button-3d {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 38px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 60px;
    background: linear-gradient(145deg, #3c8ed9, #286fb0);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 100, 180, 0.3);
    transition: all 0.25s ease;
}

.button-3d:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(0, 100, 180, 0.4);
    background: linear-gradient(145deg, #529de8, #2f78bb);
}

.partner-btn-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
}

.btn-phone {
    background: linear-gradient(145deg, #3f9e6e, #2b7a55);
    box-shadow: 0 8px 20px rgba(40, 120, 70, 0.25);
}

.btn-phone:hover {
    background: linear-gradient(145deg, #54b37f, #318f64);
}

.partners-note {
    background: linear-gradient(105deg, #eef4fc 0%, #ffffff 100%);
    border-radius: 32px;
    padding: 28px 32px;
    margin: 48px 0 30px;
    border: 1px solid #cde0f0;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
}

.trust-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-footer {
    background: linear-gradient(115deg, #e9f2fa, #ffffff);
    border-radius: 36px;
    padding: 28px 32px;
    margin: 55px 0 20px;
    text-align: center;
    border: 1px solid #d7e7f5;
}

.home-btn {
    display: inline-block;
    background: #5f9fd0;
    padding: 12px 32px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 12px;
}

.home-btn:hover {
    background: #3678b0;
    transform: translateY(-2px);
}

.emoji-icon {
    font-size: 1.3rem;
}

.contact-link {
    text-decoration: none;
    font-weight: 600;
    color: #1f4870;
    border-bottom: 1px dashed #5f9fd0;
}

.contact-link:hover {
    color: #0c3254;
    border-bottom: 2px solid #2f6c9e;
}

@media (max-width: 780px) {
    .partners-container {
        padding: 24px 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
        padding-left: 14px;
    }
    
    .partner-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .button-3d {
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
    }
    
    .partner-btn-wrap {
        justify-content: stretch;
    }
    
    .trust-list {
        flex-direction: column;
    }
    
    .anchor-nav {
        padding: 12px 20px;
        gap: 12px;
    }
    
    .anchor-nav a {
        font-size: 0.85rem;
    }
}