/* ============================================================
   FREE_DOM — style.css v6
   Без дублей с критическим CSS (head.field.tpl).
   Медиа-запросы — в responsive.css.
   ============================================================ */

/* ============================================================
   7. МОБИЛЬНОЕ МЕНЮ
   ============================================================ */
.fd-mobile-nav {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, #fff 0%, #fdf6f0 100%);
    z-index: 2000;
    padding: 80px 24px 40px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}
.fd-mobile-nav.is-open {
    opacity: 1;
    pointer-events: all;
}
.fd-mobile-nav__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    font-size: 32px;
    line-height: 1;
    color: var(--fd-text);
}
.fd-mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fd-mobile-nav__list > a {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fd-text);
    transition: color 0.2s, transform 0.2s;
    display: block;
}
.fd-mobile-nav__list > a:hover {
    color: var(--fd-accent);
    transform: translateX(6px);
}
.fd-mobile-nav__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--fd-border);
}
.fd-mobile-nav__contacts > a.fd-mobile-nav__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--fd-text);
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}
.fd-mobile-nav__contacts > a.fd-mobile-nav__item:hover {
    color: var(--fd-accent);
    transform: translateX(4px);
}
.fd-mobile-nav__contacts > a.fd-mobile-nav__item > i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50%;
    background: rgba(103,167,102,0.12);
    color: var(--fd-accent);
    font-size: 14px;
    flex-shrink: 0;
    margin: 0 !important;
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.fd-footer {
    position: relative;
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 120px;
}
.fd-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
}
.fd-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.fd-footer__col { display: flex; flex-direction: column; }
.fd-footer__logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}
.fd-footer__logo .fd-header__logo-name { color: #fff; }
.fd-footer__logo .fd-header__logo-sub { color: rgba(255, 255, 255, 0.5); }
.fd-footer__copy {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}
.fd-footer__title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}
.fd-footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.fd-footer__list a,
.fd-footer__list li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s, transform 0.2s;
    line-height: 1.5;
}
.fd-footer__list a:hover { color: var(--fd-accent-2); transform: translateX(4px); }
.fd-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}
.fd-footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.fd-footer__links a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}
.fd-footer__links a:hover { color: var(--fd-accent); }
.fd-footer__dev {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
}
.fd-footer__dev-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}
.fd-footer__dev-name:hover {
    color: var(--fd-accent);
}
.fd-footer__dev-links {
    display: flex;
    gap: 4px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.35);
}
.fd-footer__dev-links a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s;
}
.fd-footer__dev-links a:hover {
    color: var(--fd-accent-2);
}
/* ============================================================
   9. МОДАЛЬНОЕ ОКНО + ФОРМА
   ============================================================ */
.fd-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.fd-modal.is-open { display: flex; }
.fd-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.fd-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: var(--fd-radius);
    padding: 40px 36px;
    box-shadow: var(--fd-shadow-lg);
    animation: fdModalIn 0.35s cubic-bezier(.2,.8,.2,1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.fd-modal__dialog::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    border-radius: var(--fd-radius) var(--fd-radius) 0 0;
}
@keyframes fdModalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fd-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 26px;
    line-height: 1;
    color: var(--fd-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}
.fd-modal__close:hover {
    background: var(--fd-bg-soft);
    color: var(--fd-text);
    transform: rotate(90deg);
}
.fd-modal__title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.fd-modal__sub { font-size: 14px; color: var(--fd-muted); margin-bottom: 24px; }

.fd-form { display: flex; flex-direction: column; gap: 16px; }
.fd-form-group { width: 100%; }
.fd-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    border: 2px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--fd-text);
    outline: none;
}
.fd-input:focus {
    border-color: var(--fd-accent);
    box-shadow: 0 0 0 4px rgba(103,167,102,0.12);
}
.fd-input::placeholder { color: #bbb; }
textarea.fd-input { min-height: 100px; resize: vertical; line-height: 1.5; }
.fd-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--fd-muted);
    line-height: 1.5;
}
.fd-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.fd-checkbox input {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--fd-accent);
}

/* ============================================================
   10. БАЗОВЫЕ УТИЛИТЫ
   ============================================================ */
.fd-center { text-align: center; }
.fd-mt { margin-top: 32px; }
.form-group.hidden { display: none; }

/* ============================================================
   12. ВНУТРЕННИЕ СТРАНИЦЫ (общие отступы — 40px сверху)
   ============================================================ */
.fd-page      { padding: 40px 0 80px; }
.fd-catalog   { padding: 40px 0 80px; }
.fd-category  { padding: 40px 0 80px; }
.fd-product   { padding: 10px 0 80px; }
.fd-contacts  { padding: 40px 0 80px; }

/* ============================================================
   14. ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ
   ============================================================ */
