/* styles.css — стили с эффектом "парящей" карточки */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #2a2a2a;
    color: #1c1c1c;
    line-height: 1.45;
    scroll-behavior: smooth;
    background-image: url('../image/pattern-bg2.jpg');
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(214, 214, 214, 0.3);
    z-index: -1;
    pointer-events: none;
}

.site-wrapper {
    max-width: 1300px;
    margin: 40px auto 60px;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, .logo-text-fallback, .hero-eyebrow, .btn, .section-tag {
    font-family: 'Cormorant Garamond', serif;
}

h2 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    .container {
        padding: 0 20px;
    }
    .site-wrapper {
        margin: 20px;
        border-radius: 28px;
    }
}

.site-header {
    padding: 24px 0;
    border-bottom: 1px solid #eaeaea;
    background: rgba(255,255,255,0.98);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 42px;
    width: auto;
}

.logo-text-fallback {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #000;
}

.logo-text-fallback span {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 2px;
    display: block;
    color: #6b6b6b;
}

/* =========================================================
   ГЛАВНОЕ МЕНЮ (Единая панель, прижатая к правому краю)
   ========================================================= */
.main-nav {
    margin-left: auto; /* Прижимает весь блок меню к правому краю */
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Светло-серый фон всей панели (в 2 раза светлее) */
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Тень стала светлее */
}

.main-nav li {
    border-right: 1px solid #e5e5e5; /* Разделители стали светлее */
}

.main-nav li:last-child {
    border-right: none;
}

.main-nav a {
    text-decoration: none;
    font-weight: 400;
    color: #6b6b6b; /* Светло-серый текст для неактивных */
    font-size: 0.95rem;
    padding: 10px 28px;
    transition: all 0.3s ease;
    display: block;
    height: 100%;
}

.main-nav a:hover {
    background-color: #eaeaea; /* Мягкий серый при наведении */
    color: #333;
}

/* Активный пункт — бежевый */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
    background-color: #f2ebe3; /* Бежевый (как на вашей картинке) */
    color: #2a2a2a;
    font-weight: 500;
}
/* ========================================================= */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.hero {
    padding: 60px 0 50px;
    background: #ffffff;
}

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

.hero-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #9b7b5c;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    font-style: italic;
    font-weight: 300;
    border-bottom: 2px solid #d6c0ad;
}

.hero-desc {
    font-size: 1.05rem;
    color: #3a3a3a;
    margin-bottom: 2rem;
    max-width: 90%;
}

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

.btn {
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s;
    display: inline-block;
}

.btn-primary {
    background: #2c2c2c;
    color: white;
    border: 1px solid #2c2c2c;
}

.btn-primary:hover {
    background: #4a3b2c;
    border-color: #4a3b2c;
}

.btn-outline {
    border: 1px solid #2c2c2c;
    color: #2c2c2c;
    background: transparent;
}

.btn-outline:hover {
    background: #2c2c2c;
    color: white;
}

.hero-visual {
    position: relative;
}

.hero-image-frame {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
}

.scroll-indicator {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #a6a6a6;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin: 80px 0;
}

.split-image img {
    width: 100%;
    border-radius: 28px;
}

.image-caption {
    font-size: 0.75rem;
    margin-top: 12px;
    color: #6f6f6f;
}

.section-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: #ede6df;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 40px;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 1rem 0 1.2rem;
    font-weight: 400;
}

.legacy-quote {
    font-size: 1.2rem;
    border-left: 3px solid #c0a080;
    padding-left: 24px;
    margin: 24px 0;
    font-style: italic;
}

.btn-link {
    text-decoration: none;
    font-weight: 600;
    color: #9b7b5c;
    border-bottom: 1px solid;
}

.future-section {
    background: #f5f0ea;
    padding: 80px 0;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.future-card {
    background: white;
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
}

.play-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #e7dfd7;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.play-symbol {
    font-size: 1.8rem;
    color: #362e26;
}

