/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;   /* общий отступ для секций */
}

/* Для шапки — без левого/правого отступа */
.header .container {
    padding-left: 0;
    padding-right: 0;
}


/* ========================================
   ПРОФУЧЕТ - ГЛАВНАЯ СТРАНИЦА (CLICKHOUSE STYLE)
   ======================================== */
 
  .calendar-section {
            padding: 60px 0 80px; /* Увеличенные отступы */
            margin: 40px 0;
        }
  .calendar-btn {
            padding: 8px 16px;
            margin: 0 4px;
            border: 2px solid #ddd;
            background: white;
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.3s;
        }
        .calendar-btn:hover {
            background: #f8f9fa;
        }
        .calendar-btn.active {
            background: #007bff;
            color: white;
            border-color: #007bff;
        }
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
            margin-top: 20px;
        }
        .day-cell {
            padding: 12px 4px;
            text-align: center;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
        }
        .day-cell:hover {
            background: #f8f9fa;
            transform: scale(1.05);
        }
        .day-cell.today {
            background: #007bff;
            color: white;
        }
        .day-cell.holiday {
            background: #fff3cd;
            color: #856404;
            font-weight: bold;
        }
        .day-cell.tax-deadline {
            background: #f8d7da;
            color: #721c24;
            font-weight: bold;
            border: 2px solid #dc3545;
        }
        .day-header {
            font-weight: bold;
            color: #495057;
            padding: 12px 4px;
            text-align: center;
            background: #f8f9fa;
        }
        .empty {
            background: transparent;
        }
        .calendar-main.year-view { grid-template-columns: repeat(4, 1fr); }
        .calendar-main.quarter-view { grid-template-columns: repeat(2, 1fr); }




   .filler-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f4f0 50%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.filler-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(44,95,74,0.05) 0%, transparent 50%);
}

.filler-image {
    position: relative;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.filler-image img {
    width: 100%;
    max-width: 900px;  /* ✅ Широкое фото на десктопе */
    height: 400px;     /* ✅ Высокое */
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.3);
}

.filler-quote {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    padding: 20px 45px;
    border-radius: 30px;
    font-size: 1.25rem;
    font-style: italic;
    color: #2c5f4a;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
}

