/* css/style.css - ПОЛНЫЙ ФАЙЛ СО ВСЕМИ СТИЛЯМИ САЙТА */

/* ===== ОСНОВНЫЕ НАСТРОЙКИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark-blue: #0b1a30;
    --color-medium-blue: #1d3b5a;
    --color-gold: #f0b71c;
    --color-gold-light: #ffcc4d;
    --color-green: #61AD2D;
    --color-green-light: #8bc34a;
    --color-bg-light: #f0f4f9;
    --color-text-dark: #1e1e2f;
    --color-text-gray: #4a5568;
    --color-white: #ffffff;
    --shadow-card: 0 20px 40px -12px rgba(0,0,0,0.1);
    --shadow-hover: 0 30px 50px -12px rgba(240,183,28,0.5);
    --border-radius-card: 32px;
    --border-radius-block: 28px;
    --border-radius-small: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text-dark);
    line-height: 1.5;
    background-color: #fafcff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

section {
    padding: 60px 0;
}

/* ===== ОБНОВЛЕННЫЙ ХЕДЕР ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-top {
    background: #0b1a30;
    color: white;
    padding: 8px 0;
    border-bottom: 1px solid rgba(240, 183, 28, 0.2);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.header-contacts a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.header-contacts a:hover {
    color: #f0b71c;
}

.header-contacts i {
    color: #f0b71c;
    font-size: 14px;
}

.header-schedule {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.header-schedule i {
    color: #f0b71c;
}

.navbar {
    background: rgba(11, 26, 48, 0.98);
    backdrop-filter: blur(8px);
    color: white;
    padding: 12px 0;
    border-bottom: 2px solid rgba(240, 183, 28, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    flex-wrap: wrap;
}

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

.nav-logo h2 {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #f0b71c 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.nav-logo p {
    font-size: clamp(9px, 2.5vw, 11px);
    opacity: 0.8;
    color: white;
}

.nav-menu {
    display: flex;
    gap: clamp(12px, 2.5vw, 28px);
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(13px, 1.8vw, 15px);
    transition: 0.2s;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #f0b71c;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: white;
}

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

.nav-phone-mobile {
    display: none;
    background: #f0b71c;
    color: #0b1a30;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.nav-phone-mobile:hover {
    background: #ffcc4d;
    transform: scale(1.05);
}

.burger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    -webkit-tap-highlight-color: transparent;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #0f2740;
    padding: 20px 32px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-top: 1px solid #2d4055;
    z-index: 999;
    backdrop-filter: blur(10px);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(240,183,28,0.2);
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-contacts {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(240,183,28,0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: none;
    color: #f0b71c;
}

.mobile-contacts a i {
    width: 20px;
}

.mobile-nav.show {
    display: flex;
}

/* Специфичные цвета для агро-страниц */
body.agro-page .header-top {
    border-bottom: 1px solid rgba(97, 173, 45, 0.2);
}

body.agro-page .header-contacts a:hover {
    color: #61AD2D;
}

body.agro-page .header-contacts i,
body.agro-page .header-schedule i {
    color: #61AD2D;
}

body.agro-page .navbar {
    border-bottom: 2px solid rgba(97, 173, 45, 0.3);
}

body.agro-page .nav-menu a::after {
    background: #61AD2D;
}

body.agro-page .nav-menu a.active {
    color: white;
}

body.agro-page .nav-phone-mobile {
    background: #61AD2D;
}

body.agro-page .nav-phone-mobile:hover {
    background: #8bc34a;
}

body.agro-page .mobile-contacts a {
    color: #61AD2D;
}

/* Фиксированные контакты */
.fixed-right-contacts {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
}