.fd-h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 20px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
}
.fd-center .fd-h2::after,
.fd-h2.fd-h2--center::after { margin-left: auto; margin-right: auto; }
.fd-h3 {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

/* ============================================================
   16. СЕКЦИЯ: ПРЕИМУЩЕСТВА
   ============================================================ */
.fd-adv { padding: 120px 0; background: var(--fd-bg-soft); }
.fd-adv__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.fd-adv-card {
    position: relative;
    padding: 40px 32px;
    background: #fff;
    border-radius: var(--fd-radius);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
    box-shadow: var(--fd-shadow-sm);
    overflow: hidden;
}
.fd-adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    transition: width 0.5s cubic-bezier(.2,.8,.2,1);
}
.fd-adv-card:hover::before { width: 100%; }
.fd-adv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fd-shadow-md);
}
.fd-adv-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(103,167,102,0.15) 0%, rgba(217,122,74,0.15) 100%);
    color: var(--fd-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1), background 0.4s ease, color 0.4s ease;
}
.fd-adv-card:hover .fd-adv-card__icon {
    transform: rotate(-6deg) scale(1.08);
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    color: #fff;
}
.fd-adv-card:nth-child(even) .fd-adv-card__icon { color: var(--fd-accent-2); }
.fd-adv-card:hover .fd-adv-card__icon,
.fd-adv-card:nth-child(even):hover .fd-adv-card__icon {
    color: #fff;
}
.fd-adv-card__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}
.fd-adv-card__text {
    font-size: 15px;
    color: var(--fd-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   17. СЕКЦИЯ: КАК УСТРОЕНА
   ============================================================ */
.fd-info { padding: 120px 0; }
.fd-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.fd-info__content p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}
.fd-info__content .fd-btn { margin-top: 24px; }
.fd-info__list { display: flex; flex-direction: column; gap: 20px; }
.fd-info__item {
    display: flex;
    gap: 16px;
    padding: 28px 24px;
    background: var(--fd-bg-soft);
    border-radius: var(--fd-radius);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.3s ease;
}
.fd-info__item:hover {
    transform: translateX(6px);
    box-shadow: var(--fd-shadow-sm);
    background: #fff;
}
.fd-info__num {
    font-size: 28px;
    font-weight: 700;
    color: var(--fd-accent);
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.3s ease;
}
.fd-info__item:nth-child(even) .fd-info__num { color: var(--fd-accent-2); }
.fd-info__item:hover .fd-info__num { color: var(--fd-text); }
.fd-info__item strong { display: block; font-size: 17px; margin-bottom: 4px; }
.fd-info__item p { font-size: 15px; color: var(--fd-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   18. СЕКЦИЯ: ВИДЫ ШКАФ-КРОВАТЕЙ
   ============================================================ */
.fd-variants { padding: 120px 0; background: var(--fd-bg-soft); }
.fd-variants__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.fd-variant {
    background: #fff;
    border-radius: var(--fd-radius);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
    box-shadow: var(--fd-shadow-sm);
}
.fd-variant:hover {
    transform: translateY(-6px);
    box-shadow: var(--fd-shadow-md);
}
.fd-variant__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}
.fd-variant__img {
    height: 200px;
    background: linear-gradient(135deg, #e8e8e8, #d5d5d5);
    overflow: hidden;
    position: relative;
}
.fd-variant__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.fd-variant:hover .fd-variant__img img { transform: scale(1.06); }
.fd-variant__body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.fd-variant__title { font-size: 18px; font-weight: 700; line-height: 1.2; margin: 0; }
.fd-variant__desc { font-size: 13px; color: var(--fd-muted); line-height: 1.55; margin: 0; flex: 1; }
.fd-variant__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fd-accent);
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: 4px;
}
.fd-variant:hover .fd-variant__btn { gap: 12px; color: var(--fd-accent-2); }
.fd-variants__types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}
.fd-variants__types-note {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}
.fd-variants__types-note p {
    font-size: 15px;
    color: var(--fd-muted);
    line-height: 1.6;
    max-width: 900px;
    margin: 0;
}
.fd-variants__types-note strong { color: var(--fd-text); font-weight: 700; }
.fd-type {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: #fff;
    border-radius: var(--fd-radius);
    border: 1px solid var(--fd-border);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
    color: var(--fd-text);
}
.fd-type:hover {
    transform: translateY(-4px);
    box-shadow: var(--fd-shadow-md);
    border-color: transparent;
}
.fd-type__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(103,167,102,0.12) 0%, rgba(217,122,74,0.12) 100%);
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.fd-type:hover .fd-type__icon { transform: rotate(-6deg) scale(1.06); }
.fd-type__icon img { max-width: 40px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.fd-type__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fd-type__title { font-size: 18px; font-weight: 700; line-height: 1.2; }
.fd-type__desc { font-size: 14px; color: var(--fd-muted); line-height: 1.5; }

/* ============================================================
   19. СЕКЦИЯ: РАСЦВЕТКИ И ФУРНИТУРА
   ============================================================ */
.fd-colors {
    padding: 120px 0;
    transition: background 0.5s ease;
}
.fd-colors__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.fd-colors__palette { padding: 0; }
.fd-colors__lead {
    font-size: 16px;
    color: var(--fd-muted);
    line-height: 1.7;
    margin: 0 0 24px 0;
}
.fd-colors__note {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fd-muted-light);
    margin: 0 0 16px 0;
}
.fd-swatches {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.fd-swatch {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}
.fd-swatch:hover {
    transform: translateY(-4px) scale(1.06);
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1), 0 14px 28px rgba(0,0,0,0.15);
}
.fd-swatch.is-active {
    transform: scale(1.1);
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 6px var(--fd-accent),
        0 14px 30px rgba(0,0,0,0.22);
    z-index: 3;
}
.fd-swatch.is-active::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    pointer-events: none;
}
.fd-swatch span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 4px 4px 6px;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fd-swatch:hover span,
.fd-swatch.is-active span { opacity: 1; }
.fd-swatch--light span {
    color: #141414;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.75) 100%);
}
.fd-colors.is-dark-bg,
.fd-colors.is-dark-bg .fd-h2,
.fd-colors.is-dark-bg .fd-h3,
.fd-colors.is-dark-bg .fd-muted,
.fd-colors.is-dark-bg .fd-colors__lead,
.fd-colors.is-dark-bg .fd-fitting strong,
.fd-colors.is-dark-bg .fd-fitting span,
.fd-colors.is-dark-bg .fd-text-sm {
    color: #fff;
}
.fd-colors.is-dark-bg .fd-fitting {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
}
.fd-fittings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.fd-fitting {
    padding: 24px;
    background: var(--fd-bg-soft);
    border-radius: var(--fd-radius-sm);
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.fd-fitting:hover {
    border-left-color: var(--fd-accent);
    transform: translateX(4px);
    background: #fff;
    box-shadow: var(--fd-shadow-sm);
}
.fd-fitting:nth-child(even):hover { border-left-color: var(--fd-accent-2); }
.fd-fitting strong { display: block; font-size: 15px; margin-bottom: 4px; }
.fd-fitting span { font-size: 13px; color: var(--fd-muted-light); }
.fd-text-sm { font-size: 14px; color: var(--fd-muted-light); line-height: 1.5; }

/* ============================================================
   21. СЕКЦИЯ: УСЛУГИ
   ============================================================ */
.fd-services { padding: 120px 0; overflow: hidden; }
.fd-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.fd-service {
    position: relative;
    background: var(--fd-bg-soft);
    border-radius: var(--fd-radius);
    padding: 24px 40px 48px;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease, background 0.4s ease;
    overflow: hidden;
    perspective: 600px;
}
.fd-service::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(103,167,102,0.06) 100%);
    transition: height 0.5s ease;
}
.fd-service:hover {
    transform: translateY(-8px);
    box-shadow: var(--fd-shadow-md);
    background: #fff;
}
.fd-service:hover::before { height: 100%; }
.fd-service__num {
    position: relative;
    display: inline-block;
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
    transform-origin: left center;
    transition:
        transform 0.7s cubic-bezier(.2,.8,.2,1),
        opacity 0.7s cubic-bezier(.2,.8,.2,1),
        filter 0.7s ease;
    will-change: transform, opacity;
    pointer-events: none;
}
.fd-service:hover .fd-service__num {
    transform: translateZ(0) scale(6) rotate(10deg);
    opacity: 0;
    filter: blur(4px);
}
.fd-service h3 {
    position: relative;
    transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.fd-service:hover h3 { transform: translateY(-72px); }
.fd-service p {
    position: relative;
    font-size: 15px;
    color: var(--fd-muted);
    line-height: 1.7;
    margin: 0;
    transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.fd-service:hover p { transform: translateY(-72px); }
.fd-service__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fd-accent);
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: 16px;
}
.fd-service:hover .fd-service__btn { gap: 12px; color: var(--fd-accent-2); }

