/* dmhouse-plugin-programming.css — قالب «برنامه نویسی افزونه وردپرس» (template-parts/body/plugin-programming.php).
   ⚠ همهٔ قاعده‌ها زیر .dmpl. هویت: «قطعهٔ پازل»؛ آبی وردپرس (--dmpl-wp)، صورتی نقشهٔ راه منبع (--dmpl-pink) و طلایی برند.
   بخش‌های مشترک (پرسش‌ها، دیدگاه‌ها، فرم، نقشهٔ راه) در dmhouse-service.css و dmhouse-lead-form.css. */

.dmpl {
    --dmpl-wp: #3582c4;
    --dmpl-pink: #e8285d;
    --dmpl-gold: var(--accent-primary);
    box-sizing: border-box;
    direction: rtl;
}

.dmpl *,
.dmpl *::before,
.dmpl *::after {
    box-sizing: inherit;
}

.dmpl .dmpl-sec {
    position: relative;
    padding-block: 110px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
}

.dmpl .dmpl-sec.section-meld { padding-block: clamp(110px, 12vw, 170px); }

.dmpl .dmpl-sec.section-meld > .page-container {
    position: relative;
    z-index: 2;
}

.dmpl .dmpl-hl { color: var(--dmpl-pink); }

.dmpl .dmpl-title,
.dmpl .dmpl-hero__title { text-align: start; }

.dmpl .dmpl-title {
    margin: 0 0 20px;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.55;
}

.dmpl .dmpl-title--center {
    max-width: 880px;
    margin-inline: auto;
    margin-block-end: 44px;
    text-align: center;
}

.dmpl .dmpl-lead {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 2.2;
}

.dmpl .dmpl-rich > :first-child { margin-block-start: 0; }
.dmpl .dmpl-rich > :last-child { margin-block-end: 0; }
.dmpl .dmpl-rich p { margin: 0 0 12px; }

.dmpl .dmpl-rich a {
    color: var(--dmpl-pink);
    font-weight: 700;
    text-decoration: none;
    border-block-end: 1px dashed currentColor;
}

.dmpl.is-js .js-lp-reveal {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .6s ease, translate .6s ease;
}

.dmpl.is-js .js-lp-reveal.is-in {
    opacity: 1;
    translate: 0 0;
}

.dmpl .dmpl-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.dmpl .dmpl-split__text { min-width: 0; }

.dmpl .dmpl-split__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: 26px;
}

/* ══════════ هیرو ══════════ */
.dmpl .dmpl-hero {
    padding-block: 170px 120px;
    background-image: radial-gradient(circle at 15% 30%, rgba(53, 130, 196, .2), transparent 42%), radial-gradient(circle at 85% 85%, rgba(232, 40, 93, .12), transparent 40%);
}

.dmpl .dmpl-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.dmpl .dmpl-eyebrow {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 16px;
    border: 1px solid rgba(53, 130, 196, .5);
    border-radius: var(--pill-radius);
    color: #9cc8f0;
    font-size: 14px;
    font-weight: 800;
}

.dmpl .dmpl-hero__title {
    margin: 0 0 22px;
    font-size: clamp(34px, 4.8vw, 60px);
    font-weight: 900;
    line-height: 1.3;
}

.dmpl .dmpl-hero__desc {
    max-width: 600px;
    margin-block-end: 30px;
    color: var(--text-secondary);
    font-size: 16.5px;
    line-height: 2.2;
}

.dmpl .dmpl-hero__media {
    display: flex;
    justify-content: center;
    min-width: 0;
}

/* صحنهٔ هیرو: عکس‌ها/وکتور وسط، اجزای افزونه‌نویسی شناور دورش (۱.۱۲۰.۲). */
.dmpl .dmpl-stage {
    position: relative;
    display: flex;
    justify-content: center;
    width: min(500px, 100%);
    padding: 40px 30px;
}

.dmpl .dmpl-float {
    position: absolute;
    z-index: 3;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
    animation: dmplFloat 6s ease-in-out infinite;
}

/* هدر فایل افزونه + هوک (کد، پس چپ‌به‌راست) */
.dmpl .dmpl-float--code {
    inset-block-end: -6px;
    inset-inline-end: -28px;
    width: 250px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background-color: #0b1526;
    text-align: left;
    animation-delay: -1s;
}

