/* ===== ИМПОРТ ШРИФТОВ ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== НОВАЯ КАМЕННАЯ ЦВЕТОВАЯ СХЕМА ===== */
:root {
    /* Каменная палитра */
    --stone-gray: #6B7280;          /* Основной серый гранита */
    --dark-granite: #374151;         /* Темный гранит */
    --light-granite: #D1D5DB;        /* Светлый гранит */
    --warm-stone: #78716C;           /* Теплый каменный */
    --accent-copper: #B45309;        /* Медный акцент */
    --white-stone: #F9FAFB;          /* Белый камень */
    --charcoal: #1F2937;             /* Угольный */
    --stone-beige: #E5E7EB;          /* Каменный беж */
    
    /* Дополнительные оттенки */
    --copper-light: #ff8c08;         /* Светлый медный */
    --copper-dark: #92400E;          /* Темный медный */
    --granite-texture: #9CA3AF;      /* Текстура гранита */
    --shadow-stone: rgba(107, 114, 128, 0.15);
    --shadow-dark: rgba(55, 65, 81, 0.25);
    
    /* Градиенты */
    --gradient-granite: linear-gradient(135deg, var(--dark-granite) 0%, var(--stone-gray) 100%);
    --gradient-copper: linear-gradient(135deg, var(--accent-copper) 0%, var(--copper-light) 100%);
    --gradient-stone: linear-gradient(180deg, var(--white-stone) 0%, var(--stone-beige) 100%);
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--white-stone);
    font-weight: 400;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ===== ХЕДЕР ===== */
.header-top {
    background: var(--dark-granite);
    color: var(--white-stone);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
}

.contact-links {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--white-stone);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--copper-light);
}

.site-header {
    background: var(--white-stone);
    box-shadow: 0 2px 20px var(--shadow-stone);
    border-bottom: 1px solid var(--light-granite);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-granite);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-copper);
}

.granite-tagline {
    background: var(--gradient-stone);
    color: var(--dark-granite);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--light-granite);
    box-shadow: 0 2px 10px var(--shadow-stone);
}

/* ===== НАВИГАЦИЯ ===== */
.main-nav {
    background: var(--stone-gray);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 15px var(--shadow-dark);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--white-stone) !important;
    font-weight: 500;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 6px;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--accent-copper);
    color: var(--white-stone) !important;
    transform: translateY(-1px);
}

.cta-button {
    background: var(--gradient-copper);
    color: var(--white-stone);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
}

.cta-button:hover {
    background: var(--copper-dark);
    color: var(--white-stone);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.4);
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.navbar-toggler {
    border: 2px solid var(--accent-copper);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    background: rgba(180, 83, 9, 0.1);
}

.navbar-toggler:hover {
    background: var(--accent-copper);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28180, 83, 9, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        margin: 0;
        padding: 80px 0 40px 0;
        background: var(--gradient-granite);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -10px 0 40px var(--shadow-dark);
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 20px 30px !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        border-radius: 0;
    }
    
    .navbar-nav .nav-link:hover {
        background: var(--accent-copper);
        padding-left: 40px !important;
    }
}

/* ===== HERO СЕКЦИЯ ===== */
.hero-section {
    background: var(--gradient-granite);
    color: var(--white-stone);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="granite" x="0" y="0" width="4" height="4" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="1" cy="3" r="0.3" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23granite)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white-stone);
    text-align:center;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.95;
}

.granite-highlight {
    background: var(--gradient-copper);
    color: var(--white-stone);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 30px rgba(180, 83, 9, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--gradient-copper);
    color: var(--white-stone);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.5);
    background: var(--copper-dark);
    color: var(--white-stone);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white-stone);
    border: 2px solid var(--white-stone);
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--white-stone);
    color: var(--dark-granite);
}

/* ===== ХАРАКТЕРИСТИКИ ===== */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.characteristic-item {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

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

.characteristic-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--copper-light);
    margin-bottom: 8px;
}

.characteristic-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== ОСНОВНЫЕ СЕКЦИИ ===== */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--gradient-stone);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-granite);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: calc(50% - 60px);
    width: 60px;
    height: 4px;
    background: var(--accent-copper);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--stone-gray);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* ===== КАРТОЧКИ ПРОДУКЦИИ ===== */
.product-card {
    background: var(--white-stone);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-stone);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--light-granite);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-copper);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    padding: 30px;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-granite);
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-description {
    color: var(--stone-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--stone-beige);
    position: relative;
    padding-left: 20px;
    color: var(--charcoal);
    font-weight: 500;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-copper);
    font-weight: bold;
}