@media (max-width: 1024px) {
    .filler-image img {
        max-width: 750px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .filler-section {
        padding: 60px 0;
    }
    
    .filler-image img {
        max-width: 100%;  /* ✅ На мобилках на всю ширину */
        height: 280px;
        border-radius: 20px;
    }
    
    .filler-quote {
        font-size: 1.15rem;
        padding: 18px 35px;
        bottom: -30px;
        max-width: 90%;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .filler-image img {
        height: 240px;
        border-radius: 16px;
    }
}


   
/* HEADER */
.header {
    background: #2E8B57;
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(46,139,87,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;          /* или нужный цвет текста */
    font-weight: 700;
    margin-left: 0;          /* прижать к левому краю */
}

.logo-img {
    width: 40px;             /* подгони под макет */
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    padding: 8px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: rgba(255,255,255,0.1);
}

.nav a.active {
    background: rgba(255,255,255,0.2);
    font-weight: 600;
}

.auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary, .btn-primary {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-primary {
    background: #ffffff;
    color: #2E8B57;
}

/* HERO - CLICKHOUSE STYLE */
.hero {
    padding: 140px 0 120px;
    background: linear-gradient(135deg, #e9f5ef 0%, #d4ebe2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(46,139,87,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31,94,59,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 26px;
    color: #1F5E3B;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(46,139,87,0.4);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(46,139,87,0.5);
}

.btn-hero-secondary {
    background: transparent;
    color: #2E8B57;
    border: 2px solid #2E8B57;
}

.btn-hero-secondary:hover {
    background: #2E8B57;
    color: #ffffff;
    transform: translateY(-2px);
}

/* NAV GRID */
.nav-grid-section {
    padding: 100px 0;
    background: #ffffff;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 60px 30px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(46,139,87,0.2);
    border-radius: 24px;
    text-decoration: none;
    color: #1F5E3B;
    transition: all 0.4s ease;
    text-align: center;
    height: 280px;
    justify-content: center;
}

.nav-link:hover {
    transform: translateY(-12px);
    background: #ffffff;
    border-color: #2E8B57;
    box-shadow: 0 30px 60px rgba(46,139,87,0.2);
}

.nav-icon {
    font-size: 72px;
    background: linear-gradient(135deg, #2E8B57, #1F5E3B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link span {
    font-size: 24px;
    font-weight: 700;
    color: #1F5E3B;
}

/* NEWS SECTION */
.news-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-bot-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-bot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.news-bot-title {
    font-size: 44px;
    font-weight: 800;
    color: #1F5E3B;
    background: linear-gradient(135deg, #2E8B57, #1F5E3B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-bot-status {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f0f8f4, #e8f5ee);
    padding: 16px 28px;
    border-radius: 50px;
    border: 1px solid rgba(46,139,87,0.2);
    color: #2E8B57;
    font-weight: 600;
    font-size: 15px;
}

.bot-indicator {
    width: 14px;
    height: 14px;
    background: #2E8B57;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

.news-item {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46,139,87,0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    height: 260px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.news-item:hover {
    transform: translateY(-8px);
    border-color: #2E8B57;
    box-shadow: 0 25px 60px rgba(46,139,87,0.15);
}

.news-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-item h3 a {
    color: inherit;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: #2E8B57;
}

.news-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: auto;
    font-size: 16px;
}

.news-date {
    font-size: 14px;
    color: #999;
}

/* FOOTER */
.footer {
    background: linear-gradient(180deg, #2E8B57 0%, #1F5E3B 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

/* АДАПТИВНОСТЬ ОСНОВНЫХ БЛОКОВ */
@media (max-width: 1024px) {
    .nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    .news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    .hero-subtitle {
        font-size: 22px;
    }
    .news-bot-title {
        font-size: 36px;
    }
    .nav-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .news-bot-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        gap: 16px;
    }
}

/* Общие правки для улучшенного дизайна главной страницы */

.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #e9f5ef 0%, #d4ebe2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 54px;
    font-weight: 900;
    color: #2E8B57;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 24px;
    color: #1F5E3B;
    margin-bottom: 48px;
    font-weight: 600;
}

/* Кнопки в герое */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: white;
    border: none;
    box-shadow: 0 12px 30px rgba(46,139,87,0.3);
}

.btn-primary:hover {
    box-shadow: 0 18px 40px rgba(46,139,87,0.5);
    transform: translateY(-4px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #2E8B57;
    color: #2E8B57;
}

.btn-secondary:hover {
    background: #2E8B57;
    color: white;
}

/* Навигационные карточки в стиле стекла */
.nav-cards-section {
    padding: 80px 0;
    background: #ffffff;
}

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(46,139,87,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(46,139,87,0.25);
    border-color: #2E8B57;
}

.nav-card-image {
    height: 140px;
    width: 140px;
    background: linear-gradient(45deg, #2E8B57, #1F5E3B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.nav-card-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 10px;
}

.nav-card-content p {
    color: #444;
    font-size: 16px;
    line-height: 1.5;
}

/* Новости — карточки */
.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-bot-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-bot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-bot-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F5E3B;
}

.news-bot-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e3f2ed, #c8e9db);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: #2E8B57;
    box-shadow: 0 4px 12px rgba(46,139,87,0.15);
}

.bot-indicator {
    width: 14px;
    height: 14px;
    background: #2E8B57;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.news-list {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.news-item {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-left: 6px solid #2E8B57;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(46,139,87,0.2);
}

.news-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 15px;
}

.news-item h3 a {
    color: inherit;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: #2E8B57;
}

.news-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.news-date {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

/* Футер */
.footer {
    background: linear-gradient(180deg, #2E8B57 0%, #1F5E3B 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

/* Адаптив */
@media (max-width: 768px) {
    .nav-cards-grid {
        grid-template-columns: 1fr;
    }
    .news-list {
        grid-template-columns: 1fr;
    }
    .nav {
        gap: 12px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .subtitle {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Галерея */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 100px auto;
    max-width: 900px;
    justify-content: center;
}

.gallery-item {
    height: 280px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(46,139,87,0.15);
}

/* Миссия */
.mission-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 1;
}

.mission-container {
    position: relative;
    z-index: 2;
}

.mission-title {
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 90px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 50px 35px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.5), #ffffff);
}

.mission-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    background: #ffffff;
}

.mission-card-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 3px solid rgba(255,255,255,0.5);
}

.mission-card h4 {
    font-size: 26px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 20px;
    line-height: 1.3;
}

.mission-card p {
    color: #444;
    line-height: 1.7;
    font-size: 16px;
    max-width: 280px;
}

/* Команда */
.team-section {
    background: #f8f9fa;
    padding: 120px 0;
}

.team-heading {
    text-align: center;
    margin-bottom: 80px;
}

.team-heading h3 {
    font-size: 42px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 35px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 4px solid #2E8B57;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(46,139,87,0.15);
}

.team-card-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border: 4px solid #ffffff;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-body h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 12px;
}

.team-card-body .role {
    font-size: 17px;
    color: #2E8B57;
    font-weight: 600;
}

/* Адаптив миссии, команды и галереи */
@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mission-section, .team-section {
        padding: 80px 0;
    }
    .mission-title, .team-heading h3 {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .mission-card, .team-card {
        height: auto;
        padding: 40px 25px;
    }
}

/* Услуги */
.services-section {
    padding: 80px 0;
    background: #ffffff;
}

.services-group-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: #1F5E3B;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e3e3e3;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(46,139,87,0.15);
    transform: translateY(-5px);
}

.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F5E3B;
}

.service-pill {
    padding: 10px 20px;
    border-radius: 25px;
    background: #2E8B57;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.service-card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

.service-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #2E8B57;
    background: white;
    color: #2E8B57;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #2E8B57;
    color: white;
}

/* calc-salary– блоки */

/* ✅ СТИЛИ В СТИЛИСТИКЕ ТВОЕГО САЙТА */
#salary {
    font-size: 20px;
    font-weight: 600;
    text-align: right;
    padding: 18px 20px;
    border: 2px solid rgba(46,139,87,0.3);
    border-radius: 25px;
    background: rgba(255,255,255,0.9);
    color: #2E8B57;
    transition: all 0.3s ease;
    width: 100%;
}

#salary:focus {
    outline: none;
    border-color: #2E8B57;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(46,139,87,0.15);
    transform: translateY(-1px);
}

#salary::-webkit-outer-spin-button,
#salary::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#salary {
    appearance: textfield;
    -moz-appearance: textfield;
}

.calc-btn { 
    padding: 14px 24px;
    border: 2px solid rgba(46,139,87,0.3);
    border-radius: 25px;
    background: rgba(255,255,255,0.9);
    color: #2E8B57;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
}

.calc-btn:hover {
    background: #ffffff;
    border-color: #2E8B57;
    box-shadow: 0 4px 20px rgba(46,139,87,0.15);
    transform: translateY(-1px);
}

.calc-btn.active { 
    background: #2E8B57;
    color: #ffffff;
    border-color: #2E8B57;
}

.calc-btn-large {
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff !important;
    border: none !important;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.calc-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46,139,87,0.3);
}

