

/* Start:/local/templates/tichiy/components/bitrix/news/portfolio/style.css?179121930444199*/
.pf { padding: 0 0 90px; background: #fff; }

.pf--hero {
    position: relative;
    padding: 140px 0 80px;
    background-color: #0D0A0B;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}
.pf--hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(13, 10, 11, .8);
}
.pf--hero-inner {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}
.pf--label {
    display: block;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.1rem;
    letter-spacing: .22rem;
    text-transform: uppercase;
    color: #af2b2b;
    margin-bottom: 14px;
}
.pf--title {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    font-size: 4.5rem;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 16px;
}
.pf--lead {
    font-size: 1.6rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .65);
    max-width: 720px;
    margin: 0 auto;
}

.pf--filter {
    width: 94%;
    max-width: 1280px;
    margin: 40px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.pf--filter-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    background: #fff;
    color: #3f3428;
    font-family: "Segoe UI", "montserrat-medium", sans-serif;
    font-size: 1.3rem;
    text-decoration: none;
    transition: border-color .25s, background-color .25s, color .25s;
}
.pf--filter-btn:hover { border-color: #862121; color: #862121; }
.pf--filter-btn.--active { background: #0D0A0B; border-color: #0D0A0B; color: #fff; }

.pf--featured {
    width: 94%;
    max-width: 1280px;
    margin: 60px auto 40px;
}
.pf--featured-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .35s, box-shadow .35s;
}
.pf--featured-card:hover {
    border-color: #862121;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}
.pf--featured-media {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: block;
}
.pf--featured-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}
.pf--featured-card:hover .pf--featured-media img { transform: scale(1.04); }
.pf--featured-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pf--featured-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.05rem;
    letter-spacing: .2rem;
    text-transform: uppercase;
    color: #862121;
    margin-bottom: 16px;
}
.pf--featured-name {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #0D0A0B;
    margin: 0 0 16px;
}
.pf--featured-name a { color: #0D0A0B; }
.pf--featured-name a:hover { color: #862121; }
.pf--featured-desc {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #5f5f5f;
    margin: 0 0 24px;
}
.pf--featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.pf--tag {
    display: inline-block;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    font-size: 1.2rem;
    color: #5f5f5f;
}
.pf--featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 14px 24px;
    background: #0D0A0B;
    color: #fff;
    border-radius: 8px;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.2rem;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .25s;
}
.pf--featured-cta:hover { background: #862121; color: #fff; }
.pf--featured-cta svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s;
}
.pf--featured-cta:hover svg { transform: translateX(3px); }

.pf--grid-wrap {
    width: 94%;
    max-width: 1280px;
    margin: 0 auto;
}
.pf--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.pf--card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform .35s, border-color .35s, box-shadow .35s;
}
.pf--card:hover {
    transform: translateY(-6px);
    border-color: #862121;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}
.pf--card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f6f6f6;
}
.pf--card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s;
}
.pf--card:hover .pf--card-media img { transform: scale(1.05); }
.pf--card-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.pf--card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.pf--card-tag {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.05rem;
    letter-spacing: .1rem;
    text-transform: uppercase;
    color: #862121;
}
.pf--card-tag + .pf--card-tag::before {
    content: '·';
    margin: 0 6px;
    color: #b8b8b8;
}
.pf--card-name {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.8rem;
    line-height: 1.3;
    color: #0D0A0B;
    margin: 0 0 10px;
}
.pf--card-desc {
    font-size: 1.4rem;
    line-height: 1.65;
    color: #5f5f5f;
    margin: 0 0 20px;
    flex: 1 1 auto;
}
.pf--card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #ececec;
}
.pf--card-more {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.2rem;
    letter-spacing: .12rem;
    text-transform: uppercase;
    color: #862121;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pf--card-more svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s;
}
.pf--card:hover .pf--card-more svg { transform: translateX(4px); }
.pf--card-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f6f6f6;
    color: #3f3428;
    transition: background-color .25s, color .25s;
}
.pf--card-site:hover { background: #862121; color: #fff; }
.pf--card-site svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf--nav {
    width: 94%;
    max-width: 1280px;
    margin: 60px auto 0;
    display: flex;
    justify-content: center;
}
.pf--nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.pf--nav ul li a,
.pf--nav ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    color: #3f3428;
    font-family: "Segoe UI", "montserrat-medium", sans-serif;
    font-size: 1.3rem;
    text-decoration: none;
    transition: background-color .25s, border-color .25s, color .25s;
}
.pf--nav ul li a:hover { border-color: #862121; color: #862121; }
.pf--nav ul li.--active a,
.pf--nav ul li.--active span {
    background: #0D0A0B;
    border-color: #0D0A0B;
    color: #fff;
}

.pf--nda-notice {
    width: 94%;
    max-width: 1280px;
    margin: 60px auto 0;
    padding: 26px 30px;
    background: #fdf7ee;
    border-left: 4px solid #b0762e;
    border-radius: 0 12px 12px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.pf--nda-notice > svg {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    stroke: #b0762e;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 3px;
}
.pf--nda-notice-title {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.5rem;
    color: #5a4632;
    margin: 0 0 8px;
}
.pf--nda-notice-text {
    font-size: 1.4rem;
    line-height: 1.65;
    color: #6b5c4a;
    margin: 0;
}
.pf--nda-notice-text a { color: #862121; }
.pf--nda-notice-text a:hover { color: #191A3F; }

@media (max-width: 1000px) {
    .pf--grid { grid-template-columns: repeat(2, 1fr); }
    .pf--featured-card { grid-template-columns: 1fr; }
    .pf--featured-media { min-height: 280px; position: relative; aspect-ratio: 16 / 9; }
    .pf--featured-body { padding: 36px 32px; }
    .pf--title { font-size: 3.6rem; }
}
@media (max-width: 700px) {
    .pf { padding-bottom: 60px; }
    .pf--hero { padding: 110px 0 55px; }
    .pf--title { font-size: 3rem; }
    .pf--lead { font-size: 1.4rem; }
    .pf--grid { grid-template-columns: 1fr; }
    .pf--featured { margin: 40px auto 30px; }
    .pf--featured-name { font-size: 2.2rem; }
    .pf--featured-desc { font-size: 1.4rem; }
    .pf--card-name { font-size: 1.6rem; }
    .pf--nav { margin-top: 36px; }
    .pf--nda-notice { margin-top: 40px; padding: 22px 22px; gap: 14px; }
}

/* --- portfolio detail --- */
.pfd { padding: 0 0 100px; background: #fff; }

.pfd--hero {
    position: relative;
    padding: 140px 0 100px;
    background-color: #0D0A0B;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}
.pfd--hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 10, 11, .78) 0%, rgba(13, 10, 11, .95) 100%);
}
.pfd--hero-inner {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: 900px;
    margin: 0 auto;
}
.pfd--back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .6);
    font-family: "Segoe UI", "montserrat-medium", sans-serif;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color .25s;
}
.pfd--back:hover { color: #fff; }
.pfd--back svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pfd--tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.pfd--tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 100px;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.1rem;
    letter-spacing: .12rem;
    text-transform: uppercase;
    color: #fff;
}
.pfd--title {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    font-size: 4rem;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 18px;
}
.pfd--lead {
    font-size: 1.65rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
    margin: 0;
    max-width: 720px;
}

.pfd--main {
    width: 94%;
    max-width: 1200px;
    margin: -70px auto 0;
    position: relative;
    z-index: 3;
}
.pfd--cover {
    border-radius: 16px;
    overflow: hidden;
    background: #f6f6f6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
    margin-bottom: 50px;
}
.pfd--cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: cover;
    object-position: top;
}