.product-features li:last-child {
    border-bottom: none;
}

.btn-product {
    background: var(--stone-gray);
    color: var(--white-stone);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-product:hover {
    background: var(--accent-copper);
    color: var(--white-stone);
    transform: translateY(-2px);
}

.product-card .table-responsive {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.1);
}

.product-card .table {
    margin-bottom: 0;
    font-size: 14px;
}

.product-card .table th {
    background: var(--stone-beige);
    color: var(--dark-granite);
    font-weight: 600;
    font-size: 13px;
    padding: 12px 8px;
    border: none;
}

.product-card .table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--light-granite);
    vertical-align: middle;
}

.product-card .table td:first-child {
    font-weight: 600;
    color: var(--accent-copper);
}


/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: var(--white-stone);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-stone);
    transition: all 0.3s ease;
    border: 1px solid var(--light-granite);
    position: relative;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-copper);
    border-radius: 0 0 4px 4px;
}

.advantage-icon {
    font-size: 48px !important;
    margin-bottom: 20px;
    display: block;
    color: var(--accent-copper);
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.advantage-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-granite);
    margin-bottom: 16px;
}

.advantage-text {
    color: var(--stone-gray);
    line-height: 1.6;
}

/* ===== ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ ===== */
.specs-section {
    background: var(--gradient-stone);
}

.specs-table {
    background: var(--white-stone);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-stone);
    border: 1px solid var(--light-granite);
}

.specs-table table {
    margin: 0;
    width: 100%;
}

.specs-table thead th {
    background: var(--gradient-granite);
    color: var(--white-stone);
    font-weight: 600;
    padding: 20px;
    text-align: center;
    border: none;
}

.specs-table tbody td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--stone-beige);
    font-weight: 500;
    color: var(--charcoal);
}

.specs-table tbody tr:hover {
    background: rgba(107, 114, 128, 0.05);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.specs-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark-granite);
}

.specs-table tbody td:nth-child(2) {
    color: var(--accent-copper);
    font-weight: 700;
}

/* ===== ПРОЦЕСС ПРОИЗВОДСТВА ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--white-stone);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-stone);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--light-granite);
}

* Сетка процесса производства - 3 колонки на ПК */
.process-steps-grid {
    margin-top: 50px;
}

@media (min-width: 992px) {
    .process-steps-grid .row {
        --bs-gutter-x: 30px;
        --bs-gutter-y: 30px;
    }
    
    .process-steps-grid .col-lg-4:nth-child(3n+1) {
        clear: left;
    }
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-copper);
    color: var(--white-stone);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-granite);
    margin-bottom: 12px;
}

.step-description {
    color: var(--stone-gray);
    line-height: 1.5;
}

/* ===== КАЛЬКУЛЯТОР ===== */
.feedback-section {
    background: var(--gradient-stone);
}

.calculator-section {
    background: var(--gradient-granite);
    color: var(--white-stone);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px var(--shadow-dark);
    border: 1px solid var(--stone-gray);
}

.calculator-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.form-control {
    border: 2px solid var(--light-granite);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white-stone);
    color: var(--charcoal);
}

.form-control:focus {
    border-color: var(--accent-copper);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.2);
    outline: none;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white-stone);
}

.calculation-result {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ===== КОНТАКТНАЯ ИНФОРМАЦИЯ ===== */
.contact-card {
    background: var(--white-stone);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px var(--shadow-stone);
    border: 1px solid var(--light-granite);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--gradient-stone);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--stone-beige);
}

.contact-item:hover {
    background: rgba(107, 114, 128, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-copper);
    color: var(--white-stone);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.contact-details h6 {
    font-weight: 700;
    color: var(--dark-granite);
    margin-bottom: 4px;
}

.contact-details p {
    margin: 0;
    color: var(--stone-gray);
}

.contact-details a {
    color: var(--accent-copper);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--copper-dark);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-granite);
    color: var(--white-stone);
    padding: 60px 0 30px;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--copper-light);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(249, 250, 251, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--copper-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: rgba(249, 250, 251, 0.7);
}

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-copper);
    color: var(--white-stone);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.5);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .advantages-grid,
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .characteristics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .advantages-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-steps-grid .col-lg-4 {
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
    }
    
    .calculator-section {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .specs-table {
        font-size: 14px;
    }
    
    .specs-table thead th,
    .specs-table tbody td {
        padding: 12px 8px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 22px;
    }
    
    .granite-tagline {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .advantage-card {
        padding: 25px 20px;
    }
    
    .process-step {
        padding: 20px;
    }
    
    .contact-links {
        font-size: 12px;
        gap: 8px;
    }
    
    .contact-link i {
        font-size: 12px;
        width: 14px;
    }
}

/* ===== УТИЛИТЫ ДЛЯ ИКОНОК ===== */
.fas, .far, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
}

