/* =====================================================================
   استایل اختصاصی صفحه‌ی «دفتر طراحی وب ویرامونت»
   -----------------------------------------------------------------
   این فایل کاملاً مستقل از css/style.css استودیو عکاسی است و فقط
   داخل web-design.php لود می‌شود. رنگ‌های زنده از css/theme-webdesign.php
   می‌آیند (متغیرهای --wd-*).
===================================================== */

.wd-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.wd-page {
    background: var(--wd-bg);
    color: var(--wd-text);
    font-family: var(--wd-font-family);
    overflow-x: clip;
    line-height: 1.8;
}

.wd-page img, .wd-page video, .wd-page svg {
    max-width: 100%;
    height: auto;
}

.wd-page a {
    color: inherit;
    text-decoration: none;
}

.wd-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.wd-section {
    padding: 90px 0;
    position: relative;
}

.wd-section-head {
    text-align: center;
    margin-bottom: 56px;
}

.wd-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--wd-accent-light);
    border: 1px solid rgba(var(--wd-accent-light-rgb), 0.5);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.wd-section-head h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 14px;
}

.wd-section-head p {
    color: rgba(var(--wd-text-rgb), 0.7);
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
}

/* ================= HEADER / NAV مینیمال ================= */
.wd-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(var(--wd-bg-rgb), 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wd-nav .wd-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wd-nav .wd-logo span {
    color: var(--wd-accent-light);
}

.wd-nav-back {
    font-size: 13px;
    color: rgba(var(--wd-text-rgb), 0.75);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 8px 16px;
    border-radius: 999px;
    transition: 0.25s;
}

.wd-nav-back:hover {
    border-color: var(--wd-accent-light);
    color: var(--wd-text);
}

/* ================= HERO ================= */
.wd-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 24px;
}

.wd-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(var(--wd-accent-rgb), 0.28), transparent 55%),
        radial-gradient(ellipse at 80% 75%, rgba(var(--wd-accent-light-rgb), 0.18), transparent 55%);
}

.wd-hero-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.wd-hero-mark {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    font-family: var(--wd-font-family);
    font-weight: 800;
    font-size: clamp(90px, 18vw, 260px);
    line-height: 0.86;
    letter-spacing: 2px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--wd-text-rgb), 0.06);
    white-space: nowrap;
    user-select: none;
}

/* ================= نوار مارکی خدمات ================= */
.wd-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(var(--wd-accent-rgb), 0.08);
    padding: 16px 0;
    position: relative;
    z-index: 3;
}

.wd-marquee-track {
    display: flex;
    width: max-content;
    direction: ltr;
    animation: wd-marquee-scroll 26s linear infinite;
}

.wd-marquee-track span {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--wd-accent-light);
    padding: 0 28px;
    position: relative;
    white-space: nowrap;
}

.wd-marquee-track span::after {
    content: '◆';
    position: absolute;
    left: -4px;
    font-size: 8px;
    color: rgba(var(--wd-text-rgb), 0.3);
}

@keyframes wd-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

html.wd-lite .wd-marquee-track {
    animation-duration: 40s;
}

.wd-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.wd-hero-content .wd-eyebrow {
    margin-bottom: 26px;
}

.wd-hero-content h1 {
    font-size: clamp(32px, 6vw, 58px);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 22px;
}

.wd-hero-content h1 em {
    font-style: normal;
    color: var(--wd-accent-light);
}

.wd-hero-content p {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(var(--wd-text-rgb), 0.78);
    margin-bottom: 40px;
}

.wd-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border: 1px solid rgba(var(--wd-accent-light-rgb), 0.6);
    border-radius: 999px;
    font-size: 14px;
    transition: 0.3s;
    background: rgba(var(--wd-accent-rgb), 0.08);
}

.wd-btn-ghost:hover {
    background: rgba(var(--wd-accent-rgb), 0.22);
    border-color: var(--wd-accent-light);
    transform: translateY(-2px);
}

