/*
Theme Name: D-Fakt
Theme URI: 
Description: Custom child theme for D-Fakt
Author: MyTeam
Author URI: https://myteam.in.ua
Template: generatepress
Version: 1.0.0
*/

/* ================= ШРИФТИ ================= */
@font-face {
    font-family: 'Unbounded';
    src: url('./fonts/Unbounded-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('./fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ================= ТОКЕНИ ================= */
:root {
    --c-concrete: #C5BAAA;
    --concrete: #C5BAAA;
    --craft:#806D61;
    --c-craft: #806D61;
    --c-brick: #EE7E28;
    --brick:#EE7E28;
    --c-graphite: #2C2C2C;
    --graphite:#2C2C2C; 
    --c-light: #F9F8F6;
    --light: #F9F8F6;
    --c-white: #FFFFFF;
    --white:#ffffff;
    --sand:#D9D0BF;
    --color-brick: #c25934;
    --graphite-deep:#543c28;
    --brick-dark:#c25934;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
    --ease:cubic-bezier(0.4,0,0.2,1);
    --font-head:'Unbounded',sans-serif;
    --font-body:'Manrope',sans-serif;
}

/* ================= БАЗА ================= */
*, *::before, *::after { box-sizing: border-box; }
/*p {margin-bottom:unset;}*/
button {
    font-family: 'Manrope', sans-serif;
}
body {
    background-color: #D9D0BF;
    color: #f5f5f5;
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    margin-top: 91px;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    color: #f5f5f5;
    font-weight: 600;
}
a {
    color: var(--color-brick);
    text-decoration: none;
    transition: 0.3s ease;
}
a:hover { color: var(--c-craft); }

/* ================= ГЛОБАЛЬНА КНОПКА ================= */
.btn-primary {
    display: inline-block;
    background: var(--c-brick);
    color: var(--c-white);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
}
.btn-primary:hover {
    background: #d66b1e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(238, 126, 40, 0.3);
    color: var(--c-white);
}

/* ================= CF7 ================= */
input.wpcf7-form-control.wpcf7-submit.has-spinner { background-color: #d66b1e; }
input.wpcf7-form-control {
    background-color: transparent;
    border-radius: 10px;
    color: white;
}

/* ================= МОДАЛЬНЕ ВІКНО ================= */
.global-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 44, 44, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.global-modal-content {
    background: #282725;
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}
.global-modal-content::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: linear-gradient(to right, transparent, var(--color-brick), transparent);
}
.close-modal {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--c-brick);
    line-height: 1;
    transition: color 0.3s;
}
.close-modal:hover { color: var(--c-white); }
.modal-title {
    margin-top: 0;
    font-size: 1.8rem;
    text-align: center;
    color: var(--c-white);
    margin-bottom: 0.5rem;
}
.modal-subtitle {
    color: #A0A0A0;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.modal-success-msg { display: none; text-align: center; }
.modal-success-msg h3 { color: var(--c-brick); font-size: 2rem; margin-bottom: 1rem; }
.modal-success-msg p { color: var(--c-white); font-size: 1.1rem; margin-bottom: 0.5rem; opacity: 0.9; }
.modal-success-msg .close-modal-btn { margin-top: 1.5rem; }

.global-modal-content .wpcf7-form-control:not(.wpcf7-submit) {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--c-white);
    padding: 0.9rem 1.2rem;
    width: 100%;
    margin-bottom: 0.5rem;
    outline: none;
    transition: var(--transition);
}
.global-modal-content .wpcf7-form-control:not(.wpcf7-submit):focus {
    border-color: var(--c-brick);
    background-color: rgba(255,255,255,0.08);
}
.global-modal-content input.wpcf7-form-control.wpcf7-submit {
    background-color: var(--c-brick);
    color: var(--c-white);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    margin-top: 1rem;
}
.global-modal-content input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #d66b1e;
    transform: translateY(-2px);
}

/* ================= ХЕДЕР ================= */
.dfakt-site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    padding: 1rem 0;
    background: transparent;
}
.dfakt-site-header.scrolled {
    background: rgba(30,30,30,0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}
.dfakt-site-header.scrolled::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: linear-gradient(to right, transparent, var(--color-brick), transparent);
}
.dfakt-site-header.scrolled .header-nav-wrap {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo img {
    max-height: 56px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}
.logo-dark-bg { display: none !important; }
.dfakt-site-header.scrolled .logo-light-bg { display: none !important; }
.dfakt-site-header.scrolled .logo-dark-bg { display: block !important; }

.header-nav-wrap {
    background: rgb(44 44 44 / 94%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50px;
    padding: 0.5rem 2rem;
    transition: all 0.4s ease;
}
.desktop-menu {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem;
}
.desktop-menu li a { color: #fff; font-size: 0.95rem; font-weight: 500; transition: color 0.3s ease; }
.desktop-menu li a:hover { color: var(--c-brick); }
.desktop-menu li { position: relative; }
.desktop-menu li.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.75em;
    vertical-align: middle;
}
.desktop-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(30,30,30,0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 240px;
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    z-index: 5555;
}
.desktop-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}
.desktop-menu ul.sub-menu li { margin: 0; }
.desktop-menu ul.sub-menu li a {
    padding: 0.7rem 1.5rem;
    display: block;
    color: #f5f5f5;
    font-size: 0.95rem;
    transition: 0.3s ease;
}
.desktop-menu ul.sub-menu li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--c-brick);
}

.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { color: #fff; font-weight: 600; font-size: 1.05rem; }
.header-socials { display: flex; gap: 1.2rem; }
.header-socials a { color: #fff; font-size: 1.3rem; transition: 0.3s; }
.header-socials a:hover { color: var(--c-brick); }
.header-actions .btn-primary { padding: 0.7rem 1.8rem; font-size: 0.95rem; }

.fa-brands:hover,
.dfakt-site-header.scrolled .fa-brands:hover { color: var(--c-brick); }
.dfakt-site-header.scrolled .fa-brands { color: rgb(255 255 255 / 94%); }

/* ================= МОБІЛЬНЕ МЕНЮ ================= */
.mobile-menu-toggle {
    display: none; background: transparent; border: none; color: #fff; font-size: 1.8rem; cursor: pointer;
}
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    z-index: 10001; opacity: 0; visibility: hidden; transition: 0.4s ease;
}
.mobile-menu-panel {
    position: fixed; top: 0; left: -320px; width: 300px; height: 100vh;
    background: #1E1E1E; z-index: 10002; transition: 0.4s ease;
    box-shadow: 5px 0 25px rgba(0,0,0,0.5); display: flex; flex-direction: column;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-panel.active { left: 0; }
.mobile-panel-header {
    display: flex; justify-content: space-between; align-items: center; padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-panel-header img { max-height: 35px; }
.close-mobile-menu { background: transparent; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.mobile-panel-content { padding: 2rem 1.5rem; flex: 1; overflow-y: auto; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0 0 2rem 0; }
.mobile-nav-list li { margin-bottom: 1.2rem; }
.mobile-nav-list li a { color: #fff; font-size: 1.2rem; font-weight: 500; }
.mobile-contacts { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; }
.mobile-phone { display: block; color: #fff; font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; }
.mobile-socials { display: flex; gap: 1.5rem; }
.mobile-socials a { color: #fff; font-size: 1.5rem; }

@media (max-width: 1024px) {
    .header-nav-wrap, .header-actions { display: none; }
    .mobile-menu-toggle { display: block; }
}

/* ================= ФУТЕР ================= */
.dfakt-footer {
    background: #161616;
    color: #A0A0A0;
    padding-top: 5rem;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}
.footer-col { flex: 1; min-width: 250px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-logo img { max-height: 45px; margin-bottom: 1.5rem; display: block; }
.footer-desc { line-height: 1.6; font-size: 0.95rem; max-width: 300px; }
.footer-title { color: #ffffff; font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 600; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 0.8rem; }
.footer-menu li a { color: #A0A0A0; transition: 0.3s; text-decoration: none; font-size: 0.95rem; }
.footer-menu li a:hover { color: var(--c-brick); }
.footer-contact-link {
    display: flex; align-items: center;
    color: #A0A0A0; margin-bottom: 1rem;
    transition: 0.3s; text-decoration: none; font-size: 0.95rem;
}
.footer-contact-link i { width: 25px; color: var(--c-brick); font-size: 1.1rem; }
.footer-contact-link:hover { color: #ffffff; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: center; }
.footer-socials a {
    color: #ffffff; font-size: 1.2rem;
    background: rgba(255,255,255,0.05);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.3s;
}
.footer-socials a:hover { background: var(--c-brick); transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 4rem; padding: 1.5rem 0; font-size: 0.9rem;
}
.footer-bottom .footer-container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--c-brick); text-decoration: none; font-weight: 600; }
@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 2rem; }
    .footer-bottom .footer-container { flex-direction: column; text-align: center; gap: 1rem; }
}

/* ================= ХЛІБНІ КРИХТИ ================= */
.breadcrumbs {
    font-size: 0.95rem; color: #A0A0A0;
    margin-bottom: 2rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    background: #ffffffa8;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 15px;
}
.breadcrumbs a { color: #000000; text-decoration: none; transition: color 0.3s; font-weight: 500; }
.breadcrumbs a:hover { color: var(--c-brick); }
.breadcrumbs .sep { color: #000000; }
.breadcrumbs .current { color: #000000; font-weight: 800; }

/* ================= СТАТТЯ БЛОГУ (single.php) ================= */
.single-article-header { margin-bottom: 2.5rem; }
.single-article-title { font-size: 3rem; font-weight: 700; line-height: 1.2; margin: 0 0 1rem; }
.single-article-thumb-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}
.single-article-thumb-img { width: 100%; display: block; object-fit: cover; }
.blog-date { font-size: 0.95rem; color: var(--c-craft); display: flex; align-items: center; gap: 0.5rem; }
.single-article-text { font-size: 1.15rem; line-height: 1.8; color: var(--c-graphite); }
.single-article-text h2 { font-size: 2rem; margin: 3rem 0 1.5rem; color: var(--c-graphite); }
.single-article-text h3 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.single-article-text p { margin-bottom: 1.5rem; }
.single-article-text img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 2rem 0; }
.single-article-text blockquote {
    border-left: 4px solid var(--c-brick);
    padding: 1.5rem 2rem;
    background: #F8F8F8;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    margin: 2rem 0;
    color: var(--c-craft);
}

/* Навігація між статтями */
.post-navigation-bento {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin: 4rem 0; padding-top: 1rem;
}
.nav-bento-item {
    background: #F8F8F8; padding: 2rem;
    border-radius: var(--radius-md);
    display: flex; flex-direction: column; justify-content: center;
}
.nav-next { text-align: right; align-items: flex-end; }
.nav-label {
    font-size: 0.9rem; color: var(--c-craft);
    text-transform: uppercase; letter-spacing: 1px;
    font-weight: 600; margin-bottom: 0.8rem;
    display: flex; gap: 0.5rem; align-items: center;
}
a.nav-bento-item {
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex; flex-direction: column; justify-content: center;
}
a.nav-bento-item:hover { background: #F0F0F0; transform: translateY(-2px); }
.nav-post-title { font-size: 1.2rem; color: var(--c-graphite); font-weight: 700; line-height: 1.4; transition: color 0.3s; }
a.nav-bento-item:hover .nav-post-title { color: var(--c-brick); }
.related-posts-section { margin-top: 5rem; border-top: 1px solid #EAEAEA; padding-top: 4rem; }

@media (max-width: 768px) {
    .single-article-title { font-size: 2.2rem; }
    .post-navigation-bento { grid-template-columns: 1fr; gap: 1rem; }
    .nav-next { text-align: left; align-items: flex-start; }
    .nav-next .nav-label { flex-direction: row-reverse; }
}
.dfakt-single-post{
  font-family:var(--font-body);background:var(--graphite-deep);color:var(--white);min-height:60vh; margin-top: -100px; padding-top: 100px;
}
.dfakt-single-post *,.dfakt-single-post *::before,.dfakt-single-post *::after{box-sizing:border-box;}
/* Layout */

/* Breadcrumbs */
.dfakt-single-post .breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:0.4rem;font-size:0.78rem;color:rgba(255,255,255,0.35);margin-bottom:2rem;}
.dfakt-single-post .breadcrumbs a{color:#000000;text-decoration:none;transition:color 0.2s;}
.dfakt-single-post .breadcrumbs a:hover{color:var(--brick); text-decoration:underline;}
.dfakt-single-post .breadcrumbs .sep{color:#000000;}
.dfakt-single-post .breadcrumbs .current{color:#666666;}

/* Article header */
.dfakt-single-post .single-article-header{margin-bottom:2rem;}
.dfakt-single-post .single-article-title{font-family:var(--font-head);font-size:clamp(1.8rem,3.5vw,3rem);font-weight:900;color:var(--white);margin:0 0 1rem;line-height:1.1;}

/* Thumbnail */
.dfakt-single-post .single-article-thumb-wrap{border-radius:var(--radius-lg);overflow:hidden;margin-bottom:2.5rem;aspect-ratio:16/7;}
.dfakt-single-post .single-article-thumb-img{width:100%;height:100%;object-fit:cover;display:block;}

/* WYSIWYG */
.dfakt-single-post .single-article-text{font-size:1.05rem;line-height:1.85;color:rgba(255,255,255,0.75);}
.dfakt-single-post .single-article-text h2{font-family:var(--font-head);font-size:1.5rem;font-weight:700;color:var(--white);margin:2.5rem 0 1rem;}
.dfakt-single-post .single-article-text h3{font-family:var(--font-head);font-size:1.2rem;font-weight:700;color:var(--white);margin:2rem 0 0.8rem;}
.dfakt-single-post .single-article-text p{margin:0 0 1.3rem;}
.dfakt-single-post .single-article-text ul,.dfakt-single-post .single-article-text ol{padding-left:1.5rem;margin-bottom:1.3rem;}
.dfakt-single-post .single-article-text li{margin-bottom:0.5rem;}
.dfakt-single-post .single-article-text a{color:var(--brick);}
.dfakt-single-post .single-article-text img{border-radius:var(--radius-md);max-width:100%;}
.dfakt-single-post .single-article-text blockquote{border-left:3px solid var(--brick);margin:2rem 0;padding:1rem 1.5rem;background:rgba(238,126,40,0.06);border-radius:0 var(--radius-sm) var(--radius-sm) 0;font-style:italic;color:rgba(255,255,255,0.6);}

/* Linked bento cards */
.dfakt-single-post .bento-details-grid-wrap .bento-details-grid{display:grid;gap:1.2rem;}
.dfakt-single-post .bento-detail-card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);border-radius:var(--radius-lg);padding:1.8rem;transition:border-color 0.25s;}
.dfakt-single-post .bento-detail-card:hover{border-color:rgba(238,126,40,0.2);}
.dfakt-single-post .lp-bento-link{display:flex;align-items:center;gap:1rem;text-decoration:none;padding:0.6rem;border-radius:var(--radius-sm);background:rgba(255,255,255,0.04);transition:all 0.25s;margin-top:0;}
.dfakt-single-post .lp-bento-link:hover{background:rgba(238,126,40,0.08);transform:translateX(4px);}
.dfakt-single-post .lp-img{width:64px;height:50px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#1e1e1e;}
.dfakt-single-post .lp-img img{width:100%;height:100%;object-fit:cover;display:block;}
.dfakt-single-post .lp-info h4{font-family:var(--font-head);font-size:0.88rem;font-weight:700;color:var(--white);margin:0 0 0.25rem;}
.dfakt-single-post .lp-btn-text{font-size:0.78rem;color:var(--brick);font-weight:600;}

/* CTA bento */
.dfakt-single-post .cta-bento{background:linear-gradient(135deg,rgba(238,126,40,0.1),rgba(238,126,40,0.04));border-color:rgba(238,126,40,0.2);display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;margin:3rem 0;}
.dfakt-single-post .bd-text{font-size:0.88rem;color:rgba(255,255,255,0.5);margin:0.4rem 0 0;line-height:1.6;}

/* Post nav */
.dfakt-single-post .post-navigation-bento{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:3rem 0;}
.dfakt-single-post .nav-bento-item{display:flex;flex-direction:column;gap:0.5rem;padding:1.3rem 1.5rem;border-radius:var(--radius-md);background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);text-decoration:none;transition:all 0.25s var(--ease);}
.dfakt-single-post .nav-bento-item:hover{border-color:rgba(238,126,40,0.3);background:rgba(238,126,40,0.05);}
.dfakt-single-post .nav-label{font-size:0.75rem;color:rgba(255,255,255,0.35);font-weight:600;letter-spacing:0.08em;}
.dfakt-single-post .nav-post-title{font-family:var(--font-head);font-size:0.88rem;font-weight:700;color:var(--white);line-height:1.3;transition:color 0.25s;}
.dfakt-single-post .nav-bento-item:hover .nav-post-title{color:var(--brick);}

/* Related */
.dfakt-single-post .related-posts-section{margin-top:3rem;}
.dfakt-single-post .section-title-new{font-family:var(--font-head);font-size:1.4rem;font-weight:700;color:var(--white);margin:0 0 1.5rem;}
.dfakt-single-post .related-excerpt{font-size:0.83rem;color:rgba(255,255,255,0.45);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

/* Sidebar */

@media(max-width:1100px){.dfakt-single-post .blog-layout-container{grid-template-columns:1fr;}}
@media(max-width:768px){.dfakt-single-post .post-navigation-bento{grid-template-columns:1fr;}.dfakt-single-post .cta-bento{flex-direction:column;}}
/* ================= ПОШУК ================= */
.search-page-header {
    max-width: 1400px;
    margin: 8rem auto 3rem; padding: 0 1.5rem;
    display: flex; justify-content: space-between; align-items: flex-end;
    flex-wrap: wrap; gap: 2rem;
}
.sph-left .page-title { font-size: 2.5rem; color: var(--c-graphite); font-weight: 700; margin: 0 0 0.5rem; line-height: 1.1; }
.sph-left .page-desc { font-size: 1.15rem; color: var(--c-craft); }
.sph-right { flex: 1; max-width: 450px; width: 100%; }
.sph-label { font-size: 0.95rem; color: var(--c-graphite); margin-bottom: 0.5rem; font-weight: 600; }
.sph-form { display: flex; gap: 10px; }
.sph-input { padding: 0.8rem 1.5rem; border: 1px solid #EAEAEA; border-radius: 50px; width: 100%; outline: none; font-family: inherit; font-size: 1rem; background: var(--c-white); }
.sph-btn { padding: 0.8rem 1.8rem; border: none; flex-shrink: 0; }
.search-results-grid { max-width: 1400px; margin: 0 auto 6rem; padding: 0 1.5rem; }
.search-post-type { font-size: 0.85rem; color: var(--c-brick); font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.search-read-more {
    color: var(--c-brick) !important; font-weight: 600; text-decoration: none;
    margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: transform 0.3s;
}
.bento-detail-card:hover .search-read-more { transform: translateX(5px); }
.search-page-header.centered-header {
    justify-content: center; text-align: center;
    flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2rem;
}
.search-no-results-section {
    max-width: 600px; margin: 0 auto 10rem; padding: 0 1.5rem; text-align: center; width: 100%;
}
.search-no-results-section .bd-title { font-size: 2rem; color: var(--c-graphite); margin-bottom: 1rem; }
.search-no-results-section .bd-content { color: var(--c-craft); font-size: 1.1rem; margin-bottom: 3rem; }
.centered-form { justify-content: center; max-width: 450px; margin: 0 auto; }
@media (max-width: 768px) {
    .search-page-header { flex-direction: column; align-items: flex-start; }
    .sph-right { max-width: 100%; }
    .sph-left .page-title { font-size: 2.5rem; }
    .sph-form { flex-direction: column; }
}
.dfakt-search{font-family:var(--font-body);background:var(--graphite-deep);color:var(--white);min-height:60vh;}
.dfakt-search *,.dfakt-search *::before,.dfakt-search *::after{box-sizing:border-box;}
.dfakt-search .search-page-header{max-width:1360px;margin:0 auto;padding:5rem 2rem 3.5rem;display:grid;grid-template-columns:1fr auto;align-items:end;gap:3rem;position:relative;}
.dfakt-search .search-page-header::after{content:'';position:absolute;bottom:0;left:2rem;right:2rem;height:1px;background:linear-gradient(90deg,rgba(238,126,40,0.4),transparent);}
.dfakt-search .search-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;font-size:0.72rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--brick);margin-bottom:0.8rem;}
.dfakt-search .search-eyebrow::before{content:'';display:block;width:24px;height:2px;background:var(--brick);}
.dfakt-search .search-page-title{font-family:var(--font-head);font-size:clamp(2rem,4vw,3.5rem);font-weight:900;color:var(--white);margin:0 0 0.6rem;line-height:1.05;}
.dfakt-search .search-query-text{font-size:1rem;color:rgba(255,255,255,0.45);margin:0;}
.dfakt-search .search-query-text strong{color:var(--brick);}
.dfakt-search .sph-label{font-size:0.78rem;color:rgba(255,255,255,0.35);margin-bottom:0.6rem;font-weight:600;text-transform:uppercase;letter-spacing:0.08em;}
.dfakt-search .search-results-grid{max-width:1360px;margin:0 auto;padding:3rem 2rem 7rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;}
.dfakt-search .search-post-type{display:inline-block;font-size:0.7rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--brick);margin-bottom:0.7rem;}
/* No results */
.dfakt-search .centered-header{max-width:1360px;margin:0 auto;padding:5rem 2rem 3rem;}
.dfakt-search .search-no-results-section{max-width:560px;margin:0 auto;padding:0 2rem 7rem;text-align:center;}
.dfakt-search .centered-form{display:flex;gap:0.6rem;justify-content:center;}
@media(max-width:1024px){.dfakt-search .search-results-grid{grid-template-columns:repeat(2,1fr);}.dfakt-search .search-page-header{grid-template-columns:1fr;gap:2rem;}}
/* Форма пошуку — стилі специфічні для search.php */
.dfakt-search .sph-form{display:flex;gap:0.6rem;}
.dfakt-search .sph-input{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);border-radius:50px;padding:0.75rem 1.3rem;font-family:var(--font-body);font-size:0.88rem;color:#ffffff;outline:none;transition:border-color 0.25s;min-width:260px;flex:1;}
.dfakt-search .sph-input::placeholder{color:rgba(255,255,255,0.3);}
.dfakt-search .sph-input:focus{border-color:#EE7E28;}
.dfakt-search .sph-btn{background:#EE7E28;color:#ffffff;padding:0.75rem 1.5rem;border-radius:50px;font-family:var(--font-body);font-size:0.88rem;font-weight:600;border:none;cursor:pointer;transition:all 0.25s;white-space:nowrap;flex-shrink:0;}
.dfakt-search .sph-btn:hover{background:#c25934;}
.dfakt-search .bd-title{font-family:var(--font-head);font-size:0.95rem;font-weight:700;color:#ffffff;margin:0 0 0.7rem;line-height:1.3;}
.dfakt-search .bd-title a{color:#ffffff;text-decoration:none;transition:color 0.25s;}
.dfakt-search .bd-title a:hover{color:#EE7E28;}
.dfakt-search .bd-content{font-size:0.87rem;color:rgba(255,255,255,0.5);line-height:1.65;margin-bottom:1.2rem;}
.dfakt-search .search-read-more{display:inline-flex;align-items:center;gap:0.4rem;font-size:0.8rem;font-weight:600;color:#EE7E28;text-decoration:none;transition:gap 0.25s;}
.dfakt-search .search-read-more:hover{gap:0.7rem;}
.dfakt-search .bento-detail-card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);border-radius:24px;padding:1.8rem;transition:border-color 0.25s;}
.dfakt-search .bento-detail-card:hover{border-color:rgba(238,126,40,0.25);}
.dfakt-search .search-no-results-section .bd-title{font-family:var(--font-head);font-size:1.5rem;color:#ffffff;margin-bottom:1rem;}
.dfakt-search .search-no-results-section .bd-content{color:rgba(255,255,255,0.5);margin-bottom:2rem;line-height:1.7;}
@media(max-width:640px){.dfakt-search .search-results-grid{grid-template-columns:1fr;}.dfakt-search .sph-form{flex-direction:column;}.dfakt-search .sph-input{min-width:auto;}}
/* ================= ПАГІНАЦІЯ (WP) ================= */
.wp-custom-pagination {
    grid-column: 1 / -1;
    display: flex; justify-content: center; align-items: center;
    gap: 0.8rem; margin-top: 2rem;
}
.wp-custom-pagination .page-numbers {
    background: transparent; border: 1px solid #EAEAEA;
    color:#e5e5e5; width: 44px; height: 44px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1rem; text-decoration: none; transition: var(--transition);
}
.wp-custom-pagination a.page-numbers:hover { background: #F5F5F5; transform: translateY(-2px); }
.wp-custom-pagination .page-numbers.current {
    background: var(--c-brick); color: var(--c-white);
    border-color: var(--c-brick); box-shadow: 0 4px 12px rgba(238,126,40,0.3); pointer-events: none;
}
.wp-custom-pagination .page-numbers.dots { border: none; background: transparent; }

/* ================= 404 ================= */
.error-404-section { display: flex; align-items: center; justify-content: center; min-height: 70vh; text-align: center; padding: 2rem; }
.error-404-content { max-width: 600px; }
.error-title { font-size: 8rem; font-weight: 800; color: var(--c-concrete); margin: 0 0 1rem; line-height: 1; opacity: 0.5; }
.error-subtitle { font-size: 2rem; color: var(--c-graphite); margin-bottom: 1rem; font-weight: 700; }
.error-desc { color: var(--c-craft); font-size: 1.1rem; line-height: 1.6; margin-bottom: 2.5rem; }
.dfakt-404{font-family:var(--font-body);background:var(--graphite-deep);color:var(--white);min-height:80vh;display:flex;align-items:center;justify-content:center;margin-top: -125px;
    padding-top: 80px;
    padding-bottom: 20px;}
.dfakt-404 *,.dfakt-404 *::before,.dfakt-404 *::after{box-sizing:border-box;}
.dfakt-404 .error-404-section{width:100%;padding:4rem 2rem;}
.dfakt-404 .error-404-content{max-width:560px;margin:0 auto;text-align:center;position:relative;}
.dfakt-404 .error-404-content::before{content:'404';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-family:var(--font-head);font-size:clamp(12rem,25vw,20rem);font-weight:900;color:rgba(238,126,40,0.05);line-height:1;pointer-events:none;white-space:nowrap;}
.dfakt-404 .error-title{font-family:var(--font-head);font-size:clamp(3rem,8vw,6rem);font-weight:900;color:var(--brick);margin:0 0 0.5rem;line-height:1;position:relative;}
.dfakt-404 .error-subtitle{font-family:var(--font-head);font-size:clamp(1.2rem,2.5vw,1.8rem);font-weight:700;color:var(--white);margin:0 0 1.2rem;position:relative;}
.dfakt-404 .error-desc{font-size:1rem;color:rgba(255,255,255,0.45);line-height:1.7;margin:0 0 2.5rem;position:relative;}
.dfakt-404 .btn-primary{display:inline-flex;align-items:center;gap:0.6rem;background:var(--brick);color:var(--white)!important;padding:0.95rem 2.2rem;border-radius:50px;font-family:var(--font-body);font-size:0.95rem;font-weight:600;border:none;cursor:pointer;text-decoration:none;transition:all 0.3s;position:relative;}
.dfakt-404 .btn-primary:hover{background:var(--brick-dark);transform:translateY(-3px);box-shadow:0 12px 28px rgba(238,126,40,0.35);}

/* ================= КАТАЛОГ (page-catalog.php) ================= */
.page-simple-header {
    max-width: 1400px; margin: 8rem auto 3rem; padding: 0 1.5rem; text-align: center;
}
.page-simple-header .page-title { font-size: 3.5rem; color: var(--c-graphite); font-weight: 700; margin-bottom: 1rem; }
.page-simple-header .page-desc { font-size: 1.15rem; color: var(--c-craft); max-width: 800px; margin: 0 auto; line-height: 1.6; }

.bento-category-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 1400px; margin: 0 auto 6rem; padding: 0 1.5rem;
}
.bento-cat-card {
    position: relative; border-radius: var(--radius-md);
    overflow: hidden; display: block; height: 380px;
    text-decoration: none; transform: translateZ(0);
}
.bento-cat-card:nth-child(odd):nth-child(n+5) { grid-column: span 2; }
.bento-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.bento-cat-card:hover .bento-bg { transform: scale(1.05); }
.bento-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 1; transition: opacity 0.3s ease;
}
.bento-content {
    position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    z-index: 2; display: flex; justify-content: space-between; align-items: flex-end;
}
.bento-title { font-size: 1.6rem; font-weight: 600; margin: 0; color: var(--c-white); font-family:var(--font-head); }
.bento-arrow {
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); width: 44px; height: 44px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--c-white); transition: all 0.3s ease;
}
.bento-cat-card:hover .bento-arrow { background: var(--c-brick); transform: translateX(5px); }
.bento-btn {
    display: none; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); color: var(--c-white);
    padding: 0.8rem 1.8rem; border-radius: 50px; font-size: 0.95rem; font-weight: 600; transition: all 0.3s ease;
}
.bento-cat-card:hover .bento-btn { background: var(--c-brick); transform: translateY(-3px); }
.catalog-page-wrap {
    background: var(--graphite-deep);
        margin-top: -92px;
    padding-top: 50px;
}
.separate-containers .site-main {
    margin-bottom:0px;
}
section.bento-category-grid {
    padding-bottom: 6.5rem;
}
.catalog-page-wrap .page-simple-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3.5rem;
    text-align: left;
    position: relative;
}

.catalog-page-wrap .page-simple-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1.5rem; right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--c-brick), transparent);
    opacity: 0.35;
}

.catalog-page-wrap .page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-brick);
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
}
.catalog-page-wrap .page-eyebrow::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--c-brick);
}

.catalog-page-wrap .page-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.1;
    font-family: var(--font-head);
}

.catalog-page-wrap .page-desc {
    font-size: 1.05rem;
    color: #b3b3b3;
    max-width: 540px;
    margin: 0;
    line-height: 1.7;
    font-family: var(--font-body);
}
.catalog-page-wrap .page-desc p { margin: 0; }


.catalog-page-wrap .bento-category-grid {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .catalog-page-wrap .page-simple-header {
        padding: 4rem 1.2rem 2.5rem;
    }
}
@media (min-width: 1025px) {
    .bento-cat-card:nth-child(odd):nth-child(n+5) .bento-arrow { display: none; }
    .bento-cat-card:nth-child(odd):nth-child(n+5) .bento-btn { display: inline-block; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .bento-cat-card:nth-child(3n) .bento-arrow { display: none; }
    .bento-cat-card:nth-child(3n) .bento-btn { display: inline-block; }
}
@media (max-width: 1024px) {
    .bento-category-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-cat-card:nth-child(odd):nth-child(n+5) { grid-column: span 1; }
    .bento-cat-card:nth-child(3n) { grid-column: span 2; }
}
@media (max-width: 768px) {
    .bento-category-grid { grid-template-columns: 1fr; }
    .bento-cat-card { height: 320px; }
    .bento-cat-card:nth-child(n) { grid-column: span 1 !important; }
}

/* ================= Головна ================= */

.dfakt-home *, .dfakt-home *::before, .dfakt-home *::after {
  box-sizing: border-box;
}

.dfakt-home {
  font-family: var(--font-body);
  background: var(--graphite-deep);
  color: var(--light);
  overflow-x: hidden;
      margin-top: -125px;
}
h1.h-display.hero-title {
    font-size: 54px;
}
/* ===================== TYPOGRAPHY ===================== */
.dfakt-home .section-label, .op .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1rem;
}
.dfakt-home .section-label::before, .op .section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brick);
}

.dfakt-home h1,
.dfakt-home h2,
.dfakt-home h3 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0;
}