/* ============================================================
   22. СЕКЦИЯ: КОМУ ПОДХОДИТ
   ============================================================ */
.fd-audience { padding: 120px 0; background: var(--fd-bg-soft); }
.fd-audience__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.fd-audience__item {
    position: relative;
    padding: 40px 36px;
    background: #fff;
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow-sm);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
    overflow: hidden;
}
.fd-audience__item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    transition: height 0.5s ease;
}
.fd-audience__item:hover::before { height: 100%; }
.fd-audience__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--fd-shadow-md);
}
.fd-audience__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
}
.fd-audience__item p {
    font-size: 15px;
    color: var(--fd-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   23. СЕКЦИЯ: ДОВЕРИЕ
   ============================================================ */
.fd-trust { padding: 120px 0; background: var(--fd-bg-soft); }
.fd-trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.fd-trust__item {
    position: relative;
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--fd-radius);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
    box-shadow: var(--fd-shadow-sm);
    overflow: hidden;
}
.fd-trust__item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    transition: height 0.5s ease;
}
.fd-trust__item:hover::before { height: 100%; }
.fd-trust__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--fd-shadow-md);
}
.fd-trust__item .fd-h3 { margin-bottom: 16px; }
.fd-trust__item p { font-size: 15px; color: var(--fd-muted); line-height: 1.7; margin: 0; }
.fd-trust__item--wide { grid-column: 1 / -1; }