/* ================= کارت شیشه‌ای عمومی ================= */
.wd-glass {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.wd-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    background: radial-gradient(240px circle at var(--wd-mx, 50%) var(--wd-my, 50%), rgba(var(--wd-accent-light-rgb), 0.16), transparent 60%);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.wd-glass:hover::before {
    opacity: 1;
}

.wd-glass > * {
    position: relative;
    z-index: 1;
}

.wd-glass:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--wd-accent-light-rgb), 0.45);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* ================= چرا ویرامونت ================= */
.wd-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.wd-why-card {
    padding: 32px 26px;
    text-align: center;
}

.wd-why-card .wd-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 18px;
    color: var(--wd-accent-light);
}

.wd-why-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.wd-why-card p {
    font-size: 14px;
    color: rgba(var(--wd-text-rgb), 0.68);
}

/* ================= خدمات ================= */
.wd-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.wd-service-card {
    padding: 34px 28px;
}

.wd-service-card .wd-icon {
    width: 40px;
    height: 40px;
    color: var(--wd-accent-light);
    margin-bottom: 20px;
}

.wd-service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.wd-service-card p {
    font-size: 14px;
    color: rgba(var(--wd-text-rgb), 0.68);
}

/* ================= فرآیند کار (تایم‌لاین) ================= */
.wd-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}

.wd-process-step {
    padding: 28px 20px;
    text-align: center;
    position: relative;
}

.wd-process-step .wd-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wd-accent), var(--wd-accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
    font-size: 15px;
}

.wd-process-step h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.wd-process-step p {
    font-size: 13px;
    color: rgba(var(--wd-text-rgb), 0.65);
}

/* ================= نمونه‌کار (قلب صفحه) ================= */
.wd-portfolio-showcase {
    padding: 36px;
    text-align: center;
}

.wd-portfolio-showcase h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.wd-portfolio-showcase p {
    color: rgba(var(--wd-text-rgb), 0.7);
    font-size: 14px;
    max-width: 560px;
    margin: 0 auto 28px;
}

.wd-portfolio-shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.wd-portfolio-shots > div {
    aspect-ratio: 16/10;
    border-radius: 14px;
    background: rgba(var(--wd-accent-rgb), 0.12);
    border: 1px dashed rgba(var(--wd-accent-light-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(var(--wd-text-rgb), 0.45);
    overflow: hidden;
}

.wd-portfolio-shots img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= مقالات ================= */
.wd-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.wd-article-card {
    overflow: hidden;
}

.wd-article-card .wd-article-img {
    aspect-ratio: 16/10;
    background: rgba(var(--wd-accent-rgb), 0.15);
    overflow: hidden;
}

.wd-article-card .wd-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wd-article-card .wd-article-body {
    padding: 20px;
}

.wd-article-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.wd-article-card p {
    font-size: 13px;
    color: rgba(var(--wd-text-rgb), 0.65);
}

.wd-empty-note {
    text-align: center;
    color: rgba(var(--wd-text-rgb), 0.5);
    font-size: 14px;
    padding: 30px 0;
}

/* ================= سوالات متداول ================= */
.wd-faq-item {
    padding: 20px 24px;
    margin-bottom: 14px;
    cursor: pointer;
}

.wd-faq-item .wd-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
}

.wd-faq-item .wd-faq-q .wd-faq-toggle {
    transition: transform 0.3s;
    color: var(--wd-accent-light);
    font-size: 20px;
}

.wd-faq-item.wd-open .wd-faq-toggle {
    transform: rotate(45deg);
}

.wd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    font-size: 13px;
    color: rgba(var(--wd-text-rgb), 0.68);
}

.wd-faq-item.wd-open .wd-faq-a {
    max-height: 300px;
    padding-top: 14px;
}

/* ================= تماس با ما ================= */
.wd-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.wd-contact-card {
    padding: 26px 16px;
    text-align: center;
}

.wd-contact-card .wd-icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 14px;
    color: var(--wd-accent-light);
}

.wd-contact-card span {
    font-size: 13px;
    display: block;
}

/* ================= فوتر ================= */
.wd-footer {
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.wd-footer .wd-footer-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(var(--wd-text-rgb), 0.8);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 10px 22px;
    border-radius: 999px;
    margin-bottom: 22px;
    transition: 0.25s;
}

.wd-footer .wd-footer-back:hover {
    border-color: var(--wd-accent-light);
}