.dfakt-home .h-display {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
}
.dfakt-home .h-section, .op .h-section {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
}

/* ===================== BUTTONS ===================== */
.dfakt-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.dfakt-home .btn-primary {
  background: var(--brick);
  color: var(--white) !important;
}
.dfakt-home .btn-primary:hover {
  background: var(--brick-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(238,126,40,0.35);
  color: var(--white) !important;
}
.dfakt-home .btn-outline, .op .btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.dfakt-home .btn-outline:hover,  .op .btn-outline:hover {
  border-color: var(--brick);
  color: var(--brick) !important;
  transform: translateY(-2px);
}
.dfakt-home .btn-light {
  background: var(--white);
  color: var(--graphite) !important;
}
.dfakt-home .btn-light:hover {
  background: var(--sand);
  transform: translateY(-3px);
  color: var(--graphite) !important;
}
.dfakt-home .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===================== CONTAINER ===================== */
.dfakt-home .dh-container, .op .dh-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================== HERO ===================== */
.dfakt-home .hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite-deep);
  padding-top: 120px;
}

.dfakt-home .hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(238,126,40,0.18) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(26,26,26,0.05) 0%, rgba(26,26,26,0.65) 65%, rgba(26,26,26,0.95) 100%);
  z-index: 1;
}

.dfakt-home .hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: dhHeroZoom 12s ease-out forwards;
}
@keyframes dhHeroZoom {
  to { transform: scale(1.0); }
}

.dfakt-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem 7rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}

.dfakt-home .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(238,126,40,0.15);
  border: 1px solid rgba(238,126,40,0.3);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brick);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: dhFadeUp 0.8s var(--ease) both;
}
.dfakt-home .hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brick);
  border-radius: 50%;
  animation: dhPulse 1.5s infinite;
}
@keyframes dhPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.dfakt-home .hero-title {
  animation: dhFadeUp 0.8s 0.1s var(--ease) both;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.dfakt-home .hero-title em {
  font-style: normal;
  color: var(--brick);
}
.dfakt-home .hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: dhFadeUp 0.8s 0.2s var(--ease) both;
}
.dfakt-home .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: dhFadeUp 0.8s 0.3s var(--ease) both;
}

.dfakt-home .hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: dhFadeUp 0.8s 0.4s var(--ease) both;
}
.dfakt-home .stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.dfakt-home .stat-num span { color: var(--brick); }
.dfakt-home .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

/* Hero form card */
.dfakt-home .hero-form-card {
  background: rgba(26,26,26,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  animation: dhFadeUp 0.8s 0.2s var(--ease) both;
}
.dfakt-home .hero-form-card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-brick), transparent);
}
.dfakt-home .hero-form-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.dfakt-home .hero-form-sub {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Forms */
.dfakt-home .dh-form-group { margin-bottom: 0.9rem; }
.dfakt-home .dh-form-row { margin-bottom: 0.9rem; }
.dfakt-home .dh-form-row > p { display: flex; gap: 0.2rem; margin: 0; }
.dfakt-home .dh-form-row > p .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.dfakt-home .dh-form-row > p .wpcf7-form-control-wrap input { width: 100%; }
.dfakt-home .dh-form-group input,
.dfakt-home .dh-form-group select,
.dfakt-home .dh-form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s;
  resize: none;
}
.dfakt-home .dh-form-group input::placeholder,
.dfakt-home .dh-form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.dfakt-home .dh-form-group input:focus,
.dfakt-home .dh-form-group select:focus,
.dfakt-home .dh-form-group textarea:focus { border-color: var(--brick); }
.dfakt-home .dh-form-group select option { background: #2c2c2c; color: var(--white); }

.dfakt-home .form-privacy {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
    line-height: 1.5;
    margin-top: -40px;
    margin-bottom: 0px;
}

/* ===================== PROBLEM ===================== */
.dfakt-home .problem-section {
  background: var(--sand);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.dfakt-home .problem-section::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--graphite-deep);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}

.dfakt-home .problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.dfakt-home .problem-section .section-label { color: var(--craft); }
.dfakt-home .problem-section .section-label::before { background: var(--craft); }
.dfakt-home .problem-heading { color: var(--graphite); margin-bottom: 1.5rem; }
.dfakt-home .problem-lead {
  font-size: 1.1rem;
  color: var(--craft);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.dfakt-home .problem-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}
.dfakt-home .problem-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.6;
}
.dfakt-home .problem-points li::before {
  content: '✗';
  color: var(--brick-dark);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.dfakt-home .problem-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.dfakt-home .prob-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.dfakt-home .prob-img:first-child { grid-column: 1/-1; height: 260px; }
.dfakt-home .prob-img:not(:first-child) { height: 180px; }
.dfakt-home .prob-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.dfakt-home .prob-img:hover img { transform: scale(1.05); }
.dfakt-home .problem-solution-teaser {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(238,126,40,0.08);
  border: 1px solid rgba(238,126,40,0.2);
  border-radius: var(--radius-md);
}
.dfakt-home .pst-icon {
  color: var(--brick);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.dfakt-home .pst-text {
  font-size: 0.9rem;
   color: black;
  line-height: 1.6;
}
.dfakt-home .pst-text strong { color: var(--brick); }

.dfakt-home .prob-img-label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(26,26,26,0.75);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 500;
}

/* ===================== SOLUTION ===================== */
.dfakt-home .solution-section {
  padding: 7rem 0;
  background: var(--graphite-deep);
}
.dfakt-home .solution-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.dfakt-home .solution-heading em { font-style: normal; color: var(--brick); }
.dfakt-home .solution-heading { margin-bottom: 1.2rem; }
.dfakt-home .solution-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.dfakt-home .solution-steps { display: flex; flex-direction: column; gap: 0.8rem; }
.dfakt-home .step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s;
}
.dfakt-home .step:hover {
  background: rgba(238,126,40,0.08);
  border-color: rgba(238,126,40,0.2);
}
.dfakt-home .step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brick);
  background: rgba(238,126,40,0.12);
  border-radius: 6px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dfakt-home .step-text { font-size: 0.9rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.dfakt-home .solution-img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  height: 460px;
}

/* Product cards */
.dfakt-home .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dfakt-home .product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.dfakt-home .product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(238,126,40,0.3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  color: inherit;
}
.dfakt-home .product-card-img { height: 220px; overflow: hidden; position: relative; }
.dfakt-home .product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.dfakt-home .product-card:hover .product-card-img img { transform: scale(1.08); }
.dfakt-home .product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--brick);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.dfakt-home .product-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.dfakt-home .product-card-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.dfakt-home .product-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  flex-grow: 1;
}
.dfakt-home .product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brick);
  transition: gap 0.25s;
}
.dfakt-home .product-card:hover .product-card-link { gap: 0.7rem; }

.dfakt-home .product-card.cta-card {
  background: linear-gradient(135deg, var(--brick) 0%, var(--brick-dark) 100%);
  border-color: transparent;
  justify-content: space-between;
  padding: 2rem;
}
.dfakt-home .cta-card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.dfakt-home .cta-card-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ===================== EXAMPLES ===================== */
.dfakt-home .examples-section, .op .examples-section {
  padding: 7rem 0;
  background: #221a12;
}
.dfakt-home .examples-header, .op .examples-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}
/* Masonry через CSS columns — працює з будь-якою кількістю карток */
.dfakt-home .examples-grid, .op .examples-grid {
  columns: 3;
  column-gap: 1rem;
}
.dfakt-home .ex-card, .op .ex-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block; /* ← ключово: block дає пробіли знизу колонки */
  width: 100%;
      height: 430px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 1rem;
  text-decoration: none;
}
.dfakt-home .ex-card img, .op .ex-card img {
  width: 100%;
  height: auto; /* зберігає пропорції фото */
  display: block;
  transition: transform 0.6s var(--ease);
}
.dfakt-home .ex-card:hover img, .op .ex-card:hover img { transform: scale(1.05); }
.dfakt-home .ex-card-overlay, .op .ex-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem 1.3rem;
}
.dfakt-home .ex-card-cat, .op .ex-card-cat {
  display: inline-block;
  background: var(--brick);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}
.dfakt-home .ex-card-name, .op .ex-card-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}
.dfakt-home .ex-card-type, .op .ex-card-type { font-size: 0.78rem; color: var(--brick); font-weight: 600; margin-top: 0.2rem; }
@media (max-width: 900px) { .dfakt-home .examples-grid, .op .examples-grid { columns: 2; } }
@media (max-width: 560px) { .dfakt-home .examples-grid, .op .examples-grid { columns: 1; } }

/* ===================== ADVANTAGES ===================== */
.dfakt-home .advantages-section { padding: 7rem 0; background: #252220; }
.dfakt-home .dfakt-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.dfakt-home .dfakt-adv-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s var(--ease);
}
.dfakt-home .dfakt-adv-card:hover {
  background: rgba(238,126,40,0.07);
  border-color: rgba(238,126,40,0.2);
  transform: translateY(-4px);
}
.dfakt-home .dfakt-adv-icon {
  width: 52px; height: 52px;
  background: rgba(238,126,40,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.dfakt-home .dfakt-adv-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.dfakt-home .dfakt-adv-text { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ===================== PRICING ===================== */
.dfakt-home .pricing-section { padding: 7rem 0; background: var(--sand); }
.dfakt-home .pricing-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.dfakt-home .pricing-section .section-label { color: var(--craft); }
.dfakt-home .pricing-section .section-label::before { background: var(--craft); }
.dfakt-home .pricing-heading { color: var(--graphite); }
.dfakt-home .pricing-desc { color: var(--craft); font-size: 1.05rem; line-height: 1.7; }
.dfakt-home .pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dfakt-home .price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
}
.dfakt-home .price-card:hover {
  border-color: var(--brick);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(194,89,52,0.12);
}
.dfakt-home .price-card.featured { background: var(--graphite); border-color: var(--brick); position: relative; }
.dfakt-home .price-card.featured .price-name { color: var(--white); }
.dfakt-home .price-card.featured .price-features li { color: rgba(255,255,255,0.7); }
.dfakt-home .price-popular-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--brick);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
}
.dfakt-home .price-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}
.dfakt-home .price-range {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--brick);
  margin-bottom: 0.3rem;
  line-height: 1;
}
.dfakt-home .price-note { font-size: 0.78rem; color: var(--craft); margin-bottom: 2rem; }
.dfakt-home .price-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.dfakt-home .price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--craft);
  line-height: 1.5;
}
.dfakt-home .price-features li::before { content: '✓'; color: var(--brick); font-weight: 700; flex-shrink: 0; }
.dfakt-home .price-cta { width: 100%; justify-content: center; }