/* ============================================================
   24. СЕКЦИЯ: FAQ
   ============================================================ */
.fd-faq { padding: 120px 0; background: var(--fd-bg-soft); }
.fd-faq--plain {
    padding: 40px 0 80px;
    background: transparent;
}
.fd-faq__list {
    border-top: 1px solid var(--fd-border);
}
.fd-faq__item {
    position: relative;
    border-bottom: 1px solid var(--fd-border);
    transition: border-color 0.3s ease;
}
.fd-faq__item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.fd-faq__item.open {
    border-bottom-color: transparent;
}
.fd-faq__item.open::before {
    transform: scaleY(1);
}
.fd-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 600;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--fd-text);
    transition: color 0.25s ease;
}
.fd-faq__item.open .fd-faq__question,
.fd-faq__question:hover {
    color: var(--fd-accent);
}
.fd-faq__icon {
    width: 32px;
    height: 32px;
    position: relative;
    flex-shrink: 0;
    margin-left: 24px;
    border-radius: 50%;
    background: var(--fd-bg-soft);
    transition: background 0.3s ease, transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.fd-faq__item.open .fd-faq__icon {
    background: var(--fd-accent);
    transform: rotate(180deg);
}
.fd-faq__icon::before,
.fd-faq__icon::after {
    content: '';
    position: absolute;
    background: var(--fd-text);
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}
.fd-faq__item.open .fd-faq__icon::before,
.fd-faq__item.open .fd-faq__icon::after {
    background: #fff;
}
.fd-faq__icon::before { width: 14px; height: 2px; top: 15px; left: 9px; }
.fd-faq__icon::after  { width: 2px; height: 14px; top: 9px; left: 15px; }
.fd-faq__item.open .fd-faq__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.fd-faq__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(.2,.8,.2,1);
}
.fd-faq__item.open .fd-faq__answer {
    max-height: 800px;
}
.fd-faq__answer p {
    font-size: 16px;
    color: var(--fd-muted);
    line-height: 1.7;
    max-width: 800px;
    margin: 0;
    padding-bottom: 28px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.fd-faq__item.open .fd-faq__answer p {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   25. СЕКЦИЯ: КОНТАКТЫ + КАРТА
   ============================================================ */
.fd-contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.fd-contacts__col { display: flex; flex-direction: column; gap: 16px; }
.fd-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--fd-bg-soft);
    border-radius: var(--fd-radius);
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, background 0.3s ease;
    color: var(--fd-text);
}
a.fd-contact-row:hover {
    transform: translateX(4px);
    background: #fff;
    box-shadow: var(--fd-shadow-sm);
}
.fd-contact-row__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(103,167,102,0.15) 0%, rgba(217,122,74,0.15) 100%);
    color: var(--fd-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
a.fd-contact-row:hover .fd-contact-row__icon {
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    color: #fff;
    transform: rotate(-6deg);
}
.fd-contact-row__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.fd-contact-row__label {
    font-size: 12px;
    color: var(--fd-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.fd-contact-row__value {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}
.fd-contacts__socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.fd-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fd-bg-soft);
    color: var(--fd-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.fd-social:hover {
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    color: #fff;
    transform: translateY(-4px);
}
.fd-contacts__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.fd-contacts__col--map { position: relative; }
.fd-map {
    position: relative;
    width: 100%;
    min-height: 480px;
    border-radius: var(--fd-radius);
    overflow: hidden;
    background: linear-gradient(135deg, #e8eee8 0%, #dfe8dc 100%);
}
.fd-map__placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
}
.fd-map.is-open .fd-map__placeholder { opacity: 0; pointer-events: none; }
.fd-map__preview {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    height: 100%;
}
.fd-map__preview:hover { background: rgba(103,167,102,0.06); }
.fd-map__pin {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 16px 40px rgba(103,167,102,0.35);
    animation: fdMapPulse 2.4s ease-in-out infinite;
}
@keyframes fdMapPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.fd-map__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--fd-text);
    max-width: 320px;
    line-height: 1.3;
}
.fd-map__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--fd-text);
    color: #fff;
    border-radius: var(--fd-radius-btn);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fd-map__preview:hover .fd-map__cta {
    transform: translateY(-2px);
    box-shadow: var(--fd-shadow-md);
}
.fd-map__content {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.fd-map__content iframe,
.fd-map__content > *,
.fd-map__content > div {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

/* ============================================================
   26. CTA — на всю ширину
   ============================================================ */
.fd-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(120deg, var(--fd-accent) 0%, var(--fd-accent-dark) 60%, var(--fd-accent-2) 100%);
    color: #fff;
    overflow: hidden;
}
.fd-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
    animation: fdCtaShift 12s ease-in-out infinite alternate;
}
@keyframes fdCtaShift {
    from { transform: translateX(0) translateY(0); }
    to   { transform: translateX(40%) translateY(-10%); }
}
.fd-cta__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.fd-cta__title {
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 12px 0;
}
.fd-cta__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    margin: 0;
}
.fd-cta__actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.fd-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--fd-radius-btn);
    transition: all 0.3s cubic-bezier(.2,.8,.2,1);
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1;
}
.fd-cta__btn--white {
    background: #fff;
    color: var(--fd-accent-dark);
    border-color: #fff;
}
.fd-cta__btn--white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
}
.fd-cta__btn--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.fd-cta__btn--outline:hover {
    background: #fff;
    color: var(--fd-accent-dark);
    transform: translateY(-3px);
}
.fd-contacts__cta {
    padding: 0;
    background: linear-gradient(120deg, var(--fd-accent-2) 0%, #b85f33 100%);
    color: #fff;
}
.fd-contacts__cta .fd-cta__inner { padding: 60px 0; }
.fd-contacts__cta .fd-cta__title { color: #fff; }
.fd-contacts__cta .fd-cta__sub { color: rgba(255,255,255,0.88); }

/* ============================================================
   27. SEO-БЛОК (внизу главной)
   ============================================================ */
.fd-seo {
    padding: 100px 0 60px;
    background: #fff;
    border-top: 1px solid var(--fd-border);
}
.fd-seo__inner {
    max-width: 900px;
    margin: 0 auto;
}
.fd-seo__h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    margin: 0 0 28px 0;
    color: var(--fd-text);
}
.fd-seo__h3 {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    margin: 40px 0 16px 0;
    color: var(--fd-text);
}
.fd-seo p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--fd-muted);
    margin: 0 0 16px 0;
}