.wd-footer .wd-soon-row {
    font-size: 12px;
    color: rgba(var(--wd-text-rgb), 0.35);
    margin-bottom: 10px;
}

.wd-footer .wd-copy {
    font-size: 12px;
    color: rgba(var(--wd-text-rgb), 0.4);
}

/* =====================================================================
   بخش‌های جدید نسخه‌ی بازطراحی v3 (مشکی/نارنجی، ۵ بخشی)
===================================================== */

.wd-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(var(--wd-text-rgb), 0.14);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 12.5px;
    color: rgba(var(--wd-text-rgb), 0.7);
    margin-bottom: 26px;
}

.wd-hero-tag i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wd-accent);
    display: inline-block;
}

.wd-hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.wd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wd-accent);
    color: #1a0c00;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.wd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(var(--wd-accent-rgb), 0.35);
}

nav.wd-nav .wd-btn-primary {
    padding: 9px 18px;
    font-size: 13px;
}

.wd-arc-wrap {
    position: relative;
    width: 520px;
    max-width: 88vw;
    height: 220px;
    margin: 56px auto 0;
    overflow: hidden;
    z-index: 1;
}

.wd-arc {
    position: absolute;
    bottom: -260px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--wd-accent), transparent 60%);
    filter: blur(2px);
    opacity: 0.8;
    animation: wd-arc-spin 9s linear infinite;
}

.wd-arc::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: var(--wd-bg);
}

@keyframes wd-arc-spin {
    to { transform: translateX(-50%) rotate(360deg); }
}

html.wd-lite .wd-arc {
    animation: none;
}

/* ================= خدمات (کارت‌های با آیکون) ================= */
.wd-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.wd-feat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px 26px;
    transition: border-color 0.3s, transform 0.3s;
}

.wd-feat-card:hover {
    border-color: var(--wd-accent);
    transform: translateY(-4px);
}

.wd-feat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(var(--wd-accent-rgb), 0.14);
    color: var(--wd-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 18px;
}

.wd-feat-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wd-feat-card p {
    font-size: 13.5px;
    color: rgba(var(--wd-text-rgb), 0.68);
}

/* ================= نوار آمار ================= */
.wd-stat-band {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 36px 0;
}

.wd-stat-row {
    display: flex;
    flex-wrap: wrap;
}

.wd-stat {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
}

.wd-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.1);
}

.wd-stat b {
    display: block;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--wd-accent);
}

.wd-stat span {
    font-size: 12.5px;
    color: rgba(var(--wd-text-rgb), 0.6);
}