/* ===================== PROCESS ===================== */
.dfakt-home .process-section { padding: 7rem 0; background: var(--graphite-deep); }
.dfakt-home .process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.dfakt-home .process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 1rem);
  right: calc(10% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238,126,40,0.4), transparent);
}
.dfakt-home .process-step { text-align: center; padding: 0 1rem; }
.dfakt-home .proc-icon {
  width: 56px; height: 56px;
  background: rgba(238,126,40,0.12);
  border: 2px solid rgba(238,126,40,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.3rem;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}
.dfakt-home .process-step:hover .proc-icon {
  background: rgba(238,126,40,0.25);
  border-color: var(--brick);
  transform: scale(1.1);
}
.dfakt-home .proc-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.dfakt-home .proc-text { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.55; }

/* ===================== REVIEWS ===================== */
.dfakt-home .reviews-section { padding: 7rem 0; background: #1a1816; }
.dfakt-home .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.dfakt-home .review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}
.dfakt-home .review-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.dfakt-home .review-stars { color: var(--brick); font-size: 1rem; letter-spacing: 2px; margin-bottom: 1.2rem; }
.dfakt-home .review-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.dfakt-home .review-author { display: flex; align-items: center; gap: 0.8rem; }
.dfakt-home .review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brick), var(--brick-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.dfakt-home .review-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.dfakt-home .review-role { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ===================== FINAL CTA ===================== */
.dfakt-home .cta-section { padding: 7rem 0; background: var(--sand); position: relative; overflow: hidden; }
.dfakt-home .cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(238,126,40,0.12), transparent 70%);
  pointer-events: none;
}
.dfakt-home .cta-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.dfakt-home .cta-section .section-label { color: var(--craft); }
.dfakt-home .cta-section .section-label::before { background: var(--craft); }
.dfakt-home .cta-heading { color: var(--graphite); margin-bottom: 1.2rem; }
.dfakt-home .cta-heading em { font-style: normal; color: var(--brick); }
.dfakt-home .cta-subtext { color: var(--craft); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2.5rem; }
.dfakt-home .cta-bullets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.dfakt-home .cta-bullets li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--graphite);
  font-weight: 500;
}
.dfakt-home .cta-bullets li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--brick);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.dfakt-home .cta-form {
  background: var(--graphite);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.dfakt-home .cta-form-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.dfakt-home .cta-form-sub { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }

/* ===================== FAQ ===================== */
.dfakt-home .faq-section { padding: 7rem 0; background: var(--graphite-deep); }
.dfakt-home .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
}
.dfakt-home .faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: border-color 0.25s;
}
.dfakt-home .faq-item.active { border-color: rgba(238,126,40,0.3); }
.dfakt-home .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--white);
  transition: background 0.25s;
  user-select: none;
}
.dfakt-home .faq-q:hover { background: rgba(255,255,255,0.07); }
.dfakt-home .faq-item.active .faq-q { background: rgba(238,126,40,0.08); }
.dfakt-home .faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--brick);
  transition: transform 0.3s;
}
.dfakt-home .faq-item.active .faq-icon { transform: rotate(45deg); }
.dfakt-home .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);margin-top: 13px; }
.dfakt-home .faq-a-inner {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ===================== ANIMATIONS ===================== */
@keyframes dhFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.dfakt-home .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.dfakt-home .reveal.visible { opacity: 1; transform: translateY(0); }
.dfakt-home .reveal:nth-child(1) { transition-delay: 0.05s; }
.dfakt-home .reveal:nth-child(2) { transition-delay: 0.12s; }
.dfakt-home .reveal:nth-child(3) { transition-delay: 0.19s; }
.dfakt-home .reveal:nth-child(4) { transition-delay: 0.26s; }
.dfakt-home .reveal:nth-child(5) { transition-delay: 0.33s; }
.dfakt-home .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .dfakt-home .hero-content { grid-template-columns: 1fr; }
  .dfakt-home .hero-form-card { max-width: 480px; }
  .dfakt-home .solution-top { grid-template-columns: 1fr; gap: 3rem; }
  .dfakt-home .products-grid { grid-template-columns: repeat(2, 1fr); }
  .dfakt-home .dfakt-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .dfakt-home .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .dfakt-home .process-timeline::before { display: none; }
}
@media (max-width: 900px) {
  .dfakt-home .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
  .dfakt-home .pricing-intro { grid-template-columns: 1fr; }
  .dfakt-home .pricing-cards { grid-template-columns: 1fr; }
  .dfakt-home .cta-inner { grid-template-columns: 1fr; }
  .dfakt-home .reviews-grid { grid-template-columns: 1fr; }
  .dfakt-home .faq-grid { grid-template-columns: 1fr; }
  .dfakt-home .examples-header, .op .examples-header{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .dfakt-home .h-display { font-size: 2.2rem; }
  .dfakt-home .h-section, .op .h-section { font-size: 1.6rem; }
  .dfakt-home .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .dfakt-home .products-grid { grid-template-columns: 1fr; }
  .dfakt-home .dfakt-adv-grid { grid-template-columns: 1fr; }
  .dfakt-home .process-timeline { grid-template-columns: 1fr 1fr; }
  .dfakt-home .problem-visual { grid-template-columns: 1fr; }
  .dfakt-home .prob-img:first-child { grid-column: 1; height: 220px; }
  .dfakt-home .hero-content { padding: 0 1.2rem 5rem; }
  .dfakt-home .hero-actions { flex-direction: column; }
  .dfakt-home .hero-actions .btn { justify-content: center; }
}

/* ================= Продукт — сінгл ================= */


.dfakt-single *, .dfakt-single *::before, .dfakt-single *::after { box-sizing: border-box; }
.dfakt-single {
  font-family: var(--font-body);
  background: var(--graphite-deep);
  color: var(--white);
  margin-top: -130px;
}
.dfakt-single a { color: var(--brick); }

/* ===== PRODUCT HERO ===== */
.dfakt-single .prod-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite);
	padding-top:130px;
}
.dfakt-single .prod-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: spZoom 10s ease-out forwards;
}

.dfakt-single .prod-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.3) 60%, transparent 100%),
    linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.1) 50%, transparent 100%);
}
.dfakt-single .prod-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.dfakt-single .prod-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
.dfakt-single .prod-breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.dfakt-single .prod-breadcrumb a:hover { color: var(--brick); }
.dfakt-single .prod-breadcrumb span { color: rgba(255,255,255,0.2); }

.dfakt-single .prod-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(238,126,40,0.18);
  border: 1px solid rgba(238,126,40,0.35);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brick);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.dfakt-single .prod-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
margin: 20px 0 2.2rem;
  max-width: 900px;
}
.dfakt-single .prod-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 2.5rem;
}
.dfakt-single .prod-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.dfakt-single .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brick);
  color: var(--white) !important;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.dfakt-single .btn-primary:hover {
  background: var(--brick-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(238,126,40,0.35);
}
.dfakt-single .btn-outline, .op .btn-outline  {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white) !important;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.dfakt-single .btn-outline:hover, .op .btn-outline:hover {
  border-color: var(--brick);
  color: var(--brick) !important;
}

/* ===== GALLERY ===== */
.dfakt-single .gallery-section {
  /*background: #111;*/
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dfakt-single .gallery-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}
.dfakt-single .gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
    justify-content: normal;
    padding-top: 20px;
    padding-bottom: 20px;
}
.dfakt-single .gallery-thumb {
  width: 130px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.65;
  border: 2px solid transparent;
  transition: all 0.25s var(--ease);
  display: block;
}
.dfakt-single .gallery-thumb:hover,
.dfakt-single .gallery-thumb.active {
  opacity: 1;
  border-color: var(--brick);
  transform: translateY(-3px);
}

/* ===== MAIN CONTENT LAYOUT ===== */
.dfakt-single .prod-body {
  max-width: 1360px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

/* ===== MAIN COLUMN ===== */
.dfakt-single .prod-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.dfakt-single .detail-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.dfakt-single .detail-block-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brick);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dfakt-single .detail-block-title::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--brick);
}
.dfakt-single .detail-block-content {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}
.dfakt-single .detail-block-content p { margin: 0 0 0.7rem; }
.dfakt-single .detail-block-content p:last-child { margin-bottom: 0; }
.dfakt-single .detail-block-content ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dfakt-single .detail-block-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.dfakt-single .detail-block-content ul li::before {
  content: '—';
  color: var(--brick);
  flex-shrink: 0;
}

/* ===== ADVANTAGES ===== */
.dfakt-single .adv-section { margin-bottom: 4rem; }
.dfakt-single .adv-section-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 2rem;
  text-align: center;
}
.dfakt-single .adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.dfakt-single .adv-item {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.dfakt-single .adv-item:hover {
  border-color: rgba(238,126,40,0.25);
  transform: translateY(-3px);
  background: rgba(238,126,40,0.05);
}
.dfakt-single .adv-icon-box {
  flex: 0 0 52px;
  background: rgba(238,126,40,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.dfakt-single .adv-check-icon {
  width: 22px; height: 22px;
  background-image: url('./files/icon.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
/* Fallback якщо іконка не завантажилась */
.dfakt-single .adv-check-icon-fallback {
  color: var(--brick);
  font-size: 0.9rem;
}
.dfakt-single .adv-text-box {
  flex: 1;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.dfakt-single .adv-title {
  font-size: 1rem;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}
.dfakt-single .adv-desc {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}
.dfakt-single .prod-extra-text {
  margin-bottom: 3rem;
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.dfakt-single .prod-extra-text p { margin: 0 0 1rem; }
.dfakt-single .prod-extra-text p:last-child { margin-bottom: 0; }
.dfakt-single .prod-extra-text strong { color: var(--white); font-weight: 600; }
.dfakt-single .prod-extra-text a { color: var(--brick); }

/* ===== FINAL CTA ===== */
.dfakt-single .prod-final-cta {
  background: linear-gradient(135deg, rgba(238,126,40,0.12) 0%, rgba(238,126,40,0.04) 100%);
  border: 1px solid rgba(238,126,40,0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}
.dfakt-single .prod-final-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.7rem;
}
.dfakt-single .prod-final-cta p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

/* ===== SIDEBAR ===== */
.dfakt-single .prod-sidebar { position: sticky; top: 100px; }

.dfakt-single .sidebar-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}
.dfakt-single .sidebar-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 1.3rem;
}

/* Матеріали */
.dfakt-single .materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.dfakt-single .material-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.dfakt-single .material-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.dfakt-single .material-item:hover img { transform: scale(1.07); }
.dfakt-single .material-label {
  position: absolute;
  bottom: 0.4rem; left: 0.4rem;
  background: rgba(26,26,26,0.8);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  max-width: calc(100% - 0.8rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Автоматизація */
.dfakt-single .auto-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.dfakt-single .auto-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  transition: all 0.25s;
}
.dfakt-single .auto-item:nth-child(2) {
  border-color: rgba(238,126,40,0.35);
  background: radial-gradient(120% 60% at 0% 100%, rgba(238,126,40,0.12) 0%, transparent 80%);
}
.dfakt-single .auto-item:hover {
  border-color: rgba(238,126,40,0.3);
  transform: translateX(4px);
}
.dfakt-single .auto-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35rem;
}
.dfakt-single .auto-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin: 0;
}

/* Пов'язані проєкти */
.dfakt-single .proj-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  transition: background 0.25s;
  margin-bottom: 0.4rem;
}
.dfakt-single .proj-card:hover { background: rgba(255,255,255,0.05); }
.dfakt-single .proj-card-img {
  width: 72px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.dfakt-single .proj-card-name {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin: 0 0 0.2rem;
}
.dfakt-single .proj-card-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .dfakt-single .prod-body { grid-template-columns: 1fr; }
  .dfakt-single .prod-sidebar { position: static; }
  .dfakt-single .materials-grid { grid-template-columns: repeat(4, 1fr); }
  .dfakt-single .auto-list { flex-direction: row; }
  .dfakt-single .auto-item { flex: 1; }
}
@media (max-width: 768px) {
  .dfakt-single .prod-details-grid { grid-template-columns: 1fr; }
  .dfakt-single .adv-grid { grid-template-columns: 1fr; }
  .dfakt-single .materials-grid { grid-template-columns: 1fr 1fr; }
  .dfakt-single .auto-list { flex-direction: column; }
  .dfakt-single .prod-hero { min-height: 55vh; }
  .dfakt-single .lightbox-prev { left: 8px; }
  .dfakt-single .lightbox-next { right: 8px; }
  .dfakt-single .lightbox-close { right: 0; top: -44px; }
  .dfakt-single .gallery-thumb { width: calc(33.333% - 0.5rem); height: 76px; }
}

/* ================= Продукт — категорія ================= */

.dfakt-taxcat *, .dfakt-taxcat *::before, .dfakt-taxcat *::after { box-sizing: border-box; }
.dfakt-taxcat {
  font-family: var(--font-body);
  background: var(--graphite-deep);
  color: var(--white);
      margin-top: -129px;
}

/* ===== HERO BANNER ===== */
.dfakt-taxcat .taxcat-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite);
padding-top: 150px;
}
.dfakt-taxcat .taxcat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: tcZoom 10s ease-out forwards;
}

.dfakt-taxcat .taxcat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,26,1) 0%,
    rgba(26,26,26,0.6) 45%,
    rgba(26,26,26,0.15) 100%
  );
}
.dfakt-taxcat .taxcat-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.dfakt-taxcat .taxcat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.2rem;
}
.dfakt-taxcat .taxcat-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.dfakt-taxcat .taxcat-breadcrumb a:hover { color: var(--brick); }
.dfakt-taxcat .taxcat-breadcrumb span { color: rgba(255,255,255,0.25); }

.dfakt-taxcat .taxcat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.8rem;
}
.dfakt-taxcat .taxcat-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--brick);
}
.dfakt-taxcat .taxcat-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.dfakt-taxcat .taxcat-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 2rem;
}
.dfakt-taxcat .taxcat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brick);
  color: var(--white);
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.dfakt-taxcat .taxcat-cta:hover {
  background: var(--brick-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(238,126,40,0.35);
  color: var(--white);
}

/* ===== PRODUCTS GRID ===== */
.dfakt-taxcat .products-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 4rem 2rem 7rem;
}
.dfakt-taxcat .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dfakt-taxcat .prod-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
}
.dfakt-taxcat .prod-card:hover {
  transform: translateY(-8px);
  border-color: rgba(238,126,40,0.3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.dfakt-taxcat .prod-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #1e1e1e;
}
.dfakt-taxcat .prod-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.dfakt-taxcat .prod-card:hover .prod-card-img img { transform: scale(1.07); }

.dfakt-taxcat .prod-card-body {
  padding: 1.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.dfakt-taxcat .prod-card-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.7rem;
  line-height: 1.3;
}
.dfakt-taxcat .prod-card-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  flex-grow: 1;
  margin: 0;
}
.dfakt-taxcat .prod-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.3rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brick);
  transition: gap 0.25s;
}
.dfakt-taxcat .prod-card:hover .prod-card-link { gap: 0.75rem; }

/* Empty state */
.dfakt-taxcat .empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 5rem 2rem;
  color: rgba(255,255,255,0.3);
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .dfakt-taxcat .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dfakt-taxcat .products-grid { grid-template-columns: 1fr; }
  .dfakt-taxcat .taxcat-hero { min-height: 360px; }
}

/* ================= ПОРТФОЛІО — сторінка ================= */

.dfakt-portfolio-page {
  font-family: var(--font-body);
  background: var(--graphite-deep);
  color: var(--white);
  min-height: 60vh;
}
.dfakt-portfolio-page *, .dfakt-portfolio-page *::before, .dfakt-portfolio-page *::after { box-sizing: border-box; }
/* ===== HEADER ===== */
.dfakt-portfolio-page .port-page-header {
  max-width: 1360px;
  margin: 0 auto;
  padding: 5rem 2rem 3.5rem;
  position: relative;
      margin-top: -125px;
          padding-top: 160px;
}
.dfakt-portfolio-page .port-page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2rem; right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(238,126,40,0.4), transparent);
}
.dfakt-portfolio-page .port-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.8rem;
}
.dfakt-portfolio-page .port-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--brick);
}
.dfakt-portfolio-page .port-page-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin: 0 0 0.8rem;
  line-height: 1.05;
}
.dfakt-portfolio-page .port-page-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  line-height: 1.7;
  margin: 0;
}
.dfakt-portfolio-page .port-page-desc p { margin: 0; }

/* ===== FILTER ===== */
.dfakt-portfolio-page .portfolio-filter {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 1360px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.dfakt-portfolio-page .filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.dfakt-portfolio-page .filter-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.dfakt-portfolio-page .filter-btn.active {
  background: var(--brick);
  border-color: var(--brick);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(238,126,40,0.3);
}

/* ===== GRID ===== */
.dfakt-portfolio-page .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 400px;
  align-items: start;
}

/* Картка */
.dfakt-portfolio-page .portfolio-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.35s var(--ease);
  color: inherit;
}
.dfakt-portfolio-page .portfolio-card:hover {
  transform: translateY(-7px);
  border-color: rgba(238,126,40,0.3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

/* Анімація JS */
.dfakt-portfolio-page .portfolio-card.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}
.dfakt-portfolio-page .portfolio-card.d-none { display: none; }

.dfakt-portfolio-page .portfolio-img-wrap {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: #1e1e1e;
}
.dfakt-portfolio-page .portfolio-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  display: block;
}
.dfakt-portfolio-page .portfolio-card:hover .portfolio-img-wrap img { transform: scale(1.07); }

.dfakt-portfolio-page .portfolio-info {
  padding: 1.3rem 1.5rem 1.5rem;
}
.dfakt-portfolio-page .portfolio-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.4rem;
  line-height: 1.3;
  transition: color 0.25s;
}
.dfakt-portfolio-page .portfolio-card:hover .portfolio-title { color: var(--brick); }
.dfakt-portfolio-page .portfolio-cat {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  display: block;
  font-weight: 500;
}

/* ===== PAGINATION ===== */
.dfakt-portfolio-page .port-pagination {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 3rem 2rem 6rem;
  max-width: 1360px;
  margin: 0 auto;
}
.dfakt-portfolio-page .page-number {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  outline: none;
}
.dfakt-portfolio-page .page-number:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transform: translateY(-2px);
}
.dfakt-portfolio-page .page-number.active {
  background: var(--brick);
  border-color: var(--brick);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(238,126,40,0.35);
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dfakt-portfolio-page .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dfakt-portfolio-page .portfolio-grid { grid-template-columns: 1fr; padding: 0 1.2rem; }
  .dfakt-portfolio-page .port-page-header { padding: 4rem 1.2rem 2.5rem; }
  .dfakt-portfolio-page .portfolio-filter { padding: 2rem 1.2rem; }
}

/* ================= ПОРТФОЛІО — СПИСОК ================= */
.portfolio-filter {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 1rem; margin-bottom: 4rem; padding: 0 1.5rem;
}
.filter-btn {
    background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05);
    padding: 0.7rem 1.8rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 500; color: var(--c-graphite);
    cursor: pointer; transition: all 0.3s ease;
}
.filter-btn:hover { background: rgba(0,0,0,0.08); }
.filter-btn.active { background: var(--c-brick); color: var(--c-white); border-color: var(--c-brick); box-shadow: 0 8px 20px rgba(238,126,40,0.3); }

.portfolio-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; max-width: 1400px; margin: 0 auto 6rem; padding: 0 1.5rem;
    min-height: 400px; align-items: start;
}
.portfolio-card {
    display: block; text-decoration: none; border-radius: var(--radius-md);
    overflow: hidden; background: var(--c-white); border: 1px solid #EAEAEA;
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    transform-origin: center top;
}
.portfolio-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-8px); border-color: transparent; }
.portfolio-card.hide { opacity: 0; transform: scale(0.9); pointer-events: none; }
.portfolio-card.d-none { display: none; }
.portfolio-img-wrap { position: relative; padding-top: 75%; overflow: hidden; }
.portfolio-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.portfolio-card:hover .portfolio-img-wrap img { transform: scale(1.06); }
.portfolio-info { padding: 1.5rem; }
.portfolio-title { font-size: 1.3rem; color: var(--c-graphite); margin: 0 0 0.5rem; font-weight: 600; transition: color 0.3s ease; }
.portfolio-card:hover .portfolio-title { color: var(--c-brick); }
.portfolio-cat { font-size: 0.95rem; color: var(--c-craft); display: block; }

.port-pagination { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1rem; margin-bottom: 5rem; }
.page-number {
    background: transparent; border: 1px solid #EAEAEA; color: var(--c-graphite);
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); outline: none;
}
.page-number:hover { background: #F5F5F5; transform: translateY(-2px); color: var(--color-brick); }
.page-number.active { background: var(--c-brick); color: var(--c-white); border-color: var(--c-brick); box-shadow: 0 4px 12px rgba(238,126,40,0.3); pointer-events: none; }

@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-filter { gap: 0.5rem; }
    .filter-btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
}

/* =========================== Портфоліо - категорія ========================== */
.dfakt-portcat *, .dfakt-portcat *::before, .dfakt-portcat *::after { box-sizing: border-box; }
.dfakt-portcat {
  font-family: var(--font-body);
  background: var(--graphite-deep);
  color: var(--white);
  margin-top: -129px;
}

/* ===== HERO ===== */
.dfakt-portcat .portcat-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite-deep);
}
.dfakt-portcat .portcat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: pcZoom 10s ease-out forwards;
}

