/* ===== فونت دانا از پوشه محلی assets/fonts ===== */
@font-face { font-family: 'Dana'; src: url('fonts/Dana-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-DemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #2a1e12;
  --bg-soft: #423020;
  --bg-card: rgba(96, 70, 43, 0.55);
  --bg-card-hover: rgba(120, 86, 51, 0.72);
  --walnut: #6a4626;
  --walnut-deep: #3d2a18;
  --panel: rgba(96, 70, 43, 0.58);
  --panel-2: rgba(112, 83, 51, 0.75);
  --cream: #fbf4e6;
  --cream-2: #f0e6d2;
  --cream-warm: #faf1e0;
  --muted: #dccbb2;
  --muted-2: #c2ac8e;
  --gold: #ffcb4a;
  --gold-light: #ffdc7d;
  --gold-deep: #f0a430;
  --gold-glow: rgba(255, 203, 74, 0.5);
  --amber: #ffaa4f;
  --amber-light: #ffc67c;
  --terracotta: #f37a46;
  --terracotta-light: #f9a17e;
  --olive: #9fb86a;
  --olive-light: #bcd489;
  --oak: #bd8d48;
  --oak-light: #ddb679;
  --chestnut: #ad6435;
  --chestnut-light: #d08d59;
  --line: rgba(255, 194, 60, 0.22);
  --glass-border: rgba(255, 194, 60, 0.22);
  --glass-border-hover: rgba(255, 194, 60, 0.55);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 0 44px rgba(255, 194, 60, 0.25);
  --ease: cubic-bezier(.25,.46,.45,.94);
  --ff-display: 'Dana', sans-serif;
  --ff-body: 'Dana', sans-serif;
  --ff-mono: 'Dana', sans-serif;
  --cursor-x: 50%;
  --cursor-y: 50%;
}

*, *::before, *::after {
  box-sizing: border-box;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--cream);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1999;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, transparent 60%, rgba(0,0,0,0.22) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

::selection { background: var(--gold); color: #1a0f06; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-deep), var(--gold)); border-radius: 10px; border: 2px solid var(--bg); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ===== انیمیشن‌ها ===== */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes sweepLight {
  0%   { background-position: 160% 0; opacity: 0; }
  12%  { opacity: .9; }
  50%  { background-position: -60% 0; opacity: .9; }
  62%  { opacity: 0; }
  100% { background-position: -60% 0; opacity: 0; }
}
@keyframes driftParticles {
  from { background-position: 8% 18%, 55% 75%, 82% 30%, 35% 55%, 22% 30%, 78% 68%, 50% 45%; }
  to   { background-position: 8% -280px, calc(55% + 320px) 75%, 82% calc(30% - 280px), calc(35% - 240px) 55%, 22% 30%, 78% 68%, 50% 45%; }
}
@keyframes heroGlow {
  from { opacity: .8; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.02); }
}
@keyframes floatGold {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.01); }
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(calc(var(--cursor-x) - 50%), calc(var(--cursor-y) - 50%));
  background: radial-gradient(circle, rgba(255, 194, 60, 0.14), transparent 70%);
  transition: opacity .4s ease;
  will-change: transform;
}
@media (max-width: 1024px) {
  .cursor-glow { display: none; }
}

/* ===== لوگوها ===== */
.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  flex: none;
  border: 2px solid var(--gold);
  padding: 4px;
  background: rgba(255, 194, 60, 0.1);
  box-shadow: 0 0 25px rgba(255, 194, 60, 0.3), 0 4px 20px rgba(255, 194, 60, 0.18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.06);
  box-shadow: 0 0 45px rgba(255, 194, 60, 0.45), 0 6px 30px rgba(255, 194, 60, 0.28);
}

.hero-logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 32px;
  display: block;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 6px;
  position: relative;
  background: radial-gradient(circle, rgba(42,30,18,.9) 0%, rgba(42,30,18,.62) 68%, rgba(42,30,18,0) 100%);
  box-shadow: 0 0 40px rgba(255, 194, 60, 0.35), 0 0 80px rgba(255, 194, 60, 0.18);
  animation: floatGold 9s ease-in-out infinite;
}

.contact-card .brand-logo {
  width: 70px;
  height: 70px;
}

.story-text {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 20px auto;
  max-width: 700px;
  letter-spacing: 0.5px;
  line-height: 2;
}

.footer-story {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--gold-light);
  opacity: 0.75;
  margin-right: 12px;
  letter-spacing: 1px;
}

.ring-mark {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.section-head .ring-mark { opacity: 0.3; }

.section-head {
  text-align: center;
  margin-bottom: 46px;
  position: relative;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--amber-light);
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: .95;
}
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: .5px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 55%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(255, 194, 60, 0.2));
}
.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.divider svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.joint-seam {
  position: relative;
  height: 14px;
  width: 100%;
  overflow: hidden;
}
.joint-seam::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
          linear-gradient(135deg, var(--gold) 25%, transparent 25%) 0 0/16px 16px,
          linear-gradient(225deg, var(--amber) 25%, transparent 25%) 0 0/16px 16px;
  opacity: 0.65;
}