/* ============================================================
   28. КАТАЛОГ — категории
   ============================================================ */
.fd-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.fd-catalog__card {
    background: #fff;
    border-radius: var(--fd-radius);
    overflow: hidden;
    box-shadow: var(--fd-shadow-sm);
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    color: inherit;
}
.fd-catalog__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fd-shadow-md);
}
.fd-catalog__img {
    height: 240px;
    background: var(--fd-bg-soft);
    overflow: hidden;
}
.fd-catalog__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.fd-catalog__card:hover .fd-catalog__img img { transform: scale(1.06); }
.fd-catalog__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fd-catalog__title { font-size: 20px; font-weight: 700; margin: 0; }
.fd-catalog__desc { font-size: 14px; color: var(--fd-muted); line-height: 1.55; margin: 0; flex: 1; }
.fd-catalog__btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--fd-accent);
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: 4px;
}
.fd-catalog__card:hover .fd-catalog__btn { gap: 12px; color: var(--fd-accent-2); }

/* ============================================================
   29. КАТЕГОРИЯ — листинг товаров
   ============================================================ */
.fd-category__lead {
    font-size: 16px;
    color: var(--fd-muted);
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 40px;
}
.fd-tovars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.fd-tovar {
    background: #fff;
    border-radius: var(--fd-radius);
    overflow: hidden;
    box-shadow: var(--fd-shadow-sm);
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
    display: block;
    color: inherit;
}
.fd-tovar:hover {
    transform: translateY(-6px);
    box-shadow: var(--fd-shadow-md);
}
.fd-tovar__img {
    height: 260px;
    background: var(--fd-bg-soft);
    overflow: hidden;
}
.fd-tovar__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.fd-tovar:hover .fd-tovar__img img { transform: scale(1.06); }
.fd-tovar__body { padding: 20px; }
.fd-tovar__title { font-size: 17px; font-weight: 700; margin: 0 0 6px 0; line-height: 1.3; }
.fd-tovar__date { font-size: 13px; color: var(--fd-muted-light); margin: 0; }

