/* Стили сайта Семёнов Арт - искусство в металле */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Металлические градиенты для темной темы */
:root {
    --brass-dark: linear-gradient(135deg, #8b6e4b, #b4945a, #8b6e4b);
    --copper-dark: linear-gradient(135deg, #9e623b, #c1692e, #9e623b);
    --bronze-dark: linear-gradient(135deg, #6b4f3a, #a57c5a, #6b4f3a);
    --titan-dark: linear-gradient(135deg, #4a4a4a, #7a7a7a, #4a4a4a);
    --gold-accent: linear-gradient(135deg, #bf9530, #fcf4a3, #b38728);
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.header {
    position: relative;
    height: auto;           /* авто-высота */
    min-height: 100vh;      /* минимум на весь экран */
    overflow: visible;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0 20px;   /* отступы сверху и снизу */
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/head.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    filter: brightness(0.8) saturate(1.2);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,10,10,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 20px;
}

/* Логотип */
.logo {
    margin-bottom: 30px;
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-height: 110px;
    width: auto;
    display: block;
    margin: 0 auto 25px;
    filter: drop-shadow(0 0 20px rgba(191, 149, 48, 0.3));
}

/* Анимация для логотипа */
.logo-animated {
    animation: metalShine 4s ease-in-out infinite;
}

@keyframes metalShine {
    0% {
        filter: drop-shadow(0 0 5px rgba(191, 149, 48, 0.3));
        opacity: 0.95;
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(191, 149, 48, 0.8)) brightness(1.1);
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(191, 149, 48, 0.3));
        opacity: 0.95;
    }
}

.logo-animated:hover {
    animation: none;
    filter: drop-shadow(0 0 30px rgba(191, 149, 48, 0.9));
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff, #bf9530, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(191, 149, 48, 0.5);
    letter-spacing: 8px;
}

.logo-text span {
    font-size: 2rem;
    display: block;
    font-weight: 300;
    letter-spacing: 4px;
}

.slogan {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.metal-badge {
    display: inline-block;
    padding: 10px 30px;
    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 149, 48, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    margin-top: 20px;
    color: #bf9530;
    letter-spacing: 2px;
}

/* Общие стили */
.section {
    padding: 100px 20px;
    position: relative;
}

.section:nth-child(even) {
    background: #0f0f0f;
}

.section:nth-child(odd) {
    background: #0a0a0a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: #fff;
    position: relative;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #bf9530, #b87333, #cd7f32, transparent);
    margin: 20px auto;
}

/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.2rem;
    color: #b0b0b0;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: #bf9530;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(191, 149, 48, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(191, 149, 48, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(191, 149, 48, 0.3));
}

.service-card h3 {
    font-size: 1.3rem;
    color: #fff;
}

/* Портфолио - галерея */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(191, 149, 48, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    color: white;
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #bf9530;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Технология с видео */
.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-text h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
}

.tech-text p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.tech-features {
    list-style: none;
    margin-top: 30px;
}

.tech-features li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
    color: #d0d0d0;
}

.tech-features li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #bf9530;
    font-size: 1.3rem;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #bf9530, #fcf4a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Cormorant Garamond', serif;
}

.stat-label {
    font-size: 1.1rem;
    color: #a0a0a0;
}

/* Видео-блок */
.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(191, 149, 48, 0.2);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* Контакты */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: #d0d0d0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b6e4b, #b4945a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(191, 149, 48, 0.3);
}

.work-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(191, 149, 48, 0.2);
}

.work-hours h3 {
    color: #bf9530;
    margin-bottom: 10px;
}

.map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    height: 450px;
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(50%) brightness(0.8);
}

/* Кнопка */
.contact-btn-wrapper {
    text-align: center;
    margin: 40px 0 20px;
}


