/* RESET & БАЗОВЫЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== ХЕДЕР ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    padding: 0 0;
    transition: background 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                backdrop-filter 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.logo-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    display: block;
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.logo-icon-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    display: block;
    z-index: 1;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #1a1a1a;
}

.logo-subtitle {
    font-size: 11px;
    color: rgba(26, 26, 26, 0.7);
    font-weight: 400;
    letter-spacing: 0.4px;
}

/* Навигация */
.nav-main {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 450;
    transition: color 0.2s ease;
    letter-spacing: 0.2px;
}

.nav-menu li a:hover {
    color: #8b7355;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone .phone-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-phone .phone-link:hover {
    color: #8b7355;
}

.header-messengers {
    display: flex;
    gap: 16px;
}

.header-messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.header-messenger-link:hover {
    opacity: 0.6;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Бургер */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    padding: 100px 40px 40px;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-menu-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-menu-mobile li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 450;
    transition: color 0.2s ease;
}

.nav-menu-mobile li a:hover {
    color: #8b7355;
}

.mobile-phone {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.phone-link-mobile {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 500;
}

.mobile-messengers {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.mobile-messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f0f0;
    transition: background 0.2s ease;
}

.mobile-messenger-link:hover {
    background: #e0e0e0;
}

/* ========== ХЕДЕР НА СТРАНИЦЕ ПОРТФОЛИО ========== */
body.page-body .site-header {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
}

body.page-body .logo-icon-bg {
    opacity: 1;
}

body.page-body .site-header.scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
}