.contact-link i {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    font-size: 14px;
}

.logo i {
    font-size: 24px;
    margin-right: 10px;
    color: var(--accent-copper);
}

.cta-button i,
.btn-primary-custom i,
.btn-outline-custom i,
.btn-product i {
    margin-right: 8px;
    font-size: 14px;
}

.contact-icon i {
    font-size: 18px;
    font-weight: 600;
}

.footer-section ul li a i {
    width: 16px;
    text-align: center;
    margin-right: 8px;
    font-size: 14px;
}

.scroll-top i {
    font-size: 18px;
    line-height: 1;
}

/* ===== АНИМАЦИИ ===== */
.contact-link:hover i,
.cta-button:hover i,
.btn-primary-custom:hover i,
.btn-outline-custom:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

.scroll-top:hover i {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* ===== СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ ОТДЕЛЬНЫХ ИКОНОК ===== */
.fa-phone {
    transform: rotate(0deg);
}

.fa-envelope {
    font-size: 14px;
}

.fa-map-marker-alt {
    font-size: 16px;
}

.fa-clock {
    font-size: 14px;
}

.fa-mountain {
    color: var(--accent-copper);
}

.fa-gem {
    color: var(--copper-light);
}

.fa-snowflake {
    color: #87ceeb;
}

.fa-tint {
    color: #4169e1;
}

.fa-cogs {
    color: var(--stone-gray);
}

.fa-certificate {
    color: var(--copper-light);
}

.fa-check-circle {
    color: var(--dark-granite);
    margin-right: 8px;
}

.fa-chevron-up {
    font-weight: 900;
}

/* ===== ТАБЛИЦЫ ===== */
.table {
    width: 100%;
    margin-bottom: 0;
    color: var(--charcoal);
    border-collapse: collapse;
}

.table th,
.table td {
    vertical-align: middle;
    border: none;
}

.table thead th {
    border-bottom: 2px solid var(--stone-gray);
    background: var(--gradient-granite);
    color: var(--white-stone);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody td {
    border-bottom: 1px solid var(--stone-beige);
    transition: background-color 0.3s ease;
}

.table tbody tr:hover td {
    background-color: rgba(107, 114, 128, 0.05);
}

.table-responsive {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-stone);
}

/* ===== ФОРМЫ ===== */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--charcoal);
    background-color: var(--white-stone);
    border: 2px solid var(--light-granite);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    color: var(--charcoal);
    background-color: var(--white-stone);
    border-color: var(--accent-copper);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.2);
}

.form-control::placeholder {
    color: var(--stone-gray);
    opacity: 0.8;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--stone-gray);
    text-align: center;
    white-space: nowrap;
    background-color: var(--stone-beige);
    border: 2px solid var(--light-granite);
    border-left: none;
    border-radius: 0 8px 8px 0;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    color: var(--charcoal);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.2);
}

.btn-primary {
    color: var(--white-stone);
    background: var(--gradient-copper);
    border-color: var(--accent-copper);
}

.btn-primary:hover {
    color: var(--white-stone);
    background: var(--copper-dark);
    border-color: var(--copper-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--white-stone);
    background-color: var(--stone-gray);
    border-color: var(--stone-gray);
}

.btn-secondary:hover {
    color: var(--white-stone);
    background-color: var(--dark-granite);
    border-color: var(--dark-granite);
}

.btn-outline-primary {
    color: var(--accent-copper);
    border-color: var(--accent-copper);
}

.btn-outline-primary:hover {
    color: var(--white-stone);
    background-color: var(--accent-copper);
    border-color: var(--accent-copper);
}

/* ===== КАРТОЧКИ ===== */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--white-stone);
    background-clip: border-box;
    border: 1px solid var(--light-granite);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-stone);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-dark);
}

.card-header {
    padding: 20px;
    margin-bottom: 0;
    background-color: var(--gradient-stone);
    border-bottom: 1px solid var(--light-granite);
    border-radius: 12px 12px 0 0;
}

.card-body {
    flex: 1 1 auto;
    padding: 25px;
}