.dfakt-portcat .portcat-hero-overlay {
  position: absolute;
  inset: 0;
}
.dfakt-portcat .portcat-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  margin-top: 120px;
}
.dfakt-portcat .portcat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.2rem;
}
.dfakt-portcat .portcat-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.dfakt-portcat .portcat-breadcrumb a:hover { color: var(--brick); }
.dfakt-portcat .portcat-breadcrumb span { color: rgba(255,255,255,0.25); }
.dfakt-portcat .portcat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.8rem;
}
.dfakt-portcat .portcat-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--brick);
}
.dfakt-portcat .portcat-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.dfakt-portcat .portcat-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 2rem;
}
.dfakt-portcat .portcat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brick);
  color: var(--white);
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.dfakt-portcat .portcat-cta:hover {
  background: var(--brick-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(238,126,40,0.35);
  color: var(--white);
}

/* ===== GRID ===== */
.dfakt-portcat .portcat-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 4rem 2rem 7rem;
}
.dfakt-portcat .portcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dfakt-portcat .port-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
}
.dfakt-portcat .port-card:hover {
  transform: translateY(-8px);
  border-color: rgba(238,126,40,0.3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.dfakt-portcat .port-card-img {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: #1e1e1e;
}
.dfakt-portcat .port-card-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.dfakt-portcat .port-card:hover .port-card-img img { transform: scale(1.07); }
.dfakt-portcat .port-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.dfakt-portcat .port-card-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem;
  line-height: 1.3;
  transition: color 0.25s;
}
.dfakt-portcat .port-card:hover .port-card-name { color: var(--brick); }
.dfakt-portcat .port-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  flex-grow: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dfakt-portcat .port-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brick);
  transition: gap 0.25s;
}
.dfakt-portcat .port-card:hover .port-card-link { gap: 0.75rem; }
.dfakt-portcat .empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 5rem 2rem;
  color: rgba(255,255,255,0.3);
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .dfakt-portcat .portcat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dfakt-portcat .portcat-grid { grid-template-columns: 1fr; }
  .dfakt-portcat .portcat-hero { min-height: 360px; }
  .dfakt-portcat .portcat-section { padding: 3rem 1.2rem 5rem; }
}
/* ================= ПОРТФОЛІО — СІНГЛ ================= */
.portfolio-single-layout {
    display: grid; grid-template-columns: 320px 1fr;
    gap: 4rem; max-width: 1400px; margin: 8rem auto 4rem; padding: 0 1.5rem;
}
.port-sidebar {
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem; color: var(--c-white); height: fit-content;
}
.sidebar-sticky { position: sticky; top: 100px; }
.back-btn { display: inline-flex; align-items: center; gap: 0.8rem; color: #A0A0A0; text-decoration: none; font-size: 1.05rem; margin-bottom: 3rem; transition: var(--transition); }
.back-btn:hover { color: var(--c-brick); }
.sidebar-widget { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-widget:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 1rem; }
.widget-title { font-size: 1.1rem; color: #fff; margin-bottom: 1.5rem; font-weight: 600; }
.widget-list { display: flex; flex-direction: column; gap: 1rem; }
.widget-item {
    display: flex; align-items: center; gap: 1rem;
    text-decoration: none; transition: var(--transition);
    background: rgba(255,255,255,0.02); padding: 0.5rem; border-radius: var(--radius-sm);
}
.widget-item:hover { background: rgba(255,255,255,0.05); transform: translateX(5px); }
.w-img { width: 50px; height: 50px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.w-img img { width: 100%; height: 100%; object-fit: cover; }
.w-info { color: #E5E5E5; font-size: 0.9rem; line-height: 1.3; }

.port-hero-new {
    position: relative; width: 100%; min-height: 500px;
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; align-items: flex-end; padding: 3.5rem 3rem; margin-bottom: 4rem;
}
.port-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.port-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
}
.port-cat-tag-new {
    position: absolute; top: 2rem; left: 2rem; z-index: 3;
    width: fit-content;
    background: var(--c-brick); color: var(--c-white);
    padding: 0.5rem 1.5rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600;
    box-shadow: 0 4px 15px rgba(238,126,40,0.3);
}
.port-hero-content { position: relative; z-index: 3; max-width: 800px; color: var(--c-white); }
.port-title-new { font-size: 3.2rem; color: var(--c-white); margin: 0 0 1rem; font-weight: 700; line-height: 1.2; }
.port-excerpt-new { font-size: 1.1rem; color: #E5E5E5; margin-bottom: 2rem; line-height: 1.6; }

@media (max-width: 768px) {
    .port-hero-new { padding: 2.5rem 1.5rem; min-height: 400px; }
    .port-cat-tag-new { top: 1.5rem; left: 1.5rem; font-size: 0.85rem; padding: 0.4rem 1.2rem; }
    .port-title-new { font-size: 2.2rem; }
    .port-excerpt-new { font-size: 1rem; }
}
.dfakt-port-single {
  font-family: var(--font-body);
  background: var(--graphite-deep);
  color: var(--white);
}
.dfakt-port-single *, .dfakt-port-single *::before, .dfakt-port-single *::after { box-sizing: border-box; }

/* ===== HERO ===== */
.dfakt-port-single .port-hero-new {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite);
  padding-top: 150px;
}
.dfakt-port-single .port-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: pHeroZoom 10s ease-out forwards;
  z-index: 1;
}
.port-hero-new {
    margin-top: -125px;
}

.dfakt-port-single .port-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,26,26,0.8) 0%, rgba(26,26,26,0.2) 60%, transparent 100%),
    linear-gradient(to top, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.1) 50%, transparent 100%);
  z-index: 2;
}
.dfakt-port-single .port-cat-tag-new {
  position: absolute;
top: 0rem;
    left: 2rem;
        width: fit-content;
  z-index: 4;
  background: var(--brick);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dfakt-port-single .port-hero-content {
  position: relative;
  z-index: 3;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.dfakt-port-single .port-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
.dfakt-port-single .port-breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.dfakt-port-single .port-breadcrumb a:hover { color: var(--brick); }
.dfakt-port-single .port-breadcrumb span { color: rgba(255,255,255,0.2); }

.dfakt-port-single .port-title-new {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin: 0 0 1.2rem;
  max-width: 780px;
}
.dfakt-port-single .port-excerpt-new {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 2.5rem;
}
.dfakt-port-single .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brick);
  color: var(--white) !important;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.dfakt-port-single .btn-primary:hover {
  background: var(--brick-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(238,126,40,0.35);
}

/* ===== LAYOUT ===== */
.dfakt-port-single .portfolio-single-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 1360px;
  margin: 0 auto;
  padding: 4rem 2rem 7rem;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.dfakt-port-single .port-sidebar {
  position: sticky;
  top: 100px;
}
.dfakt-port-single .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.25s;
  padding: 0.6rem 0;
}
.dfakt-port-single .back-btn:hover { color: var(--brick); }

.dfakt-port-single .sidebar-widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}
.dfakt-port-single .widget-title {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0 0 1.2rem;
}
.dfakt-port-single .widget-list { display: flex; flex-direction: column; gap: 0.6rem; }
.dfakt-port-single .widget-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.25s, transform 0.25s;
}
.dfakt-port-single .widget-item:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(4px);
}
.dfakt-port-single .w-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e1e1e;
}
.dfakt-port-single .w-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dfakt-port-single .w-title {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
  font-weight: 500;
}
.dfakt-port-single .sidebar-cta {
  background: linear-gradient(135deg, rgba(238,126,40,0.12), rgba(238,126,40,0.04));
  border: 1px solid rgba(238,126,40,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.dfakt-port-single .sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1.2rem;
  line-height: 1.6;
}
.dfakt-port-single .sidebar-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ===== CONTENT ===== */
.dfakt-port-single .port-content {}

/* Bento деталі */
.dfakt-port-single .bento-details-section { margin-bottom: 3rem; }
.dfakt-port-single .bento-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.dfakt-port-single .bento-detail-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s;
}
.dfakt-port-single .bento-detail-card:hover {
  border-color: rgba(238,126,40,0.15);
}
.dfakt-port-single .bd-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dfakt-port-single .bd-title::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--brick);
}
.dfakt-port-single .bd-content {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}
.dfakt-port-single .bd-content p { margin: 0 0 0.5rem; }
.dfakt-port-single .bd-content p:last-child { margin: 0; }

/* Linked product card */
.dfakt-port-single .linked-prod-bento {
  grid-column: span 1;
}
.dfakt-port-single .lp-bento-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  margin-top: 0.5rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  transition: all 0.25s;
}
.dfakt-port-single .lp-bento-link:hover { background: rgba(238,126,40,0.08); transform: translateX(4px); }
.dfakt-port-single .lp-img {
  width: 72px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e1e1e;
}
.dfakt-port-single .lp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dfakt-port-single .lp-info h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.3rem;
}
.dfakt-port-single .lp-btn-text {
  font-size: 0.8rem;
  color: var(--brick);
  font-weight: 600;
}

/* CTA bento */
.dfakt-port-single .cta-bento {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(238,126,40,0.1), rgba(238,126,40,0.04));
  border-color: rgba(238,126,40,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.dfakt-port-single .cta-bento .bd-title { color: var(--white); }
.dfakt-port-single .cta-bento .bd-title::before { background: var(--white); }
.dfakt-port-single .bd-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0.5rem 0 0;
}

/* ===== BEFORE/AFTER ===== */
.dfakt-port-single .ba-section { margin-bottom: 3rem; }
.dfakt-port-single .section-title-new {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1.5rem;
}
.dfakt-port-single .ba-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  cursor: col-resize;
  aspect-ratio: 16/7;
}
.dfakt-port-single .ba-layer {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.dfakt-port-single .ba-layer img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.dfakt-port-single .layer-before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  z-index: 2;
}
.dfakt-port-single .ba-glass-label {
  position: absolute;
  top: 1.2rem;
  background: rgba(26,26,26,0.7);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
}
.dfakt-port-single .label-left  { left:  1.2rem; }
.dfakt-port-single .label-right { right: 1.2rem; }
.dfakt-port-single .ba-slider {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 4;
  margin: 0;
}
.dfakt-port-single .ba-slider-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}
.dfakt-port-single .ba-arrows {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--graphite);
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ===== GALLERY ===== */
.dfakt-port-single .gallery-section-new { margin-bottom: 3rem; }
.dfakt-port-single .port-gallery-mosaic {
  columns: 3;
  column-gap: 0.8rem;
}
.dfakt-port-single .mosaic-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.8rem;
  position: relative;
  cursor: pointer;
}
.dfakt-port-single .mosaic-item img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.5s var(--ease);
}
.dfakt-port-single .mosaic-item:hover img { transform: scale(1.04); }
.dfakt-port-single .mosaic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
  font-size: 1.5rem;
}
.dfakt-port-single .mosaic-item:hover .mosaic-overlay { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .dfakt-port-single .portfolio-single-layout { grid-template-columns: 1fr; }
  .dfakt-port-single .port-sidebar { position: static; }
  .dfakt-port-single .port-gallery-mosaic { columns: 2; }
}
@media (max-width: 768px) {
  .dfakt-port-single .bento-details-grid { grid-template-columns: 1fr; }
  .dfakt-port-single .linked-prod-bento { grid-column: span 1; }
  .dfakt-port-single .cta-bento { grid-column: span 1; flex-direction: column; }
  .dfakt-port-single .port-gallery-mosaic { columns: 1; }
  .dfakt-port-single .portfolio-single-layout { padding: 3rem 1.2rem 5rem; }
  .dfakt-port-single .ba-container { aspect-ratio: 4/3; }
}
/* ================= BENTO ДЕТАЛІ (портфоліо/блог) ================= */
.bento-details-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; margin-bottom: 5rem;
}
.bento-detail-card {
    background: #F8F8F8; border-radius: var(--radius-md);
    padding: 2.5rem; display: flex; flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
}
.bd-title { font-size: 1.4rem; color: var(--c-graphite); margin: 0 0 1.2rem; font-weight: 700; }
.bd-content { color: var(--c-craft); font-size: 1.05rem; line-height: 1.7; flex-grow: 1; }
.bento-detail-card a { color: inherit; text-decoration: none; }

.linked-prod-bento { background: var(--c-white); border: 1px solid #EAEAEA; }
.lp-bento-link { display: flex; align-items: center; gap: 1.5rem; text-decoration: none; margin-top: auto; transition: var(--transition); }
.lp-bento-link:hover { transform: translateX(5px); }
.lp-img { width: 90px; height: 90px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.lp-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-info h4 { margin: 0 0 0.5rem; color: var(--c-graphite); font-size: 1.2rem; }
.lp-btn-text { color: var(--c-brick); font-weight: 600; font-size: 0.95rem; }

.cta-bento {
    background: var(--c-graphite); color: var(--c-white);
    grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between;
}
.cta-bento .bd-title { color: var(--c-white); margin-bottom: 0.5rem; }
.cta-bento .bd-text { color: #A0A0A0; margin: 0; font-size: 1.05rem; }
.cta-info { max-width: 65%; }

@media (max-width: 1024px) { .cta-bento { flex-direction: column; align-items: flex-start; gap: 1.8rem; } .cta-info { max-width: 100%; } }
@media (max-width: 768px) {
    .bento-details-grid { grid-template-columns: 1fr; }
    .cta-bento { grid-column: span 1; }
    .bento-detail-card { padding: 1.8rem; }
    .portfolio-single-layout { grid-template-columns: 1fr; }
    .sidebar-sticky { position: static; }
}

/* ================= ДО/ПІСЛЯ ================= */
.ba-container {
    position: relative; width: 100%; aspect-ratio: 16/9;
    border-radius: var(--radius-lg); overflow: hidden; background: #f0f0f0;
}
.ba-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.layer-before { z-index: 2; clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.layer-after { z-index: 1; }
.ba-glass-label {
    position: absolute; top: 2rem; padding: 0.6rem 2rem; border-radius: 50px;
    background: rgb(67 67 67 / 33%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4); color: var(--c-white);
    font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); z-index: 3; pointer-events: none;
}
.label-left { left: 2rem; }
.label-right { right: 2rem; }
.ba-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 10; }
.ba-slider-line {
    position: absolute; top: 0; left: 50%; width: 4px; height: 100%;
    background: var(--c-white); z-index: 5; pointer-events: none;
    transform: translateX(-50%); box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
.ba-arrows {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: var(--c-white); color: var(--c-graphite);
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); font-size: 1.2rem;
}
@media (max-width: 768px) {
    .ba-glass-label { top: 1rem; padding: 0.4rem 1.2rem; font-size: 0.85rem; }
    .label-left { left: 1rem; }
    .label-right { right: 1rem; }
    .ba-arrows { width: 36px; height: 36px; font-size: 1rem; }
}

/* ================= ГАЛЕРЕЯ МОЗАЇКА ================= */
.port-gallery-mosaic {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; grid-auto-rows: 280px;
}
.mosaic-item {
    position: relative; border-radius: var(--radius-md);
    overflow: hidden; cursor: pointer; background: #f5f5f5;
}
.mosaic-item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(4) { grid-column: span 2; }
.mosaic-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.mosaic-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44,44,44,0.4); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; color: var(--c-white); font-size: 2rem; z-index: 2;
}
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item:hover .mosaic-overlay { opacity: 1; }