.future-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.play-link {
    margin-top: 18px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    color: #9b7b5c;
}

.cotton-shoot {
    padding: 70px 0;
    background: #fef9f2;
}

.shoot-banner {
    background: #ffffff;
    border-radius: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
    border: 1px solid #ece2d8;
    flex-wrap: wrap;
}

.play-circle {
    background: #2c2c2c;
    color: white;
    border-radius: 80px;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
}

.archive-section {
    padding: 80px 0;
    background: #fff;
}

.archive-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
}

.archive-text h2 span {
    font-size: 1.2rem;
    font-weight: normal;
    display: block;
    color: #7e6a58;
}

.archive-mock-play {
    background: #eae1d8;
    border-radius: 28px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    gap: 16px;
}

.influencer-grid {
    padding: 40px 0 80px;
    background: #fff;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.card-item {
    background: #faf8f5;
    border-radius: 24px;
    overflow: hidden;
}

.card-img {
    aspect-ratio: 4 / 3;
    background: #ddd;
    overflow: hidden;
}

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

.card-info {
    padding: 20px 18px;
}

.card-info h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.card-info p {
    font-size: 0.8rem;
    color: #5a5a5a;
}

.subscribe-section {
    background: #e9e0d6;
    padding: 80px 0;
}

.subscribe-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.vogue-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #5e3e2b;
}

.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 12px;
}

.subscribe-form input {
    flex: 2;
    padding: 14px 20px;
    border: 1px solid #cfc3b6;
    border-radius: 60px;
    background: white;
    font-family: inherit;
}

.btn-subscribe {
    background: #2c2c2c;
    border: none;
    padding: 14px 28px;
    border-radius: 60px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
}

.form-footnote {
    font-size: 0.7rem;
    color: #5a4c3e;
}

.subscribe-image img {
    border-radius: 32px;
    width: 100%;
}

.site-footer {
    background: #2a0306;
    color: #ddd;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-col h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

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

.footer-col a {
    color: #aaa;
    text-decoration: none;
}

.social-icons a {
    color: #ccc;
    margin-right: 18px;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #2a2a2a;
    padding-top: 28px;
    font-size: 0.75rem;
}

.hero, .future-section, .archive-section, .influencer-grid {
    background: #fff;
}

.cotton-shoot {
    background: #fef9f2;
}

.subscribe-section {
    background: #e9e0d6;
}

.future-section {
    background: #f5f0ea;
}

@media (max-width: 800px) {
    .hero-grid, .split-layout, .archive-grid, .subscribe-container {
        grid-template-columns: 1fr;
    }
    .hero-desc {
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .shoot-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .site-wrapper {
        margin: 16px;
        border-radius: 24px;
    }
}



/* ===== БЛОГ ===== */
.blog-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h2 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #6f6f6f;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.blog-card {
    background: #faf8f5;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(44, 44, 44, 0.85);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-category a {
    color: #ffffff;
    text-decoration: none;
}

.blog-card-content {
    padding: 24px 28px 28px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: #8a8a8a;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: #1c1c1c;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #9b7b5c;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-link {
    font-weight: 600;
    color: #9b7b5c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.blog-card-link:hover {
    border-bottom-color: #9b7b5c;
}

.blog-load-more {
    text-align: center;
    margin-top: 20px;
}

#load-more-posts {
    padding: 14px 48px;
    font-size: 1rem;
    cursor: pointer;
}

#load-more-posts.loading {
    opacity: 0.6;
    pointer-events: none;
}

#load-more-posts.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-section {
        padding: 40px 0;
    }
    
    .blog-header h2 {
        font-size: 2rem;
    }
    
    .blog-card-content {
        padding: 18px 20px 20px;
    }
}

/* Анимация появления новых карточек */
.blog-card.loading-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===== СТРАНИЦА НАПРАВЛЕНИЯ ===== */
.direction-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.direction-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.direction-header {
    margin-bottom: 50px;
    text-align: center;
}

