/* ============================================
   GELEMAR — Основные стили
   ============================================ */

/* === ПЕРЕМЕННЫЕ === */
:root {
    --primary: #1A1A1A;
    --background: #FFFFFF;
    --accent: #C5A059;
    --secondary: #F5F5F5;
    --text: #333333;
    --text-light: #666666;
    --border: #E5E5E5;
}

/* === СБРОС === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--background);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* === КНОПКИ === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #b08d4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

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

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

/* === ПРОМО-БАННЕР === */
.promo-banner {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    color: white;
    padding: 25px 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.promo-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.promo-badge {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: glow 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(197, 160, 89, 0.5); }
    50% { box-shadow: 0 0 25px rgba(197, 160, 89, 0.8); }
}

.promo-text h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 5px;
}

.promo-text p {
    font-size: 14px;
    opacity: 0.9;
}

.promo-code {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 10px;
    border: 2px dashed var(--accent);
    flex-shrink: 0;
}

.promo-code-label {
    font-size: 12px;
    opacity: 0.8;
}

.promo-code-value {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
}

.promo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    opacity: 0.6;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    transition: opacity 0.3s;
    z-index: 3;
}

.promo-close:hover {
    opacity: 1;
}

/* === HEADER === */
.header {
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main {
    padding: 20px 0;
}

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

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--primary);
    display: block;
}

.mobile-menu {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.header-phone {
    text-align: right;
}

.header-phone a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

.header-phone a:hover {
    color: var(--accent);
}

.header-phone span {
    font-size: 13px;
    color: var(--text-light);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 80px 0;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
}

/*.hero h1 span {
    color: var(--accent);
}*/

.hero-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.7;
}

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

.hero-monument {
    position: absolute;
    left: 2%;
    bottom: 0;
    width: 80%;
    z-index: 1;
    pointer-events: none;
}

.hero-monument img {
    width: 100%;
    min-width: 800px;
    height: auto;
    opacity: 0.45;
    display: block;
    margin-bottom: -17%;
}