@media (max-width: 1024px) {
    .port-gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .mosaic-item:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 768px) {
    .port-gallery-mosaic { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .mosaic-item:first-child, .mosaic-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
}

/* ================= БЛОГ — СПИСОК ================= */
.blog-layout-container {
    display: grid; grid-template-columns: 1fr 350px;
    gap: 4rem; max-width: 1400px; margin: 0 auto 6rem; padding: 0 1.5rem; align-items: start;
}
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.blog-card { padding: 0; overflow: hidden; text-decoration: none; transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.blog-card-img { width: 100%; padding-top: 60%; position: relative; overflow: hidden; background: #f0f0f0; }
.blog-card-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-info { padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.blog-meta { display: flex; gap: 1rem; color: #000000; font-size: 0.9rem; margin-bottom: 1rem; }
.blog-meta i { color: var(--c-brick); }
.blog-card .bd-title { font-size: 1.5rem; margin-bottom: 1rem; transition: color 0.3s; }
.blog-card:hover .bd-title { color: var(--c-brick); }
.blog-card .bd-content { margin-bottom: 1.5rem; }
.blog-card .search-read-more { margin-top: auto; }
.blog-cats-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.blog-cats-list li a {
    color: #E5E5E5; text-decoration: none; display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
}
.blog-cats-list li:last-child a { border-bottom: none; padding-bottom: 0; }
.blog-cats-list li a:hover { color: var(--c-brick); padding-left: 5px; }
.cat-count { background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 20px; font-size: 0.8rem; }

@media (max-width: 1024px) {
    .blog-layout-container { grid-template-columns: 1fr; }
    .blog-sidebar { order: -1; margin-bottom: 2rem; }
}
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* ================= АВТОР ================= */
.author-page-header {
    max-width: 1000px; margin: 8rem auto 4rem; padding: 3rem;
    background: #F8F8F8; border-radius: var(--radius-lg);
    display: flex; align-items: center; gap: 3rem; border: 1px solid rgba(0,0,0,0.03);
}
.author-avatar-wrap { flex-shrink: 0; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 4px solid var(--c-white); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.author-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-info-wrap { flex: 1; }
.author-bio { color: var(--c-craft); font-size: 1.1rem; line-height: 1.7; margin-top: 1rem; }
.author-bio p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .author-page-header { flex-direction: column; text-align: center; padding: 2rem 1.5rem; gap: 1.5rem; }
    .author-info-wrap .page-title { text-align: center !important; }
}
.dfakt-author{
    font-family:var(--font-body);
    background:var(--graphite-deep);
    color:var(--white);
    min-height:60vh;
    margin-top: -125px;
    padding-top: 165px;}
    main#main {
    margin-bottom: 0px;
}
.dfakt-author *,.dfakt-author *::before,.dfakt-author *::after{box-sizing:border-box;}
.dfakt-author .author-page-header{max-width:1360px;margin:0 auto;padding:5rem 2rem 3.5rem;display:flex;align-items:center;gap:2.5rem;position:relative;background: #f8f8f80a;}
.dfakt-author .author-page-header::after{content:'';position:absolute;bottom:0;left:2rem;right:2rem;height:1px;background:linear-gradient(90deg,rgba(238,126,40,0.4),transparent);}
.dfakt-author .author-avatar-wrap{width:100px;height:100px;border-radius:50%;overflow:hidden;border:3px solid rgba(238,126,40,0.4);flex-shrink:0;}
.dfakt-author .author-avatar-img{width:100%;height:100%;object-fit:cover;display:block;}
.dfakt-author .cat-tag{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(238,126,40,0.15);border:1px solid rgba(238,126,40,0.3);border-radius:50px;padding:0.3rem 1rem;font-size:0.72rem;font-weight:700;color:var(--brick);letter-spacing:0.1em;text-transform:uppercase;margin-bottom:0.7rem;}
.dfakt-author .author-name{font-family:var(--font-head);font-size:clamp(1.6rem,3vw,2.5rem);font-weight:900;color:var(--white);margin:0 0 0.5rem;line-height:1.1;}
.dfakt-author .author-bio{font-size:0.95rem;color:rgba(255,255,255,0.5);line-height:1.7;margin:0;}
.dfakt-author .section-title-new{font-family:var(--font-head);font-size:1.1rem;font-weight:700;color:rgba(255,255,255,0.4);letter-spacing:0.1em;text-transform:uppercase;margin:0 0 1.5rem;}
@media(max-width:768px){.dfakt-author .author-page-header{flex-direction:column;align-items:flex-start;}}
/* ================= СХОЖІ СТАТТІ ================= */
.related-excerpt {
    font-size: 0.95rem; line-height: 1.6; margin-bottom: 0;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}

/* ================= СТАТИЧНА СТОРІНКА (page.php) ================= */
.standard-page-container { max-width: 900px; margin: 0 auto 6rem; padding: 0 1.5rem; }
.standard-page-container .wysiwyg-content { font-size: 1.1rem; line-height: 1.8; color: var(--c-graphite); }
.standard-page-container .wysiwyg-content h2 { margin-top: 3rem; margin-bottom: 1.5rem; font-size: 2rem; color: var(--c-graphite); }
.standard-page-container .wysiwyg-content h3 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; }
.standard-page-container .wysiwyg-content p { margin-bottom: 1.5rem; }
.standard-page-container .wysiwyg-content ul,
.standard-page-container .wysiwyg-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.standard-page-container .wysiwyg-content li { margin-bottom: 0.5rem; }
.dfakt-page{font-family:var(--font-body);background:var(--graphite-deep);color:var(--white);min-height:60vh;}
.dfakt-page *,.dfakt-page *::before,.dfakt-page *::after{box-sizing:border-box;}
.dfakt-page .page-simple-header{max-width:1360px;margin:0 auto;padding:5rem 2rem 3rem;position:relative;}
.dfakt-page .page-simple-header::after{content:'';position:absolute;bottom:0;left:2rem;right:2rem;height:1px;background:linear-gradient(90deg,rgba(238,126,40,0.4),transparent);}
.dfakt-page .page-title{font-family:var(--font-head);font-size:clamp(2rem,4vw,3.5rem);font-weight:900;color:var(--white);margin:0;line-height:1.05;}
.dfakt-page .standard-page-container{max-width:860px;margin:0 auto;padding:3rem 2rem 7rem;}
.dfakt-page .wysiwyg-content{font-size:1.05rem;line-height:1.85;color:rgba(255,255,255,0.7);}
.dfakt-page .wysiwyg-content h2{font-family:var(--font-head);font-size:1.6rem;font-weight:700;color:var(--white);margin:2.5rem 0 1rem;}
.dfakt-page .wysiwyg-content h3{font-family:var(--font-head);font-size:1.25rem;font-weight:700;color:var(--white);margin:2rem 0 0.8rem;}
.dfakt-page .wysiwyg-content p{margin:0 0 1.3rem;}
.dfakt-page .wysiwyg-content a{color:var(--brick);}
.dfakt-page .wysiwyg-content ul,.dfakt-page .wysiwyg-content ol{padding-left:1.5rem;margin-bottom:1.3rem;}
.dfakt-page .wysiwyg-content li{margin-bottom:0.5rem;}
.dfakt-page .wysiwyg-content img{border-radius:var(--radius-md);max-width:100%;}
.dfakt-page .wysiwyg-content blockquote{border-left:3px solid var(--brick);margin:2rem 0;padding:1rem 1.5rem;background:rgba(238,126,40,0.06);border-radius:0 var(--radius-md) var(--radius-md) 0;font-style:italic;color:rgba(255,255,255,0.6);}
@media(max-width:768px){.dfakt-page .standard-page-container{padding:2rem 1.2rem 5rem;}.dfakt-page .page-simple-header{padding:4rem 1.2rem 2.5rem;}}
/* ================= SPH — ФОРМА ДЛЯ СТОРІНКИ ПОШУКУ В САЙДБАРІ ================= */
.sph-left .page-title { font-size: 2.5rem; color: var(--c-graphite); font-weight: 700; }

/* ================ Сторінка блогу ======================== */
.dfakt-blog {
  font-family:var(--font-body);background:var(--graphite-deep);color:var(--white);min-height:60vh;
}
.dfakt-blog *,.dfakt-blog *::before,.dfakt-blog *::after{box-sizing:border-box;}
.dfakt-blog .blog-page-header{max-width:1360px;margin:0 auto;padding:5rem 2rem 3.5rem;position:relative;    margin-top: -125px;
    padding-top: 165px;
}
.dfakt-blog .blog-page-header::after{content:'';position:absolute;bottom:0;left:2rem;right:2rem;height:1px;background:linear-gradient(90deg,rgba(238,126,40,0.4),transparent);}
.dfakt-blog .blog-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;font-size:0.72rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--brick);margin-bottom:0.8rem;}
.dfakt-blog .blog-eyebrow::before{content:'';display:block;width:24px;height:2px;background:var(--brick);}
.dfakt-blog .blog-page-title{font-family:var(--font-head);font-size:clamp(2rem,4vw,3.5rem);font-weight:900;color:var(--white);margin:0 0 0.7rem;line-height:1.05;}
.dfakt-blog .blog-page-desc{font-size:1.05rem;color:rgba(255,255,255,0.5);margin:0;line-height:1.7;}

/* ==================== Категорія блогу ====================== */
.dfakt-blog-cat{font-family:var(--font-body);background:var(--graphite-deep);color:var(--white);min-height:60vh;}
.dfakt-blog-cat *,.dfakt-blog-cat *::before,.dfakt-blog-cat *::after{box-sizing:border-box;}
.dfakt-blog-cat .blog-page-header{max-width:1360px;margin:0 auto;padding:5rem 2rem 3.5rem;position:relative;    margin-top: -125px;
    padding-top: 165px;}
.dfakt-blog-cat .blog-page-header::after{content:'';position:absolute;bottom:0;left:2rem;right:2rem;height:1px;background:linear-gradient(90deg,rgba(238,126,40,0.4),transparent);}
.dfakt-blog-cat .cat-tag{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(238,126,40,0.15);border:1px solid rgba(238,126,40,0.3);border-radius:50px;padding:0.3rem 1rem;font-size:0.72rem;font-weight:700;color:var(--brick);letter-spacing:0.1em;text-transform:uppercase;margin-bottom:2rem;}
.dfakt-blog-cat .blog-page-title{font-family:var(--font-head);font-size:clamp(2rem,4vw,3.5rem);font-weight:900;color:var(--white);margin:0 0 0.7rem;line-height:1.05;}
.dfakt-blog-cat .page-desc{font-size:1.05rem;color:rgba(255,255,255,0.5);max-width:600px;margin:0;line-height:1.7; margin-top: 30px; margin-bottom: -30px;}

/* ================= СПІЛЬНІ КОМПОНЕНТИ (blog/category/author/single/portfolio) ================= */
/* Стилі застосовуються до всіх сторінок з темним фоном через scope-класи */

.dfakt-blog .bd-content,
.dfakt-blog-cat .bd-content,
.dfakt-author .bd-content,
.dfakt-single-post .bd-content,
.dfakt-portfolio-page .bd-content
{font-size:0.85rem;color:rgba(255,255,255,0.5);line-height:1.65;flex-grow:1;margin:0 0 1.2rem;}

.dfakt-blog .bd-title,
.dfakt-blog-cat .bd-title,
.dfakt-author .bd-title,
.dfakt-single-post .bd-title,
.dfakt-portfolio-page .bd-title
{font-family:var(--font-head);font-size:0.95rem;font-weight:700;color:var(--white);margin:0 0 0.6rem;line-height:1.3;transition:color 0.25s;}

.dfakt-blog .blog-card,
.dfakt-blog-cat .blog-card,
.dfakt-author .blog-card,
.dfakt-single-post .blog-card,
.dfakt-portfolio-page .blog-card
{display:flex;flex-direction:column;text-decoration:none;border-radius:var(--radius-lg);overflow:hidden;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);transition:all 0.35s var(--ease);color:inherit;}

.dfakt-blog .blog-card-img,
.dfakt-blog-cat .blog-card-img,
.dfakt-author .blog-card-img,
.dfakt-single-post .blog-card-img,
.dfakt-portfolio-page .blog-card-img
{position:relative;padding-top:60%;overflow:hidden;background:#1e1e1e;}

.dfakt-blog .blog-card-img img,
.dfakt-blog-cat .blog-card-img img,
.dfakt-author .blog-card-img img,
.dfakt-single-post .blog-card-img img,
.dfakt-portfolio-page .blog-card-img img
{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.6s var(--ease);}

.dfakt-blog .blog-card-info,
.dfakt-blog-cat .blog-card-info,
.dfakt-author .blog-card-info,
.dfakt-single-post .blog-card-info,
.dfakt-portfolio-page .blog-card-info
{padding:1.5rem;display:flex;flex-direction:column;flex-grow:1;}

.dfakt-blog .blog-card:hover,
.dfakt-blog-cat .blog-card:hover,
.dfakt-author .blog-card:hover,
.dfakt-single-post .blog-card:hover,
.dfakt-portfolio-page .blog-card:hover
{transform:translateY(-7px);border-color:rgba(238,126,40,0.3);box-shadow:0 24px 48px rgba(0,0,0,0.4);}

.dfakt-blog .blog-card:hover .bd-title,
.dfakt-blog-cat .blog-card:hover .bd-title,
.dfakt-author .blog-card:hover .bd-title,
.dfakt-single-post .blog-card:hover .bd-title,
.dfakt-portfolio-page .blog-card:hover .bd-title
{color:var(--brick);}

.dfakt-blog .blog-card:hover .blog-card-img img,
.dfakt-blog-cat .blog-card:hover .blog-card-img img,
.dfakt-author .blog-card:hover .blog-card-img img,
.dfakt-single-post .blog-card:hover .blog-card-img img,
.dfakt-portfolio-page .blog-card:hover .blog-card-img img
{transform:scale(1.07);}

.dfakt-blog .blog-card:hover .search-read-more,
.dfakt-blog-cat .blog-card:hover .search-read-more,
.dfakt-author .blog-card:hover .search-read-more,
.dfakt-single-post .blog-card:hover .search-read-more,
.dfakt-portfolio-page .blog-card:hover .search-read-more
{gap:0.7rem;}

.dfakt-blog .blog-cats-list,
.dfakt-blog-cat .blog-cats-list,
.dfakt-author .blog-cats-list,
.dfakt-single-post .blog-cats-list,
.dfakt-portfolio-page .blog-cats-list
{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0;}

.dfakt-blog .blog-cats-list li a,
.dfakt-blog-cat .blog-cats-list li a,
.dfakt-author .blog-cats-list li a,
.dfakt-single-post .blog-cats-list li a,
.dfakt-portfolio-page .blog-cats-list li a
{display:flex;justify-content:space-between;align-items:center;padding:0.6rem 0;border-bottom:1px solid rgba(255,255,255,0.05);color:rgba(255,255,255,0.6);text-decoration:none;font-size:0.87rem;transition:all 0.25s;}

.dfakt-blog .blog-cats-list li a:hover,
.dfakt-blog-cat .blog-cats-list li a:hover,
.dfakt-author .blog-cats-list li a:hover,
.dfakt-single-post .blog-cats-list li a:hover,
.dfakt-portfolio-page .blog-cats-list li a:hover
{color:var(--brick);padding-left:4px;}

.dfakt-blog .blog-cats-list li:last-child a,
.dfakt-blog-cat .blog-cats-list li:last-child a,
.dfakt-author .blog-cats-list li:last-child a,
.dfakt-single-post .blog-cats-list li:last-child a,
.dfakt-portfolio-page .blog-cats-list li:last-child a
{border-bottom:none;}

.dfakt-blog .blog-grid,
.dfakt-blog-cat .blog-grid,
.dfakt-author .blog-grid,
.dfakt-single-post .blog-grid,
.dfakt-portfolio-page .blog-grid
{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem;margin-bottom:2.5rem;}

.dfakt-blog .blog-layout-container,
.dfakt-blog-cat .blog-layout-container,
.dfakt-author .blog-layout-container,
.dfakt-single-post .blog-layout-container,
.dfakt-portfolio-page .blog-layout-container
{max-width:1360px;margin:0 auto;padding:3rem 2rem 7rem;display:grid;grid-template-columns:1fr 300px;gap:4rem;align-items:start;}

.dfakt-blog .blog-meta,
.dfakt-blog-cat .blog-meta,
.dfakt-author .blog-meta,
.dfakt-single-post .blog-meta,
.dfakt-portfolio-page .blog-meta
{font-size:0.76rem;color:rgba(255,255,255,0.35);margin-bottom:0.7rem;display:flex;align-items:center;gap:0.4rem;}

.dfakt-blog .blog-sidebar,
.dfakt-blog-cat .blog-sidebar,
.dfakt-author .blog-sidebar,
.dfakt-single-post .blog-sidebar,
.dfakt-portfolio-page .blog-sidebar
{position:sticky;top:100px;}

.dfakt-blog .btn-primary,
.dfakt-blog-cat .btn-primary,
.dfakt-author .btn-primary,
.dfakt-single-post .btn-primary,
.dfakt-portfolio-page .btn-primary
{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;background:var(--brick);color:var(--white)!important;padding:0.75rem 1.5rem;border-radius:50px;font-family:var(--font-body);font-size:0.88rem;font-weight:600;border:none;cursor:pointer;text-decoration:none;transition:all 0.3s var(--ease);width:100%;}

.dfakt-blog .btn-primary:hover,
.dfakt-blog-cat .btn-primary:hover,
.dfakt-author .btn-primary:hover,
.dfakt-single-post .btn-primary:hover,
.dfakt-portfolio-page .btn-primary:hover
{background:var(--brick-dark);transform:translateY(-2px);}

.dfakt-blog .cat-count,
.dfakt-blog-cat .cat-count,
.dfakt-author .cat-count,
.dfakt-single-post .cat-count,
.dfakt-portfolio-page .cat-count
{background:rgba(255,255,255,0.08);padding:1px 7px;border-radius:20px;font-size:0.75rem;}

.dfakt-blog .search-read-more,
.dfakt-blog-cat .search-read-more,
.dfakt-author .search-read-more,
.dfakt-single-post .search-read-more,
.dfakt-portfolio-page .search-read-more
{display:inline-flex;align-items:center;gap:0.4rem;font-size:0.8rem;font-weight:600;color:var(--brick);transition:gap 0.25s;margin-top:auto;}

.dfakt-blog .sidebar-sticky,
.dfakt-blog-cat .sidebar-sticky,
.dfakt-author .sidebar-sticky,
.dfakt-single-post .sidebar-sticky,
.dfakt-portfolio-page .sidebar-sticky
{display:flex;flex-direction:column;gap:1.2rem;}

.dfakt-blog .sidebar-widget,
.dfakt-blog-cat .sidebar-widget,
.dfakt-author .sidebar-widget,
.dfakt-single-post .sidebar-widget,
.dfakt-portfolio-page .sidebar-widget
{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);border-radius:var(--radius-lg);padding:1.5rem;}

.dfakt-blog .sph-btn,.dfakt-blog .btn-primary,
.dfakt-blog-cat .sph-btn,.dfakt-blog .btn-primary,
.dfakt-author .sph-btn,.dfakt-blog .btn-primary,
.dfakt-single-post .sph-btn,.dfakt-blog .btn-primary,
.dfakt-portfolio-page .sph-btn,.dfakt-blog .btn-primary
{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;background:var(--brick);color:var(--white)!important;padding:0.75rem 1.5rem;border-radius:50px;font-family:var(--font-body);font-size:0.88rem;font-weight:600;border:none;cursor:pointer;text-decoration:none;transition:all 0.3s var(--ease);width:100%;}

.dfakt-blog .sph-btn:hover,.dfakt-blog .btn-primary:hover,
.dfakt-blog-cat .sph-btn:hover,.dfakt-blog .btn-primary:hover,
.dfakt-author .sph-btn:hover,.dfakt-blog .btn-primary:hover,
.dfakt-single-post .sph-btn:hover,.dfakt-blog .btn-primary:hover,
.dfakt-portfolio-page .sph-btn:hover,.dfakt-blog .btn-primary:hover
{background:var(--brick-dark);transform:translateY(-2px);}

.dfakt-blog .sph-form,
.dfakt-blog-cat .sph-form,
.dfakt-author .sph-form,
.dfakt-single-post .sph-form,
.dfakt-portfolio-page .sph-form
{display:flex;flex-direction:column;gap:0.7rem;}

.dfakt-blog .sph-input,
.dfakt-blog-cat .sph-input,
.dfakt-author .sph-input,
.dfakt-single-post .sph-input,
.dfakt-portfolio-page .sph-input
{width:100%;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius-sm);padding:0.75rem 1rem;font-family:var(--font-body);font-size:0.88rem;color:var(--white);outline:none;transition:border-color 0.25s;}

.dfakt-blog .sph-input::placeholder,
.dfakt-blog-cat .sph-input::placeholder,
.dfakt-author .sph-input::placeholder,
.dfakt-single-post .sph-input::placeholder,
.dfakt-portfolio-page .sph-input::placeholder
{color:rgba(255,255,255,0.3);}

.dfakt-blog .sph-input:focus,
.dfakt-blog-cat .sph-input:focus,
.dfakt-author .sph-input:focus,
.dfakt-single-post .sph-input:focus,
.dfakt-portfolio-page .sph-input:focus
{border-color:var(--brick);}

.dfakt-blog .widget-title,
.dfakt-blog-cat .widget-title,
.dfakt-author .widget-title,
.dfakt-single-post .widget-title,
.dfakt-portfolio-page .widget-title
{font-family:var(--font-head);font-size:0.75rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:rgba(255,255,255,0.3);margin:0 0 1.2rem;}

.dfakt-blog .wp-custom-pagination,
.dfakt-blog-cat .wp-custom-pagination,
.dfakt-author .wp-custom-pagination,
.dfakt-single-post .wp-custom-pagination,
.dfakt-portfolio-page .wp-custom-pagination
{display:flex;justify-content:flex-start;gap:0.5rem;flex-wrap:wrap;}

.dfakt-blog .wp-custom-pagination .page-numbers,
.dfakt-blog-cat .wp-custom-pagination .page-numbers,
.dfakt-author .wp-custom-pagination .page-numbers,
.dfakt-single-post .wp-custom-pagination .page-numbers,
.dfakt-portfolio-page .wp-custom-pagination .page-numbers
{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);color:rgba(255,255,255,0.6);font-family:var(--font-body);font-size:0.9rem;font-weight:600;text-decoration:none;transition:all 0.25s var(--ease);}

.dfakt-blog .wp-custom-pagination .page-numbers.current,
.dfakt-blog-cat .wp-custom-pagination .page-numbers.current,
.dfakt-author .wp-custom-pagination .page-numbers.current,
.dfakt-single-post .wp-custom-pagination .page-numbers.current,
.dfakt-portfolio-page .wp-custom-pagination .page-numbers.current
{background:var(--brick);border-color:var(--brick);color:var(--white);box-shadow:0 4px 14px rgba(238,126,40,0.35);}

.dfakt-blog .wp-custom-pagination .page-numbers:hover,
.dfakt-blog-cat .wp-custom-pagination .page-numbers:hover,
.dfakt-author .wp-custom-pagination .page-numbers:hover,
.dfakt-single-post .wp-custom-pagination .page-numbers:hover,
.dfakt-portfolio-page .wp-custom-pagination .page-numbers:hover
{background:rgba(255,255,255,0.1);color:var(--white);}

.dfakt-blog .wp-custom-pagination .prev,.dfakt-blog .wp-custom-pagination .next,
.dfakt-blog-cat .wp-custom-pagination .prev,.dfakt-blog .wp-custom-pagination .next,
.dfakt-author .wp-custom-pagination .prev,.dfakt-blog .wp-custom-pagination .next,
.dfakt-single-post .wp-custom-pagination .prev,.dfakt-blog .wp-custom-pagination .next,
.dfakt-portfolio-page .wp-custom-pagination .prev,.dfakt-blog .wp-custom-pagination .next
{width:auto;padding:0 1rem;border-radius:50px;}
/* CF7 стилізація під дизайн D-Fakt */
.dfakt-home .wpcf7-form .dh-form-group { margin-bottom: 0.9rem; }
.dfakt-home .wpcf7-form input[type="text"],
.dfakt-home .wpcf7-form input[type="tel"],
.dfakt-home .wpcf7-form select,
.dfakt-home .wpcf7-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #ffffff;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.25s;
    appearance: none;
}
.dfakt-home .wpcf7-form input:focus,
.dfakt-home .wpcf7-form select:focus,
.dfakt-home .wpcf7-form textarea:focus { border-color: #EE7E28; }
.dfakt-home .wpcf7-form input::placeholder,
.dfakt-home .wpcf7-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.dfakt-home .wpcf7-form input[type="file"] {
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    cursor: pointer;
}
.dfakt-home .wpcf7-form .wpcf7-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}
.dfakt-home .wpcf7-form .wpcf7-not-valid-tip { color: #EE7E28; font-size: 0.8rem; }
.dfakt-home .wpcf7-form .wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    border: 1px solid rgba(238,126,40,0.3);
    color: rgba(255,255,255,0.7);
}
.wpcf7-response-output {
        margin-top: -50px !important;
    margin-bottom: 46px !important;
}
.dfakt-home .dh-form-row {
    display: flex;
    gap: 0.8rem;
}
.dfakt-home .dh-form-row p {
    flex: 1;
    margin: 0;
}
.dfakt-home .dh-form-row input {
    width: 100%;
    min-width: 0;
}
@media(max-width:1100px){.dfakt-blog-cat .blog-layout-container{grid-template-columns:1fr;}.dfakt-blog-cat .blog-sidebar{position:static;}}
@media(max-width:1100px){.dfakt-author .blog-layout-container{grid-template-columns:1fr;}.dfakt-author .blog-sidebar{position:static;}}
@media(max-width:1100px){.dfakt-single-post .blog-layout-container{grid-template-columns:1fr;}.dfakt-single-post .blog-sidebar{position:static;}}
@media(max-width:1100px){.dfakt-portfolio-page .blog-layout-container{grid-template-columns:1fr;}.dfakt-portfolio-page .blog-sidebar{position:static;}}
@media(max-width:1100px){.dfakt-blog .blog-layout-container{grid-template-columns:1fr;}.dfakt-blog .blog-sidebar{position:static;}}
@media(max-width:768px){.dfakt-blog-cat .blog-grid{grid-template-columns:1fr;}.dfakt-blog-cat .blog-layout-container{padding:2rem 1.2rem 5rem;}}
@media(max-width:768px){.dfakt-author .blog-grid{grid-template-columns:1fr;}.dfakt-author .blog-layout-container{padding:2rem 1.2rem 5rem;}}
@media(max-width:768px){.dfakt-single-post .blog-grid{grid-template-columns:1fr;}.dfakt-single-post .blog-layout-container{padding:2rem 1.2rem 5rem;}}
@media(max-width:768px){.dfakt-portfolio-page .blog-grid{grid-template-columns:1fr;}.dfakt-portfolio-page .blog-layout-container{padding:2rem 1.2rem 5rem;}}
@media(max-width:768px){.dfakt-blog .blog-grid{grid-template-columns:1fr;}.dfakt-blog .blog-layout-container{padding:2rem 1.2rem 5rem;}}

/* ================================================================
   НОВІ СТОРІНКИ — CONTACTS / ABOUT / SOLUTIONS / DESIGNERS / VALUES
   ================================================================ */