.period-chip {
    background: rgba(255,255,255,0.9) !important;
    width: 100% !important;
    padding: 18px 20px !important;
    border: 2px solid rgba(46,139,87,0.3) !important;
    border-radius: 25px !important;
    text-align: left !important;
    cursor: pointer !important;
    color: #2E8B57;
    font-weight: 500;
    transition: all 0.3s ease;
}

.period-chip:hover {
    background: #ffffff !important;
    border-color: #2E8B57 !important;
    box-shadow: 0 4px 20px rgba(46,139,87,0.15);
}

/* Карточки результатов */
.calc-card {
    background: rgba(255,255,255,0.95) !important;
    border: 2px solid rgba(46,139,87,0.1) !important;
    border-radius: 25px !important;
}

.calc-result-sum {
    background: linear-gradient(135deg, rgba(233,245,239,0.8) 0%, rgba(212,235,226,0.8) 100%) !important;
    border: 2px solid rgba(46,139,87,0.2) !important;
    border-radius: 25px !important;
}

/* Модалка */
.modal {
    background: #ffffff !important;
    border-radius: 25px !important;
    border: 2px solid rgba(46,139,87,0.2) !important;
}

.pill-btn {
    padding: 10px 18px !important;
    border: 2px solid rgba(46,139,87,0.3) !important;
    border-radius: 25px !important;
    background: rgba(255,255,255,0.9) !important;
    color: #2E8B57 !important;
}