/* ===== دکمه‌ها ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .4px;
  border-radius: 13px;
  border: 2px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.95); }

.btn-gold {
  background: linear-gradient(155deg, #ffd668 0%, var(--gold) 35%, var(--amber) 75%, var(--gold-deep) 100%);
  color: #1a0f06;
  box-shadow: 0 16px 40px rgba(255, 194, 60, .55), 0 0 60px rgba(255, 157, 61, 0.3), inset 0 1px 0 rgba(255,255,255,.5);
  animation: pulseGlow 3s ease-in-out infinite;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.35), transparent);
  background-size: 300% 300%;
  animation: sweepLight 4s linear infinite;
  pointer-events: none;
}
.btn-gold:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 50px rgba(255, 194, 60, .65), 0 0 80px rgba(255, 157, 61, 0.35), inset 0 1px 0 rgba(255,255,255,.6);
}

.btn-outline {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 194, 60, .4);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(255, 194, 60, 0.16);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 194, 60, 0.22);
}

.btn-dark {
  background: linear-gradient(165deg, #5a3f26, #2a1a0e);
  color: var(--gold-light);
  border-color: rgba(255, 194, 60, 0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.btn-dark:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}

.btn-block { width: 100%; }

.portfolio .btn-dark,
.portfolio-section .btn-dark {
  box-shadow: 0 14px 32px rgba(40, 26, 14, .25);
}

/* ===== هدر (ثابت) ===== */
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: linear-gradient(180deg, rgba(52, 38, 23, 0.94) 0%, rgba(34, 24, 14, 0.92) 100%);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  border-bottom: 1px solid rgba(255, 194, 60, 0.38);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}
.site-header::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--amber), var(--terracotta), var(--gold), transparent);
  opacity: .7;
  pointer-events: none;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 6px;
}
.brand-text { line-height: 1.3; }
.brand-text b {
  display: block;
  font-family: var(--ff-display);
  letter-spacing: 1.2px;
  font-size: 19px;
  color: var(--cream);
  font-weight: 700;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 65%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .5px;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 194, 60, 0.14);
  border-radius: 999px;
  padding: 6px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  transition: color .3s ease, background .3s ease;
}
.main-nav a:hover { color: var(--gold-light); background: rgba(255, 194, 60, 0.1); }
.main-nav a.active {
  color: #1a0f06;
  background: linear-gradient(155deg, var(--gold-light), var(--gold) 60%, var(--amber));
  box-shadow: 0 4px 16px rgba(255, 194, 60, 0.35);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(155deg, var(--gold-light) 0%, var(--gold) 45%, var(--amber) 78%, var(--terracotta) 100%);
  color: #1a0f06;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 22px rgba(255, 194, 60, 0.38), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.phone-pill:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 32px rgba(255, 194, 60, 0.5); }
.phone-pill svg { width: 15px; height: 15px; flex: none; }
.phone-pill span.hide-sm {
  font-family: var(--ff-body);
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 194, 60, 0.1);
  border: 1px solid rgba(255, 194, 60, 0.25);
  border-radius: 10px;
  padding: 10px;
  transition: background .3s ease;
}
.nav-toggle:hover { background: rgba(255, 194, 60, 0.18); }
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  display: block;
  transition: transform .3s ease, opacity .3s ease;
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== هیرو ===== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  background: var(--bg);
  z-index: -2;
}
.hero-bg .hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(.92) saturate(1.5) contrast(1.12);
  transform: scale(1.03);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
.hero-bg .hero-frame:hover img {
  filter: brightness(1.02) saturate(1.65) contrast(1.15);
  transform: scale(1.06);
}
.hero-bg .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,26,16,.08) 0%, rgba(36,26,16,.24) 55%, rgba(36,26,16,.62) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.05), inset 0 0 70px rgba(255,194,60,.06);
  z-index: 1;
  pointer-events: none;
  transition: background .5s ease;
}
.hero-bg .hero-frame:hover::before {
  background: linear-gradient(180deg, rgba(36,26,16,.03) 0%, rgba(36,26,16,.14) 55%, rgba(36,26,16,.5) 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg) 96%);
  z-index: 4;
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,214,104,.12) 46%, rgba(255,214,104,.24) 50%, rgba(255,214,104,.12) 54%, transparent 70%);
  background-size: 260% 100%;
  mix-blend-mode: screen;
  animation: sweepLight 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(36,26,16,.18) 0%, rgba(36,26,16,.42) 55%, rgba(36,26,16,.82) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
          radial-gradient(circle, rgba(255,214,104,.95) 2px, transparent 3px) 8% 18% / 260px 260px,
          radial-gradient(circle, rgba(255,185,104,.85) 1.6px, transparent 2.6px) 55% 75% / 320px 320px,
          radial-gradient(circle, rgba(255,194,60,.9) 1.8px, transparent 2.8px) 82% 30% / 280px 280px,
          radial-gradient(circle, rgba(255,214,104,.75) 1.4px, transparent 2.4px) 35% 55% / 240px 240px,
          radial-gradient(ellipse 55% 45% at 22% 30%, rgba(255,157,61,0.22), transparent 65%),
          radial-gradient(ellipse 50% 42% at 78% 68%, rgba(255,194,60,0.16), transparent 65%),
          radial-gradient(ellipse 70% 55% at 50% 45%, rgba(255,194,60,0.13), transparent 70%);
  background-repeat: repeat, repeat, repeat, repeat, no-repeat, no-repeat, no-repeat;
  animation: heroGlow 10s ease-in-out infinite alternate, driftParticles 42s linear infinite;
}
.hero-content {
  text-align: center;
  padding: 80px 24px 70px;
  position: relative;
  max-width: 860px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-content h1 {
  font-family: var(--ff-display);
  font-size: clamp(46px, 9vw, 82px);
  letter-spacing: clamp(3px, 1.8vw, 10px);
  margin: 0 0 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 45%, var(--amber) 78%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 40px rgba(255, 194, 60, 0.45));
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.hero-content h2 {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--gold-light);
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: 2px;
  text-shadow: 0 0 40px rgba(255, 194, 60, 0.25), 0 2px 10px rgba(0,0,0,0.5);
}
.hero-content p.tagline {
  color: var(--muted);
  font-size: clamp(14px, 2.4vw, 17px);
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-story {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(15px, 2.6vw, 18.5px);
  font-weight: 500;
  color: var(--gold-light);
  opacity: 0.95;
  margin: 18px auto 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 194, 60, 0.35);
  border-bottom: 1px solid rgba(255, 194, 60, 0.35);
  display: inline-block;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-chapter {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  opacity: .85;
  margin-top: 8px;
}

/* ===== بخش خدمات ===== */
.services {
  background: linear-gradient(180deg, #241a10 0%, #1c130a 100%);
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 194, 60, 0.1) 0%, rgba(255, 157, 61, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.services .container { position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

.service-card {
  background: linear-gradient(160deg, rgba(100, 74, 46, 0.7), rgba(70, 50, 32, 0.65));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 194, 60, 0.32);
  border-radius: var(--radius);
  padding: 30px 18px 24px;
  text-align: center;
  position: relative;
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  --accent: var(--gold);
}
.services-grid .service-card:nth-child(6n+1) { --accent: var(--gold); }
.services-grid .service-card:nth-child(6n+2) { --accent: var(--amber); }
.services-grid .service-card:nth-child(6n+3) { --accent: var(--terracotta); }
.services-grid .service-card:nth-child(6n+4) { --accent: var(--olive-light); }
.services-grid .service-card:nth-child(6n+5) { --accent: var(--oak-light); }
.services-grid .service-card:nth-child(6n+6) { --accent: var(--chestnut-light); }

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold-light), var(--accent), transparent);
  opacity: 0.75;
  transition: opacity .3s ease, height .3s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(120, 92, 60, 0.78), rgba(85, 63, 42, 0.72));
  box-shadow: 0 20px 50px rgba(255, 194, 60, 0.22), 0 0 30px rgba(255, 157, 61, 0.08);
}
.service-card:hover::before { opacity: 1; height: 4px; }