/* ================= نمونه‌کار (زیگزاگ) ================= */
.wd-pf-showcase {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wd-pf-item {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.wd-pf-item.wd-pf-reverse {
    grid-template-columns: 1fr 1.1fr;
}

.wd-pf-item.wd-pf-reverse .wd-pf-shot {
    order: 1;
}

.wd-pf-item.wd-pf-reverse .wd-pf-text {
    order: 2;
}

.wd-pf-text {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wd-pf-tag {
    font-size: 12px;
    color: var(--wd-accent-light);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.wd-pf-text h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.wd-pf-text p {
    font-size: 13.5px;
    color: rgba(var(--wd-text-rgb), 0.68);
    margin-bottom: 16px;
}

.wd-pf-link {
    font-size: 13px;
    color: var(--wd-accent-light);
    width: fit-content;
    border-bottom: 1px solid rgba(var(--wd-accent-light-rgb), 0.5);
}

.wd-pf-shot {
    position: relative;
    min-height: 260px;
    background: linear-gradient(160deg, rgba(var(--wd-accent-rgb), 0.16), var(--wd-bg) 70%);
    overflow: hidden;
}

.wd-pf-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wd-pf-browser-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 10px 14px;
    display: flex;
    gap: 8px;
    background: rgba(0,0,0,0.3);
}

.wd-pf-browser-bar i {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: block;
}

.wd-pf-shot-inner {
    position: absolute;
    inset: 36px 20px 20px;
}

.wd-ph-line {
    height: 9px;
    background: rgba(var(--wd-text-rgb), 0.12);
    border-radius: 4px;
    margin-bottom: 12px;
}
.wd-ph-line.w60 { width: 60%; }

.wd-ph-block {
    height: 60px;
    background: rgba(var(--wd-accent-rgb), 0.14);
    border-radius: 8px;
    margin: 14px 0;
}

/* ================= CTA پایانی / تماس ================= */
.wd-cta-final {
    text-align: center;
    padding: 140px 0 110px;
}

.wd-cta-final h2 {
    font-size: clamp(28px, 5vw, 50px);
    font-weight: 800;
    max-width: 700px;
    margin: 18px auto 0;
    line-height: 1.35;
}

.wd-cta-final h2 em {
    font-style: normal;
    color: var(--wd-accent);
}

.wd-cta-final p {
    color: rgba(var(--wd-text-rgb), 0.68);
    margin-top: 16px;
}

.wd-contact-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.wd-contact-pills a {
    border: 1px solid rgba(255,255,255,0.14);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    transition: border-color 0.3s, background 0.3s;
}

.wd-contact-pills a:hover {
    border-color: var(--wd-accent);
    background: rgba(var(--wd-accent-rgb), 0.1);
}

@media (max-width: 900px) {
    .wd-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .wd-pf-item, .wd-pf-item.wd-pf-reverse {
        grid-template-columns: 1fr;
    }
    .wd-pf-item.wd-pf-reverse .wd-pf-shot,
    .wd-pf-item.wd-pf-reverse .wd-pf-text { order: unset; }
}

@media (max-width: 620px) {
    .wd-feat-grid { grid-template-columns: 1fr; }
    .wd-cta-final { padding: 90px 0 70px; }
}

/* ================= ورود عناصر با اسکرول (کلاس‌هایی که JS اضافه می‌کند) ================= */
.wd-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.wd-reveal.wd-in {
    opacity: 1;
    transform: translateY(0);
}

/* ================= ریسپانسیو ================= */
@media (max-width: 900px) {
    .wd-why-grid,
    .wd-services-grid,
    .wd-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wd-process {
        grid-template-columns: repeat(2, 1fr);
    }
    .wd-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wd-portfolio-shots {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .wd-section {
        padding: 60px 0;
    }
    .wd-why-grid,
    .wd-services-grid,
    .wd-articles-grid,
    .wd-process,
    .wd-contact-grid,
    .wd-portfolio-shots {
        grid-template-columns: 1fr;
    }
    .wd-hero {
        min-height: 80vh;
    }
    /* موبایل‌های قدیمی‌تر: بلور سنگین حذف/سبک بشه (چک‌لیست فاز موبایل) */
    .wd-glass {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .wd-glass, .wd-nav {
        background: rgba(20,20,20,0.88);
    }
}

/* =====================================================================
   نسخه‌ی v4 — «تک‌عکس» — نوار بالا با منوی نارنجی + هدر تمام‌صفحه‌ی عکس
   -----------------------------------------------------------------
   این بخش، کلاس‌های جدید با پیشوند wdh- است و به کلاس‌های قدیمی بالا
   (wd-hero, wd-nav, ...) کاری ندارد؛ آن‌ها دست‌نخورده و بی‌خطر باقی
   می‌مانند برای مرحله‌های بعدی.
===================================================== */

.wdh-page {
    background: var(--wd-bg);
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

/* ---------- نوار بالا ---------- */
.wdh-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(20px, 5vw, 56px);
    background: linear-gradient(to bottom, rgba(6,6,7,.55) 0%, rgba(6,6,7,0) 100%);
}

/* بلوک لوگو (منو دیگه اینجا نیست؛ به پایین صفحه منتقل شد) */
.wdh-nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.wdh-logo {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .3px;
    color: var(--wd-text);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wdh-logo img {
    display: block;
    height: clamp(32px, 4.5vw, 44px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.wdh-logo span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .5px;
    color: rgba(var(--wd-text-rgb), .6);
    margin-top: 2px;
}

.wdh-back {
    font-size: 12.5px;
    color: rgba(var(--wd-text-rgb), .78);
    border: 1px solid rgba(255,255,255,.18);
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
    transition: .25s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wdh-back:hover {
    border-color: var(--wd-accent);
    color: var(--wd-text);
}

/* ---------- هدر تمام‌صفحه‌ی عکس ---------- */
.wdh-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.wdh-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* عکس پس‌زمینه (لایه‌ی جدا برای اینکه فقط خودِ عکس تار بشه، نه بقیه‌ی لایه‌ها) */
.wdh-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #08090a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* بدون عکس واقعی هنوز: یک پس‌زمینه‌ی گرادیانی شیک به‌جای عکس نشون داده می‌شه */
    background-image:
        radial-gradient(ellipse at 25% 20%, rgba(var(--wd-accent-rgb), .16), transparent 55%),
        radial-gradient(ellipse at 80% 85%, rgba(var(--wd-accent-light-rgb), .12), transparent 55%);
}

.wdh-hero-overlay {
    position: absolute;
    inset: 0;
    /* دیگه متنی روی عکس نیست؛ فقط یک تیرگی خیلی ملایم پایین عکس برای
       عمق بصری می‌مونه، خود عکس تقریباً کامل واضح دیده می‌شه. */
    background: linear-gradient(to top, rgba(4,4,5,.32) 0%, transparent 35%);
    z-index: 2;
}

/* ---------- سه دکمه‌ی شیشه‌ای منو، پایین صفحه، از چپ تا راست ---------- */
.wdh-bottom-menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(26px, 5vw, 52px);
    z-index: 6;
    display: flex;
    gap: clamp(12px, 2vw, 22px);
    padding: 0 clamp(20px, 5vw, 56px);
}

.wdh-bmenu-btn {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(16px, 2.2vw, 22px) 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow:
        0 10px 32px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 0 0 rgba(var(--wd-accent-rgb), 0);
    color: var(--wd-text);
    font-size: clamp(13px, 1.6vw, 15.5px);
    font-weight: 700;
    letter-spacing: .2px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(26px);
    animation: wdh-bmenu-in .7s cubic-bezier(.2, .8, .2, 1) forwards,
               wdh-bmenu-glow 3.6s ease-in-out 1.4s infinite;
    transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.wdh-bmenu-btn:nth-child(1) { animation-delay: .15s, 1.4s; }
.wdh-bmenu-btn:nth-child(2) { animation-delay: .3s,  1.7s; }
.wdh-bmenu-btn:nth-child(3) { animation-delay: .45s, 2s; }

@keyframes wdh-bmenu-in {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* درخشش نارنجی بسیار ملایم که به‌آرامی نفس می‌کشد، هم‌رنگ نور روی عکس */
@keyframes wdh-bmenu-glow {
    0%, 100% {
        border-color: rgba(255, 255, 255, .22);
        box-shadow:
            0 10px 32px rgba(0, 0, 0, .28),
            inset 0 1px 0 rgba(255, 255, 255, .16),
            0 0 0 rgba(var(--wd-accent-rgb), 0);
    }
    50% {
        border-color: rgba(var(--wd-accent-light-rgb), .45);
        box-shadow:
            0 10px 32px rgba(0, 0, 0, .28),
            inset 0 1px 0 rgba(255, 255, 255, .2),
            0 0 26px rgba(var(--wd-accent-rgb), .3);
    }
}

/* افکت شاین: یک نوار نور که هنگام هاور از روی شیشه رد می‌شود */
.wdh-bmenu-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%);
    transform: translateX(-140%);
}

.wdh-bmenu-btn:hover .wdh-bmenu-shine {
    transform: translateX(140%);
    transition: transform .85s ease;
}

.wdh-bmenu-label {
    position: relative;
    z-index: 2;
}

.wdh-bmenu-btn:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .13);
    border-color: rgba(var(--wd-accent-light-rgb), .6);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .25),
        0 0 34px rgba(var(--wd-accent-rgb), .4);
    color: var(--wd-accent-light);
}

/* روی موبایل/کاهش‌حرکت: فقط پالسِ متحرک خاموش می‌شه، ظاهر شیشه‌ای ثابت می‌مونه */
html.wd-lite .wdh-bmenu-btn {
    animation: wdh-bmenu-in .01s forwards;
}

@media (max-width: 780px) {
    .wdh-nav {
        padding: 16px 18px;
    }
    .wdh-nav-brand {
        gap: 10px;
    }
    .wdh-back {
        display: none;
    }
    .wdh-bottom-menu {
        padding: 0 14px;
        gap: 8px;
        bottom: 20px;
    }
    .wdh-bmenu-btn {
        padding: 14px 8px;
        font-size: 12px;
        white-space: normal;
    }
}

/* ---------- پنل شیشه‌ای تمام‌صفحه‌ی «خدمات» (فاز ۱۷) ----------
   پنل با موقعیت fixed از دقیقاً محل دکمه‌ی «خدمات» شروع به بزرگ‌شدن
   می‌کند تا کل ویوپورت را بپوشاند؛ مقادیر top/left/right/bottom با
   جاوااسکریپت (js/webdesign-animations.js) روی همین المان تنظیم
   می‌شوند، این بخش فقط ظاهر/ترنزیشن/تایپوگرافی را مشخص می‌کند. */
.wdh-panel {
    position: fixed;
    z-index: 50;
    background: rgba(18, 14, 12, .6);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 16px;
    opacity: 0;
    overflow: hidden;
    transition:
        top .5s cubic-bezier(.2, .8, .2, 1),
        left .5s cubic-bezier(.2, .8, .2, 1),
        right .5s cubic-bezier(.2, .8, .2, 1),
        bottom .5s cubic-bezier(.2, .8, .2, 1),
        border-radius .5s cubic-bezier(.2, .8, .2, 1),
        opacity .35s ease;
}

.wdh-panel[hidden] {
    display: block;
    visibility: hidden;
    pointer-events: none;
}

.wdh-panel.wdh-panel-open {
    border-radius: 0;
}

.wdh-panel-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--wd-text);
    font-size: 18px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.wdh-panel-close:hover {
    background: rgba(255, 255, 255, .18);
    transform: scale(1.06);
}

.wdh-panel-content {
    height: 100%;
    overflow-y: auto;
    padding: clamp(56px, 8vw, 84px) clamp(20px, 5vw, 40px) clamp(24px, 5vw, 40px);
    opacity: 0;
    transition: opacity .4s ease .15s;
}

.wdh-panel.wdh-panel-open .wdh-panel-content {
    opacity: 1;
}

.wdh-panel-title {
    text-align: center;
    color: var(--wd-text);
    font-weight: 500;
    font-size: clamp(19px, 2.4vw, 26px);
    margin: 0 0 clamp(22px, 3vw, 34px);
}

.wdh-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 1.6vw, 18px);
    max-width: 640px;
    margin: 0 auto;
}