.pill-btn-active {
    background: #2E8B57 !important;
    color: #ffffff !important;
    border-color: #2E8B57 !important;
}


.calc-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.calc-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.calc-block {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    flex: 1 1 320px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.calc-block-wide {
    max-width: 600px;
}

.calc-block h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 25px;
}

.calc-btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px;
    background: #f0f8f4;
    border-radius: 16px;
    border: 1px solid #e0e6ed;
}

.calc-btn {
    flex: 1;
    min-width: 120px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
    background: #ffffff;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.calc-btn.active {
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    border-color: #2E8B57;
    box-shadow: 0 12px 30px rgba(46,139,87,0.3);
}

.calc-list {
    font-size: 18px;
    list-style: none;
}

.calc-list li {
    margin-bottom: 15px;
    list-style: none;
}

.calc-list label {
    font-size: 18px;
    font-weight: 500;
    color: #1F5E3B;
    line-height: 1.5;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.calc-list label:hover {
    background: linear-gradient(135deg, #f0f8f4 0%, #e8f5ee 100%);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(46,139,87,0.15);
}

.calc-list input[type="radio"],
.calc-list input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #2E8B57;
}

/* Блок результата */
.calc-result {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(46,139,87,0.1);
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calc-result-sum {
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #127e3b;
    font-size: 52px;
    font-weight: 800;
    border-radius: 20px;
    padding: 35px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(46,139,87,0.3);
    letter-spacing: -1px;
    position: relative;
    overflow: hidden;
}

.calc-result-sum::before {
    content: '₸';
    font-size: 0.6em;
    position: absolute;
    top: 15px;
    right: 25px;
    opacity: 0.8;
}

.calc-result-info {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(46,139,87,0.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.calc-result-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 15px;
    line-height: 1.3;
}

.calc-result-info p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.calc-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 24px;
    border-radius: 12px;
    background: #0f9d58;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-top: 20px;   /* можно 24–32px, если хочешь больше воздуха */
    width: 100%;        /* опционально: сделать кнопку на всю ширину блока */
    
}


.calc-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(46,139,87,0.4);
}

/* базовый вид строк оставляем */
.calc-row span:first-child {
    font-weight: 500;
}

/* цвета типов налогов */
.tax-soc span:first-child {
    color: #1e88e5; /* синий для СО */
}

.tax-soctax span:first-child {
    color: #e53935; /* красный для СН */
}

.tax-oms span:first-child {
    color: #43a047; /* зелёный для ООСМС */
}

.tax-opv span:first-child {
    color: #8e24aa; /* фиолетовый для ОПВР */
}

/* можно чуть подсветить фон всей строки по типу */
.tax-soc {
    background: rgba(33, 150, 243, 0.04);
}

.tax-soctax {
    background: rgba(244, 67, 54, 0.04);
}

.tax-oms {
    background: rgba(76, 175, 80, 0.04);
}

.tax-opv {
    background: rgba(156, 39, 176, 0.04);
}


/* Адаптив для блока результата */
@media (max-width: 768px) {
    .calc-result {
        padding: 30px 25px;
        gap: 25px;
        margin-top: 30px;
    }
    .calc-result-sum {
        font-size: 42px;
        padding: 25px 30px;
    }
    .calc-result-info {
        padding: 25px 20px;
    }
    .calc-order-btn {
        padding: 18px 30px;
        font-size: 16px;
    }
}

/* Калькулятор – общий стиль */
.calc-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #e9f5ef 0%, #d4ebe2 100%);
    text-align: center;
}