.direction-header h1 {
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    font-family: 'Cormorant Garamond', serif;
}

.direction-page-description {
    font-size: 1.1rem;
    color: #5a5a5a;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.direction-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.direction-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.direction-image img {
    width: 100%;
    height: auto;
    display: block;
}

.direction-image-caption {
    font-size: 0.75rem;
    color: #6f6f6f;
    padding: 12px 16px;
    background: #f8f6f4;
    text-align: center;
    font-style: italic;
}

.direction-text {
    padding-top: 10px;
}

.direction-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: #ede6df;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.direction-text h2 {
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
}

.direction-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #3a3a3a;
    margin-bottom: 20px;
    font-weight: 400;
}

.direction-text-main {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 16px;
}

.direction-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 16px;
}

.direction-quote {
    font-size: 1.2rem;
    border-left: 3px solid #c0a080;
    padding-left: 24px;
    margin: 28px 0;
    font-style: italic;
    color: #3a3a3a;
}

.direction-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    color: #9b7b5c;
    border-bottom: 1px solid #9b7b5c;
    padding-bottom: 2px;
    margin-top: 8px;
    transition: border-color 0.2s;
}

.direction-link:hover {
    border-bottom-color: transparent;
}

/* Секция "не найдено" */
.direction-not-found {
    padding: 80px 0;
    background: #faf8f5;
    text-align: center;
}

.direction-not-found h1 {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 20px;
}

.direction-not-found p {
    font-size: 1.1rem;
    color: #5a5a5a;
    max-width: 600px;
    margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 992px) {
    .direction-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .direction-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .direction-section {
        padding: 40px 0 60px;
    }
    
    .direction-header h1 {
        font-size: 2.2rem;
    }
    
    .direction-text h2 {
        font-size: 2rem;
    }
    
    .direction-content {
        gap: 30px;
    }
}


/* ===== ПОСЛЕДНЯЯ ЗАПИСЬ ИЗ БЛОГА ===== */
.latest-post-section {
    padding: 80px 0;
    background: #ffffff;
}

.latest-post-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.latest-post-header {
    text-align: center;
    margin-bottom: 48px;
}

.latest-post-header .section-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: #ede6df;
    padding: 4px 16px;
    border-radius: 40px;
    margin-bottom: 12px;
}

.latest-post-header h2 {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.01em;
    margin: 0;
}

.latest-post-card {
    background: #faf8f5;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.latest-post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.latest-post-image {
    overflow: hidden;
    min-height: 320px;
}

.latest-post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.latest-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.latest-post-card:hover .latest-post-image img {
    transform: scale(1.03);
}

.latest-post-content {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-post-category {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9b7b5c;
    margin-bottom: 12px;
    font-weight: 500;
}

.latest-post-title {
    font-size: 1.8rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.3;
    margin-bottom: 12px;
}

.latest-post-title a {
    color: #1c1c1c;
    text-decoration: none;
    transition: color 0.2s;
}

.latest-post-title a:hover {
    color: #9b7b5c;
}

.latest-post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: #8a8a8a;
    margin-bottom: 16px;
}

.latest-post-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.latest-post-link {
    display: inline-block;
    font-weight: 600;
    color: #9b7b5c;
    text-decoration: none;
    border-bottom: 1px solid #9b7b5c;
    padding-bottom: 2px;
    transition: border-color 0.2s;
    align-self: flex-start;
}

.latest-post-link:hover {
    border-bottom-color: transparent;
}

.latest-post-footer {
    text-align: center;
    margin-top: 36px;
}

.latest-post-footer .btn-outline {
    padding: 12px 36px;
    border-radius: 40px;
    border: 1px solid #2c2c2c;
    color: #2c2c2c;
    background: transparent;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s;
    display: inline-block;
}

