/*
Theme Name: FruitYaDigital_548
Theme URI: https://фрукт-я.рф
Author: Шишкин Александр
Author URI: https://фрукт-я.рф
Description: Тема для информационного сайта о создании и продвижении сайтов. Свежий минимализм с органическими акцентами.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fruityaDigital548
*/

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --fy-bg-main: #F9F6F0;
    --fy-bg-card: #F5F0E4;
    --fy-text-base: #2B2A28;
    --fy-accent: #FF7A45;
    --fy-accent-hover: #e0642e;
    --fy-green: #9BC48B;
    --fy-green-hover: #85b373;
    --fy-border: #E2DCD3;
    --fy-radius-pill: 40px;
    --fy-radius-sq: 12px;
    --fy-shadow-sm: 0 2px 8px rgba(43,42,40,.07);
    --fy-shadow-md: 0 4px 16px rgba(43,42,40,.1);
    --fy-shadow-hover: 0 6px 24px rgba(43,42,40,.15);
    --fy-font-body: 'Onest', 'Segoe UI', sans-serif;
    --fy-font-heading: 'Onest', 'Segoe UI', sans-serif;
    --fy-content-wide: 85%;
    --fy-content-main: 67%;
    --fy-sidebar-w: 27%;
}

/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--fy-font-body);
    color: var(--fy-text-base);
    background: var(--fy-bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: var(--fy-accent);
    text-decoration: none;
    transition: color .25s ease;
}
a:hover { color: var(--fy-accent-hover); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fy-font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--fy-text-base);
    margin-bottom: .6em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }

ul, ol { padding-left: 1.5em; margin-bottom: 1em; }

/* Таблицы */
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
table th, table td {
    border: 1px solid var(--fy-border);
    padding: .6em .9em;
    text-align: left;
}
table th { background: var(--fy-bg-card); font-weight: 600; }

blockquote {
    border-left: 4px solid var(--fy-accent);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: var(--fy-bg-card);
    border-radius: 0 var(--fy-radius-sq) var(--fy-radius-sq) 0;
    font-style: italic;
}

pre, code {
    background: var(--fy-bg-card);
    border-radius: 6px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: .9em;
}
pre { padding: 1.2em; overflow-x: auto; margin-bottom: 1.5em; }
code { padding: 2px 6px; }
pre code { padding: 0; background: none; }

/* ===== ОБЁРТКА ===== */
.fy-site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fy-container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ===== ШАПКА ===== */
.fy-header {
    background: var(--fy-bg-main);
    border-bottom: 1px solid var(--fy-border);
    position: relative;
    z-index: 100;
}

.fy-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1.5rem;
}

.fy-logo-area {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.fy-logo-area img {
    max-height: 48px;
    width: auto;
}

.fy-logo-area .fy-site-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fy-text-base);
    line-height: 1.2;
}
.fy-logo-area .fy-site-title a { color: inherit; }
.fy-logo-area .fy-site-title a:hover { color: var(--fy-accent); }

.fy-header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Навигация */
.fy-main-nav ul {
    list-style: none;
    display: flex;
    gap: .15rem;
    padding: 0;
    margin: 0;
}

.fy-main-nav a {
    display: block;
    padding: .55rem 1.1rem;
    color: var(--fy-text-base);
    font-weight: 500;
    font-size: .95rem;
    border-radius: var(--fy-radius-pill);
    transition: background .25s, color .25s;
}

.fy-main-nav a:hover,
.fy-main-nav .current-menu-item > a {
    background: var(--fy-accent);
    color: #fff;
}

/* Иконка поиска в шапке */
.fy-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    color: var(--fy-text-base);
    transition: color .25s;
}
.fy-search-toggle:hover { color: var(--fy-accent); }
.fy-search-toggle svg { width: 22px; height: 22px; }

/* Аватар автора */
.fy-author-badge {
    position: relative;
    cursor: pointer;
}

.fy-author-badge img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--fy-accent);
    object-fit: cover;
}