.fixed-right-contacts a {
    background: #f0b71c;
    color: #0b1a30;
    width: clamp(48px, 10vw, 56px);
    height: clamp(48px, 10vw, 56px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(22px, 5vw, 26px);
    box-shadow: 0 8px 20px rgba(240,183,28,0.4);
    transition: all 0.3s;
    border: 2px solid white;
    text-decoration: none;
}

.fixed-right-contacts a:hover {
    transform: scale(1.15) rotate(5deg);
    background: #ffcc4d;
}

/* Специфичный цвет для агро-страниц */
body.agro-page .fixed-right-contacts a {
    background: #61AD2D;
    box-shadow: 0 8px 20px rgba(97,173,45,0.4);
}

body.agro-page .fixed-right-contacts a:hover {
    background: #8bc34a;
}

/* ===== ШАПКИ СТРАНИЦ (БАННЕРЫ) ===== */
.page-header {
    padding: 100px 0;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.page-header p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Специфичные баннеры для страниц */
.page-header.about-page {
    background: linear-gradient(rgba(0, 50, 80, 0.75), rgba(0, 70, 100, 0.75)), url('../fotos/about_baner.jpg') center/cover no-repeat;
}
.page-header.production-page {
    background: linear-gradient(rgba(0, 50, 80, 0.75), rgba(0, 70, 100, 0.75)), url('../fotos/production_baner.jpg') center/cover no-repeat;
}
.page-header.emflex-page {
    background: linear-gradient(rgba(0, 50, 80, 0.75), rgba(0, 70, 100, 0.75)), url('../fotos/emflex_baner.jpg') center/cover no-repeat;
}
.page-header.agro-page {
    background: linear-gradient(rgba(0, 50, 80, 0.75), rgba(0, 70, 100, 0.75)), url('../fotos/agro_baner.jpg') center/cover no-repeat;
    border-bottom: center/cover no-repeat;
}
.page-header.projects-page {
    background: linear-gradient(rgba(0, 50, 80, 0.75), rgba(0, 70, 100, 0.75)), url('../fotos/projects_baner.jpg') center/cover no-repeat;
    border-bottom: center/cover no-repeat;
}
.page-header.delivery-page {
    background: linear-gradient(rgba(0, 50, 80, 0.75), rgba(0, 70, 100, 0.75)), url('../fotos/delivery_baner.jpg') center/cover no-repeat;
    border-bottom: center/cover no-repeat;
}
.page-header.contacts-page {
    background: linear-gradient(rgba(0, 50, 80, 0.75), rgba(0, 70, 100, 0.75)), url('../fotos/contacts_baner.jpg') center/cover no-repeat;
    border-bottom: center/cover no-repeat;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.section-title {
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 800;
    color: var(--color-dark-blue);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-gold);
    margin-top: 10px;
    border-radius: 4px;
}
.section-title.center {
    display: block;
    text-align: center;
}
.section-title.center::after {
    margin-left: auto;
    margin-right: auto;
}
/* Специфичный цвет для агро-страниц */
body.agro-page .section-title::after {
    background: var(--color-green);
}

/* ===== КНОПКИ ===== */
.btn {
    padding: clamp(12px, 3vw, 16px) clamp(24px, 5vw, 38px);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(14px, 3vw, 16px);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--color-gold);
    color: var(--color-dark-blue);
}
.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -8px var(--color-gold);
}
.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-outline:hover {
    background: white;
    color: var(--color-dark-blue);
}
/* Специфичный для агро-страниц */
body.agro-page .btn-primary {
    background: var(--color-green);
    color: white;
}
body.agro-page .btn-primary:hover {
    background: var(--color-green-light);
    box-shadow: 0 20px 30px -8px var(--color-green);
}

/* ===== СЕТКИ И КАРТОЧКИ ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    border-left: 6px solid var(--color-gold);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.card i {
    font-size: 42px;
    color: var(--color-dark-blue);
    margin-bottom: 20px;
}
.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.card p {
    color: var(--color-text-gray);
}
/* Специфичный для агро-страниц */
body.agro-page .card {
    border-left-color: var(--color-green);
}
body.agro-page .card:hover {
    box-shadow: 0 30px 50px -12px rgba(97,173,45,0.5);
}

/* ===== ПРОДУКЦИЯ (для emflex.php) ===== */
.product-category {
    margin-bottom: 20px;
    border-radius: var(--border-radius-block);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}