.latest-post-footer .btn-outline:hover {
    background: #2c2c2c;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .latest-post-section {
        padding: 40px 0;
    }
    
    .latest-post-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-post-image {
        min-height: 200px;
        max-height: 260px;
    }
    
    .latest-post-content {
        padding: 28px 24px;
    }
    
    .latest-post-title {
        font-size: 1.4rem;
    }
    
    .latest-post-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .latest-post-content {
        padding: 20px 16px;
    }
    
    .latest-post-title {
        font-size: 1.2rem;
    }
}

/* ===== ФУТЕР ===== */
.site-footer {
    background: #2a0306;
    color: #ddd;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

/* Левая колонка: Меню */
.footer-menu-col .footer-logo {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.footer-menu-col .footer-logo span {
    font-weight: 300;
    font-size: 0.75rem;
    display: block;
    color: #aaa;
    letter-spacing: 2px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: #fff;
}

/* Средняя колонка: Контакты */
.footer-contacts-col h5,
.footer-social-col h5 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 500;
}

.footer-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.92rem;
}

.contact-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.footer-contacts a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: #fff;
}

/* Правая колонка: Соцсети */
.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social li {
    margin-bottom: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: #fff;
}

.social-link .social-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Специальные цвета при наведении (опционально) */
.social-link.whatsapp:hover .social-icon {
    color: #25D366;
}

.social-link.telegram:hover .social-icon {
    color: #26A5E4;
}

.social-link.instagram:hover .social-icon {
    color: #E4405F;
}

.social-link.vk:hover .social-icon {
    color: #4C75A3;
}

/* Футер нижний */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    font-size: 0.75rem;
    color: #888;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-menu-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-menu-col {
        grid-column: 1;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
}

/* ===== СЕКЦИЯ КОНТАКТЫ ===== */
.contacts-section {
    padding: 80px 0;
    background: #ffffff;
}

.contacts-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.contacts-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacts-header h2 {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.contacts-subtitle {
    font-size: 1.1rem;
    color: #6f6f6f;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.contacts-col {
    background: #faf8f5;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacts-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.contacts-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.contacts-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.contacts-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 4px;
}

.contacts-col a {
    color: #9b7b5c;
    text-decoration: none;
    transition: color 0.2s;
}

.contacts-col a:hover {
    color: #4a3b2c;
}

.contacts-hours p {
    margin-bottom: 4px;
}

.contacts-note {
    font-size: 0.8rem;
    color: #888;
    display: inline-block;
    margin-top: 4px;
}

.contacts-messengers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.messenger-link.whatsapp {
    background: #25D366;
    color: #ffffff;
}

.messenger-link.whatsapp:hover {
    background: #1ebe57;
    transform: scale(1.02);
}

.messenger-link.telegram {
    background: #26A5E4;
    color: #ffffff;
}

.messenger-link.telegram:hover {
    background: #1e93cd;
    transform: scale(1.02);
}

.messenger-icon {
    font-size: 1.2rem;
}

/* Социальные сети */
.contacts-social {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.contacts-social h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #333;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.social-link .social-icon {
    font-size: 1.2rem;
}

.social-link.instagram:hover {
    border-color: #E4405F;
    color: #E4405F;
}

.social-link.vk:hover {
    border-color: #4C75A3;
    color: #4C75A3;
}

.social-link.youtube:hover {
    border-color: #FF0000;
    color: #FF0000;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 40px 0;
    }
    
    .contacts-header h2 {
        font-size: 2rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .contacts-col {
        padding: 24px 16px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== СТРАНИЦА КОНТАКТЫ ===== */
.contacts-page-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.contacts-page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.contacts-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacts-page-header h1 {
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    font-family: 'Cormorant Garamond', serif;
}

.contacts-page-description {
    font-size: 1.1rem;
    color: #5a5a5a;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contacts-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.contacts-section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.contacts-section-content h2 {
    font-size: 2.2rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 20px;
    text-align: center;
}

.contacts-section-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.contacts-section-content p {
    margin-bottom: 16px;
}

.contacts-section-content a {
    color: #9b7b5c;
    text-decoration: none;
    transition: color 0.2s;
}

.contacts-section-content a:hover {
    color: #4a3b2c;
    text-decoration: underline;
}

.contacts-section-content ul,
.contacts-section-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.contacts-section-content li {
    margin-bottom: 8px;
}

.contacts-page-image {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.contacts-page-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contacts-image-caption {
    padding: 12px 16px;
    background: #f8f6f4;
    text-align: center;
    font-style: italic;
    font-size: 0.85rem;
    color: #6f6f6f;
    margin: 0;
}

/* Секция "не найдено" */
.contacts-not-found {
    padding: 80px 0;
    background: #faf8f5;
    text-align: center;
}

.contacts-not-found h1 {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 20px;
}

.contacts-not-found p {
    font-size: 1.1rem;
    color: #5a5a5a;
    max-width: 600px;
    margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-page-section {
        padding: 40px 0 60px;
    }
    
    .contacts-page-header h1 {
        font-size: 2.2rem;
    }
    
    .contacts-section-content h2 {
        font-size: 1.8rem;
    }
}
/* ===== ГЕШТАЛЬТ-ПОДХОД ===== */
.gestalt-section {
    padding: 80px 0;
    background: #ffffff;
}

.gestalt-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.gestalt-header {
    text-align: center;
    margin-bottom: 50px;
}

.gestalt-header .section-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: #ede6df;
    padding: 4px 16px;
    border-radius: 40px;
    margin-bottom: 12px;
}

.gestalt-header h2 {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.gestalt-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #3a3a3a;
    max-width: 800px;
    margin: 0 auto;
}

.gestalt-block {
    margin-bottom: 50px;
}

.gestalt-block h3 {
    font-size: 2rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 16px;
    color: #1c1c1c;
}

.gestalt-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 16px;
}

/* Карточки принципов */
.gestalt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.gestalt-card {
    background: #faf8f5;
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gestalt-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.gestalt-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1c1c1c;
}

.gestalt-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* Список понятий */
.gestalt-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.gestalt-list-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #faf8f5;
    padding: 20px 24px;
    border-radius: 16px;
}

.list-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.gestalt-list-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 4px;
}

