/* ===== НОВАЯ ЦВЕТОВАЯ ПАЛИТРА IТЕХНО ===== */
:root {
    --it-primary: #1a4c8c;
    --it-primary-dark: #0f3363;
    --it-primary-light: #dbe8f7;
    --it-accent: #e85d4a;
    --it-accent-dark: #c94a38;
    --it-accent-soft: #fcedea;
    --it-bg: #f2f6fc;
    --it-surface: #ffffff;
    --it-text: #1a2a4a;
    --it-muted: #5a6e8a;
    --it-border: #dce4ef;
    --it-shadow: 0 20px 60px rgba(26, 76, 140, 0.12);
    --it-shadow-sm: 0 8px 24px rgba(26, 76, 140, 0.08);
    --it-radius: 28px;
    --it-radius-sm: 16px;
    --it-radius-xs: 12px;
    --it-container: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--it-bg);
    color: var(--it-text);
    line-height: 1.6;
    background: radial-gradient(circle at 10% 20%, rgba(26, 76, 140, 0.06) 0%, transparent 300px),
                radial-gradient(circle at 90% 80%, rgba(232, 93, 74, 0.06) 0%, transparent 300px),
                var(--it-bg);
}

.container {
    width: 100%;
    max-width: var(--it-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ШАПКА ===== */
header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--it-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--it-primary), var(--it-accent));
    border-radius: 12px;
    position: relative;
}

.logo-icon:after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 6px;
    right: 6px;
    opacity: 0.8;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--it-primary);
    letter-spacing: -0.04em;
}
.logo span {
    color: var(--it-accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--it-text);
    font-weight: 600;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s;
}

.nav-menu a:hover {
    background: var(--it-primary-light);
    color: var(--it-primary);
}

.contact-btn {
    background: var(--it-accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.contact-btn:hover {
    background: var(--it-accent-dark);
    transform: scale(1.02);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--it-text);
}

/* ===== ГЕРОЙ ===== */
.hero {
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    right: -80px;
    top: 40px;
    width: 280px;
    height: 280px;
    background: var(--it-accent);
    opacity: 0.06;
    border-radius: 50%;
    transform: rotate(20deg);
}

.hero:after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    background: var(--it-primary);
    opacity: 0.05;
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 80px);
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--it-primary-dark);
    font-weight: 950;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.hero-lead {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.4;
    color: var(--it-muted);
    max-width: 660px;
    margin: 0 0 28px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--it-accent);
    color: #fff;
    box-shadow: 0 12px 30px rgba(232, 93, 74, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 18px 36px rgba(232, 93, 74, 0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--it-primary);
    border: 2px solid var(--it-border);
    box-shadow: 0 8px 20px rgba(26,76,140,0.06);
}

.btn-secondary:hover {
    border-color: var(--it-primary);
}

.hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats span {
    background: #fff;
    border: 1px solid var(--it-border);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    color: var(--it-primary);
    font-size: 14px;
    box-shadow: var(--it-shadow-sm);
}

.hero-card {
    background: linear-gradient(145deg, var(--it-primary-dark), var(--it-primary));
    color: #fff;
    border-radius: var(--it-radius);
    padding: 32px;
    box-shadow: 0 30px 60px rgba(26,76,140,0.25);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(-60px);
    animation: cardDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.1s;
}

@keyframes cardDrop {
    0% { opacity: 0; transform: translateY(-60px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-card:before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    pointer-events: none;
}

.hero-card:after {
    content: "→";
    position: absolute;
    right: 24px;
    top: 100px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255,255,255,0.08);
}

.hero-card h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
    position: relative;
    z-index: 2;
}

.hero-card p {
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0 0 18px;
    position: relative;
    z-index: 2;
}

.hero-card .btn-light {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    align-self: flex-start;
    position: relative;
    z-index: 2;
    transition: background 0.2s;
}

.hero-card .btn-light:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== ОБЩИЕ БЛОКИ ===== */
.section {
    padding: 70px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.kicker {
    display: inline-block;
    background: var(--it-accent);
    color: #fff;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--it-primary-dark);
    font-weight: 950;
    margin: 0;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: #fff;
    border-radius: var(--it-radius-sm);
    padding: 28px;
    border: 1px solid var(--it-border);
    box-shadow: var(--it-shadow-sm);
    transition: transform 0.2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-card .icon {
    font-size: 36px;
    color: var(--it-accent);
    margin-bottom: 16px;
    display: block;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--it-muted);
    line-height: 1.5;
}

/* ===== НАПРАВЛЕНИЯ ===== */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-items: center;
}

.subject-card {
    background: #fff;
    border-radius: var(--it-radius-sm);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--it-border);
    box-shadow: var(--it-shadow-sm);
    transition: transform 0.2s;
    width: 100%;
    max-width: 280px;
}

.subject-card:hover {
    transform: translateY(-4px);
}

.subject-card .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.subject-card h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.subject-card p {
    color: var(--it-muted);
    font-size: 15px;
    line-height: 1.4;
}

/* ===== НОВОСТИ (исправлено: фото без сильной обрезки, единообразный размер) ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Адаптив */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    background: #fff;
    border-radius: var(--it-radius-sm);
    overflow: hidden;
    border: 1px solid var(--it-border);
    box-shadow: var(--it-shadow-sm);
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-image {
    height: 200px; /* фиксированная высота, но фото центрируется и обрезается аккуратно */
    background: var(--it-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cover аккуратно заполняет блок, центрируя фото */
    position: absolute;
    top: 0;
    left: 0;
}

.news-image i {
    position: relative;
    z-index: 1;
    font-size: 48px;
    color: var(--it-primary-light);
    opacity: 0.5;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--it-accent);
    font-weight: 700;
    font-size: 13px;
}