.calc-hero h1 {
    font-size: 54px;
    font-weight: 900;
    color: #2E8B57;
    margin-bottom: 20px;
}

.calc-section {
    padding: 100px 0;
    background: #ffffff;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.calc-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 40px;
    text-align: center;
}

.calc-field {
    margin-bottom: 30px;
}

.calc-field label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1F5E3B;
    margin-bottom: 12px;
}

.calc-field input {
    width: 100%;
    padding: 20px;
    border: 2px solid #e0e6ed;
    border-radius: 16px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.calc-field input:focus {
    outline: none;
    border-color: #2E8B57;
    box-shadow: 0 0 0 3px rgba(46,139,87,0.1);
}

.calc-btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px;
    background: #f0f8f4;
    border-radius: 16px;
    border: 1px solid #e0e6ed;
}

.calc-btn {
    flex: 1;
    min-width: 140px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
    background: #ffffff;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.calc-btn.active {
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    border-color: #2E8B57;
    box-shadow: 0 12px 30px rgba(46,139,87,0.3);
}

.calc-btn:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.calc-list label {
    font-size: 16px;
    font-weight: 500;
    color: #1F5E3B;
    line-height: 1.5;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.calc-list label:hover {
    background: linear-gradient(135deg, #f0f8f4 0%, #e8f5ee 100%);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(46,139,87,0.15);
}

.calc-list input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #2E8B57;
}

.calc-btn-large {
    width: 100%;
    padding: 22px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(46,139,87,0.3);
    margin-top: 20px;
}

.calc-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(46,139,87,0.4);
}

/* Результаты калькулятора */
.calc-results {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(46,139,87,0.1);
}

.calc-breakdown {
    margin-bottom: 40px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 18px;
    border-bottom: 1px solid #e0e6ed;
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row.total {
    font-size: 22px;
    font-weight: 700;
    padding-top: 30px;
}

.calc-row.highlight {
    color: #2E8B57;
}

.positive {
    color: #2E8B57;
    font-weight: 700;
}

.negative {
    color: #e74c3c;
}

.calc-order-btn {
    width: 100%;
    padding: 22px 40px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(46,139,87,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(46,139,87,0.4);
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .calc-result-sum {
        font-size: 42px;
        padding: 25px 30px;
    }
}

/* Кнопка Калькулятор в меню */
.nav-calculator {
    background: #2E8B57;
    border-radius: 999px;
    padding: 8px 24px;
    font-weight: 700;
}

/* Модальное окно выбора калькулятора */
.calc-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.calc-modal.open {
    display: flex;
}

.calc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.calc-modal-window {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align: center;
}

.calc-modal-window h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 12px;
}

.calc-modal-window p {
    font-size: 15px;
    color: #555;
    margin-bottom: 24px;
}

.calc-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.calc-modal-btn {
    display: block;
    padding: 14px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.calc-modal-btn.primary {
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(46,139,87,0.3);
}

.calc-modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(46,139,87,0.4);
}

.calc-modal-btn.secondary {
    background: #ffffff;
    color: #2E8B57;
    border: 2px solid #2E8B57;
}

.calc-modal-btn.secondary:hover {
    background: #2E8B57;
    color: #ffffff;
}

.calc-modal-close {
    border: none;
    background: transparent;
    color: #777;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.calc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-top: 16px;
}

.employer-card {
    margin-top: 24px;
}

.calc-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin: 16px 0 8px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row.total span:last-child {
    font-weight: 700;
}


/* Выпадающее меню под "Калькулятор" */
.nav-calculator-wrapper {
    position: relative;
}

.nav-calculator-link {
    padding: 8px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-calculator-link:hover {
    background: rgba(255,255,255,0.1);
}

.nav-calculator-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 220px;
    display: none;
    z-index: 150;
}

.nav-calculator-dropdown.open {
    display: block;
}

.nav-calculator-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #1F5E3B;
    text-decoration: none;
    white-space: nowrap;
}