.wdh-panel-item {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: clamp(16px, 2vw, 22px) 10px;
    text-align: center;
    color: var(--wd-text);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.wdh-panel-item:hover {
    background: rgba(var(--wd-accent-rgb), .12);
    border-color: rgba(var(--wd-accent-light-rgb), .5);
    transform: translateY(-3px);
}

.wdh-panel-item i {
    display: block;
    font-size: clamp(22px, 3vw, 28px);
    color: var(--wd-accent-light);
    margin-bottom: 8px;
}

.wdh-panel-item span {
    font-size: clamp(12.5px, 1.6vw, 14px);
    font-weight: 500;
}

.wdh-panel-item-wide {
    grid-column: 1 / -1;
}

/* هر خدمت الان یک <button> واقعیه (قابل کلیک برای نمایش تمام‌صفحه)؛
   استایل پیش‌فرض دکمه‌ی مرورگر خنثی می‌شه تا دقیقاً مثل قبل دیده بشه. */
.wdh-panel-item {
    font-family: inherit;
    cursor: pointer;
    width: 100%;
}

.wdh-panel-item:focus-visible {
    outline: 2px solid var(--wd-accent-light);
    outline-offset: 2px;
}

/* روی موبایل/کاهش‌حرکت: بدون مورف از محل دکمه، فقط فید ساده روی کل صفحه */
html.wd-lite .wdh-panel {
    transition: opacity .3s ease;
}

/* ---------- نمایش تمام‌صفحه‌ی یک خدمت با متن تایپ‌شونده ---------- */
/* وقتی روی یکی از خدمات کلیک می‌شه، همون پنل شیشه‌ای «خدمات» (که از قبل
   تمام‌صفحه است) از حالت گرید به حالت «جزئیات» سوییچ می‌کنه؛ گرید محو/جمع
   می‌شه و متن کامل همون خدمت با افکت تایپ‌شونده جایگزینش می‌شه. */
.wdh-panel.wdh-mode-detail .wdh-panel-grid {
    display: none;
}

.wdh-service-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(14px) scale(.97);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}