/* === СТАТИСТИКА И ПРЕИМУЩЕСТВА === */
.stats-benefits {
    background: linear-gradient(135deg, #3D3D3D 0%, #1A1A1A 100%);
    color: white;
    padding: 52px 0;
}

.stats-benefits .section-header {
    margin-bottom: 34px;
}

.stats-benefits .section-title {
    color: white;
}

.stats-benefits .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 23px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 10px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    background: rgba(197, 160, 89, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 34px;
    padding-top: 34px;
}

.benefit-highlight {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-highlight-icon {
    width: 48px;
    height: 48px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.benefit-highlight h3 {
    color: white;
    font-size: 23px;
    margin-bottom: 8px;
}

.benefit-highlight p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* === МАТЕРИАЛЫ === */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.material-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.material-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.material-card:hover img {
    transform: scale(1.1);
}

.material-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 25px;
    color: white;
}

.material-overlay h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
}

.material-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.material-props {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.material-prop {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* === ПРОДУКЦИЯ === */
.products {
    background: var(--secondary);
}

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

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.new {
    background: #4CAF50;
}

.product-badge.premium {
    background: var(--primary);
}

.product-info {
    padding: 25px;
}

.product-material {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-features {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.product-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.catalog-more {
    text-align: center;
    margin-top: 50px;
}

/* === УСЛУГИ === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
    transform: translateY(-5px);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.service-card-body {
    padding: 30px;
    display: flex;
    gap: 20px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), #d4b06a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 13px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: bold;
}

/* === ПОСЛЕДНИЕ РАБОТЫ === */
.recent-works {
    background: var(--secondary);
}

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

.work-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.work-card:hover img {
    transform: scale(1.08);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 25px 20px;
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s;
}

.work-card:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-overlay h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 5px;
}

.work-overlay span {
    font-size: 13px;
    opacity: 0.85;
}

.work-card-button {
    border: 0;
    padding: 0;
    width: 100%;
    text-align: inherit;
    background: transparent;
}

.catalog-empty,
.works-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    padding: 32px 12px;
    border: 1px dashed var(--border);
    border-radius: 12px;
}

.works-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.works-modal.is-open {
    display: block;
}

.works-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.works-modal__dialog {
    position: relative;
    width: min(95vw, 980px);
    margin: 40px auto;
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.works-modal__image {
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    background: #0a0a0a;
}

.works-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.works-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.works-modal__nav--prev {
    left: 12px;
}

.works-modal__nav--next {
    right: 12px;
}

.works-modal__caption {
    background: #181818;
    color: #f3f3f3;
    padding: 16px 20px;
}

.works-modal__title {
    color: #fff;
    font-size: 22px;
    margin-bottom: 4px;
}

.works-modal__meta {
    font-size: 14px;
    color: #d0d0d0;
}

/* === КАК МЫ РАБОТАЕМ === */
.how-we-work {
    background: linear-gradient(135deg, #3D3D3D 0%, #1A1A1A 100%);
    color: white;
}

.how-we-work .section-title {
    color: white;
}

.how-we-work .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 70px;
    right: 70px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* === CTA === */
.cta {
    background: linear-gradient(135deg, var(--accent) 0%, #d4b06a 100%);
    color: white;
    padding: 60px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 25px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.cta-feature svg {
    flex-shrink: 0;
}

.cta-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cta-form h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group input.is-invalid {
    border-color: #c62828;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.form-group input.is-invalid:focus {
    border-color: #c62828;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* === FAQ (главная, #faq-section) === */
#faq-section {
    --faq-icon-bg: #c5a36b;
}

#faq-section .section-header {
    margin-bottom: clamp(2rem, 5vw, 3.125rem);
}

#faq-section .section-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

#faq-section .section-subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
}

#faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 24px);
}

#faq-section .faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: clamp(1.125rem, 3vw, 1.75rem);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#faq-section .faq-item:hover {
    border-color: rgba(197, 163, 107, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

#faq-section .faq-item-inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(10px, 2vw, 14px);
}

#faq-section .faq-item-icon {
    flex-shrink: 0;
    width: clamp(2rem, 5vw, 2.375rem);
    height: clamp(2rem, 5vw, 2.375rem);
    border-radius: 50%;
    background: var(--faq-icon-bg);
    color: #fff;
    font-family: Lato, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: clamp(0.8125rem, 2.2vw, 1rem);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#faq-section .faq-item-body {
    flex: 1;
    min-width: 0;
}

#faq-section .faq-item-question {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(1rem, 2.8vw, 1.125rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.35;
    margin: 0 0 clamp(0.5rem, 1.5vw, 0.625rem);
}

#faq-section .faq-item-answer {
    font-family: Lato, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.8125rem, 2vw, 0.9375rem);
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* === FOOTER === */
.footer {
    margin-top: auto;
    background: var(--primary);
    color: white;
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr;
    align-items: start;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-icon img {
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact .footer-title {
    display: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-item strong {
    display: block;
    margin-bottom: 0;
    line-height: 1.25;
}

.footer-contact-item span {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.3;
}

.footer-phone {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-grid,
    .works-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .benefits-row {
        grid-template-columns: 1fr;
    }

    .hero-monument {
        opacity: 0.2;
        width: 100%;
        left: 0;
    }

    .catalog-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-monument {
        display: none;
    }

    .nav-menu,
    .header-phone {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border);
        background: #fff;
    }

    .mobile-menu.is-open {
        display: flex;
    }

    .mobile-menu a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }

    .mobile-menu a.active {
        color: var(--accent);
        font-weight: 700;
    }

    .promo-content {
        flex-direction: column;
        gap: 15px;
    }

    .promo-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .promo-text h3 {
        font-size: 18px;
    }

    .promo-code {
        align-self: center;
    }

    .stats-grid,
    .products-grid,
    .materials-grid,
    .services-grid,
    .works-grid,
    .works-grid-large {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        gap: 30px;
    }

    .steps::before {
        display: none;
    }

    .step {
        max-width: none;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
    }

    #faq-section .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card-body {
        flex-direction: column;
        gap: 15px;
    }

    .works-modal__dialog {
        margin: 20px auto;
        width: 96vw;
    }

    .works-modal__title {
        font-size: 18px;
    }
}

/* === ГЕРОЙ ВНУТРЕННИХ СТРАНИЦ === */
.city-seo-text { margin-top: 2rem; padding: 2rem; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); }
.city-seo-text h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.city-seo-text h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.city-seo-text p { margin-bottom: 0.75rem; color: var(--text); }
.city-seo-text ul { margin: 0.5rem 0 1rem 1.5rem; }
.city-seo-text li { margin-bottom: 0.35rem; }
.city-seo-text a { color: var(--primary); text-decoration: underline; }