.category-header {
    background: var(--color-dark-blue);
    color: white;
    padding: clamp(15px, 3vw, 20px) clamp(20px, 4vw, 30px);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 700;
    transition: 0.3s;
    -webkit-tap-highlight-color: transparent;
}
.category-header i {
    color: var(--color-gold);
    font-size: clamp(22px, 5vw, 28px);
    transition: transform 0.3s;
}
.category-header.active i {
    transform: rotate(180deg);
}
.category-header:hover,
.category-header:focus {
    background: var(--color-medium-blue);
}
.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
}
.category-content.show {
    max-height: 2000px;
}
.category-image {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    margin: 20px 0 0 0;
    border-radius: 20px;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #eee;
    display: block;
}

/* ===== ТАБЛИЦЫ ===== */
.spec-table,
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.spec-table th,
.product-table th {
    background: var(--color-dark-blue);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}
.spec-table td,
.product-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #e0e7f0;
}
.product-table td:first-child {
    font-weight: 700;
    color: var(--color-dark-blue);
    white-space: nowrap;
}
/* Специфичный для агро-страниц */
body.agro-page .spec-table th {
    background: var(--color-green);
}

/* ===== ЛИД-МАГНИТЫ ===== */
.lead-magnet {
    background: linear-gradient(135deg, var(--color-dark-blue), var(--color-medium-blue));
    color: white;
    border-radius: 40px;
    padding: 50px;
    margin: 50px 0;
    text-align: center;
}
.lead-magnet h3 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 20px;
    color: var(--color-gold);
}
.lead-magnet p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.lead-magnet .btn {
    font-size: 18px;
    padding: 18px 40px;
}
.lead-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}
.lead-form input {
    flex: 1 1 200px;
    min-width: 200px;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    background: rgba(255,255,255,0.95);
}
.lead-form button {
    flex: 1 1 200px;
    min-width: 200px;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    background: var(--color-gold);
    color: var(--color-dark-blue);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.lead-form button:hover {
    background: var(--color-gold-light);
    transform: translateY(-3px);
}
/* Специфичный для агро-страниц */
body.agro-page .lead-magnet h3 {
    color: var(--color-green);
}
body.agro-page .lead-magnet .btn,
body.agro-page .lead-form button {
    background: var(--color-green);
    color: white;
}
body.agro-page .lead-form button:hover {
    background: var(--color-green-light);
}

.mini-lead {
    background: #f0f4f9;
    border-radius: var(--border-radius-small);
    padding: 25px;
    margin: 20px 0;
    border-left: 6px solid var(--color-gold);
}
.mini-lead p {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
}
.mini-lead .btn {
    width: 100%;
    justify-content: center;
    background: var(--color-gold);
    color: var(--color-dark-blue);
    font-size: 16px;
    padding: 14px;
}
.mini-lead .btn:hover {
    background: var(--color-gold-light);
}
/* Специфичный для агро-страниц */
body.agro-page .mini-lead {
    border-left-color: var(--color-green);
}
body.agro-page .mini-lead .btn {
    background: var(--color-green);
    color: white;
}
body.agro-page .mini-lead .btn:hover {
    background: var(--color-green-light);
}

/* ===== ОБЪЕКТЫ ===== */
.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.project-mini-card {
    background: white;
    border-radius: var(--border-radius-small);
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--color-gold);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}
.project-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.project-mini-card i {
    font-size: 36px;
    color: var(--color-dark-blue);
    min-width: 50px;
}
.project-mini-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    text-align: left;
}
.project-mini-card p {
    font-size: 14px;
    color: #666;
    text-align: left;
    margin: 0;
}
.proj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.proj-item {
    background: white;
    border-radius: var(--border-radius-block);
    padding: 28px;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1);
    border-right: 6px solid var(--color-gold);
}
.proj-item i {
    font-size: 42px;
    color: var(--color-dark-blue);
    margin-bottom: 15px;
}

/* ===== КОНТАКТЫ ===== */
.contact-reminder {
    background: var(--color-bg-light);
    border-radius: 60px;
    padding: clamp(20px, 4vw, 30px) clamp(25px, 5vw, 40px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    gap: 20px;
}
.contact-reminder p {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-right: 15px;
}
.reminder-contacts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.reminder-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-gold);
    color: var(--color-dark-blue);
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.reminder-contacts a:hover {
    background: var(--color-dark-blue);
    color: var(--color-gold);
    transform: scale(1.05);
}
/* Специфичный для агро-страниц */
body.agro-page .reminder-contacts a {
    background: var(--color-green);
    color: white;
}
body.agro-page .reminder-contacts a:hover {
    background: var(--color-dark-blue);
    color: var(--color-green);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}