.wdh-service-detail[hidden] {
    display: none;
}

.wdh-panel.wdh-mode-detail .wdh-service-detail {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.wdh-service-back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(var(--wd-text-rgb), .8);
    font-family: inherit;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    margin-bottom: clamp(20px, 4vw, 40px);
    transition: background .25s ease, border-color .25s ease;
}

.wdh-service-back:hover {
    background: rgba(var(--wd-accent-rgb), .14);
    border-color: rgba(var(--wd-accent-light-rgb), .5);
}

.wdh-service-detail-inner {
    width: 100%;
}

.wdh-service-detail-icon {
    display: block;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--wd-accent-light);
    margin-bottom: clamp(12px, 2vw, 18px);
}

.wdh-service-detail-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    margin: 0 0 clamp(16px, 2.6vw, 24px);
    color: var(--wd-text);
}

.wdh-typewriter {
    font-size: clamp(14.5px, 1.9vw, 17px);
    line-height: 1.95;
    color: rgba(var(--wd-text-rgb), .85);
    margin: 0;
    min-height: 1.95em;
}

/* نشانگرِ چشمک‌زن، دقیقاً انتهای متنِ درحال‌تایپ */
.wdh-typewriter::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-inline-start: 3px;
    vertical-align: -2px;
    background: var(--wd-accent-light);
    animation: wdh-tw-blink 1s step-end infinite;
}