/* ===== SHARED TOKENS ===== */
.dfakt-contacts,.dfakt-about,.dfakt-solutions,.dfakt-designers,.dfakt-values {
  font-family:var(--font-body);background:var(--graphite-deep);
  color:var(--white);margin-top:-125px;
}
.dfakt-contacts {padding-top: 150px;}
.dfakt-contacts *,.dfakt-about *,.dfakt-solutions *,.dfakt-designers *,.dfakt-values * { box-sizing:border-box; }

/* Containers */
.con-container,.ab-container,.sln-container,.ds-container,.vl-container {
  max-width:1360px;margin:0 auto;padding:0 2rem;
}

/* Labels */
.con-label,.ab-label,.sln-label,.ds-label,.vl-label {
  display:inline-flex;align-items:center;gap:0.5rem;
  font-size:0.72rem;font-weight:600;letter-spacing:0.18em;
  text-transform:uppercase;color:var(--brick);margin-bottom:0.8rem;
}
.con-label::before,.ab-label::before,.sln-label::before,.ds-label::before,.vl-label::before {
  content:'';display:block;width:24px;height:2px;background:var(--brick);
}

/* Outline btn */
.btn-outline {
  display:inline-flex;align-items:center;gap:0.5rem;
  border:1px solid rgba(255,255,255,0.2);color:var(--white);
  padding:0.75rem 1.6rem;border-radius:50px;
  font-family:var(--font-body);font-size:0.9rem;font-weight:600;
  text-decoration:none;transition:all 0.25s;
}
.btn-outline:hover { border-color:var(--brick);color:var(--brick); }

/* Hero base */
.ab-hero,.sln-hero,.ds-hero,.vl-hero {
  position:relative;min-height:480px;display:flex;align-items:flex-end;
  overflow:hidden;background:var(--graphite);padding-top:125px;
}
.ab-hero-bg,.sln-hero-bg,.ds-hero-bg {
  position:absolute;inset:0;background-size:cover;background-position:center;
  transform:scale(1.04);animation:hpZoom 10s ease-out forwards;
}
@keyframes hpZoom { to { transform:scale(1); } }
.ab-hero-overlay,.sln-hero-overlay,.ds-hero-overlay {
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(30,28,26,0.95) 0%,rgba(30,28,26,0.5) 60%,rgba(30,28,26,0.1) 100%);
}
.ab-hero-content,.sln-hero-content,.ds-hero-content { position:relative;z-index:2;padding:4rem 0; }
.ab-hero-title,.sln-hero-title,.ds-hero-title,.vl-hero-title {
  font-family:var(--font-head);font-size:clamp(2rem,4.5vw,3.8rem);
  font-weight:900;color:var(--white);line-height:1.05;margin:0 0 1rem;
}
.ab-hero-text,.sln-hero-text,.ds-hero-text,.vl-hero-text {
  font-size:1.05rem;color:rgba(255,255,255,0.6);max-width:560px;line-height:1.7;margin:0 0 2rem;
}

/* Section titles */
.ab-section-title,.sln-section-title,.ds-section-title,.vl-section-title {
  font-family:var(--font-head);font-size:clamp(1.6rem,3vw,2.5rem);
  font-weight:900;color:var(--white);margin:0.5rem 0 3rem;line-height:1.1;
}

/* ============================================================
   CONTACTS
   ============================================================ */
.dfakt-contacts .con-hero {
  align-items:center;min-height:auto;padding-bottom:0rem;
}
.dfakt-contacts .con-hero-inner {
  display:grid;grid-template-columns:1fr 1fr;gap:5rem;
  align-items:center;padding:2rem 0 5rem;
}
.dfakt-contacts .con-title {
  font-family:var(--font-head);font-size:clamp(2rem,4vw,3.5rem);
  font-weight:900;color:var(--white);margin:0 0 1rem;line-height:1.05;
}
.dfakt-contacts .con-subtext { font-size:1rem;color:rgba(255,255,255,0.55);line-height:1.7;margin:0 0 2.5rem; }
.dfakt-contacts .con-info-list { display:flex;flex-direction:column;gap:1.2rem;margin-bottom:2rem; }
.dfakt-contacts .con-info-item {
  display:flex;align-items:center;gap:1rem;text-decoration:none;color:inherit;
  background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--radius-md);padding:1rem 1.3rem;transition:border-color 0.25s;
}
.dfakt-contacts .con-info-item:hover { border-color:rgba(238,126,40,0.3); }
.dfakt-contacts .con-info-icon {
  width:44px;height:44px;border-radius:var(--radius-sm);
  background:rgba(238,126,40,0.12);color:var(--brick);
  display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0;
}
.dfakt-contacts .con-info-label { font-size:0.75rem;color:rgba(255,255,255,0.4);font-weight:600;text-transform:uppercase;letter-spacing:0.08em; }
.dfakt-contacts .con-info-value { font-size:0.95rem;color:var(--white);font-weight:500;margin-top:2px; }
.dfakt-contacts .con-socials { display:flex;gap:0.8rem; }
.dfakt-contacts .con-social-btn {
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,0.07);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;text-decoration:none;transition:all 0.25s;
}
.dfakt-contacts .con-social-btn:hover { background:var(--brick); }
.dfakt-contacts .con-form-wrap {
  background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);padding:2.5rem;
}
.dfakt-contacts .con-form-placeholder { text-align:center;padding:4rem 2rem;color:rgba(255,255,255,0.3); }
.dfakt-contacts .con-form-placeholder i { font-size:2.5rem;margin-bottom:1rem;display:block; }
.dfakt-contacts .con-map iframe { display:block;width:100%;height:420px;border:0;filter:grayscale(20%); }
/* CF7 in contacts */
.dfakt-contacts .wpcf7-form input[type="text"],
.dfakt-contacts .wpcf7-form input[type="tel"],
.dfakt-contacts .wpcf7-form input[type="email"],
.dfakt-contacts .wpcf7-form select,
.dfakt-contacts .wpcf7-form textarea {
  width:100%;background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-sm);color:var(--white);padding:0.85rem 1.2rem;
  font-size:0.9rem;font-family:var(--font-body);outline:none;
  transition:border-color 0.25s;margin-bottom:0.9rem;
}
.dfakt-contacts .wpcf7-form input:focus,.dfakt-contacts .wpcf7-form textarea:focus { border-color:var(--brick); }
.dfakt-contacts .wpcf7-form input::placeholder,.dfakt-contacts .wpcf7-form textarea::placeholder { color:rgba(255,255,255,0.3); }
.dfakt-contacts .wpcf7-form .wpcf7-submit {
  width:100%;background:var(--brick);color:#fff;border:none;border-radius:50px;
  padding:1rem;font-family:var(--font-body);font-size:1rem;font-weight:600;
  cursor:pointer;transition:background 0.25s;
}
.dfakt-contacts .wpcf7-form .wpcf7-submit:hover { background:var(--brick-dark); }

/* ============================================================
   ABOUT
   ============================================================ */
.ab-stats-section { background:#252220;padding:4rem 0; }
.ab-stats-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:2rem; }
.ab-stat { text-align:center; }
.ab-stat-num { font-family:var(--font-head);font-size:2.5rem;font-weight:900;color:var(--brick); }
.ab-stat-label { font-size:0.88rem;color:rgba(255,255,255,0.5);margin-top:0.4rem; }
.ab-story-section { padding:7rem 0; }
.ab-story-grid { display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center; }
.ab-story-body { font-size:1rem;color:rgba(255,255,255,0.65);line-height:1.8;margin:1.5rem 0 2rem; }
.ab-mission-box {
  display:flex;gap:1rem;align-items:flex-start;
  background:rgba(238,126,40,0.07);border:1px solid rgba(238,126,40,0.18);
  border-radius:var(--radius-md);padding:1.3rem 1.5rem;
}
.ab-mission-icon { color:var(--brick);font-size:1.3rem;flex-shrink:0;margin-top:2px; }
.ab-mission-label { font-size:0.78rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--brick);margin-bottom:0.3rem; }
.ab-mission-text { font-size:0.9rem;color:rgba(255,255,255,0.7);line-height:1.6; }
.ab-story-img-wrap { border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/3; }
.ab-story-img { width:100%;height:100%;object-fit:cover;display:block; }
.ab-values-section { background:#252220;padding:7rem 0; }
.ab-values-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin-top:2rem; }
.ab-value-card {
  background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--radius-lg);padding:2rem;transition:border-color 0.25s;
}
.ab-value-card:hover { border-color:rgba(238,126,40,0.25); }
.ab-value-icon { color:var(--brick);font-size:1.8rem;margin-bottom:1.2rem; }
.ab-value-title { font-family:var(--font-head);font-size:0.95rem;font-weight:700;color:var(--white);margin-bottom:0.6rem; }
.ab-value-text { font-size:0.85rem;color:rgba(255,255,255,0.5);line-height:1.65; }
.ab-team-section { padding:7rem 0; }
.ab-team-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:2rem; }
.ab-team-card { text-align:center; }
.ab-team-photo {
  width:120px;height:120px;border-radius:50%;overflow:hidden;
  margin:0 auto 1.2rem;background:rgba(255,255,255,0.06);
  border:3px solid rgba(238,126,40,0.3);
}
.ab-team-photo img { width:100%;height:100%;object-fit:cover; }
.ab-team-initials {
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-head);font-size:2rem;font-weight:900;color:var(--brick);
}
.ab-team-name { font-family:var(--font-head);font-size:0.95rem;font-weight:700;color:var(--white);margin-bottom:0.3rem; }
.ab-team-role { font-size:0.82rem;color:rgba(255,255,255,0.45); }
.ab-cta-section { background:var(--brick);padding:6rem 0; }
.ab-cta-inner { text-align:center; }
.ab-cta-title { font-family:var(--font-head);font-size:clamp(1.8rem,3vw,2.8rem);font-weight:900;color:#fff;margin:0 0 1rem; }
.ab-cta-text { font-size:1rem;color:rgba(255,255,255,0.8);margin:0 0 2.5rem;line-height:1.7; }
.ab-cta-section .btn { background:#fff;color:var(--brick);border:none; }
.ab-cta-section .btn:hover { background:rgba(255,255,255,0.9); }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.sln-hero { min-height:60vh; }
.sln-cats-section { padding:5rem 0; }
.sln-cats-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem; }
.sln-cat-card {
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  aspect-ratio:4/3;display:block;text-decoration:none;
  background:#252220;
}
.sln-cat-img { width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.6s var(--ease); }
.sln-cat-card:hover .sln-cat-img { transform:scale(1.06); }
.sln-cat-overlay {
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(30,28,26,0.95) 0%,rgba(30,28,26,0.2) 60%,transparent 100%);
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:1.8rem;transition:background 0.3s;
}
.sln-cat-count { font-size:0.75rem;font-weight:600;color:var(--brick);text-transform:uppercase;letter-spacing:0.1em;margin-bottom:0.4rem; }
.sln-cat-name { font-family:var(--font-head);font-size:1.1rem;font-weight:700;color:#fff;margin-bottom:0.5rem; }
.sln-cat-desc { font-size:0.85rem;color:rgba(255,255,255,0.6);line-height:1.5;margin-bottom:1rem; }
.sln-cat-link { display:inline-flex;align-items:center;gap:0.4rem;font-size:0.82rem;font-weight:600;color:var(--brick);transition:gap 0.25s; }
.sln-cat-card:hover .sln-cat-link { gap:0.7rem; }
.sln-products-section { padding:4rem 0 7rem;background:#1a1816; }
.sln-section-header { display:flex;flex-direction:column;margin-bottom:2.5rem; }
.sln-section-title { font-family:var(--font-head);font-size:clamp(1.6rem,3vw,2.5rem);font-weight:900;color:var(--white);margin:0.5rem 0 0; }
.sln-products-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem; }
.sln-prod-card {
  background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;
  color:inherit;display:flex;flex-direction:column;transition:all 0.3s var(--ease);
}
.sln-prod-card:hover { transform:translateY(-6px);border-color:rgba(238,126,40,0.25);box-shadow:0 20px 40px rgba(0,0,0,0.35); }
.sln-prod-img { position:relative;padding-top:60%;overflow:hidden;background:#222; }
.sln-prod-img img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.5s; }
.sln-prod-card:hover .sln-prod-img img { transform:scale(1.06); }
.sln-prod-no-img { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.1);font-size:2rem; }
.sln-prod-badge { position:absolute;top:1rem;left:1rem;background:var(--brick);color:#fff;font-size:0.72rem;font-weight:700;padding:3px 10px;border-radius:20px; }
.sln-prod-body { padding:1.5rem;flex-grow:1;display:flex;flex-direction:column; }
.sln-prod-name { font-family:var(--font-head);font-size:0.95rem;font-weight:700;color:var(--white);margin-bottom:0.5rem; }
.sln-prod-desc { font-size:0.85rem;color:rgba(255,255,255,0.5);line-height:1.65;flex-grow:1;margin-bottom:1rem; }
.sln-prod-link { font-size:0.82rem;font-weight:600;color:var(--brick);display:inline-flex;align-items:center;gap:0.4rem;transition:gap 0.25s; }
.sln-prod-card:hover .sln-prod-link { gap:0.7rem; }
.sln-cta-section { background:var(--brick);padding:5rem 0; }
.sln-cta-inner { display:flex;align-items:center;justify-content:space-between;gap:3rem;flex-wrap:wrap; }
.sln-cta-title { font-family:var(--font-head);font-size:clamp(1.5rem,2.5vw,2rem);font-weight:900;color:#fff;margin:0 0 0.6rem; }
.sln-cta-text { font-size:0.95rem;color:rgba(255,255,255,0.8);line-height:1.65;margin:0; }
.sln-cta-section .btn { background:#fff;color:var(--brick);flex-shrink:0; }
.sln-cta-section .btn:hover { background:rgba(255,255,255,0.9); }

/* ============================================================
   DESIGNERS
   ============================================================ */
.ds-hero { min-height:70vh; }
.ds-benefits-section { padding:4rem 0; }
.ds-benefits-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2rem; }
.ds-benefit-card {
  background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--radius-lg);padding:2rem;transition:all 0.3s;
}
.ds-benefit-card:hover { border-color:rgba(238,126,40,0.25);transform:translateY(-4px); }
.ds-benefit-icon { color:var(--brick);font-size:1.8rem;margin-bottom:1.2rem; }
.ds-benefit-title { font-family:var(--font-head);font-size:0.95rem;font-weight:700;color:var(--white);margin-bottom:0.6rem; }
.ds-benefit-text { font-size:0.85rem;color:rgba(255,255,255,0.5);line-height:1.65; }
.ds-process-section { background:#252220;padding:7rem 0; }
.ds-section-title { font-family:var(--font-head);font-size:clamp(1.6rem,3vw,2.5rem);font-weight:900;color:var(--white);margin:0.5rem 0 3rem;line-height:1.1; }
section#ds-contact {
        margin-bottom: 0px;
}
.ds-steps { display:flex;flex-direction:column;gap:0; }
.ds-step {
  display:flex;gap:2rem;align-items:flex-start;
  padding:2rem 0;border-bottom:1px solid rgba(255,255,255,0.06);
  transition:background 0.2s;
}
.ds-step:last-child { border-bottom:none; }
.ds-step:hover { background:rgba(238,126,40,0.04);margin:0 -2rem;padding-left:2rem;padding-right:2rem; }
.ds-step-num { font-family:var(--font-head);font-size:2rem;font-weight:900;color:var(--brick);opacity:0.5;flex-shrink:0;width:60px; }
.ds-step-title { font-family:var(--font-head);font-size:1rem;font-weight:700;color:var(--white);margin-bottom:0.4rem; }
.ds-step-text { font-size:0.9rem;color:rgba(255,255,255,0.5);line-height:1.65; }
.ds-portfolio-section { padding:7rem 0; }
.ds-section-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:2.5rem; }
.ds-portfolio-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem; }
.ds-port-card { position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/9;display:block;text-decoration:none; }
.ds-port-card img { width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.5s; }
.ds-port-card:hover img { transform:scale(1.06); }
.ds-port-overlay {
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(30,28,26,0.85) 0%,transparent 60%);
  display:flex;align-items:flex-end;padding:1.5rem;
}
.ds-port-name { font-family:var(--font-head);font-size:0.9rem;font-weight:700;color:#fff; }
.ds-contact-section { background:#1a1816;padding:7rem 0; }
.ds-contact-grid { display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start; }
.ds-contact-title { font-family:var(--font-head);font-size:clamp(1.8rem,3vw,2.5rem);font-weight:900;color:var(--white);margin:0.5rem 0 1rem; }
.ds-contact-subtext { font-size:1rem;color:rgba(255,255,255,0.55);line-height:1.7; }
.ds-contact-form { background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:var(--radius-lg);padding:2.5rem; }
/* CF7 in designers */
.dfakt-designers .wpcf7-form input[type="text"],
.dfakt-designers .wpcf7-form input[type="tel"],
.dfakt-designers .wpcf7-form input[type="email"],
.dfakt-designers .wpcf7-form textarea {
  width:100%;background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-sm);color:var(--white);padding:0.85rem 1.2rem;
  font-size:0.9rem;font-family:var(--font-body);outline:none;transition:border-color 0.25s;margin-bottom:0.9rem;
}
.dfakt-designers .wpcf7-form input:focus,.dfakt-designers .wpcf7-form textarea:focus { border-color:var(--brick); }
.dfakt-designers .wpcf7-form input::placeholder,.dfakt-designers .wpcf7-form textarea::placeholder { color:rgba(255,255,255,0.3); }
.dfakt-designers .wpcf7-form .wpcf7-submit {
  width:100%;background:var(--brick);color:#fff;border:none;border-radius:50px;
  padding:1rem;font-family:var(--font-body);font-size:1rem;font-weight:600;cursor:pointer;transition:background 0.25s;
}
.dfakt-designers .wpcf7-form .wpcf7-submit:hover { background:var(--brick-dark); }

/* ============================================================
   VALUES
   ============================================================ */
.dfakt-values .vl-hero { min-height:40vh;align-items:center;padding-bottom:4rem;background:linear-gradient(135deg,#1e1c1a 0%,#543c28 100%); }
.dfakt-values .vl-hero-title { max-width:800px; }
.vl-values-section { padding:6rem 0; }
.vl-values-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2rem; }
.vl-value-card--wide { grid-column:span 2; }
.vl-value-card {
  background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--radius-lg);padding:2.2rem;
  transition:border-color 0.25s,transform 0.25s;
}
.vl-value-card:hover { border-color:rgba(238,126,40,0.25);transform:translateY(-4px); }
.vl-value-icon { font-size:2rem;margin-bottom:1.2rem; }
.vl-value-title { font-family:var(--font-head);font-size:1rem;font-weight:700;color:var(--white);margin-bottom:0.6rem; }
.vl-value-text { font-size:0.88rem;color:rgba(255,255,255,0.5);line-height:1.7; }
.vl-quote-section { background:#252220;padding:7rem 0; }
.vl-quote { max-width:760px;margin:0 auto;text-align:center;border:none;padding:0; }
.vl-quote-mark { font-family:var(--font-head);font-size:6rem;line-height:0.5;color:var(--brick);opacity:0.4;margin-bottom:1.5rem; }
.vl-quote-text { font-family:var(--font-head);font-size:clamp(1.2rem,2.5vw,1.8rem);font-weight:700;color:var(--white);line-height:1.4;margin-bottom:1.5rem; }
.vl-quote-author { font-size:0.9rem;color:rgba(255,255,255,0.4);font-style:normal; }
.vl-cta-section { background:var(--brick);padding:6rem 0; }
.vl-cta-inner { text-align:center; }
.vl-cta-title { font-family:var(--font-head);font-size:clamp(1.8rem,3vw,2.8rem);font-weight:900;color:#fff;margin:0 0 2rem; }
.vl-cta-section .btn { background:#fff;color:var(--brick); }
.vl-cta-section .btn:hover { background:rgba(255,255,255,0.9); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px) {
  .dfakt-contacts .con-hero-inner { grid-template-columns:1fr;gap:3rem; }
  .ab-story-grid { grid-template-columns:1fr;gap:3rem; }
  .ab-stats-grid { grid-template-columns:repeat(2,1fr); }
  .ab-values-grid { grid-template-columns:repeat(2,1fr); }
  .ab-team-grid { grid-template-columns:repeat(2,1fr); }
  .sln-cats-grid,.sln-products-grid { grid-template-columns:repeat(2,1fr); }
  .ds-benefits-grid { grid-template-columns:repeat(2,1fr); }
  .ds-contact-grid { grid-template-columns:1fr;gap:3rem; }
  .ds-portfolio-grid { grid-template-columns:1fr; }
  .vl-values-grid { grid-template-columns:repeat(2,1fr); }
  .vl-value-card--wide { grid-column:span 1; }
}
@media (max-width:640px) {
  .ab-stats-grid,.ab-values-grid,.ab-team-grid { grid-template-columns:1fr; }
  .sln-cats-grid,.sln-products-grid { grid-template-columns:1fr; }
  .sln-cta-inner { flex-direction:column;text-align:center; }
  .ds-benefits-grid { grid-template-columns:1fr; }
  .vl-values-grid { grid-template-columns:1fr; }
}

/* ===== ABOUT — додаткові елементи ===== */
.ab-story-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.ab-section-title {
  font-family:var(--font-head); font-size:clamp(1.6rem,3vw,2.4rem);
  font-weight:900; color:var(--white); line-height:1.15; margin:0.5rem 0 2rem;
}
.ab-story-right { display:flex; flex-direction:column; gap:2rem; }
.ab-story-img-wrap { border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/3; }
.ab-story-img { width:100%; height:100%; object-fit:cover; display:block; }

/* Offers list */
.ab-offers { margin:2rem 0; }
.ab-offer-title { font-family:var(--font-head); font-size:0.85rem; font-weight:700; color:var(--brick); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:0.8rem; }
.ab-offer-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0.55rem; }
.ab-offer-list li { display:flex; align-items:center; gap:0.7rem; font-size:0.92rem; color:rgba(255,255,255,0.75); }
.ab-offer-list li i { color:var(--brick); font-size:0.8rem; flex-shrink:0; }

/* Highlights box */
.ab-highlights { display:flex; flex-direction:column; gap:0; }
.ab-highlight {
  display:flex; align-items:center; gap:1.2rem;
  padding:1.1rem 1.3rem;
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition:background 0.2s;
}
.ab-highlight:first-child { border-radius:var(--radius-md) var(--radius-md) 0 0; border-top:1px solid rgba(255,255,255,0.06); }
.ab-highlight:last-child  { border-radius:0 0 var(--radius-md) var(--radius-md); }
.ab-highlight:hover { background:rgba(238,126,40,0.05); }
.ab-highlight > i { color:var(--brick); font-size:1.2rem; width:24px; text-align:center; flex-shrink:0; }
.ab-highlight div { display:flex; flex-direction:column; gap:2px; }
.ab-highlight strong { font-size:0.9rem; font-weight:700; color:var(--white); }
.ab-highlight span { font-size:0.8rem; color:rgba(255,255,255,0.4); }

/* Responsive */
@media (max-width:1024px) {
  .ab-story-grid { grid-template-columns:1fr; gap:3rem; }
  .ab-story-right { flex-direction:row; flex-wrap:wrap; }
  .ab-story-img-wrap { flex:1 1 300px; }
  .ab-highlights { flex:1 1 280px; }
}
@media (max-width:640px) {
  .ab-story-right { flex-direction:column; }
}

/* ===== SOLUTIONS — детальні описи ===== */
.sln-detail-section { padding:5rem 0 6rem; background:var(--graphite-deep); }
.sln-detail-item {
  display:grid; grid-template-columns:200px 1fr; gap:4rem;
  align-items:center; padding:4rem 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.sln-detail-item:last-child { border-bottom:none; }
.sln-detail-item--reverse { direction:rtl; }
.sln-detail-item--reverse > * { direction:ltr; }
.sln-detail-icon-wrap { display:flex; align-items:center; justify-content:center; }
.sln-detail-big-icon {
  width:140px; height:140px; border-radius:var(--radius-lg);
  background:rgba(238,126,40,0.08); border:1px solid rgba(238,126,40,0.15);
  display:flex; align-items:center; justify-content:center;
  font-size:3.5rem; transition:all 0.3s;
}
.sln-detail-item:hover .sln-detail-big-icon {
  background:rgba(238,126,40,0.14); transform:scale(1.04);
}
.sln-detail-title {
  font-family:var(--font-head); font-size:clamp(1.2rem,2vw,1.7rem);
  font-weight:900; color:var(--white); margin:0 0 1rem; line-height:1.2;
}
.sln-detail-lead { font-size:1rem; color:rgba(255,255,255,0.6); line-height:1.75; margin:0 0 1.5rem; }
.sln-detail-points { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0.6rem; }
.sln-detail-points li { display:flex; align-items:center; gap:0.7rem; font-size:0.92rem; color:rgba(255,255,255,0.75); }
.sln-detail-points li i { color:var(--brick); font-size:0.8rem; flex-shrink:0; }

@media (max-width:768px) {
  .sln-detail-item { grid-template-columns:1fr; gap:2rem; direction:ltr !important; }
  .sln-detail-item--reverse { direction:ltr; }
  .sln-detail-big-icon { width:90px; height:90px; font-size:2.2rem; }
}


/* ================================================================
   НОВІ СТОРІНКИ v2 — ABOUT / SOLUTIONS / VALUES
   ================================================================ */

/* ─── SHARED TOKENS ─── */
.dfakt-about,.dfakt-solutions,.dfakt-values {
  --br:#EE7E28; --br-d:#c25934; --g:#2C2C2C; --gd:#543c28;
  --sand:#D9D0BF; --w:#fff;
  --rlg:24px; --rmd:16px; --rsm:10px;
  --ease:cubic-bezier(0.4,0,0.2,1);
  --fh:'Unbounded',sans-serif; --fb:'Manrope',sans-serif;
  font-family:var(--fb); background:var(--gd); color:var(--w);
  margin-top:-125px;
}
.dfakt-about *,.dfakt-solutions *,.dfakt-values * { box-sizing:border-box; }
.ab2-wrap,.sl2-wrap,.vl2-wrap { max-width:1360px; margin:0 auto; padding:0 2rem; }

/* ─── EYEBROW ─── */
.ab2-eyebrow,.sl2-eyebrow,.vl2-eyebrow {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-size:0.72rem; font-weight:700; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--br); margin-bottom:1rem;
}
.ab2-eyebrow::before,.sl2-eyebrow::before,.vl2-eyebrow::before {
  content:''; width:20px; height:2px; background:var(--br); display:block;
}

/* ─── HEADINGS ─── */
.ab2-h1,.sl2-h1,.vl2-h1 {
  font-family:var(--fh); font-size:clamp(2.2rem,5vw,4rem);
  font-weight:900; color:var(--w); line-height:1.02; margin:0 0 1.2rem;
}
.ab2-h2,.sl2-h2,.vl2-h2 {
  font-family:var(--fh); font-size:clamp(1.6rem,3vw,2.6rem);
  font-weight:900; color:var(--w); line-height:1.1; margin:0.4rem 0 1.5rem;
}

/* ─── BUTTONS ─── */
.ab2-btn-primary,.sl2-btn,.vl2-cta-btn {
  display:inline-flex; align-items:center; gap:0.6rem;
  background:var(--br); color:#fff; padding:0.9rem 2rem;
  border:none; border-radius:50px; font-family:var(--fb);
  font-size:0.95rem; font-weight:600; cursor:pointer;
  text-decoration:none; transition:all 0.25s;
}
.ab2-btn-primary:hover,.sl2-btn:hover,.vl2-cta-btn:hover { background:var(--br-d); transform:translateY(-2px); box-shadow:0 8px 24px rgba(238,126,40,0.3); }
.ab2-btn-white,.sl2-btn-white {
  display:inline-flex; align-items:center; gap:0.6rem;
  background:#fff; color:var(--br); padding:0.9rem 2rem;
  border:none; border-radius:50px; font-family:var(--fb);
  font-size:0.95rem; font-weight:600; cursor:pointer; transition:all 0.25s;
}
.ab2-btn-white:hover,.sl2-btn-white:hover { background:rgb(179 71 6 / 94%); transform:translateY(-2px); }
.sl2-btn-outline {
  display:inline-flex; align-items:center; gap:0.6rem;
  border:1.5px solid rgba(255,255,255,0.2); color:var(--w);
  padding:0.85rem 2rem; border-radius:50px; font-family:var(--fb);
  font-size:0.9rem; font-weight:600; text-decoration:none; transition:all 0.25s;
}
.sl2-btn-outline:hover { border-color:var(--br); color:var(--br); }

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
/* Hero */
.ab2-hero {
  position:relative; min-height:92vh; display:flex; align-items:center;
  overflow:hidden; background:var(--g);
}
.ab2-hero-bg {
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform:scale(1.05); animation:ab2zoom 12s ease-out forwards;
}
@keyframes ab2zoom { to { transform:scale(1); } }
.ab2-hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(30,28,26,0.92) 0%, rgba(30,28,26,0.6) 55%, rgba(30,28,26,0.2) 100%);
}
.ab2-hero-inner {
  position:relative; z-index:2;
  display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center;
  padding:7rem 0 5rem;
}
.ab2-hero-lead { font-size:1.05rem; color:rgba(255,255,255,0.65); line-height:1.75; margin:0 0 2.5rem; max-width:500px; }
.ab2-hero-stats { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.ab2-stat {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
  border-radius:var(--rmd); padding:1.8rem 1.5rem; text-align:center;
  backdrop-filter:blur(10px); transition:border-color 0.25s;
}
.ab2-stat:hover { border-color:rgba(238,126,40,0.3); }
.ab2-stat-n { font-family:var(--fh); font-size:2.2rem; font-weight:900; color:var(--br); }
.ab2-stat-l { font-size:0.82rem; color:rgba(255,255,255,0.5); margin-top:0.4rem; }

/* Story */
.ab2-story { padding:8rem 0; }
.ab2-story-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.ab2-story-img-frame {
  position:relative; border-radius:var(--rlg); overflow:hidden; aspect-ratio:4/3;
  margin-bottom:1.5rem;
}
.ab2-story-img-frame img { width:100%; height:100%; object-fit:cover; display:block; }
.ab2-img-badge {
  position:absolute; bottom:1.2rem; left:1.2rem;
  background:rgba(30,28,26,0.85); backdrop-filter:blur(10px);
  color:#fff; padding:0.5rem 1rem; border-radius:20px;
  font-size:0.8rem; font-weight:600; display:flex; align-items:center; gap:0.4rem;
}
.ab2-img-badge i { color:var(--br); }
.ab2-mission-card {
  display:flex; gap:1rem; align-items:flex-start;
  background:rgba(238,126,40,0.07); border:1px solid rgba(238,126,40,0.2);
  border-radius:var(--rmd); padding:1.3rem 1.5rem;
}
.ab2-mission-icon { color:var(--br); font-size:1.3rem; flex-shrink:0; margin-top:2px; }
.ab2-mission-card p { font-size:0.9rem; color:rgba(255,255,255,0.75); line-height:1.65; margin:0; font-style:italic; }
.ab2-story-body { font-size:0.98rem; color:rgba(255,255,255,0.65); line-height:1.8; margin:0 0 2rem; }
.ab2-story-body p { margin-bottom:1rem; }
/* Offers */
.ab2-offers { margin-bottom:2.5rem; }
.ab2-offers-title { font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:var(--br); margin-bottom:0.8rem; }
.ab2-offers-grid { display:flex; flex-wrap:wrap; gap:0.5rem; }
.ab2-offer-chip {
  display:inline-flex; align-items:center; gap:0.4rem;
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
  border-radius:20px; padding:0.4rem 0.9rem; font-size:0.82rem; color:rgba(255,255,255,0.75);
  transition:all 0.2s;
}
.ab2-offer-chip:hover { border-color:rgba(238,126,40,0.3); color:#fff; }
.ab2-offer-chip i { color:var(--br); font-size:0.7rem; }
/* Highlights */
.ab2-highlights-row { display:grid; grid-template-columns:1fr 1fr; gap:0.8rem; }
.ab2-hl {
  display:flex; align-items:center; gap:0.8rem;
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--rsm); padding:1rem;
}
.ab2-hl i { color:var(--br); font-size:1rem; flex-shrink:0; width:20px; text-align:center; }
.ab2-hl div { display:flex; flex-direction:column; gap:1px; }
.ab2-hl strong { font-size:0.85rem; font-weight:700; color:#fff; }
.ab2-hl span { font-size:0.75rem; color:rgba(255,255,255,0.4); }

/* Values */
.ab2-values { padding:7rem 0; background:#221f1c; }
.ab2-section-head { margin-bottom:3rem; }
.ab2-vals-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; }
.ab2-val-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--rlg); padding:2rem; transition:all 0.3s;
}
.ab2-val-card:hover { border-color:rgba(238,126,40,0.25); transform:translateY(-5px); }
.ab2-val-icon { font-size:1.8rem; color:var(--br); margin-bottom:1.2rem; }
.ab2-val-title { font-family:var(--fh); font-size:0.9rem; font-weight:700; color:#fff; margin-bottom:0.6rem; }
.ab2-val-text { font-size:0.84rem; color:rgba(255,255,255,0.5); line-height:1.65; }

/* Team */
.ab2-team { padding:7rem 0; }
.ab2-team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; margin-top:2rem; }
.ab2-team-card { text-align:center; }
.ab2-team-photo { width:100px; height:100px; border-radius:50%; overflow:hidden; margin:0 auto 1rem; background:rgba(255,255,255,0.07); border:3px solid rgba(238,126,40,0.3); }
.ab2-team-photo img { width:100%; height:100%; object-fit:cover; }
.ab2-team-init { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-family:var(--fh); font-size:1.8rem; font-weight:900; color:var(--br); }
.ab2-team-name { font-family:var(--fh); font-size:0.88rem; font-weight:700; color:#fff; margin-bottom:0.3rem; }
.ab2-team-role { font-size:0.8rem; color:rgba(255,255,255,0.45); }

/* CTA */
.ab2-cta { background:var(--br); padding:5rem 0; }
.ab2-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:4rem; flex-wrap:wrap; }
.ab2-cta-title { font-family:var(--fh); font-size:clamp(1.5rem,2.5vw,2.2rem); font-weight:900; color:#fff; margin:0 0 0.5rem; }
.ab2-cta-sub { font-size:0.95rem; color:rgba(255,255,255,0.8); margin:0; line-height:1.65; }

/* ════════════════════════════════
   SOLUTIONS
════════════════════════════════ */
.sl2-hero {
  position:relative; min-height:55vh; display:flex; align-items:flex-end;
  overflow:hidden; background:var(--g);
}
.sl2-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; transform:scale(1.04); animation:sl2zoom 12s ease-out forwards; }
@keyframes sl2zoom { to { transform:scale(1); } }
.sl2-hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(42,32,24,1) 0%, rgba(42,32,24,0.55) 50%, rgba(42,32,24,0.1) 100%);
}
.sl2-hero-inner { position:relative; z-index:2; padding:5rem 0 4rem; max-width:680px; }
.sl2-hero-lead { font-size:1.05rem; color:rgba(255,255,255,0.65); line-height:1.75; margin:0; }