/* ============================================================
   30. СТРАНИЦА ТОВАРА
   ============================================================ */
.fd-product__meta {
    font-size: 22px;
    font-weight: 700;
    color: var(--fd-accent);
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--fd-border);
}
.fd-product__top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: start;
}
.fd-product__media img {
    width: 100%;
    height: auto;
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow-sm);
}
.fd-product__gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.fd-product__thumb {
    display: block;
    aspect-ratio: 1;
    border-radius: var(--fd-radius-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fd-product__thumb:hover {
    transform: scale(1.04);
    box-shadow: var(--fd-shadow-md);
}
.fd-product__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.fd-product__info { position: sticky; top: 100px; }
.fd-product__desc {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin: 0 0 32px 0;
}
.fd-product__desc h2 {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 32px 0 16px 0;
    color: var(--fd-text);
}
.fd-product__desc h2:first-child { margin-top: 0; }
.fd-product__desc h3 {
    font-size: clamp(17px, 1.4vw, 20px);
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    margin: 28px 0 12px 0;
    color: var(--fd-text);
}
.fd-product__desc p { margin: 0 0 16px 0; }
.fd-product__desc p:last-child { margin-bottom: 0; }
.fd-product__desc strong {
    font-weight: 700;
    color: var(--fd-text);
}
.fd-product__desc ul,
.fd-product__desc ol {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style: none;
}
.fd-product__desc li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.fd-product__desc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 2px;
    background: var(--fd-accent);
    border-radius: 2px;
}
.fd-product__desc li:last-child { margin-bottom: 0; }
.fd-product__desc a {
    color: var(--fd-accent);
    border-bottom: 1px solid rgba(103,167,102,0.3);
    transition: border-color 0.2s;
}
.fd-product__desc a:hover { border-color: var(--fd-accent); }
.fd-product__desc img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fd-radius-sm);
    margin: 16px 0;
}
.fd-product__desc blockquote {
    border-left: 4px solid var(--fd-accent);
    padding: 8px 20px;
    margin: 20px 0;
    color: var(--fd-muted);
    font-style: italic;
    background: var(--fd-bg-soft);
    border-radius: 0 var(--fd-radius-sm) var(--fd-radius-sm) 0;
}
.fd-product__desc table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}
.fd-product__desc th,
.fd-product__desc td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--fd-border);
}
.fd-product__desc th {
    background: var(--fd-bg-soft);
    font-weight: 700;
}
.fd-product__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   31. ОБЫЧНАЯ СТРАНИЦА (default)
   ============================================================ */
.fd-page__content {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}
.fd-page__content h2 {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 40px 0 16px 0;
    color: var(--fd-text);
}
.fd-page__content h3 {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    margin: 32px 0 12px 0;
    color: var(--fd-text);
}
.fd-page__content p { margin: 0 0 16px 0; }
.fd-page__content ul,
.fd-page__content ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}
.fd-page__content ul { list-style: disc; }
.fd-page__content ol { list-style: decimal; }
.fd-page__content li { margin-bottom: 8px; }
.fd-page__content a {
    color: var(--fd-accent);
    border-bottom: 1px solid rgba(103,167,102,0.3);
    transition: border-color 0.2s;
}
.fd-page__content a:hover { border-color: var(--fd-accent); }
.fd-page__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fd-radius-sm);
    margin: 16px 0;
}
.fd-page__content blockquote {
    border-left: 4px solid var(--fd-accent);
    padding: 8px 20px;
    margin: 20px 0;
    color: var(--fd-muted);
    font-style: italic;
    background: var(--fd-bg-soft);
    border-radius: 0 var(--fd-radius-sm) var(--fd-radius-sm) 0;
}
.fd-page__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}
.fd-page__content th,
.fd-page__content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--fd-border);
}
.fd-page__content th {
    background: var(--fd-bg-soft);
    font-weight: 700;
}

/* ============================================================
   32. КОНТАКТЫ — текстовый блок + CTA (страница /contacts)
   ============================================================ */
.fd-contacts__text {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--fd-border);
}

/* ============================================================
   33. СКРОЛЛБАР + ВЫДЕЛЕНИЕ
   ============================================================ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--fd-bg-soft); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--fd-accent-dark) 0%, #b85f33 100%);
}
::selection { background: var(--fd-accent); color: #fff; }
::-moz-selection { background: var(--fd-accent); color: #fff; }

/* ============================================================
   FAQ — ФОРМА «ЗАДАТЬ ВОПРОС»
   ============================================================ */
.fd-faq__form {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--fd-border);
    max-width: 720px;
}
.fd-faq__form .fd-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.fd-faq__form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text);
}
.fd-faq__form .fd-required { color: var(--fd-accent-2); }
.fd-faq__form-answer {
    padding: 20px 24px;
    background: rgba(103,167,102,0.08);
    border-left: 4px solid var(--fd-accent);
    border-radius: var(--fd-radius-sm);
    color: var(--fd-text);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}
