/* ===== ОСНОВНЫЕ ПЕРЕМЕННЫЕ 2025 ===== */
:root {
    --primary-color: #2C2C2C;
    --secondary-color: #4A4A4A;
    --light-gray: #E8E8E8;
    --white: #FFFFFF;
    --dark-gray: #1A1A1A;
    --accent-color: #6B6B6B;
    --granite-color: #B8B8B8;
    --text-dark: #1A1A1A;
    --text-light: #555555;
    --border-color: #D0D0D0;
    --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-heavy: 0 16px 48px rgba(0,0,0,0.18);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 0px; /* Только острые углы */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gradient-primary: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    --gradient-secondary: linear-gradient(135deg, #4A4A4A 0%, #2C2C2C 100%);
    --granite-texture: radial-gradient(circle at 30% 40%, #C0C0C0 0%, #A8A8A8 50%, #959595 100%);
}

/* ===== ГЛОБАЛЬНЫЕ СТИЛИ 2025 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== ТИПОГРАФИКА 2025 ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}
h2 { 
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}
h3 { 
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
}
h4 { 
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
}
h5 { 
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
}
h6 { 
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: inherit;
}

/* ===== СОВРЕМЕННЫЕ КНОПКИ 2025 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 56px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn > * {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--dark-gray);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--light-gray);
    border-color: var(--primary-color);
}

.about-section .btn-outline-primary {
    color: #3b3b3b;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.8);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-cta {
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    min-height: 64px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    min-height: 60px;
}

/* ===== СЕКЦИИ 2025 ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.section-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ===== ШАПКА САЙТА 2025 ===== */
.header-section {
    position: relative;
    z-index: 1000;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: var(--shadow-medium);
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: contrast(1.1);
}

.navbar.scrolled .navbar-brand .logo {
    height: 45px;
}

.navbar-nav {
    gap: 1rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 0;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 4px 100%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-heavy);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.dropdown-item {
    padding: 1rem 2rem;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.header-contact .contact-phone {
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.header-contact .contact-phone:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== ГЕРОБЛОК 2025 ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
 /*   background: var(--gradient-primary); */
    background-color: rgb(2 2 2 / 80%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.85) 0%,
        rgba(44, 44, 44, 0.75) 50%,
        rgba(26, 26, 26, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    animation: heroFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--granite-color);
    font-weight: 400;
    margin-top: 1rem;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 400;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--granite-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--granite-color);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
    animation: heroImageFadeIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

@keyframes heroImageFadeIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.granite-sample {
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-heavy);
    border: 4px solid rgba(255, 255, 255, 0.2);
    filter: contrast(1.1) brightness(1.1);
    transition: var(--transition);
}

.granite-sample:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== О ГРАНИТЕ 2025 ===== */
.about-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #F5F5F5 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--granite-texture);
    opacity: 0.03;
    z-index: 1;
}

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

.granite-specs {
    background: var(--white);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    margin: 3rem 0;
    position: relative;
    border-left: 6px solid var(--primary-color);
}

.granite-specs::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 2px solid var(--light-gray);
    transition: var(--transition);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:hover {
    background: rgba(44, 44, 44, 0.02);
    padding-left: 1rem;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.spec-value {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.about-images {
    position: relative;
}

.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    height: 500px;
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    filter: contrast(1.1) brightness(1.05);
}

.grid-image.large {
    grid-row: span 2;
}

.grid-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
    filter: contrast(1.2) brightness(1.1);
}

/* ===== ПРОДУКЦИЯ 2025 ===== */
.products-section {
    background: var(--white);
    position: relative;
}

.product-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent var(--primary-color) transparent transparent;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: contrast(1.1) brightness(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.9) 0%,
        rgba(44, 44, 44, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: contrast(1.2) brightness(1.1);
}

.product-content {
    padding: 2.5rem;
}

.product-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.product-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feature {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.feature:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== ПРЕИМУЩЕСТВА 2025 ===== */
.advantages-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #F5F5F5 100%);
    position: relative;
}

.advantage-card {
    background: var(--white);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(44, 44, 44, 0.03) 50%, transparent 70%);
    transform: rotate(-45deg);
    transition: var(--transition);
    opacity: 0;
}