.dmpl .dmpl-float__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    background-color: rgba(255, 255, 255, .06);
}

.dmpl .dmpl-float__bar i { width: 8px; height: 8px; border-radius: 50%; background-color: #ff6b6b; }
.dmpl .dmpl-float__bar i:nth-child(2) { background-color: #ffd166; }
.dmpl .dmpl-float__bar i:nth-child(3) { background-color: #3ddc84; }
.dmpl .dmpl-float__bar b { margin-inline-start: 6px; color: rgba(255, 255, 255, .55); font-family: Consolas, Monaco, monospace; font-size: 11px; font-weight: 400; }

.dmpl .dmpl-float--code code {
    display: block;
    padding: 10px 12px 12px;
    color: #d6e2f5;
    font-family: Consolas, Monaco, monospace;
    font-size: 11.5px;
    line-height: 1.8;
    white-space: nowrap;
}

.dmpl .dmpl-float--code em { color: #6b7f9e; font-style: normal; }
.dmpl .dmpl-float--code u { color: #ffd166; text-decoration: none; }
.dmpl .dmpl-float--code b { color: #7cc4ff; font-weight: 400; }

/* کلید فعال‌سازی */
.dmpl .dmpl-float--toggle {
    inset-block-start: 6px;
    inset-inline-start: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background-color: #fff;
    color: #1d2327;
    font-size: 13px;
    font-weight: 900;
    animation-delay: -3s;
}

.dmpl .dmpl-switch--on { background-color: #00a32a; animation: none; }
.dmpl .dmpl-switch--on::after { inset-inline-start: 21px; animation: none; }

/* شورت‌کد */
.dmpl .dmpl-float--short {
    inset-block-start: 44%;
    inset-inline-start: -34px;
    padding: 8px 14px;
    border-radius: 10px;
    background-color: var(--dmpl-pink);
    color: #fff;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    font-weight: 700;
    animation-delay: -2s;
}

/* هوک */
.dmpl .dmpl-float--hook {
    inset-block-start: 12px;
    inset-inline-end: -10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(53, 130, 196, .5);
    border-radius: 10px;
    background-color: #0f2a4a;
    color: #9cc8f0;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    animation-delay: -4s;
}

.dmpl .dmpl-float--hook i {
    width: 10px;
    height: 14px;
    border: 2px solid currentColor;
    border-block-start: 0;
    border-radius: 0 0 6px 6px;
}

/* چرخ‌دنده و قطعهٔ پازل */
.dmpl .dmpl-float--gear {
    inset-block-end: 26%;
    inset-inline-start: -14px;
    width: 46px;
    height: 46px;
    padding: 9px;
    border-radius: 50%;
    background-color: var(--dmpl-gold);
    color: #0a192f;
    animation: dmplSpin 8s linear infinite;
}

.dmpl .dmpl-float--gear svg { width: 100%; height: 100%; }

.dmpl .dmpl-float--piece {
    inset-block-start: -10px;
    inset-inline-start: 46%;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: var(--dmpl-wp);
    box-shadow: none;
    animation: dmplWiggle 4s ease-in-out infinite;
}

.dmpl .dmpl-float--piece::before,
.dmpl .dmpl-float--piece::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: inherit;
}

.dmpl .dmpl-float--piece::before { inset-block-start: -7px; inset-inline-start: 12px; }
.dmpl .dmpl-float--piece::after { inset-block-start: 12px; inset-inline-end: -7px; }

/* سه عکس در قاب‌های پازلی */
.dmpl .dmpl-tiles {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(460px, 100%);
    aspect-ratio: 1 / 1;
}

.dmpl .dmpl-tile {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    animation: dmplFloat 7s ease-in-out infinite;
}

.dmpl .dmpl-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dmpl .dmpl-tile--0 { grid-row: 1 / 3; border-start-end-radius: 60px; }
.dmpl .dmpl-tile--1 { animation-delay: -2.3s; border-end-start-radius: 60px; }
.dmpl .dmpl-tile--2 { animation-delay: -4.6s; }

.dmpl .dmpl-tiles__badge {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: -38px -38px 0 0;
    border: 6px solid var(--color-navy);
    border-radius: 50%;
    background-color: var(--dmpl-wp);
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    animation: dmplSpin 14s linear infinite;
}

@keyframes dmplFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes dmplSpin { to { rotate: 360deg; } }

/* وکتور جایگزین: صفحهٔ افزونه‌های پیشخوان */
.dmpl .dmpl-admin {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(420px, 100%);
    padding: 0 18px 22px;
    overflow: hidden;
    border-radius: 22px;
    background-color: #f0f0f1;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}

.dmpl .dmpl-admin__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-inline: -18px;
    margin-block-end: 6px;
    padding: 12px 18px;
    background-color: #1d2327;
    color: #fff;
    font-size: 14px;
}

.dmpl .dmpl-admin__bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #646970;
}

.dmpl .dmpl-admin__bar b { margin-inline-start: 8px; }

.dmpl .dmpl-admin__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-inline-start: 4px solid #c3c4c7;
    border-radius: 10px;
    background-color: #fff;
    color: #1d2327;
    font-size: 14px;
    animation: dmplRowOn 8s ease-in-out infinite;
}

.dmpl .dmpl-admin__row b { flex: 1; }

.dmpl .dmpl-admin__ico {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background-color: var(--dmpl-wp);
    opacity: .85;
}

.dmpl .dmpl-admin__row--1 .dmpl-admin__ico { background-color: var(--dmpl-pink); }
.dmpl .dmpl-admin__row--2 .dmpl-admin__ico { background-color: var(--dmpl-gold); }
.dmpl .dmpl-admin__row--3 .dmpl-admin__ico { background-color: #00a32a; }

/* کلید روشن/خاموش؛ دکمه از شروع (راست) به پایان (چپ) می‌رود */
.dmpl .dmpl-switch {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 22px;
    background-color: #c3c4c7;
    animation: dmplSwitch 8s ease-in-out infinite;
}

.dmpl .dmpl-switch::after {
    content: "";
    position: absolute;
    inset-block-start: 3px;
    inset-inline-start: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    animation: dmplKnob 8s ease-in-out infinite;
}

.dmpl .dmpl-admin__row--1,
.dmpl .dmpl-admin__row--1 .dmpl-switch,
.dmpl .dmpl-admin__row--1 .dmpl-switch::after { animation-delay: .6s; }
.dmpl .dmpl-admin__row--2,
.dmpl .dmpl-admin__row--2 .dmpl-switch,
.dmpl .dmpl-admin__row--2 .dmpl-switch::after { animation-delay: 1.2s; }
.dmpl .dmpl-admin__row--3,
.dmpl .dmpl-admin__row--3 .dmpl-switch,
.dmpl .dmpl-admin__row--3 .dmpl-switch::after { animation-delay: 1.8s; }

@keyframes dmplSwitch {
    0%, 10% { background-color: #c3c4c7; }
    16%, 88% { background-color: #00a32a; }
    100% { background-color: #c3c4c7; }
}

@keyframes dmplKnob {
    0%, 10% { inset-inline-start: 3px; }
    16%, 88% { inset-inline-start: 21px; }
    100% { inset-inline-start: 3px; }
}

@keyframes dmplRowOn {
    0%, 10% { border-inline-start-color: #c3c4c7; }
    16%, 88% { border-inline-start-color: #00a32a; }
    100% { border-inline-start-color: #c3c4c7; }
}

/* قطعهٔ پازل: مربع با زبانه (::before) و جای خالی؛ از بیرون می‌آید و می‌نشیند */
.dmpl .dmpl-piece {
    position: relative;
    align-self: center;
    width: 64px;
    height: 64px;
    margin-block-start: 8px;
    border-radius: 10px;
    background-color: var(--dmpl-pink);
    animation: dmplPiece 8s cubic-bezier(.34, 1.56, .64, 1) infinite;
}

.dmpl .dmpl-piece::before,
.dmpl .dmpl-piece::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--dmpl-pink);
}

.dmpl .dmpl-piece::before { inset-block-start: -11px; inset-inline-start: 21px; }
.dmpl .dmpl-piece::after { inset-block-start: 21px; inset-inline-end: -11px; }

@keyframes dmplPiece {
    0%, 30% { translate: -140px -40px; rotate: -30deg; opacity: 0; }
    45%, 88% { translate: 0 0; rotate: 0deg; opacity: 1; }
    100% { translate: 0 0; opacity: 0; }
}

/* ══════════ ویژگی‌ها ══════════ */
.dmpl .dmpl-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dmpl .dmpl-feat {
    padding: 26px 24px;
    border: 1px solid var(--border-color, rgba(0, 0, 0, .08));
    border-radius: 22px;
    background-color: var(--bg-secondary);
    transition: border-color .3s ease, translate .3s ease;
}

.dmpl .dmpl-feat:hover { border-color: var(--dmpl-wp); translate: 0 -4px; }

/* آیکن هر ویژگی: خطی، در کاشی رنگی؛ بخش «a» هر آیکن انیمیشن خودش را دارد. */
.dmpl .dmpl-feat__ico {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-block-end: 18px;
    padding: 12px;
    border-radius: 16px;
    background-color: color-mix(in srgb, var(--dmpl-c, var(--dmpl-wp)) 14%, transparent);
    color: var(--dmpl-c, var(--dmpl-wp));
}

.dmpl .dmpl-feat__ico svg { width: 100%; height: 100%; overflow: visible; }

.dmpl .dmpl-feat__ico--1 { --dmpl-c: var(--dmpl-pink); }
.dmpl .dmpl-feat__ico--2 { --dmpl-c: #00a32a; }
.dmpl .dmpl-feat__ico--3 { --dmpl-c: var(--dmpl-gold); }
.dmpl .dmpl-feat__ico--4 { --dmpl-c: #8b5cf6; }
.dmpl .dmpl-feat__ico--5 { --dmpl-c: var(--dmpl-pink); }

.dmpl .dmpl-feat__ico svg * { transform-box: fill-box; transform-origin: center; }

/* ۰ بلوک‌ها یکی‌یکی می‌نشینند */
.dmpl .dmpl-feat__ico--0 .a,
.dmpl .dmpl-feat__ico--0 .b,
.dmpl .dmpl-feat__ico--0 .c,
.dmpl .dmpl-feat__ico--0 .d { animation: dmplBlock 4s ease-in-out infinite; }
.dmpl .dmpl-feat__ico--0 .b { animation-delay: .25s; }
.dmpl .dmpl-feat__ico--0 .c { animation-delay: .5s; }
.dmpl .dmpl-feat__ico--0 .d { animation-delay: .75s; fill: currentColor; }

@keyframes dmplBlock {
    0%, 10% { scale: .4; opacity: 0; }
    25%, 90% { scale: 1; opacity: 1; }
    100% { scale: .4; opacity: 0; }
}

/* ۱ قطعه داخل پنجرهٔ قالب می‌نشیند */
.dmpl .dmpl-feat__ico--1 .a { fill: currentColor; animation: dmplDrop 3.5s ease-in-out infinite; }

@keyframes dmplDrop {
    0%, 15% { translate: 0 -10px; opacity: 0; }
    35%, 85% { translate: 0 0; opacity: .85; }
    100% { opacity: 0; }
}

/* ۲ میکروفون هدست تکان می‌خورد */
.dmpl .dmpl-feat__ico--2 svg { animation: dmplWiggle 3s ease-in-out infinite; }

/* ۳ تیک سپر کشیده می‌شود */
.dmpl .dmpl-feat__ico--3 .a { stroke-dasharray: 14; stroke-dashoffset: 14; animation: dmplTick 3s ease-in-out infinite; }

@keyframes dmplTick {
    0%, 15% { stroke-dashoffset: 14; }
    45%, 90% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 14; }
}

/* ۴ ستاره می‌درخشد */
.dmpl .dmpl-feat__ico--4 .a { fill: currentColor; animation: dmplStar 2.4s ease-in-out infinite; }

@keyframes dmplStar {
    0%, 100% { scale: .7; opacity: .6; }
    50% { scale: 1.15; opacity: 1; }
}

/* ۵ فلش به‌روزرسانی می‌چرخد */
.dmpl .dmpl-feat__ico--5 .a { animation: dmplSpin 3s linear infinite; }

@keyframes dmplWiggle {
    0%, 80%, 100% { rotate: 0deg; }
    86% { rotate: 10deg; }
    92% { rotate: -8deg; }
}

.dmpl .dmpl-feat__title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
}

.dmpl .dmpl-feat__text {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 2.05;
}

/* ══════════ هزینه ══════════ */
.dmpl .dmpl-range {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 18px;
    border-radius: 12px;
    background-color: var(--dmpl-pink);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.dmpl .dmpl-callbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-block-start: 50px;
    padding: 24px 30px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background-color: rgba(255, 255, 255, .05);
}

.dmpl .dmpl-callbar__text {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 900;
}

/* ══════════ مراحل ══════════ */
.dmpl .dmlp-road { --dmlp-accent: var(--dmpl-pink); }

/* ══════════ انواع ══════════ */
.dmpl .dmpl-types__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dmpl .dmpl-type {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .04);
}

.dmpl .dmpl-type__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 900;
}

.dmpl .dmpl-type__text {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 2;
}

.dmpl .dmpl-type__ico {
    position: relative;
    display: block;
    flex: 0 0 52px;
    height: 52px;
    border-radius: 14px;
    background-color: rgba(53, 130, 196, .18);
}

.dmpl .dmpl-type__ico i { position: absolute; display: block; }

/* ۰ تقویم با روز تیک‌خورده */
.dmpl .dmpl-type__ico--0 i:first-child { inset: 12px; border: 3px solid #9cc8f0; border-block-start-width: 8px; border-radius: 5px; }
.dmpl .dmpl-type__ico--0 i:last-child { inset-block-start: 26px; inset-inline-start: 20px; width: 12px; height: 12px; border-radius: 3px; background-color: var(--dmpl-pink); animation: dmplBlink 2s steps(1) infinite; }

/* ۱ سبد خرید */
.dmpl .dmpl-type__ico--1 { background-color: rgba(232, 40, 93, .18); }
.dmpl .dmpl-type__ico--1 i:first-child { inset: 16px 12px 18px; border: 3px solid #ff8fb0; border-block-start: 0; border-radius: 0 0 6px 6px; }
.dmpl .dmpl-type__ico--1 i:last-child { inset-block-end: 9px; inset-inline-start: 16px; width: 20px; height: 6px; background-image: radial-gradient(circle, #ff8fb0 3px, transparent 3.5px); background-size: 10px 6px; animation: dmplFloat 2.4s ease-in-out infinite; }

/* ۲ کاربر */
.dmpl .dmpl-type__ico--2 { background-color: color-mix(in srgb, var(--dmpl-gold) 20%, transparent); }
.dmpl .dmpl-type__ico--2 i:first-child { inset-block-start: 10px; inset-inline-start: 18px; width: 16px; height: 16px; border-radius: 50%; background-color: var(--dmpl-gold); }
.dmpl .dmpl-type__ico--2 i:last-child { inset-block-end: 10px; inset-inline: 12px; height: 13px; border-radius: 14px 14px 4px 4px; background-color: var(--dmpl-gold); }

/* ۳ فرم: خط‌هایی که پر می‌شوند */
.dmpl .dmpl-type__ico--3 i { inset-inline: 12px; height: 5px; border-radius: 3px; background-color: #9cc8f0; transform-origin: right; animation: dmplFill 3s ease-in-out infinite; }
.dmpl .dmpl-type__ico--3 i:first-child { inset-block-start: 17px; }
.dmpl .dmpl-type__ico--3 i:last-child { inset-block-start: 29px; inset-inline-end: 22px; animation-delay: .5s; }

/* ۴ نمودار */
.dmpl .dmpl-type__ico--4 { background-color: rgba(0, 163, 42, .18); }
.dmpl .dmpl-type__ico--4 i { inset-block-end: 12px; width: 7px; border-radius: 2px; background-color: #5fd37b; transform-origin: bottom; animation: dmplGrow 3s ease-in-out infinite; }
.dmpl .dmpl-type__ico--4 i:first-child { inset-inline-start: 16px; height: 14px; }
.dmpl .dmpl-type__ico--4 i:last-child { inset-inline-start: 29px; height: 26px; animation-delay: .3s; }

/* ۵ چند قطعه */
.dmpl .dmpl-type__ico--5 i { width: 16px; height: 16px; border-radius: 4px; background-color: var(--dmpl-pink); animation: dmplWiggle 4s ease-in-out infinite; }
.dmpl .dmpl-type__ico--5 i:first-child { inset-block-start: 11px; inset-inline-start: 11px; }
.dmpl .dmpl-type__ico--5 i:last-child { inset-block-end: 11px; inset-inline-end: 11px; background-color: #9cc8f0; animation-delay: -2s; }

@keyframes dmplBlink { 50% { opacity: .2; } }

@keyframes dmplFill {
    0% { scale: 0 1; }
    40%, 85% { scale: 1 1; }
    100% { scale: 0 1; }
}

@keyframes dmplGrow {
    0% { scale: 1 .2; }
    40%, 85% { scale: 1 1; }
    100% { scale: 1 .2; }
}

.dmpl .dmpl-types__media { margin-block-start: 36px; }

.dmpl .dmpl-types__media img {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 26px;
}

/* ══════════ سفارش: کارت نصب ══════════ */
.dmpl .dmpl-install {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 18px;
    width: min(420px, 100%);
    justify-self: center;
    padding: 26px;
    border: 1px solid var(--border-color, rgba(0, 0, 0, .08));
    border-radius: 24px;
    background-color: var(--bg-primary);
    box-shadow: 0 30px 60px -36px rgba(10, 25, 47, .5);
}

.dmpl .dmpl-install__icon {
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-image: linear-gradient(135deg, var(--dmpl-wp), var(--dmpl-pink));
}

.dmpl .dmpl-install__name {
    align-self: end;
    font-size: 17px;
    font-weight: 900;
}

.dmpl .dmpl-install__meta {
    color: var(--text-secondary);
    font-size: 13px;
}

.dmpl .dmpl-install__bar {
    grid-column: 1 / -1;
    display: block;
    height: 10px;
    margin-block-start: 18px;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--bg-secondary);
}

.dmpl .dmpl-install__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background-image: linear-gradient(to left, var(--dmpl-wp), var(--dmpl-pink));
    transform-origin: right;
    animation: dmplInstall 6s ease-in-out infinite;
}

@keyframes dmplInstall {
    0%, 8% { scale: 0 1; }
    55%, 92% { scale: 1 1; }
    100% { scale: 0 1; }
}

.dmpl .dmpl-install__done {
    grid-column: 1 / -1;
    justify-self: start;
    margin-block-start: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    background-color: rgba(0, 163, 42, .14);
    color: #00a32a;
    font-size: 14px;
    font-weight: 900;
    animation: dmplDone 6s ease-in-out infinite;
}

@keyframes dmplDone {
    0%, 55% { opacity: 0; translate: 0 6px; }
    62%, 92% { opacity: 1; translate: 0 0; }
    100% { opacity: 0; }
}

/* ══════════ مدت زمان ══════════ */
.dmpl .dmpl-duration__box { max-width: 900px; }

.dmpl .dmpl-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: 6px;
    margin-block-end: 12px;
}

.dmpl .dmpl-days__d {
    display: block;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .08);
    animation: dmplDay 7s ease-in-out infinite;
    animation-delay: calc(var(--d, 1) * .1s);
}

.dmpl .dmpl-days__d.is-sure { --dmpl-on: var(--dmpl-pink); }
.dmpl .dmpl-days__d.is-maybe { --dmpl-on: color-mix(in srgb, var(--dmpl-wp) 70%, transparent); }

@keyframes dmplDay {
    0%, 4% { background-color: rgba(255, 255, 255, .08); }
    14%, 86% { background-color: var(--dmpl-on); }
    100% { background-color: rgba(255, 255, 255, .08); }
}

.dmpl .dmpl-days__label {
    margin: 0 0 26px;
    color: var(--text-secondary);
    font-size: 16px;
    text-align: center;
}

.dmpl .dmpl-days__label b {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

/* عنوان پرسش‌ها کوچک‌تر + تصویر هم‌قد پرسش‌ها (--dmlp-faq-h از dmhouse-landing.js). */
.dmpl .dmsv-faq__title {
    font-size: clamp(30px, 5vw, 64px);
    line-height: 1.1;
}

@media (min-width: 992px) {
    .dmpl .dmlp-faq .dmsv-faq__image {
        height: var(--dmlp-faq-h, auto);
        aspect-ratio: auto;
    }
}

/* ══════════ حرکت کم ══════════ */
@media (prefers-reduced-motion: reduce) {
    .dmpl *,
    .dmpl *::before,
    .dmpl *::after {
        animation: none !important;
        transition: none !important;
    }

    .dmpl.is-js .js-lp-reveal { opacity: 1; translate: none; }
    .dmpl .dmpl-days__d { background-color: var(--dmpl-on); }
    .dmpl .dmpl-install__done { opacity: 1; }
}

@media (max-width: 1100px) {
    .dmpl .dmpl-float--short,
    .dmpl .dmpl-float--toggle { inset-inline-start: 0; }
    .dmpl .dmpl-float--code { inset-inline-end: 0; }

    .dmpl .dmpl-features__grid,
    .dmpl .dmpl-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .dmpl .dmpl-hero__grid,
    .dmpl .dmpl-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .dmpl .dmpl-hero__media { order: -1; }
}

@media (min-width: 768px) and (max-width: 992px) {
    .dmpl .dmpl-sec { padding-block: 80px; }
    .dmpl .dmpl-hero { padding-block: 140px 80px; }
}

/* موبایل: بین سکشن‌ها ۲۰px، داخل ۱۵px؛ سکشن‌های موج‌دار ۴۵px؛ هیرو جای هدر. */
@media (max-width: 767px) {
    .dmpl .dmpl-sec,
    .dmpl .dmpl-sec.section-meld {
        margin-block: 20px;
        padding-block: 15px;
    }

    .dmpl .dmpl-sec.section-meld { padding-block: 45px; }
    .dmpl .dmpl-sec:first-child { margin-block-start: 0; }
    .dmpl .dmpl-hero { padding-block: 110px 30px; }
    .dmpl .dmpl-sec:last-child { margin-block-end: 0; }
    .dmpl .dmpl-features__grid,
    .dmpl .dmpl-types__grid { grid-template-columns: minmax(0, 1fr); }
    .dmpl .dmpl-callbar { margin-block-start: 24px; padding: 20px; }
    .dmpl .dmpl-days { gap: 3px; }
    .dmpl .dmpl-days__d { height: 26px; border-radius: 5px; }
    .dmpl .dmpl-tiles__badge { width: 60px; height: 60px; margin: -30px -30px 0 0; font-size: 20px; }

    /* موبایل: اجزای شناور کوچک‌تر و داخل کادر؛ کارت کد کوتاه می‌شود */
    .dmpl .dmpl-stage { padding: 30px 14px; }
    .dmpl .dmpl-float--code { inset-inline-end: 0; width: 200px; }
    .dmpl .dmpl-float--code code { font-size: 10px; }
    .dmpl .dmpl-float--toggle { inset-inline-start: 0; font-size: 12px; padding: 8px 10px; }
    .dmpl .dmpl-float--short { inset-inline-start: 0; }
    .dmpl .dmpl-float--hook { inset-inline-end: 0; }
    .dmpl .dmpl-float--gear { display: none; }
}

/* ══════════ یکپارچگی برند (۱.۱۲۱.۰، تصمیم مالک) ══════════
   اجزای رابط سرمه‌ای/مسی؛ آبی وردپرس و صورتی فقط در صحنهٔ پیشخوان، اجزای شناور هیرو، آیکن انواع و کارت نصب. */
.dmpl .dmpl-hl,
.dmpl .dmpl-rich a { color: var(--accent-primary); }

.dmpl .dmpl-eyebrow {
    border-color: color-mix(in srgb, var(--accent-primary) 55%, transparent);
    color: #e7b98a;
}

.dmpl .dmpl-range { background-color: var(--accent-primary); }
.dmpl .dmlp-road { --dmlp-accent: var(--accent-primary); }
.dmpl .dmpl-days__d.is-sure { --dmpl-on: var(--accent-primary); }
.dmpl .dmpl-days__d.is-maybe { --dmpl-on: color-mix(in srgb, var(--accent-primary) 40%, transparent); }
.dmpl .dmpl-feat:hover { border-color: var(--accent-primary); }

/* آیکن کارت‌های ویژگی: هر کدام شکل خودش، رنگ یکدست مسی */
.dmpl .dmpl-feat__ico,
.dmpl .dmpl-feat__ico--1,
.dmpl .dmpl-feat__ico--2,
.dmpl .dmpl-feat__ico--3,
.dmpl .dmpl-feat__ico--4,
.dmpl .dmpl-feat__ico--5 { --dmpl-c: var(--accent-primary); }