.fd-form-action { margin-top: 8px; }

/* ============================================================
   ГАЛЕРЕЯ — АЛЬБОМЫ (photo_alboms)
   ============================================================ */
.fd-albums { padding: 40px 0 80px; }
.fd-albums__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 32px 0;
}
.fd-album {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--fd-radius);
    overflow: hidden;
    box-shadow: var(--fd-shadow-sm);
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
    color: inherit;
}
.fd-album:hover {
    transform: translateY(-6px);
    box-shadow: var(--fd-shadow-md);
}
.fd-album__img {
    height: 240px;
    overflow: hidden;
    background: var(--fd-bg-soft);
}
.fd-album__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.fd-album:hover .fd-album__img img { transform: scale(1.06); }
.fd-album__body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.fd-album__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    flex: 1;
}
.fd-album__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fd-accent);
    transition: gap 0.3s ease, color 0.3s ease;
}
.fd-album:hover .fd-album__btn { gap: 12px; color: var(--fd-accent-2); }

/* ============================================================
   ГАЛЕРЕЯ — ФОТО ВНУТРИ АЛЬБОМА (gallery)
   ============================================================ */
.fd-gallery { padding: 40px 0 80px; }
.fd-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 32px 0;
}
.fd-gallery__item {
    display: block;
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--fd-radius-sm);
    overflow: hidden;
    background: var(--fd-bg-soft);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}
.fd-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.fd-gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--fd-shadow-md);
}
.fd-gallery__item:hover::after { opacity: 1; }
.fd-gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.fd-gallery__item:hover img { transform: scale(1.08); }

/* ============================================================
   ЛАЙТБОКС
   ============================================================ */
.fd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.fd-lightbox.is-open {
    display: flex;
    opacity: 1;
}
.fd-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: var(--fd-radius-sm);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: fdLbIn 0.3s cubic-bezier(.2,.8,.2,1);
    user-select: none;
    pointer-events: none;
}
@keyframes fdLbIn {
    from { transform: scale(0.96); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.fd-lightbox__close,
.fd-lightbox__nav {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    user-select: none;
}
.fd-lightbox__close:hover,
.fd-lightbox__nav:hover {
    background: rgba(255,255,255,0.3);
}
.fd-lightbox__close {
    top: 24px;
    right: 24px;
}
.fd-lightbox__close:hover { transform: rotate(90deg); }
.fd-lightbox__nav--prev {
    left: 24px;
    top: 50%;
    margin-top: -28px;
    font-size: 42px;
}
.fd-lightbox__nav--next {
    right: 24px;
    top: 50%;
    margin-top: -28px;
    font-size: 42px;
}
.fd-lightbox__nav--prev:hover { transform: translateX(-3px); }
.fd-lightbox__nav--next:hover { transform: translateX(3px); }
.fd-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.4);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    user-select: none;
}

/* ============================================================
   404
   ============================================================ */
.fd-404 {
    padding: 180px 0 120px;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(103,167,102,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(217,122,74,0.08) 0%, transparent 55%);
}
.fd-404__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.fd-404__num {
    font-size: clamp(120px, 22vw, 280px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px 0;
}
.fd-404__title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}
.fd-404__text {
    font-size: 17px;
    color: var(--fd-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}
.fd-404__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.fd-404__links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 15px;
    color: var(--fd-muted);
}
.fd-404__links a {
    color: var(--fd-muted);
    transition: color 0.2s;
}
.fd-404__links a:hover { color: var(--fd-accent); }
.fd-404__links span { color: var(--fd-muted-light); }

/* ============================================================
   СТРАНИЦА УСЛУГИ (service)
   ============================================================ */