.service-card .icon {
  width: 54px; height: 54px; margin: 0 auto 14px;
  color: var(--accent);
  background: rgba(255, 194, 60, 0.14);
  border-radius: 50%;
  display: grid; place-items: center; padding: 11px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease, color .3s ease;
  border: 1px solid rgba(255, 194, 60, 0.25);
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card:hover .icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(255, 194, 60, 0.25);
  border-color: var(--accent);
}
.service-card h3 {
  font-size: 15px; margin: 0 0 8px; color: var(--cream); font-weight: 600;
  letter-spacing: 0.3px; padding-bottom: 10px; position: relative;
}
.service-card h3::after {
  content: ''; position: absolute; bottom: 0; right: 50%; transform: translateX(50%);
  width: 24px; height: 2px; background: var(--accent); border-radius: 2px; transition: width .3s ease;
}
.service-card:hover h3::after { width: 44px; }
.service-card p {
  font-size: 12.5px; color: var(--muted-2); margin: 0; line-height: 1.8;
}

/* ===== چرا دکورینو ===== */
.why-us {
  background: linear-gradient(180deg, #241a10 0%, #1e1c11 55%, #1a1f14 100%);
  padding: 90px 0 40px;
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 25%, rgba(159, 184, 106, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.why-us .container { position: relative; z-index: 1; }
.why-us .section-head { margin-bottom: 28px; }
.why-us .section-head .eyebrow { color: var(--amber-light); }
.why-us .section-head h2 {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 60%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}
.why-image {
  flex: 0 0 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(90, 65, 40, 0.55), rgba(36, 26, 16, 0.55));
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.why-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 194, 60, 0.14), transparent 70%);
  pointer-events: none;
}
.why-image img {
  width: 100%; max-width: 220px; display: block; margin: auto;
  position: relative; z-index: 1;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.4));
}
.why-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}
.why-item {
  text-align: center; padding: 32px 20px 28px;
  background: linear-gradient(160deg, rgba(100, 74, 46, 0.65), rgba(70, 50, 32, 0.6));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 194, 60, 0.28);
  border-radius: var(--radius);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative; overflow: hidden;
  --accent: var(--gold);
}
.why-grid .why-item:nth-child(4n+1) { --accent: var(--gold); }
.why-grid .why-item:nth-child(4n+2) { --accent: var(--amber); }
.why-grid .why-item:nth-child(4n+3) { --accent: var(--terracotta-light); }
.why-grid .why-item:nth-child(4n+4) { --accent: var(--olive-light); }
.why-item:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(120, 92, 60, 0.72), rgba(85, 63, 42, 0.68));
  box-shadow: 0 18px 45px rgba(255, 194, 60, 0.18);
}
.why-item .icon {
  width: 58px; height: 58px; margin: 0 auto 16px; color: var(--accent);
  border: 2px solid rgba(255, 194, 60, 0.32);
  border-radius: 50%; display: grid; place-items: center;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
  background: rgba(255, 194, 60, 0.1);
}
.why-item:hover .icon {
  border-color: var(--accent);
  background: rgba(255, 194, 60, 0.2);
  transform: scale(1.08) rotate(-3deg);
}
.why-item .icon svg { width: 27px; height: 27px; }
.why-item h3 { font-size: 15px; color: var(--cream); margin: 0 0 8px; font-weight: 600; letter-spacing: 0.3px; }
.why-item p { font-size: 13px; color: var(--muted-2); margin: 0; line-height: 1.7; }