.contact-card {
    background: white;
    border-radius: var(--border-radius-block);
    padding: 25px;
    box-shadow: var(--shadow-card);
    border: 1px solid #eee;
}
.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-dark-blue);
}
.contact-card i {
    color: var(--color-gold);
    width: 24px;
    margin-right: 8px;
}
body.agro-page .contact-card i {
    color: var(--color-green);
}
.map-container {
    margin: 15px 0;
    border-radius: 20px;
    overflow: hidden;
    height: 200px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.route-link {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-dark-blue);
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 2px solid var(--color-gold);
    margin-top: 10px;
}
.route-link:hover {
    background: transparent;
    color: var(--color-gold);
}
body.agro-page .route-link {
    background: var(--color-green);
    border-color: var(--color-green);
    color: white;
}
body.agro-page .route-link:hover {
    background: transparent;
    color: var(--color-green);
}

/* ===== ОБНОВЛЕННЫЙ ФУТЕР ===== */
.footer {
    background: #05111f;
    color: #a0b3cc;
    padding: 60px 0 0;
    margin-top: 60px;
}

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

.footer-col h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #f0b71c;
    border-radius: 2px;
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #a0b3cc;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #f0b71c;
    color: #05111f;
    transform: translateY(-3px);
}

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

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

.footer-links a {
    color: #a0b3cc;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #f0b71c;
    transform: translateX(5px);
}

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a0b3cc;
}

.footer-contact i {
    color: #f0b71c;
    width: 20px;
    margin-top: 3px;
}

.footer-contact a {
    color: #a0b3cc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #f0b71c;
}

.footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #6a7a90;
    font-size: 0.9rem;
}

/* Специфичный для агро-страниц */
body.agro-page .footer-col h4::after {
    background: #61AD2D;
}

body.agro-page .footer-social a:hover {
    background: #61AD2D;
}

body.agro-page .footer-links a:hover {
    color: #61AD2D;
}

body.agro-page .footer-contact i {
    color: #61AD2D;
}

body.agro-page .footer-contact a:hover {
    color: #61AD2D;
}

/* ===== СПЕЦИФИЧНЫЕ БЛОКИ ДЛЯ AGRO ===== */
.agro-page .spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.agro-page .spec-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e7f0;
}
.agro-page .spec-table td:first-child {
    font-weight: 600;
    color: #0b1a30;
    width: 40%;
}

.agro-page .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.agro-page .card {
    background: white;
    padding: 30px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.agro-page .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #61AD2D;
}

.agro-page .card i {
    font-size: 48px;
    color: #61AD2D;
    margin-bottom: 20px;
}

.agro-page .calculator-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 24px;
}

.agro-page .input-group {
    flex: 1;
    min-width: 200px;
}

.agro-page .input-group label {
    display: block;
    font-weight: 600;
    color: #0b1a30;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.agro-page .input-group select,
.agro-page .input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e7f0;
    border-radius: 60px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: white;
    height: 48px;
    box-sizing: border-box;
}

.agro-page .calculate-btn {
    background: #61AD2D;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid #61AD2D;
    height: 48px;
    white-space: nowrap;
}

.agro-page .calculate-btn:hover {
    background: transparent;
    color: #61AD2D;
}

.agro-page .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.agro-page .testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-left: 4px solid #61AD2D;
}

.agro-page .testimonial-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0b1a30;
}

.agro-page .testimonial-card .company {
    color: #61AD2D;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.agro-page .calculator-type {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 60px;
    flex-wrap: wrap;
}

.agro-page .calculator-type label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.agro-page .calculator-type input[type="radio"] {
    accent-color: #61AD2D;
    width: 18px;
    height: 18px;
    margin: 0;
}