.fd-service-page { padding: 40px 0 80px; }
.fd-service-page__head {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--fd-border);
}
.fd-service-page__num {
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}
.fd-service-page__lead {
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.6;
    color: var(--fd-muted);
    padding-top: 12px;
    max-width: 800px;
}
.fd-service-page__content {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 64px;
}
.fd-service-page__content h2 {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 40px 0 16px 0;
    color: var(--fd-text);
}
.fd-service-page__content h3 {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    margin: 32px 0 12px 0;
    color: var(--fd-text);
}
.fd-service-page__content p { margin: 0 0 16px 0; }
.fd-service-page__content ul,
.fd-service-page__content ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}
.fd-service-page__content ul { list-style: disc; }
.fd-service-page__content ol { list-style: decimal; }
.fd-service-page__content li { margin-bottom: 8px; }
.fd-service-page__content a {
    color: var(--fd-accent);
    border-bottom: 1px solid rgba(103,167,102,0.3);
    transition: border-color 0.2s;
}
.fd-service-page__content a:hover { border-color: var(--fd-accent); }
.fd-service-page__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fd-radius-sm);
    margin: 16px 0;
}
.fd-service-page__cta {
    background: linear-gradient(120deg, var(--fd-accent) 0%, var(--fd-accent-dark) 60%, var(--fd-accent-2) 100%);
    border-radius: var(--fd-radius);
    padding: 60px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.fd-service-page__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0 48px;
}
.fd-service-step {
    position: relative;
    padding: 32px 28px;
    background: var(--fd-bg-soft);
    border-radius: var(--fd-radius);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.3s ease;
}
.fd-service-step:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: var(--fd-shadow-md);
}
.fd-service-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(103,167,102,0.15) 0%, rgba(217,122,74,0.15) 100%);
    color: var(--fd-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.fd-service-step:hover .fd-service-step__icon {
    background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-2) 100%);
    color: #fff;
    transform: rotate(-6deg) scale(1.06);
}
.fd-service-step:nth-child(even) .fd-service-step__icon { color: var(--fd-accent-2); }
.fd-service-step h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: var(--fd-text);
}
.fd-service-step p {
    font-size: 14px;
    color: var(--fd-muted);
    line-height: 1.6;
    margin: 0;
}
.fd-service-page__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0 48px;
}
.fd-service-feature {
    position: relative;
    padding: 24px 24px 24px 68px;
    background: #fff;
    border: 1px solid var(--fd-border);
    border-radius: var(--fd-radius);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.fd-service-feature:hover {
    border-color: transparent;
    box-shadow: var(--fd-shadow-sm);
    transform: translateY(-3px);
}
.fd-service-feature__icon {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(103,167,102,0.12);
    color: var(--fd-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.fd-service-feature:nth-child(even) .fd-service-feature__icon {
    background: rgba(217,122,74,0.12);
    color: var(--fd-accent-2);
}
.fd-service-feature strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--fd-text);
}
.fd-service-feature p {
    font-size: 14px;
    color: var(--fd-muted);
    line-height: 1.55;
    margin: 0;
}
.fd-service-page__faq {
    margin: 48px 0 0;
}
.fd-service-page__faq-title {
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    margin: 0 0 24px 0;
}

/* ============================================================
   AJAX-ФОРМЫ — ОТВЕТЫ
   ============================================================ */
.fd-form-answer {
    padding: 16px 20px;
    background: rgba(103,167,102,0.08);
    border-left: 4px solid var(--fd-accent);
    border-radius: var(--fd-radius-sm);
    color: var(--fd-text);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 8px;
}
.fd-form-answer p { margin: 0 0 8px 0; }
.fd-form-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   ФИЛЬТР ТОВАРОВ (категория 147)
   ============================================================ */
.fd-filter {
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--fd-bg-soft);
    border-radius: var(--fd-radius);
}
.fd-filter__row {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}
.fd-filter__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}
.fd-filter__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--fd-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.fd-filter__select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fd-text);
    background: #fff;
    border: 2px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235e5e5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}
.fd-filter__select:focus,
.fd-filter__select:hover {
    border-color: var(--fd-accent);
    box-shadow: 0 0 0 4px rgba(103,167,102,0.12);
}
.fd-filter__reset {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fd-muted);
    background: #fff;
    border: 2px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.fd-filter__reset:hover {
    border-color: var(--fd-accent-2);
    color: var(--fd-accent-2);
}
.fd-tovars-wrap {
    transition: opacity 0.2s ease;
    min-height: 200px;
}

/* ============================================================
   ТАБЫ КАТЕГОРИЙ ПРОЕКТОВ (главная) — hover (base)
   ============================================================ */
.fd-portfolio__tab:hover {
    color: var(--fd-accent);
    border-color: var(--fd-accent);
}

/* ============================================================
   HONEYPOT — скрытое поле для ботов
   ============================================================ */
.fd-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* ============================================================
   ССЫЛКИ В ЧЕКБОКСАХ ФОРМ
   ============================================================ */
.fd-checkbox a {
    color: var(--fd-accent);
    border-bottom: 1px solid rgba(77, 138, 76, 0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.fd-checkbox a:hover {
    color: var(--fd-accent-dark);
    border-bottom-color: var(--fd-accent-dark);
}

/* ============================================================
   FOOTER-DOCS — юридические документы в футере
   ============================================================ */
.fd-footer__docs {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    font-size: 12px;
    line-height: 1.6;
}
.fd-footer__docs a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
    text-decoration: none;
}
.fd-footer__docs a:hover {
    color: var(--fd-accent-2);
}
.fd-footer__docs-sep {
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}
.fd-footer__note {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.35);
}