/* meta — число колонок задаётся из шаблона через --meta-cols */
.pfd--meta {
    display: grid;
    grid-template-columns: repeat(var(--meta-cols, 4), 1fr);
    gap: 24px;
    margin-bottom: 50px;
    padding: 28px 32px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
}
.pfd--meta-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pfd--meta-label {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.05rem;
    letter-spacing: .18rem;
    text-transform: uppercase;
    color: #862121;
}
.pfd--meta-value {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #0D0A0B;
    word-wrap: break-word;
}

.pfd--body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}
.pfd--content {
    font-size: 1.6rem;
    line-height: 1.75;
    color: #3f3428;
}
.pfd--content p { margin: 0 0 20px; }
.pfd--content h2,
.pfd--content h3 {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    color: #0D0A0B;
    margin: 36px 0 18px;
    line-height: 1.25;
}
.pfd--content h2 { font-size: 2.6rem; }
.pfd--content h3 { font-size: 2rem; }
.pfd--content ul { list-style: none; padding: 0; margin: 0 0 24px; }
.pfd--content ul li {
    position: relative;
    padding: 0 0 10px 26px;
    font-size: 1.6rem;
    line-height: 1.6;
}
.pfd--content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #862121;
}
.pfd--content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    display: block;
}
.pfd--content a { color: #862121; }
.pfd--content a:hover { color: #191A3F; }

.pfd--side { position: sticky; top: 40px; }
.pfd--side-block {
    padding: 26px 24px;
    background: #faf7f2;
    border-radius: 12px;
    margin-bottom: 20px;
}
.pfd--side-title {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.2rem;
    letter-spacing: .12rem;
    text-transform: uppercase;
    color: #862121;
    margin: 0 0 16px;
}
.pfd--side-list { list-style: none; margin: 0; padding: 0; }
.pfd--side-list li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #0D0A0B;
    border-bottom: 1px dashed #e5d9c4;
}
.pfd--side-list li:last-child { border-bottom: none; }
.pfd--side-list li::before {
    content: '';
    flex: 0 0 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: #862121;
}

.pfd--site-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: #0D0A0B;
    color: #fff;
    border-radius: 10px;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.25rem;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color .25s;
}
.pfd--site-link:hover { background: #862121; color: #fff; }
.pfd--site-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- gallery + slider --- */
.pfd--gallery { margin-top: 70px; }
.pfd--gallery-title {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    font-size: 2.4rem;
    color: #0D0A0B;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ececec;
}
.pfd--slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #f6f6f6;
    border: 1px solid #ececec;
}
.pfd--slider-track {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
}
.pfd--slider-slide {
    flex: 0 0 100%;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    cursor: zoom-in;
}
.pfd--slider-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    cursor: zoom-in;
}
.pfd--slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(13, 10, 11, .72);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color .25s, transform .25s;
    z-index: 2;
}
.pfd--slider-nav:hover { background: #862121; }
.pfd--slider-nav:active { transform: translateY(-50%) scale(.95); }
.pfd--slider-nav svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pfd--slider-prev { left: 16px; }
.pfd--slider-next { right: 16px; }
.pfd--slider-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: rgba(13, 10, 11, .72);
    color: rgba(255, 255, 255, .75);
    border-radius: 100px;
    font-family: "Segoe UI", "montserrat-medium", sans-serif;
    font-size: 1.25rem;
    letter-spacing: .04rem;
}
.pfd--slider-current { color: #fff; font-weight: 600; }

.pfd--slider-zoom-hint {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 10, 11, .72);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity .25s, background-color .25s;
}
.pfd--slider:hover .pfd--slider-zoom-hint { opacity: 1; }
.pfd--slider-zoom-hint svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- превью-полоса под слайдером --- */
.pfd--thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 4px 2px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.pfd--thumb {
    flex: 0 0 auto;
    width: 108px;
    height: 76px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f6f6f6;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .25s, transform .15s, opacity .25s;
    opacity: .7;
}
.pfd--thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pfd--thumb:hover {
    opacity: 1;
    border-color: #d8d8d8;
}
.pfd--thumb.--active {
    opacity: 1;
    border-color: #862121;
}
.pfd--thumb:active { transform: scale(.96); }