.agro-page .gallery-item {
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.agro-page .gallery-item:hover {
    transform: scale(1.02);
}

.agro-page .gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.agro-page .gallery-caption {
    padding: 8px;
    text-align: center;
    background: white;
}

.agro-page .supply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.agro-page .supply-item {
    background: white;
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
}

.agro-page .supply-item:hover {
    transform: translateY(-5px);
    border-color: #61AD2D;
}

.agro-page .supply-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
}

/* === СТИЛИ ДЛЯ МОДАЛЬНЫХ ОКОН AGRO === */
.agro-page .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.agro-page .modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.agro-page .modal-content {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    max-width: 90vw;
    animation: modalopen 0.3s;
}

@keyframes modalopen {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}

.agro-page #photoModal .modal-content,
.agro-page #supplyPhotoModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.agro-page #photoModal img,
.agro-page #supplyPhotoModal img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    display: block;
}

.agro-page #photoModal .modal-caption,
.agro-page #supplyPhotoModal .modal-caption {
    color: white;
    margin-top: 10px;
    font-size: 16px;
    text-shadow: 1px 1px 2px black;
    text-align: center;
}

.agro-page #productModal .modal-content {
    background-color: white;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 32px;
    text-align: left;
}

.agro-page #productModal .modal-caption {
    font-size: 24px;
    font-weight: 700;
    color: #0b1a30;
    margin-bottom: 20px;
    padding-right: 30px;
}

.agro-page .close-modal {
    position: absolute;
    top: -30px;
    right: -30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 2px 2px 4px black;
    line-height: 1;
    z-index: 2001;
    width: 40px;
    height: 40px;
    text-align: center;
}

.agro-page #productModal .close-modal {
    color: #aaa;
    text-shadow: none;
    top: 15px;
    right: 25px;
}

.agro-page #productModal .close-modal:hover {
    color: #61AD2D;
}

.agro-page .close-modal:hover {
    color: #61AD2D;
}

.agro-page .gallery-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.agro-page .gallery-nav button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.agro-page .gallery-nav button:hover {
    background: #61AD2D;
    border-color: #61AD2D;
}

.agro-page .gallery-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.agro-page .gallery-counter {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

/* === СТИЛИ ДЛЯ СВЕТЛЫХ ЛИД-МАГНИТОВ AGRO === */
.agro-page .lead-magnet.modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e7f0;
    border-left: 6px solid #61AD2D;
    border-radius: 16px;
    padding: 20px 25px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.agro-page .lead-magnet.modern.dark {
    background: linear-gradient(135deg, #0b1a30 0%, #1d3b5a 100%);
    border-left-color: #61AD2D;
}

.agro-page .lead-magnet.modern.dark .lead-text h3,
.agro-page .lead-magnet.modern.dark .lead-text p {
    color: white;
}

.agro-page .lead-magnet .lead-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 300px;
}

.agro-page .lead-magnet .lead-icon {
    font-size: 42px;
    color: #61AD2D;
    width: 60px;
    text-align: center;
}

.agro-page .lead-magnet .lead-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0b1a30;
}

.agro-page .lead-magnet .lead-text p {
    font-size: 0.95rem;
    color: #4a4a4a;
    margin: 0;
}

.agro-page .lead-magnet .lead-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 1 auto;
}