@media (max-width: 992px) {
  .why-wrapper { flex-direction: column; align-items: stretch; }
  .why-image { flex: none; max-width: 280px; margin: 0 auto; width: 100%; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) { .why-grid { grid-template-columns: 1fr; } }

.wood-strip {
  height: 74px;
  background:
          linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)),
          repeating-linear-gradient(90deg, #5a3f26, #5a3f26 40px, #4a331e 40px, #4a331e 80px);
  position: relative;
  overflow: hidden;
}
.wood-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 30%, rgba(0, 0, 0, .4), transparent 60%);
}
.wood-strip::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,194,60,.08) 0, rgba(255,194,60,.08) 2px, transparent 2px, transparent 80px);
}

/* ===== نمونه‌کارها ===== */
.portfolio {
  background: linear-gradient(200deg, var(--walnut) 0%, #472d19 45%, var(--walnut-deep) 100%);
  color: var(--cream);
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.portfolio::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(255, 194, 60, 0.09) 0%, rgba(255, 157, 61, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.portfolio .container { position: relative; z-index: 1; }
.portfolio .section-head h2 {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 55%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.portfolio .section-head p { color: var(--muted); }
.portfolio .eyebrow { color: var(--amber-light); }

.portfolio .portfolio-grid {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 26px 60px rgba(0, 0, 0, 0.32);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.portfolio-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3/4; min-height: 200px; background: #241a10; display: block;
  border: 1px solid rgba(255, 194, 60, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.portfolio-item:hover {
  transform: scale(1.02);
  border-color: rgba(255, 194, 60, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 194, 60, 0.12);
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.1);
  transition: transform .6s ease, filter .6s ease;
}
.portfolio-item:hover img { transform: scale(1.06); filter: saturate(1.3); }
.portfolio-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 13, 6, 0.78) 100%);
  opacity: .78; transition: opacity .4s ease; z-index: 1;
}
.portfolio-item:hover::after { opacity: 1; }
.portfolio-item .cap {
  position: absolute; right: 16px; bottom: 16px; color: #fff; font-size: 14px; font-weight: 600;
  z-index: 3; font-family: var(--ff-body); letter-spacing: 0.3px;
}
.portfolio-item .cap::after {
  content: ''; display: block; width: 24px; height: 2px; background: var(--gold-light); margin-top: 4px; transition: width .4s ease;
}
.portfolio-item:hover .cap::after { width: 44px; }
.portfolio-item .cap-category {
  position: absolute; right: 16px; top: 16px; color: rgba(255, 255, 255, 0.88); font-size: 11px; font-weight: 400;
  z-index: 3; background: rgba(0, 0, 0, 0.5); padding: 4px 12px; border-radius: 20px; backdrop-filter: blur(4px);
  font-family: var(--ff-mono); letter-spacing: 1px;
}
.portfolio-empty { text-align: center; color: var(--muted-2); font-size: 14.5px; padding: 40px 0; }
.portfolio-more { text-align: center; }

/* ===== مسیر روایت ===== */
.journey {
  background: linear-gradient(160deg, #7a5236 0%, #55381f 35%, #2a1a0e 100%);
  color: #fbf4e6;
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 194, 60, 0.28);
  border-top: 1px solid rgba(255, 194, 60, 0.14);
  overflow: hidden;
}
.journey::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(255, 194, 60, 0.12) 0%, rgba(255, 157, 61, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite;
}
.journey .section-head .eyebrow { color: var(--amber-light); }
.journey .section-head h2 {
  background: linear-gradient(135deg, #fbf4e6 0%, var(--gold-light) 55%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 10px;
  z-index: 1;
}
.journey-grid::before {
  content: "";
  position: absolute;
  top: 37px;
  right: 12%;
  left: 12%;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 18px);
  opacity: 0.65;
  z-index: 0;
}
.journey-item {
  position: relative;
  z-index: 1;
  text-align: center;
}
.journey-step {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.journey-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fbf4e6;
  position: relative;
  transition: all .4s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 240, 0.12);
}
.journey-item:nth-child(1) .journey-icon { background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 100%); border: 2px solid rgba(255,214,104,0.5); }
.journey-item:nth-child(2) .journey-icon { background: linear-gradient(160deg, var(--amber-light) 0%, var(--amber) 100%); border: 2px solid rgba(255,157,61,0.5); }
.journey-item:nth-child(3) .journey-icon { background: linear-gradient(160deg, var(--terracotta-light) 0%, var(--terracotta) 100%); border: 2px solid rgba(234,106,58,0.5); }
.journey-item:nth-child(4) .journey-icon { background: linear-gradient(160deg, var(--oak-light) 0%, var(--oak) 100%); border: 2px solid rgba(176,129,63,0.5); }
.journey-icon svg { width: 30px; height: 30px; }
.journey-item:hover .journey-icon {
  box-shadow: 0 12px 36px rgba(255, 194, 60, 0.3), 0 0 40px rgba(255, 157, 61, 0.15);
  transform: scale(1.06) rotate(-3deg);
}
.journey-item h3 {
  font-size: 16px;
  color: #fbf4e6;
  margin: 0 0 8px;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0,0,0,0.15);
}
.journey-item p {
  font-size: 13px;
  color: #dccbb2;
  line-height: 1.8;
  margin: 0;
  max-width: 220px;
  margin-inline: auto;
}
@media (max-width: 860px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .journey-grid::before { display: none; }
}
@media (max-width: 520px) { .journey-grid { grid-template-columns: 1fr; } }