/* --- отзывы из ИБ 3 --- */
.pfd--reviews { margin-top: 70px; }
.pfd--reviews-title {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    font-size: 2.4rem;
    color: #0D0A0B;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ececec;
}
.pfd--reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.pfd--reviews-item {
    position: relative;
    padding: 36px 40px 28px 88px;
    background: #faf7f2;
    border-left: 4px solid #862121;
    border-radius: 0 14px 14px 0;
}
.pfd--reviews-item::before {
    content: '\201C';
    position: absolute;
    top: 14px;
    left: 26px;
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    color: rgba(134, 33, 33, .14);
}
.pfd--reviews-quote {
    position: relative;
    z-index: 1;
    font-family: "Segoe UI", "librebaskerville-italic", serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #3f3428;
    margin-bottom: 22px;
}
.pfd--reviews-quote p { margin: 0 0 12px; }
.pfd--reviews-quote p:last-child { margin-bottom: 0; }
.pfd--reviews-quote ul { list-style: none; padding: 0; margin: 0 0 12px; }
.pfd--reviews-quote ul li {
    position: relative;
    padding: 0 0 6px 22px;
}
.pfd--reviews-quote ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #862121;
}
.pfd--reviews-meta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px dashed #e5d9c4;
}
.pfd--reviews-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.pfd--reviews-author-name {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.55rem;
    color: #0D0A0B;
}
.pfd--reviews-author-position {
    font-family: "Segoe UI", "montserrat-regular", sans-serif;
    font-size: 1.3rem;
    color: #8a7a68;
}
.pfd--reviews-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #fff;
    border: 1px solid #e5d9c4;
    border-radius: 8px;
    color: #862121;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.2rem;
    letter-spacing: .04rem;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .25s, background-color .25s;
}
.pfd--reviews-file:hover {
    border-color: #862121;
    background: #fff;
    color: #862121;
}
.pfd--reviews-file svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- NDA notice --- */
.pfd--nda-notice {
    margin-top: 60px;
    padding: 26px 30px;
    background: #fdf7ee;
    border-left: 4px solid #b0762e;
    border-radius: 0 12px 12px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.pfd--nda-notice > svg {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    stroke: #b0762e;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 3px;
}
.pfd--nda-notice-title {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.5rem;
    color: #5a4632;
    margin: 0 0 8px;
}
.pfd--nda-notice-text {
    font-size: 1.4rem;
    line-height: 1.65;
    color: #6b5c4a;
    margin: 0;
}
.pfd--nda-notice-text a { color: #862121; }
.pfd--nda-notice-text a:hover { color: #191A3F; }

/* --- prev/next --- */
.pfd--pagenav {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ececec;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pfd--pagenav-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color .25s, background-color .25s;
}
a.pfd--pagenav-item:hover {
    border-color: #862121;
    background: #fff;
}
.pfd--pagenav-next { text-align: right; align-items: flex-end; }
.pfd--pagenav-empty { visibility: hidden; }
.pfd--pagenav-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.1rem;
    letter-spacing: .15rem;
    text-transform: uppercase;
    color: #862121;
}
.pfd--pagenav-label svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pfd--pagenav-name {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.6rem;
    line-height: 1.4;
    color: #0D0A0B;
}
a.pfd--pagenav-item:hover .pfd--pagenav-name { color: #862121; }

/* --- CTA --- */
.pfd--cta {
    margin-top: 70px;
    padding: 44px 48px;
    background: #0D0A0B;
    border-radius: 16px;
    text-align: center;
    color: #fff;
}
.pfd--cta-title {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    font-size: 2.6rem;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 12px;
}
.pfd--cta-text {
    font-size: 1.5rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .65);
    max-width: 620px;
    margin: 0 auto 26px;
}
.pfd--cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #862121;
    color: #fff;
    border-radius: 10px;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.3rem;
    letter-spacing: .12rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .25s;
}
.pfd--cta-btn:hover { background: #af2b2b; color: #fff; }
.pfd--cta-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- лайтбокс --- */
.pfd--lightbox {
    position: fixed;
    inset: 0;
    background: rgba(13, 10, 11, .97);
    z-index: 9999;
    display: none;
    padding: 70px 100px 110px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity .3s ease;
}
.pfd--lightbox.--open { display: block; }
.pfd--lightbox.--visible { opacity: 1; }

.pfd--lightbox-scroll {
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    cursor: zoom-out;
}
.pfd--lightbox-img {
    display: block;
    max-width: none;
    height: auto;
    margin: 0 auto;
    cursor: default;
    vertical-align: top;
    width: 100%;
}

/* --- кнопка закрытия --- */
.pfd--lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition:
            opacity .35s ease .1s,
            transform .35s cubic-bezier(.22,.61,.36,1) .1s,
            background-color .25s,
            border-color .25s,
            box-shadow .25s;
}
.pfd--lightbox.--visible .pfd--lightbox-close {
    opacity: 1;
    transform: translateY(0);
}
.pfd--lightbox-close:hover {
    background: #862121;
    border-color: #862121;
    box-shadow: 0 8px 24px rgba(134, 33, 33, .45);
}
.pfd--lightbox-close:active { transform: translateY(0) scale(.94); }
.pfd--lightbox-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .35s ease;
}
.pfd--lightbox-close:hover svg { transform: rotate(90deg); }