.nav-calculator-dropdown a:hover {
    background: #e9f5ef;
    color: #2E8B57;
}

/* Форма заявки */
.request-form {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(46,139,87,0.12);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.request-form label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1F5E3B;
    margin-bottom: 4px;
}

.request-form label input,
.request-form label textarea {
    width: 100%;
    margin-top: 6px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px solid #e0e6ed;
    font-size: 15px;
    transition: all 0.2s ease;
    resize: vertical;
    font-family: inherit;
    background: #f9fbfc;
}

.request-form label textarea {
    min-height: 110px;
}

.request-form label input:focus,
.request-form label textarea:focus {
    outline: none;
    border-color: #2E8B57;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(46,139,87,0.12);
}

.request-form .service-btn {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(46,139,87,0.3);
    margin-top: 8px;
}

.request-form .service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(46,139,87,0.4);
}

@media (max-width: 768px) {
    .request-form {
        padding: 24px 20px;
        border-radius: 16px;
    }
}

/* Чип выбора периода */
.period-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(88, 86, 214, 0.35);
    background: #fff;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.period-chip:hover {
    box-shadow: 0 0 0 2px rgba(88,86,214,0.1);
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

/* Модальное окно выбора периода */
.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 1000;
}

.modal {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    padding: 20px 24px 18px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.modal-year-list,
.modal-month-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-btn {
    border: 1px solid rgba(0,0,0,0.1);
    background: #f7f7ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
}

.pill-btn-active {
    background: #6c5ce7;
    color: #fff;
    border-color: #6c5ce7;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

/* Льготы */
.benefits-body {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 4px;
}

.benefits-group-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2E3A59;
}

.benefits-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefits-chips-wrap {
    flex-wrap: wrap;
    flex-direction: row;
}

/* карточка‑чип */
.benefit-chip {
    position: relative;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(120, 120, 180, 0.25);
    background: #faf9ff;
    padding: 8px 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.benefit-chip strong {
    font-size: 13px;
    font-weight: 600;
    color: #3b2f8f;
}

.benefit-chip span {
    font-size: 12px;
    color: #666a80;
}

.benefit-chip:hover {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.12);
    background: #f4f2ff;
}

.benefit-chip.active {
    border-color: #6c5ce7;
    background: linear-gradient(135deg, #f4f2ff 0%, #ebe6ff 100%);
    box-shadow: 0 6px 18px rgba(80, 70, 200, 0.25);
}

.benefit-chip.active::after {
    content: "✓";
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 14px;
    color: #6c5ce7;
}

/* Адаптив льгот и модалок */
@media (max-width: 600px) {
    .modal {
        margin: 0 12px;
        padding: 16px;
    }
    .benefits-chips-wrap {
        flex-direction: column;
    }
}

/* БАЗОВАЯ АДАПТИВНОСТЬ ДЛЯ ВСЕГО САЙТА */
@media (max-width: 900px) {
    .header-inner {
        padding: 0 12px;
    }
    .nav {
        gap: 10px;
        flex-wrap: wrap;
    }
    .nav a {
        padding: 6px 10px;
        font-size: 13px;
    }
    .hero,
    .calc-hero {
        padding: 90px 0 70px;
    }
    .hero h1,
    .calc-hero h1 {
        font-size: 32px;
    }
    .hero-subtitle,
    .subtitle {
        font-size: 18px;
    }
    .container {
        width: 100%;
        padding: 0 12px;
    }

    /* Гриды → в одну колонку */
    .nav-grid,
    .nav-cards-grid,
    .news-list,
    .gallery,
    .mission-grid,
    .team-grid,
    .footer-columns {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    .calc-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
    .mission-section,
    .team-section {
        padding: 70px 0;
    }
}

/* Мобильная настройка карточек/кнопок */
@media (max-width: 600px) {
    .nav-card,
    .news-item,
    .mission-card,
    .team-card,
    .service-card,
    .calc-results,
    .calc-block,
    .calc-result,
    .request-form {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .calc-result-sum {
        font-size: 32px;
        padding: 20px;
    }

    .calc-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        font-size: 16px;
    }

    .calc-row span:last-child {
        margin-left: auto;
    }

    .period-chip {
        width: 100%;
        justify-content: center;
    }

    .modal {
        width: 100%;
        max-width: 100%;
        margin: 0 8px;
        border-radius: 16px;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .calc-btn-large,
    .calc-order-btn,
    .service-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 18px;
        font-size: 16px;
    }

    .calc-btn-group {
        flex-direction: column;
    }

    .calc-btn {
        width: 100%;
    }
}

.nav-calculator-dropdown {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  /* при необходимости: top/left относительно .nav-calculator-wrapper */
}

.nav-calculator-dropdown.open {
  display: block;
}

/* === Блок новостей (как было по стилю) === */

.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-bot-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок + статус */
.news-bot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.news-bot-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F5E3B;
}

.news-bot-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e3f2ed, #c8e9db);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: #2E8B57;
    box-shadow: 0 4px 12px rgba(46,139,87,0.15);
    font-size: 14px;
}

.bot-indicator {
    width: 14px;
    height: 14px;
    background: #2E8B57;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Сетка карточек */
.news-list {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* Карточка новости */
.news-item {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-left: 6px solid #2E8B57;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 260px;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(46,139,87,0.2);
}

/* Верхняя строка: источник + бейдж */
.news-source {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 13px;
}

.news-source .source-name {
    font-weight: 700;
    color: #2E8B57;
}

.news-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: #e3f2ed;
    color: #2E8B57;
    font-size: 12px;
    font-weight: 600;
}

/* Заголовок */
.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F5E3B;
    margin-bottom: 14px;
    line-height: 1.3;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    color: #2E8B57;
}

/* Описание */
.news-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 15px;
    flex-grow: 1;
}