/* Кнопка "Обсудить проект" — золото с чёрным текстом */
.contact-btn {
    background: linear-gradient(135deg, #d4af37, #f5e56b);
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 80px;
    padding: 16px 48px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #e5c442, #ffe48b);
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}


/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(145deg, #141414, #1f1f1f);
    padding: 50px;
    border-radius: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(191, 149, 48, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 30px rgba(191, 149, 48, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #bf9530;
}

.modal-content h2 {
    color: #fff;
    margin-bottom: 10px;
}

.modal-content p {
    color: #b0b0b0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: 60px;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    transform: translateX(8px);
}

.social-link.vk { background: #4a76a8; }
.social-link.telegram { background: #0088cc; }
.social-link.phone { background: #27ae60; }
.social-link.max { 
    background: linear-gradient(135deg, #8b6e4b, #b4945a);
    box-shadow: 0 4px 15px rgba(191, 149, 48, 0.3);
}

/* Подвал */
.footer {
    background: #050505;
    color: #a0a0a0;
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(191, 149, 48, 0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-content,
    .tech-content,
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 3.5rem;
    }

    .slogan {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .logo-text span {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
    
    .header-bg {
        background-attachment: scroll;
    }
    
    .overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 480px) {
    .contact-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Адаптация логотипа */
@media (max-width: 992px) {
    .logo-img {
        max-height: 90px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 70px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 60px;
        margin-bottom: 10px;
    }
}

.city-note {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #bf9530;
}

.city-note a {
    color: #bf9530;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.city-note a:hover {
    opacity: 0.8;
}
/* Улучшение для мобильных */
@media (max-width: 768px) {
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
    
    .header-bg {
        background-attachment: scroll;
        filter: brightness(0.9) saturate(1.2);
    }
    
    .overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .city-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .city-link {
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .logo-text span {
        font-size: 1rem;
    }
    
    .slogan {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-item img {
        height: 300px;
    }
}

/* Улучшение для мобильных */
@media (max-width: 768px) {
    .gallery-overlay h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .social-link {
        padding: 15px;
        font-size: 1rem;
    }
    
    .city-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .city-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .gallery-item img {
        height: 250px;
    }
    
    .gallery-overlay {
        padding: 15px 10px;
    }
    
    .gallery-overlay h3 {
        font-size: 0.9rem;
    }
    
    .gallery-overlay p {
        font-size: 0.7rem;
    }
    
    .contact-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Контейнер для карты */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(191, 149, 48, 0.1);
}

/* Контейнер для карты */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.map-container iframe {
    display: block;
    transition: filter 0.3s ease;
    height: 500px; /* Увеличили высоту для десктопа */
}

.map-container iframe:hover {
    filter: grayscale(30%) brightness(0.9);
}

/* Для планшетов */
@media (max-width: 992px) {
    .map-container iframe {
        height: 450px;
    }
}

/* Для мобильных */
@media (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 300px;
    }
}

/* КАРТА - ПРИНУДИТЕЛЬНЫЕ СТИЛИ */
.map .map-container {
    height: 500px !important;
    width: 100% !important;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.map .map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    position: relative;
    z-index: 1;
}

/* Адаптация */
@media (max-width: 992px) {
    .map .map-container {
        height: 450px !important;
    }
}

@media (max-width: 768px) {
    .map .map-container {
        height: 350px !important;
    }
}

@media (max-width: 480px) {
    .map .map-container {
        height: 300px !important;
    }
}

/* Стили для ссылок в подвале */
.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #bf9530;
}

/* Для мобильных */
@media (max-width: 768px) {
    .footer-links {
        gap: 15px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

css
.service-card h3 {
    font-size: 1.2rem; /* чуть меньше стандартного 1.3rem */
}
/* Отзывы клиентов */
#reviews {
    background: #0f0f0f;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(191, 149, 48, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(191, 149, 48, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.review-rating {
    color: #bf9530;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.review-text {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.review-text::before {
    content: '"';
    font-size: 2rem;
    color: #bf9530;
    opacity: 0.5;
    margin-right: 5px;
}

.review-text::after {
    content: '"';
    font-size: 2rem;
    color: #bf9530;
    opacity: 0.5;
    margin-left: 5px;
    vertical-align: top;
}

.review-author {
    border-top: 1px solid rgba(191, 149, 48, 0.2);
    padding-top: 15px;
    margin-top: 10px;
}

.review-author-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.review-author-city {
    font-size: 0.85rem;
    color: #bf9530;
    margin-bottom: 3px;
}

.review-author-project {
    font-size: 0.8rem;
    color: #a0a0a0;
}

.reviews-footer {
    text-align: center;
    margin-top: 20px;
}

.reviews-note {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.reviews-note a {
    color: #bf9530;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.reviews-note a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
}

/* Социальные сети в контактах */
.social-icons-block {
    align-items: flex-start;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Общие стили для всех иконок */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(191, 149, 48, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 149, 48, 0.2);
}

/* Круглые иконки (VK, Telegram, Pinterest, Instagram) */
.social-icon:not(.social-icon-max) {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

/* Прямоугольная иконка MAX */
.social-icon-max {
    width: auto;
    height: 44px;
    border-radius: 12px;
    padding: 0 12px;
    background: rgba(191, 149, 48, 0.15);
}

.social-icon:hover {
    background: rgba(191, 149, 48, 0.25);
    border-color: #bf9530;
    transform: translateY(-3px);
}

.social-icon img {
    width: auto;
    height: 28px;
    object-fit: contain;
}

/* Для MAX иконки, если логотип широкий */
.social-icon-max img {
    height: 32px;
    max-width: 100px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .social-icon:not(.social-icon-max) {
        width: 40px;
        height: 40px;
    }
    
    .social-icon-max {
        height: 40px;
        padding: 0 10px;
    }
    
    .social-icon img {
        height: 24px;
    }
    
    .social-icon-max img {
        height: 28px;
    }
}

/* Социальные сети в контактах */
.social-icons-block {
    align-items: flex-start;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Общие стили для всех ссылок */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(191, 149, 48, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 149, 48, 0.2);
}

/* Круглые иконки (VK, Telegram, Pinterest, Instagram) */
.social-icon:not(.social-icon-max) {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

/* Прямоугольная иконка MAX */
.social-icon-max {
    width: auto;
    height: 44px;
    border-radius: 12px;
    padding: 0 12px;
    background: rgba(191, 149, 48, 0.15);
}

.social-icon:hover {
    background: rgba(191, 149, 48, 0.25);
    border-color: #bf9530;
    transform: translateY(-3px);
}

.social-icon img {
    width: auto;
    height: 24px;
    object-fit: contain;
}

/* Для MAX иконки, если логотип шире */
.social-icon-max img {
    height: 28px;
    max-width: 100px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .social-icon:not(.social-icon-max) {
        width: 40px;
        height: 40px;
    }
    
    .social-icon-max {
        height: 40px;
        padding: 0 10px;
    }
    
    .social-icon img {
        height: 20px;
    }
    
    .social-icon-max img {
        height: 24px;
    }
}

/* Блок: О жидком металле */
#about-metal {
    background: #0a0a0a;
}

.about-metal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-metal-text p {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-metal-links {
    margin: 30px 0 20px;
}

.metal-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(145deg, #141414, #1a1a1a);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 149, 48, 0.1);
    margin-bottom: 12px;
}

.metal-link:hover {
    transform: translateX(5px);
    border-color: rgba(191, 149, 48, 0.3);
    background: linear-gradient(145deg, #1a1a1a, #141414);
}

.metal-link-icon {
    font-size: 1.8rem;
}

.metal-link-text {
    flex: 1;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.metal-link-arrow {
    color: #bf9530;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.metal-link:hover .metal-link-arrow {
    transform: translateX(5px);
}

.about-metal-all {
    margin-top: 20px;
    text-align: right;
}

.all-articles-link {
    color: #bf9530;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.all-articles-link:hover {
    gap: 12px;
    color: #d4af37;
}

.about-metal-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(191, 149, 48, 0.1);
    transition: transform 0.3s ease;
}

.about-metal-image img:hover {
    transform: scale(1.02);
}

/* Адаптация для мобильных */
@media (max-width: 992px) {
    .about-metal-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-metal-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .metal-link {
        padding: 12px 15px;
    }
    
    .metal-link-icon {
        font-size: 1.5rem;
    }
    
    .metal-link-text {
        font-size: 0.9rem;
    }
    
    .all-articles-link {
        font-size: 0.9rem;
    }
}

/* Основное меню */
.main-nav {
    margin: 20px 0 30px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 40px;
    transition: all 0.3s ease;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(191, 149, 48, 0.2);
}

.nav-link:hover {
    background: rgba(191, 149, 48, 0.2);
    border-color: #bf9530;
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, #8b6e4b, #b4945a);
    border-color: #bf9530;
    color: white;
    cursor: default;
}

.nav-contact {
    background: rgba(191, 149, 48, 0.15);
    border-color: #bf9530;
}

@media (max-width: 768px) {
    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .nav-link {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
.blog-card-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.blog-card-link:hover .blog-card-img {
    transform: scale(1.05);
}

/* Отступы для меню в шапке */
.header .main-nav {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Стили для модального окна с реальными иконками */
.social-links-modal {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.social-link-modal {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border-radius: 60px;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link-modal:hover {
    transform: translateX(8px);
}

.social-link-modal img {
    width: auto;
    height: 24px;  /* Фиксированная высота для всех иконок */
    object-fit: contain;
}

/* Для MAX — чуть больше высота, чтобы логотип читался */
.social-link-modal.max img {
    height: 28px;  /* Чуть выше для MAX */
    max-width: 80px;  /* Ограничиваем ширину */
}

/* Цвета фона */
.social-link-modal.phone { background: #27ae60; }
.social-link-modal.vk { background: #4a76a8; }
.social-link-modal.telegram { background: #0088cc; }
.social-link-modal.max { 
    background: linear-gradient(135deg, #8b6e4b, #b4945a);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .social-link-modal {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .social-link-modal img {
        height: 20px;
    }
    
    .social-link-modal.max img {
        height: 24px;
        max-width: 70px;
    }
}

/* Стили для пункта меню "Контакты" — не подсвечивается как кнопка */
.nav-link-contacts {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.nav-link-contacts:hover {
    background: rgba(191, 149, 48, 0.15) !important;
    border-color: rgba(191, 149, 48, 0.3) !important;
}

.section-subtitle {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #bf9530;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

/* ===== СТРАНИЦА ЦЕН (prices.php) ===== */

.prices-content {
    max-width: 900px;
    margin: 0 auto;
}

.prices-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #bf9530;
    font-family: 'Cormorant Garamond', serif;
}

.prices-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #fff;
}

.prices-content p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.prices-content ul {
    margin: 20px 0 20px 30px;
    color: #b0b0b0;
}

.prices-content li {
    margin-bottom: 10px;
}

.prices-content li strong {
    color: #bf9530;
}

/* Блок с факторами цены */
.price-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.factor-card {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(191, 149, 48, 0.1);
    transition: transform 0.3s ease;
}

.factor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(191, 149, 48, 0.3);
}

.factor-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.factor-card h4 {
    color: #bf9530;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.factor-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Таблица с ценами */
.price-range {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(191, 149, 48, 0.2);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(191, 149, 48, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-type {
    color: #fff;
    font-size: 1.1rem;
}

.price-value {
    color: #bf9530;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Блок с примечанием */
.price-note {
    background: rgba(191, 149, 48, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin: 30px 0;
    border: 1px solid rgba(191, 149, 48, 0.2);
}

.price-note p {
    margin-bottom: 0;
    color: #d0d0d0;
}

/* CTA-блок */
.cta-block {
    text-align: center;
    margin: 50px 0 30px;
    padding: 40px;
    background: linear-gradient(145deg, #1a1a1a, #141414);
    border-radius: 25px;
    border: 1px solid rgba(191, 149, 48, 0.2);
}

.cta-block h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .price-type {
        font-size: 1rem;
    }
    
    .price-value {
        font-size: 1.1rem;
    }
    
    .cta-block h3 {
        font-size: 1.4rem;
    }
    
    .factor-card {
        padding: 15px;
    }
}

/* ===== СТРАНИЦА БЛОГА (blog.php) ===== */

/* Сетка блога */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Карточка статьи */
.blog-card {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(191, 149, 48, 0.3);
}

/* Ссылка-обёртка для фото */
.blog-card-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.blog-card-link:hover .blog-card-img {
    transform: scale(1.05);
}

/* Фото в карточке */
.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Контент карточки */
.blog-card-content {
    padding: 25px;
}

/* Дата */
.blog-card-date {
    color: #bf9530;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Заголовок */
.blog-card-title {
    font-size: 1.5rem;
    margin: 0 0 15px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.3;
}

/* Анонс */
.blog-card-excerpt {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Кнопка "Читать статью" */
.read-more {
    display: inline-block;
    color: #bf9530;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
    color: #d4af37;
}

/* Заголовок раздела блога */
.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    .blog-card-title {
        font-size: 1.3rem;
    }
    
    .blog-card-img {
        height: 200px;
    }
}

/* ===== СТРАНИЦА УСЛУГ (services.php) ===== */

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #b0b0b0;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card-large {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 149, 48, 0.1);
}

.service-card-large:hover {
    transform: translateY(-8px);
    border-color: rgba(191, 149, 48, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-card-content {
    padding: 30px;
}

.service-card-title {
    font-size: 1.8rem;
    color: #bf9530;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
}

.service-card-text {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-card-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: #d0d0d0;
}

.service-card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #bf9530;
    font-weight: bold;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, #8b6e4b, #b4945a);
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-btn:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #9e7b55, #c9a76b);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .service-card-title {
        font-size: 1.5rem;
    }
    .service-card-content {
        padding: 20px;
    }
    .service-card-img {
        height: 200px;
    }
    .services-intro {
        font-size: 1rem;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: КОМПАКТНЫЕ КАРТОЧКИ УСЛУГ ===== */

@media (max-width: 768px) {
    /* Уменьшаем отступы между карточками */
    .services-list {
        gap: 12px;
    }
    
    /* Компактная карточка услуги */
    .service-card {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    
    /* Уменьшаем иконку */
    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    
    /* Уменьшаем заголовок */
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    /* Альтернативный вариант — 2 колонки по горизонтали */
    .services-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .service-card {
        padding: 12px 10px;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 0.9rem;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: КРУПНЫЙ ШРИФТ ПОД ИКОНКАМИ ===== */

@media (max-width: 768px) {
    /* Увеличиваем шрифт под иконками */
    .service-card h3 {
        font-size: 1rem !important;
        font-weight: 600;
    }
    
    /* Альтернатива — если нужно ещё крупнее */
    .service-card h3 {
        font-size: 1.1rem !important;
    }
}

/* ===== ПРИЛИПАЮЩЕЕ МЕНЮ (ВНУТРИ ШАПКИ) ===== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 149, 48, 0.2);
    padding: 10px 0;
    margin-top: 40px;      /* отступ сверху от кнопки */
    width: 100%;
}

/* Чтобы меню не перекрывало контент при прилипании */
body {
    scroll-padding-top: 70px;
}

/* ===== МОБИЛЬНОЕ ГАМБУРГЕР-МЕНЮ ===== */
.mobile-nav {
    display: none;
    position: relative;
    z-index: 1001;
}

.mobile-menu-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    border: 1px solid rgba(191, 149, 48, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.mobile-menu-icon span {
    width: 22px;
    height: 2px;
    background: #bf9530;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(145deg, #141414, #1a1a1a);
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(191, 149, 48, 0.2);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: #bf9530;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
    opacity: 0.7;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 15px;
}

.mobile-nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(191, 149, 48, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #bf9530;
    padding-left: 10px;
    border-bottom-color: #bf9530;
}

/* Показываем мобильное меню только на телефонах */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* Немного сдвигаем логотип, чтобы не пересекался с иконкой */
    .logo-img {
        max-width: calc(100% - 60px);
    }
}

/* На десктопе скрываем мобильное меню */
@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}

/* Шапка — на всю высоту */
.header {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: visible;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Меню внутри шапки — прилипает при прокрутке */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 149, 48, 0.2);
    padding: 10px 0;
    margin: 20px 0 30px;
    width: 100%;
}

/* Чтобы меню не "выпадало" из шапки при скролле */
.header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 20px;
    width: 100%;
}

/* ===== ПРИЛИПАЮЩЕЕ МЕНЮ - ИСПРАВЛЕНИЕ ===== */
.sticky-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(191, 149, 48, 0.2) !important;
    padding: 10px 0 !important;
    width: 100% !important;
}

/* Отступ для якорных ссылок (чтобы не перекрывались меню) */
html {
    scroll-padding-top: 70px;
}

.sticky-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(191, 149, 48, 0.2) !important;
    padding: 10px 0 !important;
    z-index: 9999 !important;
}

.mobile-menu-overlay {
    transition: right 0.3s ease-in-out;
}

/* ===== КАРУСЕЛЬ ОТЗЫВОВ (SWIPER) ===== */

.reviews-swiper {
    padding: 20px 10px 50px;
    overflow: hidden;
}

.review-card {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(191, 149, 48, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(191, 149, 48, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.review-rating {
    color: #bf9530;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.review-text {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.review-text::before {
    content: '"';
    font-size: 2rem;
    color: #bf9530;
    opacity: 0.5;
    margin-right: 5px;
}

.review-text::after {
    content: '"';
    font-size: 2rem;
    color: #bf9530;
    opacity: 0.5;
    margin-left: 5px;
    vertical-align: top;
}

.review-author {
    border-top: 1px solid rgba(191, 149, 48, 0.2);
    padding-top: 15px;
    margin-top: 10px;
}

.review-author-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.review-author-city {
    font-size: 0.85rem;
    color: #bf9530;
    margin-bottom: 3px;
}

.review-author-project {
    font-size: 0.8rem;
    color: #a0a0a0;
}

/* Стили Swiper */
.reviews-swiper .swiper-pagination-bullet {
    background: #bf9530;
    opacity: 0.5;
}

.reviews-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #bf9530;
}

.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
    color: #bf9530;
}

.reviews-swiper .swiper-button-next:after,
.reviews-swiper .swiper-button-prev:after {
    font-size: 30px;
}

.reviews-footer {
    text-align: center;
    margin-top: 30px;
}

.reviews-note {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.reviews-note a {
    color: #bf9530;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.reviews-note a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .review-card {
        padding: 20px;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .reviews-swiper .swiper-button-next,
    .reviews-swiper .swiper-button-prev {
        display: none;
    }
}

@media (min-width: 769px) {
    .reviews-swiper {
        padding: 20px 40px 50px;
    }
}

/* Стили Swiper */
.reviews-swiper {
    padding: 20px 10px 50px;
    overflow: visible;  /* важно: не hidden, чтобы точки были видны */
}

.reviews-swiper .swiper-pagination {
    bottom: 0;
}

.reviews-swiper .swiper-pagination-bullet {
    background: #bf9530;
    opacity: 0.5;
}

.reviews-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #bf9530;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: УЛУЧШЕНИЯ ===== */

@media (max-width: 768px) {

    /* 1. Логотип и слоган — поднять повыше */
    .header-content {
        padding-top: 20px;  /* уменьшаем отступ сверху */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* распределяем пространство */
        min-height: 100vh;  /* на всю высоту экрана */
    }
    
    /* Логотип — компактнее */
    .logo {
        margin-bottom: 10px;  /* уменьшаем отступ снизу */
    }
    
    .logo-img {
        max-height: 70px;
        margin-bottom: 10px;
    }
    
    .logo-text {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .logo-text span {
        font-size: 1rem;
    }
    
    /* Слоган — поменьше отступов */
    .slogan {
        font-size: 1.3rem;
        margin-bottom: 20px;
        margin-top: 0;
    }
    
    /* 2. Кнопка внизу первого экрана */
    .contact-btn-wrapper {
        margin-top: auto;  /* прижимаем к низу */
        margin-bottom: 30px;
        width: 100%;
    }
    
    .contact-btn {
        width: 100%;       /* кнопка на всю ширину */
        padding: 14px 20px;
        font-size: 1rem;
        white-space: normal; /* перенос текста */
    }
    
    /* 3. Заголовки разделов — крупнее и чётче */
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
        text-align: center;
    }
    
    /* Для подзаголовков (если есть h2 внутри .about-content) */
    .section-subtitle {
        font-size: 1.6rem !important;
        text-align: center;
    }
    
    /* 4. Дополнительно: текст в "О нас" — чуть крупнее */
    .about-text {
        font-size: 1rem;
    }
    
    /* 5. Карточки услуг — компактные, как уже настроено */
    .services-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .service-card {
        padding: 12px 8px;
    }
    
    .service-icon {
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 0.85rem;
    }
}

/* ===== МОБИЛЬНЫЕ УЛУЧШЕНИЯ (ДОБАВЛЕНО В КОНЕЦ) ===== */
@media (max-width: 768px) {

    /* 1. Логотип и слоган — поднять повыше */
    .header-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 90vh;
    }
    
    .logo {
        margin-bottom: 5px;
    }
    
    .logo-img {
        max-height: 70px;
        margin-bottom: 10px;
    }
    
    .logo-text {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .logo-text span {
        font-size: 1rem;
    }
    
    .slogan {
        font-size: 1.3rem;
        margin: 10px 0;
    }
    
    /* 2. Кнопка внизу первого экрана */
    .contact-btn-wrapper {
        margin-top: auto;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .contact-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        white-space: normal;
    }
    
    /* 3. Заголовки разделов — крупнее */
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
        text-align: center;
    }
    
    /* 4. Текст "О нас" — чуть крупнее */
    .about-text {
        font-size: 1rem;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: ЦЕНТРИРУЕМ ЗАГОЛОВКИ РАЗДЕЛОВ ===== */
@media (max-width: 768px) {

    /* Заголовки разделов — по центру, крупнее, с отступами */
    .section-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin-top: 40px !important;
        margin-bottom: 30px !important;
    }

    /* Для первого заголовка после шапки — отступ поменьше */
    .section:first-of-type .section-title {
        margin-top: 20px !important;
    }

    /* Подзаголовки (если есть) */
    .section-subtitle {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: ЗАГОЛОВКИ РАЗДЕЛОВ (УСИЛЕННАЯ) ===== */
@media (max-width: 768px) {

    /* Заголовки разделов — по центру, крупнее, с отступами */
    .section-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin-top: 40px !important;
        margin-bottom: 30px !important;
        display: block !important;
        width: 100% !important;
    }

    /* Для первого заголовка после шапки — отступ поменьше */
    .section:first-of-type .section-title {
        margin-top: 20px !important;
    }

    /* Если есть подзаголовки */
    .section-subtitle {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }
    
    /* Для заголовка "Наши работы" и других */
    .container .section-title {
        margin-top: 40px !important;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: ЗАГОЛОВКИ РАЗДЕЛОВ (ФИНАЛЬНОЕ ПРАВИЛО) ===== */
@media (max-width: 768px) {
    body .section .container .section-title,
    body .section-title,
    .section-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin-top: 40px !important;
        margin-bottom: 30px !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* Для первого заголовка после шапки */
    body .section:first-of-type .section-title {
        margin-top: 20px !important;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: УВЕЛИЧИВАЕМ СЛОГАН НА ПЕРВОМ ЭКРАНЕ ===== */
@media (max-width: 768px) {
    .slogan {
        font-size: 1.8rem !important;
        text-align: center !important;
        margin: 20px 0 !important;
        line-height: 1.3 !important;
        font-weight: 500 !important;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: КНОПКА ВИДНА ПОЛНОСТЬЮ ===== */
@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        min-height: 100vh;
        padding-bottom: 30px;  /* добавляем отступ снизу */
    }
    
    .contact-btn-wrapper {
        margin-top: 20px;      /* убираем auto, фиксируем отступ */
        margin-bottom: 20px;
    }
    
    .contact-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: ЗАПРЕЩАЕМ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .container {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Ограничиваем ширину карусели отзывов */
    .reviews-swiper {
        overflow: hidden !important;
        width: 100% !important;
    }
    
    .swiper-wrapper {
        width: 100% !important;
    }
    
    .swiper-slide {
        width: 100% !important;
    }
    
    /* Ограничиваем карту */
    .map, .map-container, .map iframe {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Все изображения и контейнеры */
    img, iframe, video, .gallery-item, .blog-card {
        max-width: 100% !important;
    }
}

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ: УМЕНЬШАЕМ ОТСТУПЫ ПЕРЕД ЗАГОЛОВКАМИ РАЗДЕЛОВ ===== */
@media (max-width: 768px) {
    /* Уменьшаем отступ сверху у всех секций */
    .section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    /* Уменьшаем отступ у заголовков внутри секций */
    .section .section-title {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }
    
    /* Для первого заголовка после шапки — убираем лишний отступ */
    .section:first-of-type {
        padding-top: 30px !important;
    }
}

/* ===== СТИЛИ ДЛЯ ЦИТАТЫ НА ГЛАВНОЙ (исправленные) ===== */

/* Оформляем H2 как цитату */
.section#about h2.section-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 1.8rem !important;
    color: #bf9530 !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

/* Добавляем кавычки как обычный текст без псевдоэлементов */
.section#about h2.section-title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* H1 остаётся главным */
.section#about h1.section-title {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* На мобильных */
@media (max-width: 768px) {
    .section#about h1.section-title {
        font-size: 2rem !important;
    }
    
    .section#about h2.section-title {
        font-size: 1.3rem !important;
        gap: 4px !important;
    }
}

.service-icon img {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(191, 149, 48, 0.3));
}