/* Solution cards */
.sl2-cards-section { padding:7rem 0; }
.sl2-card {
  display:grid; grid-template-columns:280px 1fr; gap:5rem;
  align-items:center; padding:5rem 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.sl2-card:last-child { border-bottom:none; }
.sl2-card--flip { direction:rtl; }
.sl2-card--flip > * { direction:ltr; }
.sl2-card-icon-col { display:flex; align-items:center; justify-content:center; }
.sl2-card-icon-wrap {
  width:180px; height:180px; border-radius:var(--rlg);
  background:rgba(238,126,40,0.08); border:1px solid rgba(238,126,40,0.18);
  display:flex; align-items:center; justify-content:center;
  font-size:4rem; color:var(--br); transition:all 0.35s;
}
.sl2-card:hover .sl2-card-icon-wrap {
  background:rgba(238,126,40,0.14); transform:scale(1.06) rotate(3deg);
  box-shadow:0 20px 50px rgba(238,126,40,0.15);
}
.sl2-card-tag { display:inline-block; font-size:0.72rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--br); background:rgba(238,126,40,0.1); border-radius:20px; padding:0.3rem 0.9rem; margin-bottom:1rem; }
.sl2-card-title { font-family:var(--fh); font-size:clamp(1.4rem,2.5vw,2rem); font-weight:900; color:#fff; margin:0 0 1rem; line-height:1.15; }
.sl2-card-lead { font-size:1rem; color:rgba(255,255,255,0.6); line-height:1.75; margin:0 0 1.5rem; }
.sl2-card-points { list-style:none; padding:0; margin:0 0 2rem; display:flex; flex-direction:column; gap:0.6rem; }
.sl2-card-points li { display:flex; align-items:center; gap:0.7rem; font-size:0.92rem; color:rgba(255,255,255,0.75); }
.sl2-card-points li i { color:var(--br); font-size:0.8rem; flex-shrink:0; }

/* Products section */
.sl2-products-section { padding:5rem 0 6rem; background:#221f1c; }
.sl2-products-head { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:2.5rem; }
.sl2-products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.sl2-prod-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--rlg); overflow:hidden; text-decoration:none; color:inherit;
  display:flex; flex-direction:column; transition:all 0.3s var(--ease);
}
.sl2-prod-card:hover { transform:translateY(-6px); border-color:rgba(238,126,40,0.25); box-shadow:0 20px 40px rgba(0,0,0,0.3); }
.sl2-prod-img { position:relative; padding-top:65%; overflow:hidden; background:#1e1e1e; }
.sl2-prod-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform 0.5s; }
.sl2-prod-card:hover .sl2-prod-img img { transform:scale(1.06); }
.sl2-prod-no-img { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.1); font-size:2rem; }
.sl2-prod-badge { position:absolute; top:1rem; left:1rem; background:var(--br); color:#fff; font-size:0.7rem; font-weight:700; padding:3px 10px; border-radius:20px; }
.sl2-prod-body { padding:1.4rem; flex-grow:1; display:flex; flex-direction:column; }
.sl2-prod-name { font-family:var(--fh); font-size:0.9rem; font-weight:700; color:#fff; margin-bottom:0.4rem; }
.sl2-prod-desc { font-size:0.83rem; color:rgba(255,255,255,0.5); line-height:1.6; flex-grow:1; margin-bottom:0.9rem; }
.sl2-prod-link { font-size:0.8rem; font-weight:600; color:var(--br); display:inline-flex; align-items:center; gap:0.4rem; transition:gap 0.2s; }
.sl2-prod-card:hover .sl2-prod-link { gap:0.7rem; }
.sl2-all-link { text-align:center; margin-top:3rem; }

/* CTA */
.sl2-cta { background:var(--br); padding:5rem 0; }
.sl2-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:3rem; flex-wrap:wrap; }
.sl2-cta-title { font-family:var(--fh); font-size:clamp(1.4rem,2.5vw,2rem); font-weight:900; color:#fff; margin:0 0 0.5rem; }
.sl2-cta-sub { font-size:0.95rem; color:rgba(255,255,255,0.8); margin:0; line-height:1.65; }

/* ════════════════════════════════
   VALUES
════════════════════════════════ */
.vl2-hero {
  min-height:50vh; display:flex; flex-direction:column; justify-content:flex-end;
  padding:125px 0 5rem; overflow:hidden;
  background:linear-gradient(135deg, #543c28 0%, #1e1c1a 60%, #543c28 100%);
  position:relative;
}
.vl2-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 70% 50%, rgba(238,126,40,0.12) 0%, transparent 65%);
}
.vl2-wrap { max-width:1360px; margin:0 auto; padding:0 2rem; position:relative; z-index:1; }
.vl2-lead { font-size:1.05rem; color:rgba(255,255,255,0.6); max-width:600px; line-height:1.75; margin:0; }

/* Bento grid */
.vl2-values-section { padding:7rem 0; }
.vl2-bento {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.2rem;
}
/* Ряд 1: картка 1 широка (2/3) + картка 2 звичайна (1/3) */
.vl2-bento-card:nth-child(1) { grid-column:span 2; }
.vl2-bento-card:nth-child(2) { grid-column:span 1; }
/* Ряд 2: три рівні картки */
.vl2-bento-card:nth-child(3),
.vl2-bento-card:nth-child(4),
.vl2-bento-card:nth-child(5) { grid-column:span 1; }
/* Прибираємо старий клас wide — більше не потрібен */
.vl2-bento-wide { grid-column:unset; }
.vl2-bento-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);
  border-radius:var(--rlg); padding:2.2rem; transition:all 0.3s;
}
.vl2-bento-card:hover { border-color:rgba(238,126,40,0.25); transform:translateY(-4px); }
.vl2-bento-icon { font-size:2rem; margin-bottom:1.2rem; }
.vl2-bento-title { font-family:var(--fh); font-size:1rem; font-weight:700; color:#fff; margin-bottom:0.6rem; }
.vl2-bento-text { font-size:0.87rem; color:rgba(255,255,255,0.5); line-height:1.7; }

/* Quote */
.vl2-quote-section { padding:7rem 0; background:#221f1c; }
.vl2-quote-block { max-width:800px; margin:0 auto; text-align:center; }
.vl2-quote-mark { font-family:var(--fh); font-size:7rem; line-height:0.6; color:var(--br); opacity:0.3; margin-bottom:2rem; }
.vl2-quote-text { font-family:var(--fh); font-size:clamp(1.1rem,2.2vw,1.6rem); font-weight:700; color:#fff; line-height:1.45; margin:0 0 1.5rem; font-style:normal; }
.vl2-quote-author { font-size:0.9rem; color:rgba(255,255,255,0.4); font-style:normal; }

/* How we work */
.vl2-how-section { padding:7rem 0; }
.vl2-how-grid { display:grid; grid-template-columns:1fr 420px; gap:5rem; align-items:start; }
.vl2-how-lead { font-size:1rem; color:rgba(255,255,255,0.6); line-height:1.75; margin:0 0 3rem; }
.vl2-steps { display:flex; flex-direction:column; gap:0; }
.vl2-step {
  display:flex; align-items:center; gap:1.5rem;
  padding:1.3rem 0; border-bottom:1px solid rgba(255,255,255,0.06);
}
.vl2-step:last-child { border-bottom:none; }
.vl2-step-icon { width:44px; height:44px; border-radius:var(--rsm); background:rgba(238,126,40,0.1); color:var(--br); display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0; }
.vl2-step div { display:flex; flex-direction:column; gap:2px; }
.vl2-step strong { font-size:0.9rem; font-weight:700; color:#fff; }
.vl2-step span { font-size:0.82rem; color:rgba(255,255,255,0.45); }
.vl2-how-cta-card {
  background:linear-gradient(145deg,rgba(238,126,40,0.12),rgba(238,126,40,0.04));
  border:1px solid rgba(238,126,40,0.25); border-radius:var(--rlg);
  overflow:hidden; position:sticky; top:120px;
}
.vl2-cta-card-inner { padding:3rem 2.5rem; text-align:center; }
.vl2-cta-icon { font-size:2.5rem; color:var(--br); margin-bottom:1.5rem; display:block; }
.vl2-cta-card-inner h3 { font-family:var(--fh); font-size:1.1rem; font-weight:700; color:#fff; margin:0 0 0.8rem; line-height:1.3; }
.vl2-cta-card-inner p { font-size:0.88rem; color:rgba(255,255,255,0.55); line-height:1.65; margin:0 0 2rem; }
.vl2-portfolio-link { display:block; margin-top:1.2rem; font-size:0.85rem; color:rgba(255,255,255,0.45); text-decoration:none; transition:color 0.2s; }
.vl2-portfolio-link:hover { color:var(--br); }
.separate-containers .site-main {
    margin:0px;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width:1024px) {
  .ab2-hero-inner { grid-template-columns:1fr; gap:3rem; padding:6rem 0 4rem; }
  .ab2-hero-stats { grid-template-columns:repeat(4,1fr); }
  .ab2-story-grid { grid-template-columns:1fr; gap:3rem; }
  .ab2-vals-grid { grid-template-columns:repeat(2,1fr); }
  .ab2-team-grid { grid-template-columns:repeat(3,1fr); }
  .sl2-card { grid-template-columns:1fr; gap:2.5rem; direction:ltr !important; }
  .sl2-card--flip { direction:ltr; }
  .sl2-card-icon-wrap { width:120px; height:120px; font-size:2.8rem; }
  .sl2-products-grid { grid-template-columns:repeat(2,1fr); }
  .vl2-how-grid { grid-template-columns:1fr; }
  .vl2-how-cta-card { position:relative; top:0; }
  .vl2-bento { grid-template-columns:repeat(2,1fr); }
  .vl2-bento-card:nth-child(1) { grid-column:span 2; }
  .vl2-bento-card:nth-child(2),.vl2-bento-card:nth-child(3),.vl2-bento-card:nth-child(4),.vl2-bento-card:nth-child(5) { grid-column:span 1; }
}
@media (max-width:640px) {
  .ab2-hero-stats { grid-template-columns:1fr 1fr; }
  .ab2-vals-grid,.ab2-team-grid { grid-template-columns:1fr; }
  .ab2-highlights-row { grid-template-columns:1fr; }
  .ab2-cta-inner { flex-direction:column; text-align:center; }
  .sl2-products-grid { grid-template-columns:1fr; }
  .sl2-cta-inner { flex-direction:column; text-align:center; }
  .vl2-bento { grid-template-columns:1fr; }
	h1.h-display.hero-title {
    font-size: 34px;
	margin-top: 20px;
}
	.dfakt-home .hero-stats {
		justify-content: center;
	}
	.dfakt-home .stat-num {
		display: flex;
    justify-content: center;
	}
	.dfakt-home .problem-section::before {
		height: 35px;
	}
	.dfakt-home .problem-section {
		    padding: 4rem 0;
	}
	.dfakt-home .solution-section {
		padding: 3rem 0;
	}
	.dfakt-home .solution-top{
		gap: 0rem;
		    margin-bottom: 3rem;
	}
	.dfakt-home .solution-img, .sl2-card-icon-col {
		display:none;
	}
	.dfakt-home .examples-section, .op .examples-section, .dfakt-home .advantages-section, .dfakt-home .pricing-section, .dfakt-home .process-section, .dfakt-home .reviews-section, .dfakt-home .cta-section, .dfakt-home .faq-section, .ab2-story, .ab2-values, .ab2-cta, .sl2-products-section, .sl2-cta, .sl2-card, .vl2-values-section, .vl2-quote-section, .vl2-how-section, .ds-process-section, .ds-portfolio-section, .ds-contact-section {
		padding: 4rem 0;
	}
	  .dfakt-home .examples-header, .op .examples-header,{
    grid-template-columns: 1fr;
  }
	.dfakt-home .pricing-intro, .dfakt-port-single .portfolio-single-layout, .ds-contact-grid {
		    gap: 2rem;
	}
	p.pricing-desc {
    margin-bottom: 0.05em;
}
	.dfakt-home .price-card {
		padding: 1.8rem;
	}
	.dfakt-home .price-range {
		    font-size: 1.5rem;
	}
	ul.price-features, ul.cta-bullets {
    margin: 0 0 0.5em 1em;
}
	.dfakt-home .cta-inner, .dfakt-single .prod-body {
		gap: 3rem;
	}
	.dfakt-home .faq-grid {
		margin-top: 3rem;
	}
	ul.sub-menu {
    margin-top: 13px;
    margin-left: 52px;
}
	.mobile-panel-header img {
    max-height: 48px;
}
	.dfakt-single .prod-breadcrumb, .dfakt-port-single .port-breadcrumb {
		flex-wrap: wrap;
	}
	.dfakt-single .prod-final-cta {
		    padding: 1.5rem;
	}
	.dfakt-single .prod-final-cta h2 {
		font-size: clamp(1.2rem, 2.5vw, 2rem);
	}
	.dfakt-single .adv-section {
		    margin-bottom: 3rem;
	}
	.dfakt-single .prod-body {
		padding: 1rem 2rem 1rem;
	}
	.dfakt-single .gallery-section {
		    padding: 2rem 0;
		    margin-bottom: 19px;
	}
	.dfakt-portfolio-page .port-page-header {
		padding-top: 160px !important;
	}
	.dfakt-portfolio-page .portfolio-filter {
		justify-content: center;
	}
	.dfakt-port-single .port-hero-new {
		    padding-top: 215px;
	}
	.dfakt-port-single .port-title-new {
		    font-size: clamp(1.6rem, 4.5vw, 3.2rem);
	}
	.dfakt-port-single .port-hero-content {
		padding: 3rem 0rem 4rem;
	}
	.dfakt-port-single .port-cat-tag-new {
		left: 0rem;
	}
	.port-hero-new {
		    margin-bottom: 0px;
	}
	.modal-title {
		    font-size: 1.6rem;
		    margin-bottom: 1rem;
    margin-top: 1rem;
	}
	.modal-subtitle {
		    font-size: 0.9rem;
	}
	.global-modal-content {
		padding-bottom: 10px;
	}
	.ab2-hero-inner {
		padding: 10rem 0 4rem;
	}
	.ab2-offers-grid {
		    justify-content: center;
	}
	.ab2-offers-title {
	text-align: center;	
	}
	.sl2-cards-section {
		    padding: 0rem 0;
	}
  .vl2-bento {
    grid-template-columns: 1fr;
  }
  .vl2-bento-card:nth-child(1),
  .vl2-bento-card:nth-child(2),
  .vl2-bento-card:nth-child(3),
  .vl2-bento-card:nth-child(4),
  .vl2-bento-card:nth-child(5) {
    grid-column: span 1;
  }
	.vl2-hero {
		padding: 162px 0 2rem;
	}
	.ds-section-header {
		    flex-direction: column;
	}
	.sidebar-widget {
		    margin-bottom: 1rem;
	}
	.blog-layout-container {
    gap: 1rem;
}
	.blog-layout-container {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}
	aside.blog-sidebar {
		order:2;
	}
	.blog-main-content {
		order:1;
	}
	.dfakt-blog .blog-layout-container {
		align-items: center;
	}
	.dfakt-blog .wp-custom-pagination {
		justify-content: center;
	}
	.dfakt-single-post .bento-details-grid-wrap .bento-details-grid {
		    grid-template-columns: 1fr !important;
	}
	.dfakt-single-post .blog-sidebar {
		align-self: center;
	}
	.dfakt-contacts .con-socials {
		justify-content: center;
	}
	.dfakt-404 .error-404-content::before {
		display:none;
	}
}
.cb-widget {
	z-index:99998!important;
}
section#reviews {
	display:none;
}
.dh-form-group p {
	margin-bottom:10px;
}
/*-----------------
o podniky
-----------------*/

.op * { box-sizing: border-box; margin: 0; padding: 0; }
.op a { text-decoration: none; }

.op {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--light);
}

/* ── HERO ── */
.op__hero {
  background: var(--graphite-deep);
  padding: 80px 48px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -120px;
  padding-top: 150px;
}
.op__hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(238,126,40,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(238,126,40,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.op__hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--c-brick);
  border: 1px solid rgba(238,126,40,0.3);
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.op__hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900; color: var(--light);
  line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.op__hero h1 em {
  font-style: normal; color: var(--c-brick);
}
.op__hero p {
  font-size: 17px; line-height: 1.7;
  color: rgba(249,248,246,0.6);
  max-width: 580px; margin: 0 auto 36px;
  position: relative; z-index: 1;
}
.op__hero-btns {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 1;
}
.op__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
}
.op__btn--primary { background: var(--c-brick); color: var(--white); }
.op__btn--primary:hover { background: var(--c-brick); transform: translateY(-2px);color: var(--white); }
.op__btn--outline {
  border: 1px solid rgba(249,248,246,0.2);
  color: rgba(249,248,246,0.75);
}
.op__btn--outline:hover {
  border-color: rgba(249,248,246,0.5);
  color: var(--light);
}

/* ── STATS ── */
.op__stats {
  background: var(--graphite);
  padding: 36px 48px;
  display: flex; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.op__stat {
  flex: 1; min-width: 140px; max-width: 220px;
  text-align: center; padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.op__stat:last-child { border-right: none; }
.op__stat-num {
  font-family: var(--font-head);
  font-size: 34px; font-weight: 900;
  color: var(--c-brick); letter-spacing: -1px; line-height: 1;
}
.op__stat-label {
  font-size: 12px; color: rgba(249,248,246,0.45);
  margin-top: 6px; letter-spacing: 0.3px;
}

/* ── SECTION HEADER ── */
.op__segments,
.op__why,
.op__process { padding: 80px 48px; }
.op__segments { background: var(--light); }
.op__why { background: var(--sand); }
.op__process { background: var(--light); }

.op__section-header { text-align: center; margin-bottom: 56px; }
.op__section-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--c-brick);
  display: block; margin-bottom: 12px;
}
.op__section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800; letter-spacing: -0.5px;
  line-height: 1.15; color: var(--graphite);
}
.op__section-desc {
  font-size: 16px; color: var(--craft);
  margin-top: 12px; max-width: 520px;
  margin-left: auto; margin-right: auto;
  line-height: 1.65;
}

/* ── SEGMENT CARDS ── */
.op__seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.op__seg-card {
  background: var(--white);
  border: 1px solid rgba(197,186,170,0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.op__seg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(44,44,44,0.1);
}
.op__seg-card-top {
  background: var(--graphite-deep);
  padding: 36px 32px 28px;
  position: relative; overflow: hidden;
}
.op__seg-card-top::after {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(238,126,40,0.08);
}
.op__seg-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(238,126,40,0.15);
  border: 1px solid rgba(238,126,40,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.op__seg-icon svg { width: 26px; height: 26px; color: var(--c-brick); }
.op__seg-card-top h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 800;
  color: var(--light); letter-spacing: -0.3px;
  margin-bottom: 8px; position: relative; z-index: 1;
}
.op__seg-card-top p {
  font-size: 13px; color: rgba(249,248,246,0.5);
  line-height: 1.6; position: relative; z-index: 1;
}
.op__seg-card-body { padding: 28px 32px 32px; }
.op__seg-benefits {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.op__seg-benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--craft); line-height: 1.5;
}
.op__seg-benefits li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(238,126,40,0.1);
  border: 1px solid rgba(238,126,40,0.25);
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ee7e28' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.op__seg-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--light);
  border-radius: var(--radius-sm);
  color: var(--graphite); font-size: 14px; font-weight: 700;
  transition: var(--transition);
}
.op__seg-cta:hover { background: var(--c-brick); color:white;}
.op__seg-cta svg { width: 16px; height: 16px; color: var(--c-brick); }

/* ── B2B BLOCK ── */
.op__b2b {
  background: var(--graphite-deep);
  padding: 80px 48px;
  position: relative; overflow: hidden;
}
.op__b2b::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,126,40,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.op__b2b-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.op__b2b-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--c-brick);
  display: block; margin-bottom: 16px;
}
.op__b2b h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900; color: var(--light);
  letter-spacing: -0.5px; line-height: 1.2;
  margin-bottom: 20px;
}
.op__b2b h2 em { font-style: normal; color: var(--c-brick); }
.op__b2b-desc {
  font-size: 15px; color: rgba(249,248,246,0.55);
  line-height: 1.75; margin-bottom: 32px;
  width: 70%;
}
.op__b2b-perks { display: flex; flex-direction: column; gap: 14px; }
.op__b2b-perk {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
}
.op__b2b-perk-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 8px; background: rgba(238,126,40,0.15);
  display: flex; align-items: center; justify-content: center;
}
.op__b2b-perk-icon svg { width: 18px; height: 18px; color: var(--c-brick); }
.op__b2b-perk strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--light); margin-bottom: 3px;
}
.op__b2b-perk span { font-size: 13px; color: rgba(249,248,246,0.45); line-height: 1.5; }