.breadcrumbs {
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
    color: var(--accent);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 4px;
}

.page-hero {
    background: linear-gradient(135deg, #3D3D3D 0%, #1A1A1A 100%);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.works-grid-large {
    grid-template-columns: repeat(3, 1fr);
}

.catalog-count {
    font-size: 14px;
    color: var(--text-light);
}

.contact-card a {
    color: var(--accent);
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТРАНИЦЫ
   (Каталог, Детали товара, Услуги, Контакты)
   ============================================ */

/* --- Каталог --- */
.catalog-page {
    padding: 40px 0 80px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.catalog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.filter-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.filter-checkbox span {
    font-size: 14px;
    color: var(--text);
}

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

.price-inputs input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
}

.price-inputs span {
    color: var(--text-light);
}

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

.catalog-title {
    font-size: 28px;
}

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

.catalog-sort label {
    font-size: 14px;
    color: var(--text-light);
}

.catalog-sort select {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.catalog-categories {
    margin: -8px 0 20px;
}

.catalog-categories-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.catalog-categories-row:empty {
    display: none;
}

.catalog-seo-text {
    margin: 8px 0 18px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.catalog-category-chip {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
}

.catalog-category-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

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

/* Карточка каталога (вариант с крупным превью и типографикой как в референсе) */
.catalog-products .catalog-card {
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-products .catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.catalog-products .catalog-card .catalog-card__image {
    position: relative;
    height: 430px;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.catalog-products .catalog-card .catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: none;
}

.catalog-products .catalog-card:hover .catalog-card__image img {
    transform: none;
}

.catalog-products .catalog-card .catalog-card__content {
    padding: 22px 22px 26px;
}

.catalog-products .catalog-card .catalog-card__type {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c89d4f;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.catalog-products .catalog-card .catalog-card__title {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', serif;
    color: #111111;
}

@media (max-width: 768px) {
    .catalog-products .catalog-card .catalog-card__image {
        height: min(72vw, 380px);
    }

    .catalog-products .catalog-card .catalog-card__title {
        font-size: 28px;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination span.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* --- Детали товара --- */
.product-detail {
    padding: 40px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.main-image {
    width: 100%;
    height: 500px;
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--accent);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.product-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.product-detail-meta span {
    font-size: 14px;
    color: var(--text-light);
}

.product-detail-meta strong {
    color: var(--primary);
}

.product-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}

.product-detail-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.product-detail-desc {
    margin-bottom: 30px;
}

.product-detail-desc h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.product-detail-desc p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.product-detail-specs {
    margin-bottom: 30px;
}

.product-detail-specs h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.spec-list {
    display: grid;
    gap: 12px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.spec-item strong {
    color: var(--primary);
}

.product-detail-actions {
    display: flex;
    gap: 15px;
}

/* --- Страница услуг --- */
.services-page {
    padding: 40px 0 80px;
}

.service-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2C2C2C 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.service-hero h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
}

.service-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-item:nth-child(even) .service-item-image {
    order: 2;
}

.service-item-image {
    height: 350px;
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-item-content > p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.service-feature .check {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.service-price {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-price strong {
    font-size: 20px;
    color: var(--primary);
}

/* --- Страница контактов --- */
.contacts-page {
    padding: 40px 0 80px;
}

.contacts-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2C2C2C 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.contacts-hero h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
}

.contacts-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--accent);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.contact-card strong {
    color: var(--primary);
}

.contact-map {
    height: 450px;
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 60px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
}

.contact-form-section > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
}

.contact-form .btn {
    width: 100%;
}

/* --- Адаптивность доп. страниц --- */
@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .catalog-products {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(even) .service-item-image {
        order: 0;
    }
}

/* === УВЕДОМЛЕНИЯ ФОРМЫ === */
.form-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
}

.form-notification.visible {
    transform: translateY(0);
    opacity: 1;
}

.form-notification--success {
    background: #2e7d32;
}

.form-notification--error {
    background: #c62828;
}

/* === EMPTY STATES === */
.catalog-empty,
.works-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