.card-footer {
    padding: 20px;
    background-color: var(--stone-beige);
    border-top: 1px solid var(--light-granite);
    border-radius: 0 0 12px 12px;
}

.card-title {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-granite);
}

.card-text {
    margin-bottom: 16px;
    color: var(--stone-gray);
    line-height: 1.6;
}

/* ===== СПИСКИ ===== */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 12px;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 16px 20px;
    color: var(--charcoal);
    background-color: var(--white-stone);
    border: 1px solid var(--light-granite);
    transition: all 0.3s ease;
}

.list-group-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.list-group-item:last-child {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.list-group-item:hover {
    background-color: var(--stone-beige);
    color: var(--dark-granite);
}

.list-group-item.active {
    background-color: var(--accent-copper);
    border-color: var(--accent-copper);
    color: var(--white-stone);
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(4px);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 30px auto;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--white-stone);
    background-clip: padding-box;
    border: 1px solid var(--light-granite);
    border-radius: 16px;
    box-shadow: 0 20px 60px var(--shadow-dark);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--light-granite);
    border-radius: 16px 16px 0 0;
    background: var(--gradient-stone);
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 700;
    color: var(--dark-granite);
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 24px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--light-granite);
    border-radius: 0 0 16px 16px;
    background: var(--stone-beige);
}

/* ===== АЛЕРТЫ И УВЕДОМЛЕНИЯ ===== */
.alert {
    position: relative;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 500;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: var(--accent-copper);
    background-color: rgba(180, 83, 9, 0.1);
    border-color: rgba(180, 83, 9, 0.2);
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* ===== ТУЛТИПЫ ===== */
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 14px;
    word-wrap: break-word;
    opacity: 1;
}

.tooltip-inner {
    max-width: 200px;
    padding: 8px 12px;
    color: var(--white-stone);
    text-align: center;
    background-color: var(--dark-granite);
    border-radius: 6px;
}

/* ===== ПРОГРЕСС-БАРЫ ===== */
.progress {
    display: flex;
    height: 16px;
    overflow: hidden;
    background-color: var(--stone-beige);
    border-radius: 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--white-stone);
    text-align: center;
    white-space: nowrap;
    background: var(--gradient-copper);
    transition: width 0.6s ease;
    border-radius: 8px;
}

/* ===== БЭЙДЖИ ===== */
.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: var(--white-stone);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--gradient-copper);
}

.badge-secondary {
    background-color: var(--stone-gray);
}

.badge-success {
    background-color: #28a745;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-warning {
    background-color: #ffc107;
    color: var(--charcoal);
}

.badge-danger {
    background-color: #dc3545;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0;
    margin-bottom: 20px;
    list-style: none;
    background-color: transparent;
    border-radius: 8px;
}

.breadcrumb-item {
    display: flex;
    color: var(--stone-gray);
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 8px;
    content: "/";
    color: var(--light-granite);
}

.breadcrumb-item.active {
    color: var(--accent-copper);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--stone-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-copper);
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 8px;
    justify-content: center;
    margin: 40px 0;
}

.page-item {
    margin: 0 3px;
}

.page-link {
    position: relative;
    display: block;
    padding: 12px 16px;
    margin-left: 0;
    line-height: 1.25;
    color: var(--stone-gray);
    background-color: var(--white-stone);
    border: 1px solid var(--light-granite);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.page-link:hover {
    z-index: 2;
    color: var(--white-stone);
    background-color: var(--accent-copper);
    border-color: var(--accent-copper);
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--white-stone);
    background: var(--gradient-copper);
    border-color: var(--accent-copper);
}

.page-item.disabled .page-link {
    color: var(--light-granite);
    pointer-events: none;
    cursor: auto;
    background-color: var(--stone-beige);
    border-color: var(--light-granite);
}

/* ===== УТИЛИТАРНЫЕ КЛАССЫ ===== */
.text-primary {
    color: var(--accent-copper) !important;
}

.text-secondary {
    color: var(--stone-gray) !important;
}

.text-success {
    color: #28a745 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-muted {
    color: var(--stone-gray) !important;
}

.bg-primary {
    background: var(--gradient-copper) !important;
}

.bg-secondary {
    background-color: var(--stone-gray) !important;
}

.bg-light {
    background-color: var(--stone-beige) !important;
}

.bg-dark {
    background-color: var(--dark-granite) !important;
}

.bg-white {
    background-color: var(--white-stone) !important;
}

.border {
    border: 1px solid var(--light-granite) !important;
}

.border-primary {
    border-color: var(--accent-copper) !important;
}