/* ========== СЛАЙДЕР ========== */
.hero-slider {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    background: #0a0a0a;
    margin: 0;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-image.animate-scale {
    transform: scale(1.08);
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    z-index: 3;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-size: clamp(32px, 6vw, 60px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.slide-description {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 350;
    opacity: 0.9;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    border-radius: 4px;
    background: white;
}

/* ========== БЛОК 3: О СЕБЕ ========== */
.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-photo {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.about-img {
    width: 90%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-text {
    order: -1;
}

.about-quote {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: #8b7355;
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 3px solid #8b7355;
}

.about-text h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.about-text h1 strong {
    font-weight: 550;
    color: #8b7355;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #2c2c2c;
    margin-bottom: 24px;
}

.about-text p:last-of-type {
    margin-bottom: 0;
}

/* ========== БЛОК 4: ПОРТФОЛИО ========== */
.portfolio-section {
    padding: 100px 0;
    background: #ffffff;
}

.portfolio-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.portfolio-subtitle {
    text-align: center;
    font-size: 16px;
    color: #8b7355;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-item {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.portfolio-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    container-type: inline-size;
}

.portfolio-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 40px 20px 20px 20px;
    transition: all 0.3s ease;
}

.portfolio-item-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(12px, 5cqi, 20px);
    font-weight: 450;
    margin-bottom: 6px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-item-location {
    font-size: clamp(9px, 3.5cqi, 13px);
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Кнопка "Подробнее" */
.portfolio-btn-more {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: inline-block;
    color: white;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    z-index: 2;
    border-radius: 2px;
}

.portfolio-item:hover .portfolio-btn-more {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-btn-more:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.portfolio-button-wrap {
    text-align: center;
}

.portfolio-btn {
    display: inline-block;
    background: transparent;
    color: #1a1a1a;
    padding: 12px 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-btn:hover {
    background: #1a1a1a;
    color: white;
}

/* ========== БЛОК 5: ЭТАПЫ РАБОТЫ ========== */
.process-section {
    padding: 100px 0;
    background: #f0f0f0;
}

.process-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.process-subtitle {
    text-align: center;
    font-size: 16px;
    color: #8b7355;
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.process-item {
    padding: 20px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.process-number {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    color: #8b7355;
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0.6;
}

.process-item-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 450;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.process-item-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.process-extra {
    background: #ffffff;
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.process-extra:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.process-extra-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 450;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.process-extra-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== БЛОК 6: ЧАСТЫЕ ВОПРОСЫ ========== */
.faq-section {
    padding: 100px 0;
    background: #ffffff;
}

.faq-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.faq-subtitle {
    text-align: center;
    font-size: 16px;
    color: #8b7355;
    margin-bottom: 60px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 450;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #8b7355;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 450;
    color: #8b7355;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
    background: #8b7355;
    color: white;
}

.faq-question span {
    flex: 1;
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: #8b7355;
    transition: all 0.3s ease;
}

.faq-toggle::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-toggle::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
    padding: 0 0 0 48px;
}

.faq-answer > div {
    overflow: hidden;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

/* ========== БЛОК 7: ОТЗЫВЫ ========== */
.reviews-section {
    padding: 60px 0 100px;
    background: #f0f0f0;
}

.reviews-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    user-select: text;
}

.reviews-subtitle {
    text-align: center;
    font-size: 16px;
    color: #8b7355;
    margin-bottom: 5px;
    user-select: text;
}

.reviews-carousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-viewport {
    width: 100%;
    height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    touch-action: pan-y;
    cursor: default;
    clip-path: inset(-60px 0px -60px 0px);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.reviews-viewport.grabbing {
    cursor: default;
}

.reviews-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card {
    position: absolute;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    will-change: transform, opacity, width, height;
    transform-origin: center center;
    overflow: hidden;
    border: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.review-card.animating {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card.center-card {
    width: 416px;
    height: auto;
    aspect-ratio: 400 / 560;
    z-index: 20;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
    padding: 8px;
}

.review-card.side-card {
    width: 216px;
    height: auto;
    aspect-ratio: 400 / 560;
    z-index: 10;
    opacity: 0.55;
    padding: 4px;
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 50;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    outline: none;
    line-height: 1;
    font-weight: 300;
}

.reviews-arrow:hover {
    background: #f5f5f5;
    border-color: #ccc;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.reviews-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.reviews-prev { left: 10px; }
.reviews-next { right: 10px; }

.reviews-hint {
    margin-top: 0px;
    color: #8b7355;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.reviews-hint span {
    display: inline-block;
    animation: hintPulse 1.8s infinite;
}

@keyframes hintPulse {
    0% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
    100% { opacity: 0.3; transform: translateX(0); }
}

/* ========== ФУТЕР ========== */
.site-footer {
    background: #2c2c2c;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex: 1;
}

.footer-logo-block .footer-logo-link {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-left: 0;
    margin-top: 6px;
    display: block;
}

.footer-logo-icon {
    width: 80px;
    height: 80px;
    display: block;
    flex-shrink: 0;
}

.footer-logo-block .logo-name {
    color: #fff;
}

.footer-logo-block .logo-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover {
    color: #fff;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.footer-phone {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: #8b7355;
}

.footer-email {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: #fff;
}

.footer-messengers {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 10px;
}

.footer-messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-messenger-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-policy {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-policy:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== РАЗДЕЛИТЕЛЬНАЯ ПОЛОСА ========== */
.divider-section {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/common/divider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

@media (min-width: 769px) {
    .divider-bg {
        background-attachment: fixed;
    }
}

.divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.divider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 32px;
}

.divider-quote {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 1.5;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    quotes: none;
}

/* ========== АДАПТИВ (общий) ========== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .nav-main {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .header-phone {
        display: none;
    }

    .header-messengers {
        display: none;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .site-header {
        padding: 0 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .reviews-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
    
    .reviews-viewport {
        height: 600px;
    }
    
    .review-card.center-card {
        width: 350px;
        padding: 6px;
    }
    
    .review-card.side-card {
        width: 180px;
        padding: 3px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 85vh;
        min-height: 550px;
    }
    
    .slide-title {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .slide-content {
        bottom: 12%;
        padding: 0 16px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 12px;
    }
    
    .dot {
        width: 7px;
        height: 7px;
    }
    
    .dot.active {
        width: 24px;
    }

    .about-section {
        padding: 60px 0;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-photo {
        justify-content: center;
        order: 1;
    }
    
    .about-img {
        width: 80%;
        max-width: 400px;
    }
    
    .about-text {
        order: -1;
    }
    
    .about-quote {
        font-size: 18px;
        padding-left: 16px;
        margin-bottom: 28px;
    }
    
    .about-text h1 {
        font-size: 32px;
    }
    
    .about-text p {
        font-size: 16px;
    }

    .portfolio-section {
        padding: 60px 0;
    }
    
    .portfolio-title {
        font-size: 32px;
    }
    
    .portfolio-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .portfolio-grid {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .portfolio-btn-more {
        opacity: 1;
        transform: translateX(0);
    }
    
    .portfolio-overlay {
        padding: 30px 15px 15px 15px;
    }

    .process-section {
        padding: 60px 0;
    }
    
    .process-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .process-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .process-grid {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .process-number {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .process-item-title {
        font-size: 18px;
    }
    
    .process-item-desc {
        font-size: 14px;
    }
    
    .process-extra {
        padding: 30px 24px;
    }
    
    .process-extra-title {
        font-size: 20px;
    }
    
    .process-extra-desc {
        font-size: 14px;
    }

    .faq-section {
        padding: 60px 0;
    }
    
    .faq-title {
        font-size: 32px;
    }
    
    .faq-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .faq-question {
        font-size: 16px;
        gap: 12px;
        padding: 16px 0;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 0 0 40px;
    }
    
    .faq-answer p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .reviews-section {
        padding: 50px 0 60px;
    }
    
    .reviews-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .reviews-subtitle {
        font-size: 14px;
        margin-bottom: 0px;
    }
    
    .reviews-viewport {
        height: 560px;
    }
    
    .reviews-arrow {
        display: none;
    }
    
    .review-card.center-card {
        width: 300px;
        padding: 5px;
    }
    
    .review-card.side-card {
        width: 140px;
        padding: 3px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        display: none;
    }
    
    .footer-logo-col {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo-block .logo-text-block {
        text-align: left;
    }
    
    .footer-contacts {
        align-items: center;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .divider-section {
        height: 200px;
    }
    
    .divider-bg {
        background-image: url('../img/common/divider-mob.jpg');
    }
    
    .divider-quote {
        font-size: 18px;
        max-width: 90%;
    }

    .breadcrumbs {
        padding: 40px 0 0;
    }

    .portfolio-page {
        padding: 30px 0 60px;
    }
    
    .portfolio-page-title {
        font-size: 32px;
    }
    
    .portfolio-page-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }
    
    .portfolio-back-wrap {
        margin-top: 40px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    
    .logo-icon-wrap {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon-bg,
    .logo-icon-text {
        width: 60px;
        height: 60px;
    }
    
    .logo-name {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .logo-link {
        gap: 4px;
    }

    .slide-content {
        bottom: 10%;
    }
    
    .slider-dots {
        bottom: 15px;
    }
}

@media (max-width: 550px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .portfolio-item-title {
        font-size: 16px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .portfolio-item-location {
        font-size: 13px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .portfolio-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-item {
        text-align: center;
    }

    .reviews-viewport {
        height: 500px;
    }
    
    .review-card.center-card {
        width: 260px;
        padding: 4px;
    }
    
    .review-card.side-card {
        width: 110px;
        padding: 2px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-slider {
        height: 75vh;
        min-height: 450px;
    }
    
    .slide-title {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .slide-description {
        font-size: 12px;
    }
    
    .slide-content {
        bottom: 10%;
        padding: 0 12px;
    }
    
    .slider-dots {
        gap: 10px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .dot.active {
        width: 20px;
    }

    .about-section {
        padding: 50px 0;
    }
    
    .about-quote {
        font-size: 16px;
    }
    
    .about-text h1 {
        font-size: 28px;
    }
    
    .about-img {
        width: 90%;
    }

    .divider-section {
        height: 200px;
    }
    
    .divider-quote {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .reviews-hint {
        display: none;
    }
}

/* ========== СТРАНИЦА ПОРТФОЛИО ========== */
.breadcrumbs {
    padding: 80px 0 0;
    font-size: 14px;
    color: rgba(26, 26, 26, 0.5);
}

.breadcrumbs-link {
    color: rgba(26, 26, 26, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs-link:hover {
    color: #8b7355;
}

.breadcrumbs-separator {
    margin: 0 8px;
    color: rgba(26, 26, 26, 0.3);
}

.breadcrumbs-current {
    color: #1a1a1a;
    font-weight: 500;
}

.portfolio-page {
    padding: 40px 0 100px;
}

.portfolio-page-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.portfolio-page-subtitle {
    text-align: center;
    font-size: 16px;
    color: #8b7355;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-back-wrap {
    text-align: center;
    margin-top: 60px;
}

.portfolio-back-btn {
    display: inline-block;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 450;
    transition: color 0.2s ease;
    padding: 12px 32px;
    border: 1px solid #ccc;
}

.portfolio-back-btn:hover {
    color: #8b7355;
    border-color: #8b7355;
}









/* ========== СТРАНИЦА ПРОЕКТА ========== */

/* Шапка проекта */
.project-header {
    padding: 40px 0 30px;
    background: #ffffff;
}

.project-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 16px;
}

.project-meta-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
}

.project-meta-label {
    color: #8b7355;
    font-weight: 500;
}

.project-meta-value {
    color: #2c2c2c;
}

/* Адаптив заголовка проекта */
@media (max-width: 768px) {
    .project-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .project-meta {
        gap: 16px;
        margin-top: 12px;
    }
    
    .project-meta-item {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 26px;
    }
    
    .project-meta {
        gap: 6px;
        margin-top: 10px;
    }
    
    .project-meta-item {
        font-size: 13px;
    }
    
    .project-header {
        padding: 30px 0 24px;
    }        

}






/* ========== ГАЛЕРЕЯ ПРОЕКТА (СЛАЙДЕР) ========== */
.project-gallery {
    padding: 60px 0 40px;
    background: #ffffff;
}

.gallery-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}



.gallery-carousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-viewport {
    width: 100%;
    height: 660px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    touch-action: pan-y;
    cursor: default;
    clip-path: inset(-60px 0px -60px 0px);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.gallery-viewport.grabbing {
    cursor: default;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card {
    position: absolute;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    will-change: transform, opacity, width, height;
    transform-origin: center center;
    overflow: hidden;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-card.animating {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card.center-card {
    z-index: 20;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0;
    cursor: pointer;
}

.gallery-card.side-card {
    z-index: 10;
    opacity: 0.4;
    padding: 0;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    max-height: 100%;
}

/* Стрелки */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 50;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    outline: none;
    line-height: 1;
    font-weight: 300;
}

.gallery-arrow:hover {
    background: #f5f5f5;
    border-color: #ccc;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Счётчик */
.gallery-counter {
    margin-top: 24px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    color: #1a1a1a;
    letter-spacing: 1px;
    user-select: none;
}

.gallery-current {
    font-weight: 600;
    color: #8b7355;
}

.gallery-separator {
    margin: 0 4px;
    color: #ccc;
}

.gallery-total {
    color: #888;
}

/* Подсказка свайпа */
.gallery-hint {
    margin-top: 10px;
    color: #8b7355;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.gallery-hint span {
    display: inline-block;
    animation: hintPulse 1.8s infinite;
}

@keyframes hintPulse {
    0% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
    100% { opacity: 0.3; transform: translateX(0); }
}

@media (min-width: 769px) {
    .gallery-hint {
        display: none;
    }
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.gallery-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.gallery-modal-image.loading {
    opacity: 0.5;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.gallery-modal-close:hover {
    opacity: 0.7;
}

.gallery-modal-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    padding: 0;
    z-index: 10000;
}

.gallery-modal-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.gallery-modal-prev { left: 60px; }
.gallery-modal-next { right: 60px; }

.gallery-modal-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 1px;
}

/* Адаптив */
@media (max-width: 900px) {
    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
    
    .gallery-viewport {
        height: 540px;
    }
}

@media (max-width: 768px) {
    .project-gallery {
        padding: 40px 0 30px;
    }
    
    .gallery-viewport {
        height: 480px;
    }
    
    .gallery-arrow {
        display: none;
    }
    
    .gallery-modal-arrow {
        width: 44px;
        height: 44px;
    }

    .gallery-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .gallery-modal-prev { left: 10px; }
    .gallery-modal-next { right: 10px; }
}

@media (max-width: 550px) {
    .gallery-viewport {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .gallery-viewport {
        height: 360px;
    }

    .gallery-title {
        font-size: 26px;
        margin-bottom: 24px;
    } 
}






/* ========== ДО И ПОСЛЕ ========== */
.before-after-section {
    padding: 70px 0 80px 0;
    background: #f0f0f0;
}

.before-after-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.before-after-wrapper {
    width: 100%;
    max-width: 100%;
}

.before-after-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ba-img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.ba-img-before {
    position: relative;
    z-index: 1;
}

.ba-after-clip {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-img-after {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
}

/* Ползунок */
.ba-handle {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #8b7355;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8b7355;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    cursor: ew-resize;
    transition: transform 0.2s ease;
}

.ba-handle-circle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.ba-handle-circle:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Подписи */
.ba-label {
    position: absolute;
    top: 20px;
    z-index: 5;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 450;
    letter-spacing: 2px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border-radius: 4px;
    pointer-events: none;
}

.ba-label-before {
    left: 20px;
}

.ba-label-after {
    right: 20px;
}

/* Адаптив */
@media (max-width: 768px) {
    .before-after-section {
        padding: 50px 0;
    }
    
    .before-after-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .ba-handle-circle {
        width: 36px;
        height: 36px;
    }
    
    .ba-handle-circle svg {
        width: 18px;
        height: 18px;
    }
    
    .ba-label {
        top: 12px;
        font-size: 12px;
        padding: 4px 10px;
        letter-spacing: 1px;
    }
    
    .ba-label-before {
        left: 12px;
    }
    
    .ba-label-after {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .before-after-section {
        padding: 40px 0;
    }

    .before-after-title {
        font-size: 26px;
        margin-bottom: 24px;
    }
    
    .ba-handle-circle {
        width: 30px;
        height: 30px;
    }
    
    .ba-handle-circle svg {
        width: 14px;
        height: 14px;
    }
    
    .ba-handle-line {
        width: 2px;
    }
    
    .ba-label {
        top: 8px;
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .ba-label-before {
        left: 8px;
    }
    
    .ba-label-after {
        right: 8px;
    }
}


/* ========== ГЛАВНОЕ ФОТО + ОПИСАНИЕ ========== */
.project-hero {
    padding: 0 0 80px;
    background: #ffffff;
}

.project-hero-materials {
    padding-top: 10px;
    border-top: 1px solid #eaeaea;
}

.project-hero-materials-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 450;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: #8b7355;
}

.project-hero-materials-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-hero-materials-list li {
    font-size: 15px;
    line-height: 1.5;
    color: #2c2c2c;
    padding-left: 20px;
    position: relative;
}

.project-hero-materials-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 2px;
    height: 16px;
    background: #8b7355;
    border-radius: 1px;
}

.project-hero-materials-list li strong {
    font-weight: 500;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .project-hero-materials-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .project-hero-materials-list li {
        font-size: 14px;
    }
}

.project-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: start;
}

.project-hero-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.project-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-hero-text {
    font-size: 16px;
    line-height: 1.7;
    color: #2c2c2c;
}

.project-hero-text p {
    margin-bottom: 16px;
}

.project-hero-text p:last-child {
    margin-bottom: 0;
}

.project-hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid #eaeaea;
}

.project-hero-feature {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-hero-feature-label {
    font-size: 12px;
    color: #8b7355;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.project-hero-feature-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 450;
}

/* Адаптив */
@media (max-width: 900px) {
    .project-hero {
        padding: 0 0 60px;
    }
    
    .project-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-hero-content {
        padding-top: 0;
    }
    
    .project-hero-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 0 0 50px;
    }
    
    .project-hero-grid {
        gap: 24px;
    }
    
    .project-hero-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .project-hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .project-hero {
        padding: 0 0 40px;
    }
    
    .project-hero-grid {
        gap: 20px;
    }
    
    .project-hero-text {
        font-size: 14px;
    }
    
    .project-hero-feature-value {
        font-size: 15px;
    }
}




/* Cookie-плашка */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    width: 570px;
    max-width: calc(100vw - 48px);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner__text {
    font-size: 14px;
    line-height: 1.6;
    color: #2c2c2c;
}

.cookie-banner__text a {
    color: #8b7355;
    text-decoration: underline;
}

.cookie-banner__btn {
    align-self: flex-end;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: #8b7355;
    color: #ffffff;
}

.cookie-banner__btn:hover {
    background: #6b5a42;
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        padding: 16px 20px;
        gap: 12px;
    }
}



/* Страница политики */
.policy-section {
    padding: 40px 0 80px;
    background: #ffffff;
}

.policy-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 450;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.policy-content {
    max-width: 800px;
    font-size: 16px;
    line-height: 1.8;
    color: #2c2c2c;
}

.policy-content h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 450;
    margin: 36px 0 16px;
    color: #1a1a1a;
}

.policy-content p {
    margin-bottom: 16px;
}

.policy-content ul {
    margin: 0 0 16px 20px;
}

.policy-content ul li {
    margin-bottom: 8px;
}

.policy-content a {
    color: #8b7355;
}

.policy-date {
    margin-top: 40px;
    color: #888;
    font-size: 14px;
}

@media (max-width: 768px) {
    .policy-title {
        font-size: 32px;
    }
    
    .policy-content {
        font-size: 15px;
    }
    
    .policy-content h2 {
        font-size: 20px;
    }
}



/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8b7355;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #6b5a42;
    transform: translateY(-2px);
}

.scroll-to-top:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 1024px) {
    .portfolio-btn-more {
        opacity: 1;
        transform: translateX(0);
    }
}