.advantage-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translate(50%, 50%);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.advantage-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.advantage-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

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

.advantage-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.advantage-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.advantage-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ===== FAQ СЕКЦИЯ ===== */
.faq-section {
    background: var(--white);
    padding: 120px 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    position: relative;
    background: var(--light-gray);
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.faq-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer.active {
    padding: 2rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== ПРИЗЫВ К ДЕЙСТВИЮ 2025 ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 800;
}

.cta-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== ФУТЕР 2025 ===== */
.footer-section {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
/*    filter: brightness(0) invert(1) contrast(1.2);*/
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 1rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-menu a::before {
    content: '▸';
    color: var(--granite-color);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--white);
    padding-left: 1rem;
}

.footer-menu a:hover::before {
    color: var(--white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--granite-color);
    width: 24px;
    font-size: 1.2rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--white);
}

.footer-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--granite-color), transparent);
    margin: 3rem 0 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

/* ===== КНОПКА НАВЕРХ 2025 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.back-to-top i {
    font-size: 1.4rem;
    transition: var(--transition);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* ===== ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ БЛОК ===== */
.tech-specs-section {
    background: var(--white);
    padding: 120px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-left: 6px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.tech-card::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.tech-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.tech-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.tech-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== ПРИМЕНЕНИЕ БЛОК ===== */
.applications-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #F5F5F5 100%);
    padding: 120px 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-item {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.application-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.application-item:hover::before {
    transform: scaleX(1);
}

.application-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.application-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.application-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.application-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== АДАПТИВНОСТЬ 2025 ===== */

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1240px;
    }
}

@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    section {
        padding: 100px 0;
    }
}

@media (max-width: 991.98px) {
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .navbar-nav {
        gap: 1rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .grid-image {
        height: 300px;
    }
    
    .grid-image.large {
        grid-row: span 1;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 80px 0;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-features {
        margin-bottom: 2.5rem;
    }
    
    .feature-item {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .header-contact {
        text-align: center;
        margin-top: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top i {
        font-size: 1.2rem;
    }
    
    .granite-specs {
        padding: 2rem;
    }
    
    .advantage-card {
        padding: 2rem;
    }
    
    .advantage-icon {
        width: 80px;
        height: 80px;
    }
    
    .advantage-icon i {
        font-size: 2rem;
    }
    
    .product-content {
        padding: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-card {
        padding: 2rem;
    }
    
    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        margin-bottom: 1rem;
        margin-top: 50px;
    }
    
    .hero-description {
        margin-bottom: 2rem;
    }
    
    .granite-specs {
        padding: 1.5rem;
    }
    
/*    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
    } */
    
    .advantage-card {
        padding: 1.5rem;
    }
    
    .advantage-icon {
        width: 70px;
        height: 70px;
    }
    
    .advantage-icon i {
        font-size: 1.8rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .footer-section {
        padding: 3rem 0 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}

/* ===== АНИМАЦИИ И ЭФФЕКТЫ 2025 ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== УТИЛИТЫ И МОДИФИКАТОРЫ ===== */
.animate-slide-up {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right {
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pt-4 { padding-top: 4rem; }
.pt-5 { padding-top: 5rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }
.pb-4 { padding-bottom: 4rem; }
.pb-5 { padding-bottom: 5rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }
.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }

.border-0 { border: none; }
.border-1 { border: 1px solid var(--border-color); }
.border-2 { border: 2px solid var(--border-color); }

.shadow-light { box-shadow: var(--shadow-light); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-heavy { box-shadow: var(--shadow-heavy); }

/* ===== ДОСТУПНОСТЬ ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.keyboard-focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== ВЫСОКАЯ ПЛОТНОСТЬ ЭКРАНОВ ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand .logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

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

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs-section {
    background: var(--light-gray);
    padding: 2rem 0;
    margin-top: 80px;
}

.breadcrumb {
    background: transparent;
    margin: 20px 0 0 0;
    padding: 0;
    font-size: 1rem;
}

.breadcrumb-item {
    color: var(--text-light);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0.75rem;
}

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

.breadcrumb-item a:hover {
    color: var(--dark-gray);
    text-decoration: underline;
}

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

/* ===== ГЕРОБЛОК СТРАНИЦЫ ===== */
.page-hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
  /*  background: var(--gradient-primary); */
  background-color: rgb(2 2 2 / 80%);
}

.page-hero-section .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.page-hero-section .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(0.7);
}

.page-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.8) 0%,
        rgba(44, 44, 44, 0.7) 100%);
    z-index: -1;
}

.page-hero-section .hero-content {
    color: var(--white);
    animation: heroFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-hero-section .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-hero-section .hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 0;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-content-section {
    padding: 80px 0;
    background: var(--white);
}

.content-block {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--light-gray);
}

.content-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-block ul {
    margin-bottom: 2rem;
}

.content-block li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* ===== ГЕОЛОГИЯ И ДЕТАЛИ ===== */
.geology-details {
    background: var(--light-gray);
    padding: 2.5rem;
    margin: 2rem 0;
    border-left: 6px solid var(--primary-color);
    position: relative;
}

.geology-details::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.geology-details h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.geology-list {
    list-style: none;
    padding: 0;
}

.geology-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(44, 44, 44, 0.1);
    position: relative;
    padding-left: 2rem;
}

.geology-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.geology-list li:last-child {
    border-bottom: none;
}

/* ===== КАРТОЧКИ ХАРАКТЕРИСТИК ===== */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.char-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.char-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 44, 44, 0.05), transparent);
    transition: left 0.6s;
}