.fy-author-badge .fy-badge-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--fy-text-base);
    color: #fff;
    font-size: .8rem;
    padding: .45rem .85rem;
    border-radius: var(--fy-radius-sq);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.fy-author-badge:hover .fy-badge-tooltip { opacity: 1; }

/* Мобильное меню */
.fy-burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--fy-text-base);
}
.fy-burger-btn svg { width: 28px; height: 28px; }

/* Поисковая форма в шапке */
.fy-header-search {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fy-bg-main);
    padding: 1rem 0;
    border-bottom: 1px solid var(--fy-border);
    z-index: 99;
}
.fy-header-search.fy-active { display: block; }
.fy-header-search .fy-search-form { max-width: 600px; margin: 0 auto; }

/* ===== ПОИСК ===== */
.fy-search-form {
    display: flex;
    gap: .5rem;
}

.fy-search-form input[type="search"] {
    flex: 1;
    padding: .7rem 1.2rem;
    border: 2px solid var(--fy-border);
    border-radius: var(--fy-radius-pill);
    font-size: 1rem;
    background: #fff;
    color: var(--fy-text-base);
    outline: none;
    transition: border-color .25s;
    font-family: var(--fy-font-body);
}
.fy-search-form input[type="search"]:focus {
    border-color: var(--fy-accent);
}

.fy-search-form button {
    padding: .7rem 1.4rem;
    background: var(--fy-accent);
    color: #fff;
    border: none;
    border-radius: var(--fy-radius-pill);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s, box-shadow .25s;
    font-family: var(--fy-font-body);
}
.fy-search-form button:hover {
    background: var(--fy-accent-hover);
    box-shadow: var(--fy-shadow-md);
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.fy-breadcrumbs {
    padding: 1rem 0;
    font-size: .88rem;
    color: #7a756c;
}

.fy-breadcrumbs a { color: var(--fy-accent); }
.fy-breadcrumbs a:hover { text-decoration: underline; }
.fy-breadcrumbs span.fy-bc-sep {
    margin: 0 .4rem;
    color: var(--fy-border);
}
.fy-breadcrumbs span.fy-bc-current { color: var(--fy-text-base); }

/* ===== КОНТЕНТ ===== */
.fy-main-content {
    flex: 1;
    padding: 2rem 0 3rem;
}

.fy-layout-wide { max-width: var(--fy-content-wide); margin: 0 auto; }

.fy-layout-sidebar {
    display: flex;
    gap: 3%;
    align-items: flex-start;
}

.fy-primary-col { width: var(--fy-content-main); }
.fy-sidebar-col { width: var(--fy-sidebar-w); }

.fy-primary-col.fy-full-width {
    width: var(--fy-content-wide);
    margin: 0 auto;
}

/* ===== HERO / БЛОКИ ГЛАВНОЙ ===== */
.fy-hero-section {
    background: linear-gradient(135deg, var(--fy-bg-card) 0%, var(--fy-bg-main) 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.fy-hero-section::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,122,69,.1);
}

.fy-hero-section h1 {
    font-size: 2.6rem;
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
}

.fy-hero-section p {
    font-size: 1.15rem;
    color: #5c574e;
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.fy-hero-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: .9rem 2.4rem;
    background: var(--fy-accent);
    color: #fff;
    border-radius: var(--fy-radius-pill);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--fy-shadow-sm);
    transition: background .25s, box-shadow .3s, transform .2s;
    position: relative;
    z-index: 1;
}
.fy-hero-cta:hover {
    background: var(--fy-accent-hover);
    box-shadow: var(--fy-shadow-hover);
    color: #fff;
    transform: translateY(-2px);
}

/* Блоки услуг */
.fy-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.fy-service-card {
    background: var(--fy-bg-card);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    border: 1px solid var(--fy-border);
    transition: box-shadow .3s, transform .3s;
    text-align: center;
}
.fy-service-card:hover {
    box-shadow: var(--fy-shadow-hover);
    transform: translateY(-4px);
}

.fy-service-card .fy-svc-icon {
    margin-bottom: 1rem;
    display: inline-block;
}

.fy-service-card .fy-svc-icon svg {
    width: 56px;
    height: 56px;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}

