/*
Theme Name: Моя Верстка
Author: 
Description: Тема WordPress из вашей верстки (все страницы)
Version: 1.1
Text Domain: my-custom-theme
*/
        @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Cormorant:wght@400;500;600&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&family=Inter:wght@400;500&display=swap');

        :root {
            --text-color: #1a1a1a;
            --text-muted: #888888;
            --bg-light: #f8f8f8;
            --font-sans: 'Montserrat', sans-serif;
            --font-serif: 'Cormorant Garamond', serif;
            --font-serif-alt: 'Cormorant', serif;
            --font-playfair: 'Playfair Display', serif;
            --font-inter: 'Inter', sans-serif;
        }

        /* Reset and Base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-sans);
            color: var(--text-color);
            background-color: #ffffff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            min-width: 1280px; /* Принудительная ширина для десктопа (убираем адаптацию) */
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        /* Utilities */
        .font-serif { font-family: var(--font-serif); }
        .font-light { font-weight: 300; }
        .font-medium { font-weight: 500; }

        /* Для секций с боковыми отступами */
        .container {
            width: 100%;
            max-width: 1536px;
            margin: 0 auto;
            padding: 0 80px;
        }

        /* Контейнер фиксированной ширины для ПК (Grid section) */
        .container-fixed {
            width: 1380px;
            margin: 0 auto;
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 80px;
            background: #fff;
            position: relative;
            z-index: 50;
        }

        .nav-menu { width: 33.333%; }
        .nav-menu ul {
            display: flex;
            gap: 32px;
            font-size: 15px;
            font-weight: 500;
            color: #333;
            letter-spacing: 0.02em;
        }
        .nav-menu a {
            position: relative;
            padding-bottom: 4px;
            transition: color 0.3s;
        }
        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background-color: #333;
            transition: width 0.3s ease, background-color 0.3s;
        }
        .nav-menu a:hover { color: #9ca3af; }
        .nav-menu a:hover::after {
            width: 100%;
            background-color: #9ca3af;
        }
        .nav-menu a.active::after {
            width: 100%;
            background-color: #333;
        }
        .nav-menu a.active:hover::after {
            background-color: #9ca3af;
        }

        .logo-container {
            width: 33.333%;
            display: flex;
            justify-content: center;
        }
        .logo-img {
            height: 64px;
            object-fit: contain;
        }

        .social-icons {
            width: 33.333%;
            display: flex;
            justify-content: flex-end;
            gap: 24px;
            align-items: center;
        }
        .social-icons a:hover {
            opacity: 0.6;
            transition: opacity 0.3s;
        }
        .social-icons img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        /* Hero Section */

        .hero-bg {
            width: 100%;
            height: 75vh;
            object-fit: cover;
            display: block;
        }

        .hero-bg-section {
            width: 100%;

        }
        .hero-content-wrapper {
            width: 100%;
            position: relative;
        }
        .hero-content {
            position: relative;
            display: flex;
            justify-content: space-between;
        }
        .hero-text {
            width: 45%;
            padding-top: 96px;
            padding-bottom: 96px;
            position: relative;
            z-index: 20;
        }
        .hero-title {
            font-size: 72px;
            line-height: 1.05;
            letter-spacing: -0.02em;
            margin-bottom: 24px;
            color: var(--text-color);
        }
        .hero-subtitle {
            font-size: 50px;
            margin-bottom: 16px;
            font-weight: 300;
        }
        .hero-desc {
            font-size: 22px;
            line-height: 1.4;
            max-width: 480px;
            color: var(--text-color);
        }

        .hero-image-overlap {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-90%);
            width: 50%;
            max-width: 800px;
            z-index: 10;
        }
        .hero-image-overlap img {
            width: 100%;
            border: 24px solid #fff;
            box-shadow: 0 4px 30px rgba(0,0,0,0.05);
            display: block;
        }

        /* How I Work Section */
        .how-it-works {
            display: flex;
            justify-content: space-between;
            gap: 32px;
            padding-top: 120px;
            padding-bottom: 120px;
        }
        .hiw-left {
            width: 25%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .hiw-title {
            font-size: 40px;
            line-height: 1.25;
            margin-bottom: 24px;
            color: var(--text-color);
            font-family: var(--font-sans);
            font-weight: 500;
        }
        .hiw-arrow {
            width: 100%;
            max-width: 200px;
            color: var(--text-color);
            line-height: 1.5;
        }
        .hiw-grid {
            width: 75%;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 16px;
        }
        .hiw-card {
            border: 1px solid #e5e7eb;
            border-radius: 4px;
            padding: 16px;
            display: flex;
            align-items: flex-start;
            background-color: #fff;
            transition: box-shadow 0.3s;
        }
        .hiw-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
        .hiw-number {
            font-size: 36px;
            line-height: 1;
            margin-right: 12px;
            margin-top: 2px;
            color: var(--text-color);
            font-weight: 600;
        }
        .hiw-card-text {
            font-size: 14px;
            line-height: 1.3;
            color: var(--text-color);
        }

        /* Stats Banner Section */
        .stats-banner {
            background-color: #dfceac;
            padding: 80px 0;
            margin-top: 48px;
        }
        .stats-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 32px;
        }
        .stats-text {
            font-size: 32px;
            font-weight: 500;
            line-height: 1.25;
            max-width: 850px;
            color: var(--text-color);
        }
        .stats-button {
            display: inline-block;
            padding: 16px 40px;
            border: 1px solid var(--text-color);
            background: transparent;
            color: var(--text-color);
            font-size: 16px;
            font-weight: 500;
            transition: background-color 0.3s, color 0.3s;
            white-space: nowrap;
            text-align: center;
            cursor: pointer;
        }
        .stats-button:hover {
            background-color: var(--text-color);
            color: #dfceac;
        }

        /* 24-Column Grid */
        .section-title {
            font-family: var(--font-playfair);
            font-size: 48px;
            font-weight: 400;
            margin-bottom: 40px;
            margin-top: 150px;
            color: #000;
        }
        .grid-container {
            display: grid;
            grid-template-columns: repeat(24, 1fr);
            grid-auto-rows: minmax(130px, auto);
            gap: 16px;
            margin-bottom: 60px;
        }
        .card {
            background-color: var(--bg-light);
            border-radius: 8px;
            padding: 24px;
            display: flex;
            flex-direction: column;
        }
        .card h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #000;
            line-height: 1.3;
        }
        .card p {
            font-size: 14px;
            font-weight: 400;
            line-height: 1.4;
            color: #111;
        }

        .card-1 { grid-column: span 6; grid-row: span 3; padding: 0; }
        .card-1-content { padding: 24px; }
        .card-1-img-wrap { flex-grow: 1; display: flex; overflow: hidden; }
        .card-1-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
        .card-2 { grid-column: span 6; }
        .card-3 { grid-column: span 6; }
        .card-4 { grid-column: span 6; }
        .card-5 { grid-column: span 9; }
        .card-6 { grid-column: span 3; padding: 20px 16px; }
        .card-7 { grid-column: span 6; padding: 0; background-color: transparent; }
        .card-7 img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
        .card-8 { grid-column: span 6; }
        .card-9 { grid-column: span 6; }
        .card-10 { grid-column: span 6; }

        .action-btn-container { display: flex; justify-content: center; margin-bottom: 150px; }
        .calculate-btn { font-family: var(--font-inter); font-size: 16px; font-weight: 500; color: #000; background-color: #fff; border: 1px solid #000; padding: 16px 32px; cursor: pointer; transition: all 0.3s ease; }
        .calculate-btn:hover { background-color: #000; color: #fff; }

        /* Portfolio */
        .portfolio-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px 100px;
        }
        .portfolio-page-title { font-family: var(--font-serif); font-size: 46px; font-weight: 400; margin-top: 0; margin-bottom: 40px; }
        .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 30px; row-gap: 50px; }
        .portfolio-item { display: flex; flex-direction: column; }
        .portfolio-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background-color: #f0f0f0; }
        .portfolio-item-title { font-size: 16px; font-weight: 600; margin: 20px 0; }
        .portfolio-btn { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--text-color); background: transparent; padding: 12px 35px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; align-self: flex-start; }
        .portfolio-btn:hover { background: var(--text-color); color: #ffffff; }

        /* Services */
        .services-section { padding: 60px 80px 120px; max-width: 1536px; margin: 0 auto; }
        .page-title { font-family: var(--font-serif); font-size: 56px; font-weight: 400; margin-bottom: 48px; color: var(--text-color); }
        .services-grid { display: flex; flex-direction: column; gap: 60px; }
        .services-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
        .services-row-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
        .service-card { display: flex; flex-direction: column; }
        .service-card img { width: 100%; object-fit: cover; margin-bottom: 24px; display: block; }
        .services-row-2col .service-card img { aspect-ratio: 16 / 10; }
        .services-row-3col .service-card img { aspect-ratio: 1 / 1; }
        .service-title { font-family: var(--font-sans); font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--text-color); }
        .service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 24px; flex-grow: 1; }
        .service-price-wrap { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
        .price-prefix { font-size: 14px; color: var(--text-color); }
        .price-val { font-size: 32px; font-weight: 400; color: var(--text-color); }
        .service-btn { padding: 16px 32px; border: 1px solid var(--text-color); background-color: transparent; color: var(--text-color); font-size: 15px; font-family: var(--font-sans); font-weight: 500; cursor: pointer; width: fit-content; transition: background-color 0.3s ease, color 0.3s ease; }
        .service-btn:hover { background-color: var(--text-color); color: #fff; }

        /* Footer */
        .footer { background-color: #f9f9f9; padding: 60px 0; }
        .footer-container { display: flex; justify-content: space-between; align-items: center; }
        .footer-logo img { height: 64px; object-fit: contain; }
        .footer-nav ul { display: flex; gap: 48px; list-style: none; }
        .footer-nav a { text-decoration: none; color: var(--text-color); font-size: 15px; font-weight: 400; transition: color 0.3s ease; }
        .footer-nav a:hover { color: #666; }
        .footer-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
        .social-icons-ft { display: flex; gap: 12px; margin-bottom: 4px; }
        .social-icons-ft a { display: block; width: 32px; height: 32px; transition: opacity 0.3s ease; }
        .social-icons-ft a:hover { opacity: 0.7; }
        .social-icons-ft img { height: 100%; width: 100%; object-fit: contain; }
        .contact-link { color: var(--text-color); text-decoration: none; font-size: 15px; font-weight: 400; transition: color 0.3s ease; }
        .contact-link:hover { color: #666; }

        /* Modal Window */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            display: flex; justify-content: center; align-items: center;
            z-index: 1000; opacity: 0; visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .modal-content {
            background-color: #f7f7f7; border-radius: 10px; padding: 60px 50px;
            width: 100%; max-width: 520px; position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .modal-close {
            position: absolute; top: 20px; right: 20px;
            background: none; border: none; font-size: 28px; color: #999;
            cursor: pointer; line-height: 1; transition: color 0.3s;
        }
        .modal-close:hover { color: #000; }
        .modal-title { font-size: 36px; font-weight: 500; line-height: 1.2; margin-bottom: 30px; color: #000; }
        .modal-form { display: flex; flex-direction: column; gap: 16px; }
        .modal-input {
            width: 100%; padding: 20px 24px; background-color: #fff;
            border: 1px solid transparent; font-family: inherit; font-size: 15px;
            color: #000; outline: none; transition: border-color 0.3s;
        }
        .modal-input:focus { border-color: #ccc; }
        .modal-input::placeholder { color: #a0a0a0; }
        .modal-submit-btn {
            width: 100%; padding: 20px; background-color: #fff; border: 1px solid #000;
            color: #000; font-size: 18px; font-weight: 500; font-family: inherit;
            cursor: pointer; transition: all 0.3s ease; margin-top: 10px;
        }
        .modal-submit-btn:hover { background-color: #000; color: #fff; }
        .modal-disclaimer { margin-top: 24px; font-size: 13px; color: #888; line-height: 1.5; }
        .modal-disclaimer a { color: #888; text-decoration: underline; }
        .modal-disclaimer a:hover { color: #555; }



        /* Контейнер-обертка для изоляции стилей контента услуги */
.service-pg-container {
    font-family: 'Montserrat', sans-serif;
    color: #111;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-pg-container * {
    box-sizing: border-box;
}

/* Хлебные крошки */
.service-pg-breadcrumbs {
    color: #888;
    font-size: 14px;
    margin: 20px 0 30px;
}

/* Главное изображение */
.service-pg-hero {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
    object-fit: cover;
}

/* Основной контент (колонки) */
.service-pg-main {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.service-pg-content {
    flex: 1;
}

.service-pg-title {
    font-size: 36px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-pg-intro {
    color: #777;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 35px;
    max-width: 90%;
}

.service-pg-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 30px;
}

.service-pg-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.service-pg-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.service-pg-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #111;
    font-size: 16px;
}

.service-pg-price-wrap {
    margin-top: 40px;
    font-size: 42px;
    font-weight: 500;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.service-pg-price-from {
    font-size: 14px;
    font-weight: 400;
    color: #111;
}

/* Боковая форма */
.service-pg-sidebar {
    width: 400px;
    flex-shrink: 0;
}

.service-pg-form-box {
    background-color: #f7f7f7;
    padding: 35px;
    border-radius: 8px;
}

.service-pg-form-title {
    font-size: 26px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-pg-form input {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border: none;
    background-color: #fff;
    font-size: 14px;
    font-family: inherit;
    color: #111;
}

.service-pg-form input::placeholder {
    color: #aaa;
}

.service-pg-form input:focus {
    outline: 1px solid #ccc;
}

.service-pg-form button {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 1px solid #111;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 5px;
}

.service-pg-form button:hover {
    background: #111;
    color: #fff;
}

.service-pg-disclaimer {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 0;
}

.service-pg-disclaimer a {
    color: #888;
    text-decoration: underline;
}

/* Галерея примеров работ ниже основной части */
.service-pg-gallery {
    margin-top: 20px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-pg-gallery-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-pg-gallery-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #111;
    font-family: inherit;
}

.service-pg-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.service-pg-gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-pg-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}



/* --- Стили для страницы проекта (портфолио) --- */
.proj-wrapper {
    font-family: 'Inter', sans-serif;
    color: #111;
    background-color: #fff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.proj-wrapper * {
    box-sizing: border-box;
}

.proj-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.proj-nav {
    display: flex;
    gap: 25px;
}

.proj-nav a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    padding-bottom: 4px;
    transition: opacity 0.3s;
}

.proj-nav a:hover {
    opacity: 0.7;
}

.proj-nav a.active {
    border-bottom: 1px solid #111;
}

.proj-logo {
    text-align: center;
}

.proj-logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1.1;
    color: #111;
}

.proj-logo-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.proj-logo-subtitle .line {
    width: 60px;
    height: 1px;
    background-color: #555;
}

.proj-logo-subtitle .text {
    font-size: 13px;
    text-transform: lowercase;
    color: #555;
    letter-spacing: 0.5px;
}

.proj-social {
    display: flex;
    gap: 20px;
}

.proj-social a {
    color: #111;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-social svg {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

.proj-social a:hover svg {
    opacity: 0.6;
}

.proj-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 60px 60px 60px;
}

.proj-breadcrumb {
    font-size: 15px;
    color: #9fa3a7;
    margin-bottom: 24px;
}

.proj-content-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 60px;
    align-items: start;
}

.proj-slider {
    position: relative;
    width: 100%;
}

.proj-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.proj-slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.6;
}

.proj-slider-btn.prev {
    left: -50px;
}

.proj-slider-btn.next {
    right: -50px;
}

.proj-slider-btn svg {
    width: 32px;
    height: 48px;
}

.proj-slider-img-wrap {
    width: 100%;
    overflow: hidden;
}

.proj-slider-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2;
}

.proj-info {
    padding-top: 10px;
}

.proj-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #111;
}

.proj-info p {
    font-size: 15px;
    line-height: 1.6;
    color: #111;
    margin: 0;
}




.an-blog-page {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
}

.an-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 30px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.an-nav {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.an-nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 5px;
}

.an-nav a.an-active {
    border-bottom: 1px solid #1a1a1a;
}

.an-logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.an-logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.5px;
}

.an-logo-subtitle {
    font-size: 13px;
    text-transform: lowercase;
    color: #444;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
    font-weight: 400;
}

.an-logo-subtitle::before,
.an-logo-subtitle::after {
    content: '';
    height: 1px;
    background-color: #444;
    width: 60px;
    display: block;
}

.an-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.an-social a {
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.an-social a:hover {
    opacity: 0.7;
}

.an-main {
    padding: 20px 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.an-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 40px;
}

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

.an-card {
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
}

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

.an-card-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.an-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
    color: #111;
}

.an-card-text {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.an-card-list {
    margin: 0 0 15px 0;
    padding-left: 20px;
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.an-card-list li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.an-read-more {
    align-self: flex-end;
    margin-top: auto;
    display: inline-flex;
    padding-top: 25px;
    transition: transform 0.3s;
}

.an-read-more:hover {
    transform: translateX(5px);
}



.cp-wrapper {
    font-family: 'Inter', sans-serif;
    color: #111;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.cp-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}



/* Page Title */
.cp-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Contact Block */
.cp-contact-block {
    display: flex;
    margin-bottom: 180px;
    background-color: #fafafa;
}

.cp-contact-info {
    flex: 1;
    padding: 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cp-contact-info h2 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.3;
}

.cp-contact-details {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.cp-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.cp-contact-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cp-contact-form-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

.cp-form-group {
    margin-bottom: 16px;
}

.cp-form-group input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.cp-form-group input::placeholder {
    color: #999;
}

.cp-submit-btn {
    width: 100%;
    padding: 16px;
    background-color: transparent;
    border: 1px solid #111;
    color: #111;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.cp-submit-btn:hover {
    background-color: #111;
    color: #fff;
}

.cp-contact-image {
    flex: 1;
}

.cp-contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.an-breadcrumbs {
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
}

.an-article-content {
    max-width: 800px;
    margin: 0 auto;
}

.an-article-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.an-article-hero {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    display: block;
}

.an-article-title {
    font-size: 32px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #111;
}

.an-article-text {
    font-size: 15px;
    color: #111;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
}

.an-article-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #111;
}

.an-article-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 40px 0;
}

.an-article-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: #111;
}

.an-article-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}




/* --- About page extra styles (from about.html) --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-width: 1280px; /* Принудительная ширина для десктопа (убираем адаптацию) */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.font-serif {
  font-family: 'Cormorant Garamond', serif;
}
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }

.container {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 80px;
  background: #fff;
  position: relative;
  z-index: 50;
}

.nav-menu {
  width: 33.333%;
}
.nav-menu ul {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.02em;
}

.nav-menu a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  transition: width 0.3s ease, background-color 0.3s;
}
.nav-menu a:hover {
  color: #9ca3af;
}
.nav-menu a:hover::after {
  width: 100%;
  background-color: #9ca3af;
}
/* Активная ссылка в шапке */
.nav-menu a.active::after {
  width: 100%;
  background-color: #333;
}
.nav-menu a.active:hover::after {
  background-color: #9ca3af;
}

.logo-container {
  width: 33.333%;
  display: flex;
  justify-content: center;
}

/* Custom Text Logo */
.header-logo-text {
  text-align: center;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 400;
}
.logo-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}
.logo-sub .line {
  height: 1px;
  width: 36px;
  background-color: #1a1a1a;
}

.social-icons {
  width: 33.333%;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}
.social-icons a:hover {
  opacity: 0.6;
  transition: opacity 0.3s;
}
.social-icons svg {
  width: 20px;
  height: 20px;
  color: #1a1a1a;
}

/* About Section Specifics */
.about-section {
  padding: 60px 80px 120px;
  max-width: 1536px;
  margin: 0 auto;
}

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 48px;
  color: #1a1a1a;
}

.about-content {
  display: flex;
  gap: 60px;
}

.about-image {
  width: 45%;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-text {
  width: 55%;
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.6;
}

.about-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.4;
}

.about-subheading {
  font-size: 18px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.about-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 32px;
}

.about-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}
.about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0px;
  font-size: 18px;
  line-height: 1.3;
  color: #1a1a1a;
}

.about-paragraphs p {
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  line-height: 1;
  color: #1a1a1a;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.footer-nav ul {
  display: flex;
  gap: 48px;
  list-style: none;
}

.footer-nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #666;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.social-icons-ft {
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
}

.social-icons-ft a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.social-icons-ft a:hover {
  opacity: 0.7;
}

.social-icons-ft svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.contact-link {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #666;
}

.portfolio-btn { position: relative; z-index: 10; }

/* FIX: кнопка "Смотреть" должна быть кликабельной */
.portfolio-item { position: relative; }

.portfolio-item::before,
.portfolio-item::after,
.portfolio-grid::before,
.portfolio-grid::after {
  pointer-events: none !important;
}

.portfolio-btn,
.portfolio-item a.portfolio-btn {
  position: relative !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  display: inline-block; /* важно для клика */
}

.portfolio-image {
  position: relative;
  z-index: 1;
}

/* ===== Mobile header fix (logo overlaps menu) ===== */
@media (max-width: 768px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 12px;
    gap: 10px;
  }

  .logo-container {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

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

  .nav-menu {
    order: 2;
    width: 100%;
  }

  .nav-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    padding: 0;
    margin: 0;
  }

  .nav-menu li {
    margin: 0;
  }

  .social-icons {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
  }
}