/* --- стрелки навигации --- */
.pfd--lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition:
            opacity .35s ease .15s,
            background-color .25s,
            border-color .25s,
            box-shadow .25s,
            transform .15s;
}
.pfd--lightbox.--visible .pfd--lightbox-nav {
    opacity: 1;
}
.pfd--lightbox-prev { left: 22px; }
.pfd--lightbox-next { right: 22px; }
.pfd--lightbox-prev { transform: translateY(-50%) translateX(-12px); }
.pfd--lightbox-next { transform: translateY(-50%) translateX(12px); }
.pfd--lightbox.--visible .pfd--lightbox-prev { transform: translateY(-50%) translateX(0); }
.pfd--lightbox.--visible .pfd--lightbox-next { transform: translateY(-50%) translateX(0); }

.pfd--lightbox-nav:hover {
    background: #862121;
    border-color: #862121;
    box-shadow: 0 10px 30px rgba(134, 33, 33, .45);
}
.pfd--lightbox-nav:active { transform: translateY(-50%) scale(.94); }
.pfd--lightbox-nav svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pfd--lightbox-prev:hover svg { transform: translateX(-2px); }
.pfd--lightbox-next:hover svg { transform: translateX(2px); }

/* --- счётчик --- */
.pfd--lightbox-counter {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    color: rgba(255, 255, 255, .55);
    border-radius: 100px;
    font-family: "Segoe UI", "montserrat-medium", sans-serif;
    font-size: 1.3rem;
    letter-spacing: .06rem;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
    transition:
            opacity .35s ease .2s,
            transform .35s cubic-bezier(.22,.61,.36,1) .2s;
}
.pfd--lightbox.--visible .pfd--lightbox-counter {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.pfd--lightbox-current { color: #fff; font-weight: 600; }

/* --- миниатюры в лайтбоксе --- */
.pfd--lightbox-thumbs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 100px 18px;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    background: linear-gradient(180deg, rgba(13, 10, 11, 0) 0%, rgba(13, 10, 11, .92) 60%);
    z-index: 10000;
    opacity: 0;
    transform: translateY(12px);
    transition:
            opacity .35s ease .25s,
            transform .35s cubic-bezier(.22,.61,.36,1) .25s;
    -webkit-overflow-scrolling: touch;
}
.pfd--lightbox.--visible .pfd--lightbox-thumbs {
    opacity: 1;
    transform: translateY(0);
}
.pfd--lightbox-thumb {
    flex: 0 0 auto;
    width: 76px;
    height: 54px;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 2px solid transparent;
    cursor: pointer;
    opacity: .5;
    transition: opacity .25s, border-color .25s, transform .15s;
}
.pfd--lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pfd--lightbox-thumb:hover {
    opacity: .85;
    border-color: rgba(255, 255, 255, .3);
}
.pfd--lightbox-thumb.--active {
    opacity: 1;
    border-color: #862121;
}
.pfd--lightbox-thumb.--active:hover { border-color: #862121; }
.pfd--lightbox-thumb:active { transform: scale(.95); }

body.--lb-open { overflow: hidden; }

/* --- адаптив --- */
@media (max-width: 1000px) {
    .pfd--body { grid-template-columns: 1fr; gap: 40px; }
    .pfd--side { position: static; }
    .pfd--meta { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 24px; }
    .pfd--title { font-size: 3.2rem; }
    .pfd--slider-slide { height: 480px; }
    .pfd--pagenav { grid-template-columns: 1fr; }
    .pfd--reviews-item { padding: 32px 32px 24px 72px; }
    .pfd--reviews-item::before { left: 20px; font-size: 6.5rem; }
}
@media (max-width: 900px) {
    .pfd--lightbox { padding: 60px 70px 110px; }
    .pfd--lightbox-nav { width: 50px; height: 50px; }
    .pfd--lightbox-nav svg { width: 18px; height: 18px; }
    .pfd--lightbox-prev { left: 14px; }
    .pfd--lightbox-next { right: 14px; }
    .pfd--lightbox-thumbs { padding: 12px 70px 16px; }
    .pfd--lightbox-thumb { width: 66px; height: 46px; }
}
@media (max-width: 700px) {
    .pfd { padding-bottom: 60px; }
    .pfd--hero { padding: 110px 0 80px; }
    .pfd--title { font-size: 2.6rem; }
    .pfd--lead { font-size: 1.4rem; }
    .pfd--main { margin-top: -50px; }
    .pfd--cover { margin-bottom: 30px; border-radius: 12px; }
    .pfd--meta { padding: 20px; margin-bottom: 30px; grid-template-columns: 1fr; }
    .pfd--content { font-size: 1.5rem; }
    .pfd--content h2 { font-size: 2.1rem; }
    .pfd--content h3 { font-size: 1.7rem; }
    .pfd--gallery { margin-top: 50px; }
    .pfd--slider-slide { height: 340px; padding: 16px; cursor: default; }
    .pfd--slider-slide img { cursor: default; }
    .pfd--slider-nav { width: 38px; height: 38px; }
    .pfd--slider-prev { left: 10px; }
    .pfd--slider-next { right: 10px; }
    .pfd--slider-zoom-hint { opacity: 1; }
    .pfd--thumbs { gap: 8px; }
    .pfd--thumb { width: 84px; height: 60px; }
    .pfd--reviews { margin-top: 50px; }
    .pfd--reviews-item { padding: 28px 22px 22px 22px; border-radius: 0 12px 12px 0; }
    .pfd--reviews-item::before { position: static; display: block; margin-bottom: -22px; font-size: 5rem; }
    .pfd--reviews-quote { font-size: 1.5rem; margin-top: 6px; }
    .pfd--reviews-meta { flex-direction: column; align-items: flex-start; gap: 14px; }
    .pfd--reviews-author-name { font-size: 1.4rem; }
    .pfd--reviews-file { padding: 8px 14px; }
    .pfd--nda-notice { padding: 22px 22px; margin-top: 40px; gap: 14px; }
    .pfd--pagenav { margin-top: 40px; padding-top: 30px; }
    .pfd--pagenav-item { padding: 18px 20px; }
    .pfd--pagenav-name { font-size: 1.4rem; }
    .pfd--cta { margin-top: 50px; padding: 32px 26px; }
    .pfd--cta-title { font-size: 2rem; }
    .pfd--cta-text { font-size: 1.4rem; }

    .pfd--lightbox { padding: 60px 12px 100px; }
    .pfd--lightbox-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .pfd--lightbox-nav {
        width: 42px;
        height: 42px;
    }
    .pfd--lightbox-nav svg { width: 16px; height: 16px; }
    .pfd--lightbox-prev { left: 10px; }
    .pfd--lightbox-next { right: 10px; }
    .pfd--lightbox-counter {
        top: auto;
        bottom: 82px;
        font-size: 1.15rem;
        padding: 6px 16px;
    }
    .pfd--lightbox-thumbs { padding: 10px 12px 14px; }
    .pfd--lightbox-thumb { width: 56px; height: 40px; }
}

/* --- отзывы (обновлено: аватар + новая сетка) --- */
.pfd--reviews { margin-top: 70px; }
.pfd--reviews-title {
    font-family: "Segoe UI", "librebaskerville-bold", serif;
    font-size: 2.4rem;
    color: #0D0A0B;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ececec;
}
.pfd--reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.pfd--reviews-item {
    position: relative;
    padding: 36px 40px 28px 40px;
    background: #faf7f2;
    border-left: 4px solid #862121;
    border-radius: 0 14px 14px 0;
    overflow: hidden;
}
.pfd--reviews-item::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 22px;
    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 1;
    color: rgba(134, 33, 33, .12);
    pointer-events: none;
}

.pfd--reviews-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.pfd--reviews-avatar {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(134, 33, 33, .15);
}
.pfd--reviews-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pfd--reviews-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.pfd--reviews-author-name {
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.6rem;
    color: #0D0A0B;
    line-height: 1.3;
}
.pfd--reviews-author-position {
    font-family: "Segoe UI", "montserrat-regular", sans-serif;
    font-size: 1.3rem;
    color: #8a7a68;
    line-height: 1.4;
}

.pfd--reviews-quote {
    position: relative;
    z-index: 1;
    font-family: "Segoe UI", "librebaskerville-italic", serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #3f3428;
    margin-bottom: 22px;
}
.pfd--reviews-quote p { margin: 0 0 12px; }
.pfd--reviews-quote p:last-child { margin-bottom: 0; }
.pfd--reviews-quote ul { list-style: none; padding: 0; margin: 0 0 12px; }
.pfd--reviews-quote ul li {
    position: relative;
    padding: 0 0 6px 22px;
}
.pfd--reviews-quote ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #862121;
}
.pfd--reviews-quote img { max-width: 100%; height: auto; border-radius: 6px; }