.fy-service-card:hover .fy-svc-icon svg {
    transform: translateY(-6px);
}

.fy-service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.fy-service-card p { font-size: .92rem; color: #6b665d; margin-bottom: 0; }

/* SEO прогресс-бар */
.fy-seo-demo {
    background: var(--fy-bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid var(--fy-border);
}

.fy-progress-row {
    margin-bottom: 1.2rem;
}

.fy-progress-row:last-child { margin-bottom: 0; }

.fy-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: .4rem;
}

.fy-progress-track {
    height: 10px;
    background: var(--fy-border);
    border-radius: 6px;
    overflow: hidden;
}

.fy-progress-fill {
    height: 100%;
    background: var(--fy-accent);
    border-radius: 6px;
    width: 0;
    transition: width 1.4s cubic-bezier(.25,.46,.45,.94);
}

.fy-progress-fill.fy-green-bar { background: var(--fy-green); }

/* ===== КАРТОЧКИ ЗАПИСЕЙ ===== */
.fy-posts-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.fy-posts-section h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: var(--fy-accent);
    border-radius: 2px;
    margin-top: .35rem;
}

.fy-posts-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.fy-post-card {
    background: var(--fy-bg-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--fy-border);
    transition: box-shadow .3s, transform .3s;
    display: flex;
    flex-direction: column;
}
.fy-post-card:hover {
    box-shadow: var(--fy-shadow-hover);
    transform: translateY(-3px);
}

.fy-post-card.fy-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.fy-card-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--fy-border);
}

.fy-card-featured .fy-card-thumb { aspect-ratio: auto; min-height: 280px; }

.fy-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.fy-post-card:hover .fy-card-thumb img { transform: scale(1.04); }

.fy-card-body {
    padding: 1.3rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fy-card-meta {
    font-size: .82rem;
    color: #908a80;
    margin-bottom: .5rem;
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

.fy-card-meta .fy-meta-cat {
    background: var(--fy-green);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: .76rem;
    font-weight: 600;
}

.fy-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.fy-card-body h3 a { color: var(--fy-text-base); }
.fy-card-body h3 a:hover { color: var(--fy-accent); }

.fy-card-excerpt {
    font-size: .92rem;
    color: #5c574e;
    flex: 1;
    line-height: 1.6;
    margin-bottom: .8rem;
}

.fy-card-excerpt p:last-child { margin-bottom: 0; }

.fy-card-more {
    display: inline-block;
    padding: .45rem 1.3rem;
    border: 2px solid var(--fy-accent);
    color: var(--fy-accent);
    border-radius: var(--fy-radius-pill);
    font-size: .85rem;
    font-weight: 600;
    transition: background .25s, color .25s;
    align-self: flex-start;
}
.fy-card-more:hover {
    background: var(--fy-accent);
    color: #fff;
}

/* Карточка без миниатюры */
.fy-card-no-thumb .fy-card-body { padding-top: 1.6rem; }

/* ===== БЛОГ (список) ===== */
.fy-blog-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.fy-blog-list .fy-post-card {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.fy-blog-list .fy-card-no-thumb {
    grid-template-columns: 1fr;
}

/* ===== САЙДБАР ===== */
.fy-sidebar-col .widget {
    background: var(--fy-bg-card);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--fy-border);
}

.fy-sidebar-col .widget-title,
.fy-sidebar-col .widgettitle {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--fy-accent);
}

.fy-sidebar-col .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fy-sidebar-col .widget ul li {
    padding: .5rem 0;
    border-bottom: 1px solid var(--fy-border);
}

.fy-sidebar-col .widget ul li:last-child { border-bottom: none; }

.fy-sidebar-col .widget ul li a { color: var(--fy-text-base); font-size: .93rem; }
.fy-sidebar-col .widget ul li a:hover { color: var(--fy-accent); }

/* Live-совет */
.fy-tip-widget {
    background: var(--fy-bg-card);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--fy-border);
    position: relative;
}