/* Низ карточки: дата + ссылка на источник */
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.news-original-link {
    font-style: normal;
    color: #2E8B57;
    font-weight: 600;
    text-decoration: none;
}

.news-original-link:hover {
    text-decoration: underline;
}

/* Кнопка "Обновить новости" под блоком */
.news-refresh-wrapper {
    text-align: center;
    margin-top: 24px;
}

.news-refresh-btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #2E8B57 0%, #1F5E3B 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(46,139,87,0.3);
    transition: all 0.3s ease;
}

.news-refresh-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(46,139,87,0.4);
}

/* Адаптив новостей */
@media (max-width: 768px) {
    .news-bot-title {
        font-size: 28px;
    }
    .news-list {
        grid-template-columns: 1fr;
    }
    .news-item {
        height: auto;
    }
}

/* Обёртка периода */
.calc-field-period {
    margin-top: 16px;
}

.calc-field-period label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.period-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Крупная «чип‑кнопка» периода */
.period-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.period-chip span#period-label {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* Можно добавить иконку‑стрелку через псевдоэлемент */
.period-chip::after {
    content: "▾";
    font-size: 14px;
    color: #888;
}

/* Hover / focus эффекты */
.period-chip:hover {
    background: #ffffff;
    border-color: #0f9d58;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.period-chip:active {
    transform: translateY(1px);
}

/* Подпись под периодом */
.field-hint {
    font-size: 12px;
    color: #888;
}



.calc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.calc-pill-group {
    display: inline-flex;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background: #f5f0ff;
}

.calc-pill {
    position: relative;
    cursor: pointer;
}

.calc-pill input {
    display: none;
}

.calc-pill span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    transition: 0.2s;
}

.calc-pill input:checked + span {
    background: #7b3cff;
    color: #fff;
    border-color: #7b3cff;
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-input-prefix,
.calc-input-suffix {
    font-size: 14px;
    color: #777;
}

.calc-checkbox-row {
    margin-top: 4px;
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

.period-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.period-separator {
    font-size: 18px;
    color: #555;
}

.period-chip {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d4c4ff;
    background: #f9f6ff;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.period-chip:hover {
    border-color: #7b3cff;
}

.period-chip-label {
    font-size: 13px;
    color: #777;
}

.period-chip-value {
    font-weight: 600;
    color: #4b2bb3;
}