.pfd--reviews-foot {
    position: relative;
    z-index: 1;
    padding-top: 18px;
    border-top: 1px dashed #e5d9c4;
}
.pfd--reviews-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e5d9c4;
    border-radius: 8px;
    color: #862121;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.25rem;
    letter-spacing: .04rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .25s, background-color .25s, color .25s;
}
.pfd--reviews-file:hover {
    border-color: #862121;
    background: #862121;
    color: #fff;
}
.pfd--reviews-file svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- попап подтверждения отзыва --- */
.pfd--proof {
    position: fixed;
    inset: 0;
    background: rgba(13, 10, 11, .94);
    z-index: 10001;
    display: none;
    padding: 80px 60px 90px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity .3s ease;
}
.pfd--proof.--open { display: block; }
.pfd--proof.--visible { opacity: 1; }

.pfd--proof-inner {
    width: 100%;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pfd--proof-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: #fff;
    display: block;
}
.pfd--proof-inner img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.pfd--proof-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    color: #fff;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color .25s, border-color .25s, box-shadow .25s, transform .15s;
}
.pfd--proof-close:hover {
    background: #862121;
    border-color: #862121;
    box-shadow: 0 8px 24px rgba(134, 33, 33, .45);
}
.pfd--proof-close:active { transform: scale(.94); }
.pfd--proof-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .35s ease;
}
.pfd--proof-close:hover svg { transform: rotate(90deg); }