.gestalt-list-item p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* Техники */
.gestalt-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.gestalt-tech-item {
    background: #faf8f5;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}

.tech-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.gestalt-tech-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
}

.gestalt-tech-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* Сравнение подходов */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 16px 0;
}

.compare-item {
    background: #faf8f5;
    padding: 24px;
    border-radius: 16px;
}

.compare-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
}

.compare-item p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

.gestalt-note {
    background: #ede6df;
    padding: 24px 28px;
    border-radius: 16px;
    margin-top: 16px;
}

.gestalt-note p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3a3a3a;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .gestalt-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gestalt-tech-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .gestalt-section {
        padding: 40px 0;
    }
    
    .gestalt-header h2 {
        font-size: 2rem;
    }
    
    .gestalt-grid {
        grid-template-columns: 1fr;
    }
    
    .gestalt-tech-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-grid {
        grid-template-columns: 1fr;
    }
    
    .gestalt-list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1e1e1e;
    padding: 8px 12px;
}

@media (max-width: 780px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        margin-left: 0; /* Сбрасываем прижатие вправо на мобильном */
    }
    
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px 24px;
        gap: 10px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-radius: 0 0 20px 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .main-nav ul.menu-open {
        display: flex !important;
        opacity: 1 !important;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding: 8px 0;
        border-right: none; /* Убираем вертикальные разделители */
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        font-size: 1.1rem;
        display: block;
        padding: 4px 0;
        background: transparent; /* Убираем серый фон панели на мобильном */
        border-radius: 0;
    }

    /* Подсветка активного на мобильном */
    .main-nav .current-menu-item > a {
        background: transparent;
        color: #1c1c1c;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 0 20px;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-title span {
        font-size: 1.4rem;
    }
    
    .hero-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .hero-desc {
        font-size: 0.85rem;
    }
    
    .hero-image-frame {
        border-radius: 16px;
    }
}