.wdh-typewriter.wdh-tw-done::after {
    animation-duration: 1.15s;
}

@keyframes wdh-tw-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .wdh-service-detail { transition: opacity .25s ease; transform: none !important; }
    .wdh-typewriter::after { animation: none; opacity: 1; }
}

@media (max-width: 780px) {
    .wdh-panel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ---------- پنل «نمونه‌کار»: ۶ کارت مستطیلی افقی زیر هم (فاز ۱۸) ---------- */
.wdh-portfolio-list {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.6vw, 18px);
    max-width: 760px;
    margin: 0 auto;
}

.wdh-portfolio-card {
    position: relative;
    display: block;
    height: clamp(84px, 12vw, 130px);
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, .06);
    background-image: linear-gradient(135deg, rgba(var(--wd-accent-rgb), .22), rgba(var(--wd-accent-light-rgb), .1));
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, .15);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease;
}

.wdh-portfolio-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--wd-accent-light-rgb), .55);
}

.wdh-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 4, 5, .78) 0%, rgba(4, 4, 5, .15) 55%, transparent 80%);
}

.wdh-portfolio-tag {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    background: rgba(var(--wd-bg-rgb), .55);
    border: 1px solid rgba(var(--wd-accent-light-rgb), .5);
    color: var(--wd-accent-light);
    font-size: clamp(10.5px, 1.2vw, 12px);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.wdh-portfolio-title {
    position: absolute;
    right: 14px;
    bottom: 10px;
    left: 14px;
    z-index: 2;
    color: var(--wd-text);
    font-size: clamp(13px, 1.7vw, 16px);
    font-weight: 700;
}

/* ---------- پنل «ارتباط با ما» (فاز ۱۸) ---------- */
.wdh-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}

.wdh-contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--wd-text);
    font-size: clamp(13px, 1.6vw, 15px);
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.wdh-contact-row i {
    flex: 0 0 auto;
    font-size: 20px;
    color: var(--wd-accent-light);
}

.wdh-contact-row-link:hover {
    background: rgba(var(--wd-accent-rgb), .12);
    border-color: rgba(var(--wd-accent-light-rgb), .5);
    transform: translateY(-2px);
}