.news-card h3 {
    font-size: 20px;
    margin: 8px 0;
}

.news-card p {
    color: var(--it-muted);
    margin-bottom: 14px;
}

.read-more {
    color: var(--it-primary);
    font-weight: 700;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===== CTA БЛОК ===== */
.cta-block {
    background: linear-gradient(145deg, var(--it-primary-dark), var(--it-primary));
    border-radius: var(--it-radius);
    padding: 50px 40px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: 0 30px 60px rgba(26,76,140,0.2);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.cta-block:before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-block:after {
    content: "?";
    position: absolute;
    right: 40px;
    bottom: 20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.cta-content .kicker {
    background: var(--it-accent);
    display: inline-block;
    margin-bottom: 12px;
}

.cta-content h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
    color: #ffffff;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-actions .btn-white {
    background: #fff;
    color: var(--it-primary-dark);
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cta-actions .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.cta-phone {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.cta-phone:hover {
    opacity: 1;
}

/* ===== ПАРТНЁРЫ (белый текст, без подчёркивания) ===== */
.partners-section {
    background: linear-gradient(135deg, var(--it-primary-dark), var(--it-primary));
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.partners-section:before,
.partners-section:after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-section:before {
    left: 0;
    background: linear-gradient(to right, var(--it-primary-dark), transparent);
}

.partners-section:after {
    right: 0;
    background: linear-gradient(to left, var(--it-primary), transparent);
}

.partners-section h2 {
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 950;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.partners-section .subtitle {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 40px;
}

.partners-slider {
    overflow: hidden; /* скрываем выходящее за границы */
    position: relative;
    max-width: 100%;
    padding: 10px 20px;
    /* маска для плавного затемнения по краям */
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: scrollPartners 28s linear infinite;
    width: max-content;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 140px;
    text-decoration: none;
    color: #fff;
}

.partner-link {
    text-decoration: none !important;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.partner-link:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.partner-item:hover .partner-logo {
    background: rgba(255,255,255,0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.partner-name {
    margin-top: 12px;
    font-weight: 700;
    font-size: 15px;
    opacity: 0.9;
    color: #fff !important;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== ПОДВАЛ ===== */
footer {
    background: var(--it-primary-dark);
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--it-accent);
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #aaa;
    font-size: 14px;
}

/* ===== МОДАЛКИ ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--it-radius);
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--it-accent);
}

.modal h2 {
    color: var(--it-primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--it-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--it-border);
    border-radius: var(--it-radius-xs);
    font-size: 15px;
    background: #fafcff;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--it-primary);
}

.phone-input.invalid {
    border-color: #ff4757;
    background-color: #fff5f5;
}

.submit-btn {
    width: 100%;
    background: var(--it-accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: var(--it-accent-dark);
}

/* Auth tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--it-border);
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s;
    color: var(--it-muted);
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    color: var(--it-primary);
    border-bottom-color: var(--it-primary);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--it-border);
}

.auth-link {
    color: var(--it-primary);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.auth-link:hover {
    text-decoration: underline;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.password-match {
    color: #1dd1a1;
    font-size: 12px;
    margin-top: 5px;
}

.password-mismatch {
    color: #ff4757;
    font-size: 12px;
    margin-top: 5px;
}

.social-auth {
    text-align: center;
    margin: 20px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.social-icon.vk {
    background: #4a76a8;
}

.social-icon.yandex {
    background: #ff0000;
}

.user-type-group {
    margin-bottom: 20px;
}

.user-type-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 4px;
    border: 2px solid var(--it-border);
}

.user-type-option {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.user-type-option.active {
    background: linear-gradient(135deg, var(--it-primary), var(--it-accent));
    color: white;
    box-shadow: 0 2px 8px rgba(26,76,140,0.3);
}

.user-type-option:not(.active):hover {
    background: rgba(26,76,140,0.1);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-card {
        min-height: 240px;
    }
    .cta-block {
        flex-direction: column;
        text-align: center;
    }
    .cta-actions {
        justify-content: center;
    }
}

/* Планшеты и небольшие ноутбуки – увеличиваем отступы для шапки */
@media (min-width: 769px) and (max-width: 1118px) {
    .header-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 14px 16px; /* вместо 14px 0 */
        flex-wrap: wrap;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        padding: 16px 0;
        border-top: 1px solid var(--it-border);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        margin: 6px 0;
    }
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 36px;
    }
    .benefits-grid,
    .subjects-grid,
    .news-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }
    .subject-card {
        max-width: 100%;
    }
    .partners-track {
        gap: 20px;
        animation-duration: 22s;
    }
    .partner-item {
        flex: 0 0 100px;
    }
    .partner-logo {
        width: 80px;
        height: 80px;
    }
    .cta-block {
        padding: 30px 20px;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-phone {
        font-size: 18px;
    }
    .partners-section:before,
    .partners-section:after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }
    .hero-card h2 {
        font-size: 26px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    .modal-content {
        padding: 20px;
    }
    .cta-content h2 {
        font-size: 26px;
    }
    .partners-section:before,
    .partners-section:after {
        width: 30px;
    }
}

/* Дополнительные утилиты */
.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--it-muted);
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Вспомогательные классы для совместимости с существующими скриптами */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--it-primary-dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--it-muted);
    max-width: 600px;
    margin: 0 auto;
}