.pfd--proof-external {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    color: #fff;
    border-radius: 100px;
    font-family: "Segoe UI", "montserrat-semibold", sans-serif;
    font-size: 1.25rem;
    letter-spacing: .04rem;
    text-decoration: none;
    transition: background-color .25s, border-color .25s;
}
.pfd--proof-external:hover {
    background: #862121;
    border-color: #862121;
    color: #fff;
}
.pfd--proof-external svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 900px) {
    .pfd--proof { padding: 70px 30px 80px; }
}
@media (max-width: 700px) {
    .pfd--reviews { margin-top: 50px; }
    .pfd--reviews-item { padding: 28px 22px 22px 22px; border-radius: 0 12px 12px 0; }
    .pfd--reviews-item::before { font-size: 5rem; top: 8px; left: 14px; }
    .pfd--reviews-head { margin-bottom: 16px; gap: 12px; }
    .pfd--reviews-avatar { flex-basis: 44px; width: 44px; height: 44px; }
    .pfd--reviews-author-name { font-size: 1.45rem; }
    .pfd--reviews-author-position { font-size: 1.2rem; }
    .pfd--reviews-quote { font-size: 1.45rem; }
    .pfd--reviews-file { padding: 9px 14px; font-size: 1.2rem; }

    .pfd--proof { padding: 60px 12px 80px; }
    .pfd--proof-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .pfd--proof-external {
        font-size: 1.15rem;
        padding: 8px 16px;
        bottom: 14px;
    }
}

/* --- рейтинг в отзыве --- */
.pfd--reviews-head {
    flex-wrap: wrap;
}
.pfd--reviews-rate {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
}
.pfd--reviews-star {
    display: inline-flex;
    width: 18px;
    height: 18px;
    line-height: 0;
}
.pfd--reviews-star svg {
    width: 100%;
    height: 100%;
    display: block;
    /* пустая звезда — только контур, без заливки */
    fill: none;
    stroke: #d6c8b8;
    stroke-width: 1.5;
    stroke-linejoin: round;
    transition: fill .25s, stroke .25s;
}
.pfd--reviews-star.--filled svg {
    fill: #e5a83a;
    stroke: #e5a83a;
}

@media (max-width: 700px) {
    .pfd--reviews-rate {
        margin-left: 0;
        margin-top: 6px;
        width: 100%;
        order: 3;
    }
    .pfd--reviews-star { width: 16px; height: 16px; }
}
/* End */
/* /local/templates/tichiy/components/bitrix/news/portfolio/style.css?179121930444199 */