.fy-tip-widget::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239BC48B'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34L5.71 22l1-2.3A4.49 4.49 0 008 20c4 0 5-5 5-5s2 1 3 3.5c.5 1.5 1.5 2 2.5 2 1 0 1.5-.5 1.5-2 0-3-1-8-3-10z'/%3E%3C/svg%3E") no-repeat center / contain;
    margin-right: 6px;
    vertical-align: text-bottom;
}

.fy-tip-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: .8rem;
}

.fy-tip-text {
    font-style: italic;
    font-size: .93rem;
    color: #5c574e;
    line-height: 1.65;
}

/* ===== ПАГИНАЦИЯ ===== */
.fy-pagination {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.fy-pagination a,
.fy-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .6rem;
    border-radius: var(--fy-radius-sq);
    background: var(--fy-bg-card);
    color: var(--fy-text-base);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid var(--fy-border);
    transition: background .25s, border-color .25s, transform .2s;
}

.fy-pagination a:hover {
    border-bottom: 3px solid var(--fy-accent);
    transform: translateY(-2px);
}

.fy-pagination span.current {
    background: var(--fy-accent);
    color: #fff;
    border-color: var(--fy-accent);
}

.fy-pagination .dots {
    background: transparent;
    border: none;
    color: #908a80;
}

/* ===== ОДИНОЧНАЯ ЗАПИСЬ ===== */
.fy-single-header { margin-bottom: 2rem; }

.fy-single-header h1 { font-size: 2.2rem; margin-bottom: .6rem; }

.fy-single-meta {
    font-size: .88rem;
    color: #908a80;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fy-entry-content { line-height: 1.8; }
.fy-entry-content h2 { margin-top: 2rem; }
.fy-entry-content h3 { margin-top: 1.5rem; }

.fy-entry-content img {
    border-radius: var(--fy-radius-sq);
    margin: 1.5rem 0;
}

.fy-post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fy-border);
}

.fy-post-tags a {
    display: inline-block;
    padding: .3rem .9rem;
    background: var(--fy-green);
    color: #fff;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 500;
    margin: .25rem .25rem;
    transition: background .25s;
}
.fy-post-tags a:hover { background: var(--fy-green-hover); color: #fff; }

/* ===== КОММЕНТАРИИ ===== */
.fy-comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fy-border);
}

.fy-comments-area h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }

.fy-comment-list {
    list-style: none;
    padding: 0;
}

.fy-comment-list .fy-single-comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--fy-border);
}

.fy-comment-author {
    font-weight: 600;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.fy-comment-date { font-size: .82rem; color: #908a80; }

.fy-comment-form-wrap { margin-top: 2rem; }

.fy-comment-form-wrap .fy-cf-field {
    margin-bottom: 1.2rem;
}

.fy-comment-form-wrap label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .3rem;
}

.fy-comment-form-wrap input[type="text"],
.fy-comment-form-wrap input[type="email"],
.fy-comment-form-wrap input[type="url"] {
    width: 100%;
    padding: .65rem 0;
    border: none;
    border-bottom: 2px solid var(--fy-border);
    font-size: 1rem;
    background: transparent;
    color: var(--fy-text-base);
    outline: none;
    transition: border-color .25s;
    font-family: var(--fy-font-body);
}

.fy-comment-form-wrap input:focus {
    border-bottom-color: var(--fy-accent);
}

.fy-comment-form-wrap textarea {
    width: 100%;
    padding: .65rem 0;
    border: none;
    border-bottom: 2px solid var(--fy-border);
    min-height: 120px;
    font-size: 1rem;
    background: transparent;
    color: var(--fy-text-base);
    outline: none;
    resize: vertical;
    transition: border-color .25s;
    font-family: var(--fy-font-body);
}

.fy-comment-form-wrap textarea:focus { border-bottom-color: var(--fy-accent); }

.fy-comment-form-wrap .fy-submit-btn {
    padding: .8rem 2rem;
    background: var(--fy-green);
    color: #fff;
    border: none;
    border-radius: var(--fy-radius-pill);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s, box-shadow .3s;
    font-family: var(--fy-font-body);
}
.fy-comment-form-wrap .fy-submit-btn:hover {
    background: var(--fy-green-hover);
    box-shadow: var(--fy-shadow-md);
}

/* ===== ПОДВАЛ ===== */
.fy-footer {
    background: var(--fy-text-base);
    color: #d9d4cb;
    padding: 3rem 0 0;
    margin-top: auto;
}

.fy-footer a { color: #d9d4cb; }
.fy-footer a:hover { color: var(--fy-accent); }

.fy-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.fy-footer-col .widget-title,
.fy-footer-col .widgettitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--fy-accent);
}

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