.agro-page .lead-magnet .btn-lead {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.agro-page .lead-magnet .btn-lead.phone {
    background: #61AD2D;
    color: white;
}

.agro-page .lead-magnet .btn-lead.phone:hover {
    background: #4a8a22;
    transform: translateY(-2px);
}

.agro-page .lead-magnet .btn-lead.email {
    background: #0b1a30;
    color: white;
}

.agro-page .lead-magnet .btn-lead.email:hover {
    background: #1d3b5a;
    transform: translateY(-2px);
}

.agro-page .lead-magnet.dark .btn-lead.phone {
    background: #61AD2D;
}

.agro-page .lead-magnet.dark .btn-lead.email {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.agro-page .lead-magnet.dark .btn-lead.email:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ ===== */
.home-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.home-page .stats-grid div div:first-child {
    font-size: 60px;
    font-weight: 800;
    color: #f0b71c;
    line-height: 1.2;
}

.home-page .stats-grid div div:last-child {
    font-size: 18px;
    color: #4a4a4a;
    font-weight: 600;
}

.home-page .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.home-page .about-title {
    font-size: 48px;
}

.home-page .about-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.home-page .about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.home-page .about-card {
    background: white;
    border-radius: 28px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
}

.home-page .products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.home-page .product-card {
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 30px 50px -20px rgba(0,0,0,0.2);
}

.home-page .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-page .feature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 28px;
    padding: 30px;
    border-left: 6px solid #f0b71c;
}

.home-page .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.home-page .project-card {
    background: white;
    border-radius: 28px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1);
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .agro-page [style*="display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;"] {
        grid-template-columns: repeat(2, 1fr);
        display: grid !important;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .nav-phone-mobile {
        display: flex;
    }
    
    .burger {
        display: flex;
    }
    
    .header-top {
        display: none;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Главная страница */
    .home-page .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .home-page .about-grid {
        grid-template-columns: 1fr !important;
    }
    
    .home-page .about-grid .about-content {
        order: 2;
    }
    
    .home-page .about-grid .about-cards {
        order: 1;
    }
    
    .home-page .about-title {
        font-size: 36px !important;
        text-align: center;
    }
    
    .home-page .about-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .home-page .products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .home-page .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .home-page .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-table,
    .spec-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .product-table td:first-child {
        white-space: normal;
    }
    
    .contact-reminder {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .reminder-contacts {
        flex-direction: column;
        width: 100%;
    }
    
    .reminder-contacts a {
        width: 100%;
        justify-content: center;
    }
    
    .fixed-right-contacts {
        bottom: 20px;
        right: 20px;
        flex-direction: row;
        border-radius: 50px;
        padding: 8px;
        background: white;
    }
    
    .fixed-right-contacts a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .lead-magnet {
        padding: 30px 20px;
    }
    
    .lead-form input,
    .lead-form button {
        width: 100%;
        min-width: 100%;
    }
    
    .projects-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Главная страница */
    .home-page .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .home-page .about-title {
        font-size: 32px !important;
    }
    
    .home-page .about-cards {
        grid-template-columns: 1fr !important;
    }
    
    .home-page .features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .home-page .projects-grid {
        grid-template-columns: 1fr !important;
    }
    
    .home-page .feature-card,
    .home-page .project-card {
        padding: 20px !important;
    }
    
    .home-page .lead-magnet {
        padding: 40px 20px !important;
        border-radius: 30px !important;
    }
    
    .home-page .lead-magnet h2 {
        font-size: 28px !important;
    }
    
    .home-page .lead-magnet p {
        font-size: 16px !important;
    }
    
    .home-page .lead-magnet input,
    .home-page .lead-magnet button {
        width: 100% !important;
        flex: none !important;
    }
    
    .home-page .contacts-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Agro страница */
    .agro-page .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .agro-page .product-card {
        padding: 10px !important;
    }
    .agro-page .product-card img {
        height: 100px !important;
    }
    .agro-page .product-card h3 {
        font-size: 13px !important;
    }
    .agro-page .product-card p {
        font-size: 11px !important;
    }
    
    .agro-page .calculator-controls {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .agro-page .input-group {
        width: 100% !important;
    }
    .agro-page .calculate-btn {
        width: 100% !important;
    }
    
    .agro-page .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .agro-page .supply-grid {
        grid-template-columns: 1fr !important;
    }
    
    .agro-page .contacts-grid {
        grid-template-columns: 1fr !important;
    }
    
    .agro-page .card-grid {
        grid-template-columns: 1fr !important;
    }
    
    .agro-page .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .agro-page .gallery-item img {
        height: 100px !important;
    }
    .agro-page .gallery-caption {
        font-size: 11px !important;
        padding: 6px !important;
    }
    
    .agro-page .close-modal {
        top: -25px;
        right: -15px;
        font-size: 30px;
    }
    
    .agro-page #productModal .close-modal {
        top: 10px;
        right: 15px;
    }
    
    .agro-page .lead-magnet.modern {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .agro-page .lead-magnet .lead-content {
        flex: 1 1 auto;
    }
    
    .agro-page .lead-magnet .lead-actions {
        justify-content: stretch;
        width: 100%;
    }
    
    .agro-page .lead-magnet .btn-lead {
        flex: 1;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .fixed-right-contacts a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .projects-preview {
        grid-template-columns: 1fr;
    }
    
    .proj-grid {
        grid-template-columns: 1fr;
    }
    
    /* Главная страница */
    .home-page .section-title {
        font-size: 28px !important;
    }
    
    .home-page .about-title {
        font-size: 28px !important;
    }
    
    .home-page .about-text p {
        font-size: 16px !important;
    }
    
    .home-page .about-text span {
        font-size: 14px !important;
    }
    
    .home-page .product-card h3 {
        font-size: 24px !important;
    }
    
    .home-page .product-card p {
        font-size: 14px !important;
    }
    
    .home-page .product-card .btn {
        font-size: 14px !important;
        padding: 14px !important;
    }
    
    .home-page .feature-card h3 {
        font-size: 20px !important;
    }
    
    .home-page .feature-card p {
        font-size: 14px !important;
    }
    
    .home-page .project-card h3 {
        font-size: 1.1rem !important;
    }
    
    .home-page .project-card p {
        font-size: 12px !important;
    }
    
    .home-page .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .home-page .contact-reminder p {
        font-size: 16px !important;
    }
    
    .home-page .reminder-contacts a {
        font-size: 14px !important;
        padding: 10px 15px !important;
    }
    
    /* Agro страница */
    .agro-page .product-grid {
        grid-template-columns: 1fr !important;
    }
    .agro-page .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .agro-page .lead-magnet .lead-actions {
        flex-direction: column;
    }
    
    .agro-page .lead-magnet .lead-icon {
        font-size: 36px;
        width: 50px;
    }
    
    .agro-page .lead-magnet .lead-text h3 {
        font-size: 1.2rem;
    }
    
    .agro-page .spec-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    .agro-page .spec-table td:first-child {
        width: 45%;
    }
}

@media (max-width: 360px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 22px !important;
    }
}
/* ===== СТИЛИ ДЛЯ ДОКУМЕНТОВ В ФУТЕРЕ ===== */
.footer-docs {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-docs-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.doc-link {
    color: #a0b3cc;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 30px;
}

.doc-link i {
    color: #f0b71c;
    font-size: 1rem;
    transition: all 0.3s;
}

.doc-link:hover {
    color: #f0b71c;
    background: rgba(240, 183, 28, 0.1);
}

.doc-separator {
    color: rgba(255,255,255,0.2);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Специфичные цвета для агро-страниц */
body.agro-page .doc-link i {
    color: #61AD2D;
}

body.agro-page .doc-link:hover {
    color: #61AD2D;
    background: rgba(97, 173, 45, 0.1);
}

@media (max-width: 768px) {
    .footer-docs-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .doc-separator {
        display: none;
    }
    
    .doc-link {
        width: 100%;
        justify-content: center;
        padding: 10px;
        background: rgba(255,255,255,0.05);
    }
}
/* ===== ИСПРАВЛЕНИЕ ПУСТОЙ СТРОКИ В ФУТЕРЕ ===== */
.footer-docs {
    margin: 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    margin: 0;
    padding: 15px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #6a7a90;
    font-size: 0.9rem;
}
/* ===== ИСПРАВЛЕНИЕ ДЛЯ ПЛАВАЮЩИХ ИКОНОК НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .fixed-right-contacts {
        bottom: 80px !important; /* Поднимаем иконки выше, чтобы не перекрывать чат */
        right: 15px !important;
        gap: 8px !important;
        padding: 8px !important;
        background: rgba(255,255,255,0.95) !important;
        backdrop-filter: blur(5px);
        border-radius: 40px !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2) !important;
        z-index: 999 !important; /* Уменьшаем z-index, чтобы чат был поверх */
    }
    
    .fixed-right-contacts a {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2) !important;
    }
    
    /* Для очень маленьких экранов */
    @media (max-width: 480px) {
        .fixed-right-contacts {
            bottom: 70px !important;
            right: 10px !important;
        }
        
        .fixed-right-contacts a {
            width: 40px !important;
            height: 40px !important;
            font-size: 18px !important;
        }
    }
}