/* ===== بنر فراخوان سریع تماس ===== */
.quick-contact {
  background: linear-gradient(160deg, #55381f 0%, #2a1a0e 50%, #1a0f06 100%);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.quick-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(255, 157, 61, 0.16), transparent 65%);
  pointer-events: none;
}
.quick-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  text-align: right;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 194, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,215,140,0.1);
}
.quick-contact-inner::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--amber), var(--gold), transparent);
  opacity: 0.75;
  animation: sweepLight 4s linear infinite;
}
.quick-contact-text .eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--amber-light);
  text-transform: uppercase;
  opacity: .95;
  margin-bottom: 10px;
}
.quick-contact h2 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--cream);
  margin: 0 0 8px;
  font-weight: 700;
}
.quick-contact p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
  max-width: 460px;
  line-height: 1.9;
}

/* ===== فوتر ===== */
.site-footer {
  background: linear-gradient(180deg, rgba(36, 26, 16, 0.96) 0%, rgba(20, 14, 8, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--glass-border);
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--amber), var(--terracotta), var(--gold), transparent);
  opacity: .7;
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: -10%;
  right: 50%;
  transform: translateX(50%);
  width: 60%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(255, 194, 60, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 46px;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 15.5px;
  margin: 0 0 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  border-radius: 2px;
}
.footer-about p {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 2;
  margin: 16px 0 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color .3s ease, padding-right .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .55;
  flex: none;
  transition: opacity .3s ease;
}
.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-right: 4px;
}
.footer-col ul li a:hover::before { opacity: 1; }
.footer-col .contact-line {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 14px;
  transition: color .3s ease;
  direction: rtl;
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.footer-col .contact-line:hover { color: var(--cream-2); }
.footer-col .contact-line svg {
  width: 32px; height: 32px;
  padding: 8px;
  box-sizing: border-box;
  color: var(--gold-light);
  background: rgba(255, 194, 60, 0.1);
  border: 1px solid rgba(255, 194, 60, 0.22);
  border-radius: 50%;
  flex: none;
  flex-shrink: 0;
  order: -1;
}
.footer-col .contact-line span,
.footer-col .contact-line a.footer-phone {
  font-family: var(--ff-body);
  direction: ltr !important;
  unicode-bidi: isolate !important;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  display: inline-block !important;
  white-space: nowrap !important;
}
.footer-col .contact-line a.footer-phone:hover { color: var(--gold-light); }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  transition: all .3s ease;
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover {
  border-color: transparent;
  color: #1a0f06;
  background: linear-gradient(155deg, var(--gold-light), var(--gold), var(--amber));
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(255, 194, 60, 0.35);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.footer-copyright {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}
.footer-copyright p { margin: 0; text-align: center; }
.footer-story {
  display: block;
  opacity: 0.8;
  text-align: center;
}
.footer-developer {
  display: block;
  font-size: 13px;
  text-align: center;
  opacity: 0.75;
}
.footer-developer strong { color: #c9a45c; font-weight: 600; }

.back-to-top {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: #1a0f06; display: grid; place-items: center; border: 0;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 6px 20px rgba(255, 194, 60, .4);
}
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(255, 194, 60, .55); }

/* ===== واکنش‌گرا ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cursor-glow { display: none; }
  .project-info-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ===== موبایل (max-width: 860px) ===== */
@media (max-width: 860px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 10px;
    direction: ltr;
  }

  .brand {
    order: 1;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 6px;
    margin: 0;
    padding: 0;
    margin-right: auto;
    margin-left: 0;
    direction: ltr;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
    flex: none;
    padding: 3px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    margin: 0;
  }
  .brand-text {
    display: block !important;
    direction: rtl;
    text-align: right;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }
  .brand-text b {
    display: block;
    font-size: 15px;
    letter-spacing: .8px;
    margin: 0;
    padding: 0;
  }
  .brand-text small {
    display: block;
    font-size: 9px;
    margin-top: 2px;
    padding: 0;
  }

  .nav-toggle {
    order: 2;
    width: 46px;
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    margin: 0;
    flex-shrink: 0;
    background: rgba(255, 194, 60, 0.1);
    border: 1px solid rgba(255, 194, 60, 0.25);
    border-radius: 10px;
    direction: ltr;
    z-index: 1001;
  }
  .nav-toggle.active {
    background: rgba(255, 194, 60, .16);
    border-color: rgba(255, 194, 60, .45);
  }
  .nav-toggle span {
    width: 22px;
    height: 2.5px;
    display: block;
    background: var(--gold-light);
    border-radius: 3px;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .header-cta {
    order: 3;
    display: flex;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
  }
  .phone-pill {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(155deg, var(--gold-light), var(--gold), var(--amber));
    color: #1a0f06;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 16px rgba(255, 194, 60, 0.4);
    transition: all 0.3s ease;
  }
  .phone-pill:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(255, 194, 60, 0.55);
  }
  .phone-pill svg { width: 20px; height: 20px; flex: none; }
  .phone-pill span.hide-sm { display: none !important; }

  .main-nav {
    position: fixed;
    top: 65px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: calc(100dvh - 65px);
    margin: 0;
    padding: 35px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    background: linear-gradient(180deg, rgba(42,30,18,0.98) 0%, rgba(28,19,11,0.99) 100%);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 0;
    border-top: 1px solid rgba(255, 194, 60, 0.25);
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.45);
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s ease, visibility .3s ease;
    z-index: 999;
    direction: rtl;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav::before {
    content: "منوی دکورینو";
    display: block;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 500;
    padding: 0 6px 18px;
    border-bottom: 1px solid rgba(255, 194, 60, .14);
    margin-bottom: 8px;
    text-align: right;
  }
  .main-nav a {
    position: relative;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 18px;
    color: var(--cream-2);
    font-size: 17px;
    font-weight: 600;
    text-align: right;
    direction: rtl;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255, 194, 60, 0.08);
    border-radius: 12px;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
  }
  .main-nav a::after { display: none !important; }
  .main-nav a::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;
    margin-left: 12px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .35;
    box-shadow: 0 0 10px rgba(255, 194, 60, .4);
    transition: opacity .25s ease, transform .25s ease;
  }
  .main-nav a.active {
    color: #1a0f06;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--amber));
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(255, 194, 60, .22);
  }
  .main-nav a.active::before {
    background: #1a0f06;
    opacity: 1;
  }
  .main-nav a:hover {
    color: var(--gold-light);
    background: rgba(255, 194, 60, .10);
    border-color: rgba(255, 194, 60, .25);
    transform: translateX(-3px);
  }
  .main-nav a:hover::before {
    opacity: 1;
    transform: scale(1.25);
  }
  .main-nav::-webkit-scrollbar { width: 4px; }
  .main-nav::-webkit-scrollbar-track { background: transparent; }
  .main-nav::-webkit-scrollbar-thumb { background: rgba(255, 194, 60, .35); border-radius: 10px; }

  /* ===== کاهش انیمیشن‌ها در موبایل ===== */
  .hero::after { animation-duration: 25s; }
  .hero-bg::after { animation-duration: 30s; }
  .btn-gold { animation: none; }
  .hero-logo-img { animation-duration: 12s; }
  .quick-contact-inner::before { animation-duration: 10s; }
  .journey::before { animation-duration: 12s; }

  /* ===== اصلاحات درخواستی ===== */

  /* ۱) وسط‌چین شدن لوگو و متن فوتر */
  .site-footer .footer-col.footer-about {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }
  .site-footer .footer-col.footer-about .brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding-left: 0 !important;
    width: 100%;
    text-align: center !important;
  }
  .site-footer .footer-col.footer-about .brand-text {
    text-align: center !important;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .site-footer .footer-col.footer-about .brand-text b,
  .site-footer .footer-col.footer-about .brand-text small {
    text-align: center !important;
    width: 100%;
    display: block !important;
  }
  .site-footer .footer-col.footer-about p {
    text-align: center !important;
    width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .site-footer .footer-col.footer-about .socials {
    justify-content: center !important;
    width: 100%;
  }

  /* ۲) فاصله لوگوی زیر هدر از هدر */
  .hero-content { padding-top: 20px !important; }
  .hero-logo-img { margin-top: 0 !important; }

  /* ۳) فاصله بین دکمه‌های تماس مستقیم و فرم */
  .quick-contact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (min-width: 861px) {
  .phone-pill span.hide-sm { display: inline-block !important; }
}

@media (max-width: 768px) {
  .page-hero { min-height: 240px; }
  .page-hero-content { padding: 50px 20px 30px; }
  .portfolio-filters { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 12.5px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .ring-mark { display: none; }

  .quick-contact-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .quick-contact p { margin: 0 auto; }
  .quick-contact-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 58%;
  }
  .quick-contact-actions .btn { width: 100%; }
  .quick-contact-actions .btn:first-child { margin-bottom: 4px; }

  /* ===== بهبود فوتر و فرم ===== */
  .contact {
    padding: 56px 0;
    overflow: hidden;
  }
  .contact .section-head { padding: 0 4px; margin-bottom: 30px; }
  .contact .section-head h2 { font-size: 30px; line-height: 1.5; }
  .contact .section-head p { font-size: 13.5px; line-height: 2; margin-top: 6px; }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }
  .contact-info-card {
    width: 100%;
    padding: 22px 16px;
    border-radius: 16px;
  }
  .contact-info-card .icon { width: 48px; height: 48px; margin-bottom: 11px; }
  .contact-info-card h3 { font-size: 14px; }
  .contact-info-card p, .contact-info-card a { font-size: 13px; line-height: 1.8; }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 36px;
    width: 100%;
  }
  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px 80px;
    border-radius: 18px;
    overflow: hidden;
  }
  .contact-form-head { width: 100%; margin-bottom: 20px; }
  .contact-form-head h3 { font-size: 21px; line-height: 1.7; margin-bottom: 6px; }
  .form-hint { font-size: 12.5px; line-height: 2; margin: 4px 0 20px; }
  .form-row {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
  }
  .field { width: 100%; gap: 7px; }
  .field label { font-size: 12.5px; line-height: 1.8; }
  .field input, .field textarea {
    width: 100%;
    padding: 13px 14px;
    font-size: 14px;
    line-height: 1.8;
    border-radius: 10px;
  }
  .field input { height: 50px; }
  .field textarea { min-height: 145px; resize: vertical; }
  .field input, .field textarea, .field select {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }

  .contact-form .btn,
  .contact-form button[type="submit"],
  .contact-form input[type="submit"] {
    width: 100%;
    min-height: 50px;
    margin-top: 14px !important;
    margin-bottom: 12px;
    padding: 13px 18px;
    font-size: 14px;
    border-radius: 11px;
  }
  .form-msg:not(:empty) {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    margin-bottom: 14px;
    font-size: 12.5px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }
  .form-privacy { font-size: 11.5px; line-height: 1.9; margin-top: 12px; }

  .contact-hours {
    width: 100%;
    padding: 22px 18px;
    border-radius: 16px;
  }
  .contact-hours h3 { font-size: 18px; margin-bottom: 14px; }
  .contact-hours ul { width: 100%; }
  .contact-hours li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 9px 0;
    font-size: 12.5px;
    line-height: 1.8;
  }
  .contact-map {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
  .contact-social-row {
    justify-content: center;
    gap: 8px;
    margin: 18px 0;
  }
  .contact-social-row a {
    padding: 9px 13px;
    font-size: 12px;
  }
  .contact-social-row a svg { width: 16px; height: 16px; }

  .site-footer { padding: 40px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
    text-align: center;
    padding-bottom: 30px;
  }
  .footer-col h4 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 8px;
  }
  .footer-col h4::after {
    right: 50%;
    transform: translateX(50%);
  }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a {
    font-size: 14px;
    justify-content: center;
  }
  .footer-col ul li a::before { display: none; }
  .footer-about p {
    font-size: 13.5px;
    line-height: 2;
    margin: 12px 0 18px;
  }
  .footer-col .contact-line {
    justify-content: center;
    font-size: 14px;
    gap: 10px;
    white-space: normal;
  }
  .footer-col .contact-line svg { width: 28px; height: 28px; padding: 6px; }
  .socials {
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
  }
  .socials a { width: 44px; height: 44px; }
  .socials a svg { width: 20px; height: 20px; }
  .footer-bottom {
    flex-direction: column;
    padding: 20px 0;
    gap: 16px;
  }
  .footer-copyright { gap: 10px; }
  .footer-copyright p { font-size: 12px; }
  .footer-story { font-size: 12px; }
  .footer-developer { font-size: 12px; }
  .back-to-top {
    position: relative !important;
    right: auto !important;
    margin-top: 8px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .portfolio-item { min-height: 150px; }
  .portfolio-item .cap {
    font-size: 12px; right: 10px; bottom: 10px; left: 10px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .portfolio-item .cap-category { font-size: 10px; right: 10px; top: 10px; padding: 2px 10px; }
  .main-nav {
    top: 64px;
    height: calc(100dvh - 64px);
    padding: 28px 16px calc(28px + env(safe-area-inset-bottom));
  }
  .main-nav a { min-height: 54px; font-size: 16px; padding: 14px 16px; }
}

@media (max-width: 380px) {
  .brand-logo { width: 56px; height: 56px; }
  .brand-text b { font-size: 14.5px; letter-spacing: 1px; }
  .brand-text small { display: none; }
  .header-cta { gap: 10px; }
  .container { padding: 0 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-content h1 { letter-spacing: 1px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .hero-logo-img { width: 84px; height: 84px; }
  .hero-frame-cap { font-size: 10px; padding: 7px 14px; }

  .contact { padding: 48px 0; }
  .contact .section-head h2 { font-size: 27px; }
  .contact .section-head p { font-size: 12.5px; }
  .contact-form { padding: 20px 13px 60px; border-radius: 15px; }
  .contact-form-head h3 { font-size: 19px; }
  .form-row { gap: 12px; margin-bottom: 12px; }
  .field input { height: 48px; }
  .field input, .field textarea { padding: 12px; font-size: 13.5px; }
  .field textarea { min-height: 130px; }
  .contact-form .btn,
  .contact-form button[type="submit"],
  .contact-form input[type="submit"] {
    margin-top: 12px !important;
    margin-bottom: 10px;
    padding: 12px 16px;
    font-size: 13.5px;
  }
  .contact-hours { padding: 20px 15px; }
  .contact-hours li { font-size: 12px; }
  .contact-social-row a { padding: 8px 11px; font-size: 11.5px; }
  .footer-grid { gap: 22px; }
  .footer-col h4 { font-size: 15px; }
  .footer-col ul li a { font-size: 13px; }
  .socials a { width: 40px; height: 40px; }
  .back-to-top { width: 44px; height: 44px; }
}

/* ===== نمایان‌شدن هنگام اسکرول ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.services-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.20s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.30s; }

.portfolio-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.portfolio-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.portfolio-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.portfolio-grid .reveal:nth-child(4) { transition-delay: 0.20s; }
.portfolio-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.portfolio-grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.portfolio-grid .reveal:nth-child(7) { transition-delay: 0.35s; }
.portfolio-grid .reveal:nth-child(8) { transition-delay: 0.40s; }

.why-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.why-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.20s; }

/* ===== سایر بخش‌های تماس، گالری و ... ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: stretch; }
.image-card { padding: 0; overflow: hidden; border-radius: 20px; background: #241a10; }
.image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .image-card { height: 350px; } }

.floating-call {
  position: fixed;
  left: 20px !important;
  right: auto !important;
  bottom: 20px;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--gold-light), var(--gold), var(--amber));
  color: #1a0f06;
  box-shadow: 0 8px 22px rgba(255, 194, 60, .45);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
}
.floating-call svg { width: 22px; height: 22px; }
.floating-call:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(255, 194, 60, 0.6); }
@media (max-width: 860px) { .floating-call { display: flex !important; } }
@media (max-width: 480px) {
  .floating-call { width: 48px; height: 48px; left: 12px !important; bottom: 12px; }
  .floating-call svg { width: 20px; height: 20px; }
}

.contact-info-card a[href^="tel:"],
.contact-info-card .phone-num,
.contact-info-card p .phone-num,
.contact-info-card span.phone-num {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
  white-space: nowrap !important;
}
.contact-info-card .contact-line {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
.contact-info-card .contact-line svg { flex: 0 0 auto !important; order: -1 !important; }

.contact {
  background: linear-gradient(180deg, #241a10 0%, #2e2113 100%);
  color: var(--cream);
  padding: 90px 0;
  position: relative;
  border-top: 1px solid var(--line);
}
.contact .section-head h2 {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 55%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact .section-head p { color: var(--muted); }

.contact-form {
  background: linear-gradient(165deg, rgba(90, 65, 40, 0.62), rgba(36, 26, 16, 0.58));
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 194, 60, 0.32);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--amber), var(--gold), transparent);
  opacity: 0.75;
}
.contact-form-head h3 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 5vw, 26px);
  color: var(--cream);
  margin: 0 0 8px;
  font-weight: 700;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: 13px; color: var(--gold-light); letter-spacing: .3px; font-weight: 600; }
.field input, .field textarea {
  border: 1px solid rgba(255, 194, 60, 0.28);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  color: var(--cream);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 194, 60, .18); }
.contact-card {
  background: rgba(70, 52, 34, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
}
.contact-card h3 { font-family: var(--ff-display); font-size: 23px; color: var(--gold-light); margin: 0; }
.contact-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.9; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 54px;
}
.contact-info-card {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform .35s ease, border-color .35s ease;
}
.contact-info-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.contact-info-card .icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 194, 60, 0.12); border: 1px solid var(--line); color: var(--gold-light);
}
.contact-info-card .icon svg { width: 22px; height: 22px; }
.contact-info-card h3 { font-size: 14px; color: var(--cream); margin: 0 0 6px; font-weight: 600; }
.contact-info-card p, .contact-info-card a { color: var(--muted); font-size: 13.5px; margin: 0; }
.contact-info-card a:hover { color: var(--gold-light); }

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}
.contact-hours {
  background: var(--panel);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.contact-hours h3 {
  font-family: var(--ff-display);
  font-size: 19px;
  color: var(--gold-light);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.contact-hours li { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.contact-hours li span:last-child { color: var(--cream-2); font-weight: 600; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); aspect-ratio: 4/3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

@media (max-width: 1024px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .contact-main-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-info-grid { grid-template-columns: 1fr; } }

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(1.3); }
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,10,6,.55) 0%, rgba(14,10,6,.78) 60%, rgba(14,10,6,.94) 100%);
}
.page-hero-content { text-align: center; padding: 74px 24px 54px; position: relative; }
.page-hero-content h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 2px;
  color: var(--cream);
  margin: 0 0 12px;
  font-weight: 700;
}
.page-hero-content p { color: var(--muted); font-size: 15px; margin: 0 0 20px; max-width: 560px; margin-inline: auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--gold-light); transition: color .3s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--muted-2); }

.contact-social-row {
  display: flex;
  gap: 12px;
  margin: 22px 0;
  flex-wrap: wrap;
}
.contact-social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 194, 60, 0.08);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: all .3s ease;
}
.contact-social-row a svg { width: 18px; height: 18px; flex: none; }
.contact-social-row a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(255, 194, 60, 0.16);
  transform: translateY(-2px);
}

.contact-side { display: flex; flex-direction: column; gap: 20px; }

.form-hint { color: var(--muted-2); font-size: 13px; margin: 6px 0 22px; line-height: 1.8; }
.form-msg:not(:empty) {
  display: block;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 194, 60, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
  font-size: 13.5px;
}
.form-privacy {
  color: var(--muted-2);
  font-size: 12px;
  margin: 14px 0 0;
  text-align: center;
  line-height: 1.8;
}
.optional { color: var(--muted-2); font-weight: 400; font-size: 12px; }

.portfolio-more { text-align: center; }
.portfolio-cta {
  background: linear-gradient(160deg, var(--chestnut) 0%, var(--walnut) 45%, var(--walnut-deep) 100%);
  padding: 74px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.portfolio-cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--cream);
  margin: 0 0 12px;
  font-weight: 700;
}
.portfolio-cta p { color: var(--muted); font-size: 15px; margin: 0 0 26px; }

.project-info-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}
.project-desc h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--cream);
  margin: 0 0 16px;
}
.project-desc .accent-line { width: 50px; height: 3px; background: var(--gold); margin-bottom: 20px; border-radius: 4px; }
.project-desc p { color: var(--muted); font-size: 15.5px; line-height: 2.1; margin: 0; }
.project-specs {
  padding: 32px 28px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.project-specs h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--gold-light);
  text-align: center;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.project-specs ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 28px;
}
.project-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.project-specs .spec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
}
.project-specs .spec-value { color: var(--cream); font-weight: 600; font-size: 14px; }
@media (max-width: 860px) { .project-info-grid { grid-template-columns: 1fr; gap: 34px; } }

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.gallery-thumb {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .6;
  transition: all .3s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: .9; }
.gallery-thumb.active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 20px rgba(255, 194, 60, .35); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(8,6,4,.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.16); transform: scale(1.06); }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 22px;
  transition: all .25s ease;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.filter-btn.active {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  border-color: transparent;
  color: #1a0f06;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2px;
  opacity: .7;
}
.scroll-cue .line { width: 1px; height: 26px; background: linear-gradient(180deg, var(--gold), transparent); opacity: .6; }

/* ===== اصلاح نهایی منوی موبایل هنگام اسکرول ===== */
@media (max-width: 860px) {
  .main-nav {
    position: fixed !important;
    top: 65px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 65px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    z-index: 99999 !important;
  }
  .main-nav.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .main-nav a {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 0 8px !important;
  }
}

/* ===== بقیه قوانین عمومی (ضمیمه) ===== */
.contact-form *,
.contact-main-grid *,
.contact-info-grid * { max-width: 100%; }
.contact-form input,
.contact-form textarea,
.contact-form button { box-sizing: border-box; }

@media (max-width: 860px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
  }
  .site-header .nav-wrap { min-height: 64px; }
  .hero-actions { margin-top: 12px !important; margin-bottom: 45px !important; }
  .hero-actions .btn { margin-bottom: 0 !important; }
  html, body { overflow-x: clip !important; }
  .site-header {
    position: sticky !important;
    -webkit-position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
  }
}