.border-radius {
    border-radius: 8px !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px var(--shadow-stone) !important;
}

.shadow {
    box-shadow: 0 4px 20px var(--shadow-stone) !important;
}

.shadow-lg {
    box-shadow: 0 8px 30px var(--shadow-dark) !important;
}

/* ===== АНИМАЦИИ И ПЕРЕХОДЫ ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== СПЕЦИАЛЬНЫЕ ЭФФЕКТЫ ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.granite-texture {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 4px 4px, 6px 6px, 8px 8px;
}

.copper-glow {
    box-shadow: 0 0 20px rgba(180, 83, 9, 0.3);
}

/* ===== СПЕЦИФИЧНЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */
@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .granite-tagline {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .characteristic-value {
        font-size: 20px;
    }
    
    .advantage-icon {
        font-size: 36px !important;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .calculator-section {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* ===== ПРИНТ СТИЛИ ===== */
@media print {
    .header-top,
    .main-nav,
    .hero-section,
    .footer,
    .scroll-top,
    .calculator-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    .product-card {
        box-shadow: none;
        border: 1pt solid #000;
        page-break-inside: avoid;
    }
    
    .specs-table {
        page-break-inside: avoid;
    }
}

@media screen and (max-width:520px) {
    .table-responsive {
        overflow-x: visible !important;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦ ПРОДУКЦИИ ===== */

/* Хлебные крошки */
.breadcrumb-section {
    background: var(--stone-beige);
    padding: 15px 0;
    border-bottom: 1px solid var(--light-granite);
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--stone-gray);
}

.breadcrumb-item.active {
    color: var(--accent-copper);
}

.breadcrumb-item a {
    color: var(--stone-gray);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-copper);
}

/* Карточки областей применения */
.application-card {
    background: var(--white-stone);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-stone);
    transition: all 0.3s ease;
    border: 1px solid var(--light-granite);
    height: 100%;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-dark);
}

.application-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-copper);
    color: var(--white-stone);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.application-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-granite);
    margin-bottom: 12px;
}

.application-text {
    color: var(--stone-gray);
    margin-bottom: 12px;
    line-height: 1.5;
}

.application-specs {
    font-size: 14px;
    color: var(--accent-copper);
    font-weight: 600;
}

/* Процесс технологий */
.technology-process {
    margin-top: 30px;
}

.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--stone-beige);
}

.process-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.process-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-copper);
    color: var(--white-stone);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.process-content h5 {
    color: var(--dark-granite);
    font-weight: 700;
    margin-bottom: 8px;
}

.process-content p {
    color: var(--stone-gray);
    margin: 0;
    line-height: 1.5;
}

/* Таблица сравнения */
.comparison-table-wrapper {
    background: var(--white-stone);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-stone);
}

.comparison-table {
    margin: 0;
    font-size: 14px;
}

.comparison-table th {
    background: var(--dark-granite);
    color: var(--white-stone);
    font-weight: 600;
    padding: 16px 12px;
    text-align: center;
    border: none;
}

.comparison-table .highlight-col {
    background: var(--accent-copper) !important;
    color: var(--white-stone) !important;
}

.comparison-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--stone-beige);
    vertical-align: middle;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark-granite);
}

.comparison-table .highlight-col {
    background: rgba(180, 83, 9, 0.1);
    font-weight: 600;
    color: var(--accent-copper);
}

.comparison-table tbody tr:hover {
    background: rgba(107, 114, 128, 0.05);
}

/* Связанные товары */
.related-product-card {
    background: var(--white-stone);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-stone);
    transition: all 0.3s ease;
    border: 1px solid var(--light-granite);
    height: 100%;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-dark);
}

.related-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image {
    transform: scale(1.05);
}

.related-product-content {
    padding: 20px;
    text-align: center;
}

.related-product-content h4 {
    color: var(--dark-granite);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 18px;
}

.related-product-content p {
    color: var(--stone-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-product-content .price {
    color: var(--accent-copper);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .application-card {
        padding: 20px 15px;
    }
    
    .application-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .application-title {
        font-size: 16px;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-right: 15px;
    }
    
    .process-content h5 {
        font-size: 16px;
    }
    
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
    }
    
    .related-product-content {
        padding: 15px;
    }
    
    .related-product-content h4 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        padding: 10px 0;
    }
    
    .application-card {
        padding: 15px 10px;
    }
    
    .technology-process {
        margin-top: 20px;
    }
    
    .process-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .comparison-table-wrapper {
        margin: 0 -15px;
        border-radius: 0;
    }
}