.op__b2b-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md); padding: 36px;
  display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.op__b2b-form h3 {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 800;
  color: var(--light); margin-bottom: 6px;
}
.op__b2b-form p {
  font-size: 13px; color: rgba(249,248,246,0.45);
  margin-bottom: 28px; line-height: 1.6;
}
.op__field { margin-bottom: 14px; }
.op__field label {
  display: block; font-size: 12px; font-weight: 600;
  color: rgba(249,248,246,0.55); margin-bottom: 6px;
}
.op__field input,
.op__field textarea,
.op__field select {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 14px; outline: none;
  transition: var(--transition);
}
.op__field input:focus,
.op__field textarea:focus,
.op__field select:focus { border-color: rgba(238,126,40,0.5); }
.op__field input::placeholder,
.op__field textarea::placeholder { color: rgba(249,248,246,0.25); }
.op__field select option { background: var(--graphite-deep); }
.op__field textarea { resize: vertical; min-height: 90px; }
.op__form-btn {
  width: 100%; padding: 15px;
  background: var(--c-brick); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  cursor: pointer; margin-top: 8px;
  transition: var(--transition);
}
.op__form-btn:hover { background: var(--brick-dark); transform: translateY(-2px); }

/* ── WHY US ── */
.op__why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
.op__why-item {
  background: var(--white);
  border: 1px solid rgba(197,186,170,0.4);
  border-radius: var(--radius-md); padding: 28px;
  transition: var(--transition);
}
.op__why-item:hover { transform: translateY(-4px); }
.op__why-num {
  font-family: var(--font-head);
  font-size: 38px; font-weight: 900;
  color: rgba(238,126,40,0.15);
  letter-spacing: -2px; line-height: 1;
  margin-bottom: 12px;
}
.op__why-item h4 {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 800;
  color: var(--graphite); margin-bottom: 8px;
}
.op__why-item p { font-size: 13px; color: var(--craft); line-height: 1.65; }

/* ── PROCESS ── */
.op__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0; max-width: 1100px; margin: 0 auto;
  position: relative;
}
.op__steps::before {
  content: '';
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 1px; background: rgba(197,186,170,0.5);
  z-index: 0;
}
.op__step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.op__step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(197,186,170,0.5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-head);
  font-size: 16px; font-weight: 900; color: var(--c-brick);
  transition: var(--transition);
}
.op__step:hover .op__step-circle {
  background: var(--c-brick); color: var(--white); border-color: var(--c-brick);
}
.op__step h5 {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 800;
  color: var(--graphite); margin-bottom: 6px;
}
.op__step p { font-size: 12px; color: var(--craft); line-height: 1.5; }

/* ── FINAL CTA ── */
.op__cta {
  background: var(--graphite);
  padding: 80px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.op__cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(238,126,40,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.op__cta h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900; color: var(--light);
  letter-spacing: -0.5px; line-height: 1.15;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.op__cta h2 em { font-style: normal; color: var(--c-brick); }
.op__cta p {
  font-size: 16px; color: rgba(249,248,246,0.5);
  margin-bottom: 36px; position: relative; z-index: 1;
}
.op__cta-btns {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 1;
}
.divop {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.op__b2b,
.op__cta {
  overflow: hidden;
}
.op__b2b-form .wpcf7-form { width: 100%; }

.op__b2b-form .wpcf7-form p { margin: 0 0 12px; }

.op__b2b-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.op__b2b-form .wpcf7-form input[type="text"],
.op__b2b-form .wpcf7-form input[type="tel"],
.op__b2b-form .wpcf7-form input[type="email"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.op__b2b-form .wpcf7-form input:focus { 
  border-color: rgba(238,126,40,0.5);
}

.op__b2b-form .wpcf7-form input::placeholder { 
  color: rgba(249,248,246,0.4);
}

.op__b2b-form .wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--c-brick);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: var(--transition);
}

.op__b2b-form .wpcf7-form input[type="submit"]:hover {
  background: var(--brick-dark);
  transform: translateY(-2px);
}
/* ================= TOPBAR (desktop only) ================= */
.dfakt-topbar {
    background: var(--graphite-deep);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.5rem 0;
    font-size: 0.85rem;
      position: relative;
    z-index: 1001;
}
.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
        justify-content: center;
    align-items: center;
    gap: 2rem;
}
.topbar-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.7);
}
.topbar-brand {
    color: var(--c-brick);
    font-weight: 700;
    letter-spacing: 0.3px;
}
.topbar-item {
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.topbar-item i {
    font-size: 0.8rem;
    color: var(--c-brick);
}
a.topbar-item:hover { color: #fff; }

.topbar-socials {
    display: flex;
    gap: 1.2rem;
}
.topbar-socials a {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: color 0.3s ease;
}
.topbar-socials a:hover { color: var(--c-brick); }

/* ================= ОСНОВНИЙ ХЕДЕР (sticky) ================= */
.dfakt-site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 1rem 0;
    background: transparent;
}
.dfakt-site-header.scrolled {
    background: rgb(44 44 44 / 94%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}
.dfakt-site-header.scrolled::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: linear-gradient(to right, transparent, var(--color-brick), transparent);
}
.dfakt-site-header.scrolled .header-nav-wrap {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

/* Скидаємо top margin body — тепер хедер у потоці */
body { margin-top: 0; }

/* На мобільному топбар приховуємо, хедер залишається sticky */
@media (max-width: 1024px) {
    .dfakt-topbar { display: none; }
}
/* ===== Нова галерея товару (2 ряди горизонтальний скрол) ===== */
.gallery-section {
  position: relative;
}
.gallery-scroll-wrap {
  position: relative;
  overflow: hidden;
}
.gallery-thumbs {
  display: grid !important;
  grid-template-rows: repeat(2, 1fr) !important;
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: calc((100% - 5 * 1rem) / 5) !important;
  gap: 1rem !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  scrollbar-color: var(--c-brick, #EE7E28) rgba(255,255,255,0.08);
  scrollbar-width: thin;
}
.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}
.gallery-thumbs::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--c-brick, #EE7E28);
  border-radius: 10px;
}
.gallery-thumb {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md, 16px);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-snap-align: start;
  border: 2px solid transparent;
}
.gallery-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.gallery-thumb.active {
  border-color: var(--c-brick, #EE7E28);
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 0.375rem));
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-brick, #EE7E28);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
  opacity: 0.95;
}
.gallery-arrow:hover {
  background: #d66b1e;
  transform: translateY(calc(-50% - 0.375rem)) scale(1.07);
  opacity: 1;
}
.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(255,255,255,0.15);
}
.gallery-arrow-prev { left: -22px; }
.gallery-arrow-next { right: -22px; }

@media (max-width: 1024px) {
  .gallery-thumbs {
    grid-auto-columns: calc((100% - 3 * 0.75rem) / 3.2) !important;
    gap: 0.75rem !important;
  }
  .gallery-arrow-prev { left: 6px; }
  .gallery-arrow-next { right: 6px; }
  .gallery-arrow {
    width: 40px; height: 40px; font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .gallery-thumbs {
    grid-auto-columns: calc((100% - 2 * 0.6rem) / 2.3) !important;
    gap: 0.6rem !important;
  }
  .gallery-arrow {
    width: 36px; height: 36px;
  }
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .op__seg-grid { grid-template-columns: 1fr; }
  .op__b2b-inner { grid-template-columns: 1fr; gap: 40px; }
  .op__why-grid { grid-template-columns: 1fr 1fr; }
  .op__steps { grid-template-columns: 1fr 1fr!important; }
  .op__steps::before { display: none; }
  .divop { width:100%; }
  .op__hero { padding: 56px 20px; padding-top: 150px; }
  .op__b2b-desc { width: 100%; }
  .op__cta::before, .op__b2b::before { width: 100%; }
}
@media (max-width: 600px) {
  .op__segments, .op__b2b,
  .op__why, .op__process, .op__cta { padding: 56px 20px; }
  .op__stats { padding: 24px 20px; }
  .op__stat { min-width: 120px; }
  .op__why-grid { grid-template-columns: 1fr; }
  .op__steps { grid-template-columns: 1fr; }
  .op__b2b-form { padding: 24px 20px; }
}