.char-card:hover::before {
    left: 100%;
}

.char-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.char-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.char-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.char-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.char-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.char-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.char-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== ЭТАПЫ ДОБЫЧИ ===== */
.mining-stages {
    margin-top: 2rem;
}

.stage-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.stage-item:hover::before {
    transform: scaleY(1);
}

.stage-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-light);
    transform: translateX(10px);
}

.stage-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
}

.stage-number::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.stage-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stage-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== ЭКОЛОГИЧЕСКИЕ АСПЕКТЫ ===== */
.eco-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.eco-item {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.eco-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.eco-item:hover::before {
    transform: scaleX(1);
}

.eco-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.eco-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.eco-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.eco-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== САЙДБАР ===== */
.sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-light);
    border-color: var(--primary-color);
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 4px 100%);
}

/* ===== БЫСТРЫЕ ФАКТЫ ===== */
.fact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-item:hover {
    background: rgba(44, 44, 44, 0.02);
    padding-left: 0.5rem;
}

.fact-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.fact-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-align: right;
}

/* ===== ГАЛЕРЕЯ ИЗОБРАЖЕНИЙ ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-image:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

/* ===== МОДАЛЬНОЕ ОКНО ИЗОБРАЖЕНИЙ ===== */
.image-modal {
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    --bs-backdrop-bg: #00000000;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--white);
    padding: 1rem;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10001;
}

.modal-close:hover {
    background: var(--dark-gray);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-caption {
    text-align: center;
    padding: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    border-top: 1px solid var(--light-gray);
    margin-top: 1rem;
}

/* ===== СВЯЗАННЫЕ ПРОДУКТЫ ===== */
.related-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    border-left: 4px solid transparent;
}

.product-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-left-color: var(--dark-gray);
    transform: translateX(5px);
}

.product-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* ===== КОНТАКТНЫЙ ВИДЖЕТ ===== */
.contact-widget {
    background: var(--gradient-primary) !important;
    color: var(--white);
    border: none !important;
}

.contact-widget .widget-title {
    color: var(--white);
}