.fy-footer-col .widget ul li {
    padding: .35rem 0;
}

.fy-footer-col .widget ul li a {
    font-size: .92rem;
}

.fy-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.2rem 0;
    text-align: center;
    font-size: .88rem;
    color: #908a80;
}

/* ===== 404 ===== */
.fy-404-content {
    text-align: center;
    padding: 4rem 0;
}

.fy-404-content h1 {
    font-size: 6rem;
    color: var(--fy-accent);
    line-height: 1;
    margin-bottom: .5rem;
}

.fy-404-content h2 { margin-bottom: 1rem; }

.fy-404-content p { max-width: 500px; margin: 0 auto 2rem; color: #6b665d; }

.fy-404-content .fy-hero-cta { display: inline-block; }

.fy-404-content .fy-search-form {
    max-width: 480px;
    margin: 2rem auto 0;
}

/* ===== КУКИ ===== */
.fy-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fy-text-base);
    color: #d9d4cb;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
    transform: translateY(0);
    transition: transform .4s ease;
}

.fy-cookie-bar.fy-hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.fy-cookie-bar p { margin: 0; font-size: .9rem; }

.fy-cookie-accept {
    flex-shrink: 0;
    padding: .6rem 1.6rem;
    background: var(--fy-accent);
    color: #fff;
    border: none;
    border-radius: var(--fy-radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: background .25s;
    font-family: var(--fy-font-body);
}
.fy-cookie-accept:hover { background: var(--fy-accent-hover); }

/* ===== АДАПТИВ ===== */
@media (max-width: 960px) {
    .fy-services-grid { grid-template-columns: repeat(2, 1fr); }

    .fy-posts-mosaic { grid-template-columns: repeat(2, 1fr); }
    .fy-post-card.fy-card-featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .fy-card-featured .fy-card-thumb { min-height: 200px; }

    .fy-layout-sidebar { flex-direction: column; }
    .fy-primary-col, .fy-sidebar-col { width: 100%; }
    .fy-primary-col.fy-full-width { width: 100%; }

    .fy-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .fy-blog-list .fy-post-card { grid-template-columns: 200px 1fr; }

    .fy-header-right .fy-main-nav { display: none; }
    .fy-burger-btn { display: flex; }

    .fy-main-nav.fy-mobile-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--fy-bg-main);
        border-bottom: 1px solid var(--fy-border);
        padding: 1rem;
        z-index: 98;
    }
    .fy-main-nav.fy-mobile-open ul {
        flex-direction: column;
        gap: .25rem;
    }
    .fy-main-nav.fy-mobile-open a {
        padding: .8rem 1rem;
    }

    .fy-hero-section { padding: 2.5rem 2rem; }
    .fy-hero-section h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
    html { font-size: 15px; }

    .fy-services-grid { grid-template-columns: 1fr; }
    .fy-posts-mosaic { grid-template-columns: 1fr; }

    .fy-hero-section { padding: 2rem 1.5rem; border-radius: 16px; }
    .fy-hero-section h1 { font-size: 1.65rem; }
    .fy-hero-section p { font-size: 1rem; }

    .fy-single-header h1 { font-size: 1.6rem; }

    .fy-blog-list .fy-post-card { grid-template-columns: 1fr; }

    .fy-cookie-bar {
        flex-direction: column;
        gap: .8rem;
        text-align: center;
    }

    .fy-seo-demo { padding: 1.5rem; }

    .fy-author-badge { display: none; }

    .fy-404-content h1 { font-size: 4rem; }
}

/* ===== СКРИН-РИДЕРЫ ===== */
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    word-wrap: normal;
}