.contact-widget .widget-title::after {
    background: rgba(255, 255, 255, 0.3);
}

.contact-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== ПРЕИМУЩЕСТВА МЕСТОРОЖДЕНИЯ ===== */
.deposit-advantages-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #F5F5F5 100%);
    padding: 80px 0;
}

.deposit-advantages-section .advantage-card {
    background: var(--white);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.deposit-advantages-section .advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent var(--primary-color) transparent transparent;
    opacity: 0;
    transition: var(--transition);
}

.deposit-advantages-section .advantage-card:hover::before {
    opacity: 1;
}

.deposit-advantages-section .advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.deposit-advantages-section .advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
}

.deposit-advantages-section .advantage-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.deposit-advantages-section .advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.deposit-advantages-section .advantage-icon i {
    font-size: 2rem;
    color: var(--white);
}

.deposit-advantages-section .advantage-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.deposit-advantages-section .advantage-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ СТРАНИЦЫ МЕСТОРОЖДЕНИЯ ===== */
@media (max-width: 1199.98px) {
    .characteristics-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 991.98px) {
    .main-content-section {
        padding: 60px 0;
    }
    
    .page-hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .char-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stage-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .eco-measures {
        grid-template-columns: 1fr;
    }
    
    .mining-stages {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .breadcrumbs-section {
        padding: 1.5rem 0;
        margin-top: 70px;
    }
    
    .page-hero-section {
        height: auto;
        min-height: 300px;
    }
    
    .page-hero-section .hero-title {
        margin-bottom: 1rem;
    }
    
    .content-block {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }
    
    .content-title {
        margin-bottom: 1.5rem;
    }
    
    .geology-details {
        padding: 2rem;
    }
    
    .char-card {
        padding: 1.5rem;
    }
    
    .stage-item {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stage-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .eco-item {
        padding: 1.5rem;
    }
    
    .eco-item i {
        font-size: 2.5rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 150px;
    }
    
    .deposit-advantages-section .advantage-card {
        padding: 2rem;
    }
    
    .deposit-advantages-section .advantage-icon {
        width: 70px;
        height: 70px;
    }
    
    .deposit-advantages-section .advantage-icon i {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.5rem;
    }
    
    .fact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .fact-value {
        text-align: left;
    }
    
    .geology-details {
        padding: 1.5rem;
    }
    
    .char-card {
        padding: 1.25rem;
    }
    
    .char-value {
        font-size: 1.5rem;
    }
    
    .stage-item {
        padding: 1.25rem;
    }
    
    .eco-item {
        padding: 1.25rem;
    }
    
    .sidebar-widget {
        padding: 1.25rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 0.5rem;
    }
    
    .modal-image {
        max-height: 60vh;
    }
    
    .modal-caption {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .contact-actions .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* ===== АНИМАЦИИ ДЛЯ ЭЛЕМЕНТОВ СТРАНИЦЫ ===== */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-left {
    animation: slideInFromLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right {
    animation: slideInFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    position: relative;
}

.border-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.highlight-text {
    background: linear-gradient(120deg, transparent 0%, rgba(44, 44, 44, 0.1) 50%, transparent 100%);
    padding: 0.2em 0.5em;
    font-weight: 600;
}



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

/* ===== РАЗМЕРЫ И ТИПЫ БРУСЧАТКИ ===== */
.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.size-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.size-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 44, 44, 0.05), transparent);
    transition: left 0.6s;
}

.size-card:hover::before {
    left: 100%;
}

.size-card::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: 0;
    transition: var(--transition);
}

.size-card:hover::after {
    opacity: 1;
}

.size-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.size-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.size-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.size-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.size-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.size-dimensions {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.size-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.size-applications {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.app-tag {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.app-tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== ВИДЫ ОБРАБОТКИ ПОВЕРХНОСТИ ===== */
.processing-types {
    margin-top: 2rem;
}

.processing-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.processing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.processing-card:hover::before {
    transform: scaleY(1);
}

.processing-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-medium);
    transform: translateX(10px);
}

.processing-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.processing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.processing-card:hover .processing-img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.processing-content h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.processing-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.processing-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-point {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.feature-point::before {
    content: '✓';
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-point:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== ТАБЛИЦА ТЕХНИЧЕСКИХ ХАРАКТЕРИСТИК ===== */
.tech-specs-table {
    background: var(--white);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    overflow: hidden;
}

.spec-row {
    display: flex;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
}

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

.spec-row:hover {
    background: rgba(44, 44, 44, 0.02);
}

.spec-row:nth-child(even) {
    background: rgba(0, 0, 0, 0.01);
}

.spec-parameter {
    flex: 1;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}


/* ===== ОБЛАСТИ ПРИМЕНЕНИЯ ===== */
.applications-list {
    margin-top: 2rem;
}

.application-category {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 6px solid var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.application-category::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.application-category:hover {
    box-shadow: var(--shadow-light);
    transform: translateX(5px);
}

.application-category h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.application-category h4 i {
    font-size: 1.6rem;
}

.application-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.application-category li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(44, 44, 44, 0.1);
    position: relative;
    padding-left: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-light);
}

.application-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.application-category li:last-child {
    border-bottom: none;
}

/* ===== ЭТАПЫ УКЛАДКИ ===== */
.installation-steps {
    margin-top: 2rem;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-light);
    transform: translateY(-3px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.step-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== ВИДЖЕТЫ САЙДБАРА ===== */
.product-info-widget {
    background: var(--gradient-primary) !important;
    color: var(--white);
    border: none !important;
}

.product-info-widget .widget-title {
    color: var(--white);
}

.product-info-widget .widget-title::after {
    background: rgba(255, 255, 255, 0.3);
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* .spec-item {
    display: flex;
    align-items: center;
    gap: 1rem; */
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.spec-details {
    display: flex;
    flex-direction: column;
}

.spec-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}



/* ===== ВИДЫ ПОВЕРХНОСТИ ===== */
.surface-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.surface-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.surface-item:hover {
    background: var(--white);
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.surface-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.surface-info h5 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.surface-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* ===== ВАРИАНТЫ УКЛАДКИ ===== */
.pattern-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pattern-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    transition: var(--transition);
    cursor: pointer;
}

.pattern-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-light);
    transform: translateY(-3px);
}

.pattern-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.pattern-name {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* ===== ГАЛЕРЕЯ ПРОЕКТОВ ===== */
.projects-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.8) 0%,
        rgba(44, 44, 44, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: var(--white);
}

.project-info h4 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ СТРАНИЦЫ БРУСЧАТКИ ===== */
@media (max-width: 991.98px) {
    .sizes-grid {
        grid-template-columns: 1fr;
    }
    
    .processing-card {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .processing-image {
        width: 100%;
        height: 200px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .size-card {
        padding: 1.5rem;
    }
    
    .processing-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .application-category {
        padding: 1.5rem;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .tech-specs-table {
        font-size: 0.9rem;
    }
    
    .spec-row {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }
    
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-item {
        height: 200px;
    }
    
    .pattern-examples {
        grid-template-columns: 1fr;
    }
    
    .surface-types {
        gap: 0.75rem;
    }
    
    .surface-item {
        padding: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .size-icon {
        width: 50px;
        height: 50px;
    }
    
    .size-icon i {
        font-size: 1.3rem;
    }
    
    .size-dimensions {
        font-size: 1.4rem;
    }
    
    .processing-image {
        height: 150px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .application-category {
        padding: 1.25rem;
    }
    
    .application-category h4 {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .spec-row {
        padding: 0.75rem 1rem;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .project-info h4 {
        font-size: 1.2rem;
    }
    
    .product-specs {
        gap: 1rem;
    }
    
    .surface-thumb {
        width: 50px;
        height: 40px;
    }
    
    .pattern-img {
        width: 70px;
        height: 50px;
    }
}

/* ===== СПЕЦИАЛЬНЫЕ ЭФФЕКТЫ ДЛЯ БРУСЧАТКИ ===== */
.granite-texture-bg {
    position: relative;
}

.granite-texture-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--granite-texture);
    opacity: 0.05;
    z-index: 1;
}

.granite-texture-bg > * {
    position: relative;
    z-index: 2;
}

/* ===== АНИМАЦИЯ ЗАГРУЗКИ ===== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== УЛУЧШЕННЫЕ HOVER ЭФФЕКТЫ ===== */
.enhanced-hover {
    position: relative;
    overflow: hidden;
}

.enhanced-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.enhanced-hover:hover::before {
    left: 100%;
}

/* ===== КАСТОМНЫЕ СКРОЛЛБАРЫ ===== */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gray);
}

/* ===== УЛУЧШЕННЫЕ ТЕНИ ===== */
.shadow-granite {
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.1),
        0 8px 16px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.shadow-granite:hover {
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.15),
        0 16px 32px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ===== ГРАДИЕНТНЫЕ ЭЛЕМЕНТЫ ===== */
.gradient-border {
    position: relative;
    background: var(--white);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: var(--gradient-primary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

/* ===== МАТЕРИАЛЬНЫЙ ДИЗАЙН ЭЛЕМЕНТЫ ===== */
.material-card {
    background: var(--white);
    border-radius: 0;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.material-card:hover {
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.12),
        0 16px 32px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

/* ===== ТИПОГРАФИЧЕСКИЕ УЛУЧШЕНИЯ ===== */
.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

.font-mono {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* ===== ACCESSIBILITY УЛУЧШЕНИЯ ===== */
.focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===== АНИМАЦИИ ПРОКРУТКИ ===== */
@media (prefers-reduced-motion: no-preference) {
    .scroll-animation {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .scroll-animation.in-view {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ПЕЧАТЬ СПЕЦИАЛЬНО ДЛЯ БРУСЧАТКИ ===== */
@media print {
    .processing-card,
    .size-card,
    .step-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .projects-section,
    .sidebar {
        display: none;
    }
    
    .tech-specs-table {
        border: 1px solid #000;
    }
    
    .spec-row {
        border-bottom: 1px solid #ccc;
    }
    
    .processing-img,
    .project-image {
        filter: grayscale(100%);
    }
}

/* ===== КАСТОМНЫЕ СВОЙСТВА ДЛЯ БРУСЧАТКИ ===== */
:root {
    --bruschatka-gradient: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #d1d1d1 100%);
    --bruschatka-shadow: 0 4px 12px rgba(68, 68, 68, 0.15);
    --bruschatka-border: 1px solid #c0c0c0;
}

/* ===== СОСТОЯНИЯ ЗАГРУЗКИ ===== */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(50%);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-gray);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== УЛУЧШЕННАЯ ИНТЕРАКТИВНОСТЬ ===== */
.interactive-element {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.interactive-element:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.interactive-element:active {
    transform: scale(0.98);
}

/* ===== СОВРЕМЕННЫЕ ПЕРЕХОДЫ ===== */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.bounce-transition {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== GRID УТИЛИТЫ ===== */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* ===== FLEXBOX УТИЛИТЫ ===== */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flex-column {
    display: flex;
    flex-direction: column;
}

/* ===== SPACING УТИЛИТЫ ===== */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }



.border-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.selector-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.selector-item:hover,
.selector-item.active {
    background: var(--primary-color);
    color: var(--white);
    border-left-color: var(--dark-gray);
}

.selector-type {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 40px;
}

.selector-info {
    display: flex;
    flex-direction: column;
}

.selector-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.selector-size {
    font-size: 0.8rem;
    opacity: 0.8;
}

.border-type-card.highlighted {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

@media (max-width: 767.98px) {
    .selector-item {
        padding: 0.75rem;
    }
    
    .selector-type {
        min-width: 35px;
        font-size: 1rem;
    }
}